Farid Zakaria
Farid Zakaria
@bbigras I was able to run it on your project with these changes ```bash mvn2nix --repositories https://jaspersoft.jfrog.io/jaspersoft/jr-ce-releases \ --repositories https://repo.maven.apache.org/maven2 \ --repositories http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts ``` **dependencies.nix** ``` { "org.codehaus.plexus:plexus-utils:pom:3.0.10" = {...
@bbigras if you want to confirm; i can then merge it in.
You might have to; I just ran the command you linked and it completed locally. ```bash nix run -f https://github.com/fzakaria/mvn2nix/archive/41cc1c464350af2afb9db151b6642de7b7f96540.tar.gz \ mvn2nix-jdk8 --command mvn2nix --repositories https://jaspersoft.jfrog.io/jaspersoft/jr-ce-releases \ --repositories https://repo.maven.apache.org/maven2 \...
@bbigras Weird. Does the file actually exist or just fail to run ? Did you `ls` your temporary maven repository ? Here is mine: ```bash ❯ ls -l /tmp/mvn2nix3157314594534710738/net/sf/launch4j/launch4j/3.12/launch4j-3.12-workdir-linux64/bin/windres .rwxr-xr-x...
Interesting @bbigras. I take it your on NixOS ? Looks like `libz` is part of zlib ```bash $ nix-locate libz.so.1 ... zlib.out 0 s /nix/store/p1vgrfa31k73256nbrqsqcnvb9ij84lh-zlib-1.2.11/lib/libz.so.1 ``` This project (jasperstarter) is...
Here is my attempt locally to demonstrate what I mean ``` LD_LIBRARY_PATH=$(nix-build '' -A zlib)/lib nix run nixpkgs.glibc.bin --command ldd /tmp/mvn2nix3157314594534710738/net/sf/launch4j/launch4j/3.12/launch4j-3.12-workdir-linux64/bin/windres linux-vdso.so.1 (0x00007ffd70b31000) /lib/x86_64-linux-gnu/libnss_cache.so.2 (0x00007fe9f446f000) libz.so.1 => /nix/store/41ps3rrqcs5xfpm3ckpvjrjbnrzi0w8x-zlib-1.2.11/lib/libz.so.1 (0x00007fe9f4452000) libdl.so.2...
@bbigras can you run _winres_ itself with the _LD_LIBRARY_PATH_ set (`--help`) ? I ask because I always forget for java whether you have to set _LD_LIBRARY_PATH_ or the system property...
hmm we have departed a little from mvn2nix and just debugging this binary lol I don't mind but maybe its faster to communicate on the discord NixOS server? My next...
@bbigras fair enough. I'll try later trying to get it to build inside a nix-shell
Interesting, looks like the failure is not related then to this package itself but a bug in Nix itself at a particular version. Sounds like we can close? Farid Zakaria...