Skip to content

Commit

Permalink
gforth: override swig, not swig3 (#341230)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy authored Sep 12, 2024
2 parents 24194a8 + 7e26b55 commit 80aafed
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions pkgs/development/compilers/gforth/swig.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
{ swig3, fetchFromGitHub }:
{
swig,
pcre,
fetchFromGitHub,
}:

## for updating to swig4, see
## https://github.com/GeraldWodni/swig/pull/6
swig3.overrideDerivation (old: {
(swig.overrideAttrs (old: {
version = "3.0.9-forth";
src = fetchFromGitHub {
owner = "GeraldWodni";
repo = "swig";
rev = "a45b807e5f9d8ca1a43649c8265d2741a393862a";
sha256 = "sha256-6nOOPFGFNaQInEkul0ZAh+ks9n3wqCQ6/tbduvG/To0=";
};
configureFlags = old.configureFlags ++ [
"--enable-forth"
];
})
configureFlags = old.configureFlags ++ [ "--enable-forth" ];
})).override
{ pcre2 = pcre; }

0 comments on commit 80aafed

Please sign in to comment.