Skip to content

Commit

Permalink
Use <...> syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Mar 13, 2012
1 parent 93efae0 commit 914c5e2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions 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 <nixpkgs> { };

let nix = nixUnstable; in

Expand Down Expand Up @@ -45,7 +44,7 @@ rec {
build =
{ system ? "x86_64-linux" }:

let pkgs = import nixpkgs {inherit system;}; in
let pkgs = import <nixpkgs> {inherit system;}; in

with pkgs;

Expand Down Expand Up @@ -97,7 +96,7 @@ rec {

let hydra = build { inherit system; }; in

with import "${nixos}/lib/testing.nix" { inherit nixpkgs system; };
with import <nixos/lib/testing.nix> { inherit system; };

{

Expand Down

0 comments on commit 914c5e2

Please sign in to comment.