gforth: override swig, not swig3 (#341230)

authored by Emily and committed by GitHub 80aafedd 24194a80

+9 -6
+9 -6
pkgs/development/compilers/gforth/swig.nix
··· 1 - { swig3, fetchFromGitHub }: 1 + { 2 + swig, 3 + pcre, 4 + fetchFromGitHub, 5 + }: 2 6 3 7 ## for updating to swig4, see 4 8 ## https://github.com/GeraldWodni/swig/pull/6 5 - swig3.overrideDerivation (old: { 9 + (swig.overrideAttrs (old: { 6 10 version = "3.0.9-forth"; 7 11 src = fetchFromGitHub { 8 12 owner = "GeraldWodni"; ··· 10 14 rev = "a45b807e5f9d8ca1a43649c8265d2741a393862a"; 11 15 sha256 = "sha256-6nOOPFGFNaQInEkul0ZAh+ks9n3wqCQ6/tbduvG/To0="; 12 16 }; 13 - configureFlags = old.configureFlags ++ [ 14 - "--enable-forth" 15 - ]; 16 - }) 17 + configureFlags = old.configureFlags ++ [ "--enable-forth" ]; 18 + })).override 19 + { pcre2 = pcre; }