about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-04-28 11:40:14 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-04-28 11:40:14 +0200
commitbc5298478e46db03d0c6cc5c05c694fe442ee868 (patch)
treeb661fba11819835dbb480c9238746c8592b93668 /release.nix
parent993471b1514fbd05211691a6a91232b676d42384 (diff)
release.nix: Add ".update-on-nixos-rebuild".
We want to update the vuizvui channel alongside of the nixos channel in
"nixos-rebuild subcommand --upgrade", because we include machines and
NixOS modules.

Might be splitted off into the machine-specific channels later.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/release.nix b/release.nix
index 4d603941..4a1db9a1 100644
--- a/release.nix
+++ b/release.nix
@@ -38,6 +38,7 @@ in with pkgsUpstream.lib; with builtins; {
              \) -exec sed -i -re 's!<nixpkgs([^>]*)>!<vuizvui/nixpkgs\1>!g' {} +
         echo -n "$pkgsVer" > nixpkgs/.version-suffix
         echo -n ${nixpkgs.rev or nixpkgs.shortRev} > nixpkgs/.git-revision
+        touch .update-on-nixos-rebuild
       '';
     } // removeAttrs attrs [ "name" ]);