1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

krops: deploy from NIXPKGS_VERSION file

This commit is contained in:
Kierán Meinhardt
2019-04-11 07:52:05 +02:00
parent 60a08c6783
commit ad51b6af33
3 changed files with 11 additions and 1 deletions

1
NIXPKGS_VERSION Normal file
View File

@@ -0,0 +1 @@
22a606e20d662e2575552ab9b5e7c31aa8331e0e

View File

@@ -83,6 +83,11 @@ in {
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
}
'';
promptInit = ''
autoload -Uz vcs_info

View File

@@ -13,7 +13,11 @@ let
nixpkgs.git = {
url = https://github.com/NixOS/nixpkgs-channels;
# ref = "6a3f5bcb061e1822f50e299f5616a0731636e4e7"; # 18.09
ref = "22a606e20d662e2575552ab9b5e7c31aa8331e0e";
ref = builtins.readFile ./NIXPKGS_VERSION;
};
nix-writers.git = {
url = https://cgit.krebsco.de/nix-writers/;
ref = "4d0829328e885a6d7163b513998a975e60dd0a72";
};
# stockholm.git = {
# url = https://cgit.krebsco.de/stockholm;