From bc5298478e46db03d0c6cc5c05c694fe442ee868 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 28 Apr 2015 11:40:14 +0200 Subject: 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 --- release.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'release.nix') 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!]*)>!!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" ]); -- cgit 1.4.1