Skip to content

Commit

Permalink
lxc: fix postInstall substitutions
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Provost <[email protected]>
  • Loading branch information
BSFishy committed Jan 6, 2025
1 parent 2810388 commit ff95446
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkgs/by-name/lx/lxc/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,6 @@ stdenv.mkDerivation (finalAttrs: {
postInstall = ''
substituteInPlace $out/etc/lxc/lxc --replace-fail "$out/etc/lxc" "/etc/lxc"
substituteInPlace $out/libexec/lxc/lxc-net --replace-fail "$out/etc/lxc" "/etc/lxc"
substituteInPlace $out/share/lxc/templates/lxc-download --replace-fail "$out/share" "/run/current-system/sw/share"
substituteInPlace $out/share/lxc/templates/lxc-local --replace-fail "$out/share" "/run/current-system/sw/share"
substituteInPlace $out/share/lxc/templates/lxc-oci --replace-fail "$out/share" "/run/current-system/sw/share"
substituteInPlace $out/share/lxc/config/common.conf --replace-fail "$out/share" "/run/current-system/sw/share"
substituteInPlace $out/share/lxc/config/userns.conf --replace-fail "$out/share" "/run/current-system/sw/share"
substituteInPlace $out/share/lxc/config/oci.common.conf --replace-fail "$out/share" "/run/current-system/sw/share"
'';

enableParallelBuilding = true;
Expand Down

0 comments on commit ff95446

Please sign in to comment.