1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

scmpuff: use pkgs.scmpuff

This commit is contained in:
Robert Helgesson 2021-05-18 00:47:40 +02:00
parent adbabcd0a0
commit f9e45390de
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
6 changed files with 8 additions and 8 deletions

View file

@ -11,8 +11,8 @@ in {
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs.gitAndTools.scmpuff; default = pkgs.scmpuff;
defaultText = literalExample "pkgs.gitAndTools.scmpuff"; defaultText = literalExample "pkgs.scmpuff";
description = "Package providing the <command>scmpuff</command> tool."; description = "Package providing the <command>scmpuff</command> tool.";
}; };

View file

@ -9,7 +9,7 @@
assertFileExists home-files/.bashrc assertFileExists home-files/.bashrc
assertFileContains \ assertFileContains \
home-files/.bashrc \ home-files/.bashrc \
'eval "$(${pkgs.gitAndTools.scmpuff}/bin/scmpuff init -s)"' 'eval "$(${pkgs.scmpuff}/bin/scmpuff init -s)"'
''; '';
}; };
} }

View file

@ -9,7 +9,7 @@
}; };
nmt.script = '' nmt.script = ''
assertFileNotRegex home-files/.bashrc '${pkgs.gitAndTools.scmpuff}/bin/scmpuff' assertFileNotRegex home-files/.bashrc '${pkgs.scmpuff}/bin/scmpuff'
''; '';
}; };
} }

View file

@ -11,8 +11,8 @@
}; };
nmt.script = '' nmt.script = ''
assertFileNotRegex home-files/.zshrc '${pkgs.gitAndTools.scmpuff} init -s' assertFileNotRegex home-files/.zshrc '${pkgs.scmpuff} init -s'
assertFileNotRegex home-files/.bashrc '${pkgs.gitAndTools.scmpuff} init -s' assertFileNotRegex home-files/.bashrc '${pkgs.scmpuff} init -s'
''; '';
}; };
} }

View file

@ -9,7 +9,7 @@
}; };
nmt.script = '' nmt.script = ''
assertFileNotRegex home-files/.zshrc '${pkgs.gitAndTools.scmpuff} init -s' assertFileNotRegex home-files/.zshrc '${pkgs.scmpuff} init -s'
''; '';
}; };
} }

View file

@ -9,7 +9,7 @@
assertFileExists home-files/.zshrc assertFileExists home-files/.zshrc
assertFileContains \ assertFileContains \
home-files/.zshrc \ home-files/.zshrc \
'eval "$(${pkgs.gitAndTools.scmpuff}/bin/scmpuff init -s)"' 'eval "$(${pkgs.scmpuff}/bin/scmpuff init -s)"'
''; '';
}; };
} }