@@ -92,7 +92,7 @@ let
92 ] ++ commonConfigureFlags);
92 ] ++ commonConfigureFlags);
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;
97 commonConfigureFlags = ([
97 commonConfigureFlags = ([