diff --git a/configuration-darwin.nix b/configuration-darwin.nix new file mode 100644 index 0000000000000000000000000000000000000000..3c03b8db5568db540afd7e364ced654334c01fee --- /dev/null +++ b/configuration-darwin.nix @@ -0,0 +1,15 @@ +{ pkgs, haskellLib }: + +with pkgs.haskell.lib; + +final: prev: { + + alsa-core = null; + + alsa-mixer = null; + + iwlib = null; + + libsystemd-journal = null; +} + diff --git a/flake.nix b/flake.nix index 0e95a9262c0fef16d92d45ac2eda7953f9a8f7b5..31d484839c586a23adba476157d615aadd074bf1 100644 --- a/flake.nix +++ b/flake.nix @@ -61,7 +61,7 @@ compilerConfig = pkgs.callPackage ./configuration-ghc.nix { inherit haskellLib; }; configurationArm = { pkgs, haskellLib }: self: super: { }; configurationCommon = import ./configuration.nix; - configurationDarwin = { pkgs, haskellLib }: self: super: { }; + configurationDarwin = import ./configuration-darwin.nix; configurationNix = { pkgs, haskellLib }: self: super: { }; ghc = pkgs.haskell.compiler.ghc944; inherit haskellLib; @@ -118,10 +118,7 @@ inherit inputs pkgs; modules = [ ({ pkgs, ... }: { - packages = [ - horizon-gen-nix - pkgs.nixpkgs-fmt - ]; + packages = [ horizon-gen-nix pkgs.nixpkgs-fmt ]; }) ]; };