From 914c5e248aecf40c5ba7be8d562ff9b9a329f384 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 13 Mar 2012 11:03:32 +0100 Subject: [PATCH] Use <...> syntax --- release.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/release.nix b/release.nix index 1a47361a..ebae64ba 100644 --- a/release.nix +++ b/release.nix @@ -1,12 +1,11 @@ -{ nixpkgs ? /etc/nixos/nixpkgs -, hydraSrc ? { outPath = ./.; revCount = 1234; gitTag = "abcdef"; } +{ hydraSrc ? { outPath = ./.; revCount = 1234; gitTag = "abcdef"; } , officialRelease ? false }: rec { tarball = - with import nixpkgs { }; + with import { }; let nix = nixUnstable; in @@ -45,7 +44,7 @@ rec { build = { system ? "x86_64-linux" }: - let pkgs = import nixpkgs {inherit system;}; in + let pkgs = import {inherit system;}; in with pkgs; @@ -97,7 +96,7 @@ rec { let hydra = build { inherit system; }; in - with import "${nixos}/lib/testing.nix" { inherit nixpkgs system; }; + with import { inherit system; }; {