commit f8b4125c5319db9c262a846adf001e275f7cd13b
parent 24cd0c7f31ca78d05b6163181078ebe165f75727
Author: Matthias Beyer <mail@beyermatthias.de>
Date: Tue, 9 Feb 2021 05:42:41 -0800
fix: ignore gitignored files in src attribute
Signed-off-by: William Casarin <jb55@jb55.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/default.nix b/default.nix
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
name = "nixpkgs-ml-tools";
version = "0.1";
- src = ./.;
+ src = pkgs.nix-gitignore.gitignoreSource [] ./.;
nativeBuildInputs = [ makeWrapper ];