git.iko.soy/typeable/cabal2nix
on master help sign in
Alias pkg-config build tool to pkgconfig.
commitfee185e334fa06c5db0c913bc0d67db9dc11bebf authorPeter Simons <simons@cryp.to> dateTue 20 Nov 2018, 18:32 (8 years ago) parentd17f136
1 file changed+1
src/Distribution/Nixpkgs/Haskell/FromCabal/Name.hs+1
src/Distribution/Nixpkgs/Haskell/FromCabal/Name.hs+1
@@ -194,6 +194,7 @@ buildToolNixName "nix-env" = return "nix"
194194buildToolNixName "nix-hash" = return "nix"
195195buildToolNixName "nix-instantiate" = return "nix"
196196buildToolNixName "nix-store" = return "nix"
197+buildToolNixName "pkg-config" = return "pkgconfig"
197198buildToolNixName x = return (fromString x)
198199
199200-- | Helper function to extract the package name from a String that may or may