cabal2nix 1.42 → 1.43
raw patch · 3 files changed
+5/−3 lines, 3 files
Files
- cabal2nix.cabal +3/−3
- src/Cabal2Nix.hs +1/−0
- src/Cabal2Nix/PostProcess.hs +1/−0
cabal2nix.cabal view
@@ -1,5 +1,5 @@ Name: cabal2nix-Version: 1.42+Version: 1.43 Copyright: Peter Simons, Andres Loeh License: BSD3 License-File: LICENSE@@ -32,8 +32,8 @@ . The only required argument is the path to the cabal file. For example: .- > cabal2nix http://hackage.haskell.org/packages/archive/cabal2nix/1.42/cabal2nix.cabal- > cabal2nix cabal://cabal2nix-1.42+ > cabal2nix http://hackage.haskell.org/packages/archive/cabal2nix/1.43/cabal2nix.cabal+ > cabal2nix cabal://cabal2nix-1.43 . If the @--sha256@ option has not been specified, cabal2nix calls @nix-prefetch-url@ to determine the hash automatically. This causes
src/Cabal2Nix.hs view
@@ -50,6 +50,7 @@ , "Recognized URI schemes:" , "" , " cabal://pkgname-pkgversion download the specified package from Hackage"+ , " cabal://pkgname download latest version of the specified package from Hackage" , " http://host/path fetch the Cabal file via HTTP" , " file:///local/path load the Cabal file from the local disk" , " /local/path abbreviated version of file URI"
src/Cabal2Nix/PostProcess.hs view
@@ -30,6 +30,7 @@ | pname == "idris" = deriv { buildTools = "happy":buildTools } | pname == "language-c-quote" = deriv { buildTools = "alex":"happy":buildTools } | pname == "leksah-server" = deriv { buildDepends = "process-leksah":buildDepends }+ | pname == "llvm-base" = deriv { extraLibs = "llvm":extraLibs } | pname == "multiarg" = deriv { buildDepends = "utf8String":buildDepends } | pname == "OpenAL" = deriv { extraLibs = "openal":extraLibs } | pname == "OpenGL" = deriv { extraLibs = "mesa":"libX11":extraLibs }