Repository navigation
softether: fix build for GCC 14 - #375656
Conversation
|
|
@FliegendeWurst So what I get after build is Should that be changed in this pr? |
|
Because starting the server or client requires modifying the nix store with sudo |
|
Usually the result should be usable without copying it somewhere else. |
|
Alright, I would recommend: putting Adding |
|
Sorry for taking so long to reply, I went to sleep. |
|
Thank you very much for your recommendation and explanation; they are really helpful to me :) |
|
For some reason adding bash to buildInputs did not change the shebang for me but that is probably an issue on my end. |
|
It only matters for cross builds or if you set |
|
Thank you for your explanation. I say don't worry about it, it is probably just something on my end, don't waste your time on this. or is |
Yes it only mattered before, when you did not have #!/bin/sh (or similar) is what is provided upstream, we patch it to use our bash. |
|
cross is broken for different reasons. If you want, you can include: diff --git a/pkgs/by-name/so/softether/package.nix b/pkgs/by-name/so/softether/package.nix
index abd112ce5e19..14cdb08a8009 100644
--- a/pkgs/by-name/so/softether/package.nix
+++ b/pkgs/by-name/so/softether/package.nix
@@ -27,10 +27,6 @@ stdenv.mkDerivation (finalAttrs: {
zlib
];
- preConfigure = ''
- ./configure
- '';
-
buildPhase = ''
mkdir -p $out/bin
sed -i \
@@ -50,5 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
"x86_64-linux"
"aarch64-linux"
];
+ # internal build tool hamcorebuilder is difficult to build for the build platform
+ broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
};
})Otherwise I will take care of it in another PR. |
Thank you soo much! |
You already helped me so much I don't want to take away the opportunity from you to get another pr in :) I can't thank you enough for being so patient with me, so thank you again :) |
Resolves #375419
ref. #356812
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.