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.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.
home.file."Applications/Home Manager Apps".source = let
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;
}