Last active
June 8, 2024 11:53
-
-
Save 0atman/d25f895e45ed44d42e1340ddaf443d99 to your computer and use it in GitHub Desktop.
For people who just don't care about reproducibility, and just want a quiet life. Like me!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
programs = { | |
steam.enable = true; | |
nix-ld = { | |
enable = true; | |
libraries = with pkgs; [ | |
zlib | |
openssl | |
curl | |
# etc | |
]; | |
}; | |
}; | |
environment = { | |
sessionVariables = { | |
LIBCLANG_PATH = "${pkgs.llvmPackages_16.libclang.lib}/lib"; | |
}; | |
variables = { | |
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig"; | |
}; | |
systemPackages = with pkgs; [ | |
clang | |
rustup | |
]; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why? Because I want to just
cargo install <whatever>
and not get cc errors. Yes I know about shell.nix and flake.nix and devshell AND THE HUNDRED OTHER WAYS, but like the description says, I just want a quiet life.This and the
rustup
nixos package get me there!