From 490845fc2e0f3187a12388f11fd6ccdb8d6a1957 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Tue, 24 Oct 2017 21:30:28 +0000 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'vbox/release.nix'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vbox/release.nix | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/vbox/release.nix b/vbox/release.nix index b554567..50b6b4e 100644 --- a/vbox/release.nix +++ b/vbox/release.nix @@ -44,32 +44,7 @@ let '' mkdir -p $out/nix-support echo "file iso" $iso/iso/*.iso* >> $out/nix-support/hydra-build-products - ''; # */ - - - makeSystemTarball = - { module, maintainers ? ["viric"], system }: - - with import { inherit system; }; - - let - - config = (import lib/eval-config.nix { - inherit system; - modules = [ module versionModule ]; - }).config; - - tarball = config.system.build.tarball; - - in - tarball // - { meta = { - description = "NixOS system tarball for ${system} - ${stdenv.platform.name}"; - maintainers = map (x: lib.getAttr x lib.maintainers) maintainers; - }; - inherit config; - }; - + ''; in { iso_minimal = pkgs.lib.genAttrs systems (system: makeIso {