nix-ld
This commit is contained in:
parent
e2aafcdaf3
commit
ceb75f0fcd
@ -111,6 +111,7 @@
|
|||||||
};
|
};
|
||||||
sway.enable = true;
|
sway.enable = true;
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
|
nix-ld.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
|
7
nix-ld.nix
Normal file
7
nix-ld.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
with import <nixpkgs> {};
|
||||||
|
mkShell {
|
||||||
|
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
|
||||||
|
stdenv.cc.cc
|
||||||
|
];
|
||||||
|
NIX_LD = lib.fileContents "${stdenv.cc}/nix-support/dynamic-linker";
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user