cabal2nix 1.33 → 1.34
raw patch · 2 files changed
+4/−3 lines, 2 files
Files
- cabal2nix.cabal +3/−3
- src/Cabal2Nix/Flags.hs +1/−0
cabal2nix.cabal view
@@ -1,5 +1,5 @@ Name: cabal2nix-Version: 1.33+Version: 1.34 Copyright: Peter Simons, Andres Loeh License: BSD3 License-File: LICENSE@@ -31,8 +31,8 @@ . The only required argument is the path to the cabal file. For example: .- > cabal2nix http://hackage.haskell.org/packages/archive/cabal2nix/1.33/cabal2nix.cabal- > cabal2nix cabal://cabal2nix-1.33+ > cabal2nix http://hackage.haskell.org/packages/archive/cabal2nix/1.34/cabal2nix.cabal+ > cabal2nix cabal://cabal2nix-1.34 . If the @--sha256@ option has not been specified, cabal2nix calls @nix-prefetch-url@ to determine the hash automatically. This causes
src/Cabal2Nix/Flags.hs view
@@ -9,6 +9,7 @@ | name == "haskeline" = [enable "terminfo"] | name == "reactive-banana-wx" = [disable "buildExamples"] | name == "xmobar" = [enable "with_xft", enable "with_iwlib"]+ | name == "xmonad-extras" = [disable "with_hlist"] | otherwise = [] enable :: String -> (FlagName,Bool)