mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 08:49:44 +01:00
ea72cf548f
Follow up to #5207, fixing jujutsu module on darwin targets.
14 lines
273 B
Nix
14 lines
273 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
configDir =
|
|
if pkgs.stdenv.isDarwin then "Library/Application Support" else ".config";
|
|
in {
|
|
programs.jujutsu.enable = true;
|
|
|
|
test.stubs.jujutsu = { };
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists 'home-files/${configDir}/jj/config.toml'
|
|
'';
|
|
}
|