1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

targets.darwin: disable application directory

This disables the generation of the application directory until
conflicting behavior with nix-darwin is resolved.

See https://github.com/rycee/home-manager/issues/1341#issuecomment-687286866
This commit is contained in:
Robert Helgesson 2020-09-04 20:01:19 +02:00
parent 182454fe6b
commit 41b1af808f
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,9 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
config = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin { # Disabled for now due to conflicting behavior with nix-darwin. See
# https://github.com/rycee/home-manager/issues/1341#issuecomment-687286866
config = lib.mkIf (false && pkgs.stdenv.hostPlatform.isDarwin) {
# Install MacOS applications to the user environment. # Install MacOS applications to the user environment.
home.file."Applications/Home Manager Apps".source = let home.file."Applications/Home Manager Apps".source = let
apps = pkgs.buildEnv { apps = pkgs.buildEnv {

View file

@ -1 +1,5 @@
{ targets-darwin = ./darwin.nix; } {
# Disabled for now due to conflicting behavior with nix-darwin. See
# https://github.com/rycee/home-manager/issues/1341#issuecomment-687286866
#targets-darwin = ./darwin.nix;
}