summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2022-04-11 16:37:01 +0300
committerGitHub <noreply@github.com>2022-04-11 16:37:01 +0300
commit74f33d9a4a30d29a799843a19228cf66cbcbd67b (patch)
treea8024fdc79e44aced6a5aa9d46090a573eba6985 /pkgs/build-support
parentce686f05056e971be5d81f5ee4f34c434e5b98d4 (diff)
parent0f488afad28f057ce3caf771b21f379d1dcd00bb (diff)
downloadnixpkgs-74f33d9a4a30d29a799843a19228cf66cbcbd67b.tar
nixpkgs-74f33d9a4a30d29a799843a19228cf66cbcbd67b.tar.gz
nixpkgs-74f33d9a4a30d29a799843a19228cf66cbcbd67b.tar.bz2
nixpkgs-74f33d9a4a30d29a799843a19228cf66cbcbd67b.tar.lz
nixpkgs-74f33d9a4a30d29a799843a19228cf66cbcbd67b.tar.xz
nixpkgs-74f33d9a4a30d29a799843a19228cf66cbcbd67b.tar.zst
nixpkgs-74f33d9a4a30d29a799843a19228cf66cbcbd67b.zip
Merge pull request #164825 from ilya-fedin/fhs-less-copy
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/build-fhs-userenv-bubblewrap/env.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/build-fhs-userenv-bubblewrap/env.nix b/pkgs/build-support/build-fhs-userenv-bubblewrap/env.nix
index a36008d752b..945b9287ed0 100644
--- a/pkgs/build-support/build-fhs-userenv-bubblewrap/env.nix
+++ b/pkgs/build-support/build-fhs-userenv-bubblewrap/env.nix
@@ -178,7 +178,7 @@ let
         chmod -R 755 share
         cp -rLTf ${staticUsrProfileTarget}/share share
       else
-        cp -rLf ${staticUsrProfileTarget}/share share
+        cp -rsHf ${staticUsrProfileTarget}/share share
       fi
     fi
     for i in bin sbin include; do