Skip to content

Commit 288558b

Browse files
committed
use lib.cleanSource on all derivation src attributes
1 parent 7af459c commit 288558b

9 files changed

Lines changed: 12 additions & 11 deletions

File tree

pkgs/cri-proto-python/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ buildPythonPackage {
2424
inherit version;
2525
pname = "cri-proto-python";
2626

27-
src = ./.;
27+
src = lib.cleanSource ./.;
2828

2929
build-system = [ hatchling ];
3030
nativeBuildInputs = [

pkgs/csi-proto-python/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ buildPythonPackage {
2727
inherit version;
2828
pname = "csi-proto-python";
2929

30-
src = ./.;
30+
src = lib.cleanSource ./.;
3131

3232
build-system = [ hatchling ];
3333
nativeBuildInputs = [

pkgs/grpclib-nri/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let
1919
pname = "nri-test-server";
2020
version = "0.1.0";
2121

22-
src = ./go;
22+
src = lib.cleanSource ./go;
2323
proxyVendor = true;
2424
vendorHash = "sha256-bpKT8mHSlA5eP67C3B2ws+BF2S/B+dMH5GYqV2edcXg=";
2525
doCheck = false;
@@ -36,7 +36,7 @@ buildPythonPackage {
3636
pname = pyproject.project.name;
3737
version = pyproject.project.version;
3838

39-
src = ./.;
39+
src = lib.cleanSource ./.;
4040
pyproject = true;
4141
build-system = [ hatchling ];
4242

pkgs/grpclib-ttrpc/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let
2121
testServer = buildGo125Module {
2222
pname = "ttrpc-test-server";
2323
version = "0.1.0";
24-
src = ./go;
24+
src = lib.cleanSource ./go;
2525
proxyVendor = true;
2626
vendorHash = "sha256-voE9iZ0rUp/iCNROLiKjuQdQS9rLVqPK0SlSGp0kPuU=";
2727
doCheck = false;
@@ -38,7 +38,7 @@ buildPythonPackage {
3838
pname = pyproject.project.name;
3939
version = pyproject.project.version;
4040

41-
src = ./.;
41+
src = lib.cleanSource ./.;
4242
pyproject = true;
4343
build-system = [ hatchling ];
4444

pkgs/nixkube/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
lruLix, # We need a Nix implementation.... :)
1818
nix_init_db, # Import from one nix DB to another
1919
openssh, # Copying to cache
20+
lib,
2021
util-linuxMinimal, # mount, umount
2122
pyzmq, # Talking to OCI hooks
2223
nri-wait, # OCI hook for waiting on NRI builds
@@ -32,7 +33,7 @@ in
3233
buildPythonApplication {
3334
pname = pyproject.project.name;
3435
version = pyproject.project.version;
35-
src = ./.;
36+
src = lib.cleanSource ./.;
3637
pyproject = true;
3738
build-system = [ hatchling ];
3839
dependencies = [

pkgs/nri-proto-python/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ buildPythonPackage {
2424
inherit version;
2525
pname = "nri-proto-python";
2626

27-
src = ./.;
27+
src = lib.cleanSource ./.;
2828

2929
build-system = [ hatchling ];
3030
nativeBuildInputs = [

pkgs/nri-wait/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildPythonApplication {
1111
pname = "nri-wait";
1212
version = "0.1.0";
1313

14-
src = ./.;
14+
src = lib.cleanSource ./.;
1515

1616
pyproject = true;
1717

pkgs/pynixd-nixkube/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ in
3636
buildPythonApplication {
3737
pname = pyproject.project.name;
3838
version = pyproject.project.version;
39-
src = ./.;
39+
src = lib.cleanSource ./.;
4040
pyproject = true;
4141
build-system = [ hatchling ];
4242
dependencies = [

pkgs/ttrpc-proto-python/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ buildPythonPackage {
2424
inherit version;
2525
pname = "ttrpc-proto-python";
2626

27-
src = ./.;
27+
src = lib.cleanSource ./.;
2828

2929
build-system = [ hatchling ];
3030
nativeBuildInputs = [

0 commit comments

Comments
 (0)