Basic Serenity Config
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -33,12 +33,18 @@
|
||||
commonArgs = {
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
# Add additional build inputs here
|
||||
] ++ lib.optionals pkgs.stdenv.isDarwin [
|
||||
] ++ lib.optionals pkgs.stdenv.isDarwin ([
|
||||
# Additional darwin specific inputs can be set here
|
||||
pkgs.libiconv
|
||||
];
|
||||
] ++ (with pkgs.darwin.apple_sdk.frameworks; [
|
||||
Security
|
||||
]));
|
||||
|
||||
# Additional environment variables can be set directly
|
||||
# MY_CUSTOM_VAR = "some value";
|
||||
@@ -116,6 +122,7 @@
|
||||
nativeBuildInputs = with pkgs; [
|
||||
cargo
|
||||
rustc
|
||||
rust-analyzer
|
||||
];
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user