gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
jomik has quit [Quit: WeeChat 2.2]
amir has quit [Read error: Connection reset by peer]
amir has joined #nixos
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
nDuff has joined #nixos
tilpner has quit [Ping timeout: 272 seconds]
ent has quit [Ping timeout: 250 seconds]
gwen has quit [Remote host closed the connection]
<adisbladis> etu: Nice :) Such an improvement!
jboy has quit [Remote host closed the connection]
jomik has joined #nixos
ent has joined #nixos
endformationage has quit [Ping timeout: 268 seconds]
erictape1 has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
sigmundv_ has joined #nixos
ariutta has quit [Ping timeout: 256 seconds]
erictapen has quit [Ping timeout: 272 seconds]
jboy has joined #nixos
<Church_> Okay is quemu available at all on nixos? Not seeing it in options or packages.
<simpson> > qemu
<{^_^}> "<derivation /nix/store/aams4gf4zk1bmm3s75vn5drp0gg5zfx9-qemu-3.1.0.drv>"
<Church_> Huh the hell. Doesn't show up on a nix search -u quemu. Nor on the options or packages page on the site.
<Guanin__> It is qemu, not quemu
Guanin__ is now known as Guanin
<Church_> ...
<Church_> Welp
<Church_> I can't read or write evidently.
<simpson> No worries. I was quite ready to learn that there is a "quemu" package which is totally unrelated and does something like, I don't know, queue management for some database.
<gchristensen> mupdf queue
<simpson> ¡Que Música Universal! Spanish-language music player.
<gchristensen> :D
endformationage has joined #nixos
jomik has quit [Ping timeout: 268 seconds]
eadwu has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53251 → playonlinux: 4.3.3 -> 4.3.4 → https://git.io/fhm36
vk3wtf has joined #nixos
fenedor has quit [Read error: Connection reset by peer]
<Church_> simpson: Heh that wouldn't surprise me
erictape1 has quit [Ping timeout: 250 seconds]
shibboleth has joined #nixos
m0rphism has quit [Quit: WeeChat 2.2]
endformationage has quit [Ping timeout: 250 seconds]
<Guanin> What can I do to speed up kernel compilation time? I've set nix.maxJobs to the number of threads. Are there other options that might speed it up?
m0rphism has joined #nixos
<gchristensen> maxJobs doesn't impact build time
<gchristensen> maxJobs is the simultaneous independent nix builds
<Guanin> Oh, okay
<Guanin> That makes sense
<gchristensen> you want nix.buildCores
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53252 → pulumi-bin: 0.16.7 -> 0.16.9 → https://git.io/fhmsi
<Guanin> It says "Packages will only be affected if enableParallelBuilding is set for them." - Is this active for linuxPackages*?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53253 → pgroonga: 2.1.6 -> 2.1.7 → https://git.io/fhmsQ
endformationage has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #53254 → pythonPackages.nipype: 1.1.5 -> 1.1.7 → https://git.io/fhmGf
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/af34745862d (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53255 → python37Packages.bokeh: 1.0.1 -> 1.0.2 → https://git.io/fhmG2
<rycee> jomik: "Anyone have an idea why "we" build a package here and then source it from init.el, instead of just setting text to be initFile (skipping the package)" Because it will byte-compile and optimize the init file and only the small shim will be loaded as a text file. Saves a bit in the start up time.
<rycee> jomik: I like to keep my Emacs starting in well below 1 second, ideally below 500ms and compiling the init file help quite a bit.
<rycee> jomik: The emacs-init module might make it into Home Manager at some point but it needs some polishing first. I put it up in that repo for the brave and/or foolish :-)
jasongrossman has joined #nixos
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @schmittlauch opened pull request #53256 → [WIP] ktouch: init at 18.12.0 → https://git.io/fhmGM
endformationage has quit [Ping timeout: 246 seconds]
nDuff has quit [Quit: zzz]
countingsort has quit [Ping timeout: 240 seconds]
ris has quit [Ping timeout: 252 seconds]
fusion809 has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/eb0480ad6c5 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
eadwu has quit [Ping timeout: 246 seconds]
shibboleth has quit [Remote host closed the connection]
<rycee> jomik: Oh, and the `programs.emacs.finalPackage` option should be accessible in your configuration (but you need to pull in the config argument attribute)
eadwu has joined #nixos
<rycee> I.e., refer to the option value as `config.programs.emacs.finalPackage`.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhmZ8
griff_ has joined #nixos
sevcsik[m] has joined #nixos
mmlb has joined #nixos
m15k has quit [Ping timeout: 256 seconds]
init_6 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53238 → terminus-font: 4.46 -> 4.47 → https://git.io/fhmfS
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fhmZj
georges has quit [Ping timeout: 250 seconds]
notzmv has joined #nixos
griff_ has quit [Quit: griff_]
georges has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53257 → osinfo-db: 20181203 -> 20181214 → https://git.io/fhmnq
init_6 has quit [Ping timeout: 246 seconds]
Sheth has joined #nixos
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
init_6 has joined #nixos
dermetfan has quit [Ping timeout: 244 seconds]
Dagger has quit [Excess Flood]
Dagger has joined #nixos
sanscoeu_ has joined #nixos
ryantrinkle has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53258 → parallel: 20181122 -> 20181222 → https://git.io/fhmn9
sanscoeur has quit [Ping timeout: 245 seconds]
sanscoeu_ has quit [Ping timeout: 240 seconds]
eadwu has quit [Ping timeout: 250 seconds]
ryantrinkle has joined #nixos
Dedalo has joined #nixos
ryantrinkle has quit [Ping timeout: 246 seconds]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53260 → kdeApplications.okteta: 0.25.4 -> 0.25.5 → https://git.io/fhmcE
asymmetric has quit [Ping timeout: 250 seconds]
<Guanin> So, I'm still stuck with getting my WX3100 running (I started asking for help here: https://www.reddit.com/r/NixOS/comments/abphe8/amd_radeon_pro_wx3100_x_not_starting/ ). It seems like IOMMU is no issue, as I can activate the iommu and the WX3100 works fine under ubuntu, but I can not get X running on NixOS with it :(
<Guanin> At least the Xserver error message changed a bit - instead of "(EE) no screens found(EE)", I get "(EE) No devices detected" before
<Guanin> But I do not really know where to continue debugging
Church_ has quit [Quit: WeeChat 2.2]
Church_ has joined #nixos
eadwu has joined #nixos
Supersonic has quit [Ping timeout: 250 seconds]
Supersonic has joined #nixos
<Guanin> Oh, when I disable xserver, I do not even get a tty prompt on the screens
<Guanin> Although dmesg shows that the screens are detected and incorporated into the frame buffer
<{^_^}> [nixpkgs] @eamsden opened pull request #53261 → Add ledger-autosync and fuzzywuzzy python package → https://git.io/fhmCK
<{^_^}> [nixpkgs] @worldofpeace pushed commit from wedens to master « xkb-switch: 1.3.1 -> 1.5.0, rename from xkb_switch »: https://git.io/fhmC1
<siraben> Hm I couldn't find an rxvt IRC channel, so I'll ask here
* siraben uploaded an image: Screenshot_2019-01-03_09-58-56.png (10KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/IsKUPLEIQCPfAnhTlAfnlZxl >
<siraben> uxrvt seems to echo my commans
<siraben> commands*
sigmundv_ has quit [Ping timeout: 250 seconds]
<samueldr> a wild guess, but maybe a keyword to look for is "cooked"
<{^_^}> [nixpkgs] @worldofpeace closed pull request #53213 → xkb-switch: 1.3.1 -> 1.5.0 → https://git.io/fhq1f
<samueldr> no idea if urxvt has something like that, or if it's even urxvt who's at fault there
<siraben> Ah wait it looks like oh-my-zsh is the culprit
<siraben> I switched to bash and it works fine
<samueldr> it won't help, but it seems in the past others had the same issue :/ https://bbs.archlinux.org/viewtopic.php?id=192039
<siraben> samueldr: yep I was looking at that as well
fusion809 has quit [Remote host closed the connection]
alex_giusi_tiri has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53262 → offlineimap: 7.2.1 -> 7.2.2 → https://git.io/fhmWk
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed commit from wedens to master « kbdd: unstable-2015-01-26 -> unstable-2017-01-29 »: https://git.io/fhmWY
<{^_^}> [nixpkgs] @worldofpeace closed pull request #53211 → kbdd: bump revision → https://git.io/fhqXu
eadwu has quit [Ping timeout: 245 seconds]
eadwu has joined #nixos
sanscoeur has joined #nixos
abathur has quit [Ping timeout: 246 seconds]
sanscoeu_ has joined #nixos
ryantrinkle has joined #nixos
sanscoeur has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/45779f013c8 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
sanscoeu_ has quit [Remote host closed the connection]
<Church_> ,locate ubridge
<{^_^}> Couldn't find in any packages
znc has joined #nixos
znc is now known as Guest18042
Guest18042 has quit [Client Quit]
<Church_> Hmm, guess I'll have to build this myself.
znc has joined #nixos
znc is now known as Guest51096
eadwu has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53263 → openorienteering-mapper: 0.8.3 -> 0.8.4 → https://git.io/fhmlL
eadwu has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
lassulus_ has joined #nixos
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
lassulus has quit [Ping timeout: 250 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53264 → pacman: 5.1.1 -> 5.1.2 → https://git.io/fhml0
eadwu has quit [Ping timeout: 246 seconds]
<siraben> I'm trying to build IceCat
<Church_> samueldr: Hey mind taking a look at a basic deriv for me? Failing when trying to find pcap.h even though I include libpcap. http://git.chatsubo.cafe/noah/Ubridge
<siraben> But looks like the makeicecat script in the build phase uses "wget" to fetch another tar, why is it failing?
<siraben> wget: unable to resolve host address 'ftp.mozilla.org'
<siraben> even when manually wgeting it works fine
<samueldr> Church_: maybe if you share something to look at
<Church_> Fair enough, one sec.
<siraben> samueldr: does wget not work within a build script?
<Church_> samueldr: The source with the default.nix and builder.sh is above
<samueldr> siraben: yes and no, it depends whether it's a fixed-output derivation or not; and more succintly, wget always works: network access is restricted
<Church_> Here's my error output, https://paste.rs/k1Y
<Church_> Thinking I might just have to fix the Makefile so it finds libpcap's path automatically
<Church_> Think that might be it.
<jackdk> Church_: it appears that libpcap provides a pcap-config program, so you need to patch calls to `pcap-config --cflags` and `pcap-config --libs` into the makefile
<{^_^}> [nixpkgs] @peterhoeg merged pull request #53260 → kdeApplications.okteta: 0.25.4 -> 0.25.5 → https://git.io/fhmcE
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fhmlD
<siraben> samueldr: not sure why it would be failing download inside a build script
<Church_> jackdk: Well that's awful
<samueldr> Church_: using a custom `builder` generally isn't the way to go; you lose a bunch of the magic sauce making building in nix painless, you would need to somehow re-do what's lost
<Church_> Ah. I got that from following nix pills.
<Church_> Troublesome.
<samueldr> Church_: ah, nix pills are really about the basics of nix itself; I have to be frank, still haven't done 'em, but they're there so you better understand the underpinnings
<Church_> Gotcha.
<samueldr> siraben: it's an uncommon concept with nix; builds are sandboxed, no network access, but that would be inconvenient to fetch source files. So what's going on is that you can give a derivation network access, only and if only you can figure out a way to give it a fixed output; that is, an output which is bit-for-bit reproducible
<samueldr> siraben: so `src = ...` is generally using a fixed output derivation of something that download a known source file
<siraben> Right
<siraben> Looks like Icecat has a source tarball too, I'll try that
tertl3 has joined #nixos
<samueldr> siraben: when your main derviation is built, that source derivation is already built and complete, so you're given an environment with that source file extracted, as a convenience
<tertl3> should I install nixos on a pixelbook?
<Church_> You can't.
<Church_> Well
<Church_> Eh
<samueldr> Church_: removing `builder` (and `args`) your build almost succeeds
<Church_> I take that back
<samueldr> tertl3: you probably can, you probably should, but I'm jealous of you now :)
<tertl3> why cant you
<Church_> tertl3: You can do it inside a lxc container inside a sandboxed vm
<Church_> But otherwise linux hasn
<Church_> But otherwise linux hasn't been ported to the chipset fully yet
<samueldr> https://mrchromebox.tech/#devices eve is now supported
<tertl3> ah ok
<Church_> I know I owned one for a while
<samueldr> for uefi
<Church_> samueldr: Oh wat
<samueldr> but I don't know about the kernel and drivers
<Church_> Cool
<Church_> Just after I give it to my mum lol
<samueldr> mrchromebox has that alternative coreboot payload (for which you need to disable write protection on the firmware)
<Church_> Yep
<samueldr> I *think* the support for kabylake is really recent
<Church_> tertl3: So you can, report back on how bad it works
<samueldr> ah, tertl3, replacing the firmware probably isn't *required*, but it probably makes things easier
<Church_> samueldr: So evidently just changing the bindir in the Makefile to $out doesn't work
worldofpeace has quit [Ping timeout: 246 seconds]
<Church_> Still auto tries for /usr/local/bin/
<samueldr> Church_: you sure you did it right? `makeFlags = "BINDIR=$out";` here works
<samueldr> you'll need to remove the `setcap` call; it will never work in nixos
<samueldr> and then need to handle it through a wrapper
<samueldr> (the nix store cannot have any capabilities or suid, or things like those)
<Church_> Ahhhh.
<samueldr> (it's all either rx or r only as far as modes are concerned)
<{^_^}> [nixpkgs] @veprbl merged pull request #53262 → offlineimap: 7.2.1 -> 7.2.2 → https://git.io/fhmWk
<{^_^}> [nixpkgs] @veprbl pushed commit from @r-ryantm to master « offlineimap: 7.2.1 -> 7.2.2 »: https://git.io/fhm8U
<samueldr> Church_: you can probably look at how `ping` is given capabilities
<Church_> Good lord, I manually replaced every ${BINDIR} with $out/
<Church_> Still says it can't cp to /usr/local/bin/
<Church_> Is it falling back to a default...
<samueldr> what lol, I just added `makeFlags` and it worked
<Church_> Added them where to default.nix?
<Church_> Ah
<samueldr> a complete git diff
<samueldr> I got to the `setcap` call in the install phase
<samueldr> THAT you'll need to remove :)
<samueldr> (you can sed it out, or if possible, prefer making it conditional)
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53265 → osrm-backend: 5.20.0 -> 5.21.0 → https://git.io/fhm8Y
<siraben> "which" not found?
<siraben> Isn't that provided by the stdenv?
<samueldr> no
<siraben> I'm getting that error in the ./configure step
<{^_^}> [nixpkgs] @marsam opened pull request #53266 → qrencode: fix darwin build → https://git.io/fhm8G
<samueldr> ,locate bin whic
<samueldr> ,locate bin which
<{^_^}> Found in packages: which, busybox, debianutils
<{^_^}> Found in packages: which, emboss, busybox, easyrsa2, debianutils
<samueldr> busybox is probably not the one you want, which is the one you want
<siraben> Ok, adding to nativeBuildInputs
<siraben> I'm still not clear on the difference between nativeBuildInputs and buildInputs
<samueldr> the wrong explanation, but works for 80% of the case is: is it a thing that runs during build? native, is a thing that's linked, like a library, or used at runtime by the software? buildInputs
<samueldr> native is native to what's doing the build :/
<siraben> I see.
<samueldr> (the nixpkgs manual has the full explanation)
<siraben> Hmm something's not working
<Church_> Welp aws just charged me for $17k
<Church_> Guess they decided to charge me decided my account being compromised and them being alerted to it. >_>
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #53267 → 1password: 0.5.4 -> 0.5.5 → https://git.io/fhm8K
<samueldr> siraben: it's likely you want to look at how firefox is built https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/networking/browsers/firefox
tzemanov_ has joined #nixos
<samueldr> though icecat may have diverged a bunch, I don't know
<samueldr> if it did, maybe past firefox builds could help?
<siraben> Icecat has diverged a lot, and should conform to GNU code guidelines
<siraben> So use of ./configure and so on
tzemanovic has quit [Ping timeout: 252 seconds]
Cale has quit [Ping timeout: 260 seconds]
tzemanov_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #53268 → offlineimap: provide "OS-DEFAULT" CA certificates → https://git.io/fhm85
Cale has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #53270 → nodejs: 6.15.1 -> 6.16.0, 8.14.1 -> 8.15.0, 10.12.0 -> 10.15.0, 11.5.0 -> 11.6.0 → https://git.io/fhm4q
<{^_^}> [nixpkgs] @jethrokuan opened pull request #53271 → Move aliases in all-packages to aliases.nix → https://git.io/fhm4Y
badmutex[m] has joined #nixos
init_6 has quit [Ping timeout: 240 seconds]
sanscoeur has joined #nixos
init_6 has joined #nixos
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53272 → nodejs-slim-11_x: 11.5.0 -> 11.6.0 → https://git.io/fhm4F
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53273 → notejot: 1.5.2 -> 1.5.3 → https://git.io/fhm4p
<siraben> how do I install something I built with nix-build ?
vk3wtf has quit [Ping timeout: 250 seconds]
<wedens> what is `stdenvNoCC` ?
<wedens> siraben: preferred way is to add it to `systemPackages`
<wedens> if we're talking abount "installation" in a sense of most package managers like apt or pacman
<siraben> Trying to build https://ptpb.pw/jz3Y/nix , I'm getting this error https://ptpb.pw/160W/text
<siraben> I think it's related to asciidoc
<siraben> wedens: I see.
<wedens> siraben: seems like it fails some hardening checks
<wedens> try adding `hardeningDisable = [ "format" ];`
<siraben> What's hardening?
<siraben> This isn't the first time I've had such a problem
<siraben> Thanks wedens I'll try that
<siraben> wedens: Hm almost there but it's still not https://ptpb.pw/BQ0h/text
<wedens> basically, hardening checks code for some common security problems
<init_6> and kill almost all closed source program`s
<siraben> wedens: what do you make of that log?
<siraben> So it builds it, but then fails
<wedens> I don't like this `"/build/source/build/mktiupgrade.1.xml"` path
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53274 → nasm: 2.14 -> 2.14.02 → https://git.io/fhmBg
Church_ has quit [Ping timeout: 246 seconds]
<wedens> siraben: do you have asciidoc and libxslt in nativeBuildInputs?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53275 → mc: 4.8.21 -> 4.8.22 → https://git.io/fhmBH
<siraben> wedens: adding libxslt
<siraben> wedens: still fails https://ptpb.pw/0VXA/nix
gagbo has quit [Ping timeout: 240 seconds]
<wedens> same error?
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
<wedens> try replacing asciidoc with asciidoc-full
gagbo has joined #nixos
init_6 has quit [Ping timeout: 246 seconds]
dermetfan has joined #nixos
<yl[m]> I'm trying to run `nixos-rebuild -I nixpkgs=./nixpkgs-stable.nix -I nixos_config=./configuration.nix build --show-trace`. nixpkgs-stable.nix: https://gist.github.com/kalbasit/deec7b74b64f70d24ca1967883c8e7b6`
<yl[m]> I'm getting `anonymous function at /.../shabka/external/nixpkgs-stable.nix:1:1 called with unexpected argument 'system'`
<siraben> wedens: it works
<yl[m]> this works in nix-shell however. nix-shell -I nixpkgs=./external/nixpkgs-stable.nix -p jq --run 'jq --version'
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53276 → mimeo: 2018.11 -> 2018.12 → https://git.io/fhmRg
<yl[m]> wedens: it works for you with nixos-rebuild?
<yl[m]> or nix-shell?
<wedens> huh?
tertl3 has quit [Quit: Connection closed for inactivity]
fusion809 has quit [Remote host closed the connection]
init_6 has joined #nixos
dermetfan has quit [Ping timeout: 272 seconds]
jackdk has quit [Ping timeout: 250 seconds]
esmerelda has joined #nixos
<esmerelda> I'm not sure what to do about pywikibot. Nix currently doesn't have it packaged. I started to write an expression for it, but it has an intense number of requirements: https://github.com/wikimedia/pywikibot/blob/master/requirements.txt
<esmerelda> even requests isn't up to date. nix just has 2.19, they require >= 2.20
rauno has joined #nixos
<esmerelda> what should I do? I want to do the write thing but I feel like I'll play dependency whackamole if I try
<wedens> esmerelda: search for `overridePythonAttrs` in nixpkgs. there are some examples of overriding packages versions
<wedens> esmerelda: e.g. pkgs/servers/home-assistant/appdaemon.nix
<Church-> And that's not too many requirements
<esmerelda> ooh didn't know that was possible
<wedens> yeah. and you'll probably need to override just a couple of packages
<esmerelda> actually now I'm confused. I see https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/requests/default.nix has it pulling 2.20.1, but when I do nix search I only see 2.19.1.. and I have both nixpkgs and nixpkgs-unstable channels
<esmerelda> does nix search only show one channel?
<wedens> try `nix-env -qaP ".*requests.*"` (it'll be slow)
init_6 has quit [Ping timeout: 250 seconds]
hyper_ch has quit [Ping timeout: 250 seconds]
<wedens> 18.09 is 2.19.1 and unstable is 2.20.1
endformationage has quit [Quit: WeeChat 2.3]
hyper_ch2 has joined #nixos
palo1 has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53278 → mbedtls: 2.15.1 -> 2.16.0 → https://git.io/fhm0q
<esmerelda> neat! I now have pywikibot building! couldn't get the tests to work but that seems like a crapshoot anyway (are theyeven bundled in PyPI?)
<esmerelda> I should probably submit a PR to merge this into nixpkgs... need to read up on the submission guidelines
ddellaco_ has joined #nixos
griff_ has joined #nixos
* esmerelda feels accomplished
<{^_^}> [nixpkgs] @jethrokuan closed pull request #53271 → Move aliases in all-packages to aliases.nix → https://git.io/fhm4Y
ddellacosta has quit [Ping timeout: 244 seconds]
sanscoeur has quit [Remote host closed the connection]
iqubic has quit [Read error: Connection reset by peer]
iqubic has joined #nixos
FRidh has joined #nixos
<siraben> How do I fast forward my fork of the nixpkgs?
<siraben> I created a pull request that was "merged" but according to GitHub it was closed, and my branch currently diverges from the main branch https://github.com/NixOS/nixpkgs/pull/51735
<{^_^}> #51735 (by siraben, 3 weeks ago, closed): Fix typo
<wedens> siraben: well, that's why you use feature branches in git
ddellaco_ has quit [Remote host closed the connection]
<wedens> making changes in master directly is rarely a good idea
<{^_^}> [nixpkgs] @FRidh merged pull request #53255 → python37Packages.bokeh: 1.0.1 -> 1.0.2 → https://git.io/fhmG2
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.bokeh: 1.0.1 -> 1.0.2 »: https://git.io/fhm0x
<wedens> especially if you want to keep it in sync with upstream
<{^_^}> [nixpkgs] @FRidh merged pull request #53249 → python37Packages.astroquery: 0.3.8 -> 0.3.9 → https://git.io/fhmml
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.astroquery: 0.3.8 -> 0.3.9 »: https://git.io/fhm0h
<siraben> Gotta brush up on git
<{^_^}> [nixpkgs] @gnidorah opened pull request #53281 → pakcs: fix build → https://git.io/fhmEv
<{^_^}> [nixpkgs] @FRidh merged pull request #53251 → playonlinux: 4.3.3 -> 4.3.4 → https://git.io/fhm36
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « playonlinux: 4.3.3 -> 4.3.4 »: https://git.io/fhmEJ
griff_ has quit [Quit: griff_]
Tucky has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53282 → mediainfo: 18.08.1 -> 18.12 → https://git.io/fhmEY
<{^_^}> [nixpkgs] @FRidh merged pull request #53246 → picard-tools: 2.18.20 -> 2.18.21 → https://git.io/fhmIQ
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « picard-tools: 2.18.20 -> 2.18.21 »: https://git.io/fhmEZ
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « pythonPackages.python-jose: fix build for python 3.6" »: https://git.io/fhmEg
Makaveli7 has joined #nixos
sanscoeur has quit [Ping timeout: 244 seconds]
phreedom has quit [Ping timeout: 256 seconds]
Makaveli7 has quit [Changing host]
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #53258 → parallel: 20181122 -> 20181222 → https://git.io/fhmn9
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fhmuG
pie__ has quit [Ping timeout: 252 seconds]
iqubic has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52889 → hitch: 1.4.8 -> 1.5.0 → https://git.io/fhTY9
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fhmzU
sanscoeur has joined #nixos
ezrakilty has joined #nixos
<ezrakilty> Hello; hoping for some help with the install process; I was directed here by the installer itself.
<ezrakilty> I ran the single-user installer fine and was able to play around with nix-env and friends
sanscoeur has quit [Ping timeout: 250 seconds]
<ezrakilty> Then I ran the —daemon version of the installer and (after arduously cleaning out remnants of the old install) it told me I could open a new terminal and run nix commands
<ezrakilty> but even in a new window, my shell doesn’t have a $PATH pointing at nix-env, nor do I have a ~/.nix-profile
<ezrakilty> How do I create a ~/.nix-profile?
ferriswheel has joined #nixos
iqubic has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53283 → mopidy: 2.2.1 -> 2.2.2 → https://git.io/fhmz2
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @rbvermaa pushed to release-18.09 « julia: update to 1.0.3 »: https://git.io/fhmzK
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b0f40b78513 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @rbvermaa pushed to master « julia: update to 1.0.3 »: https://git.io/fhmzP
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53284 → nnn: 2.1 -> 2.2 → https://git.io/fhmzX
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52831 → omniorb: 4.2.2 -> 4.2.3 → https://git.io/fhUdA
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fhmzD
tzemanovic has quit [Remote host closed the connection]
esmerelda has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53285 → mosquitto: 1.5.4 -> 1.5.5 → https://git.io/fhmgL
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52844 → ioquake: 2018-02-23 -> 2018-12-14 → https://git.io/fhUxR
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fhmg3
<etu> gchristensen: So, I've made my improvements now and fixed another cornercase (not standing in the beginning of the line)
init_6 has joined #nixos
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 250 seconds]
Makaveli7 has quit [Quit: Leaving]
thc202 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53286 → now-cli: 12.1.12 -> 12.1.14 → https://git.io/fhm2W
orivej has joined #nixos
<wedens> etu: big thumbs up for attempt to make nix-mode indentation useful :)
boothead has quit [Ping timeout: 256 seconds]
dermetfan has joined #nixos
<ezrakilty> To the problem I described earlier: I found the solution was to run `source /nix/var/nix/profiles/default/etc/profile.d/nix.sh`, then `/nix/var/nix/profiles/default/bin/nix-env -i nix`.
<{^_^}> [nixpkgs] @etu opened pull request #53287 → sequeler: 0.6.5 -> 0.6.7 → https://git.io/fhm2g
<ezrakilty> Shouldn’t the multi-user installer do that for me? Shall I file a bug report?
jmarin217 has joined #nixos
sigmundv_ has joined #nixos
<jmarin217> I'm trying to add the ly display manager to my config, how do I set a custom display manager?
<jmarin217> I've tried displayManager.job.execCmd but that just conflicts with lightdm even though it isn't enabled.
<{^_^}> [nixpkgs] @suhr opened pull request #53288 → nixos/display-managers: allow pure wayland sessions → https://git.io/fhm2S
<etu> wedens: :)
<etu> wedens: With my patch it's actually really great locally now :D
<jmarin217> Wow my friend was just talking about this and you submit a pr
<jmarin217> That timing is hilarious
<wedens> etu: I've tried your branch it it behaves much better indeed
<wedens> even with electric-pair
<wedens> and indent-region does something that makes sense
<Myrl-saki> I accidentally found this. https://code.google.com/archive/p/nix-os/
* Myrl-saki was looking for Nix + Plan9.
<etu> wedens: yeah, it seems pretty great tbh :D
<jmarin217> Does anybody know how to set up custom display managers? I'm trying to use ly.
<wedens> I can only recommend looking at how existing DMs are implemented
<jmarin217> Yeah I've been looking at how slim does it and I tried using displayManager.job.execCmd but that just conflicts with lightdm even though I haven't enabled it
jomik has joined #nixos
<wedens> are you sure it's not enabled? try to explicitly disable it
<wedens> I don't see how lightdm can define displayManager.job.execCmd without being enabled
<jmarin217> I displayManager.lightdm.enable = false;?
<wedens> `services.xserver.displayManager.lightdm.enable = false;` to be more precise :)
<jmarin217> Yeah I've got that inside of services.xserver = {};
<wedens> how do you know it conflicts with lightdm? does it try to launch lightdm?
<{^_^}> [nixpkgs] @FPtje opened pull request #53289 → Wordpress: 4.9.1 -> 5.0.2 → https://git.io/fhmVe
<jmarin217> It says that `services.xserver.displayManager.lightdm.enable' has conflicting definitions
<wedens> can you paste your module definition somewhere?
<jmarin217> I don't know what that is, I'm kind of new to nixos
mtesseract has joined #nixos
m15k has joined #nixos
iqubic has quit [Ping timeout: 250 seconds]
<wedens> if you look at how e.g. slim is implemented, it's a nixos module https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/display-managers/slim.nix
<{^_^}> [nixpkgs] @FPtje opened pull request #53290 → Wordpress: 4.9.1 -> 5.0.2 → https://git.io/fhmVZ
<wedens> jmarin217: check https://nixos.wiki/wiki/NixOS_Modules
pietranera has joined #nixos
arjen-jonathan has joined #nixos
<jmarin217> Ah! Thanks for your help but I've just found lightdm-mini-greeter. I'm gonna end up using that as it looks like it's easier to set up.
<jmarin217> Thanks again for your help :)
orivej has quit [Ping timeout: 246 seconds]
<mtesseract> Hi. I am new to Nix. Currently trying to become familiar with writing simple expressions for nix-shell. I have encountered a problem which I am not sure how to debug, though. If somebody could provide me with some pointers into the right direction, this would be great. :) So, here is a small shell.nix: https://pastebin.com/uXUSc8TM What I am trying to do is the following: I would like to work on a Haskell package (fractals.nix). For
<mtesseract> nix-shell, I understand that shell.nix should evaluate to the fractalsPkg.env attribute and this works -- the Haskell dependencies of the fractals package are correctly installed. Now, I do not only want the fractalsPkg.env environment available in the nix-shell, but also some other programs, e.g. 'cowsay'. So, I need to combine fractalsPkg.env with cowsay in some way. I thought since the fundamental block here is a derivation, that I
<mtesseract> should write a new derivation with mkDerivation that has appropriate buildInputs specified. Listing cowsay in buildInputs works as expected, but including fractalsPkg.env there prevents nix-shell from starting. It complains "bash: /nix/store/<some-hash>-ghc-8.4.4-with-packages: Is a directory".
griff_ has joined #nixos
periklis has joined #nixos
juhe has joined #nixos
<wedens> I think the problem is that fractalsPkg.env is not a derivation
<m15k> I guess nixos-containers is based on systemd-nspawn?!
<wedens> yep
<m15k> Is there any details why a root container access has access to host system? Is that caused by systemd or has something todo with the way nixos-container is organized?
<mtesseract> wedens: well, (import <nixpkgs> { }).haskellPackages.callPackage ./fractals.nix { } does yield a derivation, according to nix repl.
<mtesseract> wedens: Sorry, I meant ((import <nixpkgs> { }).haskellPackages.callPackage ./fractals.nix { }).env
<{^_^}> [nixpkgs] @basvandijk merged pull request #53289 → Wordpress: 4.9.1 -> 5.0.2 → https://git.io/fhmVe
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fhmry
<{^_^}> [nixpkgs] @basvandijk merged pull request #53290 → Wordpress: 4.9.1 -> 5.0.2 → https://git.io/fhmVZ
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to release-18.09: https://git.io/fhmrH
ryantrinkle has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @xaverdh opened pull request #53291 → dbus-broker: 13 -> 17 → https://git.io/fhmoN
the-kenny has joined #nixos
ubert has joined #nixos
<ezrakilty> I have another newbie question: Is it expected that two different users can use the same profile (e.g. default)?
<ezrakilty> I am using the daemon and each of two users can install packages just fine with their own profiles, but when I switch to the “default” one, they get “permission denied” errors on the /nix/var/nix/profiles/default.lock file
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53292 → lasem: 0.4.3 -> 0.5.0 → https://git.io/fhmKI
<m15k> wedens: My question was based on that warning :) I'd like to know why that's the case.
<ezrakilty> I’m hoping to share profiles between users; do I just have to configure it to do so?
<mpickering> Running `nix-shell` causes an OOM error after warning `warning: dumping very large path (> 256 MiB); this may run out of memory`
<mpickering> What can I do about this?
<symphorien> do you have your own shell.nix ? add src = null to it or use mkShell instead of mkDerivation
erictapen has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53293 → libnice: 0.1.14 -> 0.1.15 → https://git.io/fhmKu
<mpickering> I am using `nixpkgs.haskellPackages.developPackage`
<mpickering> What is this very large path that it's dumping and where is it dumping it to and for what purpose?
<symphorien> the default is src = ./. so it is dumping the current working directory
<symphorien> I don't know for haskell things, though
griff_ has quit [Quit: griff_]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/438b6df1b12 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<ezrakilty> wedens: Thanks for the link. But does that explain how to get users sharing a profile?
<ezrakilty> Or is that in answer to my earlier question?
sanscoeur has joined #nixos
<wedens> ezrakilty: sorry, misread your question
vidbina has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53294 → latte-dock: 0.8.3 -> 0.8.4 → https://git.io/fhmKh
sanscoeur has quit [Ping timeout: 240 seconds]
<mtesseract> wedens: By the way, using inputsFrom = [fractalsPkg.env]; together with mkShell solved my problem.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52650 → yadm: install bash and zsh completions → https://git.io/fhfNE
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fhm62
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53295 → libcouchbase: 2.10.2 -> 2.10.3 → https://git.io/fhm6y
jmarin217 has quit [Quit: WeeChat 2.2]
orivej has joined #nixos
ezrakilty has quit [Quit: ezrakilty]
<{^_^}> [nixpkgs] @timokau merged pull request #53240 → vimUtils: apply pluginToDrv recursively → https://git.io/fhmJ3
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fhmiY
simukis has joined #nixos
<{^_^}> [nixpkgs] @wedens opened pull request #53297 → rofimoji: init at 2017-10-31 → https://git.io/fhmiu
<etu> wedens: woha, that might actually be useful nowadays...
iyzsong has joined #nixos
<wedens> what may cause the error "illegal name: '.drv'" ?
<Myrl-saki> wedens: Using string interpolation on a filename with a .drv, IIRC.
<Myrl-saki> nix-repl> "${/nix/store/0001xh2hdnmxi73b1ysd5lgmx4ypn3kd-regex-tdfa-1.2.3.1.drv}"
<Myrl-saki> error: file names are not allowed to end in '.drv'
<Myrl-saki> Different error.
<Myrl-saki> wedens: Oh, I think I know
<Myrl-saki> wedens: You forgot to specify a pname.
<Myrl-saki> wedens: Or a name in general.
<Myrl-saki> wedens:
<Myrl-saki> nix-repl> stdenv.mkDerivation {}
<Myrl-saki> error: illegal name: '.drv'
<{^_^}> [nixpkgs] @jtojnar closed pull request #53292 → lasem: 0.4.3 -> 0.5.0 → https://git.io/fhmKI
<Myrl-saki> > stdenv.mkDerivation {}
<{^_^}> attribute 'pname' missing, at /var/lib/nixbot/nixpkgs/master/repo/pkgs/stdenv/generic/make-derivation.nix:84:54
<Myrl-saki> I guess it got updated.
<wedens> I'm having a diffculty finding where it happens https://paste.ee/p/IL2Wa
<Myrl-saki> I honestly do not understand Nix's "stack" trace.
<Myrl-saki> wedens: I think it's something you added to home manager htough.
<Myrl-saki> Maybe this.
<Myrl-saki> while evaluating 'mkCmd' at /nix/store/wzggdqn7njsrxwpgg8yf76czav0bq4dh-source/modules/home-environment.nix:316:17, called from undefined position:
<wedens> I'll try commenting my home-manager line by line :/
<wedens> wtf. it happens even with a whole hm config being commented
ferriswheel has quit [Quit: Leaving]
<Myrl-saki> Maybe something happened with home-manager itself?
orivej has quit [Ping timeout: 268 seconds]
<Twey> Is there a trivial builder in nixpkgs that copies a path into the store under a given path? E.G. I have a directory configs/ and I want to create a derivation whose $out just contains share/configs/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53298 → libcdr: 0.1.4 -> 0.1.5 → https://git.io/fhmXU
<wedens> Twey: "${./configs}" will do that, I think
<Twey> It's easy to write but seems like it should be there already
<Twey> wedens: No, that'll copy ./configs to /nix/store/…-configs
<Twey> wedens: I want to create /nix/store/…-configs/share/configs
<Twey> wedens: I.E. the output is not just the path but the path inside a deeper directory structure
fendor has joined #nixos
<wedens> maybe `runCommand "configs" {} "cp ${./configs} $out/share/configs"`
<Twey> wedens: Yeah…
<Twey> I could have sworn there was something like foo { paths = { "share/configs" = ./configs; }; }
<Myrl-saki> Twey: Have you tried grepping for it?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53299 → languagetool: 4.3 -> 4.4 → https://git.io/fhmXl
<Twey> Myrl-saki: I don't know what to grep for
<Twey> Myrl-saki: ‘paths’? :þ
<Myrl-saki> Twey: I pregged for '(\{|,) paths'
<Myrl-saki> grepped
<Twey> Myrl-saki: And did you find it?
<Myrl-saki> TIL, g and p are beside each other on Colemak lol
<Myrl-saki> Twey: Sadly not.
<Twey> Oh, Colemak, fun
<Myrl-saki> Twey: I only got symlinkJoin.
<Twey> Yeah, I figured
<Myrl-saki> There is copyPathToStore though.
<Myrl-saki> # Copy a path to the Nix store.
<Myrl-saki> But that's probably not what you need.
<wedens> Myrl-saki: is this pname/name change not in 18.09?
<Myrl-saki> wedens: I don't think so, it's not on mine, at the very least.
<Twey> Myrl-saki: Yeah, no :(
<wedens> Myrl-saki: I was suggested to use version/pname scheme in my PRs, so I changed my local derivations to the same scheme. that's what broke it
<wedens> after I changed everything back to just `name` everything went to normal
<manveru> does anyone know how to stop my bluetooth headset from waking my computer everytime it tries to connect?
<Myrl-saki> wedens: Ah.
agander has joined #nixos
<Myrl-saki> wedens: Glad we got it fixed. :P
<{^_^}> [nixpkgs] @msteen opened pull request #53300 → openra with extra mods → https://git.io/fhm1l
<Twey> Myrl-saki: Why did you choose Colemak over Workman?
<Myrl-saki> Twey: I hnoestly have no idea.
<Myrl-saki> Twey: I'm pretty sure I knew about Workman by the time I learned about Colemak, since I was also practicing Dvorak.
<Myrl-saki> Twey: I'll give it a try again soon.
<Twey> Myrl-saki: If I were to switch layouts now I think it would be to Workman
<Twey> Not that I will, I'm too old and the returns are too low coming from Dvorak :þ I'm learning steno with Plover now.
janneke has joined #nixos
<ottidmes> so far I have mostly ignored nativeBuildInputs, I know it has to do with cross compiling, how do you determine which should go in there?
<Myrl-saki> ottidmes: Mostly executables.
<Myrl-saki> ottidmes: (As a heruistic.)
<Twey> Are builtins.attrNames and builtins.attrValues guaranteed to yield their elements in corresponding order?
<Myrl-saki> Twey: Check PM
<wedens> nativeBuildInputs is build-time only dependencies, right?
<Myrl-saki> wedens: Yep.
<wedens> stuff like cmake typically goes there
<ottidmes> and they then no longer need to go in buildInputs?
<Myrl-saki> Yep.
<ottidmes> why could Nix not determine this by itself?
Franciman has left #nixos ["Leaving"]
<Myrl-saki> ottidmes: It should be possible to some extent.
<Myrl-saki> ottidmes: But there are some derivations that output both libraries and executables.
<ottidmes> and what about those? do they go into nativeBuildInputs or not?
<Myrl-saki> ottidmes: Depends.
<Myrl-saki> ottidmes: If you're using it as an executable, then *most probably*(but not always), on nativeBuildInputs.
<ottidmes> that is why I ignored nativeBuildInputs, seems so vague...
<Myrl-saki> ottidmes: Same. You'll learn it over the years.
<fendor> how can I debug an overlay? Can I investigate the `self` and `super` parameters somehow?
<ottidmes> Myrl-saki: that is, if you do not ignore them like I do :P
vidbina has quit [Quit: vidbina]
<Myrl-saki> ottidmes: What prompted me to learn it was me having an ARMv7 tablet. :P
<domenkozar> https://blog.hercules-ci.com/elm/2019/01/03/elm2nix-0.1/ for any Elm+Nix users :)
<{^_^}> [nixpkgs] @cdepillabout opened pull request #53301 → nixos/cpufreq: Remove the alias to set the cpu frequency governor → https://git.io/fhmMX
jomik has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53302 → gnome3.libsecret: 0.18.6 -> 0.18.7 → https://git.io/fhmM7
<{^_^}> [nixpkgs] @msteen closed pull request #53163 → init openra-mods → https://git.io/fhqeq
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0043d907aea (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53303 → libmicrohttpd: 0.9.61 -> 0.9.62 → https://git.io/fhmDY
<rizary> I need some enlightenment, i want to develop FSharp in nix, and make some simple override like the following:
<rizary> the pattern of override is similar to my haskell packages (when I build my haskell project)
<rizary> it always said it is a function. I already tried to `callPackage` both in the `fake-cli` and in `myDotnetPackages` but nothing works
alex`` has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53304 → libraw: 0.19.1 -> 0.19.2 → https://git.io/fhm9k
rprije has quit [Ping timeout: 250 seconds]
fendor_ has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0043d907aea (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @siraben opened pull request #53305 → Update Powder Toy to version 93.3 → https://git.io/fhmHf
<etu> gchristensen: Hey, I did some work on making ert-tests for indent in nix-mode :p
<etu> gchristensen: So we need code samples
orivej has joined #nixos
goibhniu has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #53285 → mosquitto: 1.5.4 -> 1.5.5 → https://git.io/fhmgL
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fhmHR
mtesseract has joined #nixos
mtesseract has quit [Client Quit]
<{^_^}> [nix-mode] @etu opened pull request #63 → Ert indent testing → https://git.io/fhmHV
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53306 → lsp-plugins: 1.1.4 -> 1.1.5 → https://git.io/fhmHw
goibhniu has joined #nixos
<siraben> My pull request passes all the tests, maintainers, please see #53305
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53305 (by siraben, 15 minutes ago, open): Update Powder Toy to version 93.3
<{^_^}> [nixpkgs] @petabyteboy opened pull request #53308 → nixos/prosody: add authentication option (fixes #53134) → https://git.io/fhmQI
<etu> siraben: But it doesn't pass contributing guidelines, couldn't you use the template for PR's and check boxes there? Also, commit messages doesn't follow the guidelines stated in there.
<siraben> etu: ok will fix
<siraben> Should I reopen the request?
<{^_^}> [nixpkgs] @das-g opened pull request #53309 → davmail: fix homepage domain name → https://git.io/fhmQ3
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #53122 → cudatoolkit: fix nvprof → https://git.io/fhtJD
<{^_^}> [nixpkgs] @FRidh pushed commit from @ck3d to master « cudatoolkit: fix nvprof »: https://git.io/fhmQc
<{^_^}> [nixpkgs] @siraben closed pull request #53305 → Update Powder Toy to version 93.3 → https://git.io/fhmHf
<{^_^}> [nixpkgs] @FRidh merged pull request #53109 → nasm: 2.14.01 -> 2.14.02 → https://git.io/fhLA3
<{^_^}> [nixpkgs] @FRidh pushed commit from @pbogdan to staging « nasm: 2.14.01 -> 2.14.02 »: https://git.io/fhmQ0
<siraben> I closed it will reopen
<{^_^}> [nixpkgs] @das-g opened pull request #53310 → davmail: fix homepage domain name → https://git.io/fhmQX
<{^_^}> [nixpkgs] @siraben opened pull request #53311 → the-powder-toy: 92.5 -> 93.3 → https://git.io/fhmQ9
<siraben> etu: see #53311
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53311 (by siraben, 22 seconds ago, open): the-powder-toy: 92.5 -> 93.3
cyounkins has joined #nixos
init_6 has quit []
FRidh has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<exarkun1> Anybody have any ideas about systemd cross compilation? https://github.com/NixOS/nixpkgs/issues/53207
<{^_^}> #53207 (by exarkun, 21 hours ago, open): systemd fails to cross-compile
<Izorkin> How to need to merge PR #44343 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44343 (by Izorkin, 22 weeks ago, open): mariadb: 10.2.17 -> 10.3.10
m15k has quit [Ping timeout: 256 seconds]
fendor_ has quit [Ping timeout: 250 seconds]
johanot has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #53309 → davmail: fix homepage domain name → https://git.io/fhmQ3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhm5H
<{^_^}> [nixpkgs] @Mic92 merged pull request #53310 → davmail: fix homepage domain name → https://git.io/fhmQX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fhm57
<gchristensen> etu: amazing!
orivej has quit [Ping timeout: 240 seconds]
sir_guy_carleton has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #53311 → the-powder-toy: 92.5 -> 93.3 → https://git.io/fhmQ9
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fhmdc
erictapen has quit [Ping timeout: 240 seconds]
<wedens> what ends up being cached in official binary cache?
griff_ has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
Boomerang has joined #nixos
<gchristensen> everything built on hydra.nixos.org
<Boomerang> In nixpkgs, for the Haskell packages that come from Hackage, how is the version specified? I see hackage-packages is auto-generated, how should I go about updating a version number?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53312 → gromacs: 2018.4 -> 2019 → https://git.io/fhmbf
<siraben> Thanks Mic92
<samrose> I wonder if this error is related to my hydra server, or the build machine it is running on? https://gist.githubusercontent.com/samrose/684016ca4c1c58ad8f265bebfbd5a677/raw/43cc496dc1f3180db60c8e89d051ebe5338bafff/hydra-eval-jobs
<samrose> "access to URI is forbidden in restricted mode"
iyzsong has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53313 → jackett: 0.10.504 -> 0.10.566 → https://git.io/fhmbx
<gchristensen> hydra restricts access to the internet to increase reproducibility
<samrose> gchristensen: it's weird as the the same hydra server will run the same line on a different project/jobset the only major difference being the first runs locally, the 2nd runs on a remote build machine
<samrose> (locally to the hydra machine that is )
freeman42x[nix] has quit [Ping timeout: 272 seconds]
<samrose> searching seems to reveal a pattern of people trying to pin nixpkgs triggering this issue of "access to URI is forbidden in restricted mode"
jonaswouters has joined #nixos
<gchristensen> I forget the best solution, but https://nixos.org/nix/manual/#conf-allowed-uris
<samrose> gchristensen: hmm ok thank you
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53314 → josm: 14460 -> 14620 → https://git.io/fhmxk
<{^_^}> [nixpkgs] @romildo opened pull request #53315 → vivaldi: 2.1.1337.51-1 -> 2.2.1388.37-1; vivaldi-ffmpeg-codecs: 70.0.3538.77 -> 71.0.3578.98 → https://git.io/fhmxL
griff_ has quit [Quit: griff_]
orivej has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<schopp0r> hi. I have built a package from a repo, using nix-build -A ...; it somehow placed this package not only into the result/-folder, but also in /nix/store. How do I remove it from /nix/store again? (I want to build it again…)
<samrose> gchristensen: I figured it out: I needed a build input in hydra to checkout the https://github.com/NixOS/nixpkgs-channels.git repo. I will have to review the hydra source code, but this was the difference
<clever> schopp0r: a: nix-build always puts the results in /nix/store/ and result is just a symlink to that
<schopp0r> clever: how can I remove it?
<clever> schopp0r: b: nix will detect if any inputs have changed, and rebuild it when they have changed, why do you want to force a rebuild?
<schopp0r> clever: I want to see the build log. Because IMO the build should fail because the checksum should be false.
<clever> schopp0r: nix-store -l ./result
sanscoeur has joined #nixos
<exarkun1> ooh nice
<schopp0r> clever: the thing is, already the fetchFromGitHub-step should fail, because I increased the version, and I didn't change the checksum
<ottidmes> schopp0r: and if you really want to remove it, there is: nix-store --delete $(readlink -f ./result)
<clever> schopp0r: if the sha256 is the same, nix assumes the output is identical, and wont even do the fetch
<clever> schopp0r: what you want to do, is zero out a few digits of the hash, to force a re-fetch
<schopp0r> clever: ok thx
<{^_^}> [nixpkgs] @joachifm closed pull request #3021 → Improvements for declarative nixos containers → https://git.io/Yj2X1Q
cyounkins has quit [Remote host closed the connection]
sanscoeur has quit [Ping timeout: 250 seconds]
cyounkins has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
c00w has joined #nixos
mtesseract has joined #nixos
freeman42x[nix] has joined #nixos
mtesseract has quit [Client Quit]
cyounkins has quit [Ping timeout: 246 seconds]
<samrose> anyone ever run across error: "command `git rev-parse master' failed with exit status 32768 at /nix/store/<hash>-hydra-2017-11-21/libexec/hydra/lib/Hydra/Helper/Nix.pm line 428" ?
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7cd6335c960 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<mog> gchristensen, what is the limiting factor for nixos-channel rebuilds right now? like if we wanted to have nixos-18.09 channel to always be concurrent with git what would that take?
^W has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53316 → imagemagick7: 7.0.8-14 -> 7.0.8-22 → https://git.io/fhmh7
<gchristensen> https://channels.nix.gsc.io/graph.html nixos-18.09 updates pretty regularly
<gchristensen> but I suppose having more hardware to reduce load on the builders would be one thing
arjen-jonathan has quit [Ping timeout: 252 seconds]
hydraz has joined #nixos
<mog> just currently we are at 3 days old on the channel, id be interested in driving fund raiser or community effort to get that to be down to 1 day
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7cd6335c960 (from 88 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<simpson> gchristensen: Do you happen to have a graph of how old the channel is at a given point in time? This might be an interesting metric.
cyounkins has joined #nixos
<gchristensen> no, but that would be very cool
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53317 → gtkdatabox: 0.9.3.0 -> 0.9.3.1 → https://git.io/fhmjO
<simpson> mog: We need not just builders but also fixes, I think; it looks like the tests are currently failing for nixos-unstable.
<{^_^}> [nixpkgs] @jtojnar merged pull request #53302 → gnome3.libsecret: 0.18.6 -> 0.18.7 → https://git.io/fhmM7
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/fhmjW
<simpson> Maybe that doesn't affect oldness, but I thought that we only bumped those -unstable heads when the tests pass.
<mog> simpson, you are right at least currently there have been 6 build attempts that have failed
<samrose> I wonder if my problems are that 1. I am running nixos 18.03 on build machien 2. I am runnign an older version of hydra "2017-11-21 (using nix-2.0.4)"
<mog> but i wasnt sure if that was real failure or related to build resources as a build for unstable did succeed in that time
agander_ has joined #nixos
<gchristensen> sometimes that is hardware being overloaded, other times it is real stuff -- more hardware and a smarter scheduling algorithm would help there.
<samrose> simpson: what would source of data be for how old a channel is at any point in time?
<gchristensen> running the full nixos test suite on every PR would be one way to do it, but man oh man
<simpson> samrose: Scraping howoldis or similar. gchristensen has a bit of a Prometheus setup, and might already be collecting some similar metrics.
<mog> gchristensen, is that something that is easily parrelizable to infinity, or is there a real time cost to doing that?
<gchristensen> mog: which part?
<mog> running the full test suite on a tag
<simpson> gchristensen: Can't we cache test results? Or is the problem that the tests will *never* cache?
cyounkins has quit [Remote host closed the connection]
<gchristensen> it could be parallelized to infinity, but hydra couldn't handle that load as-is
<gchristensen> simpson: we do, but the cache is rarely hit :)
agander has quit [Ping timeout: 272 seconds]
<samrose> I wonder if there is an existing scheduling software that could trigger builds via hydra api based on criteria?
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53318 → gtkwave: 3.3.97 -> 3.3.98 → https://git.io/fhmj9
<simpson> gchristensen: Yeah, that. 'Cause we have a top-level symlink farm for the NixOS configuration which is gonna generally be different every time. Makes sense, sort of.
<gchristensen> there is, and an experiment was done around this a year a couple years ago
<samrose> gchristensen: wow really? Sounds interesting
<gchristensen> it was too much for the hydra system
<simpson> gchristensen: Interesting pattern: I wanted to build a directory of Monte modules in a way that incrementally cached the builds. This meant *undoing* a bunch of Nix best practices around `filterSource` and processing an entire directory at a time.
<{^_^}> [nixpkgs] @jtojnar merged pull request #53287 → sequeler: 0.6.5 -> 0.6.7 → https://git.io/fhm2g
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fhmjd
<simpson> Similarly, we could do way better at caching if only we had some top-level *unbundling* of symlinks.
<c00w> simpson - would content based storage also help with this? (since the symlinks would be more consistent between runs?)
<c00w> s/storage/hashing
<simpson> c00w: Normally I'd say no, but in this case, maybe? I think that there might not be any way around the fact that a systemd-oriented distro *has* to do a lot of centralization of configuration, and at the same time Nix won't let us forget our path dependencies.
cyounkins has quit [Ping timeout: 268 seconds]
FRidh has joined #nixos
<exarkun1> schopp0r: you might want to get nix-prefetch-github
<c00w> I thought that content based hashing would cause the paths to match?
<c00w> Once it rolls out?
dermetfan has quit [Ping timeout: 245 seconds]
<simpson> c00w: Which feature are you thinking of? Nix already has this, sort of: https://nixos.org/nix/manual/#fixed-output-drvs
<simpson> Also there's Nix store optimization with hard-linking, but that doesn't simplify the derivation, only improve disk usage.
<c00w> The feature from the roadmap that doesn't exist yet - https://www.youtube.com/watch?v=8M6yvJC00J4
<simpson> Aha, interesting.
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53319 → grml-zsh-config: 0.15.2 -> 0.15.3 → https://git.io/fhYfO
mtesseract has joined #nixos
mtesseract has quit [Client Quit]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @neilmayhew closed pull request #51489 → mythes: Remove spurious dependency on ncurses → https://git.io/fpiWA
<wedens> is setting NIX_PATH enough or do I need both NIX_PATH and `nix.nixPath` to eliminate the need for channels?
<simpson> Hm. I'm not sure about eliminating channels, but setting NIX_PATH should be enough for doing local work.
<simpson> Note that, if you need stuff from nixos, you'll have to make sure that that is in your NIX_PATH too.
<obadz> in git add -p / git checkout -p, do you guys have the ability to hit backspace and not get a ^H instead of a backspace?
<obadz> isn't it nicer to rollback the nix files in this case?
<obadz> pls ignreo that 2nd line ^^^
erictapen has joined #nixos
<wedens> I've seen a lot of discussions about pining everything in nixos, and I'm a bit surprised there is still no simple solution
<obadz> wedens: setting NIX_PATH is fine, no?
phry has joined #nixos
<wedens> obadz: I'm trying to figure this out. What should be in NIX_PATH? nixpkgs, nixos-config,nixpkgs-overlays? Where do I set NIX_PATH so that it's being picked up by everything?
Denommus has joined #nixos
<obadz> I might not be understanding the question right but you can set it as an env variable in whatever shell you're running
<simpson> wedens: I use $(export NIX_PATH=nixpkgs=/home/simpson/nixpkgs:nixos=/home/simpson/nixpkgs/nixos) but I don't have any overlays or other fanciness.
phry has quit [Client Quit]
<wedens> I guess I'll also install the configuration using `NIX_PATH=... nixos-install`?
<wedens> also, can I somehow provide nixpkgs via fetchTarball so that I don't have to clone nixpkgs for each system
<wedens> ?
<{^_^}> [nixpkgs] @jtojnar merged pull request #53288 → nixos/display-managers: allow pure wayland sessions → https://git.io/fhm2S
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fhYUl
<simpson> Yes, there's a basic idea. This wiki page has a complete recipe: https://nixos.wiki/wiki/How_to_fetch_Nixpkgs_with_an_empty_NIX_PATH
<wedens> I've seen that is's possible to specify an URL in NIX_PATH, but it'll result in downloading the archive in each evaluation, right?
<obadz> wedens: you can put a github URL direectly in NIX_PATH
<wedens> simpson: I don't think it mentions nixos modules
<wedens> seems like it's only nixpkgs
<simpson> wedens: I think that that recipe can be extended to have nixos, but you're right that it's not obvious.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53321 → gzdoom: 3.6.0 -> 3.7.1 → https://git.io/fhYU5
<simpson> To do a bit of mind-reading, are you trying to fix the NixOS version on each of many machines?
<wedens> yep
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53322 → khard: 0.12.2 -> 0.13.0 → https://git.io/fhYTI
kingemp has quit [Remote host closed the connection]
kingemp has joined #nixos
<simpson> I'm sure you've heard the spiel about nixops. (Solution to, and cause of, all my problems~) There probably is a simple way to get NIX_PATH right.
kreisys has joined #nixos
<simpson> https://github.com/NixOS/nixpkgs/issues/27994 suggests that maybe setting `nixos` doesn't matter as long as you get `nixpkgs` right and also `nixos-config`, which should point to /etc/nixos/configuration.nix, whereever it lives.
<{^_^}> #27994 (by puffnfresh, 1 year ago, closed): Document pinning nixpkgs in manual
amfl has quit [Ping timeout: 246 seconds]
<immae> Hey there, can we do better than ${"''"} when we want to include a literal '' in a multiline string in a nix expression? (also, is there an existing way to use a local file as a template with variables instead of including it directly in the nix expression?)
<symphorien> ,escape'' immae
<{^_^}> immae: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<wedens> simpson: yeah, I've seen this issue. There are some bits and pieces of information in dieer
<wedens> *different issues
<wedens> but there is no complete picture
<immae> Thanks symphorien
<immae> (symphorien: I looked for it in the documentation in vain, is it documented somewhere?)
amfl has joined #nixos
<simpson> wedens: I agree that there *should* be a complete picture. It's annoying that nixos-rebuild secretly takes some environment variables transitively without documentation.
<wedens> simpson: I haven't used nixops yet. Can I just set some attribute to desired nixpkgs revision and press the red button? :)
<simpson> wedens: With both nixops and disnix, it's a bit more complicated than that. You'd end up *locally* creating the environment you want, including the nixpkgs revision, and building the closure locally too, and then the closure would be instantiated on each target machine without even running nixpkgs.
<immae> Thanks
joncfoo has quit [Quit: ZNC 1.6.5 - http://znc.in]
joncfoo has joined #nixos
<simpson> wedens: You *do*, at least with nixops (I haven't seriously used disnix) end up with basically a configuration.nix that you edit once and deploy to many machines.
<wedens> simpson: but then again, you still have to set up pinning locally, right? :)
<simpson> wedens: Yes, with the export I had pasted above. I send stuff upstream to nixpkgs, so it's convenient for me to use my local git checkout... I suppose that if you don't have one of those, then yes, the problem persists to a degree.
<wedens> so that you don't have just the same environment on all machines, but the same and _specific_ environment
shazow has left #nixos [#nixos]
erasmas has joined #nixos
jabranham has joined #nixos
endformationage has joined #nixos
<samrose> advice sought for hydra build issue: oraclejdk unfree license refusing to evaluate: is this trying to evaluate on the build machine, or on the hydra server? I think I can resolve with an overlay, but I wasn't sure where this error originates in the hydra build process
joncfoo has quit [Remote host closed the connection]
joncfoo has joined #nixos
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fhYLP
<{^_^}> [nixpkgs] @jtojnar merged pull request #52754 → flatpak: 1.0.5 -> 1.1.2 → https://git.io/fhULI
Church_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53323 → grpc: 1.17.0 -> 1.17.2 → https://git.io/fhYtl
<{^_^}> [nixpkgs] @hansjoergschurr opened pull request #53324 → trx: init at 2018-01-23 → https://git.io/fhYtB
<samrose> I guess looking at the system logs it appears to be a hydra server evaluation error
lokado has joined #nixos
<lokado> Hi everyone, do you know how to start a seperate X session on the externel monitor on nixos?
<{^_^}> [nixpkgs] @bennofs opened pull request #53325 → ###### Motivation for this change → https://git.io/fhYt7
tilpner has joined #nixos
sir_guy_carleton has quit [Ping timeout: 246 seconds]
<tilpner> All of this nonsense started after my last upgrade of nixos-unstable. Now the server dies every few hours. Has anyone else had problems (stability-wise) with recent unstable?
Mateon1 has quit [Ping timeout: 246 seconds]
<tilpner> (Yes, yes, my fault for running unstable on a server, and for breaking my own rollback. I needed the per-interface firewall fixes)
<{^_^}> [nixpkgs] @domenkozar opened pull request #53326 → Elm: automate packaging with elm2nix → https://git.io/fhYtj
<immae> tilpner: just to check that it’s indeed nixos related, how does it "dies" ? Does it simply reboot? I’ve had problems lately related to that issue https://www.mail-archive.com/search?l=debian-bugs-dist%40lists.debian.org&q=subject:%22Bug%23904822\%3A+linux\-image\-4.17.0\-1\-amd64\%3A+Freeze\%2Ftiming\%2Finterrupt+problems+since+4.17%22&o=newest&f=1 which made my system hang for some minutes or
<immae> indefinitely every now and then. Nixos had nothing to do with it, only changes in the kernel
<{^_^}> [nixpkgs] @gebner merged pull request #53322 → khard: 0.12.2 -> 0.13.0 → https://git.io/fhYTI
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/fhYqG
<tilpner> immae: I don't really now. I have prometheus and atop recording, but they (and journald) stop recording whenever this happens
<immae> ok
agander_ has quit [Ping timeout: 240 seconds]
<tilpner> I suspect it's dead, because it wasn't making progress on raid1 resync-ing during the time of the incident
<tilpner> Sometimes it comes back on its own, sometimes only after a remote reboot
<immae> Ah you have a RAID
<immae> So you’re probably in the same situatoin yes
<immae> Can you try adding dm_mod.use_blk_mq=0 scsi_mod.use_blk_mq=0 to your kernel command line?
<tilpner> I had support replace one of the disks yesterday. After it started freezing, I ran self-tests and one of the disks had read errors
<tilpner> I will definitely try that after these memory tests finish
<immae> Sorry I forgot one: ahci.mobile_lpm_policy=0 dm_mod.use_blk_mq=0 scsi_mod.use_blk_mq=0
<immae> If I understand correctly, it’s related to power management and it makes problems with RAID arrays
<immae> You have the same symptoms as me, so hopefully this will fix that
<immae> (to be honest, maybe only one of the three may be necessary, but I was so desperate to have such problems that I didn’t even try to find which one was necessary, feel free to make tests and report on your own)
<{^_^}> [nixpkgs] @FRidh opened pull request #53327 → stdenv: assert whether `name` or (`pname` and `version`) are given → https://git.io/fhYqr
<tilpner> immae: I'm very glad you were reading along, I'll let you know if it helps :)
<schopp0r> hm. I get "store path mismatch in file downloaded" … what does this mean?
<schopp0r> when trying to build.
jonaswouters has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53328 → jhiccup: 2.0.9 -> 2.0.10 → https://git.io/fhYqH
<{^_^}> [nixpkgs] @Infinisil merged pull request #53301 → nixos/cpufreq: Remove the alias to set the cpu frequency governor → https://git.io/fhmMX
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhYq5
philippD has joined #nixos
hyper_ch has joined #nixos
lokado has quit [Quit: WeeChat 2.3]
__monty__ has joined #nixos
dermetfan has joined #nixos
johanot has quit [Quit: WeeChat 2.2]
infandum has joined #nixos
<infandum>
<infandum> How do I override buildFHSUserEnv targetPkgs in the zotero package https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/office/zotero/default.nix ? I just want to add some packages to the list, not rewrite the whole thing.
<infandum> Or at lease just replace the targetPkgs list, nothing else
<wedens> I don't think you can do much as it's defined locally
<infandum> But isn't buildFHSUserEnv an input?
erictapen has quit [Ping timeout: 250 seconds]
<tilpner> infandum: Yes, you can .override { buildFHSUserEnv = args: buildFHSUserEnv (args // { targetPkgs = args.targetPkgs ++ [ yourPkgs... ]; }); }
<tilpner> Where the second buildFHSUserEnv refers to the real thing
<obadz> so p1.override { p2 = … } overrides package p1's dependency p2 with a modified version of p2. How can I express p1.overrideDeep { p2 = … } where p2 is overriden in the transitive closure of p1?
<wedens> obadz: perhaps it can be overwritten for nixpkgs that'll be passed to the derivation? or something like that. I'm not sure
pietranera has quit [Quit: Leaving.]
<ottidmes> I am getting an error while building a nodejs package via node2nix: /nix/store/3zal9zfqb41fsbmwl5ba7sxh3h2ngvxi-git-2.18.1/bin/git ls-remote -h -t https://github.com/duosecurity/duo_web_sdk.git (Could not resolve host: github.com), any idea how to work around this?
<obadz> wedens: I don't wish for it to be overriden for all of pkgs, just for the dependencies of 1 package.
<wedens> obadz: yes. that's why I said "nixpkgs that'll be passed to the derivation" ;)
<obadz> nixpkgs isn't really passed to the derivation, there's an odd fixed point relationship between nixpkgs and the derivation (the derivation is part of nixpkgs)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53329 → insomnia: 6.2.3 -> 6.3.2 → https://git.io/fhYOO
<obadz> where's nbp when you need him? :)
<ottidmes> obadz: I agree with wedens, that seems the most obvious way to do so, even something like this might work: (pkgs // { p2 = ...; }).callPackage ... (where the callPackage arguments will have to be looked up for p1 in most likely all-packages.nix)
<infandum> tilpner: I get the error of value is a function while a list is expected
<exarkun1> obadz: Make a new nixpkgs with the override you want, use callPackage from that nixpkgs to create p1
<nbp> obadz: nowhere
<exarkun1> I guess ottidmes beat me to it
<obadz> ottidmes / exarkun1: hmmm agree that using callPackage on an overriden version if nixpkgs would work but that feels wrong for some reason. I'll have a think.
periklis has quit [Ping timeout: 244 seconds]
<nbp> obadz: { my_foo = …; bar = super.bar.override { foo = self.my_foo; }; } ?
<obadz> nbp: but that only overrides foo which is a direct dependent of bar no?
<nbp> obadz: make an overlay with: { p2 = …; }
<nbp> obadz: and make sure that they are all using "self.p2".
<nbp> obadz: to your question and my previous example, yes.
<obadz> what's the best way to understand how overlays work? I'll have to implement that for my repo… (I'm not in nixpkgs)
<wedens> how do you apply overlay to specific derivation?
<infandum> tilpner: If I delete the "args.targetPkgs ++" and just put the entire list there it works.
<infandum> Thank you!
<nbp> obadz: overlay works by adding something on top, and relying on Nixpkgs to query everything from the pile of overlay.
<nbp> wedens: What do you mean by "to a specific derivation" ?
<obadz> nbp: (to wedens' question), I'd like to end up with a single attr set that has pkgs.p1 and pkgs."p1_with_p2_shocked in transitive closure"
<obadz> nbp: I don't want pkgs.p1 to be affected by overlay
<wedens> nbp: from what I understand, obadz wants to change transitive dependencies of specific derivation
<nbp> and you don't want that for other packages?
<wedens> nbp: so, you'll have to make the derivation use specific nixpkgs with applied overlay
<obadz> nbp: right
<nbp> So you will need what I introduced in a non-merged pull request :/ Or to re-import Nixpkgs.
<obadz> nbp: can I see the non-merged PR? I'm not in nixpkgs..
<nbp> re-import Nixpkgs with the expected overlay.
<obadz> nbp: (tell me it's not the security one…)
<ottidmes> to create a custom nixpkgs based on the current value of pkgs + your overlay: lib.fix (lib.extends (import ./overlay.nix) (self: pkgs))
<wedens> perhaps just `nixpkgs0 = import <nixpkgs> { overlays = [ p1_overlay ]; };` and use that for the derivation?
<{^_^}> #44196 (by nbp, 22 weeks ago, open): Add pkgs.overrideWithScope
<obadz> nbp: overrideWithScope! I like it
<nbp> obadz: This is exactly what you are asking.
<obadz> nbp: thank you!
pie__ has joined #nixos
<wedens> obadz: if the derivation is in nixpkgs, it'll be `xyz = (import <nixpkgs> { overlays = [ p1_overlay ]; }).xyz;` where `xyz` is your derivation
<wedens> if I'm not missing something
<nbp> obadz: The problem is that it implies that we would have to clean up a few things in Nixpkgs to be useful :/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53330 → groonga: 8.0.9 -> 8.1.0 → https://git.io/fhYOp
<exarkun1> still trying to figure out systemd cross compilation: https://github.com/NixOS/nixpkgs/issues/53207
<{^_^}> #53207 (by exarkun, 1 day ago, open): systemd fails to cross-compile
<{^_^}> [nixpkgs] @adisbladis opened pull request #53331 → Emacs packages update → https://git.io/fhY3e
sigmundv_ has quit [Ping timeout: 245 seconds]
Sheth has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @markuskowa merged pull request #52279 → gparted: 0.32.0 -> 0.33.0 → https://git.io/fpNld
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhY35
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53332 → haproxy: 1.8.15 -> 1.9.0 → https://git.io/fhY3x
infandum has quit [Ping timeout: 246 seconds]
Sheth has joined #nixos
ma9e has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #53314 → josm: 14460 -> 14620 → https://git.io/fhmxk
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhYsz
ambro718 has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #53319 → grml-zsh-config: 0.15.2 -> 0.15.3 → https://git.io/fhYfO
<{^_^}> [nixpkgs] @veprbl pushed commit from @r-ryantm to master « grml-zsh-config: 0.15.2 -> 0.15.3 »: https://git.io/fhYsx
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53333 → groovy: 2.5.4 -> 2.5.5 → https://git.io/fhYGk
<{^_^}> [nixpkgs] @markuskowa merged pull request #53312 → gromacs: 2018.4 -> 2019 → https://git.io/fhmbf
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhYGL
lewo has quit [Ping timeout: 260 seconds]
<Church_> samueldr: Hey so when editing a makefile in place during a nix build, would I just use say sed in the buildPhase?
<nbp> Ericson2314: https://github.com/NixOS/nixpkgs/pull/51213 Please do not use the module system within Nixpkgs.
<{^_^}> #51213 (by Ericson2314, 5 weeks ago, open): WIP lib: Better extensible attrsets
<Church_> Or would I want to break out a custom build script then?
<samueldr> the only reason to break out a custom builder is if the build is wholly alien to anything remotely sensible on linux; even other build systems than the classic "./configure; make; make install" are handled through the generic build in nixpkgs
sanscoeur has joined #nixos
<samueldr> e.g. cmake or meson work fine
<samueldr> (once their hook used)
Xiro` has joined #nixos
<Church_> Gotcha, so I should probably just run sed on the makefile during the configure phrase then?
<Church_> Need to edit out some lines.
<samueldr> yeah, that's what's usually done
<samueldr> or a patch
Xiro` has quit [Remote host closed the connection]
elgoosy has joined #nixos
elgoosy has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #53167 → urh: 2.5.1 -> 2.5.3 → https://git.io/fhqJG
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhYGw
dermetfan has quit [Ping timeout: 268 seconds]
tzemanovic has quit [Remote host closed the connection]
ubert has quit [Quit: Leaving]
tzemanovic has joined #nixos
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #nixos
<Church_> samueldr: So this is the modifcation I made, added a configPhase. https://paste.rs/QJM The error I get is this: https://paste.rs/ez5 Getting a permission denied error despite not leaving the source directory
<Church_> Verified that I was in the dir by running ls during the configPhase as well/
<Church_> Not sure what temp file it's trying to open since I explicitly name Makefile as an argument.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53334 → http-parser: 2.8.1 -> 2.9.0 → https://git.io/fhYG9
<{^_^}> [nixpkgs] @markuskowa merged pull request #53275 → mc: 4.8.21 -> 4.8.22 → https://git.io/fhmBH
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhYGH
<samueldr> Church_: `cd $src` you are chdir'd into /nix/store/[...] of your source files
tzemanovic has quit [Ping timeout: 260 seconds]
<samueldr> no need to chdir since the source has already been copied and made r/w for you by the generic builder
<samueldr> even nix builds cannot touch nix store paths once built
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhYZJ
<{^_^}> [nixpkgs] @ryantm merged pull request #53286 → now-cli: 12.1.12 -> 12.1.14 → https://git.io/fhm2W
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53335 → ibus-engines.typing-booster-unwrapped: 2.3.3 -> 2.4.1 → https://git.io/fhYZU
<Church_> samueldr: The problem I find then is, it builds but there's no output in $out.
<{^_^}> [nixpkgs] @markuskowa merged pull request #53282 → mediainfo: 18.08.1 -> 18.12 → https://git.io/fhmEY
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhYZI
<Church_> Or hmm.
<Church_> Maybe this will work.
<samueldr> (you probably want to prefer using `postPatch` to sed things out, because configurePhase when there's a ./configure script is used to run it; though it doesn't affect your current derivation)
<Church_> Yep
m0rphism has quit [Quit: WeeChat 2.2]
m0rphism has joined #nixos
cyounkins has joined #nixos
<Church_> samueldr: Okay so here's an odd error, in the configure phase I decided to run "mkdir -p $out/bin" And then append /bin/ to my Makeflags so the binary would be placed in $out/bin/
<Church_> It seems to be substituting in wrong.
<Church_> Get an error of can't cp to ut/bin/
<srk> it's just out not $out
<{^_^}> [nixpkgs] @markuskowa merged pull request #53284 → nnn: 2.1 -> 2.2 → https://git.io/fhmzX
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhYZW
<srk> nope
<srk> nvm
<Church_> Okay was about to say lol
<gchristensen> ofborg is now requesting reviews on PRs: https://www.patreon.com/posts/requesting-of-23731342
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53337 → jhead: 3.02 -> 3.03 → https://git.io/fhYZu
<samueldr> Church_: looking at other `makeFlags` in nixpkgs I think I see; looks like everything is escaped. using $(out) instead would work AFAIUI
<samueldr> that's because instead of being bash that does the expansion, it's make
<samueldr> (TIL)
<Ericson2314> Nbp you mean my big list of steps?
<Ericson2314> I tried to put people's priorities besides mine in that last :)
<nbp> Ericson2314: yes. I mean to do write Nixpkgs overlays with NixOS modules.
<nbp> Ericson2314: NixOS module have much-more overhead compared to Nixpkgs.
<Ericson2314> Sure
<Ericson2314> What do you think of the PR itself?
cyounkins has quit [Ping timeout: 250 seconds]
<Church_> samueldr: So tried passing both ($out) and {$out}
<Church_> The latter worked but still no output in the store.
mtesseract has joined #nixos
<nbp> Ericson2314: I have no look deep inside the logic, but from my point of view "monoid" can be renamed into "blue-duck-with-dark-feathers" and that would carry the same level of knowledge to me.
dermetfan has joined #nixos
<Ericson2314> Yeah all the monoid stuff should just be implementation detail
<Ericson2314> The end user interface is 2017's {{...}}
<Ericson2314> But with self and super
<nbp> Ericson2314: I have no look that deep yet
<Ericson2314> The monoid part is refers to getting the underlying (self: super: ...)
<Ericson2314> And combining them with composeExtensions
<samueldr> Church_: and what about `$(out)`?
<samueldr> because here it looks like it's working
<Ericson2314> And making a new attrset out of that
<Ericson2314> Sure NW
mtesseract has quit [Client Quit]
<nbp> Ericson2314: Find a name which is meaningful in Nixpkgs terms.
<nbp> Ericson2314: from a highlevel overview this is my conclusion.
<Ericson2314> Just trying to give you a little flavor now; I hope you can soon because I think we both agree we an incremental approach is needed to fix nixpkgs's organization
<Ericson2314> Ok
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53338 → gpodder: 3.10.5 -> 3.10.6 → https://git.io/fhYZj
<nbp> Ericson2314: I think it is too early to come up with a syntax for Nixpkgs.
<gchristensen> what is this discussion inregards to?
cyounkins has joined #nixos
<nbp> NixOS modules are settled, and I am not sure we want to express Nixpkgs the same way as we express NixOS modules.
<Church_> samueldr: Huh, I get the same error as before, can't cp to ut/
griff_ has joined #nixos
<{^_^}> #44196 (by nbp, 22 weeks ago, open): Add pkgs.overrideWithScope
<{^_^}> #51213 (by Ericson2314, 5 weeks ago, open): WIP lib: Better extensible attrsets
<Church_> samueldr: `cp -p ubridge ()ut)' is where it fails
<gchristensen> ah
<samueldr> I have `makeFlags = "BINDIR=$(out)/bin";` here and it works fine
<Church_> After passing: makeFlags = "BINDIR=($out)";
<nbp> gchristensen: SOS as always :P
<Church_> Huh
<gchristensen> :)
<samueldr> Church_: >:| look out $(out) != ($out) !!
<Church_> samueldr: Could I get a gist or paste of your default.nix?
fendor has quit [Read error: Connection reset by peer]
<Church_> Oh godamnit
<samueldr> yes!
<Church_> So what's the command to clean up old paths?
<samueldr> not 100% confident in my makefile knowledge, but AFAIUI, $xyz is akin to $(x)yz, so ($out) is ($(o)ut) (or something along the ways)
<Church_> nix-garbage-collect?
<Church_> That's... christ
<FRidh> Ericson2314: could you have a look again at the cross-compilation commit in https://github.com/NixOS/nixpkgs/pull/53123
<Church_> I'm going to from playing awful Makefiles to BGP
<{^_^}> #53123 (by FRidh, 3 days ago, open): Python: merge expressions of interpreters
<Church_> Truly how the net still works I'll never know
<Ericson2314> @FRidh sur
worldofpeace has joined #nixos
<Church_> samueldr: And I still have to compile more stuff for this?
phreedom has joined #nixos
<samueldr> Church_: ? no idea
<Church_> Why in the hell did somebody package gns3 if they aren't going to package the dependencies!
sc_ has quit [Quit: Lost terminal]
<Church_> Christ
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53273 → notejot: 1.5.2 -> 1.5.3 → https://git.io/fhm4p
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhYni
<Church_> samueldr: Well I should be able to do the rest now. Thanks samueldr
<{^_^}> [nixpkgs] @benley merged pull request #53294 → latte-dock: 0.8.3 -> 0.8.4 → https://git.io/fhmKh
<{^_^}> [nixpkgs] @benley pushed commit from @r-ryantm to master « latte-dock: 0.8.3 -> 0.8.4 (#53294) »: https://git.io/fhYnS
<{^_^}> [nixpkgs] @markuskowa merged pull request #53266 → qrencode: fix darwin build → https://git.io/fhm8G
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhYn5
Church_ has quit [Ping timeout: 245 seconds]
<worldofpeace> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<{^_^}> [nixpkgs] @markuskowa merged pull request #53263 → openorienteering-mapper: 0.8.3 -> 0.8.4 → https://git.io/fhmlL
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhYcn
<Ericson2314> @FRidh done
<FRidh> Ericson2314: great, thanks
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53303 → libmicrohttpd: 0.9.61 -> 0.9.62 → https://git.io/fhmDY
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to staging « libmicrohttpd: 0.9.61 -> 0.9.62 »: https://git.io/fhYCf
<{^_^}> [nixpkgs] @bjornfor pushed to master « websocketd: init at 0.3.0 »: https://git.io/fhYCU
jabranham has quit [Remote host closed the connection]
imdoor has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « pulseeffects: 4.4.1 → 4.4.4 »: https://git.io/fhYCI
BlessJah has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53339 → goxel: 0.8.1 -> 0.8.2 → https://git.io/fhYCY
<{^_^}> [nixpkgs] @LnL7 merged pull request #52705 → Fix sfml build on Darwin → https://git.io/fhJEy
<{^_^}> [nixpkgs] @LnL7 pushed 4 commits to master: https://git.io/fhYCr
ezrakilty has joined #nixos
<worldofpeace> Is the hash for a source fetched with `fetchzip` just of the nar?
BlessJah has joined #nixos
<LnL> fetchzip is hashed after the contents is unpacked
BlessJah has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rbvermaa pushed to release-18.09 « julia: fix hash for 1.0.3 »: https://git.io/fhYWo
<gchristensen> the rare ikwildrpepper commit
<{^_^}> [nixpkgs] @rbvermaa pushed to master « julia: fix hash for 1.0.3 »: https://git.io/fhYWP
<{^_^}> [nixpkgs] @markuskowa merged pull request #53150 → eaglemode: 0.86.0 -> 0.94.0 → https://git.io/fhtHP
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhYlf
Mateon2 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #53236 → python37Packages.ldap3: 2.5.1 -> 2.5.2 → https://git.io/fhmfz
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.ldap3: 2.5.1 -> 2.5.2 »: https://git.io/fhYl0
phreedom has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 113 commits to staging-next: https://git.io/fhYlr
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53315 → vivaldi: 2.1.1337.51-1 -> 2.2.1388.37-1; vivaldi-ffmpeg-codecs: 70.0.3538.77 -> 71.0.3578.98 → https://git.io/fhmxL
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhYlX
Thra11 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @bachp opened pull request #53341 → youtube-dl: 2018.12.17 -> 2019.01.02 → https://git.io/fhYlS
<disasm> Is there a way to preserve .git with src in a derivation? Essentially, the derivation in parts uses git to pull the rev to embed it in a document generated by the derivation.
lawlesseel has joined #nixos
<gchristensen> it is not possible to do that in a stable way, because the .git dir is not reproducible
<gchristensen> you're using fetchgit?
<FRidh> disasm: we always patch thhose kind of things out
<disasm> no, it's not using fetchgit
griff_ has quit [Quit: griff_]
<disasm> that's what I though FRidh, just wanted to check if there was some work-around
<gchristensen> what are you using?
<exarkun1> https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/setuptools/default.nix looks like it's not cross-compile friendly. but I tried moving python from buildInputs to nativeBuildInputs and it made no difference.
<exarkun1> (that is, it still fails during install with "/nix/store/n002dadikki28mjprlcsyhvbavxqn1ih-python-2.7.15-armv6l-unknown-linux-gnueabihf/bin/python2.7: cannot execute binary file: Exec format error")
<samueldr> exarkun1: I believe #53123 is working to fix those issues
<disasm> latex with a makefile that uses texlive.gitinfo2
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53123 (by FRidh, 3 days ago, open): Python: merge expressions of interpreters
<samueldr> (among others)
Dagger has quit [Excess Flood]
kreisys has quit [Ping timeout: 250 seconds]
<samueldr> exarkun1: before that was opened, I had done this to (apparently) fix the issue https://github.com/NixOS/nixpkgs/pull/53064/commits/6d0f7de6cbf82ed36eaf0d08ea09339eda5dfff5
<gchristensen> I mean, what are you using to fetch the src?
<disasm> src = ./.;
<gchristensen> then it should keep the .git unless you're using filterSource
<exarkun1> samueldr: thanks
<samueldr> exarkun1: I had a couple other cross-compiling annoyances which were already fixed in staging, you may want to try on staging
Dagger has joined #nixos
<exarkun1> maybe :/ but I fear how many things I'll have to recompile if I disturb my nixpkgs any more than absolutely necessary.
<exarkun1> perhaps sunk cost fallacy, I dunno
<FRidh> heh sounds familiar, I've been recompiling all day long while fixing this branch
<FRidh> pypy is still not working as it should
<FRidh> that one is especially a pain
<{^_^}> [nixpkgs] @gnidorah opened pull request #53342 → dro2midi: init at 1.6 → https://git.io/fhY88
<exarkun1> yesterday I booted a c5d.2xlarge to do my building and made a lot of progress but then all of my packages are on the opposite side of a slow link from me ... :/
<gchristensen> disasm: not sure whats up there, but Nix definitely doesn't automatically exclude .git
<exarkun1> samueldr: thanks for the link to that commit. it helped a bit. the build still fails because of a python 2.7 / python 3.6 mixup. but maybe if make the use of buildPackages consistent within the installPhase script...
ris has joined #nixos
phreedom has joined #nixos
<samueldr> yeah, I think I was lucky in my use case, I was 50% sure the `buildPackages.python` was wrong there
<disasm> meh
<disasm> wrong clipboard :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53343 → gnucash: 3.3 -> 3.4 → https://git.io/fhY4U
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/9d608a6f592 (from 25 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<disasm> yeah, I can confirm here that works as well
<disasm> I'll use that snippet to debug what's going on further
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhY4G
<disasm> oh, this is a subdirectory...
<disasm> I feel dumb, lol
<gchristensen> :D
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: enable all build just to see what happens »: https://git.io/fhY4l
<disasm> src = ../.; buildPhase = "cd latex && make"; fixes it :)
<gchristensen> :D
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhY4z
<dtz> looking at the gitinfo bits, is there a particular reason to not use the sample post-commit hook (even if invoking manually or w/e) instead of what's in the gist?
ferriswheel has joined #nixos
<Twey> Myrl-saki: Ahhhhhh linkFarm
ferriswheel has quit [Client Quit]
ferriswheel has joined #nixos
<Myrl-saki> Twey: Oh. :P
<Myrl-saki> Twey: It's not exactly what you really want though, since the files can move, right?
tzemanovic has joined #nixos
ferriswheel has quit [Client Quit]
<Twey> Myrl-saki: What do you mean?
<Twey> You can give a path to link it under
<Twey> That's what I was looking for
<ezrakilty> Hi all. I know about the “single version policy” for the main nix channel. But for demo purposes, is there any package you can think of that does have multiple versions in the channel? I want to show some people how nix can handle multiple versions for different users, but without waiting for the channel to update I don’t know how to do that :-)
<bbarker> ezrakilty, off the top of my head, ocaml
<ajs124> ezrakilty, do you mean something like boost155 vs. boost168?
<bbarker> ^ ocaml would be the same as the boost example
<Twey> ezrakilty: llvmPackages?
_fw has joined #nixos
<Twey> There are tons of those
<Twey> llvmPackages llvmPackages_35 llvmPackages_37 llvmPackages_38 llvmPackages_39 llvmPackages_4 llvmPackages_5 llvmPackages_6 llvmPackages_7
<Twey> ezrakilty: Doesn't even have to be for different users, the same user can use multiple versions too :)
<Twey> nix-shell -p clang_7 --run "clang --version"
<Twey> nix-shell -p clang_6 --run "clang --version"
iqubic has joined #nixos
<Myrl-saki> Twey: Ah.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51487 → ddclient: 3.8.3 -> 3.9.0 → https://git.io/fpisd
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fhYBn
<{^_^}> [nixpkgs] @Mic92 merged pull request #53338 → gpodder: 3.10.5 -> 3.10.6 → https://git.io/fhYZj
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhYBB
kreisys has joined #nixos
<ezrakilty> bbarker, ajs124, Twey, great examples, thanks!
<bbarker> ezrakilty, I guess the same is true for a very common thing: Python27 and Python36
<ezrakilty> bbarker, that’s true, but those two things are anyway pretty good at keeping themselves separate
Mic92 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @Mic92 merged pull request #53339 → goxel: 0.8.1 -> 0.8.2 → https://git.io/fhYCY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhYBb
<FRidh> Not really. How often in organizations you see people using PYTHONPATH to compose a Python environment....and then mix 'm up.
<ezrakilty> Hmm, yeah, I don’t actually use both, that was just an impression I had; so maybe that is a good example too.
Mic92 has joined #nixos
<FRidh> Ericson2314: I am confused again. If I use nativeBuildInputs, should I still use `buildPackages.foo`?
<FRidh> no, right?
<{^_^}> [nixpkgs] @Mic92 pushed to master « android-udev-rules: 20180112 -> 20181031 »: https://git.io/fhYR4
<Mic92> FRidh: nativeBuildInputs does perform something called splicing so you don't need to use buildPackages.foo
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53341 → youtube-dl: 2018.12.17 -> 2019.01.02 → https://git.io/fhYlS
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @bachp to master « youtube-dl: 2018.12.17 -> 2019.01.02 »: https://git.io/fhYRa
<Mic92> FRidh: there is an exception to that if you pass a package with callPackage ./express { inherit foo; };
<Mic92> there splicing does not seem to work
<FRidh> Mic92: ok
<FRidh> are you familiar with the hostOffset in setup-hooks? addEnvHooks "$hostOffset" addPythonPath
<Mic92> FRidh: a bit. There is also a formular in the nixpkgs manual
<Mic92> ccccccjffttevhcufurddfurccuhhkjhtjdghiveleti
<Mic92> oh man my yubi key did it again
<Mic92> ccccccjfftteghvchtcldidvujfcirrjvngeiihfekvv
<Mic92> stop it!
<gchristensen> haha
<Mic92> I bought it because of this gpg rfc.
<tilpner> immae: Oh no, it's dead again :(
elibrokeit has quit [Quit: A random quit message]
elibrokeit has joined #nixos
<sphalerite> Mic92: stop touching it :p
ezrakilty_ has joined #nixos
<Mic92> gchristensen: on the 35c3 I got a signature for my gpg key with a guy that tries to establish a strong set of web-of-trust between all maintainer. Our key that is signs the nix release is not in good shape.
<Mic92> We should cross-sign it some time on the next nixcon.
<Mic92> sphalerite: will it stop, once I install some yubikey software?
<gchristensen> Mic92: nice
juhe has quit [Remote host closed the connection]
<Mic92> I am too scared to set yubi-key up, without making a backup on my harddrive that is at home.
<gchristensen> like moving your gpg key over to it? I agree
<gchristensen> I hate GPG.
<Mic92> I don't like it either
<Ericson2314> FRidh: so you never need `buildPackages.` in any `*Inputs` or `dep*` list, except for `depsBuildBuild = [ buildPackages.stdenv.cc ];`
<Mic92> but I don't see an alternative
ezrakilty has quit [Ping timeout: 272 seconds]
ezrakilty_ is now known as ezrakilty
<tilpner> immae: I verified /proc/cmdline contains ahci.mobile_lpm_policy=0 dm_mod.use_blk_mq=0 scsi_mod.use_blk_mq=0, but it just locked up again. You wouldn't happen to have any debugging tips?
sir_guy_carleton has joined #nixos
arjen-jonathan has joined #nixos
<FRidh> Ericson2314: ok, good to know. I need to read up on the splicing first before making more changes I think
<Mic92> sphalerite: this escaled quickly. I looked into spacemacs over christmas and now this: https://github.com/Mic92/company-tmux
<Ericson2314> FRidh: your stuff basically looked alright thoguh
<Ericson2314> the extra `buildPakages.` doesn't hurt, provided you do what splicing would do
justanotheruser has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jollheef opened pull request #53344 → wire-desktop: 3.3.2872 -> 3.5.2881 → https://git.io/fhY0i
<gchristensen> Ericson2314: there have been some very nice developments on nix-mode for mbauer to take a look at when he's able :)
<Ericson2314> FRidh: the other thing is for cross builds, it will only put `nativeBuildInputs` on the PATH, which makes the PATH more reliable
<{^_^}> [nixpkgs] @globin merged pull request #52726 → nixos/prometheus-bind-exporter: add module → https://git.io/fhJH6
<{^_^}> [nixpkgs] @globin pushed commit from @eonpatapon to master « nixos/prometheus-bind-exporter: add module »: https://git.io/fhY0M
<pie__> sigh, looks like the binary cache is still unreliable
<Ericson2314> you can add a `strictDeps = true;` if you want that to always be the case
<FRidh> Ericson2314: I am a bit skeptical now that it was correct, considering I had some build-time dependencies such as `setuptools_scm` as `buildInputs`, not `nativeBuildInputs`. As long as they're Python-only, things will likely be fine, but it's not correct. Also, about the setup hook
<pie__> have to restart the update process every cople tens of packages
<Ericson2314> oh yes, that was incorrect
<FRidh> addEnvHooks "$hostOffset" addPythonPath
<Ericson2314> but cateogrizing the deps correctly is orthogonal to the splicing stuff i was talking about
sir_guy_carleton has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53345 → gdb: 8.2 -> 8.2.1 → https://git.io/fhY0x
<tilpner> immae: Maybe I did it wrong. I was using boot.kernelParams. I'll try boot.kernel.sysctl
<Ericson2314> I recommend `strictDeps` because then it is easier to maintain complicated things when native and cross works the same
<FRidh> ok
<{^_^}> [nixpkgs] @Mic92 closed pull request #52635 → pypy3: remove runtime-wrapper → https://git.io/fhf2J
<{^_^}> [nixpkgs] @Mic92 pushed 0 commits to pypy3-simplification: https://git.io/fhYEe
<fusion809> Is it possible to specify nixos-unstable in /etc/nixos/configuration.nix?
sir_guy_carleton has joined #nixos
<Mic92> gchristensen: indentation in nix-mode is still broken though.
<Mic92> vim does a better job there.
<gchristensen> Mic92: https://github.com/NixOS/nix-mode/pull/61 fixes most of the things I've been annoyed with it (thanks to etu) and https://github.com/NixOS/nix-mode/pull/63 adds tests to prevent future regressions
<{^_^}> nix-mode#61 (by etu, 20 hours ago, open): Add function to indent things in blocks for nix-indent-line
<{^_^}> nix-mode#63 (by etu, 7 hours ago, open): Ert indent testing
<Mic92> just in time
<gchristensen> Mic92: I put a $50-to-your-favorite-charity bounty on it yesterday or the day before :)
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
<sphalerite> Mic92: it won't stop magically but you can disble the functionality using I think yubico-piv-tool
<Mic92> wow
<sphalerite> Mic92: re company-tmux: nice :D
<Mic92> sphalerite: what is the purpose of that text?
<gchristensen> its a 2fa token
<sphalerite> Mic92: it's an OTP thing, something something FIDO
<Mic92> sphalerite: I also want to have the same for the browser, to autocomplete devdocs I just have openend
<gchristensen> not FIDO -- yubikeys can be used over SSH, FIDO can't
<Ralith> what about FIDO2?
<Ralith> actually, there was a patch for openssh to support FIDO1 auth
<gchristensen> really!
<Ralith> yeah, not merged
esmerelda has joined #nixos
<esmerelda> what's the best way to have a nix expression for my home environment? should I make an expression and use it with nix-env?
<Mic92> esmerelda: home-manager
<esmerelda> I'd prefer not to use home-manager until I fully grok nixos itself
<{^_^}> [nixpkgs] @Mic92 merged pull request #53337 → jhead: 3.02 -> 3.03 → https://git.io/fhYZu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhYuJ
<Ralith> FIDO1 is a thing of beauty tbh
<sphalerite> ,declarative esmerelda
<{^_^}> esmerelda: There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
FRidh has quit [Quit: Konversation terminated!]
<sphalerite> esmerelda: note however that this won't be able to create dotfiles and stuff for you
<esmerelda> sphalerite: oh? I have an overlay that configures neovim for me
<Ralith> I'm not super up on FIDO2 but I assume it's good also
<Ralith> legacy yubikey functionality is mostly pretty ugly hacks
<{^_^}> [nixpkgs] @astro opened pull request #53346 → libxslt: add libgcrypt to buildInputs for cryptoSupport → https://git.io/fhYuW
<esmerelda> buildenv looks perfect for me, thanks sphalerite!
<ottidmes> If you set say installPhase in a derivation, should you add runHook preInstall/postInstall? I got this as feedback, but I was wondering what was best practice in this regard, checking nixpkgs I do see some packages doing this, but a minority
<sphalerite> esmerelda: right, but that works by creating a wrapper which calls neovim with the approrpiate config
<sphalerite> esmerelda: not by creating a ~/.config/neovim/init.vim
sanscoeur has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #53347 → libxslt: 1.1.32 -> 1.1.33, cleanup → https://git.io/fhYuH
Baughn has joined #nixos
<ottidmes> ,stateVersion fusion809
<{^_^}> fusion809: Setting stateVersion to the latest release doesn't update anything and can only break your setup at best. If you want to regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually upgraded with the new value
<Baughn> So... how do I log in to a system that isn't responding to network, where there are no local passwords set?
<Baughn> Normally I'd use `init=/bin/sh`.
<exarkun1> I put m4, autoconf, etc in `nativeBuildInputs` and cross-compiled for armv6l and I got armv6l versions of m4, autoconf, etc, in the build environment. what the heck? I thought dealing with that was the whole point of `nativeBuildInputs`?
<fusion809> ottidmes: thanks.
<{^_^}> [nixpkgs] @dtzWill opened pull request #53348 → libxml2: 2.9.8 -> 2.9.9 → https://git.io/fhYzI
<esmerelda> sphalerite: true, probably. I'll switch to home-manager once I know what I'm doing, but declarative nix-env seems perfect for now.
<{^_^}> [nixpkgs] @romildo opened pull request #53349 → Backport vivaldi update to version 2.2.1388.37-1 from unstable → https://git.io/fhYzg
<{^_^}> [nixpkgs] @dtzWill closed pull request #53345 → gdb: 8.2 -> 8.2.1 → https://git.io/fhY0x
BlessJah has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #53346 → libxslt: add libgcrypt to buildInputs for cryptoSupport → https://git.io/fhYuW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhYzi
tzemanovic has quit [Remote host closed the connection]
ck3d has joined #nixos
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
BlessJah has quit [Remote host closed the connection]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53344 → wire-desktop: 3.3.2872 -> 3.5.2881 → https://git.io/fhY0i
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @jollheef to master « wire-desktop: 3.3.2872 -> 3.5.2881 »: https://git.io/fhYzd
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53350 → focuswriter: 1.7.0 -> 1.7.1 → https://git.io/fhYzb
Baughn has quit [Ping timeout: 245 seconds]
ezrakilty has quit [Quit: ezrakilty]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
jasongrossman has quit [Ping timeout: 250 seconds]
acarrico has quit [Ping timeout: 245 seconds]
esmerelda has quit [Ping timeout: 268 seconds]
acarrico has joined #nixos
BlessJah has joined #nixos
tzemanovic has joined #nixos
tzemanov_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53295 → libcouchbase: 2.10.2 -> 2.10.3 → https://git.io/fhm6y
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « libcouchbase: 2.10.2 -> 2.10.3 »: https://git.io/fhYgg
tzemanovic has quit [Ping timeout: 252 seconds]
Makaveli7 has joined #nixos
Mateon3 has joined #nixos
ezrakilty has joined #nixos
wedens has quit [Quit: Connection closed for inactivity]
dgarzon has joined #nixos
Mateon2 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #53351 → clang-tools: 5 -> 7 → https://git.io/fhYgp
Mateon3 is now known as Mateon1
<dgarzon> Hi, given I have an attribute set `project { name = “foo”; version = “latest” }`, is there any way I can override the `version` when calling `nix build -f .`? I tried doing `nix build -f . my-package --argstr project.version 0.0.1` with no success. Any ideas?
pie__ has quit [Ping timeout: 250 seconds]
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
<Mic92> dgarzon: nix build '(with import <nixpkgs> {}; hello.overrideAttrs (old: { name = "hello-99"; }))'
<immae> tilpner: sorry, if you have it in /proc/cmdline then you did it correctly (at least as I intended), so it means only the symptoms were the same, but the cause is different :/
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52760 → lib/make-ext4-fs: more efficient store maker → https://git.io/fhUOU
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhY2H
<immae> Then I have no clue
<tilpner> immae: I also checked /sys/module/scsi_mod/parameters/use_blk_mq and the other paths, they contain N or 0, as intended
Acou_Bass has quit [Ping timeout: 246 seconds]
<tilpner> immae: How did you first find that mailing list thread?
<{^_^}> [nixpkgs] @Mic92 opened pull request #53352 → ceph: fix dependencie → https://git.io/fhY25
<immae> The person who asked the question initially is a colleague of mine, so when I talked about the problem he told me about it
<{^_^}> [nixpkgs] @Mic92 merged pull request #53334 → http-parser: 2.8.1 -> 2.9.0 → https://git.io/fhYG9
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fhY2p
<{^_^}> [nixpkgs] @Mic92 merged pull request #53283 → mopidy: 2.2.1 -> 2.2.2 → https://git.io/fhmz2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhY2h
BlessJah has quit [Remote host closed the connection]
mtesseract has joined #nixos
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53349 → Backport vivaldi update to version 2.2.1388.37-1 from unstable → https://git.io/fhYzg
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-18.09: https://git.io/fhYat
<tilpner> immae: Aww. :/ Thank you! I might try various kernel downgrades at random now
<dgarzon> Mic92 any way to do it without doing `(with import …)`?
<Mic92> dgarzon: I don't thinkg so
<immae> tilpner: can you try to keep an htop on your server sorted by "state", and see if the mdX_raid1 and/or jbd2/mdX are at the top of the list?
<immae> When it’s "locked", it is in "D" state for me, and then other applications come to this state too when they try to do disk write access
<dgarzon> Mic92 the problem is that `my-package` is not defined in the channel for `<nixpkgs>` so I get `undefined variable project`
<Mic92> dgarzon: you can also import a local file
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dgarzon> Doing `nix build '(with import ./default.nix {}; project.overrideAttrs (old: { version = "0.0.1"; }))’ my-package` yields `error: attempt to call something which is not a function but a set, at (string):1:7`
Sheth has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @Mic92 merged pull request #53350 → focuswriter: 1.7.0 -> 1.7.1 → https://git.io/fhYzb
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhYaj
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging-next: https://git.io/fhYVv
<ottidmes> dgarzon: maybe it ought to be: with import ./default.nix; rather than with import ./default.nix {}; ?
<dgarzon> ottidmes now I get `error: attribute 'overrideAttrs' missing, at (string):1:29`
<dgarzon> :(
Guanin has quit [Remote host closed the connection]
<ottidmes> dgarzon: is project made with stdenv.makeDerivation?
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
Guanin has joined #nixos
<ottidmes> dgarzon: "This function is available on all derivations produced by the stdenv.mkDerivation function"
goibhniu has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #53323 → grpc: 1.17.0 -> 1.17.2 → https://git.io/fhYtl
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhYVR
<dgarzon> ottidmes no, it is just a attr set of values: project = { name = “my-package“; version = "latest"; }; which I define in my `overlay.nix`
mbrgm has joined #nixos
<tilpner> immae: I have an atop recording of one of these freezes. There are a few "D" processes just before the freeze
sanscoeur has joined #nixos
jtojnar has quit [Quit: jtojnar]
<immae> tilpner: Is mdX_raid among them?
<tilpner> jbd2/md127-8 is
<ottidmes> dgarzon: ah, then you can just do: project // { name = ...; }
<immae> ok
<worldofpeace> Mic92: Lol, you've literally merged 4 prs a second faster than my hand could click :D
<immae> Then I have no more clue, the symptoms look exactly alike but the solution doesn’t work, sorry :/
pukkamustard has joined #nixos
<Mic92> worldofpeace: knock knock, race condition, who is there?
<worldofpeace> Mic92: sleep 10 :P
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53242 → python37Packages.parver: 0.2.0 -> 0.2.1 → https://git.io/fhmUr
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.parver: 0.2.0 -> 0.2.1 »: https://git.io/fhYVp
sanscoeu_ has joined #nixos
codezero has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #53065 → Raspberry Pi cross compilation branch → https://git.io/fhLGi
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to staging: https://git.io/fhYwO
sanscoeur has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53233 → python37Packages.pyhomematic: 0.1.52 -> 0.1.53 → https://git.io/fhqha
Denommus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.pyhomematic: 0.1.52 -> 0.1.53 »: https://git.io/fhYwZ
<{^_^}> [nixpkgs] @Mic92 merged pull request #53333 → groovy: 2.5.4 -> 2.5.5 → https://git.io/fhYGk
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhYwB
<tilpner> immae: I appreciate you trying :)
<{^_^}> [nix-mode] @matthewbauer merged pull request #61 → Add function to indent things in blocks for nix-indent-line → https://git.io/fhmY8
<{^_^}> [nix-mode] @matthewbauer pushed 2 commits to master: https://git.io/fhYwu
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53234 → python37Packages.ofxparse: 0.19 -> 0.20 → https://git.io/fhqjA
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.ofxparse: 0.19 -> 0.20 »: https://git.io/fhYwg
<{^_^}> [nix-mode] @matthewbauer merged pull request #63 → Ert indent testing → https://git.io/fhmHV
<{^_^}> [nix-mode] @matthewbauer pushed 4 commits to master: https://git.io/fhYwD
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « gnucash: 3.3 -> 3.4 »: https://git.io/fhYwH
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53343 → gnucash: 3.3 -> 3.4 → https://git.io/fhY4U
<{^_^}> [nix-mode] @matthewbauer pushed 2 commits to master: https://git.io/fhYwb
<{^_^}> [nixpkgs] @primeos pushed to master « pythonPackages.pysnmp: 4.4.6 -> 4.4.8 »: https://git.io/fhYwh
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @bennofs merged pull request #53325 → linux-rpi: set correct hydraPlatforms → https://git.io/fhYt7
<{^_^}> [nixpkgs] @bennofs pushed to master « linux-rpi: set correct hydraPlatforms (#53325) »: https://git.io/fhYrT
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53318 → gtkwave: 3.3.97 -> 3.3.98 → https://git.io/fhmj9
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « gtkwave: 3.3.97 -> 3.3.98 »: https://git.io/fhYr8
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53317 → gtkdatabox: 0.9.3.0 -> 0.9.3.1 → https://git.io/fhmjO
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « gtkdatabox: 0.9.3.0 -> 0.9.3.1 »: https://git.io/fhYrz
ddellacosta has joined #nixos
<Mic92> less then 1000 open prs
<gchristensen> impressive turnaround
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53328 → jhiccup: 2.0.9 -> 2.0.10 → https://git.io/fhYqH
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « jhiccup: 2.0.9 -> 2.0.10 »: https://git.io/fhYrx
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53304 → libraw: 0.19.1 -> 0.19.2 → https://git.io/fhm9k
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « libraw: 0.19.1 -> 0.19.2 »: https://git.io/fhYoT
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53276 → mimeo: 2018.11 -> 2018.12 → https://git.io/fhmRg
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « mimeo: 2018.11 -> 2018.12 »: https://git.io/fhYoW
BlessJah has joined #nixos
lawlesseel has quit [Ping timeout: 256 seconds]
__monty__ has quit [Quit: leaving]
Church_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53353 → enyo-doom: 1.05 -> 1.06 → https://git.io/fhYKR
<{^_^}> [nixpkgs] @Mic92 merged pull request #53332 → haproxy: 1.8.15 -> 1.9.0 → https://git.io/fhY3x
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhYKo
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/995c78064ad (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<hodapp> oh no! I better file more!
<catern> is there a way to do nix-store --import (or something similar) such that if there's a reference to a path which is not found in the store, Nix attempts to substitute that path, and only fails the import if it fails to substitute?
<catern> that would allow distributing a small NAR which mostly pulls things from the binary cache
pie__ has joined #nixos
shibboleth has joined #nixos
ddellaco_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #53103 → pysnmp: add missing dep on pycryptodomex → https://git.io/fhLdZ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhY6M
arjen-jonathan has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #53141 → pythonPackage.psutil: fix disk io counters fails on Linux kernel 4.18+ → https://git.io/fhtK3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhY69
<Myrl-saki> nix run '((import <nixpkgs> {}).callPackage (builtins.fetchurl https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/applications/virtualization/tinyemu/default.nix)) {}'
<Myrl-saki> This is amazing.
<dtz> :D
<Myrl-saki> Nix is amazing for downloading source code too lol
ddellacosta has quit [Ping timeout: 268 seconds]
simukis has quit [Quit: simukis]
fusion809 has quit [Remote host closed the connection]
<yl[m]> I'm puzzled why this is not working on Mac (works on Linux): https://gist.github.com/kalbasit/99b0733e6be0c434ea33023001e90564 cc LnL infinisil clever
<yl[m]> I thought `gccStdenv.mkDerivation` is supposed to give a C environment
griff_ has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @KAction opened pull request #53355 → ###### Things done → https://git.io/fhYiX
<samueldr> yl[m]: guessing here, but could it be because bundlerEnv isn't in "gccStdenv"?
<yl[m]> oh
<yl[m]> I'll try inlining the bundlerEnv in the buildinputs
rprije has joined #nixos
jackdk has joined #nixos
<yl[m]> samueldr: it did not work :( (I updated the Gist if you want to take a look at the new shell.nix)
jackdk has quit [Remote host closed the connection]
jackdk has joined #nixos
<samueldr> I'm not entirely confident in how those work, but I don't think "simply" putting it there changed it, see, I'm not sure, but there is no re-compilation for anything in buildInputs when put in that derivation, right?
sanscoeu_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53299 → languagetool: 4.3 -> 4.4 → https://git.io/fhmXl
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « languagetool: 4.3 -> 4.4 »: https://git.io/fhYPJ
<samueldr> those build inputs are still built the same way they were, or are they affected?
sanscoeur has joined #nixos
<samueldr> what I'm thinkingis that *somehow* the bundlerEnv has to know to make use of gccStdenv instead of stdenv (if it even makes sense)
<yl[m]> yea nothing has changed so I don't believe it worked in the same way
<yl[m]> oh let me see if bundlerEnv can do such thing
<samueldr> (here I'm also assuming, without checking and neither testing, that it's whatever's buit by bundlerEnv that's failing)
<samueldr> oh, I missed the `bundix --magic` output... yeah, it is
imdoor has quit [Quit: imdoor]
<yl[m]> so I checked that you can actually pass `stdenv = gccStdenv`
<yl[m]> but it did not make a difference
orivej has joined #nixos
Makaveli7 has quit [Quit: Leaving]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/995c78064ad (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
cyounkins has quit [Remote host closed the connection]
arjen-jonathan has joined #nixos
cyounkins has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
Thra11 has quit [Ping timeout: 240 seconds]
cyounkins has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53356 → eid-mw: 4.4.11 -> 4.4.13 → https://git.io/fhYX8
moet has joined #nixos
moet has left #nixos [#nixos]
Wharncliffe has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/50debdf1337 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
justanotheruser has joined #nixos
lord| has quit [Ping timeout: 250 seconds]
arjen-jonathan has quit [Ping timeout: 250 seconds]
dgarzon has quit [Quit: dgarzon]
Judson has joined #nixos
<Judson> Did anything change e.g. with fetchGit recently? I'm getting "fixed-output derivation produced path '/nix/store/0fpa1wn561glgn39lhgly9hi1lb1vid7-puppet-lint-security-plugins-bd308dd' with sha256 hash '0x98xxns62yhf13irpljbjrnbn1pyzj09r9gf4a9n2cv2xa4a2ga' instead of the expected hash '144wykkacmvrn00qqlkb0wflq13hnyhsfvrd9jfxm7lwkqb5rs85'"
<{^_^}> [nixpkgs] @pukkamustard opened pull request #53357 → ocamlPackages: Use lib.makeScope → https://git.io/fhYXx
<Judson> Which is fetching from a digest ref, not a branch or tag
<gchristensen> are you keeping .git?
<Church_> Anybody who's used r2 before. Have you had problems with it attaching to a debugger?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53358 → dar: 2.5.18 -> 2.6.0 → https://git.io/fhY1t
<Judson> Am I keeping .git? I haven't changed anything here - it's a shell.nix that includes a gemset that comes from a Gemfile that points to a git repo + ref.
<Judson> (I know I know - it's not mine)
<gchristensen> Judson: is keepDotGit (or something like it) passed to fetchGit ?
<Judson> I don't believe so.
ddellaco_ has quit [Remote host closed the connection]
<Judson> The gemset doesn't have anything like that, and IIRC the nix builders for gems don't
<Judson> Is that a new flag?
<gchristensen> no
cyounkins has joined #nixos
caryoscelus has joined #nixos
sigmundv_ has joined #nixos
Guanin has quit [Ping timeout: 252 seconds]
lord| has joined #nixos
BlessJah has quit [Remote host closed the connection]
<Judson> Actually, gchristensen: buildRubyGem looks like: leaveDotGit = true;
orivej has joined #nixos
<Judson> gchristensen, but it always has, going back to when zimbatm wrote it in 2016
<Judson> Would that lead to an unstable SHA? I'd expect that it would if it *changed*
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53359 → copyq: 3.7.1 -> 3.7.2 → https://git.io/fhYMT
tzemanov_ has quit [Remote host closed the connection]
<Church_> primeos: Saw you were one of the packagers for gns3, curious if you were able to get Ubridge working correctly?
<Church_> I went and manually built a copy and added it to my nix store but gns3 still isn't picking it up
pukkamustard has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @Ma27 merged pull request #53335 → ibus-engines.typing-booster-unwrapped: 2.3.3 -> 2.4.1 → https://git.io/fhYZU
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhYM6
worldofpeace has quit [Ping timeout: 250 seconds]
shibboleth has quit [Quit: shibboleth]
<yl[m]> anyone here using ruby in development? Can you share your shell.nix? How do you run `bundix` to install/update gems?
<samueldr> when developing, I still use bundler as I would outside nixos, I only make use of bundix for release/prod
<samueldr> (though haven't really deployed a complex ruby app yet with nix)
cyounkins has quit [Remote host closed the connection]
<yl[m]> samueldr: the problem is that when I use the bundlerEnv the Gemfile is deployed in deployment mode so running bundle gives me an error
cyounkins has joined #nixos
<yl[m]> also I don't know which to use. Say I named the bundlerEnv {} `env`, which to use? `env.wrappedRuby` or `env.env`?
SegFaultAX has joined #nixos
<yl[m]> also why is there a `buildInputs` as seen here: https://github.com/NixOS/nixpkgs/blob/67e7764223b88f88f49ec87c4c9e48e51f94be31/pkgs/development/ruby-modules/bundled-common/default.nix#L22 if when I add deps (such as libxml for nokogiri) it fails
<samueldr> I'm not even sure :/ haven't had to do much work with ruby recently
<yl[m]> it's not very clear :(
<yl[m]> I see
<Church_> Bah, both of the tools I need to study and neither works.
<Judson> yl I use bundix + shell.nix
<Church_> The one thing I dislike about nixos. >_>
grp has joined #nixos
<Church_> Wait
<Church_> samueldr: After I add something to my nixstore how would I make sure it gets picked up in the system path?
<Judson> I use `bundle lock` first, to go from Gemfile to Gemfile.lock, then bundix for the gemset.
<Church_> nix store*
<yl[m]> Judson: thx
<yl[m]> let me try that
<Judson> yl[m], I assume that's too spare an answer. Let me know what I've missed and I'll elaborate
<grp> hi, I'm having troubles with nixos-unstable: nix search -u testdisk is not listing anything. The package is there, and it's not allowUnfree related. I could nix-env -iA testdisk just fine, but I'm still wondering why won't it list with nix search
<yl[m]> Judson: can you post your shell.nix?
<Judson> See the gist above
<grp> must get this working since trying to find stuff will be a pain if it's not listing everything there is
cyounkins has quit [Ping timeout: 244 seconds]
<yl[m]> Judson: sorry about that, my network dropped and the message arrived too late :)
<Judson> n/p
jtojnar has joined #nixos
<Church_> Hmm binary still isn't being picked up. >_>
<grp> and by the way, in case I should want to downgrade to nixos stable, should I just change the nix channel and rebuild? there's a different store version, unstable is at 19.03. Would that break stuff?
<yl[m]> `rubyEnv.env` does not work
BlessJah has joined #nixos
<yl[m]> this shell does provide me with a working ruby env
<{^_^}> [nixpkgs] @Ma27 opened pull request #53360 → python{2,3}Packages.pytest-repeat: fix build → https://git.io/fhYDb
<yl[m]> but I cannot run either `bundle` nor `bundix -m` (getting you a gist)
<Church_> yl[m]: Trying to build a ruby package?
erasmas has quit [Quit: leaving]
<Church_> Or run a rails app, or what?