forked from lix-project/nix-eval-jobs
fix build of devShell
This commit is contained in:
parent
01369215dc
commit
d2c00b8c84
18
shell.nix
18
shell.nix
|
@ -16,16 +16,13 @@
|
|||
|
||||
let
|
||||
inherit (pkgs) lib stdenv;
|
||||
|
||||
in
|
||||
(pkgs.callPackage ./default.nix {
|
||||
nix-eval-jobs = pkgs.callPackage ./default.nix {
|
||||
inherit srcDir nix;
|
||||
}).overrideAttrs (old: {
|
||||
|
||||
src = null;
|
||||
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [
|
||||
|
||||
};
|
||||
in
|
||||
pkgs.mkShell {
|
||||
inherit (nix-eval-jobs) buildInputs;
|
||||
nativeBuildInputs = nix-eval-jobs.nativeBuildInputs ++ [
|
||||
pkgs.treefmt
|
||||
pkgs.llvmPackages.clang # clang-format
|
||||
pkgs.nixpkgs-fmt
|
||||
|
@ -37,10 +34,9 @@ in
|
|||
]))
|
||||
|
||||
];
|
||||
|
||||
NODE_PATH = "${pkgs.nodePackages.prettier-plugin-toml}/lib/node_modules";
|
||||
|
||||
shellHook = lib.optionalString stdenv.isLinux ''
|
||||
export NIX_DEBUG_INFO_DIRS="${pkgs.curl.debug}/lib/debug:${nix.debug}/lib/debug''${NIX_DEBUG_INFO_DIRS:+:$NIX_DEBUG_INFO_DIRS}"
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue