arion/nix/haskell-overlay.nix
2019-07-29 13:49:26 +02:00

13 lines
No EOL
355 B
Nix

self: super: hself: hsuper:
let
inherit (self.haskell.lib) addBuildTools overrideCabal;
in
{
arion-compose = overrideCabal (addBuildTools (hself.callCabal2nix "arion-compose" ./.. {}) [self.nix]) (o: o // {
preCheck = ''
export NIX_LOG_DIR=$TMPDIR
export NIX_STATE_DIR=$TMPDIR
export NIX_PATH=nixpkgs=${self.path}
'';
});
}