commit
993400aeec
|
@ -61,9 +61,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/300635
|
|
||||||
postInstall = ''chmod -R u-s,g-s "$out"'';
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
tests = {
|
tests = {
|
||||||
incus-legacy-init = nixosTests.incus.container-legacy-init;
|
incus-legacy-init = nixosTests.incus.container-legacy-init;
|
||||||
|
|
|
@ -1421,7 +1421,8 @@ fixupPhase() {
|
||||||
# Make sure everything is writable so "strip" et al. work.
|
# Make sure everything is writable so "strip" et al. work.
|
||||||
local output
|
local output
|
||||||
for output in $(getAllOutputNames); do
|
for output in $(getAllOutputNames); do
|
||||||
if [ -e "${!output}" ]; then chmod -R u+w "${!output}"; fi
|
# for set*id bits see #300635
|
||||||
|
if [ -e "${!output}" ]; then chmod -R u+w,u-s,g-s "${!output}"; fi
|
||||||
done
|
done
|
||||||
|
|
||||||
runHook preFixup
|
runHook preFixup
|
||||||
|
|
|
@ -33,9 +33,6 @@ stdenv.mkDerivation rec {
|
||||||
"-Ddbpath=locatedb"
|
"-Ddbpath=locatedb"
|
||||||
];
|
];
|
||||||
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/300635
|
|
||||||
postInstall = ''chmod -R u-s,g-s "$out"'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Much faster locate";
|
description = "Much faster locate";
|
||||||
homepage = "https://plocate.sesse.net/";
|
homepage = "https://plocate.sesse.net/";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user