gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<infinisil> Using NoScript, ha!
<infinisil> Ain't nobody cryptomining on my machine
{^_^} has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 246 seconds]
jrolfs has quit [Ping timeout: 240 seconds]
Meizikyn has joined #nixos
<Dezgeg> just wait until they figure out a CSS version
<clever> lol
<Dezgeg> or SVG
<Meizikyn> Why is aufs-tools unavailable to nixpkgs?
gchristensen has quit [Ping timeout: 240 seconds]
{^_^} has joined #nixos
<cransom> i assume because it never got popular, no one decided to package it
gchristensen has joined #nixos
<gchristensen> well that was astonishingly dumb
<gchristensen> well that was astonishingly dumb
<infinisil> Meizikyn: Yup, nixpkgs doesn't magically get every package in existence, people actually need to put effort into packaging it
<infinisil> gchristensen: What didya do?
<gchristensen> my home DNS by default routes all domains to my server
<coconnor> pretty sure XSLT is turing complete. Only a matter of time until a "proof by XML transform" crypto
nikivi has quit [Quit: ZNC 1.6.6 - http://znc.in]
<gchristensen> that is a footgun: I made a typo in setting up a new box with nixops, setting it to deploy to foo.bar.cmo, which resolved to ... my server ... which nixops dutifully ssh'd in to, copied the new config, and did a rebuild-switch :P
<coconnor> ouch
<cransom> ahaha. oooops indeed.
<gchristensen> good news: out of band SOL console access + nixos-rebuild switch --rollback, and it was fixed in a couple minutes :)
<infinisil> gchristensen: Why would you set up a DNS to route all domains to your server??
<Meizikyn> so the current implementation of aufs for docker is docker specific? (I don't know shit about docker)
<gchristensen> infinisil: I just ... I dunno!
<Meizikyn> <embarks on quest to package>
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #37395 → lib: Factor in tiny bit of `meta.platform` checking → https://git.io/vxGMz
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vxG97
<{^_^}> → e547bd0d by @Ericson2314: lib: Factor in tiny bit of `meta.platform` checking
<{^_^}> → 3c331bff by @Ericson2314: Merge pull request #37395 from obsidiansystems/lib-meta-platform
ma27 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #37396 → pythonPackages.cython: 0.27.3 -> 0.28.1 → https://git.io/vxG9d
<gchristensen> infinisil: it is something that seems like a good idea until you accidentally your server
<cransom> Meizikyn: https://docs.docker.com/storage/storagedriver/aufs-driver/ recommends using overlay2
<clever> cransom: i use zfs for my backend
<infinisil> gchristensen: Honestly I can't think of a reason that would be a good idea, but sure!
<gchristensen> infinisil: :D
<cransom> zfs is fine too. i just wouldn't recommend aufs if everyone gave up on it.
<coconnor> nixos is nice for infrastructure experiments
<infinisil> zfs ftw \o/
<coconnor> \o/
<{^_^}> [nixpkgs] @Mic92 merged pull request #37394 → kitty: 0.8.0 -> 0.8.2 → https://git.io/vxGiA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxGHm
<{^_^}> → 176b9ae0 by @jlesquembre: kitty: 0.8.0 -> 0.8.2
<ottidmes> infinisil: Isn't that a very common thing to do, to wildcard all subdomains to point the the same IP?
<{^_^}> → 1f50e841 by @Mic92: Merge pull request #37394 from jlesquembre/kitty
<{^_^}> [nixpkgs] @Mic92 merged pull request #37385 → google-drive-ocamlfuse and gapi-ocaml update → https://git.io/vxGYH
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vxGHs
<{^_^}> → 26fac59c by @coreyoconnor: gapi-ocaml: 0.3.4 -> 0.3.6. Also change to use opam/jbuilder for build.
<{^_^}> → a140fe83 by @coreyoconnor: google-drive-ocamlfuse: 0.6.21 -> 0.6.25.
<{^_^}> → f71a636d by @Mic92: Merge pull request #37385 from coreyoconnor/google-drive-ocamlfuse-update
generic has joined #nixos
nikivi has joined #nixos
<infinisil> ottidmes: I clearly don't understand the usecase here, can you tell me?
<infinisil> ANd gchristensen for that matter
<ottidmes> infinisil: Well, in my case everything with the same domain is destined for the same server, and I have nginx handle the subdomains
<infinisil> But gchristensen said "all domains" so i assumed this also includes stuff like google.com, but maybe i understood wrong
<ottidmes> infinisil: To clarify, everything that goes to example.com, goes to a certain IP, including all its subdomains, the semantics of what happens with the subdomain is up to in my case nginx
<ottidmes> infinisil: Yeah, I would agree that that would be bad :P
pkill9 has quit [Ping timeout: 255 seconds]
<infinisil> ottidmes: Well gchristensen said his typo was foo.bar.cmo, which would indicate that he routes every invalid domain to his own server!
muzzy has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @dtzWill opened pull request #1992 → serialise.cc: remove pessimising move → https://git.io/vxGHD
<ottidmes> infinisil: That true, yep, in that, but why? :P
<ottidmes> infinisil: I only have such a wildcard for *.localhost, but that points, as you would assume, to 127.0.0.1
<gchristensen> because I'm a silly goose
<infinisil> But like, why did you do it in the first place?
_null_ has joined #nixos
<infinisil> What was the intended usecase?
<gchristensen> I honestly don't know
<gchristensen> it may just be a mistake
<infinisil> Haha
<gchristensen> may have just started as a mistake*
Meizikyn has quit [Ping timeout: 260 seconds]
freeman42x]NixOS has quit [Ping timeout: 252 seconds]
muzzy has joined #nixos
<gchristensen> w00t I have extremely hacky nixops <-> Packet spot instance support going
sahabi_ has joined #nixos
jrolfs has joined #nixos
sahabi has quit [Ping timeout: 240 seconds]
hakujin1 has quit [Ping timeout: 240 seconds]
mounty has quit [Ping timeout: 240 seconds]
vidbina has joined #nixos
<{^_^}> [nixpkgs] @dezgeg pushed to master « armTrustedFirmware: Remove targetPlatforms like was done in U-Boot »: https://git.io/vxG7J
hakujin1 has joined #nixos
paraseba has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to release-18.03: https://git.io/vxG7s
<{^_^}> → 607fc823 by @dezgeg: nss: Fix aarch64 build
<{^_^}> → 5abaf2a9 by @YorikSar: chromium: 65.0.3325.146 -> 65.0.3325.162
<{^_^}> [nixpkgs] @dezgeg pushed commit from @thefloweringash to release-18.03 « Chromium: fix skia build on aarch64 »: https://git.io/vxG7l
<{^_^}> [nixpkgs] @dezgeg pushed commit from @YorikSar to release-17.09 « chromium: 65.0.3325.146 -> 65.0.3325.162 »: https://git.io/vxG7u
maximiliantagher has quit []
sahabi_ has quit [Quit: Leaving]
paraseba has joined #nixos
maximiliantagher has joined #nixos
<ottidmes> Does anyone perhaps know how you disable Firefox from logging stuff in the journal? Quite annoying to see it spammed with JavaScript errors
mounty has joined #nixos
hakujin1 has quit [Ping timeout: 276 seconds]
abathur has quit [Quit: abathur]
hakujin1 has joined #nixos
<coconnor> ottidmes: do you launch firefox in xsession by chance?
<clever> i believe it would inherit the stdio of the window manager, and wind up in display-manager.service's logs anyways
<clever> the only way to not do that, is to run it from a terminal
<clever> or wrap it with a bash script that redirs to null
hakujin1 has quit [Ping timeout: 252 seconds]
<ottidmes> clever: I launch it via rofi, but the logs say xsession, so I guess so
hakujin1 has joined #nixos
<ottidmes> clever: ^
<ottidmes> Ah come on..
<ottidmes> coconnor: ^
<clever> ottidmes: check `ps -eH x` while firefox is running, and follow the tree up
<ottidmes> clever: Would simply wrapping it and writing stdout and stderr to /dev/null work? I could try, but I thought that that did not work
<ottidmes> clever: I see /nix/store/wj4zc68d84202l64y9nisklmnqsf4pky-firefox-unwrapped-58.0.2/bin/.firefox-wrapped and some contentproc children, the parent is systemd
hakujin1 has quit [Ping timeout: 256 seconds]
<clever> ottidmes: what is the parent of firefox-wrapped?
<ottidmes> clever: systemd, at least according to that ouput of ps
<clever> pid 1?
<Dezgeg> the wrapper script has exited I guess?
<clever> yeah, that sounds likely
acarrico has joined #nixos
<ottidmes> clever: yep, pstree -p is easier to read, but yeah, like I said only systemd as the parent and a bunch of contentproc children, I also saw this post: https://www.reddit.com/r/firefox/comments/82ifwj/journalctl_spam/
<clever> ottidmes: pid 1 will adopt any orphaned processes, which makes it harder to see what started them
<{^_^}> [nixpkgs] @dtzWill merged pull request #37054 → aws-sdk-cpp: 1.4.10 -> 1.4.15 → https://git.io/vxLkS
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vxGdJ
<{^_^}> → 47d3f10e by @dtzWill: Merge pull request #37054 from dtzWill/update/aws-sdk-cpp-1.4.15
<{^_^}> → 48c3e600 by @dtzWill: aws-sdk-cpp: 1.4.10 -> 1.4.15
<ottidmes> I start them with rofi (a program launcher amongst other things)
generic has quit [Quit: Mutter: www.mutterirc.com]
muzzy has quit [Ping timeout: 240 seconds]
hakujin1 has joined #nixos
kerrhau has quit [Ping timeout: 264 seconds]
generic has joined #nixos
mudri has quit [Ping timeout: 246 seconds]
generic is now known as genericum
blankhart has joined #nixos
<ottidmes> clever: I guess I will just have to experiment with making a wrapper for the wrapper :P
thc202 has quit [Ping timeout: 246 seconds]
* clever heads off to bed
<ottidmes> yeah me too, goodnight
<ottidmes> or rather, sleep well
<kthnnlg> Hi, I'm having trouble and wonder if someone can help me with the following. I want to find the path the libhwloc.a (the lib output) of the hwloc nix build script. The strange thing is that the lib folder somehow doesn't appear in the main path, i.e., (import hwloc.nix {})/lib. https://github.com/NixOS/nixpkgs/blob/1dcd022f01b251b1656f349dcf749c0890de2799/pkgs/development/libraries/hwloc/default.nix#L59
<kthnnlg> hwloc is a "split derivation" btw
blankhart has quit [Ping timeout: 256 seconds]
hakujin1 has quit [Ping timeout: 246 seconds]
<srid> I'd like to help test 18.03 if possible. I'm already on nixos-unstable -- is there a path to switch to the 18.03 maintenance channel? cf. https://groups.google.com/forum/#!topic/nix-devel/3KxPNwxDV9E
Lisanna has quit [Quit: Lisanna]
pxc has joined #nixos
blankhart has joined #nixos
shabius has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37397 → release-lib: Filter supportedSystems with `meta.platforms`-style patterns → https://git.io/vxGbv
maximiliantagher has quit [Remote host closed the connection]
blankhart has quit [Ping timeout: 264 seconds]
blankhart has joined #nixos
<vaibhavsagar> srid: `sudo nix-channel --add https://nixos.org/channels/nixos-18.03 nixos; sudo nixos-rebuild switch --upgrade`
<srid> vaibhavsagar: Do I remove the 'nixos-unstable' (labelled 'nixos') channel first?
<srid> `
<srid> (I think nixos-unstable is a snapshot of master, instead of 18.03 maint branch)
<vaibhavsagar> I think it might work without removing first, but to be sure you can certainly remove
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/vxGbP
<{^_^}> → 192f4144 by @Ericson2314: release-lib: Filter supportedSystems with `meta.platforms`-style patterns
<{^_^}> → b9a720c5 by @Ericson2314: Merge remote-tracking branch 'upstream/master' into fix-cross-jobs
<{^_^}> → 5bb50fb9 by @Ericson2314: Merge pull request #37397 from obsidiansystems/nixpkgs
<{^_^}> [nixpkgs] @Ericson2314 closed pull request #37397 → release-lib: Filter supportedSystems with `meta.platforms`-style patterns → https://git.io/vxGbv
genericum has quit [Quit: Mutter: www.mutterirc.com]
<srid> Running nixos-rebuild ... lots of activity ... I think they are downgrades.
<vaibhavsagar> srid: that seems reasonable, nixos-18.03 is behind nixos-unstable :)
shabius has joined #nixos
<srid> Oh, it is compiling a new minor version of kernel. (I do have linuxPackages_latest--for better graphics support)
tertle||eltret has quit [Quit: Connection closed for inactivity]
<justanotheruser> how can I make a mongodb instance start by configuring default.nix, when I run nix-shell in the directory containing default.nix?
n0qqe has joined #nixos
noqqe has quit [Ping timeout: 240 seconds]
n0qqe is now known as noqqe
<justanotheruser> or is there a better way of going about things? Maybe I should just start it through systemd and have it as a dep?
<vaibhavsagar> justanotheruser: look at shellHook
<justanotheruser> ok ty
<srid> 18k c++ source files to compile qt. i never had to do this probably because my company's nix cache builds stuff out of nixos-unstable.
kthnnlg has quit [Remote host closed the connection]
<vaibhavsagar> srid: I just remembered that there's some issue with qtwebengine right now
<srid> i wonder what else awaits me (i do have plasma5 desktop in configuration.nix)
<srid> vaibhavsagar: ah - should i cancel upgrade (i mean downgrade)?
<vaibhavsagar> by issue I mean that the build is failing on Hydra so it hasn't been built/cached
<vaibhavsagar> it might work for you
<vaibhavsagar> yes, I think that's the one
ottidmes has quit [Ping timeout: 240 seconds]
<vaibhavsagar> it's blocking my IHaskell upgrades so I'm sticking with an old revision of nixpkgs for now :)
<foldingcookie> "upgrading 'font-adobe-75dpi-1.0.3' to 'font-adobe-100dpi-1.0.3'" how would one explain to nix that this isn't a valid upgrade path
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37398 → lib: Make platform predicates greppable → https://git.io/vxGN7
shabius has quit [Remote host closed the connection]
<zie[m]> when I nix run nixpkgs.pkgconfig , I can't actually run pkg-config.. I just get an error saying install it.. nix-info and output: https://pastebin.com/kcjUQ68n
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37399 → lib: Messed up `or` operator precedence → https://git.io/vxGAW
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #37399 → lib: Messed up `or` operator precedence → https://git.io/vxGAW
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vxGAR
<{^_^}> → ec2aff0b by @Ericson2314: lib: Messed up `or` operator precedence
<{^_^}> → 18fa42d8 by @Ericson2314: Merge pull request #37399 from obsidiansystems/release-lib-typo
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux-copperhead: 4.15.10.a -> 4.15.11.a »: https://git.io/vxGAo
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux-copperhead: 4.15.10.a -> 4.15.11.a »: https://git.io/vxGA6
shabius has joined #nixos
nuncanada has quit [Quit: Leaving]
mbrgm has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #37398 → lib: Make platform predicates greppable → https://git.io/vxGN7
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vxGxl
<{^_^}> → 88c04a8b by @Ericson2314: lib: Make platform predicates greppable
<{^_^}> → 54321075 by @Ericson2314: Merge pull request #37398 from obsidiansystems/greppable
mbrgm has joined #nixos
ryanartecona has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #37400 → neovim-python: 0.2.3 -> 0.2.4 → https://git.io/vxGxi
orivej has joined #nixos
dylanjust[m] has joined #nixos
blonkhart has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
n0qqe has joined #nixos
noqqe has quit [Ping timeout: 256 seconds]
n0qqe is now known as noqqe
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37401 → treewide: isArm -> isAarch32 → https://git.io/vxGpV
<{^_^}> [nixpkgs] @badi opened pull request #37402 → unifi: 5.6.30 -> 5.6.36 → https://git.io/vxGpi
blonkhart has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #37403 → Apple SDK: bump to 10.12 → https://git.io/vxGhJ
kitemikaze1 has joined #nixos
kitemikaze has quit [Ping timeout: 240 seconds]
kitemikaze1 is now known as kitemikaze
FareTower has joined #nixos
muzzy has joined #nixos
Sonarpulse has quit [Ping timeout: 256 seconds]
MP2E has quit [Remote host closed the connection]
MP2E has joined #nixos
zearen has joined #nixos
<{^_^}> [nixpkgs] @Shados opened pull request #37404 → pythonPackages.neovim: 0.2.1 -> 0.2.4 → https://git.io/vxGjO
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5bbfe48355a (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @ryantm opened pull request #37405 → AgdaStdlib: 0.14 -> 0.15 → https://git.io/vxGj9
zearen has quit [Ping timeout: 240 seconds]
pxc has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @peterhoeg pushed to master « elisa: init at 0.0.20180320 »: https://git.io/vxZeD
<{^_^}> [nixpkgs] @ryantm opened pull request #37406 → apacheHttpd: 2.4.29 -> 2.4.32 → https://git.io/vxZey
Adluc has quit [Ping timeout: 246 seconds]
snajpa has quit [Ping timeout: 256 seconds]
maximiliantagher has joined #nixos
snajpa has joined #nixos
Adluc has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
hamishmack has quit [Ping timeout: 264 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
abathur has joined #nixos
hamishmack has joined #nixos
jrolfs has quit [Ping timeout: 256 seconds]
schoppenhauer has quit [Ping timeout: 246 seconds]
schoppenhauer has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
<{^_^}> [nixpkgs] @andir merged pull request #37313 → [17.09] firefox updates (59.0 -> 59.0.1, firefox-esr: 52.7.1esr -> 52.7.2esr) → https://git.io/vx3vb
<{^_^}> [nixpkgs] @andir pushed 5 commits to release-17.09: https://git.io/vxZfC
<{^_^}> → 30e84fac by @andir: rust121bin: 1.21.0 -> 1.24.0
<{^_^}> → 3b34504f by @taku0: firefox-bin: 59.0 -> 59.0.1
<{^_^}> → a8c8d062 by @taku0: firefox: 58.0.2 -> 59.0.1
<fearlessKim[m]> I get a similar error than yesterday but this time I don't have a core debug in my nixops folder. `server> copying path '/nix/store/9lharz6d9i2zp92zl6w4v7ifks15m775-qemu-2.11.1' to 'ssh://root@192.168.122.222'...
<fearlessKim[m]> client> warning: dumping very large path (> 256 MiB); this may run out of memory
<fearlessKim[m]> client> error: out of memory`. It happens only when I deploy with `environment.systemPackages = [ pkgs.qemu ];` (export GC_MAXIMUM_HEAP_SIZE=10G didn't help either).
<fearlessKim[m]> (trying to add qemu-agent to libvirtd nixops images)
<{^_^}> [nixpkgs] @ryantm opened pull request #37408 → bash-completion: 2.7 -> 2.8 → https://git.io/vxZfP
<{^_^}> [nixpkgs] @Shados closed pull request #37404 → pythonPackages.neovim: 0.2.1 -> 0.2.4 → https://git.io/vxGjO
<Myrl-saki> clever: I'm trying out the `runghc ./Setup`
<Myrl-saki> clever: Will report back soon.
clefru has quit [Ping timeout: 256 seconds]
<Myrl-saki> clever: I got it working, at least.
Lears has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #37402 → unifi: 5.6.30 -> 5.6.36 → https://git.io/vxGpi
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to release-18.03: https://git.io/vxZfN
<{^_^}> → 9553628c by @badi: unifi: 5.6.30 -> 5.6.36
<{^_^}> → 14cbca54 by @peterhoeg: Merge pull request #37402 from badi/unifi
<Myrl-saki> clever: I'm not sure about if the speed is better yet.
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b8b740808c8 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<Myrl-saki> clever: FWIW, Setup is ran ~6 times, so it might actually be worth it to compile.
<{^_^}> [nixpkgs] @ryantm opened pull request #37409 → commonsCompress: 1.8.1 -> 1.16.1 → https://git.io/vxZJg
orivej has quit [Ping timeout: 240 seconds]
badi has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7a5c7c18181 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<Myrl-saki> clever: I take that back.
<Myrl-saki> clever: `-j1 --cores 4` is working as fast as `-j4`, I think.
ma27 has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37410 → commonsIo: 2.4 -> 2.6 → https://git.io/vxZUe
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f597ebf36c0 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
Guanin has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7e39d256004 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
badi has joined #nixos
mounty_ has quit [Ping timeout: 246 seconds]
simukis has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37411 → copyq: 3.1.2 -> 3.3.0 → https://git.io/vxZU1
Guanin has joined #nixos
<Myrl-saki> Holy shit, ghc take an hour to build?
ma27 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/63e3251637d (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<dtz> at least! lol
<dtz> and then you use that to build the next version... ;) :P
<Myrl-saki> dtz: In bin we trust.
<{^_^}> [nixpkgs] @volth opened pull request #37412 → varnish4: init at 4.1.9; varnish6: init at 6.0.0 → https://git.io/vxZT4
<{^_^}> [nixpkgs] @ryantm opened pull request #37413 → criu: 3.7 -> 3.8 → https://git.io/vxZTB
eliaslfox has quit [Read error: Connection reset by peer]
eliaslfox has joined #nixos
reinzelmann has joined #nixos
<Myrl-saki> How do I pass do overrideAttrs on a callPackage?
ok2 has joined #nixos
<Myrl-saki> Like
<Myrl-saki> `(callPackage ./. {}).overrideAttrs { ... }`
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c2a0eeeb1ae (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<clacke[m]> Myrl-saki: Just pass the overrides you want in that second argument to callPackage.
<Myrl-saki> clacke[m]: It's overrideAttrs, you sure?
<clacke[m]> callPackage ./. { libiconv = mySpecialLibiconv; }
<clacke[m]> I'm not sure what you want to do.
<Myrl-saki> clacke[m]: Okay, background. Basically, I want to use `runhaskell ./Setup` rather than compiling Setup.hs
<Myrl-saki> clacke[m]: This causes a rebuild on GHC, which takes hours. I'm trying to avoid that rebuild.
<Myrl-saki> Basically, "use `runhaskell ./Setup` on packages, but not on GHC."
<Myrl-saki> In `generic-builder.nix`, that is `setupCommand = "runhaskell ./Setup";`
<clacke[m]> so then you would like to override setupCommand on each of the haskell packages you want to build?
<Myrl-saki> clacke[m]: On every possible haskell packages.
<Myrl-saki> Except for ghcjs.
<Myrl-saki> Err
<Myrl-saki> Except for ghc, and, well, ghcjs.
<Myrl-saki> Basically, except for the compilers.
<clacke[m]> and you can do that by overriding it in some central place, but that would affect haskell itself, so you want to pick that from the unmodified pkgs
<Myrl-saki> clacke[m]: What do you mean?
<clacke[m]> I'm just trying to understand what you are saying and what you are doing.
<clacke[m]> So I'm assuming you found some central place that you can poke so that all packages are affected.
<Myrl-saki> clacke[m]: Yep, which is the generic builder.
hamishmack has quit [Quit: hamishmack]
<clacke[m]> But then you want to put back the original unpoked things for ghc and ghcjs.
<Myrl-saki> clacke[m]: Right.
<clacke[m]> ok
<{^_^}> [nixpkgs] @ryantm opened pull request #37414 → deepin.deepin-gtk-theme: 17.10.5 -> 17.10.6 → https://git.io/vxZkT
rauno has joined #nixos
<Myrl-saki> I wonder if I can do some kind of introspection?
<Myrl-saki> "What package am I building" kind of thing.
<clacke[m]> Well sure, in your alternative setup you could do `setupCommand = if (builtins.elem name [ "packages" "I" "want" "unpatched"] ) ''original setup exactly'' else ''runhaskell ./Setup'';`
<clacke[m]> that `*should*` work
MichaelRaskin has left #nixos [#nixos]
<{^_^}> [nixpkgs] @Mic92 merged pull request #37358 → idrisPackages: add packages → https://git.io/vx3Fl
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vxZkB
<{^_^}> → cf65d477 by @brainrape: maintainers: add brainrape
<{^_^}> → 23ee7c9d by @brainrape: idrisPackages: add packages
<{^_^}> → 7bef35e6 by @Mic92: Merge pull request #37358 from brainrape/idrisPackages-update
<Myrl-saki> clacke[m]: True.
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e530ee1af5e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<Myrl-saki> # setupCommand = if builtins.match "ghc.*" pname then "./Setup" else "runhaskell ./Setup";
<Myrl-saki>
<Myrl-saki> clacke[m]: Okay, going well so far. :)
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clacke[m]> It didn't rebuild ghc?
<Myrl-saki> clacke[m]: Yep.
<srhb> Yes no it didn't? :-P
<clacke[m]> Depending on where that statement occurs, I wonder if pname is in scope.
<Myrl-saki> clacke[m]: It's the definition of mkDerivation.
<Myrl-saki> srhb: Yep! :P
<srhb> :P
iyzsong has joined #nixos
<clacke[m]> Maybe it's not patching anything. But you'll see. :-)
<clacke[m]> ah, ok, should be fine then
<Myrl-saki> brb.
<Myrl-saki> clacke[m]: oh shite. I just realized that ghc uses *stdenv.mkDerivation*
<Myrl-saki> Time to do some dependency tracking.
rauno has quit [Ping timeout: 240 seconds]
pie_ has quit [Ping timeout: 240 seconds]
<srhb> Well, then overriding the haskell mkDerivation shouldn't affect ghc at least.
<clacke[m]> yeah that sounds odd
<clacke[m]> shouldn't have been rebuilt in the first place, unless haskell itself depends on some packages that use that patched mkDerivation
<clacke[m]> is there some bootstrap step and a haskell-minimal or something like that?
kerrhau has quit [Ping timeout: 264 seconds]
endformationage has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed to master « riemann-c-client: 1.9.1 -> 1.10.2 »: https://git.io/vxZIR
<srhb> How do I get logs for a build I just did with Nix 2.0? It appears to attempt to download them, and they're not available (of course, since I modified the package.)
<Myrl-saki> Back.
<Myrl-saki> clacke[m]: srhb: I'm guessing ghcjs indirectly relies on a haskell package.
Lears has joined #nixos
rauno has joined #nixos
<Myrl-saki> s/ghcjs/ghc/
<fearlessKim[m]> I don't get the "out of memory file" ? isn't is possible to copy files in chunks to stay wuthin memory bounds ?
<Myrl-saki> I think it's hscolour.
<Myrl-saki> clacke[m]: srhb: I was right. :)
<srhb> woo :)
<Myrl-saki> srhb: clacke[m]: setupCommand = if builtins.match "(ghc|hscolour).*" pname != null then "./Setup" else "runhaskell ./Setup";
<Myrl-saki> Hopefully that will improve build times.
<srhb> Why would it?
<Myrl-saki> srhb: Linking ./Setup takes like, 5-10 seconds.
<srhb> Oh.
<srhb> Surprising.
* Myrl-saki finger cross
<Myrl-saki> ...I don't know how to subject-verb-object.
<Myrl-saki> FWIW, it does seem faster. :)
<Myrl-saki> Now, the main problem is with ghcjs.
<Myrl-saki> > /nix/store/iad7lb226as1v8amgj0g9axg4fz9qc2j-ghcjs-2b3759942fb5b2fc1a58d314d9b098d4622fa6b6-src
<Myrl-saki> I hope that's not doing what I think it will be doing.
jtojnar has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
<Myrl-saki> • the Cabal version changed from Cabal-1.24.2.0 to Cabal-2.0.1.1
<Myrl-saki> weeeelllllll
_null_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37415 → digikam: 5.8.0 -> 5.9.0 → https://git.io/vxZLB
tA63 has joined #nixos
<tA63> Howdy
<tA63> I'm trying to run a script that how references to /bin/rm and other programs, whats the correct way to go about changing this to run in NixOS?
<Myrl-saki> gdi, I'm pretty sure I know what happened.
<srhb> tA63: Substitute them all with actual nix store paths
<Myrl-saki> Yep, I'm pretty sure I know now.
<tA63> If I was building a pkg, how do I go about getting the store path on a system?
pie_ has joined #nixos
<Myrl-saki> srhb: clacke[m]: I have a feeling I know why Setup.hs is compiled now.
<srhb> tA63: Usually it's all just strings. So eg. "${coreutils}/bin/rm" is the store path for rm
<tA63> Ahh cool, thanks
<srhb> tA63: Yeah, it would be pain and horror if packages didn't toString to their store paths like that :-)
<Myrl-saki> srhb: clacke[m]: runhaskell will use the Cabal version that your ghc is built with, I think.
<tA63> Slowly learning things haha, still gotta get home-manager set up nicely
MercurialAlchemi has quit [Ping timeout: 268 seconds]
MercurialAlchemi has joined #nixos
ashgillman has joined #nixos
<srhb> tA63: For instance, I have this in my home-manager: systemd.user.services.setxkbmap.Service.ExecStart = "${pkgs.xorg.xkbcomp}/bin/xkbcomp -merge $HOME/.xkb/base.xkb $DISPLAY";
<srhb> tA63: (Which will automatically make xorg.xkbcomp a dependency of that systemd unit)
rauno has joined #nixos
<srhb> I should nixify base.xkb too of course.
<tA63> Ahh neat
<tA63> Ok so I think I'm doing something dumb. But if I have a shell script to install something, first thing I want to do is replace all he hardlinked things with where they are in nix right? I still havent found the path to my rm in actuality, I tried to evaluate ${coreutils}/bin/rm and it was blank
<Myrl-saki> What other uses do you guys think Nix can have?
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/721839aac62 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/14cbca54dad (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
tA63 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxZtl
<{^_^}> → d6d140f1 by @joelthompson: hologram: 2017-01-30 -> 2018-03-19
<{^_^}> → fe2e4d6f by @joelthompson: hologram: Enable configuring LDAP authorization
rauno has quit [Remote host closed the connection]
<fearlessKim[m]> any reason why multiple swap definitions can't be merged together ? `The unique option `swapDevices.[definition 1-entry 1].device' is defined multiple times, in `/home/teto/dotfiles/nixpkgs/configuration.nix' and `/home/teto/nixpkgs/nixos/modules/config/swap.nix'`
<{^_^}> [nixpkgs] @peti merged pull request #37408 → bash-completion: 2.7 -> 2.8 → https://git.io/vxZfP
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vxZtR
<{^_^}> → 2ebf7257 by @ryantm: bash-completion: 2.7 -> 2.8
<{^_^}> → d10666c2 by @peti: Merge pull request #37408 from ryantm/auto-update/bash-completion
<srhb> Hmm, can I specify the number of build jobs on the command line when I nix build --builders ssh://somehost ?
xAFFE has joined #nixos
<{^_^}> [nixpkgs] @Mic92 closed pull request #37393 → hologram: 20170130 -> 20180319 → https://git.io/vxGwS
FareTower has quit [Ping timeout: 264 seconds]
tA63 has joined #nixos
<tA63> Sorry I DCed for a bit there
robstr has joined #nixos
<srhb> tA63: Are you sure you have pkgs scoped there?
<srhb> Do you get no error, just an empty string?
<srhb> We might want to see your nix expression :)
<tA63> Just an empty string yeah
<tA63> nix-instantiate --eval --expr "${coreutils}/bin/rm"
eliaslfox has quit [Read error: Connection reset by peer]
zzamboni has joined #nixos
<fearlessKim[m]> nixpkgs doesn't like to have both the label and the device set for a swap :'( removing label works.
<srhb> tA63: nix-instantiate --eval --expr 'with import <nixpkgs> {}; "${coreutils}/bin/rm"'
<srhb> tA63: Your shell is expanding that ${coreutils}, not nix
FareTower has joined #nixos
testuser has joined #nixos
<srhb> You shouldn't be hardcoding any of these store paths though!
<srhb> Your actual derivation should do the substitutions.
<tA63> Yeah I'm just playing around on my own system first before I do a pkg
<srhb> Ah ok :) Just making sure.
<{^_^}> [nixpkgs] @Mic92 merged pull request #37414 → deepin.deepin-gtk-theme: 17.10.5 -> 17.10.6 → https://git.io/vxZkT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxZqY
<{^_^}> → f05d4b81 by @ryantm: deepin.deepin-gtk-theme: 17.10.5 -> 17.10.6
<{^_^}> → 0be7fe7b by @Mic92: Merge pull request #37414 from ryantm/auto-update/deepin-gtk-theme
<{^_^}> [nixpkgs] @ryantm opened pull request #37416 → enlightenment.efl: 1.20.6 -> 1.20.7 → https://git.io/vxZqs
<tA63> Nix is hard :( One day I'll get there haha
<srhb> The language is actually pretty simple! You'll get the hang of it :)
<Myrl-saki> Nix is a fucking awesome build tool.
<srhb> Myrl-saki: I'll only admit this once there's proper incremental builds. :-P
<srhb> But it's a great package manager!
<Myrl-saki> srhb: Incremental building, in the sense of?
<{^_^}> [nixpkgs] @Mic92 merged pull request #37412 → varnish4: init at 4.1.9; varnish6: init at 6.0.0 → https://git.io/vxZT4
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxZqS
<{^_^}> → 002b4608 by @volth: varnish4: init at 4.1.9; varnish6: init at 6.0.0
<Myrl-saki> srhb: Like, not rebuilding the whole tree?
<{^_^}> → 35eddf5e by @Mic92: Merge pull request #37412 from volth/varnish456
<srhb> Myrl-saki: intra-package reuse :)
<Myrl-saki> srhb: Oh, true.
<tA63> My problem is I'm trying to get a game working I think :P I'm getting there ok in other areas
<Myrl-saki> srhb: I don't think that's a design goal though, I believe?
<srhb> Myrl-saki: I don't think there's a canonical list of design goals.
<Myrl-saki> srhb: True.
<{^_^}> [nixpkgs] @volth closed pull request #36390 → check-varnish-syntax: make error visible → https://git.io/vAdyV
<srhb> Myrl-saki: But if you check out the nixcon 2017 talks, there's some on the subject :)
<srhb> Myrl-saki: Also the tweag.io Nix/Bazel Haskell stuff looks really interesting, but I didn't dive in much yet.
mudri has joined #nixos
<tA63> Sorry for all the newbie questions, but whenever I get a script to run, I end up with a line saying a certain file doesnt exist, but it definitely exists at that path
<{^_^}> [nixpkgs] @ryantm opened pull request #37418 → electron: 1.8.2 -> 1.8.4 → https://git.io/vxZm0
<tA63> This is a file outside of the nix store, like somethig in a subdirectory
maximiliantagher has joined #nixos
ixxie has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
ashgillman has quit [Ping timeout: 256 seconds]
ashgillman has joined #nixos
MP2E has quit [Remote host closed the connection]
maximiliantagher has quit [Ping timeout: 264 seconds]
<srhb> tA63: Don't be sorry :)
<srhb> tA63: We need more details though
<tA63> Turns out for that I forgot to patch the executable
<{^_^}> [nixpkgs] @ryantm opened pull request #37419 → electron-cash: 3.1.2 -> 3.1.6 → https://git.io/vxZY0
jensens has joined #nixos
rauno has joined #nixos
seanparsons has quit [Quit: ZNC 1.6.5 - http://znc.in]
<{^_^}> [nixpkgs] @vbgl opened pull request #37420 → gnumeric: 1.12.38 -> 1.12.39; goffice: 0.10.38 -> 0.10.39 → https://git.io/vxZYP
seanparsons has joined #nixos
davidlt_ has joined #nixos
<Myrl-saki> srhb: TIL. Thanks,.
davidlt has quit [Ping timeout: 240 seconds]
Tucky has joined #nixos
pie_ has quit [Ping timeout: 265 seconds]
thc202 has joined #nixos
zzamboni has quit [Quit: Leaving.]
vdemeester` has quit [Ping timeout: 256 seconds]
pcarrier has quit [Ping timeout: 256 seconds]
bkolera has quit [Ping timeout: 256 seconds]
terrorjack has quit [Ping timeout: 256 seconds]
scott has quit [Ping timeout: 256 seconds]
nand0p has quit [Ping timeout: 256 seconds]
ocharles has quit [Ping timeout: 256 seconds]
bkolera has joined #nixos
vdemeester` has joined #nixos
nand0p has joined #nixos
scott has joined #nixos
pcarrier has joined #nixos
ocharles has joined #nixos
terrorjack has joined #nixos
vdemeester` has quit [Changing host]
vdemeester` has joined #nixos
<tA63> Wanting to give up and head back to Arch is normal right?
<srhb> tA63: Sort of, but squashing that feeling builds character. :-)
<{^_^}> [nixpkgs] @ryantm opened pull request #37421 → enlightenment.enlightenment: 0.22.1 -> 0.22.2 → https://git.io/vxZOO
<tA63> I'm trying haha
<joepie91> tA63: my general advice is that you should expect to spend a few weeks upfront learning how everything works in NixOS (/ Nix), essentially relearning Linux... but once you have, it's worth it :P
<joepie91> it can be pretty frustrating at first because nothing works quite how you expect it to
<tA63> Yeah I figured that'd be how it goes
dvim has joined #nixos
<joepie91> and like, there's good reasons /why/ it doesn't work how you expect it to, but the mismatch is still there :P
<etu[m]> tA63: It's perfectly normal to want to back out of Nix, I wanted to but then I learned things and started contributing instead :D
winem_ has joined #nixos
roberth has joined #nixos
civodul has joined #nixos
winem_ has quit [Remote host closed the connection]
testuser has quit [Quit: Leaving]
vidbina has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #37367 → enlightenment: 0.22.1 -> 0.22.2 → https://git.io/vxsty
<{^_^}> [nixpkgs] @vbgl pushed commit from @romildo to master « enlightenment: 0.22.1 -> 0.22.2 »: https://git.io/vxZOH
<{^_^}> [nixpkgs] @Mic92 closed pull request #37421 → enlightenment.enlightenment: 0.22.1 -> 0.22.2 → https://git.io/vxZOO
zzamboni has joined #nixos
<srhb> Anyone up for some psychic debugging? I have a derivation (which I cannot share) that, when I build it using nix-shell and genericBuild, setting out to somewhere in tmp, has certain files in its /tmp/foo/sbin folder. When I build it using nix-build, the store path does not contain these files. Any pointers?
<{^_^}> [nixpkgs] @ryantm opened pull request #37422 → eventstore: 4.0.3 -> 4.1.0 → https://git.io/vxZOx
<srhb> It's maddening. No idea where they're getting lost :-)
zzamboni has quit [Remote host closed the connection]
<joepie91> srhb: hardcoded /tmp path rather than relative to buildroot?
<joepie91> ie. if you build to a store path it's still dumped in /tmp/foo/sbin
<manveru> srhb: i usually solve such issues with copious amounts of `tree` and coffee...
zzamboni has joined #nixos
<manveru> in practice, it must be somewhere in $src or $out if you're using sandboxed builds
<srhb> joepie91: Interesting idea, thanks, I'll investigate
<manveru> just depends on the step
<srhb> manveru: I am. I guess I could try turning that off and see if it makes a difference.
<srhb> I suppose the shell might also not be sufficiently pure despite --pure, subtly altering the build.
<manveru> yeah... it's not pure since it still loads our rc files
<srhb> The build has a 20 minutes turnaround time, so I might just need something stronger than coffee...
zzamboni has quit [Ping timeout: 255 seconds]
asuryawanshi has joined #nixos
zzamboni has joined #nixos
NinjaTrappeur has quit [Quit: WeeChat 2.0.1]
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
<fearlessKim[m]> trying to create a swap on /dev/fucking_swap`fallocate: fallocate failed: No space left on device`, it's because /dev is full:`devtmpfs 396M 396M 0 100% /dev` . Does nix do sthg to set the maximum size of /dev ?
<{^_^}> [nixpkgs] @ryantm opened pull request #37423 → fdk_aac: 0.1.5 -> 0.1.6 → https://git.io/vxZ3A
zzamboni has quit [Client Quit]
<fearlessKim[m]> nevermind a grep in nixpkgs gives `"/dev" = { fsType = "devtmpfs"; options = [ "nosuid" "strictatime" "mode=755" "size=${config.boot.devSize}" ]; }`
NinjaTrappeur has joined #nixos
zzamboni has joined #nixos
katona has joined #nixos
FareTower has quit [Ping timeout: 245 seconds]
<clacke[m]> tA63: My advice is not to run smack into NixOS but start with Nix on a system that works for you and that you understand.
zzamboni has quit [Client Quit]
<clacke[m]> Making your computer work while figuring out Nix is a bit much to ask.
<TimePath> +1 to that, I migrated to nixos by setting up a VM how I like it before committing
spear2 has joined #nixos
<katona> Hi, why does hydra trunk have so many failing jobs for quite some days now?
<joepie91> katona: it recently had its hardware upgraded, not sure if that may have a shared cause
zzamboni has joined #nixos
<joepie91> (yesterday, iirc)
<katona> joepie91: Oh I see. (That's why there was a server error :O)
paraseba has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<katona> But I think the 12000+ failed jobs have been going on for at least five days I think and I can't NixOS rebuild into it with a pretty minimal config even though I really liked testing bleeding edge apps :/
<{^_^}> [nixpkgs] @clefru opened pull request #37424 → spl/zfs: 0.7.6 -> 0.7.7 → https://git.io/vxZs7
<joepie91> unsure, then
hamishmack has joined #nixos
ottidmes has joined #nixos
<symphorien> katona: you can still install one specific bleeding edge app for your system and build only it and its dependencies
<symphorien> if this is your use case
clefru has joined #nixos
paraseba has joined #nixos
<katona> symphorien: thanks, I composed that sentence badly, I meant to test the whole nixpkgs repo near master.
vidbina has quit [Ping timeout: 256 seconds]
tA63 has quit [Remote host closed the connection]
jetien has joined #nixos
<infinisil> How do i build something hydra did myself? E.g. https://hydra.nixos.org/build/71517583#tabs-details
<LnL> there's a reproduce locally link
<infinisil> Ohhh, kinda hidden though
<infinisil> In the actions dropdown, as the only action..
<jetien> Hi! How can you set nixpkgs to a fixed release? I couldn't find anything in the manuals
<LnL> there used to be more options I think
<LnL> there's also more if you have an account
<infinisil> Umm, what if i don't want to fetch all of nixpkgs..
<infinisil> I'll just run its nix-build directly
<infinisil> On my own checkout
<{^_^}> [nixpkgs] @ryantm opened pull request #37425 → gnustep.back: 0.25.0 -> 0.26.2 → https://git.io/vxZZ6
<srhb> Oh wow... Kubernetes moved the 1.9.4 tag on github a week ago.
<srhb> Why would anyone do that. x_x
<etu[m]> That kind of behavior is just nuts :(
<srhb> fixed output drvs certainly exposes a lot of bad behaviour upstream...
<clefru> srhb: Google was always poor at offering download paths that didn't have changing checksums
sigmundv has joined #nixos
<etu[m]> Sometimes I think it would be good to have a mirror for code... But all that storage...
<srhb> etu[m]: We do!
__Sander__ has joined #nixos
<srhb> tarballs.nixos.org
<srhb> For some things at least :-)
<etu[m]> srhb: Where? And not for all the packages no?
mr_sm1th has quit [Remote host closed the connection]
mr_sm1th has joined #nixos
<etu[m]> I see, cool. Sometimes it would be great if upstream sources didn't break :p
<srhb> etu[m]: I suppose a lot is also just cached by cache.nixos.org
<foldingcookie> isn't that also a perfect use case for ipfs/dat/whatever
<srhb> foldingcookie: Yes.
<etu[m]> foldingcookie: Yeah, it would be :)
<srhb> But we're essentially emulating that. The problem at hand is that we cannot unambiguously discuss the upstream version anymore.
<srhb> So it would only be solved by upstream using ipfs/whatever
Synthetica has joined #nixos
<etu[m]> commitId's ftw or something....
<srhb> Nothing's stopping them from rewriting that as well.
<srhb> It's just... grrr! :-)
<{^_^}> [nixpkgs] @dotlambda merged pull request #37400 → neovim-python: 0.2.3 -> 0.2.4 → https://git.io/vxGxi
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxZnG
<{^_^}> → 366c79e1 by @teto: pythonPackages.neovim: 0.2.3 -> 0.2.4
<{^_^}> → b41c299e by @dotlambda: Merge pull request #37400 from teto/neovim_python
<etu[m]> srhb: That I know... I just hope that's more unlikely...
<etu[m]> But since it's possible it will happen.
<srhb> Indeed. :P
<joepie91> foldingcookie: srhb: etu[m]: obligatory warning that IPFS does _not_ magically persist data, it is a distribution mechanism, not a storage mechanism
Neo-- has joined #nixos
<infinisil> joepie91: Filecoin something something
<joepie91> this doesn't mean that it can't be useful, but too many people have the expectation that you drop data on it and it'll magically keep existing
<joepie91> yes, as far as I'm aware Filecoin is just as broken as every other proof-of-storage system
<srhb> joepie91: It solves nothing in either case. The issue is that upstream isn't actually promising not to rewrite history :-P
<infinisil> joepie91: It doesn't even exist yet? How can it be already broken? And how are others broken?
<joepie91> infinisil: because the theory underlying it can't work, or at least I've not seen anybody plausibly prove that it can
<joepie91> infinisil: the problem is that nobody has figured out how to reliably prove third-party storage without keeping a copy yourself
<etu[m]> Blockchain for sourcecode-releases :p
<joepie91> infinisil: lots of people *claim* that they have, but have then overlooked certain threat models, either intentionally or accidentally
<joepie91> it's a super hard problem to solve
<{^_^}> [nixpkgs] @asppsa opened pull request #37427 → emscripten/binaryen: make binaryen track the current emscripten version → https://git.io/vxZng
<joepie91> therefore anything that's based on the premise of "prove that a third party stored this data", cannot work
<joepie91> until that problem is solved
<{^_^}> [nixpkgs] @ryantm opened pull request #37428 → gnustep.base: 1.24.9 -> 1.25.1 → https://git.io/vxZnr
<infinisil> joepie91: I mean they won't be able to prove 100% that your data will always be available (as long as you pay), but I imagine it's only a percentage, e.g. you pay about $0.001/hour for 99% availability, $0.005/hour for 99.9%, etc.
<infinisil> That's how i think it's gonna work
<joepie91> infinisil: but you can't prove that either.
<infinisil> The more you pay the more nodes will store your data
<joepie91> like, it's not a percentage thing
<joepie91> it's an "everybody's model fails in these particular attack scenarios that can be executed an arbitrary amount of times" thing
<infinisil> Yeah it's all probabilistic of course, the network should just distribute it as good as possible
<joepie91> hence, it's an X% chance of 100% data loss, not a 100% chance of X% data loss
<joepie91> which is what makes it functionally useless
<etu[m]> But if a client say it store something but actually doesn't, nobody can prove that that client actually don't store it until you try to fetch that data from that client.
<srhb> Proposed tagline: Store your data maybe for cheap, probably.
<infinisil> joepie91: Why would you lose all data?
<joepie91> srhb: sounds about right :)
<etu[m]> :D
<joepie91> infinisil: because you have absolutely no way to verify that *anybody* is storing your data, reliably.
<infinisil> joepie91: you don't? You can just ask ipfs for the nodes that store a certain hash
Neo-- has quit [Ping timeout: 256 seconds]
<lejonet> infinisil: I think what joepie91 is saying that even tho nodes can claim that they store a certain hash, you can't prove it
<infinisil> and chances are nobody knows which data belongs to whom
<etu[m]> joepie91: If you try to read out your data, and know what data to expect (by hash and size or something), and you can successfully read your data. Then *someone* is storing it.
<joepie91> infinisil: you're misunderstanding the problem
<lejonet> Unless you fetch the data and can verify that the data you fetched is what it supposed to be, which implies a locally cached copy or so
<joepie91> etu[m]: yes, and "fetch the entirety of the data every time you want to check" is prohibitively expensive for any kind of automated 'storage assurance' mechanism
nD5Xjz has quit [Quit: ZNC 1.6.5 - http://znc.in]
nD5Xjz has joined #nixos
<etu[m]> yeah, of course
<infinisil> Everytime nodes share data through IPFS, it gets verified that it's actually there, because it needs to have the correct hash on the receiver to be accepted
<joepie91> especially because it provides no guarantees beyond the instant you've fetched the data
<etu[m]> But it's the only way to be sure
<joepie91> infinisil: you're confusing integrity and availability
<joepie91> IPFS guarantees integrity, not availability
<infinisil> Yeah, but
<joepie91> etu[m]: and that's the problem :)
<etu[m]> Integrity would be nice for upstream sources though
<etu[m]> :D
<joepie91> sure, but it's only useful if there's also some degree of availability
<joepie91> so like
<joepie91> you can have a dedicated system for seeding this stuff
<joepie91> but at that point the question is what IPFS is really adding to the mix, if you're trusting that system anyway
<joepie91> possibly a performance optimization, that *could* help, but at that point it's neither integrity nor availability you're solving
<infinisil> I can imagine filecoin working by it constantly shuffling around, distributing the data on nodes, so transfer keeps happening -> hash is checked, if it's correct the data has to be there
<joepie91> infinisil: constantly shuffling the data around is, like previously mentioned, prohibitively expensive
nD5Xjz has quit [Client Quit]
<srhb> It's a completely nonsensical system. You can, at best, verify at any given time that your data is there, iff your have the data too.
nD5Xjz has joined #nixos
<srhb> !FUN!
<joepie91> infinisil: it essentially means you're paying an ongoing (and significant!) traffic cost for data at rest
<lejonet> srhb: can't have the cookie and eat it too ;)
<joepie91> infinisil: and that traffic cost is directly proportional to how quickly you want to be aware of data having disappeared
<joepie91> (in the best-case scenario, that is)
nD5Xjz has quit [Client Quit]
<joepie91> this also doesn't address proxy attacks, where it's possible that only a single node actually stores your data and all the other nodes are just getting the data *from* that single node and serving it up to you as if they had a copy
<srhb> lejonet: :'(
<joepie91> and unless you solve that problem, you have no guarantee that your availability is actually >1, even *if* you verify availability by constantly retrieving data
<lejonet> srhb: That is the problem hashes mainly try to solve, but then you get into the territory of "How hard is it with collisions?", hashing methodology (how much of the file is hashed, does it include metadata etc etc) and such hard problems :(
<joepie91> which means that the moment it fails a single availability check, all your data could already be irrevocably gone without any chance of recovery or replication
<joepie91> tl;dr proof of storage is a currently unsolved problem
<joepie91> (within the constraint of 'must not require a local copy', that is)
<lejonet> joepie91: its solved with pifs ;) </sarcasm>
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-18.03: https://git.io/vxZcu
<{^_^}> → 8d24d4fa by @FRidh: python: neovim: 0.2.1 -> 0.2.3
<{^_^}> → 8337d1dd by @teto: pythonPackages.neovim: 0.2.3 -> 0.2.4
<joepie91> lejonet: you joke, but... :(
<lejonet> srhb: and I just realized I've forgotten to file that PR to fix your issue, sorry!
<lejonet> joepie91: :P
dan_b has joined #nixos
<srhb> lejonet: Don't worry about it! I have a number of outstanding issues with it that I haven't had time to even look at yet.
<joepie91> lejonet: like, I have run into *way* too many people who would genuinely claim "but project X has solved that!", being unable to explain exactly how they did, and basically just deferring to "well they said they did, so clearly you are wrong"
<srhb> lejonet: (For instance, the mgr assertion becomes an issue if you have an osd-only node, which seems rather unfortunate)
<joepie91> lejonet: (incidentally, such project-X-es are almost inevitably scummy ICO type deals)
Khetzal has quit [Remote host closed the connection]
<lejonet> srhb: yeah, the mgr assertion should only be done for mon nodes, even tho its not a hard requirement, it maybe should even be removed
<lejonet> joepie91: know exactly what you mean there :/
<srhb> lejonet: I think it should, but yeah. Anyway I'll probably get back to you once I actually have some time to contribute rather than just flail my arms :-P
<lejonet> srhb: its just highly recommended that each node that has 1 or more mon's should have 1 mgr too
<lejonet> srhb: :P I'll gladly take your input ^^
<joepie91> incidentally
<joepie91> [10:54] <etu[m]> Blockchain for sourcecode-releases :p
<joepie91> you may be looking for an append-only ledger
<joepie91> sec
<srhb> lejonet: I also think I found the issue with ceph-volume, if you didn't. Apparently it's just disabled entirely since the site-packages in $out isn't on PYTHONPATH during the build
<{^_^}> [nixpkgs] @ryantm opened pull request #37429 → google-authenticator: 1.03 -> 1.05 → https://git.io/vxZch
<srhb> lejonet: Which means it'll just disable with some blob of text in the middle of the build :-P
nD5Xjz has quit [Quit: ZNC 1.6.5 - http://znc.in]
<infinisil> joepie91: Well we don't know what comes out of Filecoin yet, they're still developing it after all, and i don't think they're just spinning thumbs doing no research
<srhb> (But continue!)
<srhb> lejonet: Super sensible behaviour.
nD5Xjz has joined #nixos
<joepie91> etu[m]: (Chronicle is an append-only ledger)
<lejonet> srhb: I actually haven't looked at that part yet :)
<srhb> Consider it a hint :-)
<joepie91> infinisil: I'm sure, but that means I treat it like any other research project - it hasn't solved anything until it has, and until then it's speculative and may or may not succeed, and therefore it's not worth considering in a practical current-day context when trying to solve a problem
<lejonet> My guess is you need to add some cmake flag for it to be built or so, similar to cephfs
<srhb> lejonet: No, it builds by default.
<joepie91> infinisil: which means that for all practical purposes and intents, IPFS does not in any way ensure availability :)
<lejonet> srhb: oh, interesting
<lejonet> srhb: so the build "only" has to be told how to find its own modules (rados.so and friends) for it to be built then?
<srhb> lejonet: It just warns you that it doesn't anyway if the PYTHONPATH does not contain $out/.../site-...
<srhb> lejonet: I think so.
kiloreux has joined #nixos
<lejonet> srhb: I'll add that to my notes file directly so I don't forget it when I actually come around to looking at it
<srhb> :-)
<infinisil> joepie91: Yeah, but considering they got so much budget I can imagine them having much more people power than any previous project. Doesn't guarantee success, but the chances are higher. I have my hopes up
Khetzal has joined #nixos
nD5Xjz has quit [Client Quit]
<joepie91> infinisil: budget is totally irrelevant to me, frankly; right now this looks like an unsolvable problem, so unless the contrary is shown I'm not considering them for practical purposes
<joepie91> a massive amount of time and money has already been thrown at this topic with no real results
<joepie91> by many parties
<joepie91> that doesn't mean it's inherently _impossible_, but I'm not optimistic :)
<infinisil> joepie91: I only believe it to be unsolvable if you show me a proof of it with clean assumptions and axioms too :)
<joepie91> emphasis: looks like :)
emilis has joined #nixos
<infinisil> But generally the speed of progress is proportional to money thrown at it
<infinisil> more or less
nD5Xjz has joined #nixos
<joepie91> even if that were true (and I'm not at all convinced that it is), it doesn't really matter if the end result is still a negligible chance of success multiplied by a large amount to still be negligible
<joepie91> infinisil: and if you just consider the sheer amount of blockchain-y hype projects that are currently alive, thousands of them, "show me a proof that it's unsolvable" becomes an unreasonable proposition for anybody for whom this isn't a full-time job
<joepie91> so I'm going to apply heuristics, and knowledge of the field, and come to the conclusion that it's not worth paying attention to any proof-of-storage project until they actually show that they can mitigate the known attacks :)
alex`` has quit [Quit: WeeChat 2.0.1]
<infinisil> Yeah, I'm just gonna see what Filecoin provides once it's out
<infinisil> A lot of things previously thought to be "impossible" have become possible with the right ideas
<joepie91> honestly, I feel like "once it's out" is a problematic baseline here in the first place
<joepie91> it's not some kind of known or understood problem and solution that just needs time to implement and release
<joepie91> it's a speculative research endeavour that may fail or succeed
<joepie91> it doesn't so much "come out" as it "produces a result"
<ottidmes> weird, I am getting "warning: ignoring untrusted substituter 'ssh-ng://nix-ssh@server'", while it is in "trusted-substituters = ssh-ng://nix-ssh@server https://cache.nixos.org" and if I check what will be fetched, it contains a path that is only on that substituter. If I actually continue to run it, it however fails with "error: unexpected end-of-file", with no relevant stuff in the journal of either machine
<joepie91> there is a very good chance that there will never be a production-ready filecoin release
<lejonet> Shun the non-believers!
<katona> Does anyone have trouble with plasma 5 on NixOS 18.03? For some reason there is no keyboard shortcut set for changing windows and if I set alt-Tab it won't save it. I could likely change it from command line, haven't tried it yet but still it's on 18.03 not unstable.. Do I have something strange in my configs (although I removed most of my config files)?
<jetien> Sorry for asking again, but how do you pin nixpkgs to a fixed version? Is there any documentation for that?
<srhb> What is this -ng thing?
<srhb> jetien: I believe there's a wiki article on the subject
* joepie91 stops clogging the channel with blockchainy stuff
<lejonet> joepie91: ^^
<ottidmes> srhb: next-gen ssh protocol, uses nix-daemon --stdio instead of nix-store --serve
<srhb> jetien: What are you trying to pin nixpkgs for exactly? A NixOS system?
<srhb> ottidmes: Ah.
dan_b has quit [Remote host closed the connection]
<ottidmes> srhb: My issue happens with ssh just the same, unfortunately
<infinisil> joepie91: Yeah, i meant it more as a once we know more about how they're trying to solve it
mudri has quit [Ping timeout: 264 seconds]
<joepie91> infinisil: any continuing discussion about this should probably go to #nixos-chat :)
alex`` has joined #nixos
<katona> jetien: You can clone the GitHub repo and set NIX_PATH variable to "nixpkgs=locationOfGitRepo"
<srhb> In Nix 2.0 I assume you can just pkgs ? builtins.fetchGit { thatrevision... }
<srhb> Which is awesome.
<kiloreux> Assuming I have binaries inside tar.gz and just want to copy them to a specific location and treat them as nix package with no compiling or anything. How can I do that ?
<{^_^}> [nixpkgs] @ryantm opened pull request #37430 → gnustep.gorm: 1.2.22 -> 1.2.23 → https://git.io/vxZWz
<srhb> kiloreux: The same way, actually.
<symphorien> buildPhase = ":"; installPhase = "mv * $out";
<srhb> ^
robstr has quit [Quit: WeeChat 1.9.1]
<jetien> katona: thanks. i saw that somewhere, too. i assumed it's outdated because my $NIX_PATH just contains a plain path. also there is a manifest.nix file
<kiloreux> and I will be using fetchUrl regularly I assume ?
robstr has joined #nixos
<srhb> kiloreux: Yup.
<symphorien> but be aware that non-nix build binaries won't work on nixos, proabaly
pie_ has joined #nixos
<kiloreux> it's specific for linux. And same architecture also.
<srhb> That doesn't help
<srhb> We don't have /lib/
<symphorien> if they are build with the glibc, you lose
<kiloreux> Which they are :(
<ottidmes> kiloreux: You will need to use makeWrapper or patchelf to fix them
<srhb> Using patchelf is pretty easy :)
<etu[m]> steam-run could probably help
<srhb> etu[m]: hissss
<srhb> :)
<symphorien> kiloreux: read this for details https://nixos.wiki/wiki/Packaging/Binaries
<etu[m]> or patchelf
jetien has quit [Quit: Leaving.]
<etu[m]> srhb: But if a person don't want to make a package, just want to run something. It can ;)
<srhb> etu[m]: Yes, sorry. :P
<kiloreux> Thank you. What if I want to use older libraries to compile an old package ?
<symphorien> kiloreux: grepping nixpkgs for "similar" packages may help as well
<etu[m]> srhb: I agree that patchelf is nicer in every way :)
<kiloreux> Well the full story is that we need to have support for an older version of ffmpeg.
<kiloreux> So current nix one is not an option.
<symphorien> kiloreux: the quick way is to checkout an old nixpkgs, use the ffmpeg of the olf nixpkgs with the new compiler and hope
<srhb> kiloreux: oldnixpkgs = pkgs.fetchFromGitHub { ... thatrevision of nixpkgs that has older ffmpeg }... oldnixpkgs.mkDerivation ...
<symphorien> or use the old nixpgks all the way
joelpet has quit [Ping timeout: 240 seconds]
<kiloreux> I can't have multiple version of nix running can I ?
patrl has joined #nixos
ashgillman has quit [Ping timeout: 264 seconds]
<srhb> Yes.
<symphorien> nix of nixpkgs ?
<srhb> Assuming you mean nixpkgs
<srhb> nix-daemon, probably not
<srhb> (Which is the closest interpretation of "running Nix" I can find)
patrl has quit [Client Quit]
ashgillman has joined #nixos
<kiloreux> Well I mostly meant nix binaries. But I am very interested in a this example oldnixpkgs = pkgs.fetchFromGitHub { ... thatrevision of nixpkgs that has older ffmpeg }... oldnixpkgs.mkDerivation ...
<srhb> kiloreux: For the purpose of building and installing packages, you can mix and match basically as much as you like.
<srhb> kiloreux: You won't need it in this case, but yes, nix 1.11 and nix 2.0 can coexist at least some of the way.
<srhb> But the usual case would be to use the newest nix to build any version of nixpkgs, really.
<symphorien> nix2 can still evaluate prettyy old nixpkgs
<srhb> kiloreux: Just fill in the blanks and that becomes a working example with oldnixpkgs.ffmpeg etc.
<srhb> kiloreux: The usual process (which might be obviated by Nix 2.0) is to bootstrap the older nixpkgs with the newer version, eg. pkgs.fetchGitHub is needed mostly to fetch the older sources.
<ashgillman> Anyone had much experience in installing Nix without root of late? I had previously used proot, but considering just using ~/nix instead of /nix and building everything
ma27 has joined #nixos
<srhb> ashgillman: That's trivial with nix 2.0 I thought? Doesn't it take a store location with --store ?
<srhb> Or NIX_REMOTE=local?root=/home/foo/store
<ashgillman> srhb: I don't know? I was hoping someone might say something like that
<symphorien> srhb: it only works with user namespaces
<symphorien> so old centos users are screwed
<srhb> symphorien: Oh.
<srhb> That's good to know, I never looked into the internals
<symphorien> this is just nix user chroot upstreamed to nix in fact
<ashgillman> Hmm, interasting. Any docs srhb?
<srhb> Well, I'm not sure it helps with bootstrapping Nix from nothing
<ashgillman> It will go on a HPC cluster, not sure what is runs but maybe some kind of RHEL
<{^_^}> [nixpkgs] @ryantm opened pull request #37431 → goxel: 0.7.2 -> 0.7.3 → https://git.io/vxZ8e
<srhb> ashgillman: https://nixos.wiki/wiki/Nix_Installation_Guide is maybe still relevant
<srhb> But that was what you did already?
pie_ has quit [Ping timeout: 264 seconds]
<ashgillman> srhb: I have previously followed a similar (older?) version of that, I have a proot installation I can bootstrap from
<ashgillman> But I have to run many shells as jobs, and managing running proot every time has proven difficult in the past.
<ashgillman> I think better to spend the time compiling everything, and have it all based from home dir
<ashgillman> So no little chroot/proot/user-chroot hacks that need to wrap commands
roconnor has quit [Ping timeout: 240 seconds]
<srhb> I feel like it must be possible to bootstrap nix 2.0 from there and then somehow break out of the chroot/proot/whatever with --store and some mounts.
<srhb> But I'm not sure how
<guillaum1> do you know why "fetchGit" may fails (only on travis, not on local) with "warning: rejecte refs/heads/[sha] because shallow roots are not allowed to be updated\nerror: Colud not read [another sha]\nfatal: Failed to traverse parents of commit [yet another sha]"
<manveru> guillaum1: did you delete ~/.cache/nix/git ?
<guillaum1> manveru: that's on the travis machine, to be honest I don't have any idea if I have control of this repository.
<ashgillman> srhb: Yes, was hoping so. I can build from source but also previously had perl version issues then. Might try this route for now
<guillaum1> manveru: repository -> directory
<manveru> guillaum1: you should have control over all directories, but i'm not sure what's put into the travis cache by default
<{^_^}> [nixpkgs] @Esteth opened pull request #37432 → ffmpeg-full | enable libvo-amrwbenc → https://git.io/vxZ4g
<manveru> i just experience weird issues with the fetchGit caching, so thought i'd mention it :)
<guillaum1> manveru: do you suggest I try to delete the cache ?
<guillaum1> manveru: I *should* try.. ?
pie_ has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to release-17.09 « nixUnstable: Point to Nix 2.0 »: https://git.io/vxZ4b
dbe has quit [Ping timeout: 264 seconds]
zzamboni has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @ryantm opened pull request #37433 → gparted: 0.30.0 -> 0.31.0 → https://git.io/vxZBJ
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<dtz> guillaum1: did you specify a rev (sha1) as "ref"? Although that error is strange, maybe that's what happens if you do?
<guillaum1> dtz: no, just `fetchGit ./.;`
ottidmes has quit [Ping timeout: 264 seconds]
rauno has quit [Remote host closed the connection]
<symphorien> isn't src = ./. enought ?
<dtz> I guess maybe Travis does a shallow clone? :/
ottidmes has joined #nixos
zzamboni has quit [Ping timeout: 252 seconds]
<dtz> I like fetchGit ./., nix itself uses it...
<guillaum1> dtz: haaa, yes, ofcourse, the local clone of travis is shallow. Damned. Well, in the case of travis I may replace fetchGit ./. by ./., but I need a way to detect that I'm on travis. perhaps a derivation argument.
zzamboni has joined #nixos
pkill9 has joined #nixos
<{^_^}> [nixos-org-configurations] @edolstra pushed to master « hydra-provisioner: Use nixos-17.09-small »: https://git.io/vxZRE
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37434 → gqrx: 2.10 -> 2.11.1 → https://git.io/vxZ0Y
joelpet has joined #nixos
joelpet has quit [Changing host]
joelpet has joined #nixos
zzamboni has quit [Remote host closed the connection]
cmollekopf has joined #nixos
cmollekopf has quit [Client Quit]
alex`` has quit [Quit: WeeChat 2.0.1]
nD5Xjz has quit [Quit: ZNC 1.6.5 - http://znc.in]
nD5Xjz has joined #nixos
vidbina has joined #nixos
strleok7 has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8337d1ddca4 (from 79 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @ryantm opened pull request #37435 → python27Packages.gst-python: 1.12.3 -> 1.12.4 → https://git.io/vxZuC
noam__ has quit [Ping timeout: 276 seconds]
jetien has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to release-18.03 « pythonPackages.bleach: 2.1.2 -> 2.1.3 »: https://git.io/vxZur
Biappi has quit [Ping timeout: 248 seconds]
<guillaum1> dtz: actually fetchGit ./. has the issue, but fetchgit {url = ./., sha256 = null;} has not (note the fetch*G*it versus fetch*g*it), this is weird.
nD5Xjz has left #nixos ["WeeChat 2.0"]
<dtz> fetchGit is the builtin, uhh interesting fetchgit handles this--maybe it's something fetchGit can handle after all?
<guillaum1> dtz: ho, no sorry, I'm wrong, fetch*g*it fails also (I was confused with my travis report)
<dtz> haha okay, np
nD5Xjz has joined #nixos
zzamboni has joined #nixos
noam has joined #nixos
vidbina has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
leothrix has quit [Ping timeout: 240 seconds]
davidlt_ has quit [Remote host closed the connection]
zzamboni has quit [Ping timeout: 256 seconds]
noam has quit [Read error: Connection reset by peer]
noam_ has joined #nixos
davidlt_ has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37436 → gst_all_1.gst-validate: 1.12.3 -> 1.12.4 → https://git.io/vxZzw
zzamboni has joined #nixos
Neo-- has joined #nixos
nD5Xjz has quit [Ping timeout: 264 seconds]
rauno has joined #nixos
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
<disasm> zimbatm: I tried # shellcheck shell=bash disable=SC1008 below the two nix-shell shebang lines and it still complained.
<disasm> zimbatm: I can solve it using `-e 1008` as an argument, but was hoping there was a cleaner way than just ignoring the shebang completely.
<{^_^}> [nixpkgs] @ryantm opened pull request #37437 → gst_all_1.gstreamer: 1.12.3 -> 1.13.1 → https://git.io/vxZgd
emilis has quit [Read error: Connection reset by peer]
<zimbatm> disasm: yeah I don't think that SC1008 can be removed from the pragma unfortunately
<zimbatm> IMO it should ignore SC1008 is the shell type is specified in the pragma
<zimbatm> s/is/if
<disasm> zimbatm: I started playing with this a bit, but it's not quite working yet: https://gist.github.com/1e674157f8b02e8e2a7fd502ee0c2231
<__Sander__> any gradle lovers out here? :P
* __Sander__ is curious who did an attempt to make it integrate with Nix
<{^_^}> [nixpkgs] @sternenseemann opened pull request #37438 → geogebra: 5-0-382-0 -> 5-0-444-0 → https://git.io/vxZ2R
<zimbatm> disasm: it should just stop complaining if shell=something is passed
<zimbatm> maybe it's too late because it outputs the error as soon as it sees it
<zimbatm> and it doesn't do a two-pass to read the pragma first
civodul has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #37439 → Python fixes → https://git.io/vxZ21
<nioncode> I run nix on my work computer and am facing a problem: I have to compile some source code for an embedded system for which I only have a prebuilt gcc based toolchain, which obviously does not work at all on nix (starting with having the wrong dynamic interpreter set). is there a clean way to get this toolchain up and running inside a nix-shell environment? or do I really have to patchelf all those binaries in
<nioncode> the toolchain and probably create wrappers for each of them to set the correct LD_LIBRARY_PATHS?
<gchristensen> nioncode: you could make an fhs environment
<nioncode> gchristensen: thanks, that looks interesting. will try this asap
<disasm> zimbatm: yeah, the error is output in readShebang before it starts parsing the rest of the file. So it checks if line 1 is a valid shebang (which isn't quite accurate, it checks that line 1 has a the form of #!something), if it doesn't (e.g. comment or blank line) it skips any comment or whitespace lines looking for a shebang, it finds one it use the shell listed there but throws a different warning that first
<disasm> line isn't the shebang line.
alex`` has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37440 → hdf4: 4.2.12 -> 4.2.13 → https://git.io/vxZa1
<Synthetica> What's the deal with `unstable`?
fendor has joined #nixos
<gchristensen> !stuck
<gchristensen> Synthetica: ^
nD5Xjz has joined #nixos
d0nkey has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c07857710b7 (from 88 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<fendor> Welp, message was to long :D
<d0nkey> If I want to contribute a python application that depends on a library that is not in nixpkgs should I first contribute the library?
FareTower has joined #nixos
<gchristensen> yeah
<tokudan[m]> any idea when the security updates for 17.09 will be available in the channel? 17.09 is stuck for 5 days now
__monty__ has joined #nixos
Rusty1_ has joined #nixos
<__monty__> How do I find out which package provides the lsblock command?
Neo-- has quit [Remote host closed the connection]
<gchristensen> __monty__: maybe nix-index
Neo-- has joined #nixos
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
davidlt_ has quit [Remote host closed the connection]
<__monty__> gchristensen: Haven't been able to run the index command to build the database because of restricted ram.
aloiscochard has joined #nixos
<gchristensen> ouch
logzet has joined #nixos
<joepie91> nioncode: gcc is GPL, isn't it?
<joepie91> nioncode: wouldn't that make it a license violation to only provide build artifacts?
<joepie91> (ie. prebuilt toolchain)
<joepie91> ie. possibly ask whoever provided it to give you the source code :)
davidlt has joined #nixos
<Yaniel> not if it's unmodified I think?
<Yaniel> since then whoever gives you the binary can point you at the official tarball
<nioncode> joepie91: might be. but companies usually don't really care, since nobody sues them anyway
<joepie91> Yaniel: sure, but that'd have the same practical effect
<joepie91> nioncode: worth a shot
<gchristensen> nioncode: good news, one of our founding community members spends his life suing over GPL violationss
<nioncode> gchristensen: thanks, buildFHSUserEnv worked like a charm
<gchristensen> cool :)
lord| has quit [Quit: WeeChat 2.0.1]
<nioncode> gchristensen: I don't think I want to sue our kind of partner for such a thing. they would probably send me the source if I ask, but since buildFHSUserEnv works so nicely, I don't care much
<gchristensen> cool
<joepie91> gchristensen: oh? who's that?
<{^_^}> [nixpkgs] @ryantm opened pull request #37441 → hdparm: 9.54 -> 9.55 → https://git.io/vxZw3
k2s has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
timon37 has joined #nixos
fendor_ has joined #nixos
fendor has quit []
fendor_ is now known as fendor
<{^_^}> [nixpkgs] @jtojnar pushed to master « haskell-configuration-common: disable some tests depending on tasty-hunit-0.9 »: https://git.io/vxZwE
<Myrl-saki> scErr
<Myrl-saki> Is there an "error" in Nix?
ashgillman has quit [Ping timeout: 264 seconds]
<Myrl-saki> Oh, abort.
etiennebatise has joined #nixos
emilis has joined #nixos
<Myrl-saki> Wtf. I actually checked my code, and it already says "abort."
<Myrl-saki> The subconscious~
<fendor> Hey, I have a question to haskell development using nixos and stack. Currently I have to add - - nix to every stack invocation, or add enable: true in stack.yaml. The latter is generally not usable because collaborating with people who don't have nix can't compile the project anymore. But I can only use the current haskell-ide-engine if it is enabled in the yaml, otherwise it tries to download a whole new ghc. Can somebody explain what the
<fendor> preferred way of haskell and nix development is?
<{^_^}> [nixpkgs] @shlevy pushed 417 commits to staging: https://git.io/vxZwx
<{^_^}> → 66fd7d2b by @tsaeger: pythonPackages.ofxhome: 0.3.1 -> 0.3.3
<{^_^}> → 68dda232 by @corngood: amdgpu-pro: 17.10 -> 17.40
<{^_^}> → ebf1dade by @corngood: xorg: allow and check abiCompat on current version
<Myrl-saki> what the fuck
<Myrl-saki> (optionalString isGhcjs "-build-runner")
<Myrl-saki> Ohhh
<Myrl-saki> Okay.
<Myrl-saki> I removed it, I should have replaced it with an empty ""
<ottidmes> Anybody else experienced "unexpected end-of-file" with SSH substituters in Nix 2.0 with on 17.09 stable? I am running Nix 2.0 and its daemon on all relevant machines
<Myrl-saki> I was rebuilding ghc lmao
ryanartecona has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to master « zstd: Fix install name on macOS »: https://git.io/vxZrR
pie_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @shlevy pushed to staging « buildPerlPackage: "properly" quote FULLPERL »: https://git.io/vxZru
<{^_^}> [nixpkgs] @edolstra pushed to release-17.09 « zstd: Fix install name on macOS »: https://git.io/vxZrr
<ottidmes> I guess I will just try the 18.03 channel and see if that fixes anything
zzamboni has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @ryantm opened pull request #37443 → homebank: 5.1.7 -> 5.1.8 → https://git.io/vxZrS
aarvar has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
etiennebatise has quit [Quit: Page closed]
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
ThatDocsLady_ has joined #nixos
reinzelmann has quit [Quit: Leaving]
ThatDocsLady has quit [Remote host closed the connection]
rauno has quit [Ping timeout: 256 seconds]
zzamboni has quit [Client Quit]
<clever> found a critical problem with zfs on nixos
<clever> if you have 0 bytes free, you cant boot!
<clever> it always hangs when mounting /
k2s has quit [Quit: Leaving]
<yorick> is there a way for people to list things on my binary cache? meaning, if I have secret packages on it, can I still open it to the public?
<gchristensen> hmm I would be surprised if you could boot with 0 bytes free elsewhere..
<gchristensen> yorick: if you let people index your directories, yes
katona has quit [Quit: Connection closed for inactivity]
<clever> gchristensen: id expect it to fail in a lot of places, not hang hard
<yorick> gchristensen: is that needed for anything?
<clever> but the way nixos boots is a bit special
rauno has joined #nixos
<gchristensen> yorick: no, Nix always requests specific files, not a file list
<{^_^}> [nix] @shlevy pushed commit from @dtzWill to master « serialise.cc: remove pessimising move »: https://git.io/vxZo7
<yorick> gchristensen: thanks!
<gchristensen> yorick: yep!
<{^_^}> [nix] @shlevy merged pull request #1992 → serialise.cc: remove pessimising move → https://git.io/vxGHD
<clever> gchristensen: now that i know the issue, i can just manually destroy a few snapshots from the initrd, and reboot
<clever> and it boots!
<gchristensen> nice
<clever> this is likely also why it stopped responding to begin with
<clever> arp was up, but sshd hung mid way thru auth
<clever> unleash the garbage man!
<gchristensen> the garbage man has a hard job to do, not nice keeping him captive :)
<{^_^}> [nixpkgs] @ryantm opened pull request #37445 → ibus-engines.libpinyin: 1.9.2 -> 1.9.3 → https://git.io/vxZKW
<clever> 7449 store paths deleted, 7971.25 MiB freed
<clever> according to datadog, it froze at 23:40
<clever> and it is now 10am
<disasm> gchristensen: how do you manage your zsh config? Do you do that in your home directory? git grepping your nixos-configs I found a very minimal setup
<disasm> Mainly asking because 18.03 broke a lot of things in prezto and looking at redoing mine.
mightybyte has joined #nixos
<gchristensen> disasm: tbh I have almost no zsh config
nuncanada has joined #nixos
<disasm> gchristensen: oh :) minimalist, eh?
<gchristensen> disasm: I used to use ohmyzsh but got frustrated when it'd slow down my prompt, so I deleted it and I think I forgot to set anything back up again :$
pkill9 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @ryantm closed pull request #37345 → varnish: 5.2.1 -> 6.0.0 → https://git.io/vx32E
<gchristensen> also I don't get a ton out of it, since I spend _most_ of my time in nix-shells :)
vidbina has quit [Ping timeout: 276 seconds]
avanama has joined #nixos
<avanama> hello, has anyone experience on running nixos on google cloud?
<avanama> but when it instructs to connect via ssh the server asks for a password instead of using public key authentication
<{^_^}> [nixpkgs] @ryantm closed pull request #37435 → python27Packages.gst-python: 1.12.3 -> 1.12.4 → https://git.io/vxZuC
davidlt_ has joined #nixos
davidlt has quit [Ping timeout: 240 seconds]
emilis has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ryantm opened pull request #37446 → ibus-engines.table: 1.9.16 -> 1.9.18 → https://git.io/vxZ6j
magnetophon has joined #nixos
<clever> #6 0x556519b757a5 [17670:17703:0320/101623.355468:ERROR:socket_posix.cc(91)] CreatePlatformSocket() returned an error, errno=24: Too many open files (24)
<clever> gchristensen: and now chrome refuses to launch
blankhart has quit [Ping timeout: 256 seconds]
<gchristensen> ruh roh
Guanin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #37447 → python*: set thread stack size on musl → https://git.io/vxZiB
coot has quit [Quit: coot]
<clever> security.pam.loginLimits time...
<Dezgeg> IIRC it's not safe to increase the default limits from 1024
<clever> ive been increasing it to 4096 for months, for just chrome
<Dezgeg> since the file descriptor bitmaps used by select() have a hardcoded size
blankhart has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #36868 → kde-frameworks: 5.43 -> 5.44 → https://git.io/vxfWl
<{^_^}> → ef939539 by @bkchr: kde-frameworks: 5.43 -> 5.44
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/vxZP3
<{^_^}> → 45903094 by @ttuegel: Merge pull request #36868 from bkchr/kde_frameworks_5_44
<clever> Limit Soft Limit Hard Limit Units
<Dezgeg> I guess if you limit it to just chromium it should be safe though
<clever> Max open files 8192 65535 files
<clever> i set the limit to 64k,and chrome lowered itself to 8k
<Dezgeg> well, assuming chrome doesn't use select :P
<clever> i have had problems in the past, that i tracked down to a single renderer process opening so many sockets that it commited suicide
<clever> but its never affected the master process before
<catern> has anyone ever investigated an alternative representation of package source versions in nixpkgs, by using git submodules at specific revisions to represent the source?
<catern> with fetchgit, this would actually be optimized and fast now
<clever> [root@amd-nixos:~]# ls -l /proc/445/fd/ | wc -l
<clever> 4753
<clever> Dezgeg: yikes!
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/225eac1f378 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<catern> slightly more detail: you'd have a repo with a bunch of submodules, one submodule per package, and the source code version for some package A would be obtained by doing a fetchgit on the submodule for package A
ryanartecona has quit [Quit: ryanartecona]
<{^_^}> [nixpkgs] @ryantm opened pull request #37448 → ibus-engines.table-others: 1.3.7 -> 1.3.9 → https://git.io/vxZP6
<catern> this would make it really easy to upgrade packages because you'd just use git operations, and also make it really easy to modify packages
<catern> upgrade and modify package source, I mean
maximiliantagher has joined #nixos
fendor has quit [Quit: Leaving]
avanama has quit [Quit: Page closed]
<clever> Dezgeg: neatly 2000 of them are shm handles
<gchristensen> using Nix only and not NixOS, is there a way to install dejavu fonts in such a way that my software will find it?
maximiliantagher has quit [Ping timeout: 240 seconds]
<manveru> gchristensen: well, you can always put them into ~/.fonts i think?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « scala: 2.12.4 -> 2.12.5 »: https://git.io/vxZXQ
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « scala: 2.12.4 -> 2.12.5 »: https://git.io/vxZXd
<manveru> so you can do that with nix if you're using home-manager or the like
<gchristensen> what does ~/.fonts look like?
asuryawanshi has quit [Ping timeout: 248 seconds]
<manveru> just put any .ttf in there
<gchristensen> just like dump them in?
<manveru> yes
<gchristensen> neat!
<infinisil> Huh I have no idea how that would work
<clever> Dezgeg: it somehow feels like chrome started faster
<infinisil> Isn't there some font cache thing and `fc-list` lists the ones that are available?
<clever> i think i'm even getting more tabs per process
<manveru> infinisil: yeah, you have to refresh the cache
<manveru> `fc-cache -rf` i think
<manveru> and it might need an entry in your /etc/fonts config to look in that dir
<gchristensen> what if there are no fonts?
<infinisil> Fonts scare me on linux
<manveru> so seems like .fonts is deprecated
<{^_^}> [nixpkgs] @ryantm opened pull request #37449 → xorg.iceauth: 1.0.7 -> 1.0.8 → https://git.io/vxZM3
<infinisil> I see nixos generates an /etc/fonts/fonts.conf that looks in ~/.nix-profile/share/fonts and ~/.nix-profile/lib/X11/fonts
chisui has joined #nixos
<manveru> yeah, but that's on a non-nixos machine
<manveru> so i assume they have either ~/.fonts or ~/.local/share/fonts there
<gchristensen> to clarify I'm running this in a docker container with nothing but nix installed :)
<gchristensen> so I'd sort of be surprised if fc existed
ron__ has joined #nixos
<{^_^}> [nixpkgs] @dotlambda closed pull request #36180 → [WIP] pythonPackages.astropy: fix build → https://git.io/vADOS
<clever> oh, lovely, now pulseaudio doesnt work in chrome
nschoe has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « Fix coverage job »: https://git.io/vxZyO
<{^_^}> [nixpkgs] @ryantm closed pull request #37437 → gst_all_1.gstreamer: 1.12.3 -> 1.13.1 → https://git.io/vxZgd
ericsagnes has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @ryantm closed pull request #37436 → gst_all_1.gst-validate: 1.12.3 -> 1.12.4 → https://git.io/vxZzw
hoverbear has quit []
alex`` has quit [Ping timeout: 240 seconds]
roconnor has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37450 → icmake: 9.02.06 -> 9.02.07 → https://git.io/vxZyb
alexteves has joined #nixos
dan_b has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37451 → jetbrains.idea-community: 2017.3.4 -> 2017.3.5 → https://git.io/vxZSU
<gchristensen> w00t symlinking .fonts seems to do the trick
erasmas has joined #nixos
kiloreux_ has joined #nixos
kiloreux has quit [Ping timeout: 260 seconds]
<srid> How do I add to bluetooth's audio.conf? extraConfig is only for main.conf: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/hardware/bluetooth.nix#L24
<clever> srid: the latest bluetooth stuff has lost its alsa support, and you must run a pulseaudio to get audio
<srid> I'm trying to edit audio.conf only to get my bluetooth headphones working, per these instructions: https://askubuntu.com/a/885198
<ottidmes> Is the dot net runtime called dotnetenv in NixOS?
<YegorTimoshenko[> does nix support an environment variable for declaring nix options? would like to set a ssh-substituter-hosts inside nix-shell
<{^_^}> [nixpkgs] @lsix opened pull request #37452 → octave: 4.2.1 -> 4.2.2 → https://git.io/vxZ96
drakonis has joined #nixos
<YegorTimoshenko[> s/set a/set/
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/824d6d73dbd (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<clever> YegorTimoshenko[: i think NIX_CONF_DIR can change where it looks for nix.conf
emilis has joined #nixos
raynold has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #37447 → python*: set thread stack size on musl → https://git.io/vxZiB
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vxZHT
<{^_^}> → 9aa22191 by @dtzWill: python*: set thread stack size on musl
<{^_^}> [nixpkgs] @ryantm opened pull request #37453 → isl_0_15: 0.15 -> 0.19 → https://git.io/vxZHI
<{^_^}> → 06828573 by @dtzWill: Merge pull request #37447 from dtzWill/fix/python-musl-thread-stacksize
<YegorTimoshenko[> clever: thanks, NIX_CONF_DIR can be used for that purpose, but i only want to change one option. i probably could generate nix.conf based on /etc/nix/nix.conf at eval time...
<infinisil> srid: I pretty much only needed the pulseaudioFull and then connect with bluetoothctl
zzamboni has joined #nixos
<infinisil> srid: and i sometimes have to `systemctl restart bluetooth` and reconnect with bluetoothctl
<gchristensen> anyone want to package https://github.com/souvik1997/kernel-roulette ?
Biappi has joined #nixos
zzamboni1 has joined #nixos
zzamboni has quit [Remote host closed the connection]
ericsagnes has joined #nixos
<disasm> gchristensen: lol :)
<disasm> gchristensen: want it added to the default nixos kernel for 18.03? :)
<gchristensen> yes please
<gchristensen> it is written in Rust, so it is very safe
<Dezgeg> just write your kernel modules in bash instead: [ $((RANDOM % 6)) = 0 ] && echo c > /proc/sysrq-trigger
rauno has quit [Remote host closed the connection]
<disasm> gchristensen: I'll write a nixos test for it for hydra to run as well :)
dan_b has quit [Ping timeout: 240 seconds]
freeman42x]NixOS has joined #nixos
zzamboni1 has quit [Quit: Leaving.]
zzamboni has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vxZ7M
<{^_^}> → 1aca195e by @edolstra: Hack to get SSH error messages from build-remote
<{^_^}> → 21ebf6a1 by @edolstra: SSHMaster: Optionally pass -v to ssh
drakonis has quit [Quit: Leaving]
spear2 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ryantm opened pull request #37454 → jags: 4.1.0 -> 4.3.0 → https://git.io/vxZ5f
<MoreTea> Hmm. I'm getting an infinite recursion that I can't explain. Minimal reproducible example: https://github.com/containersolutions/nixpkgs-overlay && nix-build shell.nix -A hello
<clever> MoreTea: try [ (import ./default.nix) ];
<infinisil> Um, how common is it that you can't reproduce hydra failures?
chreekat has joined #nixos
<infinisil> Because I just wanted to try fix something, but then it worked no problem
<gchristensen> it isn't unheard of
<MoreTea> clever: ah :( I'm stupid!
Guanin has joined #nixos
LysergicDreams has joined #nixos
<infinisil> gchristensen: So what should i do when i see one?
<infinisil> just ignore and hope it works next build?
<gchristensen> do you have a hydra account?
<infinisil> gchristensen: I do not
<gchristensen> log in with google so you can have one and I can let you restart jobs
<infinisil> Not a fan of the Google part
<Dezgeg> which package failed to build?
<infinisil> The first failing one in the latest build on nixos release 18.03
<Dezgeg> that's a... crazy error
<infinisil> I couldn't reproduce it locally
<infinisil> Built just fine
<Dezgeg> but given it is one of those ec2 machines or something, I blame /bin/sh on that
<gchristensen> manveru: what if I dumped a bunch of ttf files in to /etc/fonts?
<gchristensen> it turns out ~/.fonts didn't work
Taneb has quit [Ping timeout: 246 seconds]
sdhand has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @qknight merged pull request #37427 → emscripten: use matching binaryen version → https://git.io/vxZng
<{^_^}> [nixpkgs] @qknight pushed commit from @asppsa to master « emscripten: use matching binaryen version (#37427) »: https://git.io/vxZbZ
<unlmtd> has anyone managed a `kexec` based nixops deployment?
<Dezgeg> or could be parallel build related I guess
<manveru> gchristensen: it depends on what paths are specified in your /etc/fonts/fonts.conf
<gchristensen> manveru: hrm. I don't have one, but I reckon I could make one
sdhand has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37455 → jsonnet: 0.9.5 -> 0.10.0 → https://git.io/vxZN8
<manveru> gchristensen: on nixos we have /etc/fonts/conf.d/50-user.conf
sdhand is now known as Guest23116
<manveru> sry, at work still, can't help much :|
<infinisil> unlmtd: Yeah I have done it and many others, using clever's kexec nixos base thing. See https://nixos.wiki/wiki/Install_NixOS_on_a_Server_With_a_Different_Filesystem
<infinisil> Great, the second hydra failure I can't reproduce
Taneb has joined #nixos
<infinisil> Even with the non-weird error
<silver_hook> Is it “normal” (for NixOS) that when in Plasma I install a theme pack through GHNS, the dialog says it’s installed, but the content doesn’t show in the settings?
<{^_^}> [nixpkgs] @ttuegel merged pull request #36869 → kde-applications: 17.12.2 -> 17.12.3 → https://git.io/vxflf
<Dezgeg> just ignore those 34.224.* builders
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/vxZNd
<{^_^}> → 8d9e5400 by @bkchr: kde-applications: 17.12.2 -> 17.12.3
<{^_^}> → ec8d5703 by @ttuegel: Merge pull request #36869 from bkchr/kde_applications_17_12_3
<infinisil> Dezgeg: Oh right it's the same ip subnet.., gonna avoid those
kiloreux_ has quit [Ping timeout: 246 seconds]
Guest23116 has quit [Ping timeout: 264 seconds]
sdhandsucks has joined #nixos
sdhandsucks has quit [Changing host]
sdhandsucks has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
chreekat has quit [Quit: quitting]
<goibhniu> sweet, setting up a bluetooth -> pulseaudio a2dp sink works \o/
<gchristensen> nice!
kiloreux has joined #nixos
vaibhavsagar has quit [Quit: ZNC 1.6.5 - http://znc.in]
<{^_^}> [nixpkgs] @ryantm opened pull request #37456 → libsForQt5.kdb: 3.0.2 -> 3.1.0 → https://git.io/vxZpW
MercurialAlchemi has quit [Ping timeout: 240 seconds]
octowan[m] has joined #nixos
<unlmtd> infinisil: thank you. google didnt come up with this
zzamboni has quit [Quit: Leaving.]
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
spietz has joined #nixos
<{^_^}> [nixpkgs] @ryantm closed pull request #37453 → isl_0_15: 0.15 -> 0.19 → https://git.io/vxZHI
vaibhavsagar has joined #nixos
ryanartecona has joined #nixos
_null_ has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 116 commits to python-unstable: https://git.io/vxZhh
<{^_^}> → 0d0e0fa5 by @corngood: amdgpu-pro: 17.10 -> 17.40
<{^_^}> → 13da8783 by @corngood: xorg: allow and check abiCompat on current version
<{^_^}> → 2cc2a0db by Bruno Bzeznik: irods: 4.2.1 -> 4.2.2 + server bugfixes
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<sphalerite> has anyone here ever run nix[os] on SPARC?
kitemikaze1 has joined #nixos
<clever> sphalerite: i ran gentoo on sparc a few years ago, and i still have the hardware
kitemikaze has quit [Ping timeout: 240 seconds]
kitemikaze1 is now known as kitemikaze
<{^_^}> [nixpkgs] @benley pushed commit from @ryantm to master « jsonnet: 0.9.5 -> 0.10.0 (#37455) »: https://git.io/vxZj4
<{^_^}> [nixpkgs] @benley merged pull request #37455 → jsonnet: 0.9.5 -> 0.10.0 → https://git.io/vxZN8
<{^_^}> [nixpkgs] @dotlambda closed pull request #37396 → pythonPackages.cython: 0.27.3 -> 0.28.1 → https://git.io/vxG9d
<{^_^}> [nixpkgs] @pbogdan opened pull request #37457 → [17.09 [WIP] firefox: fix build → https://git.io/vxZjz
<Dezgeg> is the hardware faster or slower than your phone? :P
<clever> biggest issue i had, is that it just ceaseed booting one day
<clever> and the endianess was flipped from my x86 machines
<clever> xfs just lacks the ability to recover such a journal
pie_ has joined #nixos
<sphalerite> oh hm debian doesn't support sparc anymore
<clever> it has no userland tools to deal with such situations
katona has joined #nixos
<Dezgeg> really?
<Dezgeg> I'd think it uses a fixed endianness on-disk
<sphalerite> any suggestions on what the easiest way of getting a modern linux running on here might be?
<clever> Dezgeg: for 90% of the data, it is fixed
<clever> Dezgeg: but the journal needs speed
<gchristensen> sphalerite: gut the case and stick a microatx inside
<Dezgeg> buildroot claims sparc support
<sphalerite> gchristensen: that sounds difficult
<Dezgeg> but making a fishtank sounds good as well
<clever> sphalerite: the badge calls them ultra 25's
<clever> Dezgeg: the plastic panel on the inside would make a good fishtank, lol
coot has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 8 commits to master: https://git.io/vxneY
<{^_^}> → 53309758 by @peti: haskell-matrix: the new version has fixed the test suite failure
<{^_^}> → 61d45388 by @peti: LTS Haskell 11.1
_null_ has quit [Ping timeout: 245 seconds]
<clever> the side panel isnt locked
<{^_^}> → a413639a by @peti: haskell-th-printf: drop obsolete override for ghc 8.4.x
<clever> but right under it, is a second clear plastic sidepanel, that can be locked
<clever> so you can inspect the contents, without unlocking or disrupting airflow
<katona> Why doesn't GCC build on trunk?
<gchristensen> clever: how did you send that over pushbullet?
endformationage has joined #nixos
jetien has quit [Quit: Leaving.]
<katona> That's the reason there is so many failing jobs :0 I couldn't find any issue on a quick try, is it a known problem?
humanoyd has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #37373 → Add space for NIX_CXXSTDLIB_COMPILE+=' ...' as NIX_CXXSTDLIB_COMPILE might not be empty. → https://git.io/vxs8T
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vxnea
<{^_^}> → c0cf13e5 by @clefru: Add space for NIX_CXXSTDLIB_COMPILE+=' ...' as NIX_CXXSTDLIB_COMPILE might not be empty.
<{^_^}> → fa371877 by @Ericson2314: Merge pull request #37373 from clefru/cxxstdlib-fix
ryanartecona has quit [Quit: ryanartecona]
<clever> gchristensen: i have the android pushbullet app, and i can send photos to my browser, which has the chrome extension
<sphalerite> gchristensen: yeah not too usre how well a micro ATX would work in there
<gchristensen> sphalerite: why not? :P
* sphalerit uploaded an image: IMG_20180320_152952.jpg (77KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/vTYBRzYfdcZrivRXAnLLyLbX>
<sphalerite> not sure I'd manage to get everything connected up right
<sphalerite> especially the PCI slots
<clever> sphalerite: plenty of room in mine, *runs off to get a pic*
<sphalerite> what's solaris for lsblk
Sonarpulse has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37458 → libsForQt5.kpmcore: 3.0.3 -> 3.3.0 → https://git.io/vxnvu
<sphalerite> yeah… lots of space in workstations :p
<clever> there is also an entire cpu socket just missing
muzzy has quit [Read error: Connection reset by peer]
<coconnor> morning all
timon37 has quit [Remote host closed the connection]
<coconnor> I used to have a sparc workstation as well. For some reason I remember the CPU being huuuge. Or maybe just the CPU card?
rauno has joined #nixos
<coconnor> seems nixos and nixos-chat are backwards right now haha
<coconnor> I did not know mozilla had such a comprehensive overlay: https://github.com/mozilla/nixpkgs-mozilla
quez has joined #nixos
<quez> I have a local package (with a nixpkgs pinned by git hash) that builds on MacOS. When I try to build it on NixOS, I get a "No such file or directory" complaining about one of my intermediate build products and indeed that file is absent. Does anyone have an immediate intuition for what could be going wrong?
<kiloreux> I have a static build of ffmpeg in a tar and trying to create a nix package with it. However I get the following mv: target '/nix/store/g1hr75lb6c9srmp0vxab40lnm1rim700-ffmpeg' is not a directory
<kiloreux> builder for '/nix/store/4nh2cvd8c6iwsswpaa9ky2ac7cf06mrb-ffmpeg.drv' failed with exit code 1
<coconnor> quez: case sensitive file system?
<quez> I don't think so
<coconnor> quez: Mac is "case preserving" but not case sensitive. Which can lead to fun iisues
<quez> I can see Nix building the missing file at one point. It seems like it gets cleaned up prematurely or something
<sphalerite> kiloreux: create it first :)
<sphalerite> kiloreux: make your installPhase mkdir $out ; mv * $out
<quez> i.e. I see `building path(s) ‘/nix/store/znsss28yqylxdyaa4f85bk8fh084klpr-package.json’` at one point, a separate `build path ...` and then a `getting attributes of path ‘/nix/nix/store/znsss28yqylxdyaa4f85bk8fh084klpr-package.json’: No such file or directory`
<kiloreux> Thank you sphalerite
<kiloreux> That solved it.
<{^_^}> [nixpkgs] @zimbatm opened pull request #37459 → nix-serve: patch for nix 2.0 → https://git.io/vxnkk
rauno has quit [Ping timeout: 245 seconds]
Arcaelyx has joined #nixos
Slabity has joined #nixos
__monty__ has quit [Read error: Connection reset by peer]
<tnks> are nix-shell interpretter scripts going anywhere with Nix 2.0?
<gchristensen> no
<Slabity> When trying to add a local directory as an overlay, I get the error `error: infinite recursion encountered, at undefined position` when running `nix-env`. My overlay is here: https://gist.github.com/Slabity/da496222892746e7ebbc213d5bc4e197
zzamboni has quit [Quit: Leaving.]
<tnks> As far as I can tell, the new "nix" command doesn't subsume it... but I'm not sure how to Google for sentiments on that.
<Slabity> Using the example in the nixpkgs manual results in the same issue
<coconnor> Slabity: remove the "inherit pkgs".
<tnks> I have a feeling there are too many ways to "run" a Nix command, and I like that "nix run" unifies a lot of them.
<coconnor> Slabity: I'd also remove the "with pkgs;"
<tnks> gchristensen: okay, good to know it's not on the cutting board yet.
<Slabity> coconnor: I made both changes, but the issue is still there.
JosW has joined #nixos
<Slabity> Wait a second... I may have fixed it?
<rawtaz> hmm. so this "previous versions" thingie, how does that work anyway. lets say that from version A to version B i removed almost all my software and installed a lot of new software - is the stuff for version A still on disk so i can fire that version up completely offline and even if i cleaned all caches etc there is, or will they have to be installed anew when loading version A (e.g. requiring internet access)?
richard has joined #nixos
<Slabity> coconnor: Nevermind, it was just a dumb typo in my higher config. Thanks anyways
zzamboni has joined #nixos
richard is now known as Guest48926
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37460 → treewide: `meta.platforms` fixes now that it tracks the host platform → https://git.io/vxnLL
silver has joined #nixos
rauno has joined #nixos
silver has quit [Remote host closed the connection]
zzamboni has quit [Ping timeout: 246 seconds]
<wilornel> Hey #nixos! Does anyone know of a nice solution for user defined long running interactive processes that should ideally always be running?
<wilornel> I posted more context on my question in this gist: https://gist.github.com/kovkev/93d730e428c442377a967b099cd18c05
silver has joined #nixos
coot has quit [Quit: coot]
<vdemeester`> hi all o/
Guest48926 has left #nixos ["Leaving"]
<vdemeester`> I have some weird terminal display issue running `nixos-rebuild -I nixpkgs=https://nixos.org/channels/nixos-18.03/nixexprs.tar.xz -I nixos-config=./myconfiguration.nix build-vm` on a 17.09 nixos system.. is it expected ?
zzamboni has joined #nixos
xAFFE has left #nixos ["Error from remote client"]
<{^_^}> [nixpkgs] @svanderburg pushed to master « titaniumenv: add 7.1 SDK and make it the default »: https://git.io/vxntP
zzamboni has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
zzamboni has joined #nixos
<coconnor> wilornel: if you need a long running *interactive* process then screen/tmux plus loginctl solinger is likely required
Olgierd has joined #nixos
Olgierd has quit [Changing host]
Olgierd has joined #nixos
<coconnor> s/solinger/enable-linger/
<coconnor> wilornel: tho there are some fancy "attach seat" commands in loginctl that might be relevant
kthnnlg has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
strleok7 has quit [Remote host closed the connection]
<coconnor> emphasis on the interactive because if a TTY is not required then a simple systemd service would work
<catern> hmmm
zzamboni has quit [Ping timeout: 264 seconds]
<catern> hey #nixos, does anyone have any clever ideas about how I might, in a Nix expression, running in a git repository, determine the commit hash of a submodule?
<clever> coconnor: where was linger set again?, ive noticed systemd killing my screen sessions
<catern> the easiest way is to shell out to git, but that's pretty impure
<catern> (well I mean, it's not actually impure, but anyway)
<clever> coconnor: builtins.fetchGit for 2.0
aminechikhaoui has quit [Read error: Connection reset by peer]
<quez> Ah, figured out there was a double `/nix/nix` in the path due to a bad relative path
<catern> clever: i assume that was directed at me
<clever> catern: lib.commitIdFromGitRepo for any nix version
<clever> catern: yeah
zzamboni has joined #nixos
aminechikhaoui has joined #nixos
<{^_^}> [nixpkgs] @pSub closed pull request #37450 → icmake: 9.02.06 -> 9.02.07 → https://git.io/vxZyb
<catern> does fetchGit actually work with submodules? keep in mind I don't want to know the commit of a git repo, I want to know the commit of a submodule inside a git repo
<{^_^}> [nixpkgs] @ryantm opened pull request #37461 → krita: 3.3.3 -> 4.0.0 → https://git.io/vxnq7
<catern> but I'll look at commitIdFromGitRepo
<clever> catern: i think you can call fetchGit on a submodule path, if the .git is intact
<{^_^}> [nixpkgs] @pSub closed pull request #37443 → homebank: 5.1.7 -> 5.1.8 → https://git.io/vxZrS
<wilornel> coconnor: looking into it
<{^_^}> [nix] @dtzWill opened pull request #1997 → ask autotools for c++14 support flags, not c++11; don't override later → https://git.io/vxnqx
<catern> clever: woah, you mean like, if repo root is repo/, and submodule is at repo/submodule, I could just do fetchgit "repo/submodule"?
<tnks> hmm... #!nix-shell invocations are confusing. I can just specify Haskell packages with -p and they get woven into the interpretter specified with -i?
<clever> catern: unquoted, and ./
<catern> that would be nuts
<clever> catern: builtins.fetchGit ./repo/submodule
<catern> that is really awesome
<robstr> Hey, first time nixops user, when running `nixops deploy ...` i receive `at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:109:60`
<clever> catern: all it does is impurely run some git commands at eval time
<catern> oh yeah, that's true
<catern> so I guess it depends on whether git fetch supports that
<kthnnlg> Hi, I'm using nixos on my mac, and am trying to build a package that I need to compile with gcc. However, the configure script of the package picks up clang instead of gcc. Does anyone know how I might configure my nix-shell instance or the build script to prefer gcc?
<clever> kthnnlg: patch the build scripts to obey $CC and $CXX
<kthnnlg> ok, i think they do
<clever> nix-shell already points those to clang
zzamboni has quit [Ping timeout: 256 seconds]
<kthnnlg> clever: yep, it seems so. is there a way for me to force nix-shell to point to gcc?
<clever> not sure how to do that on darwin
sdhand has quit [Ping timeout: 265 seconds]
Taneb has quit [Ping timeout: 246 seconds]
<tnks> wait, is the argument of "-i" for nix-shell not a normal Nixpkgs derivation?
zzamboni has joined #nixos
<catern> clever: aw, it doesn't seem to work :( https://gist.github.com/06290bf738eefda871bbe6ada81ad4a8
<robstr> (missed few chars) nixops-deploy .. gives `string ‘en_US.UTF-8’ doesn't represent an absolute path, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:109:60`
ThatDocsLady_ has quit [Ping timeout: 264 seconds]
rauno has quit [Remote host closed the connection]
mojjo has joined #nixos
sdhand has joined #nixos
<coconnor> clever: loginctl enable-linger
<{^_^}> [nixpkgs] @svanderburg pushed to master « titaniumenv: remove obsolete java fix wrapper on darwin »: https://git.io/vxnmy
<coconnor> clever: tho I'm still having issues with screen being killed. Just less.
sdhand is now known as Guest91821
aminechikhaoui has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @zimbatm merged pull request #37459 → nix-serve: patch for nix 2.0 → https://git.io/vxnkk
<{^_^}> [nixpkgs] @zimbatm pushed to master « nix-serve: patch for nix 2.0 (#37459) »: https://git.io/vxnmF
Taneb has joined #nixos
<{^_^}> [nixpkgs] @zimbatm pushed to release-18.03 « nix-serve: patch for nix 2.0 (#37459) »: https://git.io/vxnYT
<{^_^}> [nixpkgs] @Twey opened pull request #37462 → bitmath: init at 1.3.1.2 → https://git.io/vxnYk
aminechikhaoui has joined #nixos
<mojjo> hi! how can I declare in a nixos configuation, that a package should be installed in an older version? particularily I have some issue with the latest chromium (65), it always crashes when I copy sth to the clipboard. The 63 version works but how can I make this permanent?
<catern> clever: oh, but fetchGit can't fetch uncommitted changes, can it?
<{^_^}> [nixpkgs] @uvNikita opened pull request #37463 → todolist: init at 0.8 → https://git.io/vxnYC
zzamboni has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37464 → lib: Make platform predicates greppable history fix → https://git.io/vxnYz
aminechikhaoui has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #37464 → lib: Make platform predicates greppable history fix → https://git.io/vxnYz
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/vxnYV
<{^_^}> → 175d4ab1 by @Ericson2314: lib: Make platform predicates greppable
<{^_^}> → 2ce3df3f by @Ericson2314: Merge commit '543210751f46a4787fd0a5ef4c3bfa9a4b789e3c' into greppable
<{^_^}> → 326c9f50 by @Ericson2314: Merge pull request #37464 from obsidiansystems/greppable
zzamboni has joined #nixos
<rawtaz> mojjo: in an attempt to help, even though i dont know if there's a better way, here's how i specify a *newer* version of a package (newer than that's in the unstable channel): https://pastebin.mozilla.org/9080461
vidbina has joined #nixos
<tnks> Actually... I think my suspicions of nix-shell are warranted. The documented way of using Haskell packages with it doesn't work.
<{^_^}> [nixpkgs] @timor opened pull request #37465 → workcraft: init at 3.1.9 → https://git.io/vxnYA
boomshroom has joined #nixos
aminechikhaoui has joined #nixos
quez has quit [Ping timeout: 245 seconds]
<boomshroom> I have to go soon, so I'd like to make this quick. How can I have a derivation that creates a file in a specific directory of its output? Ie toFile "/etc/blah" "..."?
<{^_^}> [nixpkgs] @ryantm opened pull request #37466 → lastpass-cli: 1.2.2 -> 1.3.0 → https://git.io/vxnOG
Ariakenom has joined #nixos
<tnks> man... the docs are wrong... Stackoverflow has the answer: https://stackoverflow.com/questions/45022141/nix-shell-as-interpreter-for-runghc
zzamboni has quit [Ping timeout: 248 seconds]
<tnks> I suppose I can issue a patch to the docs.
<{^_^}> [nixpkgs] @ryantm opened pull request #37467 → lazarus: 1.8.0 -> 1.8.2 → https://git.io/vxnOE
<kthnnlg> Hi All, I'm using this guide https://blog.galowicz.de/2018/02/27/managing_libraries_with_nix/ as a reference for how to force nix-shell to use gcc instead of clang on darwin. However, what I see is the following `$ nix-shell --pure -p gcc7 --arg stdenv "with (import <nixpkgs> {}); overrideCC gccStdenv gcc7" --command "\$CXX --version" clang version 5.0.1 (tags/RELEASE_501/final)`. Does anyone know how I might get the desire
spietz has quit [Quit: WeeChat 1.9.1]
aminechikhaoui has quit [Read error: Connection reset by peer]
<mojjo> rawtaz: thanks for the code.. However, I think I see now that I have another problem. even if I install the 63 version via nix-env the latest version is opened. (It's linked to the older one but inside the settings of the browser the latest version shows up)
zzamboni has joined #nixos
<boomshroom> Basically, I'm setting i3 to look in my nix-profile so I can generate it with nix (without one of the many 3rd party home managers).
<tnks> also, "runghc" isn't a package in the root of "nixpkgs", so how does nix-shell find it as an interpretter?
<rawtaz> mojjo: uh, where is it getting the latest version from? is it just some value in your configuration, or is taht latest version still installed somewhere?
<tnks> oh... it's just a command called... sorry, I get it.
aminechikhaoui has joined #nixos
Guest91821 has quit [Changing host]
Guest91821 has joined #nixos
Guest91821 is now known as sdhand
<rawtaz> boomshroom: good question, i tried to find the answer real quick, no dice.
<boomshroom> I know from a previous thing I was trying that there's so many ways to do the same thing.
<wilornel> coconnor: It would be nice to discuss that solution later
kiloreux has quit [Quit: Leaving]
<wilornel> I've just found this https://stackoverflow.com/a/22045556/996427
<wilornel> which is not at all what I was asking about but I find it interesting
<clever> catern: there is an open bug with builtins.fetchGit, it will report a hash of all 0's if there are any un-commited changes
<clever> catern: it will also apply a filterSource over the whole tree, to delete anything git isnt aware of
<rawtaz> boomshroom: perhaps you can take one of the common things such as sshd and check how it generates the config files under /etc
<boomshroom> On an unrelated note, I'm tempted to try a sort of "NixOS From Scratch" inspired by LFS, except the builds are all done with Nix. One rule: No nixpkgs outside of bootstrapping gcc.
<catern> clever: ah. sounds unsuitable...
<mojjo> rawtaz: ok, I removed chromium from the global config.. And yeah, the command does not exist anymore. (also not in root's env).. When I open `/nix/store/vbhl1xx92xcsxb3f8iza5fdxppiv5fsg-chromium-63.0.3239.108/bin/chromium` the browser settings say 65
zzamboni has quit [Ping timeout: 248 seconds]
aminechikhaoui has quit [Read error: Connection reset by peer]
<rawtaz> mojjo: does that mean the problem is solved?
<rawtaz> mojjo: also, what did you do to specify which version you want?
<clever> boomshroom: go hard, bootstrap gcc as well, its easy!
<mojjo> rawtaz: no, the contrary
<maurer> mojjo: Is the browser already running elsewhere? Chrome/chromium apps first look for a running instance of chrome/chromium and spawn a new window off the main process
<rawtaz> mojjo: right you want 63
<boomshroom> clever: I mean. I can't compile GCC without GCC. The only ways to do that is to pass in a GCC from nixpkgs, or look at the path.
<mojjo> ohh, yeah... that's it
<clever> boomshroom: this file, and a tarball refered to nearby, give you a "complete" gcc toolchain: https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/linux/bootstrap-tools/scripts/unpack-bootstrap-tools.sh
<clever> boomshroom: this is the path to the pre-build gcc
<mojjo> it's running
<clever> boomshroom: nixpkgs uses that, to build the gcc specified in nixpkgs, so the version can still easily upgrade
<maurer> mojjo: If you want to run two versions, you can use two profiles
aminechikhaoui has joined #nixos
<maurer> mojjo: Look at the --user-data-dir flag to chromium
aszlig has quit [Quit: leaving]
<boomshroom> Unfortuately, I have to go. I'll look some more later. Bye!
boomshroom is now known as boomshroom-away
aszlig has joined #nixos
Tucky has quit [Quit: WeeChat 2.1]
rihards has joined #nixos
aminechikhaoui has quit [Read error: Connection reset by peer]
<YegorTimoshenko[> toString /foo results in string "/foo". how do i convert path to string so that path is still copied to nix store?
aminechikhaoui has joined #nixos
<catern> YegorTimoshenko[: why are you converting it to a string in the first place?
sigmundv has quit [Ping timeout: 260 seconds]
<catern> I've only ever done that when trying to avoid copying paths to the Nix store :)
<catern> anyway I think there's a toPath?
<{^_^}> [nixpkgs] @svanderburg pushed 2 commits to release-18.03: https://git.io/vxnsu
<{^_^}> → 09382774 by @svanderburg: titaniumenv: add 7.1 SDK and make it the default
<{^_^}> → 5a777d23 by @svanderburg: titaniumenv: remove obsolete java fix wrapper on darwin
<YegorTimoshenko[> catern: `services.nix-serve.secretKeyFile` requires a string or null
asuryawanshi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm opened pull request #37468 → lua51Packages.lgi: 0.9.1 -> 0.9.2 → https://git.io/vxnsP
asuryawanshi has joined #nixos
ma27 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #37190 → zoom-us: add desktop item → https://git.io/vxmhH
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/vxnsF
<{^_^}> → c234c01d by @kmicklas: zoom-us: add desktop item
<{^_^}> → ec8c3c82 by @Ericson2314: Merge pull request #37190 from kmicklas/zoom-us-desktop-item
<{^_^}> → 0e9d1fad by @kmicklas: zoom-us: fix preInstall
<{^_^}> [nixpkgs] @Twey opened pull request #37469 → toml: init at 0.9.4 → https://git.io/vxnGL
<nliadm> so with nix 2.0, pointing nix-shell at a file that evaluates to a derivation now fails if the derivation doesn't actually build
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #37460 → treewide: `meta.platforms` fixes now that it tracks the host platform → https://git.io/vxnLL
<{^_^}> [nixpkgs] @Ericson2314 pushed 5 commits to master: https://git.io/vxnGn
<{^_^}> → 3c8ae01a by @Ericson2314: lib: Make `platforms.all` actually match all platforms
<nliadm> as best as I can tell, anyway
<{^_^}> → d9a18002 by @Ericson2314: lib: Add `lib.platforms.windows`
<{^_^}> → e49c14c3 by @Ericson2314: libatomic_ops: Allow Building on Windows too
<nliadm> my wrapper script around nix-shell hasn't changed, at least
<{^_^}> [nixpkgs] @dotlambda merged pull request #37439 → Python fixes → https://git.io/vxZ21
<{^_^}> [nixpkgs] @dotlambda pushed 16 commits to master: https://git.io/vxnGz
<{^_^}> → ba74cf4d by @dotlambda: pythonPackages.django_pipeline: move expression
<{^_^}> → 127045d8 by @dotlambda: pythonPackages.slimit: init at 0.8.1
<{^_^}> → 6e78005e by @dotlambda: pythonPackages.django_pipeline: 1.5.1 -> 1.6.14
pie_ has quit [Ping timeout: 268 seconds]
aminechikhaoui has quit [Read error: Connection reset by peer]
aminechikhaoui has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 15 commits to release-18.03: https://git.io/vxnG5
<{^_^}> → f6c66f6c by @dotlambda: pythonPackages.django_pipeline: move expression
<{^_^}> → 99ac0883 by @dotlambda: pythonPackages.slimit: init at 0.8.1
<{^_^}> → 0aafdaec by @dotlambda: pythonPackages.django_pipeline: 1.5.1 -> 1.6.14
iyzsong has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @rasendubi merged pull request #37468 → lua51Packages.lgi: 0.9.1 -> 0.9.2 → https://git.io/vxnsP
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/vxnZT
<{^_^}> → e38d2884 by @ryantm: lua51Packages.lgi: 0.9.1 -> 0.9.2
<{^_^}> → fceb73de by @rasendubi: Merge pull request #37468 from ryantm/auto-update/lgi
ma27 has joined #nixos
maximiliantagher has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
aminechikhaoui has quit [Read error: Connection reset by peer]
boxofrox has joined #nixos
aminechikhaoui has joined #nixos
rauno has joined #nixos
jensens has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @svanderburg pushed 2 commits to release-17.09: https://git.io/vxnZD
<{^_^}> → 8968f683 by @svanderburg: titaniumenv: add 7.1 SDK and make it the default
<{^_^}> → 4fcf69f9 by @svanderburg: titaniumenv: remove obsolete java fix wrapper on darwin
coot has joined #nixos
<acowley_> If I do nix-shell -p llvmPackages.libcxxClang on a NixOS machine, I still get glibc on the compiler's search path. Is there any way to avoid that?
<{^_^}> [nixpkgs] @ryantm opened pull request #37470 → libcap_ng: 0.7.8 -> 0.7.9 → https://git.io/vxnnG
<nliadm> arg, now I can't reproduce
emilis has quit [Quit: Leaving]
Lisanna has joined #nixos
drakonis has joined #nixos
<acowley_> So the clang wrapper has a nix-support/libc-cflags that adds it
freeman42x]NixOS has joined #nixos
aminechikhaoui has quit [Read error: Connection reset by peer]
aminechikhaoui has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to master « Remove obsolete /nix/var/nix/{manifests,channel-cache} »: https://git.io/vxnco
<acowley_> Such a wrapper makes sense if you want to use clang in a gnu stdenv
<acowley_> But, it seems wrong if you want a libcxx stdenv
boomshroom-away is now known as boomshroom
<boomshroom> The magic of SSH.
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/vxnc9
<{^_^}> → 5df427f3 by @edolstra: Slight simplification
<{^_^}> → 9d407879 by @edolstra: Move builtinFetchurl to its own file
<{^_^}> → 668ac3ea by @edolstra: Make <nix/buildenv.nix> a builtin builder
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vxnCT
<{^_^}> → dc99ea44 by @dtzWill: ask autotools for c++14 support flags, not c++11; don't override later
<{^_^}> → bed22114 by @edolstra: Merge pull request #1997 from dtzWill/fix/cxx14-std-consistency
<{^_^}> [nix] @edolstra merged pull request #1997 → ask autotools for c++14 support flags, not c++11; don't override later → https://git.io/vxnqx
<{^_^}> [nixpkgs] @mbrgm opened pull request #37471 → journalbeat: 5.6.0 -> 5.6.8 → https://git.io/vxnCm
<boomshroom> Is it possible to view the channel logs from weechat?
<gchristensen> huh?
maximiliantagher has quit [Remote host closed the connection]
spietz has joined #nixos
maximiliantagher has joined #nixos
<acowley_> Is creating a copy of clang wrapper just to strip those include paths the only option?
<acowley_> I don't see any guard that could prevent adding the flags to unwrapped compiler call.
__Sander__ has quit [Quit: Konversation terminated!]
<acowley_> Maybe I can get away with using clang-unwrapped and libcxx as buildInputs, and ensuring NIX_CFLAGS_COMPILE is passed to the compiler.
<{^_^}> [nixpkgs] @ryantm opened pull request #37472 → libfixposix: 0.4.1 -> 0.4.3 → https://git.io/vxnWT
maximiliantagher has quit [Ping timeout: 240 seconds]
johnw has quit [Quit: ZNC - http://znc.in]
maximiliantagher has joined #nixos
Taneb has quit [Ping timeout: 265 seconds]
katona has quit [Quit: Connection closed for inactivity]
sdhand has quit [Ping timeout: 256 seconds]
sdhand has joined #nixos
<rawtaz> boomshroom: hey, does this help answering your previous question (how to generate custom files in the configuration)? https://stackoverflow.com/questions/45575297/how-do-i-append-text-to-a-etc-configuration-file-in-nixos
<boomshroom> rawtaz
sdhand is now known as Guest74715
<boomshroom> rawtaz: Looks like it will probably work
Slabity has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill merged pull request #37352 → zig: 0.1.1 -> 0.2.0 → https://git.io/vx3Mj
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/vxnli
<{^_^}> → dc3b7918 by @andrewrk: zig: 0.1.1 -> 0.2.0
<{^_^}> → d5797472 by @dtzWill: Merge pull request #37352 from andrewrk/zig-0.2.0
<rawtaz> boomshroom: once you try it, please let me know what you end up with, im very curious
Taneb has joined #nixos
raynold has joined #nixos
<boomshroom> rawtaz: The first problem is that that's for a nixos module wheras I'm trying to make a derivation that I can install in my user profile.
roberth has quit [Ping timeout: 252 seconds]
mojjo has quit [Ping timeout: 256 seconds]
<rawtaz> mhm
<boomshroom> I set i3 to look for the config in $HOME/.nix-profile/etc/i3/config
<{^_^}> [nixpkgs] @ryantm opened pull request #37474 → libgit2_0_25: 0.25.1 -> 0.26.3 → https://git.io/vxn8P
__monty__ has joined #nixos
<__monty__> Could someone point me in the right direction? I'd like to nix-shell R with the ggplot2 library for some plotting.
alex`` has joined #nixos
rauno has quit [Remote host closed the connection]
Myrl-saki has quit [Read error: Connection reset by peer]
aminechikhaoui has quit [Read error: Connection reset by peer]
aminechikhaoui has joined #nixos
Lisanna has quit [Quit: Lisanna]
MagneticDuck has quit [Quit: WeeChat 1.6]
<nliadm> glib-networking seems to not compile on unstable
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #24985 → Upgraded MinGW-W64 to stable version 5.0.3 → https://git.io/vSbEP
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/vxnRf
<{^_^}> → aec57cfa by @taktoa: mingw-w64: Add enable-idl / enable-secure-api flags
<{^_^}> → 1d3db813 by @angerman: mingw-w64: 4.0.6 -> 5.0.3
<{^_^}> → dfee3e63 by @Ericson2314: Merge pull request #24985 from taktoa/mingw-upgrade
<{^_^}> [nixpkgs] @ryantm opened pull request #37475 → libgpgerror: 1.27 -> 1.28 → https://git.io/vxnRc
aminechikhaoui has quit [Read error: Connection reset by peer]
ma27 has quit [Ping timeout: 256 seconds]
jrolfs has joined #nixos
aminechikhaoui has joined #nixos
<acowley_> __monty__: I'd expect you could get started with: nix-shell -p 'rWrapper.override { packages = with rPackages; [ ggplot2 ]; }'
<acowley_> __monty__: In that shell, you can start R, and dive straight into using ggplot2
<__monty__> acowley_: Ah, thanks. I found nixpkgs.R but no R.packages...
<Baughn> Just checking, but 'nix run nixpkgs.filelight' should give me a shell with filelight on the path, right?
<Baughn> The help text certainly suggests so.
ma27 has joined #nixos
Myrl-saki has joined #nixos
<Baughn> It's not working, but I have difficulty believing it's a real bug.
<Baughn> Hmm, indeed.
<Baughn> > nix run nixpkgs.filelight -c bash -c 'echo $PATH'
<Baughn> This gives different output from `nix run nixpkgs.filelight \n echo $PATH'
<{^_^}> [nixpkgs] @dotlambda closed pull request #37474 → libgit2_0_25: 0.25.1 -> 0.26.3 → https://git.io/vxn8P
ryanartecona has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f086e3ebde6 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jetien has joined #nixos
<Baughn> (Also, what happened to `nix install`?)
pkill9 has joined #nixos
aminechikhaoui has quit [Read error: Connection reset by peer]
aminechikhaoui has joined #nixos
<acowley_> __monty__: the nixpkgs manual is the place to check for such stuff, the nuisance being how R sort of defies searching :P
<__monty__> acowley_: Yes, I'd noticed : )
<catern> YegorTimoshenko[: btw a path is just a string so you should be able to pass a path directly, without calling toString
<catern> I think, anyway
aminechikhaoui has quit [Read error: Connection reset by peer]
<YegorTimoshenko[> catern: that doesn't work unfortunately, which is why i'm asking
<catern> figured I might as well ask :)
<hyper_ch> hmmm, nixos-unstable and nixos-unstable-small are still broken
jrolfs has quit [Ping timeout: 260 seconds]
<Baughn> Hum. services.openssh.forwardX11 is broken.
<acowley_> Seems a shame that nix run doesn't have nix-shell's ability to take a Nix expression to evaluate as in that R example
jrolfs has joined #nixos
aminechikhaoui has joined #nixos
<Baughn> ...no, sshd_config isn't being written at all. What.
<Baughn> Oh, it's just not being linked. Hmm.
<srhb> Baughn: Into /etc ? It never was, afaik.
<srhb> Baughn: It's passed directly as the -f argument to sshd
<Baughn> ssh_config is, so I was assuming..
<Baughn> Yeah, I found that.
<srhb> :)
<Baughn> Seems like ForwardX11 is disabled administratively on my workstation. :X
<Baughn> Figures. Makes sense, I suppose, but it didn't use to do that.
<{^_^}> [nixpkgs] @ryantm opened pull request #37476 → libjpeg_original: 8d -> 9c → https://git.io/vxnEw
<Baughn> I think `nix run` is executing /etc/profile... which overwrites PATH>
<Baughn> Can't prove it yet.
Zigma has left #nixos [#nixos]
<coconnor> ! let x = /proc/cpuinfo ; in toString x
<coconnor> does that not exec in the repl?
__monty__ has left #nixos [#nixos]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7b9ca7b7c5f (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<coconnor> pff I can't remember how to ask the bot to exec a nix statement, but
<coconnor> let x = /proc/cpuinfo ; y = "${x}" ; in toString y
<gchristensen> #nixos doesn't have such a bot
<coconnor> OH
<infinisil> Damnit
<boomshroom> I can I write an IRC bot? :P
<infinisil> I tried to create one once, but nix-repl broke gchristensen's bot completely, and hnix doesn't work well
<infinisil> (as in i wrote a bot backend for gchristensen's frontend)
jrolfs has quit [Quit: WeeChat 2.0]
<infinisil> boomshroom: If you have the time please do!
dahirsch has joined #nixos
<boomshroom> So you already tried to write a nix-evaluator irc bot?
<infinisil> boomshroom: A nix-repl bot would be so nice
mudri has joined #nixos
<infinisil> boomshroom: The way to go is to incrementally define a file and evaluate that using nix-instantiate
<{^_^}> [nix] @dtzWill opened pull request #1998 → execl: cast NULL sentinel to (char *), per man page and compiler warning → https://git.io/vxnzY
<infinisil> so e.g. start with `let \n\n in null`, then when somebody types `x = 10`, make the file `let \n x = 10; \n in null`
<dahirsch> question concerning uefi: im using grub2. netbook does not boot with 'uefi only' option. it does boot with 'legacy enabled' and if i choose 'uefi first' or 'legacy first' is irrelevant. when it does boot, it uses uefi (tested by inspecting /sys). any idea how to use it with 'uefi only'?
<infinisil> then when somebody types `x`, make the file `let \n x = 10; \n in x`
<infinisil> which will output the value of x, which you can then print
<infinisil> dahirsch: have you set boot.loader.grub.device = "nodev"?
<dahirsch> yes
<{^_^}> [nixpkgs] @ryantm opened pull request #37477 → mpd_clientlib: 2.13 -> 2.14 → https://git.io/vxnz2
<infinisil> dahirsch: and canTouchEfiVars?
<boomshroom> I know that nix seems to have library bindings. I've also been atempting to write my own evaluator, but it's been tricky.
<dahirsch> yes, if you'd like i can link the config
<srhb> boomshroom: Does it?
<infinisil> srhb: It does have a C++ library of sorts I thought
<srhb> I suppose, in the sense that the executables wrap around that.
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to gnome-3.28: https://git.io/vxngv
<{^_^}> → d16bf733 by @hedning: gnome3.gnome-shell: add NetworkManagerApplet
<{^_^}> → 4cdb32e5 by @jtojnar: gtk3: fix gtk-encode-symbolic-svg
<{^_^}> → e1e41af5 by @jtojnar: webkitgtk220x: cleanup
<boomshroom> Unrelatedly: I ended up searching emoji. Apparently there are wizard and fairy emoji and unicode 11.0 will be adding superheroes and redheads.
<boomshroom> What kind of fonts have you guys been using for emoji?
<coconnor> boomshroom: check the source to the "nix" command. Pretty clean c++ demonstrating using the library for a repl
<srhb> Whatever can render HAMMER AND SICKLE
Olgierd has quit [Quit: WeeChat 1.9.1]
Olgierd has joined #nixos
Olgierd has quit [Changing host]
Olgierd has joined #nixos
<infinisil> C++ just never looks clean in my opinion
<coconnor> "clean" is relative ;)
<boomshroom> Antiquotations seem particularly complicated.
ma27 has quit [Ping timeout: 256 seconds]
abathur has quit [Ping timeout: 248 seconds]
<infinisil> Whoaa, did you guys know that nixpkgs contains tests for the module system??
<srhb> infinisil: Wuh?
<infinisil> srhb: nixpkgs/lib/tests/modules
<infinisil> No idea why it's in lib..
tilpner has quit [Remote host closed the connection]
<catern> hmm
<srhb> Hm. No idea if those are even run...
<catern> given two paths
<catern> in Nix
<catern> is it possible to convert one path to be relative to the other path?
muzzy has joined #nixos
<coconnor> IIRC that is the test for the modules data structure. Which is (technically) independent of nixos.
tilpner has joined #nixos
<catern> let me be slightly more concrete: for $reasons I want to be able to figure out the location within the nixpkgs repo of a default.nix file
<infinisil> coconnor: Yeah it's completely independent, home-manager uses the module system too
<catern> from within that default.nix file
<catern> any thoughts? is it possible?
<infinisil> catern: ./. + "/foobar.nix"
<mpickering> Can a darwin contributor please review https://github.com/NixOS/nixpkgs/pull/36902 so I can stop rebasing it :(
<catern> infinisil: oh wow, okay, perfect start :) but that leaves the location of the nixpkgs repo as a prefix, so next question: is there a way to remove a path prefix from a path?
<infinisil> catern: baseNameOf?
acowley_ is now known as acowley
<infinisil> And paths are just strings, so you can just use the string manipulation functions
<clever> paths are a bit weird though
<clever> ./. + "/" == ./.
<catern> infinisil: I don't want the basename, I want to take "a/b" and "a/b/c/d" and get "c/d"
vidbina has quit [Quit: leaving]
<infinisil> catern: "a/b" + "/" + "c/d" :)
<clever> also, "${./.}" is very different from (toString ./.)
<clever> infinisil: and ./. + "/" + "c/d" will fail horridly
FareTower has quit [Ping timeout: 248 seconds]
<catern> infinisil: I think I explained poorly, the inputs are "a/b" and "a/b/c/d"
<catern> "c/d" is the output
Synthetica has quit [Quit: Connection closed for inactivity]
<clever> infinisil: nix strips the trailing / off after each append
<infinisil> clever: Yeah you told me before too :) They are *almost* string
<infinisil> oh
<infinisil> catern: removePrefix i think
<catern> more concretely, my inputs are "/home/sbaugh/.local/src/nixpkgs" "/home/sbaugh/.local/src/nixpkgs/sources/tools/system" and I want "sources/tools/system"
<{^_^}> [nixpkgs] @ryantm opened pull request #37478 → libsForQt5.libopenshot: 0.1.7 -> 0.1.9 → https://git.io/vxn22
<catern> (they're paths actually so remove the quotes there)
<infinisil> Hmm
<infinisil> yeah, removePrefix
tilpner has quit [Quit: :wq]
<dahirsch> @infinisil this is the relevant section: https://0bin.net/paste/hU6CKgmw+LAG01bV#xGtKqpt8vdRErNnpXhCESaQ7q901Zk65+q2tYYo7DHt
<infinisil> removePrefix "/home/sbaugh/.local/src/nixpkgs" "/home/sbaugh/.local/src/nixpkgs/sources/tools/system"
<catern> okay, so then the final thing is, is there any variable in nixpkgs.lib already which contains the location of the nixpkgs root?
<catern> so I can do the relative thing without having to rely on removePrefix ../../.. ./.
mudri has quit [Ping timeout: 248 seconds]
<catern> and can just do removePrefix nixpkgsroot ./.
<infinisil> dahirsch: Maybe clever could help with this, he's pretty experienced with Bios/Uefi and boot problems
<infinisil> catern: <nixpkgs>
<catern> infinisil: that will fail whenever NIX_PATH isn't set
<dahirsch> okay, ill message him
<infinisil> catern: Well what is the base if you don't know a <nixpkgs>?
<infinisil> catern: But you can rely on the depth of the file never changing
<catern> it's ../../.. if i'm three levels deep :)
<infinisil> catern: lots of places in nixpkgs do that
<{^_^}> [nixpkgs] @dtzWill pushed 5 commits to release-18.03: https://git.io/vxn2Q
<{^_^}> → 828d15e9 by @dtzWill: python*: set thread stack size on musl
<{^_^}> → 67cdc01b by @dtzWill: llvm4: same treatment
<{^_^}> → 043ee6c6 by @dtzWill: llvm_5: patch sanitizers to enable w/musl
<clever> catern: pkgs.path is the path to the nixpkgs that pkgs came from
<clever> dahirsch: *waves*
<infinisil> dahirsch: (just ask here)
<dahirsch> ok then
<infinisil> clever: Oh i didn't know that
<infinisil> Nice
<clever> dahirsch: that config looks like it should work, what is failing?
<dahirsch> clever: question concerning uefi: im using grub2. netbook does not boot with 'uefi only' option. it does boot with 'legacy enabled' and if i choose 'uefi first' or 'legacy first' is irrelevant. when it does boot, it uses uefi (tested by inspecting /sys). any idea how to use it with 'uefi only'?
Taneb has quit [Ping timeout: 260 seconds]
Neo-- has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4fcf69f9eca (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
Guest74715 has quit [Ping timeout: 246 seconds]
<clever> dahirsch: that sounds odd, what does efibootmgr say?
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37479 → haskell-generic-builder: Add `enableHsc2hsViaAsm` for Windows cross compilation → https://git.io/vxnaT
tilpner has joined #nixos
sdhand has joined #nixos
sdhand is now known as Guest2264
Taneb has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
katyucha has joined #nixos
maximiliantagher has joined #nixos
<dahirsch> looks like you are using the failsave path: \EFI\BOOT\BOOTX64.EFI and im not
tilpner has quit [Quit: :wq]
<clever> dahirsch: boot.loader.grub.efiInstallAsRemovable = true;
<dahirsch> failsave in the sense that this is the default location for bootloaders, apart from the windows one
tilpner has joined #nixos
<clever> dahirsch: i did this install over a legacy netboot, so the efi services where not available during install
<dahirsch> ill give it a try
dvim has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @abbradar merged pull request #37461 → krita: 3.3.3 -> 4.0.0 → https://git.io/vxnq7
<{^_^}> [nixpkgs] @abbradar pushed commit from @ryantm to master « krita: 3.3.3 -> 4.0.0 (#37461) »: https://git.io/vxnVz
<{^_^}> [nixpkgs] @ryantm opened pull request #37480 → libsForQt5.libopenshot-audio: 0.1.4 -> 0.1.5 → https://git.io/vxnV2
katyucha has quit [Quit: leaving]
maximiliantagher has quit [Ping timeout: 246 seconds]
katyucha has joined #nixos
<{^_^}> [nixpkgs] @dtzWill pushed commit from @andrewrk to release-18.03 « zig: 0.1.1 -> 0.2.0 »: https://git.io/vxnVi
<maurer> So, I have had
simendsjo has joined #nixos
<maurer> services.logind.extraConfig = "HandleLidSwitch=ignore" in my configuration.nix for a while
maximiliantagher has joined #nixos
<maurer> but after a recent upgrade, my laptop has started sleeping on lid close again
<dtz> Sonarpulse: mingw updates?! :D
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4fcf69f9eca (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<dtz> what's all this, then?
<Sonarpulse> dtz: the mingw stuff?
<maurer> Oh, ugh, I found the problem
<dtz> yah
<Sonarpulse> I did that
<dtz> oh I see you merged but weren't author
<dtz> xD
<dtz> just hype hype
<Sonarpulse> two different commits
<maurer> nixos introduced a configuration value for handlelidswitch
<Sonarpulse> two different authors
<maurer> but rather than emitting nothing to the configuration file if it's at default
<maurer> it emits an explicit suspend directive
<maurer> which overrides my extraConfig
<Sonarpulse> but I am the commiter for both :D
<dtz> oh xD
tilpner has quit [Quit: :wq]
tilpner has joined #nixos
tilpner has quit [Client Quit]
tilpner has joined #nixos
boomshroom is now known as boomshroom-away
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37481 → libpqxx: 6.1.0 -> 6.1.1 → https://git.io/vxnrt
<{^_^}> [nixpkgs] @abbradar pushed 2 commits to master: https://git.io/vxnrO
<{^_^}> → ab67f36e by @abbradar: xdg_utils: fix xdg-screensaver
<{^_^}> → 79216189 by @abbradar: steam: add dependencies for Surviving Mars
<{^_^}> [nixpkgs] @abbradar pushed 2 commits to release-18.03: https://git.io/vxnrc
<{^_^}> → 69e8d7dd by @abbradar: steam: add dependencies for Surviving Mars
<{^_^}> → 97a2621d by @abbradar: xdg_utils: fix xdg-screensaver
<catern> clever: infinisil: but how can I construct this path programmatically and have it still automatically pull things into the store when used?
<dahirsch> clever: nixos-rebuild switch does not trigger the reinstallation of grub?
<clever> dahirsch: one sec
<clever> dahirsch: in the nixos-rebuild man page is --install-bootloader
ma27 has joined #nixos
<thoughtpolice> Does the new nix run take an -I flag? Where does it get nixpkgs from on NixOS?
<clever> thoughtpolice: it still obeys NIX_PATH and -I as always
<{^_^}> [nixpkgs] @Ericson2314 pushed commit from @angerman to master « haskell-generic-builder: Add `enableHsc2hsViaAsm` for Windows cross compilation »: https://git.io/vxnrK
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #37479 → haskell-generic-builder: Add `enableHsc2hsViaAsm` for Windows cross compilation → https://git.io/vxnaT
<thoughtpolice> Another weirdness: nix-env -iA and e.g. 'nix run' take different prefix names? nix-env -iA expects e.g. 'nixos.awscli' while nix run uses 'nixpkgs.awscli'
kuznero has joined #nixos
<kuznero> Hi All!
<clever> thoughtpolice: ah, i hadnt figured out the prefixes with run and had been using `nix run -f '<nixpkgs>' hello`
<kuznero> Does ghc exists in Nix packages that is built against musl instead of glibc?
<clever> kuznero: i dont think so, but Sonarpulse might know more about how to flip that switch
<Sonarpulse> kuznero: use a cross or native musl stdenv and try it
<Sonarpulse> no idea if anything special is needed
<Sonarpulse> domenkozar I think was looking into this
<kuznero> Sonarpulse: but is it practically possible or just theoretical?
<dtz> I don't think we have ghc musl support, IIRC missing bootstrap compilers? maybe?
<dtz> haven't tried at all, just reporting what I remember :)
<kuznero> :(
<clever> the cross stuff would be simpler, it can be a glibc based ghc, that targets musl based executables
<clever> that feels like something easier to manage
<kuznero> I am dreaming of beating GoLang by compiling Haskell into really statically linked binary
darlan has joined #nixos
darlan has quit [Client Quit]
<catern> wait, I see how, to do what I want, I can just do: /. + mypath
<catern> that's hacky but alright
<dtz> if you do much with musl I strongly recommend using cache.allvm.org, since I don't think cache.nixos.org has any musl-native binaries (err it has things cross-built against musl...)
<dtz> haha
<clever> catern: i think builtins.toPath does that already
<catern> no, builtins.toPath is broken, apparently
<catern> and does nothing
hph^ has joined #nixos
<kuznero> Is the story of GHC+Musl better on any other linux distro by any chance?
<thoughtpolice> clever: I am playing around more and the semantics totally confuse me. Ugh. I figured out what I need though, thanks as usual!
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37482 → cross stdenv: Make depsBuildBuild overrideable by config too. → https://git.io/vxnoc
<thoughtpolice> (Mainly: I just wanted to make sure I was always using my /etc/nixos/nixpkgs everywhere, since I try hard to put everything on an upstream-able track)
<dtz> nvm I was thinking of rust anyway
<{^_^}> [nixpkgs] @ryantm opened pull request #37483 → srtp: 1.5.4 -> 2.1.0 → https://git.io/vxno8
<dtz> kuznero: probably, try musl-focused distro's like alpine or void?
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to gnome-3.28: https://git.io/vxno4
<{^_^}> → 192b43de by @jtojnar: webkitgtk220x: cleanup
<{^_^}> → 3650fcc7 by @jtojnar: networkmanagerapplet: clean up
<{^_^}> → 6eee8f54 by @jtojnar: gnome3.evince: clean up
<dtz> if anyone has that working they probably do
<dtz> maybe fallback check gentoo's musl overlay
<kuznero> dtz: thanks, then it might be perhaps more realistic to build in docker image based on alpine (if ghc happen to be available there)
<dahirsch> clever: is it possible that the efibootmgr entries are not automatically updated?
<clever> dahirsch: depends on the bios, ive seen one that just ignores the config entirely, and only ever boots the windows path
<dahirsch> i mean after running nixos-rebuild switch --install-bootloader, the entries have not changed at al
hotfuzz has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37484 → top-level: Move comma for stylistic consistency → https://git.io/vxnoi
<dahirsch> clever: ^
hotfuzz_ has quit [Ping timeout: 240 seconds]
<clever> dahirsch: is this from inside the install or from an installation cd?
<dahirsch> from inside
<clever> not sure then
MP2E has joined #nixos
<clever> but you can check the man page for efibootmgr, and try playing with it some more
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « gnome3.evolution: clean up »: https://git.io/vxno7
<{^_^}> [nixpkgs] @nlewo merged pull request #36988 → stabber: init at 2016-11-09 → https://git.io/vxkxW
<{^_^}> [nixpkgs] @nlewo pushed 3 commits to master: https://git.io/vxnod
<{^_^}> → 6634049f by @hschaeidt: stabber: init at 2016-11-09
<{^_^}> → 86ff559f by @hschaeidt: add hschaeidt to maintainer list
<{^_^}> → ba96a902 by @nlewo: Merge pull request #36988 from hschaeidt/stabber
<dahirsch> sure, it should be possible to hardcode the default path, ill try that
maximiliantagher has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #37486 → haskell: only use glibcLocales when using glibc → https://git.io/vxnKO
<thoughtpolice> clever: uhhh is this a bug lol https://gist.github.com/thoughtpolice/af539fc16f6d19aee8384d5aef57f565
<clever> thoughtpolice: what shell are you using?
<thoughtpolice> zsh
<clever> thoughtpolice: try again with `export SHELL=/run/current-system/sw/bin/bash` ?
<thoughtpolice> But why does that matter? It executes and drops me into bash, right? And wouldn't it set $PATH inside that shell, then?
<clever> thoughtpolice: your .profile and such may be broken
<clever> though yeah, changing SHELL wont fix that
asuryawa_ has joined #nixos
<thoughtpolice> no dice
<thoughtpolice> But I'd be surprised if my profile is broken. I think it's empty.
ryanartecona has quit [Quit: ryanartecona]
<thoughtpolice> I just set zsh as the default shell and enabled ZSH syntax highlighting, that's all.
<thoughtpolice> Maybe I can check my laptop which has Bash, but it's not NixOS, either
<clever> thoughtpolice: what about `nix run -f '<nixpkgs>' hello -c bash` ?
<clever> and `-c bash -x` maybe
asuryawanshi has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « gnome3.vino: clean up »: https://git.io/vxnKH
ertes has quit [Remote host closed the connection]
<kuznero> Have anybody tried this wrt GHC+musl https://github.com/redneb/ghc-alt-libc ?
ertes has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37487 → libtirpc: 1.0.2 -> 1.0.3 → https://git.io/vxnKj
rardiol1 has joined #nixos
<dtz> what is this?! https://hydra.nixos.org/build/70806641#tabs-details lol surely not?! xD
<dtz> lol it's broken now :( but
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #37482 → cross stdenv: Make depsBuildBuild overrideable by config too. → https://git.io/vxnoc
<{^_^}> [nixpkgs] @Ericson2314 pushed to master « cross stdenv: Make depsBuildBuild overrideable by config too. »: https://git.io/vxn6P
humanoyd has quit [Quit: WeeChat 2.1]
maximiliantagher has joined #nixos
<dtz> $ qemu-aarch64 /nix/store/lcw90icbaakys5c1vi4ixvjsyriycxk1-hello-1.0.0.2-aarch64-unknown-linux-musl/bin/hello
<dtz> (it works! lol)
robstr has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #37484 → top-level: Move comma for stylistic consistency → https://git.io/vxnoi
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vxn6p
<{^_^}> → 1108d973 by @Ericson2314: Merge pull request #37484 from obsidiansystems/style-nit
<{^_^}> → abf27609 by @Ericson2314: top-level: Move comma for stylistic consistency
mtjmullen has quit [Quit: WeeChat 2.0]
<Sonarpulse> kuznero: no idea
kthnnlg has quit [Remote host closed the connection]
<Sonarpulse> yeah cross should be practical
<{^_^}> [nixpkgs] @ryantm opened pull request #37488 → xorg.libXfixes: 5.0.2 -> 5.0.3 → https://git.io/vxniw
maximiliantagher has quit [Remote host closed the connection]
muzzy has quit [Read error: Connection reset by peer]
<tnks> has anyone ever talked about "nix-shell" or "nix run" keeping links protecting garbage collection while they are running?
<tnks> (I don't think that's the case currently).
<tnks> or maybe it is...
maximiliantagher has joined #nixos
jetien has quit [Quit: Leaving.]
pxc has joined #nixos
<coconnor> gc scans the process tree. I would expect it to capture the process for the derivation nix-shell generates
<coconnor> tho I don't know the details
drakonis has quit [Read error: Connection reset by peer]
dan_b has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 104 commits to gnome-3.28: https://git.io/vxnPQ
<{^_^}> → af563f34 by @jtojnar: meson: fix rpath fixup
<{^_^}> → 9741f12b by @jtojnar: deja-dup: remove unneeded rpath fixup
<{^_^}> → 5a7858d8 by @jtojnar: epiphany: remove unneeded rpath fixup
asuryawanshi has joined #nixos
asuryawa_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ryantm opened pull request #37489 → xorg.libxshmfence: 1.2 -> 1.3 → https://git.io/vxnXI
ottidmes has quit [Quit: WeeChat 1.9.1]
muzzy has joined #nixos
asuryawa_ has joined #nixos
abrar has joined #nixos
asuryawanshi has quit [Read error: Connection reset by peer]
Synthetica has joined #nixos
abrar has quit [Client Quit]
abrar has joined #nixos
<coconnor> anyone familiar with this "Invalid Service" error for kde system monitor? https://gist.github.com/coreyoconnor/291f984c935b517c3af08a9a3238aabe
dan_b has quit [Remote host closed the connection]
d0nkey has quit [Ping timeout: 264 seconds]
JosW has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @ryantm opened pull request #37490 → libyamlcpp: 0.6.1 -> 0.6.2 → https://git.io/vxn1K
abrar has quit [Quit: WeeChat 2.0]
<dtz> tnks: nix-shell and nix-run establish temporary roots that the GC will respect
<dtz> in /addition/, IIRC, it scans the process tree to be super sure nothing is missed
<dtz> lol
jrolfs has joined #nixos
<pxc> wait, what's nix-run again?
<pxc> I knew about nix-shell and nix-script ( https://github.com/bennofs/nix-script ) but idr nix-run
<gchristensen> `nix run` is part of Nix 2.0
reinzelmann has quit [Quit: Leaving]
<pxc> actually that might be the wrong `nix-script`
<{^_^}> [nixpkgs] @dezgeg pushed 4 commits to unstable-aarch64: https://git.io/vxnMv
<{^_^}> → e857626d by @dezgeg: edk2: Reformat a bit for readability
<{^_^}> → 25c6c3fc by @dezgeg: OVMF: Reformat a bit for readability
<pxc> ah, okay
<{^_^}> → e16f2f25 by @dezgeg: edk2, OVMF: Build on aarch64
<tnks> dtz: okay, so that's very good to know!
<pxc> is there a new best way to do `shell.nix` type stuff and/or magic shebangs, then?
<tnks> dtz: these links are maintained in /nix/var/nix/gcroots/auto?
<clever> dtz: it also scans env vars, and several others
abrar has joined #nixos
<clever> tnks: gcroots/auto is for things like the result symlinks
<{^_^}> [nixpkgs] @abbradar merged pull request #37487 → libtirpc: 1.0.2 -> 1.0.3 → https://git.io/vxnKj
<{^_^}> [nixpkgs] @abbradar pushed commit from @ryantm to master « libtirpc: 1.0.2 -> 1.0.3 (#37487) »: https://git.io/vxnML
<tnks> clever: then where are the gcroots keeping nix-shell/nix-run stuff alive?
abrar is now known as Guest92547
<clever> tnks: oh, but i think some of gcroots/auto points to stuff nix-shell manages
<tnks> Is that all done with live process detection?
<tnks> okay.
<clever> tnks: nix-shell keeps similar links in /tmp, which it will clean up
<dtz> eep IIRC tirpc 1.0.3 broke some things search logs and notes
<tnks> I'll make a small test with a sleep to test.
maximiliantagher has quit [Remote host closed the connection]
<clever> tnks: you can just run the nix-shell then ls -ltrh the auto dir while the shell is open
dan_b has joined #nixos
<clever> lrwxrwxrwx 1 root root 29 Mar 20 12:58 mx08rprk330vx7r8xzb033wgb6k3fc1m -> /tmp/nix-build-30471-0/result
maximiliantagher has joined #nixos
<clever> infact, just an ls -ltrh on auto reveals this
<tnks> clever: what cleans up the broken links in gcroots/auto?
<tnks> only a nix-collect-garbage?
freeman42x]NixOS has quit [Quit: Leaving]
<clever> tnks: any form of garbage collection
<clever> thats the very first step it does
<tnks> clever: okay, that's good that it creates an indirect link.
<dtz> (nevermind me, I'm just wrong, 1.0.3 was just released hehe. I probably am thinking of 1.0.2 and since that's what we use already fixed whatever it was xD xD)
<tnks> but does this mean that if I never do an explicit garbage collection, broken indirect links from every invocation of nix-shell will just accrue?
Ariakenom has quit [Quit: Leaving]
<tnks> in gcroots/auto, I mean.
<clever> [clever@amd-nixos:~/iohk/daedalus]$ nix-collect-garbage --max-freed 1
<clever> warning: unknown setting 'build-extra-platforms'
<clever> finding garbage collector roots...
<clever> removing stale link from '/nix/var/nix/gcroots/auto/m10fzld4yn1qz2j0cm7pc5r5lvj2cggm' to '/tmp/nixos-rebuild.yDMmHJ/nix.drv'
Guest92547 has quit [Client Quit]
<clever> tnks: this stops the GC after deleting 1 byte of garbage
<clever> but it will still clean up the auto dir first
<clever> tnks: yeah
<tnks> I mean, that's fine... but it still seems kind of sloppy to create garbage that liberally.
<tnks> I mean, why not just clean up when the process exits?
<clever> tnks: i'm up to 218 of such links, that are all valid
<tnks> clever: hmm... then maybe it does clean them out... I don't know.
<tnks> I'll have to run a local test.
<clever> i just did a gc above
<clever> thats why i lack invalid ones
<clever> i also have a systemd timer that does a gc every day at midnight
<clever> tnks: it also sometimes leaves stray .lock files in /nix/store/ and failed outputs in the store
dahirsch has quit [Remote host closed the connection]
abrar_ has joined #nixos
elasticdog has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #37491 → vim-plugins: updates! → https://git.io/vxnDR
<{^_^}> [nixpkgs] @pSub pushed to master « st: 0.8 -> 0.8.1 »: https://git.io/vxnDu
mtjmullen has joined #nixos
elasticdog has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
sanscoeu_ has joined #nixos
asuryawa_ has quit [Remote host closed the connection]
muzzy has quit [Remote host closed the connection]
muzzy has joined #nixos
Lears has quit [Remote host closed the connection]
abrar_ has quit [Quit: WeeChat 2.0]
abrar_ has joined #nixos
sanscoeur has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @shlevy pushed to glibc-2.27 « Revert "atlas: 3.10.2 -> 3.10.3" »: https://git.io/vxny1
Lears has joined #nixos
maximiliantagher has joined #nixos
sanscoeu_ has quit [Ping timeout: 256 seconds]
muzzy has quit [Ping timeout: 260 seconds]
chisui has quit [Ping timeout: 260 seconds]
jtojnar_ has joined #nixos
boomshroom-away is now known as boomshroom
jtojnar has quit [Read error: Connection reset by peer]
<pxc> is there an official or de facto steward of Nix's environment initialization functionality (e.g., ~/.nix-profile/etc/profile.d/nix.sh)?
<boomshroom> It can be annoying trying to use a project that insists on prebuilt tools.
<shlevy> pxc: the Nix core team, effectively
<{^_^}> [nixpkgs] @geistesk opened pull request #37492 → st: dmenu-dependency and patch → https://git.io/vxnSb
jtojnar_ has quit [Ping timeout: 256 seconds]
<tnks> clever: okay, I'll run similar experiments on my machine to validate.
<tnks> I'm just not doing any GC on this cluster, because it's Docker-based, and I'm playing games with links.
<pxc> shlevy: I would like to ask some questions about it and to sound out some propositions, but I'm afraid if I make a PR or an RFC, I'll accidentally write a wall of text and no one will read it
<pxc> maybe I should just go for it
<shlevy> pxc: If you make an RFC it will get reviewed and eventually decided on now
fendor has joined #nixos
simendsjo has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<wervenyt[m]> anyone use kde connect on nixos?
mudri has joined #nixos
<pxc> shlevy: I'll write one up after work, then. thanks for the nudge
ma27 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @shlevy pushed 2 commits to glibc-2.27: https://git.io/vxnHL
<{^_^}> → c6b71f55 by @shlevy: attr: Remove /bin/sh dependency.
<{^_^}> → 5ce31aa6 by @shlevy: Revert "atlas: 3.10.2 -> 3.10.3"
<{^_^}> [nixpkgs] @shlevy pushed 2 commits to binutils-2.30: https://git.io/vxnH3
<{^_^}> → 3027bca0 by @shlevy: binutils: Bump default to 2.30
<{^_^}> → 1fa4b714 by @shlevy: binutils: Revert apparently-broken multiple-definition support in gold.
MichaelRaskin has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #37472 → libfixposix: 0.4.1 -> 0.4.3 → https://git.io/vxnWT
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxnHK
<{^_^}> → f1f6b462 by @ryantm: libfixposix: 0.4.1 -> 0.4.3
<{^_^}> → 876158c5 by @7c6f434c: Merge pull request #37472 from ryantm/auto-update/libfixposix
<{^_^}> [nixpkgs] @7c6f434c merged pull request #37467 → lazarus: 1.8.0 -> 1.8.2 → https://git.io/vxnOE
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxnH6
<{^_^}> → 87420118 by @ryantm: lazarus: 1.8.0 -> 1.8.2
<{^_^}> → dae90116 by @7c6f434c: Merge pull request #37467 from ryantm/auto-update/lazarus
<{^_^}> [nixpkgs] @shlevy pushed to binutils-2.30 « pcre: Fix /bin/sh dependency »: https://git.io/vxnH9
<infinisil> Ummmm
<infinisil> Trying to hunt down why erlang fails to even start
<{^_^}> [nixpkgs] @makefu closed pull request #31944 → simp_le: 0.6.1 -> 0.6.2 → https://git.io/vFNwG
<infinisil> And through bisection i found that this curl upgrade broke it: https://github.com/NixOS/nixpkgs/commit/557aa6e7d7a6bc03b845098d518725c1d77af5d4
<infinisil> Yes you heard that right, *curl*
ron__ has quit [Ping timeout: 260 seconds]
<MichaelRaskin> infinisil: haven't you heard?
<infinisil> I have not
<MichaelRaskin> There are multiple versions of what-sh-to-use-in-sandbox
<pxc> who would win? a programming language used to build massively scalable soft real-time systems with requirements on high availability... or one curly boi?
<MichaelRaskin> (which is about the Nix build)
<infinisil> pxc: haha
<infinisil> MichaelRaskin: I don't get that
<MichaelRaskin> _anything_ that triggers a rebuild of some packages (erlang included) on a box with unfortunate /bin/sh replacement triggers a failure
<gchristensen> pxc: obviously one curly boi
<MichaelRaskin> curl included
<infinisil> MichaelRaskin: No, I can reproduce it locally
<MichaelRaskin> Maybe you also have a build of Nix that puts unsuitable /bin/sh inside sandbox
<MichaelRaskin> At some point there was busybox stripped down below POSIX requirements
katyucha has quit [Ping timeout: 264 seconds]
<freeman42x> could someone recommend an external PDF viewer that does not render blurry (evince issue)?
<MichaelRaskin> I guess blurriness depends on PDF
<MichaelRaskin> zathura uses a different engine
<infinisil> MichaelRaskin: Are you saying my /bin/sh is bad?
<MichaelRaskin> Or xpdf
<MichaelRaskin> infinisil: no
<pxc> freeman42x: is it a DPI scaling issue? Okular looked horrible on HiDPI until a recent release. It turned out it was rendering at the wrong size
<MichaelRaskin> I am saying that your Nix puts an over-weakened version of busybox inside the build environment as /bin.sh
<pxc> anyway Okular is pretty good. It will pull in some KDE deps, ofc
<{^_^}> [nixpkgs] @makefu opened pull request #37493 → simp_le: 0.6.1 -> 0.8.0 → https://git.io/vxnQ6
<pxc> like the ol' `bash` vs `bashInteractive` thing
<infinisil> MichaelRaskin: So i should try it with nix 1.11? or what are you suggesting?
<pxc> which was visible to `nix-shell` users
<MichaelRaskin> Update Nixpkgs and build Nix from there.
<MichaelRaskin> It is a parameter passed in Nixpkgs
<wervenyt[m]> freeman42x: I use zathura
<MichaelRaskin> I.e. a new Nix 2.0 should also work
<duckwho> freeman42x: llpp!
jrolfs has quit [Ping timeout: 268 seconds]
<duckwho> fastest most lightweight pdf viewer i've ever used
coot has quit [Quit: coot]
<infinisil> MichaelRaskin: How are you so certain this will fix it? Got any link to related problems or so?
<pxc> (I am pleased at the now-overwhelming number of PDF viewers which have been recommended)
<infinisil> pbogdan: Oh
<infinisil> Well I just tried to track down the bug for an hour for nothing haha
jrolfs has joined #nixos
<MichaelRaskin> That's why you search issue tracker first!
<MichaelRaskin> I mean, erlang _is_ explicitly named as a victim in one of the issues (I think there is more than one)
tertle||eltret has joined #nixos
<infinisil> Damn I overlooked that issue, i did search
<pbogdan> yea, there is also https://github.com/NixOS/nixpkgs/issues/36853 (which I believe is the same thing)
<freeman42x> pxc: all I can say is that it looks blurry, and it is not caused by Font sub-pixel order
<infinisil> But this should be ported to 18.03
<freeman42x> pxc: I installed mupdf but it won't even launch, the executable does something then... nothing happens
<pxc> freeman42x: the issue I encountered was not a subpixel rendering one. The application misunderstood the desktop resolution, so it rendered the PDF at way, way low-resolution. And then it was scaled up to fill the window, resulting in a blurry experience
<fendor> Morning, when using criterion on nixos and stack and try to benchmark via `stack bench` it fails with `ffp-reloaded-benchmarks: <stdout>: commitBuffer: invalid argument (invalid character)`. did i miss some libraries that I have to add to stack.yaml?
<freeman42x> pxc: that could be it, I am running NixOS inside VMWare VM
<pxc> I found a similar bug for Evince, but it looks like it was fixed years ago
leothrix has joined #nixos
abrar_ has quit [Quit: WeeChat 2.0]
pie_ has joined #nixos
abrar has joined #nixos
<pxc> gchristensen: what's the impending inode crisis?
<gchristensen> the "I have no more inodes left" problem
<pxc> do symlinks get inodes, or only real files?
<freeman42x> pxc: the blurry issue I am having is an Evince issue
<gchristensen> pxc: symlinks get files iirc
<gchristensen> get inodes*
<pxc> freeman42x: this is the one I found: https://bugzilla.gnome.org/show_bug.cgi?id=723431 . Like I said though, it's probably not it; it's from 2014
<MichaelRaskin> symlinks do get inodes
<MichaelRaskin> Definitely
alex`` has quit [Quit: WeeChat 2.0.1]
<pxc> huh. the running-out-of-inodes thing is one of the kinds of problems some of my friends mentioned when I first described how Nix works
<pxc> and I was like, naaaaaaaah you can have plent of inodes
<MichaelRaskin> BtrFS! Dynamic inode allocation FTW
<MichaelRaskin> (Or XFS. Or reserving more inodes than recommending when creating Ext4.)
<{^_^}> [nixpkgs] @nlewo merged pull request #37092 → h5utils: init at 1.13.1 → https://git.io/vxLi2
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxn5U
<{^_^}> → 8ade9e67 by @SFrijters: h5utils: init at 1.13.1
<{^_^}> → 7ef5f23b by @nlewo: Merge pull request #37092 from SFrijters/h5utils
<clever> [clever@amd-nixos:~]$ df -i /
<clever> Filesystem Inodes IUsed IFree IUse% Mounted on
<clever> amd/root 30883325 300264 30583061 1% /
<pxc> I guess the Hydra evaluators are canaries. I wonder what machines in the world have more symlinks on their filesystems
<pxc> MichaelRaskin: you can ask ext4 to plan for extra inodes? that's awesome
<{^_^}> [nixpkgs] @nlewo merged pull request #37471 → journalbeat: 5.6.0 -> 5.6.8 → https://git.io/vxnCm
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxn5t
<{^_^}> → 7e1a1889 by @mbrgm: journalbeat: 5.6.0 -> 5.6.8
<{^_^}> → 0eb804cc by @nlewo: Merge pull request #37471 from mbrgm/upgrade-journalbeat
<MichaelRaskin> pxc: yes, on creation
<MichaelRaskin> But it is always static
<pxc> one of the real strengths of Nix's rollback functionality, imo, is that it doesn't require a special filesystem (unlike BtrFS snapshots)
<MichaelRaskin> And because of that, it provides controllable rollback granularity
<pxc> not that I'm against BtrFS or other filesystems that support snapshots
<MichaelRaskin> I only mentioned BtrFS for /nix/store because of dynamic inode allocation
<MichaelRaskin> Also, online downsizing
<pxc> oh, like you can roll back a user profile or the system profile separately
<MichaelRaskin> Yes.
<pxc> this is the same strength we have over Docker and friends
<MichaelRaskin> And you can have multiple profiles/quasi-profiles per user.
<wervenyt[m]> proper CoW + nix would be pretty useful
<MichaelRaskin> And you can have nix-shell reference different nixpkgs checkout for different tasks
<MichaelRaskin> wervenyt: Nix has --optimise to deduplicate files.
blankhart has quit [Ping timeout: 245 seconds]
<freeman42x> what about foxit reader, is it available for NixOS?
<MichaelRaskin> By hardlinking
<pxc> yeah, it can make a big difference
<MichaelRaskin> As store is readonly, CoW is not crucial
<wervenyt[m]> does it? sweet. thanks for the info
<pxc> Foxit is nonfree and there are _so many_ good options for PDF
<pxc> did none of the other ones recommended work?
<wervenyt[m]> MichaelRaskin: how does one invoke --optimise systemwide?
<freeman42x> pxc: the fact that it is non-free is exactly why I want to use it, it worked great for me in the past
<freeman42x> pxc: like which ones for example?
<MichaelRaskin> wervenyt: it is always systemwide
<MichaelRaskin> But needs to be invoked
orivej has joined #nixos
hiratara has quit [Ping timeout: 252 seconds]
<MichaelRaskin> NixOS probably has an option to do it nightly
<pxc> freeman42x: scroll up! :-) -- zathura, llpp, okular, xpdf
<pxc> those are some I saw
<pxc> in the discussion above
<wervenyt[m]> MichaelRaskin: yep, there we go, thanks
<duckwho> You can always use pdf-tools inside emacs instead of all this. :)
hiratara has joined #nixos
Xal has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #36574 → masterpdfeditor: 4.3.61 -> 4.3.82 → https://git.io/vAxWC
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxndg
<{^_^}> → 77b205b9 by @jfrankenau: masterpdfeditor: 4.3.61 -> 4.3.82
<{^_^}> → 5826737d by @Mic92: Merge pull request #36574 from jfrankenau/update-masterpdfeditor
Mateon3 has joined #nixos
Xal has joined #nixos
<freeman42x> pxc: I missed 3/4
<freeman42x> :/ cheers guys, trying them now
<{^_^}> [nixpkgs] @dezgeg merged pull request #37457 → [17.09] firefox: fix build → https://git.io/vxZjz
<freeman42x> I tried some other ones but none worked as expected
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to release-17.09: https://git.io/vxnd9
<{^_^}> → 8245c6e8 by @taku0: nss: 3.34.1 -> 3.35; cacert.certdata2pem: 20160104 -> 20170717
<{^_^}> → fd016e36 by @pbogdan: firefox: fix paths in post{Install,Fixup}
<pxc> freeman42x: you're on NixOS?
blankhart has joined #nixos
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
<freeman42x> pxc: yes, on NixOS
<freeman42x> with xpdf the text look like monsters had bitten out of the letters
<{^_^}> [nixpkgs] @Mic92 merged pull request #37346 → sqldeveloper: 17.4.0.355.2349 -> 17.4.1.054.0712 → https://git.io/vx36R
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxndj
<{^_^}> → f9dda86b by @flokli: sqldeveloper: 17.4.0.355.2349 -> 17.4.1.054.0712
<{^_^}> → 1c810f5f by @Mic92: Merge pull request #37346 from flokli/sqldeveloper
<pxc> does anyone else think NixOS could be useful as a basis for more traditional, or even BSD-like distros?
jtojnar has joined #nixos
<wervenyt[m]> nixos is pretty not-unix
<wervenyt[m]> and not necessarily in a bad way
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vxnFZ
<{^_^}> → 9cd1122d by @jfrankenau: masterpdfeditor: 4.3.61 -> 4.3.82
<{^_^}> → 032a3286 by @flokli: sqldeveloper: 17.4.0.355.2349 -> 17.4.1.054.0712
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @ysndr opened pull request #37494 → krunner-pass: init at version v1.3.0 → https://git.io/vxnFn
<pxc> you could have stable releases of a small system also get linked into something like /StaleOS/1.0/lib /StaleOS/1.0/bin, etc.
<MichaelRaskin> Does SUS actually include FHS now?
<pxc> and then vendors who want something stable and consistent to target can keep targeting it
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #37495 → mdv: init at 1.6.3 → https://git.io/vxnF0
blankhart has quit [Ping timeout: 256 seconds]
<MichaelRaskin> Also, exploit writers
<pxc> I know it's not BSD-like in the sense that with Nixpkgs NixOS & friends haven't taken ownership of the codebases that are packaged, like is done in the BSD world
<freeman42x> llpp pdf reader doesn't seem to have any sufficient interface, I accidentally zoomed on some small bit of the screen and now it takes forever to zoom out
<pxc> MichaelRaskin: definitely! it would have a big maintenance burden to avoid that. You know how RHEL has these dev-toolset repos that let you get newer versions of things installed under /opt?
<pxc> I was picturing this as a less annoying way to achieve something similar
<duckwho> freeman42x: you can map custom keybindings
<freeman42x> zathura also is with minimal/no GUI
<pxc> freeman42x: post some screenshots instead of just describing. :-P (and is your monitor high-dpi?)
<freeman42x> duckwho: what I'm looking for is something like Foxit / Adobe
<freeman42x> or Evince but that just works, without the blurriness issue
<duckwho> freeman42x: Oh, then llpp wouldn't suit you...
<freeman42x> pxc: I'd say blurry should pretty much describe it, but here I go :)
<infinisil> MichaelRaskin: pbogdan: So this /bin/sh business, should I just ignore those failures too no hydra? Or can this fix (https://github.com/NixOS/nixpkgs/pull/36919) be ported to 18.03? (I still don't quiet get if that's even fixable and why it happens)
<MichaelRaskin> pxc: re: maintenance: we don't do that good of a job doing something sane with stable
<infinisil> s/no/on
<freeman42x> pxc: le blurry https://i.imgur.com/NHKwpcL.png
<MichaelRaskin> Ideally the dependency on /bin/sh should be fixed in the builds, if only for the benefit of non-NixOS non-sandbox builds
<infinisil> MichaelRaskin: By fixing you mean replacing it with ${pkgs.bash}/bin/sh ?
<pxc> MichaelRaskin: I wasn't thinking of it as something for us to do. Just wondering about whether Nix could also be a useful tool to people who are interested in making more traditional enterprise-y operating systems, and what sort of impact it could make if they also perceived that usefulness and ran with it
<MichaelRaskin> patchShebangs on something, something like that
<freeman42x> but is Foxit really not packaged for NixOS? is there some page like this https://nixos.org/nixos/packages.html#llpp but also including unfree?
<MichaelRaskin> inifinisil: I don't actually care about stable branches, but if you cherry-pick and PR, I can click a link.
<catern> so does the new Nix 2.0 fetchgit allow fetching git repositories with just a commit hash, no need for a sha256?
<pxc> because of the nice reproducibility, safe upgrades, and reliable side-by-side installations we can do
<MichaelRaskin> Then click a button after ofborg approves.
<pxc> and that kind of blurriness is not one I immediately recognize from the issues I've had :-(
fendor has quit [Quit: Leaving]
ottidmes has joined #nixos
blahdodo has quit [Ping timeout: 256 seconds]
justbeingglad has joined #nixos
<pxc> freeman42x: I'd try Okular if you haven't, and also see whether the blurriness persists in other desktop environments or at other screen resolutions
blahdodo has joined #nixos
shachaf has quit [Ping timeout: 256 seconds]
<duckwho> freeman42x: Oh btw. Does the mate version of evince have this problem too?
<{^_^}> [nixpkgs] @spencerjanssen opened pull request #37496 → awscli: 1.14.47 -> 1.14.50 → https://git.io/vxnNg
shachaf has joined #nixos
muzzy has joined #nixos
<duckwho> atril
<freeman42x> > freeman42x: Oh btw. Does the mate version of evince have this problem too?
<freeman42x> One or two of the other PDF readers didn't have the issue, others have different issue. I'm on XFCE now and rather not switch.
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/97a2621dae7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<freeman42x> qpdfviewer has a pretty advanced GUI but does not remember current page on reopen and the text is rendered badly (bitten)
<pxc> I wasn't suggesting a permanent switch; just to try other DE's as a test to see if the bug still occurs there
<{^_^}> [nixpkgs] @ryantm opened pull request #37497 → linuxHeaders: 4.15 -> 4.15.10 → https://git.io/vxnAL
<freeman42x> pxc: even if that fixed it, not that useful
kuznero has quit [Ping timeout: 260 seconds]
<freeman42x> I think I will stick with Firefox PDF reader since the GUI is good enough and it remembers the current page on reload
muzzy has quit [Read error: Connection reset by peer]
abathur has joined #nixos
hiratara has quit [Quit: ZNC - http://znc.in]
hiratara has joined #nixos
<pxc> freeman42x: well, if it affects different DEs differently, probably they handle DPI scaling or font rendering differently. It gives you a place to look and compare
liori has quit [Quit: leaving]
dan_b has quit [Remote host closed the connection]
lord| has joined #nixos
liori has joined #nixos
alexteves has quit [Ping timeout: 264 seconds]
liori has quit [Client Quit]
<{^_^}> [nixpkgs] @ryantm opened pull request #37498 → lua51Packages.luaevent: 0.4.3 -> 0.4.4 → https://git.io/vxnxH
<freeman42x> > freeman42x: well, if it affects different DEs differently, probably they handle DPI scaling or font rendering differently. It gives you a place to look and compare
<freeman42x> well aware of that, but it doesn't matter anymore since I got one that works
justbeingglad has left #nixos [#nixos]
<pxc> 👍
sanscoeur has joined #nixos
erasmas has quit [Quit: leaving]
mounty_ has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37500 → lua52Packages.luafilesystem: 1.6.3 -> 1.7.0.2 → https://git.io/vxnhs
liori has joined #nixos
simukis has quit [Ping timeout: 260 seconds]
sanscoeur has quit [Remote host closed the connection]
mudri has quit [Ping timeout: 240 seconds]
rihards has quit [Quit: rihards]
<Shados> ...I don't suppose there are any functions in Nix or nixpkgs to do comparisons between version numbers?
aloiscochard has quit [Quit: Connection closed for inactivity]
<clever> Shados: there is
<clever> Shados: builtins.compareVersions
<{^_^}> [nixpkgs] @ryantm opened pull request #37501 → lua52Packages.lpeg: 0.12 -> 1.0.1 → https://git.io/vxceT
<Shados> clever: Oh good, thanks
sanscoeur has joined #nixos
spietz has quit [Ping timeout: 265 seconds]
s2mitrov has joined #nixos
dbe has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37502 → lua52Packages.luacheck: 0.20.0 -> 0.21.2 → https://git.io/vxcv4
<ottidmes> does anyone has an example of sshfs automount in NixOS? I saw there was a autofs module that can do this for me, but I also read that you can do this with systemd, any examples of this?
hph^ has quit [Ping timeout: 246 seconds]
<s2mitrov> what would you guys say is the most compelling reason to switch to nix over docker? i'm trying to shill nix to a friend, but the best i've got is better reproducibility due to more granular hash checking, nix being more lightweight + it doesn't always have to do a full rebuild if you change on small thing, and that you can use nix with docker for better control over the packages and stuff that get used to build your image
<ottidmes> just found https://nixos.org/nix-dev/2016-September/021768.html I guess I will try that
orivej has quit [Ping timeout: 265 seconds]
<Shados> ottidmes: I'm using a systemd user service for it at home https://0x0.st/sB8p.txt, as per the bug linked in the desc you can't use .mount units for sshfs currently. Doesn't have the laziness of actual systemd automount, but handles failures and reconnects relatively OK, so eh.
<{^_^}> [nixpkgs] @ysndr opened pull request #37503 → (17.09) browserpass: 2.0.11 -> 2.0.13 → https://git.io/vxcfI
<Shados> although what you linked would probably work, if you're OK with the unit itself still being run by root
<infinisil> I haven't been very successful with trying to get the build failures down..
<infinisil> Gonna try again thoug
<{^_^}> [nixpkgs] @ryantm opened pull request #37504 → lua52Packages.luazlib: 1.1 -> 1.2 → https://git.io/vxcfR
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fd016e362da (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/032a3286fd8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
dbe has quit [Ping timeout: 264 seconds]
logzet has quit [Remote host closed the connection]
<ottidmes> Shados: Thanks for the example!
pkill9 has quit [Ping timeout: 264 seconds]
davidlt__ has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37505 → lua51Packages.luarocks: 2.4.3 -> 2.4.4 → https://git.io/vxcJK
<Guanin> hi, when using security.pam.services.<name?>.oathAuth, is it mandatory or optional to use the one time password for login?
davidlt_ has quit [Ping timeout: 265 seconds]