1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

use nixpkgs.json

This commit is contained in:
Kierán Meinhardt
2019-04-11 15:06:03 +02:00
parent ad51b6af33
commit 4d7ed73795
4 changed files with 14 additions and 6 deletions

View File

@@ -80,13 +80,15 @@ in {
niveum-deploy() {
for system in "$@"; do
eval $(nix-build ~niveum/deploy.nix -A "$system")
eval $(nix-build ~niveum/deploy.nix -A "$system") &
done
}
niveum-update() {
cd /var/src/nixpkgs
git rev-parse origin/nixos-18.09 > ~niveum/NIXPKGS_VERSION
nix-prefetch-git \ ~master
--url https://github.com/NixOS/nixpkgs-channels \
--rev refs/heads/nixos-18.09 \
> ~niveum/nixpkgs.json
}
'';
promptInit = ''