ignore .gitignored files for cabal2nix
This commit is contained in:
parent
6c90eb75b4
commit
6c7feb73c6
2
Hash2Pub/.gitignore
vendored
2
Hash2Pub/.gitignore
vendored
|
@ -1,2 +1,4 @@
|
||||||
dist-newstyle/
|
dist-newstyle/
|
||||||
*.local
|
*.local
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
hp = pkgs.haskell.packages."${compiler}";
|
hp = pkgs.haskell.packages."${compiler}";
|
||||||
drv = hp.callCabal2nix "Hash2Pub" ./Hash2Pub.cabal {};
|
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
|
||||||
|
drv = hp.callCabal2nix "Hash2Pub" "${src}/Hash2Pub.cabal" {};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
my_project = drv;
|
my_project = drv;
|
||||||
|
|
Loading…
Reference in a new issue