7eff825487
allows to write neat expressions like (as we're still generating an expression string): ``` { build = haskellPackages.buildLocalCabalWithArgs { inherit src name; cabalDrvArgs = { jailbreak = false; doCheck = false; }; }; } ``` without resorting to weird kung-fu like darcs does: ``` darcs = haskellPackages.darcs.override { # A variant of the Darcs derivation that containts only the # executable and # thus has no dependencies on other Haskell packages. cabal = { mkDerivation = x: rec { final = haskellPackages.cabal.mkDerivation (self: (x final) // { isLibrary = false; configureFlags = "-f-library"; }); }.final; }; }; ``` While here, move the `jailbreak = true;` as the default `cabalDrvArgs` option. |
||
---|---|---|
.. | ||
all-packages.nix | ||
guile-2-test.nix | ||
haskell-defaults.nix | ||
haskell-packages.nix | ||
make-tarball.nix | ||
mingw.nix | ||
node-packages-generated.nix | ||
node-packages.json | ||
node-packages.nix | ||
perl-packages.nix | ||
php-packages.nix | ||
platforms.nix | ||
python-packages-generated.nix | ||
python-packages.json | ||
python-packages.nix | ||
release-cross.nix | ||
release-lib.nix | ||
release-python.nix | ||
release-small.nix | ||
release.nix |