modules/darwin/common: add patch to fix darwin sandbox
This commit is contained in:
parent
491376fd8c
commit
7297ff990e
1 changed files with 10 additions and 0 deletions
|
@ -33,6 +33,16 @@ in
|
||||||
|
|
||||||
programs.info.enable = false;
|
programs.info.enable = false;
|
||||||
|
|
||||||
|
# fix darwin sandboxing
|
||||||
|
nix.package = pkgs.nix.overrideAttrs (old: {
|
||||||
|
patches = (old.patches or [ ]) ++ [
|
||||||
|
(pkgs.fetchpatch {
|
||||||
|
url = "https://github.com/NixOS/nix/commit/217fadd993da88294d0393af374b638afd99b169.patch";
|
||||||
|
hash = "sha256-nkJouBmEj3vqgjRKhXjbHysgQqqhwebdKBArFAzIBvc=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
nix.settings.trusted-users = [
|
nix.settings.trusted-users = [
|
||||||
"@admin"
|
"@admin"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue