Merge pull request #377 from genebean/fix-darwin

Darwin doesn't like the "fix" from yesterday
This commit is contained in:
Gene Liverman 2024-03-05 09:49:28 -05:00 committed by GitHub
commit 35064d0134
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,22 +47,14 @@
# creates a macOS system config # creates a macOS system config
darwinHostConfig = system: hostname: username: nix-darwin.lib.darwinSystem { darwinHostConfig = system: hostname: username: nix-darwin.lib.darwinSystem {
specialArgs = { inherit inputs username hostname; pkgs = import nixpkgs {
pkgs = import nixpkgs { inherit system;
inherit system; config = {
config = { allowUnfree = true;
allowUnfree = true; permittedInsecurePackages = [ "python-2.7.18.7" ];
permittedInsecurePackages = [ "python-2.7.18.7" ];
};
};
pkgs-unstable = import nixpkgs-unstable {
inherit system;
config = {
allowUnfree = true;
permittedInsecurePackages = [ "python-2.7.18.7" ];
};
}; };
}; };
specialArgs = { inherit inputs username hostname; };
modules = [ modules = [
nix-homebrew.darwinModules.nix-homebrew { nix-homebrew.darwinModules.nix-homebrew {
nix-homebrew = { nix-homebrew = {