on iko/ghcjs-patch-master help sign in
Stop using deprecated lib.nixpkgsVersion (#876)
ddbb4a5andremarianiello
builder/comp-builder.nix+1−1
@@ -92,7 +92,7 @@ let
92 ] ++ commonConfigureFlags);
92 ] ++ commonConfigureFlags);
93
93
94 # From nixpkgs 20.09, the pkg-config exe has a prefix matching the ghc one
94 # 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;
96
96
97 commonConfigureFlags = ([
97 commonConfigureFlags = ([
98 # GHC
98 # GHC