Use <...> syntax

This commit is contained in:
Eelco Dolstra 2012-03-13 11:03:32 +01:00
parent 93efae0c23
commit 914c5e248a

View file

@ -1,12 +1,11 @@
{ nixpkgs ? /etc/nixos/nixpkgs { hydraSrc ? { outPath = ./.; revCount = 1234; gitTag = "abcdef"; }
, hydraSrc ? { outPath = ./.; revCount = 1234; gitTag = "abcdef"; }
, officialRelease ? false , officialRelease ? false
}: }:
rec { rec {
tarball = tarball =
with import nixpkgs { }; with import <nixpkgs> { };
let nix = nixUnstable; in let nix = nixUnstable; in
@ -45,7 +44,7 @@ rec {
build = build =
{ system ? "x86_64-linux" }: { system ? "x86_64-linux" }:
let pkgs = import nixpkgs {inherit system;}; in let pkgs = import <nixpkgs> {inherit system;}; in
with pkgs; with pkgs;
@ -97,7 +96,7 @@ rec {
let hydra = build { inherit system; }; in let hydra = build { inherit system; }; in
with import "${nixos}/lib/testing.nix" { inherit nixpkgs system; }; with import <nixos/lib/testing.nix> { inherit system; };
{ {