summary refs log tree commit diff
path: root/pkgs/top-level/release-small.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-04-02 11:33:59 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-04-02 11:33:59 +0200
commitd021eb6e12d31fb4da0fe44534442269124ae094 (patch)
tree0cbf33c2d8811524bfb8278cf7bdff8c0bc3f2c7 /pkgs/top-level/release-small.nix
parent322c2f36a3b1e4909ee81921b9f361a080fc85fc (diff)
downloadnixpkgs-d021eb6e12d31fb4da0fe44534442269124ae094.tar
nixpkgs-d021eb6e12d31fb4da0fe44534442269124ae094.tar.gz
nixpkgs-d021eb6e12d31fb4da0fe44534442269124ae094.tar.bz2
nixpkgs-d021eb6e12d31fb4da0fe44534442269124ae094.tar.lz
nixpkgs-d021eb6e12d31fb4da0fe44534442269124ae094.tar.xz
nixpkgs-d021eb6e12d31fb4da0fe44534442269124ae094.tar.zst
nixpkgs-d021eb6e12d31fb4da0fe44534442269124ae094.zip
Fix release-small.nix
Diffstat (limited to 'pkgs/top-level/release-small.nix')
-rw-r--r--pkgs/top-level/release-small.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/top-level/release-small.nix b/pkgs/top-level/release-small.nix
index faefdc5a0c3..0fa311746b1 100644
--- a/pkgs/top-level/release-small.nix
+++ b/pkgs/top-level/release-small.nix
@@ -1,19 +1,19 @@
 /* A small release file, with few packages to be built.  The aim is to reduce
-   the load on Hydra when testing the `stdenv-updates' branch.
+   the load on Hydra when testing the `stdenv-updates' branch. */
 
+{ nixpkgs ? { outPath = (import ./all-packages.nix {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
+}:
 
-   This file will be evaluated by hydra with a call like this:
-   hydra_eval_jobs --gc-roots-dir \
-     /nix/var/nix/gcroots/per-user/hydra/hydra-roots --argstr \
-     system i686-linux --argstr system x86_64-linux --arg \
-     nixpkgs "{outPath = ./}" .... release.nix
-
-   Hydra can be installed with "nix-env -i hydra".  */
-with (import ./release-lib.nix);
+with import ./release-lib.nix {
+  supportedSystems = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "x86_64-freebsd" "i686-freebsd" ];
+};
 
 {
 
-  tarball = import ./make-tarball.nix;
+  tarball = import ./make-tarball.nix {
+    inherit nixpkgs;
+    officialRelease = false;
+  };
 
 } // (mapTestOn (rec {