diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2019-01-31 11:04:16 +0000 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2019-01-31 11:04:16 +0000 |
commit | ecb265f106ab115dd3907d07c2d2fde026574f3e (patch) | |
tree | 509191f17b67591ea531705be89fa2df4da7adc6 /nixos/modules/programs/singularity.nix | |
parent | a1233ecdcfde46ac0b0d19ebd4a9fbca7c4f1195 (diff) |
nixos/singularity: fix singularity output
Diffstat (limited to 'nixos/modules/programs/singularity.nix')
-rw-r--r-- | nixos/modules/programs/singularity.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/singularity.nix b/nixos/modules/programs/singularity.nix index 6ac64a81fc24..b27e122bd1d9 100644 --- a/nixos/modules/programs/singularity.nix +++ b/nixos/modules/programs/singularity.nix @@ -5,8 +5,8 @@ let cfg = config.programs.singularity; singularity = pkgs.singularity.overrideAttrs (attrs : { installPhase = attrs.installPhase + '' - mv $out/libexec/singularity/bin/starter-suid $out/libexec/singularity/bin/starter-suid.orig - ln -s /run/wrappers/bin/singularity-suid $out/libexec/singularity/bin/starter-suid + mv $bin/libexec/singularity/bin/starter-suid $bin/libexec/singularity/bin/starter-suid.orig + ln -s /run/wrappers/bin/singularity-suid $bin/libexec/singularity/bin/starter-suid ''; }); in { |