<hodapp>
whatever, made a pull request. I just need darktable to work and I don't particulary feel like doing a bunch of archaeology to figure out what garbage wrapGAppsHook is doing that breaks everything
<Sonarpulse>
anybody know of a good way to diff two values?
<Sonarpulse>
Do i need to write a lib function for this?
<gchristensen>
Sonarpulse: I don't know of one
<gchristensen>
Sonarpulse: but tbh I'd be asking you more likely, than me know
<gchristensen>
"FAILED: /bin/bash -c "(touch" we don't have a /bin/bash
<spacekitteh>
it's in a FHS env
nil has joined #nixos
<spacekitteh>
the error is the java crypto provider shit
<gchristensen>
maybe you want openssl_1_1_0?
<spacekitteh>
nah, it works with 102j
<spacekitteh>
on other platforms
<gchristensen>
or openssl1_0_2
<gchristensen>
oh, openssl is 102. hrm.
<gchristensen>
nope, no idea :(
<spacekitteh>
damn, thanks anyway
rardiol has quit [(Ping timeout: 260 seconds)]
<gchristensen>
sorry
rardiol has joined #nixos
<spacekitteh>
trying to set up a hydra build for it. :(
* gchristensen
is writing mail about hydra right now
<spacekitteh>
(and just a dev env for it in general)
<clever>
spacekitteh: that error appears to be happening during nix build, so the FHS env doesnt mean a thing
<spacekitteh>
clever: no it's done in the actual fhs env
<spacekitteh>
i call make in the env
<gchristensen>
clever: can I make a hydra which doesn't just rebuild everything on its own? ie: use channels for substitutions from the official hydra?
<clever>
gchristensen: just set the hydra to follow a channel and it can get things from the binary cache
<gchristensen>
clever: and that'll work if I keep useSubstitutes off?
<clever>
gchristensen: it will probalb need substitutes turned on
<gchristensen>
it slows things down so much :(
<gchristensen>
since that runs in the evaluator
<gchristensen>
(I think?)
<clever>
only if you do import from derivation
<gchristensen>
so I'm wanting to have a personal hydra for testing changes to nixpkgs
<slack1256>
I need to set XDG_APPS_DATA for a custom app but I can enable gnome3 from configuration as I have enabled kde5.
<clever>
hydra-queue-runner normaly does substitution checks, as it loads each job and works out what to build
<slack1256>
Do anybody has an idea of where should I look at?
mudri has quit [(Quit: WeeChat 1.6)]
<gchristensen>
clever: if I disable useSubstitutions, is the build slave specifically told to not use substitutions?
<clever>
gchristensen: i think it just tells the slave to build, and its not capable of using substititions
<gchristensen>
not capable?
<clever>
thats handled by a build hook, that comes much earlier in the process
<NixOS_GitHub>
[nixpkgs] lverns opened pull request #21434: GHC add man pages (master...ghc-add-man-pages) https://git.io/vMJXR
<gchristensen>
oh interesting, I had no idea
<gchristensen>
ok
<gchristensen>
I wonder if anyone would be interested in hydra "as a service"
<clever>
main thing i would want for that, is better permissions within hydra
<clever>
right now, every user has full control of every project
<clever>
so you cant just rent out a user&project
AllanEspinosa has quit [(Ping timeout: 256 seconds)]
<gchristensen>
it'd have to be a whole hydra
<clever>
with the current codebase, yeah
<clever>
and you cant share build slaves between hydras, or it wont load balance right
<clever>
so that drives costs up massively
<gchristensen>
yeah no doubt
<clever>
if the permissions could be improved, you could have many untrusted users sharing a single hydra
<clever>
and that will massively help with costs
<gchristensen>
I wouldn't be looking to make money or lose money, if people want builders they'd have to pay for the server costs they incur.
nil has quit [(Ping timeout: 258 seconds)]
<gchristensen>
it is just a PITA to set up the hosts and the db and users and scaling (if desired) and would personally like it if someone else did it for me ;P
<hodapp>
and https://www.google.com/#q=%22services.colord.enable%22 shows it in Google's cache of the NixOS manual... but now completely missing
<hodapp>
and 'colormgr' just times out
<hodapp>
/nix/store/c9c0raaqs3kczw0mpkxjaqn0i6q0f962-colord-1.2.12/etc/systemd/system/colord.service exists... but systemd seems to have no awareness of it
derjohn_mobi has joined #nixos
nil has quit [(Ping timeout: 246 seconds)]
alx741_ has quit [(Quit: alx741_)]
eacameron has joined #nixos
aj__ has quit [(Ping timeout: 268 seconds)]
nil has joined #nixos
sboo has joined #nixos
sellout- has quit [(Quit: Leaving.)]
indi_ has quit [(Remote host closed the connection)]
sellout- has joined #nixos
eacameron has quit [(Remote host closed the connection)]
filterfish has quit [(Remote host closed the connection)]
filterfish_ has joined #nixos
indi_ has joined #nixos
PragCyph1 has joined #nixos
PragCyphr has quit [(Ping timeout: 248 seconds)]
indi_ has quit [(Ping timeout: 258 seconds)]
BlessJah has quit [(Ping timeout: 246 seconds)]
hexagoxel has quit [(Ping timeout: 264 seconds)]
hexagoxel has joined #nixos
<sboo>
How do I install GHCJS? I can't find it with nix-env, nox, or online.
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
indi_ has joined #nixos
[0x4A6F]1 has quit [(Quit: [0x4A6F]1)]
justanotheruser has quit [(Ping timeout: 250 seconds)]
indi_ has quit [(Ping timeout: 256 seconds)]
mguentner2 has quit [(Quit: WeeChat 1.6)]
mguentner has joined #nixos
eacameron has joined #nixos
justanotheruser has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Ping timeout: 258 seconds)]
mkoenig has joined #nixos
sellout- has quit [(Quit: Leaving.)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
eacameron has joined #nixos
indi_ has joined #nixos
spacekitteh has quit [(Ping timeout: 258 seconds)]
sboo has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 245 seconds)]
indi_ has quit [(Ping timeout: 258 seconds)]
spacekitteh has joined #nixos
indi_ has joined #nixos
uralbash has joined #nixos
mguentner2 has joined #nixos
mguentner has quit [(Ping timeout: 258 seconds)]
indi_ has quit [(Remote host closed the connection)]
<NixOS_GitHub>
nixpkgs/nixpart ccbee46 aszlig: nixos/tests/blivet: Fix typo in comment...
_rht has joined #nixos
Wizek has quit [(Ping timeout: 265 seconds)]
phreedom has quit [(Remote host closed the connection)]
Wizek has joined #nixos
nh2_ has joined #nixos
AndroUser has joined #nixos
zagy has joined #nixos
Wizek_ has joined #nixos
Itkovian has joined #nixos
zagy has quit [(Client Quit)]
thc202 has joined #nixos
Wizek__ has quit [(Ping timeout: 252 seconds)]
zagy has joined #nixos
zagy has quit [(Client Quit)]
rly has quit [(Ping timeout: 245 seconds)]
zagy has joined #nixos
eacameron has joined #nixos
rly has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
mudri has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
jgertm_ has joined #nixos
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
AndroUser has quit [(Ping timeout: 252 seconds)]
AndroUser has joined #nixos
sboosali has quit [(Ping timeout: 268 seconds)]
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
ebzzry has joined #nixos
Itkovian has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Wizek has quit [(Ping timeout: 245 seconds)]
amarsman has quit [(Ping timeout: 250 seconds)]
indi_ has quit [(Ping timeout: 246 seconds)]
Wizek has joined #nixos
nh2_ has quit [(Ping timeout: 260 seconds)]
hotfuzz has joined #nixos
nslqqq has joined #nixos
dgn has joined #nixos
<viric>
damn it. After 90% of transfer (2h) I have touched alt-up in a nixos installation iso shell and all was killed
<viric>
I have to start over
<viric>
damn it
jacob_ has joined #nixos
jacob_ is now known as Guest28465
simendsjo has joined #nixos
<Guest28465>
is there a option that deals with gamepads? my xbox360 controller works out of the box on nixos, and a ps3 controller does not.
indi_ has joined #nixos
eacameron has joined #nixos
indi_ has quit [(Ping timeout: 258 seconds)]
indi_ has joined #nixos
pi3r has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
ixxie has joined #nixos
Wizek has quit [(Ping timeout: 264 seconds)]
systemfault has quit [(Quit: Bye!)]
lassulus has quit [(Changing host)]
lassulus has joined #nixos
indi_ has quit [(Remote host closed the connection)]
Wizek has joined #nixos
indi_ has joined #nixos
lukego has joined #nixos
xadi has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<lukego>
I have a nix file that starts with '{ stdenv, fetchurl }:' and I wonder: How do I run this with nix-build? I mean, it needs to somehow get the result of 'import <nixpkgs>' as an argument, but I wonder what is that somehow?
<rly>
When using a busybox version of sed, how can I refer to sed in a proper way? I.e., normally one can do something like $package/bin/sed or something like that, but it seems that busybox isn'
<rly>
t packaged like that.
<gchristensen>
sure it is, rly: /nix/store/4zaam285svx3dr1k8wh0d42p8lqx0w9g-busybox-1.24.2/bin/sed
amarsman has joined #nixos
pi3r has joined #nixos
jensens has joined #nixos
bennofs has joined #nixos
<ToxicFrog>
Hmm. How do I get man pages for all the things I install?
<ToxicFrog>
And how do I get 'man -k' working?
mizu_no_oto has joined #nixos
<rly>
gchristensen: in a dockerTools built image where there is a contents = [busybox]; specified, this does not hold.
evangeline has quit [(Ping timeout: 264 seconds)]
<rly>
gchristensen: a symlink /sbin/sed points at a multi-binary busybox.
<gchristensen>
rly: yes, that is how busybox works: /nix/store/4zaam285svx3dr1k8wh0d42p8lqx0w9g-busybox-1.24.2/bin/sed is a link to /nix/store/4zaam285svx3dr1k8wh0d42p8lqx0w9g-busybox-1.24.2/bin/busybox
<rly>
gchristensen: on the machine where I build the image your theory does hold.
<rly>
gchristensen: no, you are misunderstanding.
<LnL>
but I'm pretty sure I didn't have to enable man outputs explicitly
<gchristensen>
I have no idea what dockertools does, but you can (everywhere else) refer to sed as ${busybox}/bin/sed
<LnL>
I thought all those global things where symlinks
Wizek has quit [(Ping timeout: 268 seconds)]
<ToxicFrog>
LnL: so, I'm not actually sure what's going on here. 'man bash' and 'man zsh' work. 'man sddm.conf' and 'man logind.conf' don't work, but 'man sshd_config' does. 'man -k' doesn't work for anything, including pages I was just reading.
<gchristensen>
ToxicFrog: oh ... you probably don't have sddm and logind "installed" as systemPackages or in to your environment
bennofs has quit [(Quit: WeeChat 1.6)]
<ToxicFrog>
Oh. No, I don't, they're pulled in as dependencies
<ToxicFrog>
I kind of figured that I'd have documentation for everything that's installed, not just the small set of packages I've explicitly enabled
<ToxicFrog>
...and for that matter, I don't have `bash` in systemPackages
<ToxicFrog>
But `man bash` still works
<LnL>
it's in systemPackages, you just didn't add it explicitly :)
<rly>
gchristensen: if I refer to the symbol, I go the the layout you talked about in the docker container too.
<ToxicFrog>
Hmm
eacameron has joined #nixos
<ToxicFrog>
Ok, so `man` can find things because /run/current-system/sw/bin/ is in $PATH, and it finds /run/current-system/sw/bin/../man from that even though it's not in the config file
<ToxicFrog>
`mandb --debug` shows it finding that too, but then it doesn't show up in the final manpad=
<ToxicFrog>
*manpath=
<ToxicFrog>
`mandb --debug /run/current-system/sw/share/man` gets further, but since everything in there is symlinks into /nix/store, it can't actually create the db because it tries to create it alongside the man pages
indi_ has joined #nixos
pi3r has quit [(Ping timeout: 264 seconds)]
eacameron has quit [(Ping timeout: 258 seconds)]
zarel has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<NixOS_GitHub>
nixpkgs/master 2436fc1 Shea Levy: ghcHEAD comes with a ghci package.
sellout- has joined #nixos
sdothum has joined #nixos
<ToxicFrog>
All this because I wanted to override the login screen background in sddm, which apparently you can't do with the config file anyways
xadi has joined #nixos
derjohn_mobi has quit [(Ping timeout: 250 seconds)]
<AndroUser>
I am new to nixos and try to get xmonad working. I use the guide in the Haskell Wiki: https://wiki.haskell.org/Xmonad/Installing_xmonad . However I get the `.xmonad/xmonad-x86_64-linux does not exist` error in combination with `xmonad: user error (openDisplay)`
samvher has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
Wizek__ has joined #nixos
Wizek has quit [(Ping timeout: 245 seconds)]
Wizek_ has quit [(Ping timeout: 252 seconds)]
<AndroUser>
sorry, I fixed it myself. I was irritated by the fact that the login screen did not disappear and tried on console (which does not work). In fact xmonad started without removing the display manager log in screen.
indi_ has quit [(Ping timeout: 265 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
<gchristensen>
AndroUser: good to hear :)
bennofs has joined #nixos
Wizek__ is now known as Wizek
mkoenig has joined #nixos
* hodapp
pokes around to try to figure out why darktable build is fux0red some more...
<hodapp>
I guess I could run 'git bisect' and see what change introduced it
Wizek_ has joined #nixos
samvher has quit [(Ping timeout: 246 seconds)]
indi_ has joined #nixos
angerman has quit [(Quit: Bye)]
<hodapp>
okay, cmakeFlags has -DCMAKE_INSTALL_PREFIX there 5 times... that's odd
<NixOS_GitHub>
[nixpkgs] georgewhewell opened pull request #21437: pythonPackages.joblib: skip failing test on darwin (master...bugfix/pythonPackages.joblib) https://github.com/NixOS/nixpkgs/pull/21437
<ToxicFrog>
How do I add channels in configuration.nix as opposed to with nix-channel? I really don't like having all this stateful channel configuration lying around.
<ToxicFrog>
I thought I wanted nixPath, e.g. nix.nixPath = [ "nixos-unstable=https://nixos.org/channels/nixpkgs-unstable" ];
<ToxicFrog>
And then refer to it using something like "environment.systemPackages = with unstable = import <nixos-unstable> {...}; [ unstable.foo unstable.bar ...other packages... ];
<ToxicFrog>
But having that in my nixPath seems to make it want to install everything from unstable.
georges-duperon has joined #nixos
nschoe has joined #nixos
<gchristensen>
I don't think there is a way, since the channel needs to be set before your configuration.nix is called
<ToxicFrog>
Er, that should be a let, not a with, but you get the idea
<ToxicFrog>
gchristensen: why have nixPath at all, then? It definitely does something, since adding nixpkgs-unstable to it causes "nixos-rebuild dry-build" to report that it's about to rebuild ~most of the system
<gchristensen>
ToxicFrog: well so you can set nix.nixPath, but it isn't used until the next nixos-rebuild
<williamyaoh>
Hi, is there a way to create home directories on a partition other than the root one?
<williamyaoh>
i.e. with /etc/nixos/configuration.nix
<gchristensen>
ToxicFrog: ie: set it in configuration.nix, rebuild, new shell, rebuild <- this is where it is used
<ToxicFrog>
gchristensen: aah. So it's reporting that it wants to rebuild all of those things because nixPath changed and that changes their emitted configurations, not because it's suddenly installing everything from unstable.
<joecurwen>
Hey. I'm trying to instill nix without root privileges, following a manual install as described in the wiki. I'm stuck on an error saying "substituter 'download-from-binary-cache.pl': cannot figure out user name. Checking the code, the line is my $username = getpwuid($<) || $ENV(USER) or die .... I've done export USER=<username>, but it's still failing.
<joecurwen>
Any ideas?
Guest28465 has quit [(Quit: Lost terminal)]
<srhb>
joecurwen: HArdcode it? :-)
pstn has joined #nixos
<joecurwen>
Patch the file and do an overrideDerivation?
Wizek_ has quit [(Ping timeout: 245 seconds)]
<ToxicFrog>
williamyaoh: that is super weird
<ToxicFrog>
And implies it's unmounting sda2 before it creates the home directory or something
<ToxicFrog>
If you create the directory by hand with sda2 mounted, does it show up on the correct filesystme?
ixxie has joined #nixos
erasmas has joined #nixos
<williamyaoh>
Oookay. I tried again from a fresh install of NixOS, and now it created home directories for the user on *both* sda1 and sda2.
xadi has joined #nixos
<williamyaoh>
ToxicFrog: Yup, manually created the directory puts it on the right FS
Wizek_ has joined #nixos
Wizek__ has joined #nixos
<gchristensen>
williamyaoh: did you re-run the configuration generation?
<williamyaoh>
gchristensen: I did, yeah.
<williamyaoh>
gchristensen: Not sure if the hardware config changed.
Wizek has quit [(Ping timeout: 252 seconds)]
danharaj has joined #nixos
<srhb>
Has anyone gotten google chrome or chromium to work with hbo (nordic) ? The flash player just looks like it's stuck loading. I'm guessing drm issues.
<williamyaoh>
Regardless, I'm still having the same issue when trying to *rebuild*.
<williamyaoh>
So it worked (sans extra home directory) on a fresh install, but isn't working when rebuilding.
<williamyaoh>
(after userdel'ing the user, removing (sda1)/home and making an empty dir)
<NixOS_GitHub>
nixpkgs/master 9de120f Frederik Rietdijk: pythonPackages.resampy: init at 0.1.4
<NixOS_GitHub>
nixpkgs/master 7847a02 Frederik Rietdijk: pythonPackages.numpydoc: 0.5 -> 0.6.0
<NixOS_GitHub>
nixpkgs/master 72385a3 Frederik Rietdijk: pythonPackages.librosa: 0.4.0 -> 0.4.3
Wizek_ has quit [(Ping timeout: 256 seconds)]
<williamyaoh>
Ah. I used `nixos-rebuild switch` instead of `boot` and it worked.
<ToxicFrog>
That sounds like /home isn't getting mounted early enough at boot time
<williamyaoh>
Is there a way to configure that?
<ToxicFrog>
You can set fileSystems."/home".neededForBoot = true
<ToxicFrog>
Which will make the initrd mount it before trying to pivot_root
Wizek has joined #nixos
<ToxicFrog>
I don't know if that's early enough, but I'd be surprised if it wasn't
<ToxicFrog>
It may also be worth filing a bug; IMO, it shouldn't be trying to create user accounts until everything is mounted, and it definitely shouldn't be attempting it before the filesystem(s) containing home directories arem mounted.
Wizek_ has joined #nixos
Wizek__ has quit [(Ping timeout: 252 seconds)]
simendsjo has quit [(Remote host closed the connection)]
Wizek__ has joined #nixos
williamyaoh_ has joined #nixos
<williamyaoh_>
ToxicFrog: Looks like it was early enough in the boot process, thanks for the help
williamyaoh has quit [(Read error: Connection reset by peer)]
Wizek has quit [(Ping timeout: 252 seconds)]
jsgrant has joined #nixos
Wizek_ has quit [(Ping timeout: 245 seconds)]
williamyaoh_ is now known as williamyaoh
Wizek has joined #nixos
Wizek_ has joined #nixos
alx741 has joined #nixos
Wizek__ has quit [(Ping timeout: 252 seconds)]
Wizek__ has joined #nixos
williamyaoh has quit [(Quit: leaving)]
Wizek has quit [(Ping timeout: 252 seconds)]
Wizek_ has quit [(Ping timeout: 252 seconds)]
Wizek__ has quit [(K-Lined)]
jophish has joined #nixos
jophish has quit [(Quit: leaving)]
jophish has joined #nixos
nh2_ has joined #nixos
systemfault has joined #nixos
<viric>
zfs is not as fast as I expected
<viric>
for metadata
<viric>
why oh why.
tg has quit [(Ping timeout: 258 seconds)]
<ToxicFrog>
I believe there are tuning options for that
<viric>
zpool iostat reports 116 op/S
<viric>
op/s
<ToxicFrog>
personally I haven't put any effort into tuning my ZFS because the disks are all either SSDs and thus too fast for me to care or connected via USB and thus too slow for me to care
<hodapp>
gah, git bisect is much easier when 75% of the commits don't break the build
thalll has quit [(Ping timeout: 250 seconds)]
<yorick>
aszlig: is there a special way to patch chromium?
tg has joined #nixos
katyucha has quit [(Quit: leaving)]
<yorick>
aszlig: pkgs.chromium.overrideDerivation (attr: { patches = attr.patches ++ [...]; }) is not the way, it seems
<viric>
git-annex reads 15 symlinks/s in zfs. I think it was faster on xfs
<NixOS_GitHub>
[nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vMUsS
<NixOS_GitHub>
nixpkgs/master 02c65bd zimbatm: google-chrome: add channel name suffix...
eacameron has quit [(Remote host closed the connection)]
<aszlig>
but unfortunately there is no way to actually pass it back
<aszlig>
yorick: could you please open an issue on that?
<eacameron>
(cc. clever) I'm trying to use NIX_REMOTE_SYSTEMS to to distributed builds with nixops, but I'm getting a "error: imported archive lacks a signature"
<aszlig>
or even better a pull request... basically the browser attribute just has to be in the wrapper's build env
<LnL>
eacameron: did you setup the signing keys?
<aszlig>
so you could do something like pkgs.chromium.overrideDerivation (wrapper: { browser = pkgs.chromium.browser.overrideDerivation (drv: ...); })
<eacameron>
LnL: Apparently not? Not even sure what that is. I never had to do that with nixops; just now that I have a real NixOS machine on my network that I want to use it complains
<eacameron>
LnL: Ah I see. I've used VMs successfully for remote builds...but I built them with nixops; so I'm guessing nixops sets that stuff up on its deployed machines
<bennofs>
Has anyone seen that before? The error that i get is: grep: (standard input): Invalid argument
rly has quit [(Ping timeout: 256 seconds)]
<bennofs>
the weird thing is that it the problem only occurs if test.sh, which invokes grep, is invoked from make
<eacameron>
LnL: Ah so the host and remote both must have the same secret signing key?
<bennofs>
oh, I just noticed that test.sh is not neccessary, the problem occurs also when grep is invoked directly by make
<bennofs>
Is there anything special about how make invokes programs that can cause programs to behave differently if make is invoked with 'make > /dev/null' vs if it is invoked with just 'make' ?
<eacameron>
LnL: I see. I'm guessing I may already have something like that generated by nixops so I'm wondering where I would look on darwin to see if I already have something generated.
<eacameron>
LnL: Or maybe since nixops connects as root it doesn't do this check since the docs you just showed me said it applies in multiuser system.s
<LnL>
eacameron: yes, it uses root
<eacameron>
LnL: Hmm...well I actually do have root access :P but it would be good to figure this out anyway
<LnL>
if you put the signing keys in /etc/nix it should just work
<eacameron>
LnL: Your repo docs seem to indicate that nix on darwin looks for the keys in /etc/nix. That seems odd but believable? Have you tried that on darwin?
<LnL>
yes, you can use that container as a tiny linux builder for osx
<eacameron>
LnL: Heh...I did the same thing but with nixops deploying a VM.
<eacameron>
LnL: However I bought a 16-core, 72GB RAM build machine and put NixOS on it...so now it's time to really get things moving. ;)
<hodapp>
huh, so this darktable commit changes RUNPATH=/home/hodapp/nixpkgs/darktable-tmp/darktable/build/src (for instance) to RUNPATH=$ORIGIN/../lib64/darktable and LebedevRI tells me that the rpath handling wasn't even working right and the commit fixes that
<hodapp>
so... the NixOS build worked correctly only when darktable's rpath was being set *incorrectly*?
jsgrant has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Remote host closed the connection)]
<LnL>
hodapp: strange, the gapps wrapper only sets a bunch of variables like XDG_*
<hodapp>
LnL: yeah, I have no idea wtf it's doing
<hodapp>
LebedevRI tells me that stripping rpath should be enough to make it work...?
<LnL>
oh, you could try that
<hodapp>
I'm trying to make sense of why that would work
tvon has joined #nixos
oida has quit [(Ping timeout: 260 seconds)]
<hodapp>
interesting, https://github.com/NixOS/patchelf has the "BUGS" section in which it mentions that 'strip' generates broken executables if applied to the output of patchelf
<hodapp>
note that for the problem I'm observing, I was observing broken executables only if I ran patchelf
[0x4A6F]2 has quit [(Read error: Connection reset by peer)]
zimbatm has quit [(Remote host closed the connection)]
<bennofs>
alright, I found the solution to my earlier problem: gnumake appears to put STDOUT into APPEND mode, which causes the 'splice' syscall that grep uses when STDOUT is null to fail
estewei has joined #nixos
<hodapp>
good, chrpath -d works. Guess I'll just remove the hard-coded garbage and update the PR
<bennofs>
joko: I believe you need to set GDK_PIXBUF_MODULE_FILE only if the application relies on pixbuf finding the librsvg library for loading images (for example, if the application relies on SVG images for user interface elements and uses pixbuf to load them)
<bennofs>
joko: XDG_DATA_DIRS should not be needed as far as I know
pstn has quit [(Remote host closed the connection)]
digitus has joined #nixos
eacameron has joined #nixos
amarsman has quit [(Ping timeout: 258 seconds)]
[0x4A6F]1 has quit [(Quit: [0x4A6F]1)]
msd has joined #nixos
xadi has quit [(Quit: Leaving.)]
bennofs has quit [(Quit: WeeChat 1.6)]
<hodapp>
LnL: can you better interpret what stripping rpath means here? I've tried 'chrpath -d' in preFixup and preInstall, and neither one seems to help
<hodapp>
and I don't quite get why *removing* rpath would solve an issue
<LnL>
hodapp: not sure, I'm not that familiar with it
<hodapp>
bah
<LnL>
hodapp: I think you can patchelf --print-rpath to see before and after to see what happens
tvon has quit [(Ping timeout: 258 seconds)]
<hodapp>
does that tell me anything different than chrpath?
bennofs has joined #nixos
rly has joined #nixos
tvon has joined #nixos
eacameron has joined #nixos
georges-duperon has quit [(Ping timeout: 260 seconds)]
<hodapp>
"By default if you don't change any RPATH related settings, CMake will link the executables and shared libraries with full RPATH to all used libraries in the build tree."
<martijn923>
I'm puzzled by some nix-shell behaviour. In nix-shell I have a bash in $SHELL that's different from /run/current-system/sw/bin/bash
<hodapp>
ugh, no luck with -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON
<msd>
LnL: wxGTK can only be built on Snow Leapord environments. I'm going to try to tackle wxGTK29 and 30 before going after 28 -- looks like these can be built on later systems
<LnL>
msd: yeah, sounds like we should just mark it as broken on darwin
<hodapp>
ugggh, cmakeFlags isn't taking -U to undefine a cache entry for some reason
mudri has joined #nixos
<hodapp>
if this doesn't work I think I am just going to give up and go with the kludgey solution I already did a PR for
Sonarpulse has quit [(Ping timeout: 264 seconds)]
<msd>
LnL: hm...maybe most packages that can be built with wxGTK28 can just use 2.9 instead. Don't know how the wx versioning system works; however, 2.8 -> 2.9 shouldn't indicate major API breaks
<hodapp>
the only other "clean" solution I can think of is to patch the CMake file
tvon has quit [(Quit: System is sleeping...)]
amarsman has joined #nixos
Ralith_ has joined #nixos
<hodapp>
ugh, fuck this
<NixOS_GitHub>
[nixpkgs] league opened pull request #21444: gphoto2: nixos programs module to configure udev (master...fix/gphoto2-udev) https://git.io/vMURg
<hodapp>
I have no desire to go try to figure out what epic nonsense CMake is undertaking
<hodapp>
nor how the CMake support in NixOS works
<hodapp>
when all I really wanted was just to run darktable
<LnL>
didn't the rpath shrink work?
Fare has joined #nixos
<hodapp>
rpath shrink?
<LnL>
chrpath
<hodapp>
chrpath -d in preInstall or preFixup doesn't work, no
<LnL>
oh I thought it did
<LnL>
what a pain
<hodapp>
think I'll just leave the PR as is
pi3r has joined #nixos
<hodapp>
I kind of wish I knew what was responsible for all of this shit, but not enough to investigate it any further
bennofs has quit [(Ping timeout: 240 seconds)]
bfrog_ has joined #nixos
tvon has joined #nixos
danharaj has quit [(Ping timeout: 245 seconds)]
georges-duperon has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 3 new commits to master: https://git.io/vMU0b
<NixOS_GitHub>
nixpkgs/master 346c1db Johannes Bornhold: xournal: Allow to build it on darwin with X11 backend
<NixOS_GitHub>
nixpkgs/master febab15 Johannes Bornhold: gtk2: Enable xinput for Darwin
<NixOS_GitHub>
nixpkgs/nixpart e17bb61 aszlig: nixpart: Move out of python-packages.nix...
<NixOS_GitHub>
nixpkgs/nixpart 85e72e3 aszlig: nixos/tests/storage: Split into sub-derivations...
<NixOS_GitHub>
nixpkgs/nixpart d6f428c aszlig: nixos/storage: Add defaults for clear/initlabel...
eacameron has joined #nixos
joecurwen has quit [(Ping timeout: 252 seconds)]
<tvon>
Every time I reboot my system I have "A stop job is running for NTP Daemon" and I have to wait for the 90 second timeout. Anyone seen this?
<mudri>
tvon: I seem to remember something like this.
samvher has quit [(Ping timeout: 250 seconds)]
<tvon>
I'm running unstable but it has been going on for a while and upgrades haven't made it go away yet
<mudri>
I think my system was like that, then I happened to reïnstall NixOS slightly imperfectly, and now I just notice a surprisingly long pause in shutdown.
<mudri>
tvon: unstable, same.
eacameron has quit [(Ping timeout: 245 seconds)]
<mudri>
I was meaning to report this as an issue, but I never learnt where the relevant logs are.
sboosali has quit [(Read error: Connection reset by peer)]
msd has joined #nixos
bennofs has quit [(Ping timeout: 264 seconds)]
msd has quit [(Remote host closed the connection)]
sboosali has joined #nixos
bennofs has joined #nixos
msd has joined #nixos
eacameron has joined #nixos
uralbash has quit [(Ping timeout: 268 seconds)]
flxw has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
<LnL>
gchristensen: ping
eacameron has joined #nixos
<flxw>
Hi. I'm trying to boot the minimal nixos live cd without any graphics. How can I do this? kernel parameters like nofb, vga=normal, nomodeset, video=vesafb:off seems not to have any effect.
joecurwe` has joined #nixos
<flxw>
(I run the live cd in qemu -curses over ssh. So I don't see what happens once the system goes into graphics mode)
bennofs1 has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
joecurwe` is now known as joecurwen
<flxw>
What I do see, though, is, the system switches to graphic mode after the init scripts finish.
bennofs has quit [(Ping timeout: 258 seconds)]
hiberno has joined #nixos
bennofs1 has quit [(Quit: WeeChat 1.6)]
eacameron has joined #nixos
bennofs has joined #nixos
<hodapp>
minimal NixOS shouldn't have any graphics anyhow
<hodapp>
however I don't know much about qemu -curses
<hodapp>
it looks like when I ran myself last year sometime I used -nographic -curses and had seemingly no problem, hmmm
msd has quit [(Remote host closed the connection)]
eacameron has quit [(Remote host closed the connection)]
<flxw>
yeah, -nographic -curses is how I boot the gentoo install cd for instance.
joecurwen has quit [(Ping timeout: 268 seconds)]
joecurwe` has quit [(Ping timeout: 245 seconds)]
rly has quit [(Ping timeout: 248 seconds)]
mguentner2 is now known as mguentner
joecurwe` has joined #nixos
joecurwe` has left #nixos []
danharaj has joined #nixos
<flxw>
okay, just tried it out to be sure. The minimal gentoo install cd with framebuffer support runs without FB when passed nofb and running qemu -nographic -curses.
mkoenig has quit [(Read error: Connection reset by peer)]
<flxw>
btw, I was trying nixos-minimal-16.09.1368.435b5f8-x86_64-linux.iso to boot without frame buffer.
<zarel>
hi all! I'm trying to fix #16845 by adding a switch to xfce.nix to decide which screen locker will be used. I'm thinking if the option should be passed to xfce4-session like thunar plugins or not
<zarel>
and most of all, if I decide to pass the option to xfce4-session I cannot add systemPackages from there, right? I can only add whatever screen lock program I choose to the build parameters and then it would be discarded
MichaelRaskin has joined #nixos
<viric>
MichaelRaskin: zfs, so far so good.
<viric>
MichaelRaskin: I had an early disappointment with a 'git annex info .' that took 40 minutes to run...
<viric>
MichaelRaskin: but it has been fixed somehow. Maybe it was doing some extra job in the back
<viric>
now it beats the ext4
<viric>
- and the xfs I guess.
jsgrant has quit [(Remote host closed the connection)]
jsgrant has joined #nixos
samvher has joined #nixos
Wizek has joined #nixos
Wizek has quit [(Ping timeout: 246 seconds)]
Fare has joined #nixos
sboosali has quit [(Remote host closed the connection)]
sboosali has joined #nixos
systemfault has joined #nixos
Claas has joined #nixos
<Claas>
MichaelRaskin: i solved my problem by adding wacom.enable = true; in my x service configuration
<MichaelRaskin>
Post-factum sounds natural, but I never remember when it is hardware.synaptics and when xserver.wacom…
<Claas>
MichaelRaskin: xsetwacom is now working as intended, further i saw your message about x using the wacom driver
<MichaelRaskin>
viric: I dunno if I want to end up with a rescue USB flash that I am legally not allowed to give to anyone
<Claas>
while xsetwacom works fine im curious how to configure it on system start over my configuration.nix
<Claas>
im doing something similar for mouse acceleration already but it doesnt seem to work for my tablet
<MichaelRaskin>
Are you sure you do not want just to call a script setting stuff up from whatever X session startup you have?
Wizek has joined #nixos
<Claas>
that seems a bit hacky for me, i have choosen nix because it very easy to setup on a new system
hiratara has quit [(Ping timeout: 258 seconds)]
<Claas>
and why not implement it the clean way if i have the option :3
<MichaelRaskin>
Well, maybe you can use Nix to add stuff to the session launching script
<MichaelRaskin>
I want to say that I get nervous from such repo naming. But to be honest, I don't see a likely scenario where nixos gets used again as a repo name
<viric>
MichaelRaskin: is that the case, of the usb flash?
<MichaelRaskin>
viric: if you use ZFS, you need the module on the rescue drive. And the compiled module is undistributable because CDDL _and_ GPL
<Claas>
ah ye, i couldnt think of a better name and structure to organize that stuff, maybe you have a better structure to manage it ?
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<viric>
MichaelRaskin: we have that in the installation iso
<Claas>
the mouse class simply turns off acceleration etc. which i never ever want on any computer i use
rardiol has joined #nixos
<MichaelRaskin>
viric: ZFS?? OOps.
<rardiol>
did the netcat of nixos.netcat change recently?
sdothum has joined #nixos
<MichaelRaskin>
Claas: I don't use mainline NixOS, and I have a few versions of my system generating expressions, so generally I have a bit of a mess
hiberno has quit [(Read error: Connection reset by peer)]
<Claas>
ah ok
<viric>
MichaelRaskin: sure. It's ready in the installation iso. Which lacks vim, vi and man. I still have not managed to see a manpage booting the installation iso
<MichaelRaskin>
And then I have a complicated list of instsalled packages that merit their own structuring…
ixxie has quit [(Remote host closed the connection)]
<NixOS_GitHub>
nixpkgs/master d0ad9b5 Frederik Rietdijk: Merge pull request #21448 from Lassulus/beacon-update...
<MichaelRaskin>
viric: I see a problem in this…
FRidh has quit [(Remote host closed the connection)]
Wizek has joined #nixos
<Unode>
hi all,
<Unode>
I've been trying to set some fontconfig settings. I currently have http://dpaste.com/316PR2J on my configuration.nix file.
<Unode>
However fc-match still reports antialias enabled.
<Unode>
Is there any way to check if these options are actually producing an effect?
<viric>
MichaelRaskin: sure.
Claas has quit [(Ping timeout: 260 seconds)]
tvon has quit [(Quit: Peace out, y'all!)]
Claas has joined #nixos
<Claas>
MichaelRaskin: lawl, its broken again and i have no idea why
filterfish_ has quit [(Remote host closed the connection)]
filterfish__ has joined #nixos
<viric>
niksnut: you included zfs in the iso images (commit 57b05765, year 2015) but MichaelRaskin says that it's illegal to redistribute the zfs module
<MichaelRaskin>
Claas: intriguing
<viric>
I also wonder why setting services.xserver.enable=true; in the installation iso ended up building gtk3 and qt
<viric>
instead of using prebuilts
Claas has quit [(Ping timeout: 260 seconds)]
<viric>
MichaelRaskin: I will use zfs for some time. Maybe I will find a heavier reason not to use it