gchristensen changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | 18.03 release managers: fpletz and vcunat | https://logs.nix.samueldr.com/nixos-dev
sir_guy_carleton has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 248 seconds]
lassulus_ is now known as lassulus
init_6 has joined #nixos-dev
obadz has quit [Ping timeout: 260 seconds]
obadz has joined #nixos-dev
<pie_> any reason why there isnt a 64bit build of wine built by hydra or do i just not know the package name?
<pie_> nix-env -vi -E wine.override { wineBuild = "wineWow"; } does work to build one
<pie_> i feel like it would probably be used often enough to be worth it
<drakonis> it is actually built on unstable
<drakonis> the full permutation matrix is built on unstable
<drakonis> so wineWowStaging is available
<{^_^}> #44439 (by Ekleog, 28 seconds ago, open): [RFC] Use `meta.tests` to link from packages to the tests that test them
drakonis has quit [Remote host closed the connection]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
init_6 has quit []
orivej has joined #nixos-dev
<pie_> ah sweet, got it to woek
<pie_> dunno if mattewbauer uses irc but +1 for him
<pie_> ugh, wine basically pulls in all of linux with it thought :p
* pie_ tries to free more disk again...
orivej has quit [Ping timeout: 268 seconds]
init_6 has joined #nixos-dev
Lisanna has joined #nixos-dev
FRidh has joined #nixos-dev
pie_ has quit [Ping timeout: 244 seconds]
vcunat has joined #nixos-dev
orivej has joined #nixos-dev
aristid has joined #nixos-dev
<genesis> hum , people tends to use appimage, i should write some derivation to unbundle them
<clever> genesis: there is already an appimage-run to deal with starting them
<genesis> ho right, i've look thx
<genesis> yes it's for running them
<genesis> i look for unbundle them aka unpack squashfs , remove useless lib and make proper patchelf useful bin.
<genesis> but appimage-run unpack them ok.
<genesis> but the buildFHSUserEnv is heavy :-]
<genesis> https://github.com/NixOS/nixpkgs/issues/44419 i try to update it but it's only provide as a crap appimage now.
<{^_^}> #44419 (by Thunderbottom, 17 hours ago, open): soulseekqt: cannot enter characters in any textbox
<genesis> i don't have this pb on non-nixos oo
goibhniu has quit [Ping timeout: 268 seconds]
<clever> genesis: ive got some software working with nix-bundle and a full nix store within it, and some other devs are trying to redo it in appimage, lol
<genesis> i was contributor on appimage, i just think it won't work
<genesis> i discover nixos when i was contributing and searching solution for appimage ;)
<vcunat> :-D
orivej has quit [Ping timeout: 265 seconds]
pie_ has joined #nixos-dev
<domenkozar> lol
pie__ has joined #nixos-dev
<domenkozar> clever: becuase appimage is Kool(aid) or some good reason?
pie_ has quit [Read error: Connection reset by peer]
<clever> domenkozar: mostly, debian has restricted namespaces to root, so you have to tweak some settings to allow non-root to use namespacing to chroot
<domenkozar> error: you're on debian and due to hardened security ou have to take extra steps: ...
<clever> yep
<domenkozar> doesn't seem like a good reason to spend a week
<domenkozar> but then who am I to tell cryptocurrency companies to respect pareto principle
<clever> the windows wallet is worse in terms of security, needing admin at all times
<clever> and nobody has complained there :P
<domenkozar> well they have, but it's just a pop up to be clicked :P
<genesis> binwalk SoulseekQt-2018-1-30-64bit.AppImage -D 'squashfs:.squashfs:unsquashfs %e' , pretty good :)
pie___ has joined #nixos-dev
pie__ has quit [Ping timeout: 268 seconds]
<genesis> http://nixpaste.lbr.uno/7F5SFJJF?nix any idea why i get error: anonymous function at /home/genesis/devel/nixpkgs/pkgs/applications/networking/p2p/soulseekqt/default.nix:1:1 called without required argument 'binwalk'
<infinisil> genesis: binwalk doesn't exist?
<genesis> yeap, i think i don't manage python packages well
<infinisil> genesis: Probably more fitting to #nixos, but you probably want pythonPackages, then pythonPackages.binwalk
<genesis> yes i'm trying it
<genesis> it fixed thx, same with squashfs, need squashfsTools, i miss with attribute name and package name
goibhniu has joined #nixos-dev
<genesis> http://nixpaste.lbr.uno/_qSQ3m06?nix i wonder if it's a bug in the binwalk's derivation .
<genesis> since it's working fine outside nix-env build, any idea ?
init_6 has quit [Ping timeout: 244 seconds]
<infinisil> Hey, I'm currently reviewing a PR for adding a package that needs the source to be fetched by the user, but it can't use requireFile because the hash is different for every user
<infinisil> Currently it's using an attribute to pass the downloaded source, such that you can install it by doing `cplex.override { releasePath = /path/to/download; }`
<infinisil> Is this alright? An alternative would be to use `cplex.releasePath = /path/to/download;` in config.nix. PR is #44029
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44029 (by bfortz, 1 week ago, open): cplex: init at 12.8
obadz has quit [Ping timeout: 260 seconds]
obadz has joined #nixos-dev
<genesis> (i find a workaround for my pb)
<vcunat> infinisil: I suppose. I can't imagine a better option. It might default to something like /tmp/cplex-whatever.tar.gz but it depends on real use case.
<vcunat> I suppose they at least provide a free (of charge) option. Still, we've had some discussions around similar cases and some contributors would prefer to see this outside nixpkgs (in overlays).
<vcunat> Links to some of the discussions: #13625
<{^_^}> https://github.com/NixOS/nixpkgs/issues/13625 (by joelmo, 2 years ago, closed): Restrict nixpkgs
<ekleog> <clever> domenkozar: mostly, debian has restricted namespaces to root, so you have to tweak some settings to allow non-root to use namespacing to chroot <-- tbh, if there was a way to use the binary caches on non-root debian, I know at least one person who'd love the one who did the patch :) that'd require either proot or <10-char-long path to user-controlled directory, though, I guess :/ proot is not
<ekleog> that bad, that said
goibhniu has quit [Ping timeout: 268 seconds]
<infinisil> vcunat: Hmm.. alright I'll link to that in the PR, I think it should be okay to add to nixpkgs
<infinisil> I think I prefer the config.nix way for it though
<genesis> _o/ works !
<genesis> infinisil : why avoid switching to fetchurl for my squashfuse derivation ?
<infinisil> genesis: Because it's fetched from github?
<genesis> anyway, i'm finishing soulseekqt and fixed that.
<genesis> so i sucessed to unbundle appimage without appimagetool in an elegant way.
<genesis> clever #44460 my solution for appimage :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44460 (by bignaux, 7 minutes ago, open): soulseekqt: 2016-1-17 -> 2018-1-30
biopandemic has joined #nixos-dev
<genesis> hum i could have extract and remove the runner.
<genesis> nein, runner is in .appimage btw.
drakonis has joined #nixos-dev
averell has quit [Ping timeout: 245 seconds]
averell- has joined #nixos-dev
averell- is now known as averell
Sonarpulse has joined #nixos-dev
<thoughtpolice> Ugh. I have a WIP version of PostgreSQL 11 with JIT support, but LLVM being part of the build closure means the closure size bloats from ~140mb to 1.4GB
<thoughtpolice> :|
hl[m] has quit [Ping timeout: 256 seconds]
woffs has quit [Ping timeout: 256 seconds]
shlevy has quit [Ping timeout: 256 seconds]
drakonis has quit [Ping timeout: 256 seconds]
layus has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos-dev
<LnL> don't we have multiple outputs now, or is that only for clang
<thoughtpolice> LnL: It's tricky because, Postgres does JIT'ing by compiling everything to bitcode and keeping that (so it can inline things like operator definitions in extensions). It uses the LLVM API at runtime to JIT this bitcode. This means that when you compile an extension, it also wants to use clang to compile bitcode for the extension in question.
<thoughtpolice> So when you build postgres with JIT support -- it actually embeds a copy of the path to clang-wrapper. When PGXS (the Makefile infrastructure for postgres extensions) is used to compile an extension and Postgres has JIT support, it will automatically use clang and keep the bitcode.
<thoughtpolice> Meaning it's a hard dependency. In theory it can (and should be) build-time only but... I'd probably have to fix Postgres and PGXS themselves a bit.
<LnL> oh :/
<vcunat> thoughtpolice: wouldn't libllvm be enough?
drakonis has quit [Remote host closed the connection]
timokau[m] has quit [Ping timeout: 256 seconds]
<thoughtpolice> vcunat: Yes, but like I said the postgresql build system itself detects and add the hard dependency on the path to clang-wrapper, and embeds it in some of the code (e.g. the Makefile infrastructure for extensions). So I'd have to fix postgres to not embed this.
<thoughtpolice> But yeah, in an ideal world -- clang would be needed only as a nativeBuildInput for Postgres + all extensions, and libllvm would be a normal buildInput at runtime.
<thoughtpolice> The reason it embeds it I think is just to be careful so it always uses the right copy of LLVM once it's installed. On e.g. Debian you can have 5 copies installed at once, separated by version suffix (e.g. clang-3.9 and clang-6). You have to keep using the same clang you configured/built with later on when compiling extensions, which might happen later on.
<thoughtpolice> Obviously we don't have this problem but their infrastructure doesn't account for that.
<thoughtpolice> It'd probably still bloat the closure a bit
<thoughtpolice> llvmPackages_6.llvm is ~290mb.
<vcunat> Right, I've seen these kinds of hard problems.
<thoughtpolice> Ideally llvm wouldn't be in the path for postgresql.lib either... I wonder if that's possible to pull off. Otherwise the closures of any libpg-based things will bloat, too. Mmmmm.
woffs has joined #nixos-dev
drakonis_ has joined #nixos-dev
xeji has joined #nixos-dev
xeji has quit [Client Quit]
orivej has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
vcunat has quit [Quit: Leaving.]
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos-dev
jtojnar_ has joined #nixos-dev
phreedom_ has quit [Ping timeout: 250 seconds]
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar_ is now known as jtojnar
phreedom has joined #nixos-dev
jtojnar has quit [Remote host closed the connection]
sir_guy_carleton has joined #nixos-dev
jtojnar has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
drakonis_ is now known as Drakonis
pie___ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos-dev
pie__ has joined #nixos-dev
pie_ has quit [Read error: Connection reset by peer]
pie__ has quit [Remote host closed the connection]