mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 05:03:09 +00:00
scmpuff: use pkgs.scmpuff
This commit is contained in:
parent
adbabcd0a0
commit
f9e45390de
6 changed files with 8 additions and 8 deletions
|
@ -11,8 +11,8 @@ in {
|
|||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.gitAndTools.scmpuff;
|
||||
defaultText = literalExample "pkgs.gitAndTools.scmpuff";
|
||||
default = pkgs.scmpuff;
|
||||
defaultText = literalExample "pkgs.scmpuff";
|
||||
description = "Package providing the <command>scmpuff</command> tool.";
|
||||
};
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
assertFileExists home-files/.bashrc
|
||||
assertFileContains \
|
||||
home-files/.bashrc \
|
||||
'eval "$(${pkgs.gitAndTools.scmpuff}/bin/scmpuff init -s)"'
|
||||
'eval "$(${pkgs.scmpuff}/bin/scmpuff init -s)"'
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileNotRegex home-files/.bashrc '${pkgs.gitAndTools.scmpuff}/bin/scmpuff'
|
||||
assertFileNotRegex home-files/.bashrc '${pkgs.scmpuff}/bin/scmpuff'
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileNotRegex home-files/.zshrc '${pkgs.gitAndTools.scmpuff} init -s'
|
||||
assertFileNotRegex home-files/.bashrc '${pkgs.gitAndTools.scmpuff} init -s'
|
||||
assertFileNotRegex home-files/.zshrc '${pkgs.scmpuff} init -s'
|
||||
assertFileNotRegex home-files/.bashrc '${pkgs.scmpuff} init -s'
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileNotRegex home-files/.zshrc '${pkgs.gitAndTools.scmpuff} init -s'
|
||||
assertFileNotRegex home-files/.zshrc '${pkgs.scmpuff} init -s'
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
assertFileExists home-files/.zshrc
|
||||
assertFileContains \
|
||||
home-files/.zshrc \
|
||||
'eval "$(${pkgs.gitAndTools.scmpuff}/bin/scmpuff init -s)"'
|
||||
'eval "$(${pkgs.scmpuff}/bin/scmpuff init -s)"'
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue