| 22 Dec 2021 |
fzakaria (Old) | Is there any good documentation on overriding stdenv to work with musl instead ? | 14:04:00 |
fzakaria (Old) | (dont see any in the nixpkg docs) | 14:04:08 |
Mic92 | fzakaria: why not. There is pkgsMusl that you can use | 14:04:14 |
fzakaria (Old) | ah that's a whole package set... so it would use that instead | 14:04:55 |
Mic92 | pkgsMusl.callPackage might already do the trick | 14:05:14 |
Mic92 | I would keep the docker setup for now though, if we can test it with flakes, than we are probably fine. And than we know patchelf also works on other distros | 14:05:54 |
fzakaria (Old) | i'll investigate that -- what about the nix-shell though that would need its own attr ? | 14:05:57 |
fzakaria (Old) | rgr | 14:06:05 |
Mic92 | In reply to @fzakaria:matrix.org i'll investigate that -- what about the nix-shell though that would need its own attr ? Are you talking about nix develop? | 14:06:31 |
fzakaria (Old) | (I still use the old stuff lol) | 14:06:40 |
fzakaria (Old) | off-topic: i haven't learnt or committed to flakes yet | 14:06:58 |
Mic92 | I think one should be also able to use devShell attributes using this flake-compat file | 14:08:03 |
Mic92 | for example nix-shell -A outputs.defaultPackage.x86_64-linux works | 14:08:43 |
Mic92 | fzakaria: you can add devShells."<system>"."<name>" = derivation; to the flake and than you can use the same trick | 14:13:21 |
fzakaria (Old) | okay let me give that a shot.. | 14:23:27 |
fzakaria (Old) | got some good progress: https://github.com/NixOS/patchelf/pull/362 | 17:08:14 |
fzakaria (Old) | first forray into flakes ;) | 17:08:19 |
fzakaria (Old) | building it all from scratch really sucks though. I think patchelf-static would be nice editions too then we can offer releases on the GitHub page directly | 17:08:50 |
fzakaria (Old) | and patchelf-musl-static | 17:08:56 |
fzakaria (Old) | (I think those are safe to package from the /nix/store) | 17:09:13 |
| maljub01 joined the room. | 17:30:13 |
| Finn Behrens (he/him) joined the room. | 18:56:08 |
| Pascal joined the room. | 18:57:25 |
Mic92 | In reply to @fzakaria:matrix.org building it all from scratch really sucks though. I think patchelf-static would be nice editions too then we can offer releases on the GitHub page directly We already have static binaries for download | 18:59:14 |
| lassulus joined the room. | 18:59:24 |
Mic92 | In reply to @fzakaria:matrix.org got some good progress: https://github.com/NixOS/patchelf/pull/362 I have a look | 19:01:00 |
Mic92 | fzakaria: there is no autotools in this devsehll | 19:05:26 |
Mic92 | fzakaria: why inputDerivation btw? | 19:07:55 |
fzakaria (Old) | otherwise it tries to build the package | 19:12:21 |
fzakaria (Old) | when you do nix develop i saw | 19:12:24 |