add nix-ld module
This commit is contained in:
parent
bfce76ee04
commit
15dcc2daae
2 changed files with 21 additions and 1 deletions
19
modules/nixld.nix
Normal file
19
modules/nixld.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, pkgs, ... }: {
|
||||
# Enable nix ld
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
# Sets up all the libraries to load
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
stdenv.cc.cc
|
||||
zlib
|
||||
fuse3
|
||||
icu
|
||||
zlib
|
||||
nss
|
||||
openssl
|
||||
curl
|
||||
expat
|
||||
# ...
|
||||
];
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue