feat(nix/darwin/brew): Support variation

This commit is contained in:
Ahmad Ansori Palembani 2024-11-02 12:57:45 +07:00
parent 60964a91e2
commit a5a3750cac
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
6 changed files with 14 additions and 55 deletions

View file

@ -8,13 +8,12 @@ let
py.dnspython
]));
};
custom.inkscape = if pkgs.stdenv.isDarwin then pkgs.inkscape-bin else (pkgs.inkscape.override { python3 = custom.python; });
custom.inkscape = if pkgs.stdenv.isDarwin then pkgs.casks.inkscape else (pkgs.inkscape.override { python3 = custom.python; });
in {
inherit custom;
packages = [
pkgs.zsh
pkgs.home-manager
pkgs.zoxide
custom.inkscape
];
}