git.iko.soy/typeable/cabal2nix
on master help sign in
Be even more explicit about lib/exe status.
commit97c0d2f67933cc66e014db364200a55c3ff25aab authorAndres Loeh <mail@andres-loeh.de> dateMon 8 Aug 2011, 20:43 (15 years ago) parent9ea9153
1 file changed+1−1
src/Cabal2Nix/Package.hs+1−1
src/Cabal2Nix/Package.hs+1−1
@@ -69,7 +69,7 @@ showNixPkg (Pkg name ver sha256 url desc lic isLib isExe deps
6969 attr "pname" $ doubleQuotes (text name),
7070 attr "version" $ doubleQuotes showVer,
7171 attr "sha256" $ doubleQuotes (text sha256),
72− boolattr "isLibrary" (not isLib) isLib,
72+ boolattr "isLibrary" (not isLib || isExe) isLib,
7373 boolattr "isExecutable" (not isLib || isExe) isExe,
7474 listattr "buildDepends" pkgDeps,
7575 listattr "buildTools" pkgBuildTools,