Skip to content

Commit 44eb90d

Browse files
committed
fix: overlapping CGO_ENABLED = 0
When ess is a flake input to other devenv projects, it fails with the following: > error: The `env` attribute set cannot contain any attributes passed to derivation. The following attributes are overlapping: > - CGO_ENABLED: in `env`: 0; in derivation arguments: 1
1 parent 539f3db commit 44eb90d

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.pre-commit-config.yaml
33
result/
44
/ess
5+
.devenv/

flake.nix

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@
6666
go-tools
6767
gopls
6868
]);
69-
70-
shellHook =
71-
# bash
72-
''
73-
export CGO_ENABLED=0
74-
'';
7569
};
7670
};
7771
}

0 commit comments

Comments
 (0)