forked from M-Labs/nac3
1
0
Fork 0

Revert "flake: better shells"

llvm-config/llvm-sys hates pkgs.buildEnv.

This reverts commit e4f35372d3.
This commit is contained in:
Sebastien Bourdeauducq 2021-12-05 14:35:27 +08:00
parent 9ee2168932
commit d2919b9620
1 changed files with 3 additions and 7 deletions

View File

@ -106,13 +106,9 @@
);
};
# Use "nix develop" to debug the derivation.
devShell.x86_64-linux = packages.x86_64-linux.nac3artiq;
# Use "nix shell" to enter a development environment.
defaultPackage.x86_64-linux = pkgs.buildEnv {
devShell.x86_64-linux = pkgs.mkShell {
name = "nac3-dev-shell";
paths = with pkgs; [
buildInputs = with pkgs; [
llvm_12
clang_12
lld_12
@ -129,7 +125,7 @@
hydraJobs = {
inherit (packages.x86_64-linux) nac3artiq;
nac3artiq-mingw = packages.x86_64-w64-mingw32.nac3artiq;
} // (pkgs.lib.foldr (a: b: {"${pkgs.lib.strings.getName a}" = a;} // b) {} defaultPackage.x86_64-linux.paths);
} // (pkgs.lib.foldr (a: b: {"${pkgs.lib.strings.getName a}" = a;} // b) {} devShell.x86_64-linux.buildInputs);
};
nixConfig = {