Repository navigation
Closed
Labels
0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Description
Steps To Reproduce
- build mrpeach
Additionally the source URL 404s.
Build log
As seen on Hydra https://hydra.nixos.org/build/282665543
Additional context
This might fix it. Includes additional cleanup.
diff --git a/pkgs/by-name/mr/mrpeach/package.nix b/pkgs/by-name/mr/mrpeach/package.nix
index 2fa63b5da8ad..18e35e292eb1 100644
--- a/pkgs/by-name/mr/mrpeach/package.nix
+++ b/pkgs/by-name/mr/mrpeach/package.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
hardeningDisable = [ "format" ];
- patchPhase = ''
+ postPatch = ''
for D in net osc
do
sed -i "s@prefix = /usr/local@prefix = $out@g" $D/Makefile
@@ -34,24 +34,30 @@ stdenv.mkDerivation {
'';
buildPhase = ''
+ runHook preBuild
for D in net osc
do
cd $D
make
cd ..
done
+ runHook postBuild
'';
+ NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
+
installPhase = ''
+ runHook preInstall
for D in net osc
do
cd $D
make install
cd ..
done
+ runHook postInstall
'';
- fixupPhase = ''
+ preFixup = ''
mv $out/lib/pd-externals/net $out
mv $out/lib/pd-externals/osc $out
rm -rf $out/libMetadata
Notify maintainers
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Activity
JohnRTitor commentedon Jan 4, 2025
Jokes aside, you could try internet archive if they have a copy. Then there's https://puredata.info/downloads which I haven't got a chance to fully take a look at.
FliegendeWurst commentedon Jan 4, 2025
I suppose the issue was more about the missing source. I will PR the fix once I can confirm it works.
GrimmTheShrimp commentedon Jul 5, 2025
Apparently fixed by #371495