forked from lix-project/lix-installer
Fix darwin devShell (#514)
* Move Linux only dependencies to isLinux block SELinux tools are Linux specific * Add apple_sdk Security framework to devShell Otherwise cargo build fails with: ld: framework not found Security
This commit is contained in:
parent
b29a7585bd
commit
47f2630702
|
@ -140,17 +140,20 @@
|
|||
cacert
|
||||
cargo-audit
|
||||
nixpkgs-fmt
|
||||
semodule-utils
|
||||
checkpolicy
|
||||
check.check-rustfmt
|
||||
check.check-spelling
|
||||
check.check-nixpkgs-fmt
|
||||
check.check-editorconfig
|
||||
check.check-semver
|
||||
]
|
||||
++ lib.optionals (pkgs.stdenv.isDarwin) (with pkgs; [ libiconv ])
|
||||
++ lib.optionals (pkgs.stdenv.isDarwin) (with pkgs; [
|
||||
libiconv
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
])
|
||||
++ lib.optionals (pkgs.stdenv.isLinux) (with pkgs; [
|
||||
checkpolicy
|
||||
podman
|
||||
semodule-utils
|
||||
/* users are expected to have a system docker, too */
|
||||
]);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue