summary refs log tree commit diff
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2018-04-04 10:11:25 -0400
committerGitHub <noreply@github.com>2018-04-04 10:11:25 -0400
commit9b30d48b2ba01053bcfe1b29e1217f183c0b2a8f (patch)
treeb1949d5611d7476242ad698133eb9b7e3df641d5 /nixos/modules/profiles
parentaf16d71e881d87075a76a206f03e96e97fce9e0d (diff)
parent3c9e579d1ebdca423766983c3e8fec7ba56407c3 (diff)
downloadnixlib-9b30d48b2ba01053bcfe1b29e1217f183c0b2a8f.tar
nixlib-9b30d48b2ba01053bcfe1b29e1217f183c0b2a8f.tar.gz
nixlib-9b30d48b2ba01053bcfe1b29e1217f183c0b2a8f.tar.bz2
nixlib-9b30d48b2ba01053bcfe1b29e1217f183c0b2a8f.tar.lz
nixlib-9b30d48b2ba01053bcfe1b29e1217f183c0b2a8f.tar.xz
nixlib-9b30d48b2ba01053bcfe1b29e1217f183c0b2a8f.tar.zst
nixlib-9b30d48b2ba01053bcfe1b29e1217f183c0b2a8f.zip
Merge pull request #37288 from cleverca22/improve-make-tarball
make-system-tarball: allow alternate compression methods
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/docker-container.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/profiles/docker-container.nix b/nixos/modules/profiles/docker-container.nix
index 433492b96137..7031d7d1d593 100644
--- a/nixos/modules/profiles/docker-container.nix
+++ b/nixos/modules/profiles/docker-container.nix
@@ -14,9 +14,7 @@ in {
   ];
 
   # Create the tarball
-  system.build.tarball = import ../../lib/make-system-tarball.nix {
-    inherit (pkgs) stdenv perl xz pathsFromGraph;
-
+  system.build.tarball = pkgs.callPackage ../../lib/make-system-tarball.nix {
     contents = [];
     extraArgs = "--owner=0";