diff options
author | Sascha Grunert <sgrunert@suse.com> | 2020-11-02 10:19:36 +0100 |
---|---|---|
committer | Sascha Grunert <sgrunert@suse.com> | 2020-11-02 10:19:40 +0100 |
commit | 5700b566664eaf04f82830ac1f71d4d8982a5b10 (patch) | |
tree | fe5eac0e96f9b2d8660161d8871e1277744d168c /nix | |
parent | e5227b9d75d2a5145050a9a6b66fd6b812a370e9 (diff) | |
download | podman-5700b566664eaf04f82830ac1f71d4d8982a5b10.tar.gz podman-5700b566664eaf04f82830ac1f71d4d8982a5b10.tar.bz2 podman-5700b566664eaf04f82830ac1f71d4d8982a5b10.zip |
Use osusergo build tag for static build
We now use the `osusergo` build tag to not use the glibc functions which
occur in the warnings but them from golang the os/user package.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
Diffstat (limited to 'nix')
-rw-r--r-- | nix/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/default.nix b/nix/default.nix index cc8786ce0..a1a8c5287 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -44,7 +44,7 @@ let export CFLAGS='-static' export LDFLAGS='-s -w -static-libgcc -static' export EXTRA_LDFLAGS='-s -w -linkmode external -extldflags "-static -lm"' - export BUILDTAGS='static netgo exclude_graphdriver_btrfs exclude_graphdriver_devicemapper seccomp apparmor selinux' + export BUILDTAGS='static netgo osusergo exclude_graphdriver_btrfs exclude_graphdriver_devicemapper seccomp apparmor selinux' ''; buildPhase = '' patchShebangs . |