git.iko.soy/typeable/cabal2nix
on master help sign in
src/Cabal2Nix/Generate.hs: fix minor typo
f8b027dPeter Simons
src/Cabal2Nix/Generate.hs+1−1
@@ -17,7 +17,7 @@ cabal2nix :: Cabal.GenericPackageDescription -> Derivation
17cabal2nix cabal = normalize $ postProcess MkDerivation
17cabal2nix cabal = normalize $ postProcess MkDerivation
18 { pname = let Cabal.PackageName x = Cabal.pkgName pkg in x
18 { pname = let Cabal.PackageName x = Cabal.pkgName pkg in x
19 , version = Cabal.pkgVersion pkg
19 , version = Cabal.pkgVersion pkg
20− , sha256 = "cabal2nix left the she256 field undefined"
20+ , sha256 = "cabal2nix left the sha256 field undefined"
21 , isLibrary = isJust (Cabal.library tpkg)
21 , isLibrary = isJust (Cabal.library tpkg)
22 , isExecutable = not (null (Cabal.executables tpkg))
22 , isExecutable = not (null (Cabal.executables tpkg))
23 , buildDepends = map unDep deps
23 , buildDepends = map unDep deps