From 011e38939057484d23102dd278716e954b0e422a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 5 Apr 2012 13:00:30 +0000 Subject: [PATCH] * Move the nixosSrc argument to top level. svn path=/nixos/trunk/; revision=33619 --- release.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/release.nix b/release.nix index 1ff36c1fdeec..35078be6ccb9 100644 --- a/release.nix +++ b/release.nix @@ -1,10 +1,11 @@ +{ nixosSrc ? {outPath = ./.; rev = 1234;} }: + let makeIso = { module, type, description ? type, maintainers ? ["eelco"] }: - { nixosSrc ? {outPath = ./.; rev = 1234;} - , officialRelease ? false + { officialRelease ? false , system ? "i686-linux" }: @@ -44,8 +45,7 @@ let makeSystemTarball = { module, maintainers ? ["viric"]}: - { nixosSrc ? {outPath = ./.; rev = 1234;} - , officialRelease ? false + { officialRelease ? false , system ? "i686-linux" }: @@ -75,9 +75,7 @@ let tarball = - { nixosSrc ? {outPath = ./.; rev = 1234;} - , officialRelease ? false - }: + { officialRelease ? false }: with import {}; @@ -102,9 +100,7 @@ let manual = - { nixosSrc ? {outPath = ./.; rev = 1234;} - , officialRelease ? false - }: + { officialRelease ? false }: (import "${nixosSrc}/doc/manual" { pkgs = import {};