Skip to content

Commit

Permalink
Use cleanSource to avoid including result/ in the source tree (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
neongreen authored Oct 4, 2019
1 parent 986af2d commit bac1a87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ let
(self.callPackage ./nix/grpc-haskell.nix { });

fencer =
self.callCabal2nix "fencer" (./.) { };
self.callCabal2nix "fencer" (pkgs.lib.cleanSource ./.) { };
};
};
};
Expand Down
1 change: 0 additions & 1 deletion docker.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
let
# TODO: this rebuilds 'fencer', can we avoid that?
drv = import ./default.nix { };
pkgs = drv.pkgs;
fencer = drv.fencer;
Expand Down

0 comments on commit bac1a87

Please sign in to comment.