on iko/ghcjs-patch-master help sign in
Stop using deprecated lib.nixpkgsVersion (#876)
commitddbb4a50b9200922418d1836358f33e0d3a6752f authorandremarianiello <andremarianiello@users.noreply.github.com> dateMon 12 Oct 2020, 22:38 (6 years ago) parent1250f04
1 file changed+1−1
builder/comp-builder.nix+1−1
builder/comp-builder.nix+1−1
@@ -92,7 +92,7 @@ let
9292 ] ++ commonConfigureFlags);
9393
9494 # From nixpkgs 20.09, the pkg-config exe has a prefix matching the ghc one
95− pkgConfigHasPrefix = builtins.compareVersions lib.nixpkgsVersion "20.09pre" >= 0;
95+ pkgConfigHasPrefix = builtins.compareVersions lib.version "20.09pre" >= 0;
9696
9797 commonConfigureFlags = ([
9898 # GHC