6 Oct 2024 |
srasu | thanks1 | 17:31:18 |
srasu | * thanks! | 17:31:20 |
Artturin | buildPackages.clang is completely wrong in buildInputs | 17:31:40 |
Artturin | remove it | 17:31:46 |
srasu | now to try and figure out the windows, where I get pkgs = pkgs.pkgsCross.etc resulting in infinite recursion | 17:32:12 |
Artturin | pkgs' = pkgs... | 17:34:41 |
Artturin | or mingwPkgs or whatever you want the name to be | 17:34:59 |
srasu | aiight | 17:35:01 |
srasu | Ok, I tried that, but when I try to nix develop with that nixshell, I just get the allowUnsupportedSystem config being necessary, and when I set that I get build failures for expand-response-params-x86_64-w64-mingw32 | 17:37:29 |
Artturin | I fixed that failure on unstable https://github.com/NixOS/nixpkgs/pull/341299
But getting that failure indicates that you're getting something from the wrong set | 17:39:02 |
Artturin | Push the change | 17:39:21 |
Artturin | * I fixed that failure on unstable https://github.com/NixOS/nixpkgs/pull/341299
But getting that failure(or it in the dependency tree now) indicates that you're getting something from the wrong set | 17:41:33 |
srasu | sure, just a sec. I can also swap my nixpkgs to unstable and update my local flake.lock | 17:44:50 |
srasu | pushed | 17:50:08 |
srasu | it's going through with the rebuild on the new nixpkgs, we'll see what I get | 17:52:12 |
srasu | warning: Git tree '/home/srasu/Programming/Projects/C/template' is dirty
error: builder for '/nix/store/jcjkcm41naiarmsfyn861mfr51lxmi3g-isl-x86_64-w64-mingw32-0.20.drv' failed with exit code 2;
last 10 log lines:
> CC schedule_cmp.o
> x86_64-w64-mingw32-gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
> x86_64-w64-mingw32-gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
> CCLD libisl.la
> libtool: error: can't build x86_64-w64-mingw32 shared library unless -no-undefined is specified
> make[2]: *** [Makefile:1332: libisl.la] Error 1
> make[2]: Leaving directory '/build/isl-0.20'
> make[1]: *** [Makefile:1622: all-recursive] Error 1
> make[1]: Leaving directory '/build/isl-0.20'
> make: *** [Makefile:1219: all] Error 2
For full logs, run 'nix log /nix/store/jcjkcm41naiarmsfyn861mfr51lxmi3g-isl-x86_64-w64-mingw32-0.20.drv'.
error: 1 dependencies of derivation '/nix/store/whlcf7hxizd00s7vm2h2q2v4xifyha31-gcc-x86_64-w64-mingw32-13.3.0.drv' failed to build
error (ignored): error: cannot unlink '/tmp/nix-build-llvm-x86_64-w64-mingw32-18.1.8.drv-1/build/llvm-src-18.1.8/llvm': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-gettext-x86_64-w64-mingw32-0.21.1.drv-1/build': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-bash-x86_64-w64-mingw32-5.2p32.drv-1/build/bash-5.2': Directory not empty
error: 1 dependencies of derivation '/nix/store/q50ywzxdgcal3clvrag7hbpv48nyqm3q-clang-wrapper-18.1.8.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ammihz31s4kc7f7f5g3iqlgy1483pv2j-blocksruntime-x86_64-w64-mingw32-unstable-2014-06-24.drv' failed to build
error: 1 dependencies of derivation '/nix/store/q91mmig120v9jgjlj2cfq74bwg01zjni-nix-shell-x86_64-w64-mingw32-env.drv' failed to build
| 17:52:47 |
Artturin | libblocksruntime is wrong lol | 17:53:48 |
Artturin | https://github.com/NixOS/nixpkgs/blob/9ceb0b0d72f9e8c7e0c78660a697b28ba1409a78/pkgs/development/libraries/libblocksruntime/default.nix#L14 | 17:53:48 |
Artturin | It was added in 2017 when people weren't as cross aware | 17:54:04 |
srasu | ah, that seems very fixable | 17:54:07 |
Artturin | I'll pr, you can overrideAttrs | 17:54:19 |
srasu | Yeah, I already am to get the new version | 17:54:36 |
Artturin | the package has lots of bad practices like overriding phases without runHook pre and post | 17:54:52 |
srasu | yeah I noticed that too | 17:55:12 |
Artturin | Just buildInputs = [ ] configurePhase = "" | 17:58:46 |
Artturin | It doesn't seem to even need clang | 17:58:50 |
Artturin | Diffoscope shows that hte output doesn't change | 17:58:58 |
Artturin | * Diffoscope shows that the output doesn't change | 17:59:01 |
srasu | Ok, I was able to get the windows shell environment to work | 18:01:11 |
srasu | now to see if it'll build | 18:01:27 |