summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/pkgrename/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-12-12 20:38:03 +0100
committermakefu <github@syntax-fehler.de>2022-12-12 20:38:03 +0100
commit20a0952d87f1c25ac85758d03d0a1b2339fe57c6 (patch)
tree51f5a2d295d3edfa338411881297744622ad68b7 /makefu/5pkgs/pkgrename/default.nix
parent543783c1bb1bb5dd21e9203d37e400cdb6af5ef4 (diff)
ma pkgs.pkgrename: allow-multiple-definitions
i have no idea what i am doing
Diffstat (limited to 'makefu/5pkgs/pkgrename/default.nix')
-rw-r--r--makefu/5pkgs/pkgrename/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefu/5pkgs/pkgrename/default.nix b/makefu/5pkgs/pkgrename/default.nix
index 5eeb161e7..c0944b03c 100644
--- a/makefu/5pkgs/pkgrename/default.nix
+++ b/makefu/5pkgs/pkgrename/default.nix
@@ -2,19 +2,19 @@
}:
stdenv.mkDerivation rec {
name = "pkgrename";
- version = "1.03";
+ version = "1.05";
src = fetchFromGitHub {
owner = "hippie68";
repo = "pkgrename";
- rev = "c3e5c47ed9367273bd09577af46d3d9bf87b2a50";
+ rev = "c7c95f0ea49324433db4a7df8db8b0905198e62e";
sha256 = "0cphxdpj04h1i0qf5mji3xqdsbyilvd5b4gwp4vx914r6k5f0xf3";
};
buildInputs = [ curl.dev ];
buildPhase = ''
cd pkgrename.c
- gcc pkgrename.c src/*.c -o pkgrename -lcurl -s -O1 $(curl-config --cflags --libs)
+ $CC pkgrename.c src/*.c -o pkgrename -s -O3 $(curl-config --cflags --libs) -Wl,--allow-multiple-definition
'';
installPhase = ''
install -D pkgrename $out/bin/pkgrename