gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<Baughn> Guanin: You should be able to skip it by using SSH key auth.
<Guanin> I know that SSH can skip it, but how about self-defined pam services?
<{^_^}> [nixpkgs] @ryantm opened pull request #37506 → m17n_db: 1.7.0 -> 1.8.0 → https://git.io/vxcUd
<{^_^}> [nixpkgs] @xeji opened pull request #37507 → nixos/tests/atd : remove non-deterministic test of batch command → https://git.io/vxcUA
<Guanin> Okay, seems like it is only tested after the unix password
pkill9 has joined #nixos
xeji has joined #nixos
_null_ has joined #nixos
<_null_> I can't find idris on nixos, I'm successfully finding nixpkgs.idris on my other machine, and there's no nixos.idris nixpkgs.idris or haskellPackages.idris for me on my nixos machine
<_null_> Does anyone know why?
<catern> so does the new Nix 2.0 fetchgit allow fetching git repositories with just a commit hash, no need for a sha256?
Guest2264 is now known as sdhand
sdhand has quit [Changing host]
sdhand has joined #nixos
<justanotheruser> how do I configure default.nix so nix-shell builds both a python application and mongodb? "/run/current-system/sw/bin/nix-shell: a single derivation is required"
<{^_^}> [nixpkgs] @ryantm opened pull request #37508 → m17n_lib: 1.7.0 -> 1.8.0 → https://git.io/vxcTQ
<_null_> okay, so it appears it's nixos.pkgs.haskellPackages.idris
<{^_^}> [nixpkgs] @pikajude opened pull request #37509 → fix static libs on darwin → https://git.io/vxckC
Sonarpulse has quit [Ping timeout: 246 seconds]
silver_ has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37510 → libmysql: 2.3.4 -> 3.0.3 → https://git.io/vxck7
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
silver has quit [Ping timeout: 246 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37511 → miniupnpc_2: 2.0.20171212 -> 2.0.20180222 → https://git.io/vxcIH
maximiliantagher has quit [Ping timeout: 263 seconds]
maximiliantagher has joined #nixos
jrolfs has quit [Ping timeout: 264 seconds]
Lisanna has joined #nixos
<{^_^}> [nixpkgs] @MHOOO opened pull request #37512 → Fix spark scripts that use dirname → https://git.io/vxcIh
xeji has quit [Quit: WeeChat 2.0]
_null_ has quit [Ping timeout: 260 seconds]
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<Lisanna> how do I make nixops forget about an SSH key for a machine?
<Lisanna> other than deleting the whole deployment?
maximiliantagher has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37513 → mir-qualia: 1.0.0 -> 2.0.0 → https://git.io/vxcLa
<Lisanna> wtf... EFI can't find the bzImage for my new deployment, even though it finds the old one just fine, but both exist in /boot/EFI/nixos directory...
<{^_^}> [nixpkgs] @abbradar pushed 2 commits to master: https://git.io/vxcLr
<{^_^}> → cf981d3e by @abbradar: python.pkgs.nbxmpp: 0.6.3 -> 0.6.4
<{^_^}> → eda6b955 by @abbradar: gajim: 0.16.9 -> 1.0.0
<coconnor> catern: the nix 2.0 fetchgit only requires a url argument. the rev defaults to "master".
<catern> I guess let me rephrase
<catern> does this mean I no longer need to include sha256 when fetching sources from git in my derivations?
<coconnor> depends on the use case I suspect
<coconnor> fetchGit is performed at eval time
<coconnor> which is nice for development builds and tools, but for distribution the SHA 256 pinning is valuable
kerrhau has quit [Ping timeout: 260 seconds]
Lears has quit [Remote host closed the connection]
<catern> hm
<catern> why?
<catern> why valuable for distribution, I mean
<catern> because verifying the rev requires fetching the entire git repository?
<gchristensen> for reproducibility
<catern> but it's still reproducible, just more expensive to reproduce
<catern> (assume you pass a commit hash and not just a branch name, that is)
<{^_^}> [nixpkgs] @ryantm opened pull request #37514 → modemmanager: 1.6.8 -> 1.7.990 → https://git.io/vxctq
astrofog has joined #nixos
<{^_^}> [nixpkgs] @MHOOO opened pull request #37515 → Fix permission on working directory → https://git.io/vxctn
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
silver_ has quit [Read error: Connection reset by peer]
astrofog has quit [Quit: Quite]
<{^_^}> [nixpkgs] @ryantm opened pull request #37516 → mpich2: 3.2.1 -> 3.3b1 → https://git.io/vxctb
<pcarrier> open-vm-tools seem to have broken (xrandr) for me recently in unstable, but I lost the history :(
maximiliantagher has joined #nixos
<pcarrier> I guess I could try to bisect for the team. hmmm.
<pcarrier> this VM isn't too slow to reboot, that seems reasonable.
maximiliantagher has quit [Ping timeout: 264 seconds]
sdhand has quit [Ping timeout: 252 seconds]
Taneb has quit [Ping timeout: 256 seconds]
zearen has joined #nixos
sdhand has joined #nixos
Taneb has joined #nixos
sdhand is now known as Guest38598
<coconnor> is there a nixos test? Might be able to auto bisect easy enough
aarvar has joined #nixos
<coconnor> had to delve in the source of the fetchGit primop to answer this
<coconnor> in pure evaluation mode fetchGit requires a revision
<{^_^}> [nixpkgs] @ryantm opened pull request #37517 → mysql_jdbc: 5.1.45 -> 5.1.46 → https://git.io/vxcql
<coconnor> wait.. nm
<coconnor> I was looking at exportGit
<coconnor> errr which is called by fetchGit. So yes, in pure evaluation mode a rev is required
ottidmes has quit [Ping timeout: 248 seconds]
abathur has quit [Quit: abathur]
<{^_^}> [nixpkgs] @ryantm opened pull request #37518 → netcdf: 4.6.0 -> 4.6.1 → https://git.io/vxcmf
_null_ has joined #nixos
pxc1 has joined #nixos
pxc1 has quit [Client Quit]
pxc has quit [Quit: WeeChat 2.0]
pxc has joined #nixos
iyzsong has joined #nixos
maximiliantagher has joined #nixos
krey has joined #nixos
<krey> how do I search for a package by name in the nix 2.0 world?
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<justanotheruser> how do I configure default.nix so nix-shell builds both a python application and mongodb? "/run/current-system/sw/bin/nix-shell: a single derivation is required"
pkill9 has left #nixos ["WeeChat 2.0.1"]
<{^_^}> [nixpkgs] @ryantm opened pull request #37519 → netcdffortran: 4.4.3 -> 4.4.4 → https://git.io/vxcmD
maximiliantagher has quit [Read error: Connection reset by peer]
maximiliantagher has joined #nixos
<Wizek> hello
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
Fare has joined #nixos
<clever> justanotheruser: put both into the buildInputs of a derivation
<justanotheruser> So I just have stdenv.mkDerivation { foo = stdenv.mkDerivation rec {}; bar = stdenv.mkDerivation recrec {} }; ?
maximiliantagher has quit [Remote host closed the connection]
lord| is now known as Kendalina
Kendalina has quit [Disconnected by services]
maximiliantagher has joined #nixos
maximiliantagher has quit [Read error: Connection reset by peer]
maximiliantagher has joined #nixos
lord| has joined #nixos
lord| is now known as |
blankhart has joined #nixos
| is now known as Guest65131
<{^_^}> [nixpkgs] @ryantm opened pull request #37520 → netsurf.buildsystem: 1.5 -> 1.6 → https://git.io/vxcYK
Guest65131 is now known as lord|
<Wizek> Is it possible with nix to package up all relevant dependencies and statically link into the built executable? (haskell project if that's relevant)
<pjan> I recently started experimenting with nixos (after having used nixpkgs for sometime). I probably did something wrong, and now I get "nixos database not writable: permission denied" whenever I want to `nix-shell` with my user. nixos-rebuild also doesn't work. Both do work if I sudo, but that's not what I expect (or want). Anyway to fix this (and to prevent this from happening again)?
<pjan> Wizek: something along these lines (http://vaibhavsagar.com/blog/2018/01/03/static-haskell-nix/)? i.e. statically linking
mbrgm has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko pushed to master « epsxe: remove duplicated `with stdenv.lib;` »: https://git.io/vxcYh
mbrgm has joined #nixos
thc202 has quit [Ping timeout: 246 seconds]
pxc has quit [Ping timeout: 246 seconds]
zearen has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37521 → networkmanager_strongswan: 1.4.1 -> 1.4.3 → https://git.io/vxcOl
<Wizek> pjan: hmm, Yeah, that might help, I wonder how I could apply that to a reflex-dom + webkitgtk project
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<Wizek> pjan: E.g. any ideas what I would need to change in this file https://github.com/ElvishJerricco/reflex-project-skeleton/blob/master/default.nix ?
<{^_^}> [nixpkgs] @taku0 opened pull request #37523 → oraclejdk: add version 10 → https://git.io/vxcO6
n0qqe has joined #nixos
_null_ has quit [Ping timeout: 240 seconds]
<clever> justanotheruser: no, the buildInputs attribute has to be a list of inputs
<dhess> Did something change with the boot.initrd.availableKernelModules recently, say in the last 2 or 3 months?
* clever heads off to bed
noqqe has quit [Ping timeout: 240 seconds]
n0qqe is now known as noqqe
<dhess> I have a config that needs nvme and adds it there. It used to work fine. Now when I build the system using current nixos-unstable-small, nvme doesn't get loaded by initrd and the system won't boot
Fare has quit [Ping timeout: 256 seconds]
<elvishjerricco> Wizek: Specifically, that article's "Edit 1" section is what you want. The FHS stuff should be avoided.
<elvishjerricco> Add an `overrides` section and use `overrideCabal` to pass the flags described in the article
_null_ has joined #nixos
marusich has joined #nixos
<Wizek> elvishjerricco: giving that a try
<elvishjerricco> Wizek: It'd be cool to have a function that overrides a Haskell derivation in that way. We have `justStaticExecutables`, but I think that only links Haskell dependencies statically; system libs are still dynamic.
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<vaibhavsagar> elvishjerricco: have you seen http://vaibhavsagar.com/blog/2018/01/03/static-haskell-nix/
<vaibhavsagar> the flag changes are pretty simple, I don't think it would be too hard to put them in an overrideCabal call
<vaibhavsagar> oh, I didn't notice it was linked above, oops :)
* vaibhavsagar facepalms
fiatjaf has quit [Quit: ~]
<vaibhavsagar> o you think I should move Edit 1 to the top?
<vaibhavsagar> I was very attached to the original post because it took a million years for cabal to download, compile, and install everything
nuncanada has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ryantm closed pull request #37497 → linuxHeaders: 4.15 -> 4.15.10 → https://git.io/vxnAL
<dhess> hmm yeah looks like nvme now needs to be in boot.initrd.kernelModules
<elvishjerricco> vaibhavsagar: Haha, well if the `configureFlags` method produces proper static binaries, I definitely think that's the preferrable way to do it. The problem is that any haskell libs that depend on system libs will also need to be overriden to use static counterparts.
marusich has quit [Ping timeout: 240 seconds]
<vaibhavsagar> ah, that's interesting, I must have not run into that then
<vaibhavsagar> my reasoning was that if pandoc and warp could build statically then anything was possible
<elvishjerricco> vaibhavsagar: Sorry, the problem with haskell deps depending on system libs is with the configureFlags method. The FHS method will handle that fine, but will barf at you when you didn't put the necessary lib in the FHS env
<vaibhavsagar> because I tried the same thing on my Hakyll blog before writing the post
<{^_^}> [nixpkgs] @ryantm closed pull request #37516 → mpich2: 3.2.1 -> 3.3b1 → https://git.io/vxctb
gillmanash has quit [Ping timeout: 276 seconds]
marusich has joined #nixos
<vaibhavsagar> I see
<elvishjerricco> The configureFlags method won't barf and will instead just depend on those libs dynamically, and you'll have to manually hunt down which haskell lib is pulling in that dynamic dep.
<elvishjerricco> Then you can override it to depend on a static version
<elvishjerricco> Would be interesting (and much harder) to make a function that converts _an entire closure_ to static.
<vaibhavsagar> so a theoretical reallyStaticThisTime function would have to do that work
<elvishjerricco> vaibhavsagar: Yea, at least in the general case. For most cases, the flags your article mentions will be sufficient.
<vaibhavsagar> Cool, I think I'll leave the blog post as it is then
<justanotheruser> failing to build default.nix
spear2 has joined #nixos
ryantm has joined #nixos
<Mic92> ryantm: does http://libraries.io/ also has metadata for changelog/changelog urls? (This message has been postponed on 2018-03-20 07:08:19.)
<vaibhavsagar> justanotheruser: what does default.nix look like? I'm guessing it's a mkDerivation with the two derivations as build inputs and nothing else
<vaibhavsagar> that won't work
<vaibhavsagar> I think IRC is a poor medium for explaining why not, but
<{^_^}> [nixpkgs] @ryantm opened pull request #37524 → ocamlPackages.bitstring: 2.1.0 -> 2.1.1 → https://git.io/vxc3y
<justanotheruser> vaibhavsagar: you are correct
<justanotheruser> hold on, I'm editing it for posting
<vaibhavsagar> justanotheruser: can you look into the buildEnv functions provided by nixpkgs?
<justanotheruser> ok, looking, ty
abathur has joined #nixos
<vaibhavsagar> justanotheruser: docs are terrible IMHO but here is an example, please ignore all the crap at the top https://github.com/gibiansky/IHaskell/blob/master/release.nix#L69
<justanotheruser> ty, yeah, I was having trouble find any docs
<justanotheruser> finding*
<vaibhavsagar> buildEnv will allow you to create an 'environment' comprised of other environments or packages
<vaibhavsagar> in this case, IHaskell needs both some haskell stuff and some python stuff to work, hence ihaskellEnv and jupyter
<vaibhavsagar> ttps://github.com/gibiansky/IHaskell/blob/master/release.nix#L60-L61
pxc has joined #nixos
<vaibhavsagar> you might also have some success searching nixpkgs for uses of buildEnv https://github.com/NixOS/nixpkgs/search?utf8=%E2%9C%93&q=buildEnv&type=
<justanotheruser> vaibhavsagar: do you know which function specifically it's upset I'm not overriding?
<vaibhavsagar> justanotheruser: I do, but I don't think the answer to that question will help you get your stuff working
<justanotheruser> ok, I will use the search you provided, ty
<vaibhavsagar> justanotheruser: so mkDerivation essentially runs different `make` commands in a sequence unless you tell it to do something different
<vaibhavsagar> and you haven't, because you only have buildInputs and nothing else
<justanotheruser> btw, you can use filename:*.nix to make searches easier on github
<vaibhavsagar> cool, I didn't know that :)
<vaibhavsagar> so the stage that's failing for you is the installPhase, where Nix runs `make install`
<vaibhavsagar> as you can see, the error is that Make cannot find any rule called 'install'
<justanotheruser> mhm
iyzsong has quit [Quit: ZNC 1.6.5 - http://znc.in]
<vaibhavsagar> so either you put an `install` rule in there that puts everything in the right place, or you override it with something like `installPhase = "true";` which is a no-op
iyzsong has joined #nixos
<vaibhavsagar> but the install phase is what actually populates the output path IIRC, so it's important
<vaibhavsagar> so I think mkDerivation is the wrong thing to use here and you should instead look at buildEnv
<justanotheruser> How can I make it just run the install phase of each of the build inputs?
<justanotheruser> based on my question, do you think I want buildEnv?
<vaibhavsagar> yes, because the `paths` attribute will go ahead and run the installPhase of each member like you want
<Wizek> elvishjerricco: is this how you thought? https://gist.github.com/Wizek/36f6d5d9ff50e4ebc6c09121ee4b03c3
<elvishjerricco> Wizek: Yep!
<Wizek> alright, lets see how it builds now
<Lisanna> error: refusing to copy corrupted path '/nix/store/2mnhjxgch1nh80wmvb5iv97yr6wpjam3-mypkg' to binary cache
<Lisanna> !!!!
<vaibhavsagar> Lisanna: sounds reasonable
<Lisanna> ):
<{^_^}> [nixpkgs] @ryantm opened pull request #37525 → ocamlPackages.comparelib: 109.60.00 -> 113.00.00 → https://git.io/vxcs4
<Wizek> elvishjerricco: lots of scrolling output so far. Can I expect a lot of compilation?
<elvishjerricco> Wizek: Yea I guess that wouldn't be surprising
<vaibhavsagar> it's pretty awesome that I can write a blog post and people actually read it and use it to do cool stuff
* vaibhavsagar self-fives
<Wizek> elvishjerricco: any idea how much time? Minutes? Hours? Days? vaibhavsagar, having read your post, I am following the 'faster' way of doing this, right?
<vaibhavsagar> Wizek: yes
<vaibhavsagar> although I'm not sure how much recompilation is required
<vaibhavsagar> Reflex is not known for being lightweight
orivej has joined #nixos
<elvishjerricco> None of the haskell dependencies will need to be rebuilt, except the frontend itself. But you'll probably have to build glibc and all the other libraries that you explicitly link statically in the configureFlags.
<Wizek> elvishjerricco: and stuff that depends on them? Or are they dangling as leaves?
gillmanash has joined #nixos
<Wizek> vaibhavsagar: if this works as expected you can get a virtual high-five from me too :)
jrolfs has joined #nixos
<elvishjerricco> Wizek: Well I can tell you that nothing besides frontend will depend on them as far as nix is concerned, since frontend is the only thing you're changing. But I suppose it's possible that some haskell lib will depend on the dynamic glibc anyway... That shouldn't happen though
<Wizek> `aarch64-unknown-linux-android-cc' failed in phase `Linker'. (Exit code: 1)
<dmj`> why isn’t sysctl present in nix Darwin
<vaibhavsagar> :(
<Wizek> let's try removing the android target then I guess
<{^_^}> [nixpkgs] @dtzWill merged pull request #37486 → haskell: only use glibcLocales when using glibc → https://git.io/vxnKO
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vxcGC
<{^_^}> → 8727284a by @dtzWill: haskell: only use glibcLocales when using glibc
<{^_^}> → 2a30ab38 by @dtzWill: Merge pull request #37486 from dtzWill/fix/ghc-glibcLocales
<justanotheruser> ok thanks vaibhavsagar that changed the error
<vaibhavsagar> I'll take it
<vaibhavsagar> may your errors be different and more interesting than before
<vaibhavsagar> Wizek: can you add those libraries to configureFlags?
<vaibhavsagar> e.g. cairo, glib, gio, gobject etc.
<Wizek> vaibhavsagar: you mean like this? "--ghc-option=-optl=-Lcairo/lib"
<{^_^}> [nixpkgs] @ryantm opened pull request #37526 → ocamlPackages.herelib: 109.35.02 -> 112.35.00 → https://git.io/vxcGg
<vaibhavsagar> Wizek: more along the lines of "--ghc-option=-optl=-L${pkgs.cairo}/lib"
<Wizek> vaibhavsagar: not then ${pkgs.cairo.static}?
<vaibhavsagar> the linker is telling you that it can't find the libraries, which makes sense as we haven't provided them
<elvishjerricco> Wizek: Ah yea this is the problem with that approach :P. These are libraries that Reflex wants that you'll have to provide. Just like we have `--ghc-option=-optl=-L${pkgs.glibc.static}/lib`, you're going to have to do a similar thing for the static libs of any other dependency. Not sure where the static libs reside for these libs though. vaibhavsagar Is it just ${pkg}/lib?
<vaibhavsagar> Wizek: you're right, static is the way to go
<wilornel> Seems like I need swap space on my nixos instance. Is there a particular way to go about it?
<vaibhavsagar> elvishjerricco: the fun thing is that each package does it differently, e.g. gmp vs glib in my blog post
<Wizek> vaibhavsagar: isn't it strange that -lglib-2.0 is reported to be missing even though there is already "--ghc-option=-optl=-L${pkgs.glibc.static}/lib" ?
<Wizek> or are those different libs?
<vaibhavsagar> Wizek: glib != glibc
<vaibhavsagar> I think the former is a GNOME thing
<Wizek> okay
Fare has joined #nixos
<Wizek> glib.static, attribute ‘static’ missing,
<{^_^}> [nixpkgs] @catern opened pull request #37527 → Experimenting with submodules in nixpkgs → https://git.io/vxcGi
<catern> wow {^_^} is so prompt
<elvishjerricco> vaibhavsagar: Wizek: Hm. Looks like that one is going to take some more effort :/
<Lisanna> what are things I can do to try to debug a corrupted /nix/store path? nix-store --verify runs for a few seconds and reports success
<Wizek> vaibhavsagar: so where might it be? Also, this has me wondering, isn't there a different, generic way of packaging up stuff built with nix?
<catern> anyway if anyone is interested in crazy ideas about nixpkgs, take a look at https://git.io/vxcGi where I add some submodules to nixpkgs
<vaibhavsagar> Wizek: you have to do some digging, start with `ls $(nix-build -E "with import <nixpkgs> {}; pkgs.cairo.out")/lib`
<vaibhavsagar> and notice that there is no *.a file
<vaibhavsagar> *.la files don't count and are different
_null_ has quit [Ping timeout: 240 seconds]
<Wizek> I've heard of https://github.com/matthewbauer/nix-bundle but last I remember I couldn't make it work for some reason
<dhess> eh never mind me on that boot.initrd.availableKernelModules issue; it was user error.
<dhess> (maybe)
boxofrox has quit [Ping timeout: 256 seconds]
<Wizek> Does no one build software with nix that they then want to distribute to other people? Or does everyone says that installing nix is a hard requirement? Or everyone fiddles with these static-linking related issues to make that work? Or maybe static linking is only hard with hs+nix?
<vaibhavsagar> Wizek: Nix overwhelmingly assumes dynamic linking
<{^_^}> [nixpkgs] @ryantm opened pull request #37528 → ocamlPackages.pa_bench: 112.06.00 -> 113.00.00 → https://git.io/vxcZe
<dhess> Wizek: I've never needed it myself but I was under the impression that full static linking with Haskell is pretty tricky
<wilornel> How would you add swap to a nixos vagrant instance?
<vaibhavsagar> dhess: I think haskell library linking is easy, but system library linking is the hard part
<elvishjerricco> dhess: vaibhavsagar's trick seems to work fine, and is relatively straightforward. It's just that libraries like Reflex which bring in a lot of system dependencies make you do a lot of grunt work :P
<dhess> vaibhavsagar: that's what I meant by "full"
<vaibhavsagar> In this case, we might have to override the cairo expression to make it build statically
<vaibhavsagar> dhess: I don't see how this problem is haskell-specific
<vaibhavsagar> Wizek: good news! do an `ls $(nix-build -E 'with import <nixpkgs> {}; pkgs.cairo.overrideAttrs(_old: { dontDisableStatic = true; })')/lib`
<vaibhavsagar> I see a libcairo.a there
<vaibhavsagar> this approach might be generalisable across all your other system libraries
<dhess> It's not clear to me from that whether there are Haskell-specific things that make it more difficult than, say, static linking with gcc.
<vaibhavsagar> I don't know enough about linking to say, but my logic is that Haskell uses the system toolchain so its issues must be the same as any other language that does this too
bgamari- has quit [Ping timeout: 276 seconds]
gillmanash has quit [Read error: Connection reset by peer]
boxofrox has joined #nixos
<Wizek> vaibhavsagar: alright, so if there is a .a there, what's the next step? I suspect I know even less of linking (static or otherwise) to know. Do I just use your line as is? e.g. "--ghc-option=-optl=-L${pkgs.cairo.overrideAttrs(_old: { dontDisableStatic = true; })}/lib" ?
<dhess> well, for example take a look at the Cabal issues referenced by OP in that Reddit thread. They're not strictly speaking linking issues, but they do (or did, looks like they've been fixed by now) make it not trivial to build a Haskell executable that can be copied from one system and run on another.
<Wizek> btw I'm also trying `nix-bundle '(import ./default.nix {})' ./out`, let's see how that goes
<Wizek> I just have this nagging feeling that this should be able to be done programmatically, and maybe that's what nix-bundle is trying to do: relink dynamic libs to become static, no?
<{^_^}> [nixpkgs] @ryantm opened pull request #37529 → ocamlPackages.pa_ounit: 112.24.00 -> 113.00.00 → https://git.io/vxcnJ
marusich has quit [Quit: Leaving]
<wilornel> I can't edit /etc/fstab to allocate swap space...
krey has quit [Ping timeout: 240 seconds]
<Wizek> elvishjerricco: if this nix static building doesn't pan out, can I interest you in a segfault that I get when trying to build reflex-dom with stack?
<elvishjerricco> Wizek: Yeesh. Maybe, but I dunno how much help I'll be :P
Fare has quit [Ping timeout: 256 seconds]
<Wizek> elvishjerricco: it may be hard for you to be less helpful than I have ideas on how to proceed :)
jneto has joined #nixos
<Wizek> vaibhavsagar: Btw, what was your method for finding that .a file? Also, do you suppose that I would be able to find those .a files for all of these packages that I sent in my gist comment? Or could it be that I spend hours chasing for these only to find that one of them doesn't have it?
Rusty1_ has quit [Quit: Konversation terminated!]
hyper_ch has quit [Ping timeout: 264 seconds]
<Wizek> vaibhavsagar: here I've persisted the full list: https://gist.github.com/Wizek/36f6d5d9ff50e4ebc6c09121ee4b03c3#gistcomment-2387258
hyper_ch has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37530 → ocamlPackages.pipebang: 110.01.00 -> 113.00.00 → https://git.io/vxcn2
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<wilornel> Has anyone enabled VT-x/AMD-v on a nixos instance on vagrant on a macbook?
maximiliantagher has quit [Ping timeout: 240 seconds]
schoppenhauer has quit [Ping timeout: 260 seconds]
schoppenhauer has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37531 → ocamlPackages.ppx_tools_versioned: 5.0.1 -> 5.1 → https://git.io/vxccG
jneto has quit [Quit: Page closed]
<Lisanna> ...is there any nix expression that I should be able to write that would cause a /nix/store entry to become corrupted?
<Lisanna> or, barring disk failure, is that more or less guaranteed to be a bug in nix?
abathur has quit [Quit: abathur]
abathur has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37532 → ocamlPackages.type_conv: 112.01.01 -> 113.00.02 → https://git.io/vxcCe
katyucha has joined #nixos
jrolfs has quit [Ping timeout: 260 seconds]
boxofrox has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37533 → ocamlPackages.ocamlbuild: 0.11.0 -> 0.12.0 → https://git.io/vxcCa
<{^_^}> [nixpkgs] @andir merged pull request #37490 → libyamlcpp: 0.6.1 -> 0.6.2 → https://git.io/vxn1K
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/vxcCw
<{^_^}> → cc6dc2ce by @ryantm: libyamlcpp: 0.6.1 -> 0.6.2
<{^_^}> → d2eddd1a by @andir: Merge pull request #37490 from ryantm/auto-update/libyaml-cpp
s2mitrov has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
bgamari has joined #nixos
<kandinski> I have a non-supported brother printer, and I've seen this writep on how to run drivers inside a vagga container: https://medium.com/@paulcolomiets/containerized-printer-driver-b367b9f65520
bgamari has quit [Ping timeout: 268 seconds]
<kandinski> is this a recommended practice, or is there a better way to use binary packages (in this case, .deb packages) on Nixos?
robstr has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37534 → oniguruma: 6.6.1 -> 6.7.1 → https://git.io/vxcWG
<Lisanna> kandinski nixos has some printer drivers taht definitely aren't built from source, writing a nix expression for them mightbe easier
<robstr> Morning, can someone help with https://github.com/NixOS/nixops/issues/909
<kandinski> Lisanna: where should I go to find an expression I can crib from?
<Lisanna> oh wait, that's building from source...
<kandinski> hmm, I had not thought that maybe mine also has GPL source available.
<Lisanna> well, you might be able to find the source code for your brother printer from the same location
* kandinski goes look.
<kandinski> Yes, thanks.
simukis has joined #nixos
jrolfs has joined #nixos
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fd016e362da (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
coot has joined #nixos
jrolfs has quit [Ping timeout: 264 seconds]
MercurialAlchemi has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37535 → openisns: 0.97 -> 0.98 → https://git.io/vxcWP
cris_ has joined #nixos
ma27 has joined #nixos
<cris_> Hi all, I want to include 'tensorflow' package in my Nixos Haskell Environment, but the build was fail
boomshroom has quit [Ping timeout: 248 seconds]
<cris_> the failed build script said that I missed 'protoc' compiler ; and i know that I have already installed this compiler by installing 'protobuf'
Guanin has quit [Ping timeout: 268 seconds]
<cris_> and i found a possible solution in github: https://github.com/tensorflow/haskell/issues/169
boxofrox has joined #nixos
<cris_> I have to add this into configuration-common.nix tensorflow-proto = addBuildTool super.tensorflow-proto pkgs.protobuf;
<Lisanna> welp, one of my packages is corrupted in the /nix/store every single time it builds now, and I have no idea how to fix it, since it's a nix store thing.
<cris_> while i also found two sample files of lib.nix and configuration-common.nix in https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/haskell-modules
<cris_> how do i import the configuration-common.nix into my ~/.nixpkgs/config.nix ?
katyucha has quit [Ping timeout: 256 seconds]
Guanin has joined #nixos
d0nkey has joined #nixos
ma27 has quit [Ping timeout: 245 seconds]
jtojnar has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ryantm opened pull request #37536 → exrdisplay: 2.2.0 -> 2.2.1 → https://git.io/vxclL
jtojnar has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
ThatOtherGuy has quit [Ping timeout: 256 seconds]
bgamari has joined #nixos
<vaibhavsagar> Wizek: that's right, you need to use the library path as the configure flag
<vaibhavsagar> Wizek: I hope you don't expect me to figure out the paths for all the libraries that you need
rardiol1 has quit [Ping timeout: 248 seconds]
<vaibhavsagar> I certainly can't guarantee that all the libraries you want can be built statically, especially because I've never done this before
<Myrl-saki> clever: Ping. :)
ThatOtherGuy has joined #nixos
bgamari has quit [Ping timeout: 264 seconds]
reinzelmann has joined #nixos
Lisanna has quit [Quit: Lisanna]
<{^_^}> [nixpkgs] @gebner merged pull request #37409 → commonsCompress: 1.8.1 -> 1.16.1 → https://git.io/vxZJg
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxclE
<{^_^}> → e506914c by @ryantm: commonsCompress: 1.8.1 -> 1.16.1
<{^_^}> → 5296c5ce by @gebner: Merge pull request #37409 from ryantm/auto-update/commons-compress
iyzsong has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37537 → openrct2: 0.1.1 -> 0.1.2 → https://git.io/vxclg
bgamari has joined #nixos
shikiryogy has joined #nixos
<shikiryogy> OK, I am on the 17.09 version, this package: https://github.com/NixOS/nixpkgs/blob/release-17.09/pkgs/applications/audio/spotify/default.nix is updated with the newest spotify version, but when i try to install it, it always tries to install the old version. I tried with nixos-rebuild swtich --upgrade, but to no avail. Is there something additional I should do?
<vaibhavsagar> shikiryogy: the actual channel you use is nixpkgs-channels/nixos-17.09
<vaibhavsagar> so maybe that hasn't been updated yet?
hiratara has quit [Ping timeout: 252 seconds]
<shikiryogy> vaibhavsagar, I see, where can i check the version for my channel? Sorry, I am little lost :)
ericsagnes has quit [Ping timeout: 240 seconds]
jtojnar has quit [Quit: jtojnar]
rummik has quit [Ping timeout: 252 seconds]
hiratara has joined #nixos
jtojnar has joined #nixos
<vaibhavsagar> looks like it's still on the old version
<shikiryogy> vaibhavsagar, Ahh, I see, thank you very much, that explains it
<vaibhavsagar> glad I could help :)
<Myrl-saki> clever: It's actually not much faster. :(
<Myrl-saki> clever: I do know that it *is* faster, but it's not groundbreaking.
MichaelRaskin has left #nixos [#nixos]
<{^_^}> [nixpkgs] @ryantm opened pull request #37538 → owncloud91: 9.1.3 -> 10.0.7 → https://git.io/vxc8I
<Myrl-saki> t
pie_ has quit [Ping timeout: 264 seconds]
pxc has quit [Quit: WeeChat 2.0]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ has joined #nixos
jtojnar_ is now known as jtojnar
zzamboni has joined #nixos
rardiol1 has joined #nixos
hyper_ch2 has joined #nixos
rauno has joined #nixos
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ericsagnes has joined #nixos
rummik has joined #nixos
pie_ has joined #nixos
davidlt_ has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #37463 → todolist: init at 0.8 → https://git.io/vxnYC
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxc4m
<{^_^}> → 300a28bb by @uvNikita: todolist: init at 0.8
<{^_^}> → e5b98c87 by @nlewo: Merge pull request #37463 from uvNikita/add/todolist
davidlt__ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #36906 → Improve Docker image build reproducibility → https://git.io/vxUth
<{^_^}> [nixpkgs] @nlewo pushed 3 commits to master: https://git.io/vxc4C
<{^_^}> → 346996ce by @nlewo: dockerTools: dereference hard links in tar archives
<{^_^}> → ea6f55f8 by @nlewo: Merge pull request #36906 from nlewo/pr/docker-reproducible
<{^_^}> → ac0c4918 by @nlewo: dockerTools: add --sort=name options on all tar calls
<hyper_ch2> what's wrong with nixos-unstable and nixos-unstable-small channels?
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « fixup! gnome3.tracker-miners: fix build »: https://git.io/vxc4B
lvmond has joined #nixos
alex`` has joined #nixos
Guest38598 is now known as sdhand
sdhand has quit [Changing host]
sdhand has joined #nixos
davidlt_ is now known as davidlt
zzamboni1 has joined #nixos
zzamboni has quit [Read error: Connection reset by peer]
zzamboni1 has quit [Read error: Connection reset by peer]
<wervenyt[m]> seems like something is up with the test system wrt downloading
<hyper_ch2> wervenyt[m]: I have no real idea what that means :)
<hyper_ch2> all I see is that howoldis shows unstable small wasn't updated for 5 days and usntable for like 15 days
hotfuzz_ has joined #nixos
<wervenyt[m]> as in, it's trying to download stuff from perl.org for building the system purposes and it's timing our
<wervenyt[m]> out
<hyper_ch2> ah ok
<wervenyt[m]> if you click on the links in the "Hydra jobs for tests" column, you can get a granular breakdown of recent testing
hotfuzz has quit [Ping timeout: 256 seconds]
lvmond_ has joined #nixos
<hyper_ch2> I don't see that column
frphank_ has quit [Ping timeout: 240 seconds]
<wervenyt[m]> sorry, different link
<wervenyt[m]> disregard
<hyper_ch2> howoldis does have hydra job column
<wervenyt[m]> yeah
sigmundv has joined #nixos
<wervenyt[m]> I'm just tired
<hyper_ch2> but there I get the same list again and no idea what that actually means
<wervenyt[m]> anyway, nixpkgs-unstable and therefore nixos-unstable-small are failing because a file isn't being included in a test correctly
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-3.28: https://git.io/vxcBt
<{^_^}> → 413084d8 by @jtojnar: libwnck3: build gir
<{^_^}> → 7f63f42f by @jtojnar: fixup! gnome3.gnome-weather: fix build
<hyper_ch2> wervenyt[m]: thx for explaining
<wervenyt[m]> but nixos-unstable is failing because of some network or reference error
<{^_^}> [nixpkgs] @7c6f434c merged pull request #37505 → lua51Packages.luarocks: 2.4.3 -> 2.4.4 → https://git.io/vxcJK
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxcBO
<{^_^}> → 1a4b6a6d by @ryantm: lua51Packages.luarocks: 2.4.3 -> 2.4.4
<{^_^}> → 06f49163 by @7c6f434c: Merge pull request #37505 from ryantm/auto-update/luarocks
<wervenyt[m]> no problem, try digging around to get a handle on it yourself though
<vaibhavsagar> does anyone know why qtwebengine-5.10 isn't building?
<vaibhavsagar> but it's failing on Hydra because of a failed qtdeclarative build? https://hydra.nixos.org/build/71408529
<lvmond_> i'm on a mac, how do i update nix to 2.0?
rauno has quit [Ping timeout: 240 seconds]
<vaibhavsagar> lvmond_: nix-env -i nixUnstable
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « gnome3.gfbgraph: build gir »: https://git.io/vxcBu
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « fixup! gnome3.gnome-photos: fix build »: https://git.io/vxcBS
zzamboni has joined #nixos
jrolfs has joined #nixos
pie_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jtojnar closed pull request #37514 → modemmanager: 1.6.8 -> 1.7.990 → https://git.io/vxctq
<lvmond_> vaibhavsagar: thanks
xAFFE has joined #nixos
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to release-18.03: https://git.io/vxcR4
<{^_^}> → e28a58fb by @nlewo: dockerTools: dereference hard links in tar archives
<{^_^}> → 5df02d97 by @nlewo: dockerTools: add --sort=name options on all tar calls
periklis has joined #nixos
mudri has joined #nixos
periklis has quit [Ping timeout: 256 seconds]
jrolfs has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37539 → libcec_platform: 2.0.1 -> 2.1.0.1 → https://git.io/vxcRH
<lvmond_> now that i have the new nix, how do i run the equivalent of `nix-env -iA nixpkgs.myPackages` using the new cli?
<vaibhavsagar> lvmond_: that command still works
<vaibhavsagar> AFAIK there is no replacement for nix-env in the new Nix, so it might be the only command that works
jensens has joined #nixos
<{^_^}> [nixpkgs] @dotlambda closed pull request #37538 → owncloud91: 9.1.3 -> 10.0.7 → https://git.io/vxc8I
mounty_ has quit [Ping timeout: 240 seconds]
Tucky has joined #nixos
dvim has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37541 → pam_krb5: 4.7 -> 4.8 → https://git.io/vxc0V
pie_ has joined #nixos
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #36965 → coqPackages.contribs.containers: make available for Coq 8.7 → https://git.io/vxThj
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.contribs.containers: make available for Coq 8.7 »: https://git.io/vxcEL
maximiliantagher has quit [Ping timeout: 264 seconds]
sanscoeur has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm opened pull request #37542 → pcmciaUtils: 017 -> 018 → https://git.io/vxcEP
MP2E has quit [Remote host closed the connection]
DavidEGrayson has quit [Ping timeout: 256 seconds]
andrewrk has quit [Ping timeout: 268 seconds]
DavidEGrayson has joined #nixos
thc202 has joined #nixos
andrewrk has joined #nixos
badi has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
roberth has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37543 → pius: 2.2.4 -> 2.2.6 → https://git.io/vxcu8
<{^_^}> [nixpkgs] @vbgl merged pull request #37452 → octave: 4.2.1 -> 4.2.2 → https://git.io/vxZ96
<{^_^}> [nixpkgs] @vbgl pushed commit from @lsix to master « octave: 4.2.1 -> 4.2.2 »: https://git.io/vxcu5
jrolfs has joined #nixos
_rvl_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
_rvl has joined #nixos
jrolfs has quit [Ping timeout: 264 seconds]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
paraseba has quit [Ping timeout: 240 seconds]
Lears has joined #nixos
krey has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
ma27 has joined #nixos
zzamboni has quit [Quit: Leaving.]
<mpickering> vaibhavsagar: Are you on nixos?
<vaibhavsagar> mpickering: currently yes
<vaibhavsagar> yup, I can finally use a newer nixpkgs for IHaskell
<{^_^}> [nixpkgs] @ryantm opened pull request #37545 → rdma-core: 17 -> 17.1 → https://git.io/vxca8
sanscoeur has joined #nixos
zzamboni has joined #nixos
ashgillman has joined #nixos
sanscoeur has quit [Ping timeout: 248 seconds]
paraseba has joined #nixos
humanoyd has joined #nixos
ashgillman has quit [Ping timeout: 256 seconds]
amir has quit [Read error: Connection reset by peer]
<robstr> Hey, i added `postgresql` but i need `pg_config` where do i find it ? (trying to install haskell package)
ashgillman has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 57 commits to gnome-3.28: https://git.io/vxcwR
<{^_^}> → 421893aa by @jtojnar: gnome3.gnome-weather: fix build
<{^_^}> → 63afb3d4 by @hedning: gvfs: fix build
<{^_^}> → 082dec9e by @hedning: gnome3.gnome-characters: fix build
amir has joined #nixos
<robstr> resolved it, need to add postgresql to stack
<vaibhavsagar> robstr: glad you figured it out
<robstr> vaibhavsagar: :+1
__Sander__ has joined #nixos
nico202 has joined #nixos
<nico202> Hi, why is nixos-unstable that old?
<{^_^}> [nixpkgs] @xeji opened pull request #37546 → libhttpseverywhere: fix build (tests) → https://git.io/vxcwN
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 260 seconds]
hyper_ch has quit [Ping timeout: 240 seconds]
pie_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @suvash opened pull request #37547 → python: pipenv: 10.1.2 -> 11.8.3 → https://git.io/vxcr8
jtojnar_ has joined #nixos
jtojnar has quit [Quit: jtojnar]
humanoyd has quit [Ping timeout: 256 seconds]
hyper_ch has joined #nixos
jtojnar_ has quit [Ping timeout: 240 seconds]
justbeingglad has joined #nixos
zzamboni has quit [Quit: Leaving.]
goibhniu has quit [Ping timeout: 260 seconds]
zzamboni has joined #nixos
justbeingglad has left #nixos [#nixos]
fl3_ has joined #nixos
pie_ has joined #nixos
bennofs has joined #nixos
zzamboni has quit [Ping timeout: 256 seconds]
<unlmtd> What is the `machine` variable in `nixops ssh` ? I tried the name, uuid or IP address without success.
mudri has quit [Ping timeout: 256 seconds]
humanoyd has joined #nixos
<hyper_ch2> nico202: [08:30] <wervenyt[m]> seems like something is up with the test system wrt downloading
kiloreux has joined #nixos
<kiloreux> Is there a way to allow unfree except config file ?
<hyper_ch2> nico202: [08:31] <wervenyt[m]> as in, it's trying to download stuff from perl.org for building the system purposes and it's timing out
zzamboni has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5df02d9783e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<unlmtd> got it; nixops info gave me the machine name (machine)
zzamboni has quit [Ping timeout: 240 seconds]
jtojnar has joined #nixos
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « corebird: fix build »: https://git.io/vxc6i
<{^_^}> [nixpkgs] @lsix pushed to release-18.03 « octave: 4.2.1 -> 4.2.2 »: https://git.io/vxc6D
knupfer has joined #nixos
zzamboni has joined #nixos
sanscoeur has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37549 → translate-shell: 0.9.6.6 -> 0.9.6.7 → https://git.io/vxciT
rauno has joined #nixos
iyzsong has joined #nixos
zzamboni has quit [Ping timeout: 240 seconds]
iyzsong has quit [Client Quit]
<kiloreux> I am trying to install chrome from the nix expression on the repo but failing so far.
huxx has joined #nixos
<huxx> Hey guys
<huxx> Can anyone help me with cabal+haskell+nix
iyzsong has joined #nixos
<huxx> I'm experiencing an issue with the nix integration in cabal since nix 2.0
<huxx> Whenever I try to run a cabal command inside a nix-shell, I'm getting this error: syntax error, unexpected ',', expecting ')', at /nix/store/snwfy87kzzx4iwlnpl1jfhz2mk61i03y-interactive-freeinmonads-0.1.0.0-environment.drv:1:15
dragonking has joined #nixos
jtojnar has quit [Quit: jtojnar]
<dragonking> fuckng hell
<dragonking> this distro its so stupid. we has too many distros
<dragonking> and this ones name is the stupidest
<dragonking> reminds me of nixon
rardiol1 has quit [Ping timeout: 248 seconds]
<huxx> Why are you so hangry
<dragonking> im not
<{^_^}> [nixpkgs] @ryantm opened pull request #37550 → xorg.twm: 1.0.9 -> 1.0.10 → https://git.io/vxcPT
<dragonking> im just in a mood to go crazy
<dragonking> like with your momma if ya know wut i mean
<dragonking> !ops channel notice spam
<ashgillman> Hi. Anyone had much experience with nix store not at /nix/store?
ottidmes has joined #nixos
<ashgillman> A way to bootstrap would be perfect, I have an existing Nix running using proot
sigmundv_ has joined #nixos
<dragonking> ashgillman: i usually store in in your mom's gloryhole
<huxx> dragonking: you can leave this channell
<dragonking> OOOOH BURNED
<dragonking> huxx: no thanks
jtojnar has joined #nixos
<dragonking> i'd rather stay here and be cool
<huxx> dragonking: try to be cool os
<huxx> so
<dragonking> i can be cool and paste pics of genital parts
<ashgillman> I have tried overriding storeDir and stateDir in .nixpkgs/config.nix, but not building for me
<dragonking> for lols
<ashgillman> might be memory issues on the system though, something weird
<dragonking> like vaginas
<dragonking> so bored so tired so fuckin horny
knupfer has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 248 seconds]
<dragonking> [0__0], __Sander__, _cyril_, _habnabit, _rvl, aaronc[m], aarvar, abathur, abbafei[m], abcrawf, abrar, acarrico, Acou_Bass, acowley, adamCS, AdamSlack[m], adelbertc, Adev[m], adisbladis[m], Adluc, admin[m]4, Aexoden, afics, ahmedtd_, ajmccluskey:
<dragonking> ajmccluskey[m], ajp_, akapav_, akaWolf, akl, AlanPearce[m], alanz, alaricsp, Aleksejs, alex``, alexoundos7[m], alfie, AllanDaemon, alp, alpha_sh, alphor_, AluisioASG, amfl, amiloradovsky[m], aminb, aminechikhaoui, amir, ancarda, andersk, anderslundstedt:
<ashgillman> I have also tried downloading nix source and `nix-shell ~/nixpkgs -A nix --run './configure --prefix=$MYTMP --with-store-dir=$NIX_PREFIX/nix/store --localstatedir=$NIX_PREFIX/nix/var'`
xAFFE has left #nixos ["Disconnected: Received SIGTERM"]
cris_ has quit [Ping timeout: 260 seconds]
xAFFE has joined #nixos
jtojnar has quit [Ping timeout: 264 seconds]
<symphorien> ashgillman: the best way I have found so far is to use any nix (for any store) and export the relevant environment variables:
<symphorien> but I never got the boostrapping so far as to need nix compiled with different defaults
<BlessJah> LnL: the userPackages in your overlay, it's your invention, not something that has any meaning for nixos, right?
<LnL> no, I just made a gist and that ended up on the wiki
<LnL> I didn't come up with the idea
<BlessJah> I want to pin packages to nixos or nixos-unstable, and it seems to create nixos.userPackages and nixos-unstable.userPackages, each installed will install packages from corresponging channels
<{^_^}> [nixpkgs] @ryantm opened pull request #37551 → unixODBC: 2.3.5 -> 2.3.6 → https://git.io/vxcXS
<ashgillman> symphorien: Thanks. That is configured to install to /tmp/nix/{store,var}?
dragonking was banned on #nixos by gchristensen [dragonking!*@*]
<symphorien> you say you have a nix configured for /nix in proot
dragonking has left #nixos [#nixos]
<symphorien> just export NIX_STORE_DIR=/tmp/foo and so on and this same nix will forget about evrything in /nix and build things in the location you specified
<LnL> gchristensen: :o
<symphorien> so in fact you need to nix-build "<nixpkgs>" -A nix so that you get a copy of nix outside proot
<LnL> BlessJah: you're not limited to self/super in an overlay you can import any nixpkgs channel and use packages from there
<gchristensen> Slightly delayed...
<BlessJah> LnL: so I wondered if I could define userPackages-nixos and userPackages-nixos-unstable, that'd give me 4 "packages", but I'd install just two
mquin has joined #nixos
<BlessJah> LnL: can I? I could find a way except for using direct path to it
<tokudan[m]> is the nixos-17.09 channel broken? according to http://howoldis.herokuapp.com/ it has been updated 11 hours ago, but i still see the same commit that I've seen 5 days ago
<tokudan[m]> and the firefox version is old as well
<ashgillman> symphorien: Awesome, I'll give that a shot. Thanks :)
<LnL> BlessJah: you can do something like this, but within the overlay https://gist.github.com/LnL7/e645b9075933417e7fd8f93207787581
<BlessJah> import <nixos> works, import <nixos-unstable> doesn't
<BlessJah> also, nixos-unstable is per-user channel, not roots
<BlessJah> I guess I'll have to modify NIX_PATH?
raynold has quit [Quit: Connection closed for inactivity]
<clever> BlessJah: yeah, the default path can only find channels on root
<BlessJah> this works nix-env -iA nixos.userPackages_nixos nixos-unstable.userPackages_nixos_unstable
<clever> BlessJah: nix-env doesnt use NIX_PATH
<{^_^}> [nixpkgs] @ryantm opened pull request #37552 → verilator: 3.920 -> 3.922 → https://git.io/vxcML
<LnL> BlessJah: ah, per-user channels are not in NIX_PATH
<BlessJah> clever: if I wanted to use import <nixos-unstable> as LnL suggested, I'd need to add it
<BlessJah> .w 23
<ashgillman> symphorien: what about /nix/var? in that case? How do I move, initialise profile etc?
<symphorien> export NIX_LOCALSTATE_DIR=$TEST_ROOT/var defines the equivalent of /nix/var
coot has quit [Quit: coot]
<ashgillman> But how to initialise it?
<ashgillman> I saw somewhere nix-store --init or similar, but it isn't in man page
<symphorien> you don't. just mkdir it, nix will populate it
<symphorien> what I advise you to do is:
<symphorien> 1/ set up env vars
<symphorien> 2/ nix-build "<nixpkgs>" -A nix
<symphorien> 3/ go out of proot
schoppenhauer has quit [Ping timeout: 240 seconds]
<symphorien> 4/ re export the environment
<symphorien> 5/ ./result/bin/nix works :)
<ashgillman> Great, I am running (2) now. However I am running a nixpkgs based off 17.09 but looks like I might have to move to master, some links are old
<clever> symphorien: i have a method of building that nix without a proot
sanscoeur has joined #nixos
<ashgillman> clever: I'd be interested to see. I have proot running to a certain degree so this method is probably best for me for now, but that would be good for future
<symphorien> i thought nix should try to as hydra for the tarballs it never deletes ?
schoppenhauer has joined #nixos
<clever> symphorien: that mixes nix 2.0's ability to work on a store where / isnt at /, and the vars you mentioned, to make a store that isnt in /nix/store/
<symphorien> clever: does it work without use namespaces ?
<symphorien> *user namepaces ?
<clever> symphorien: so a machine with working 2.0 can build a /home/clever/nix/store that is temporarily stored at /home/symphorien/rootfs/home/clever/nix/store
<kiloreux> I am trying to use the nix expression for chrome to build it but even when supplying gconf argument it is failing https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/google-chrome/default.nix
<clever> it needs nix 2.0 fully working, and i think namespaces, to build it
<clever> but once built, you can copy it to a less capable machine
<symphorien> ah I see
<kiloreux> Anyone has an idea how to build it ?
ottidmes has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37554 → virtuoso7: 7.0.0 -> 7.2.4.2 → https://git.io/vxcyS
sanscoeur has quit [Ping timeout: 264 seconds]
<silver_hook> What’s the difference between the packages: subversion and subversion-client?
<symphorien> i guess subversion also contains the server
<silver_hook> I would guess similarly, but (according to the packages website) the packages point to the same nix expression and have the same description
rauno has quit [Ping timeout: 240 seconds]
abcrawf has quit [Remote host closed the connection]
sdhand has quit [Ping timeout: 240 seconds]
abcrawf has joined #nixos
<silver_hook> symphorien: Thanks :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #37493 → simp_le: 0.6.1 -> 0.8.0 → https://git.io/vxnQ6
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/vxcSA
<{^_^}> → 7a002780 by @makefu: josepy: init at 1.0.1
<{^_^}> → e9f176a0 by @makefu: certbot: 0.19.0 -> 0.22.2
<{^_^}> → e144fa07 by @makefu: simp_le: 0.6.2 -> 0.8.0
Synthetica has joined #nixos
Taneb has quit [Ping timeout: 276 seconds]
sdhand has joined #nixos
sdhand is now known as Guest56125
<kiloreux> How can add a `postInstall` override if the original package doesn't have it ?
Taneb has joined #nixos
<clever> kiloreux: with overrideAttrs
<{^_^}> [nixpkgs] @ryantm opened pull request #37555 → xorg.xbacklight: 1.2.1 -> 1.2.2 → https://git.io/vxc9B
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/vxc9V
<{^_^}> → 07361daf by @primeos: androidStudioPackages.beta: 3.1.0.14 -> 3.1.0.15
<{^_^}> → 629d1219 by @primeos: androidStudioPackages.{dev,canary}: 3.2.0.5 -> 3.2.0.6
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cc25915367e (from 82 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<kiloreux> clever, That worked. Thank you.
<{^_^}> [nixpkgs] @ryantm opened pull request #37557 → xorg.xcbproto: 1.12 -> 1.13 → https://git.io/vxcHw
asuryawanshi has quit [Ping timeout: 256 seconds]
<kiloreux> I am trying to wrapProgram for chromium using postInstall and overrideAttrs but it's not working here's my gist https://gist.github.com/kiloreux/4b357641192551807dd9ace9eda3e3e5
<kiloreux> Any help is appreciated.
<clever> kiloreux: chromium is a weird package, because the attribute in pkgs is already a wrapper
<clever> kiloreux: oh, and i see your problem
<clever> chromium overrode the installPhase
<clever> which has the side effect of breaking pre/post install hooks
Taneb has quit [Ping timeout: 260 seconds]
<clever> so you need to installPhase = drv.installPhase + "\nyour additions";
<kiloreux> Thank you very much clever. Can I just access the existing installPhase like you mentioned and extend it or do a copy/paste and my additions ?
Guest56125 has quit [Ping timeout: 276 seconds]
<clever> kiloreux: the drv attribute that overrideAttrs passes you, has the original installPhase
Taneb has joined #nixos
sdhand has joined #nixos
sdhand is now known as Guest93155
<kiloreux> Getting "error: undefined variable ‘drv’"
<kiloreux> When trying your expression
<clever> kiloreux: are you using .overrideAttrs (drv: { ... ?
<clever> you dont need rec on this
Profpatsch is now known as fluktusduktus3
fluktusduktus3 is now known as fluktusduktusr3
<{^_^}> [nixpkgs] @primeos pushed to master « lf: 2018-01-11 -> 2018-03-19 »: https://git.io/vxcQQ
<kiloreux> I can see the original expression for chromium has no installPhase
<kiloreux> So I wonder why it broke in the first place.
<clever> on my end it does
<clever> kiloreux: oh
<clever> buildCommand disables all phases
<kiloreux> Ahhhh :(
<clever> and on my end, i get this derivation at pkgs.chromium
<clever> inspect it with nix repl to verify which one you are trying to override
<{^_^}> [nixpkgs] @ryantm opened pull request #37558 → xorg.xcursorthemes: 1.0.4 -> 1.0.5 → https://git.io/vxc7s
fluktusduktusr3 is now known as Profpatsch
<kiloreux> Forgive my ignorance. I didn't understand what's nix repl in the first place.
<clever> kiloreux: run `nix repl '<nixpkgs>'` and then try to eval chromium.buildCommand and chromium.installPhase
<nioncode> how do I get a nix-shell that uses buildFHSUserEnv to work with an interactive shell? by default I get a broken shell. when I invoke 'nix-shell -p bashInteractive' I get a working shell, but I'm missing the packages I installed via buildFHSUserEnv
asuryawanshi has joined #nixos
<kiloreux> Only buildCommand and getting "missing" on installPhase.
<clever> kiloreux: then your overrides are applying to the version with only a buildCommand
<clever> nioncode: -p has priority, it will only load bashInteractive, and nothing else
<kiloreux> is buildCommand overridable at least ?
<clever> kiloreux: yeah, same way as installPhase
tertle||eltret has quit [Quit: Connection closed for inactivity]
<nioncode> clever: I figured. but how do I get bashInteractive then? simply declaring it in my buildFHSUserEnv doesn't change anything
<clever> nioncode: it has to be in the inputs for the fhs env
justbeingglad has joined #nixos
<nioncode> clever: how do I do that? I'm basically using the example from https://nixos.org/nixpkgs/manual/#sec-fhs-environments but there is no input section
fl3_ has quit [Ping timeout: 276 seconds]
<clever> nioncode: targetPkgs
sanscoeur has joined #nixos
<nioncode> clever: as I said, if I put bashInteractive in there, nothing changes at all, the shell is still broken and not interactive
<clever> nioncode: can you gist your expression?
<{^_^}> [nixpkgs] @dylex opened pull request #37559 → julia: update rmath-julia hash for 0.1 → https://git.io/vxc5r
<clever> nioncode: is there a reason you need an FHS env?, and a normal nix-shell wont do?
<{^_^}> [nixpkgs] @ryantm opened pull request #37560 → xdg-user-dirs: 0.16 -> 0.17 → https://git.io/vxc57
Rusty1 has joined #nixos
<nioncode> clever: yes, I have to compile a build tree with a prebuilt toolchain
<clever> nioncode: and you cant just patchelf those tools?
zzamboni has joined #nixos
sanscoeur has quit [Ping timeout: 268 seconds]
<nioncode> clever: would be a hassle to maintain, since they are under version control. so whenever the toolchain gets updated externally, I'd have to re patchelf them and make sure I don't check them in. is there a reason why the FHS env doesn't obey the interactive bash?
<clever> nix can automate that patchelf'ing
<clever> it already does that with a large number of pre-built things in nixpkgs
dsop has quit [Ping timeout: 252 seconds]
asuryawanshi has quit [Ping timeout: 245 seconds]
aloiscochard has joined #nixos
<nioncode> just seems like a huge potential for breaking things
<{^_^}> [nixpkgs] @copumpkin merged pull request #36902 → Build QGIS and dependencies on darwin → https://git.io/vxJFI
<{^_^}> [nixpkgs] @copumpkin pushed 11 commits to staging: https://git.io/vxcdP
<{^_^}> → 49182bcd by @mpickering: Fix grass build on darwin
<{^_^}> → f0a8f1f3 by @mpickering: Refine libspatialindex platforms attribute
<{^_^}> → de6360b6 by @mpickering: Build qca2 on darwin
ryanartecona has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #37561 → pan: 0.139 -> 0.144, fix crash on startup → https://git.io/vxcdb
<clever> nioncode: thats how nearly everything else in nixpkgs works
<nioncode> clever: maybe I'll try to set it up with patchelf soonish. but buildFHSUserEnv is exactly designed for such issues, so it seems weird that it doesn't support an interactive bash
justbeingglad has left #nixos [#nixos]
huxx has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @volth opened pull request #37562 → libguestfs: fix path to appliance → https://git.io/vxcF1
<{^_^}> [nixpkgs] @ryantm opened pull request #37563 → xorg.xdriinfo: 1.0.5 -> 1.0.6 → https://git.io/vxcFQ
TweyII has joined #nixos
<TweyII> How does -march=native work with gcc in Nix? Do we explicitly nerf it down for determinism?
<TweyII> I'm seeing a behaviour where -march=native doesn't seem to pick up the AVX2 instructions available on the native CPU — have to pass -mavx2 explicitly
<TweyII> Aha
davidlt_ has joined #nixos
fendor has joined #nixos
<fendor> virtualbox has a newer version online, can we bump the version?
davidlt has quit [Ping timeout: 240 seconds]
<TweyII> clever: Thank you!
<etu[m]> fendor: Make a PR with a bump?
<fendor> etu[m], no clue how i do that
<fendor> some resources?
<TweyII> fendor: Is it a big bump?
<fendor> TweyII, nah from 5.2.6 to 5.2.8
<etu[m]> 5.2.8 seems to already be in master
<fendor> etu[m], ok, i updated my channels, stable and unstable, but my installed version is 5.2.6?
<fendor> etu[m], so, should i add another channel?
<etu[m]> So if you install it from 18.03 stable channel you should get 5.2.8
<telent[m]> I read today that Debian have dropped virtualbox, some license problem
<telent[m]> Don't know if it should be considered unfree for nixpkgs too
<gchristensen> can you gather more info about the problem?
<fendor> etu[m], thx, will try!
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm opened pull request #37564 → xercesc: 3.1.4 -> 3.2.1 → https://git.io/vxcNg
<telent[m]> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794466 oh, not licensing, security
ryanartecona has quit [Quit: ryanartecona]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #37559 → julia: update rmath-julia hash for 0.1 → https://git.io/vxc5r
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to release-18.03: https://git.io/vxcNi
<{^_^}> → c0cd5eea by @dylex: julia: update rmath-julia hash for 0.1
<{^_^}> → ea9f3fca by @7c6f434c: Merge pull request #37559 from dylex/release-18.03
* etu[m] read that virtualbox kernel modules might end up as modules from upstream instead of separate modules at some point
<Dezgeg> the guest drivers yes, host ones probably not
<TweyII> etu[m]: How can it be that a package is in stable 18.03 but not unstable?
<etu[m]> !stuck
<etu[m]> Dezgeg: aww :(
goibhniu has joined #nixos
<TweyII> Does it not flow from unstable?
<etu[m]> TweyII: Look at that link and you'll see. I visit it every morning and get a bit sad since I'm on unstable.
<etu[m]> No
ron__ has joined #nixos
<etu[m]> It's frozen from master at some point and then it's own branch where security fixes etc get's cherry picked.
<TweyII> Oh, I see
<etu[m]> !factoids
<{^_^}> Have a helpful Nix factoid? Send a PR! https://github.com/grahamc/ofborg/blob/released/factoids.toml
<etu[m]> !which channel
<etu[m]> Was the one I was looking for.
m0rphism has quit [Quit: WeeChat 2.0]
coot has joined #nixos
fendor has joined #nixos
ottidmes has joined #nixos
<fendor> when is the file `.nixpkgs/config.nix` read or executed?
<{^_^}> [nixpkgs] @ryantm opened pull request #37565 → xorg.xeyes: 1.1.1 -> 1.1.2 → https://git.io/vxcxT
<fendor> clever, thanks!
<fendor> oh, so it is not recommnended to use it anymore?
<clever> yeah, ~/.config/nixpkgs/config.nix has replaced it
<fendor> clever, nice, thamls
<fendor> tnkas
<fendor> thanks
rauno has joined #nixos
<bennofs> anyone ever seen something like this before: http://ix.io/10su
rauno has quit [Remote host closed the connection]
<LnL> nope, kind of looks like the error you get when executing a mach-o file on linux
<freeman42x> is <<how to set calendar week start?>> a #NixOS specific twist question?
<LnL> I would think something like glibc but that's a different error IIRC
goibhniu has quit [Ping timeout: 240 seconds]
fendor has quit [Ping timeout: 255 seconds]
<bennofs> this is NixOS-on-raspberry pi
<bennofs> it's an ARM64 binaryso that's right at least
reinzelmann has quit [Quit: Leaving]
<bennofs> but even objdump doesn't recognize it :/
fendor has joined #nixos
<LnL> what does file think about it?
<bennofs> systemctl: ELF 64-bit (SYSV)
<Dezgeg> what's 'uname -m' ?
<bennofs> aarch64
<{^_^}> [nixpkgs] @Ma27 opened pull request #37566 → pythonPackages.face_recognition: init at 1.2.1 → https://git.io/vxcpW
periklis has joined #nixos
<Dezgeg> maybe the store path is corrupt then?
maximiliantagher has joined #nixos
<bennofs> hmm ./f4zv626ijhk7yb8ibfvzac1kcv1nnnd9-systemd-234/bin/systemctl is corrupt, but ./amwzph3nq8abfia62p64fzcx32fdbaq6-systemd-234/bin/systemctl works
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37567 → xf86_input_wacom: 0.35.0 -> 0.36.0 → https://git.io/vxchU
<{^_^}> [nixpkgs] @Ma27 opened pull request #37568 → node-webkit/nw9.nix: remove → https://git.io/vxchT
maximiliantagher has quit [Ping timeout: 264 seconds]
alexteves has joined #nixos
fendor has quit [Ping timeout: 252 seconds]
sanscoeur has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @svanderburg pushed to master « titaniumenv: fix Android signing on darwin »: https://git.io/vxchw
<{^_^}> [nixpkgs] @svanderburg pushed to release-18.03 « titaniumenv: fix Android signing on darwin »: https://git.io/vxchS
<bennofs> hmm, i did /run/booted-system/switch-to-configuration switch which at least gave me a working shell again
<{^_^}> [nixpkgs] @svanderburg pushed to release-17.09 « titaniumenv: fix Android signing on darwin »: https://git.io/vxch5
nuncanada has joined #nixos
periklis has quit [Remote host closed the connection]
lukec has quit [Ping timeout: 240 seconds]
saschaveres[m] has quit [Ping timeout: 248 seconds]
nixo[m] has quit [Ping timeout: 248 seconds]
cornu[m] has quit [Ping timeout: 248 seconds]
NickHu has quit [Ping timeout: 248 seconds]
dkellner[m] has quit [Ping timeout: 248 seconds]
dtz has quit [Ping timeout: 248 seconds]
olejorgenb[m] has quit [Ping timeout: 248 seconds]
ThatDocsLady_ has joined #nixos
lukec has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37569 → xorg.xf86videoati: 7.9.0 -> 18.0.1 → https://git.io/vxCeZ
saschaveres[m] has joined #nixos
nixo[m] has joined #nixos
olejorgenb[m] has joined #nixos
NickHu has joined #nixos
dkellner[m] has joined #nixos
cornu[m] has joined #nixos
dtz has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « LegacySSHStore: Allow overriding the path to nix-store »: https://git.io/vxCer
fendor has joined #nixos
shabius has quit [Remote host closed the connection]
rardiol1 has joined #nixos
shabius has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed to master « Merge pull request #37559 from dylex/release-18.03 »: https://git.io/vxCvf
Sonarpulse has joined #nixos
Neo-- has joined #nixos
dbmikus has joined #nixos
<globin> florianjacob: ping me when you're ready
<{^_^}> [nixpkgs] @dotlambda pushed to master « pythonPackages.pyhomematic: 0.1.39 -> 0.1.40 »: https://git.io/vxCfz
<{^_^}> [nixpkgs] @ryantm opened pull request #37570 → xorg.xf86videovesa: 2.3.4 -> 2.4.0 → https://git.io/vxCfK
nico202 has quit [Quit: Leaving]
ashgillman has quit [Ping timeout: 252 seconds]
periklis has joined #nixos
nh2 has joined #nixos
bennofs has quit [Ping timeout: 256 seconds]
Guest93155 is now known as sdhand
sdhand has quit [Changing host]
sdhand has joined #nixos
<gchristensen> is there a nice way to, given a `.drv` file via the command-line, determine the `out` path?
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/fd016e362da (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<gchristensen> * without building
krey has quit [Ping timeout: 256 seconds]
<clever> gchristensen: does `nix show-derivation` help?
<clefru> nix-store -q --outputs drvfile?
<clefru> that doesn't seem to build it.
<gchristensen> thank you both! :D
<{^_^}> [nixpkgs] @ryantm opened pull request #37572 → xfce.xfce4-hardware-monitor-plugin: 1.5.0 -> 1.6.0 → https://git.io/vxCTU
rauno has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #37568 → node-webkit/nw9.nix: remove → https://git.io/vxchT
<{^_^}> [nixpkgs] @globin pushed commit from @Ma27 to master « node-webkit/nw9.nix: remove »: https://git.io/vxCTM
blankhart has quit [Ping timeout: 246 seconds]
<florianjacob> globin: thank you, It's ready now :)
zzamboni has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @svanderburg pushed to master « titaniumenv: update example app »: https://git.io/vxCIE
<{^_^}> [nixpkgs] @svanderburg pushed to release-18.03 « titaniumenv: update example app »: https://git.io/vxCIr
lord| has quit [Quit: WeeChat 2.0.1]
<{^_^}> [nixpkgs] @svanderburg pushed to release-17.09 « titaniumenv: update example app »: https://git.io/vxCID
zzamboni has joined #nixos
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37573 → xineLib: 1.2.6 -> 1.2.9 → https://git.io/vxCLt
justbeingglad has joined #nixos
sanscoeur has quit [Ping timeout: 240 seconds]
kiloreux has quit [Read error: Connection reset by peer]
ron__ has quit [Ping timeout: 265 seconds]
kiloreux has joined #nixos
<fendor> how can i install a guest plugin for vagrant? specifically for virtualbox?
spear2 has quit [Ping timeout: 240 seconds]
WhittlesJr has joined #nixos
periklis has quit [Ping timeout: 240 seconds]
<fendor> i am asking here, because the commnad fails, and i suspect nix is doing somethign vagrant cant handle
stqism has quit [Quit: Like 3 fire emojis lit rn 🔥🔥🔥]
<Myrl-saki> clever: I found a way to use `runhaskell` without rebuilding ghc.
<WhittlesJr> Question: I'm trying to use nixops to deploy to machines that have static IP configuration (via `networking.interfaces.eth0.ipv4.addresses`). I'm deploying from a machine that does not have an eth0 interface (it's `enp0s3`). I get "The option `networking.interfaces.eth0.ipv4'... does not exist." However if I ssh to the device (which does have an eth0), pull down the same config, and do `nixos-rebuild switch`, it works just fine. Wha
<WhittlesJr> Network looks like: https://pastebin.com/vWjk6Cae and "machines/ipv6_router.nix" looks like https://pastebin.com/AFEYpPqD
<Myrl-saki> clever: And I also learned that native `runhaskell` works with ghcjs.
<Myrl-saki> I think?
<{^_^}> [nixpkgs] @svanderburg pushed to master « titaniumenv: fix renaming strategy »: https://git.io/vxCmG
<{^_^}> [nixpkgs] @ryantm opened pull request #37574 → xineUI: 0.99.9 -> 0.99.10 → https://git.io/vxCmC
Avaq has joined #nixos
<{^_^}> [nixpkgs] @svanderburg pushed to release-18.03 « titaniumenv: fix renaming strategy »: https://git.io/vxCm4
<{^_^}> [nixpkgs] @svanderburg pushed to release-17.09 « titaniumenv: fix renaming strategy »: https://git.io/vxCmz
justbeingglad has quit [Quit: Leaving.]
chessai has joined #nixos
Avaq has quit [Quit: Leaving.]
<sphalerite> Any haskell developers here have an emacs setup where stuff like case-splitting works?
<sphalerite> I'd rather like to use ghc-mod's emacs integration, but I haven't managed to get ghc-mod working — it tries to build its own cabal stuff and fails
<{^_^}> [nixpkgs] @ryantm opened pull request #37575 → xorg.xinit: 1.3.4 -> 1.4.0 → https://git.io/vxCOa
ilyaigpetrov has joined #nixos
<clever> sphalerite: i think domenkozar got some of that stuff working
<{^_^}> [nixpkgs] @dtzWill opened pull request #37576 → gtkspell3: add missing isocodes dep → https://git.io/vxC3I
<{^_^}> [nixos-org-configurations] @grahamc opened pull request #40 → Automate deploying updates to the macs → https://git.io/vxC3y
blankhart has joined #nixos
<WhittlesJr> Oh. My issue has nothing to do with network interfaces. It's because `ipv4.<name>.addresses` was only added in 18.03 (which the deployed-to device has), while the deploy-from machine is on 17.09.
iyzsong has quit [Ping timeout: 256 seconds]
<clever> WhittlesJr: i prefer doing `nixops modify -d name deployment.nix -I nixpkgs=https://github.com/nixos/nixpkgs/archive/rev.tar.gz`
<clever> WhittlesJr: then nixops will only ever use that revision, and ignore what the host has
xAFFE has left #nixos ["Rechner geht in den Ruhezustand"]
<sphalerite> clever: yeah the haskell-ide-engine thing but that doesn't seem to have emacs support yet
<clever> ahhh, i see
<pbogdan> sphalerite: I have it working on 18.03 with ghc 8.2.2 but had to build from upstream's GH branch using custom expressions (and I only used its tab completion)
<{^_^}> [nixpkgs] @ryantm opened pull request #37577 → xorg.xkbcomp: 1.4.0 -> 1.4.1 → https://git.io/vxCsx
<sphalerite> clever: meanwhile ghc-mod does have integration with ghc-mod (as part of ghc-mod itself) and the question is just how to get ghc-mod itself working
<sphalerite> the emacs part works, but actually running ghc-mod doesnt'
<alanz> it is on melpa
<sphalerite> alanz: can that do case-splitting?
<alanz> not yet. PRs welcomed
<sphalerite> pbogdan: good to know, do you have the expression anywhere?
<sphalerite> alanz: I have no idea what I'm doing with emacs yet :p
<pbogdan> sphalerite: one moment, let me grab those from my config
<alanz> And I have no idea how lsp-haskell would work for nixos, as I am on Debian
<sphalerite> alanz: as long as it doesn't insist on managing its toolchain itself rather than leaving it to the package manager it should be fine
rauno has quit [Ping timeout: 240 seconds]
<alanz> sphalerite, this bit might need attention: https://github.com/emacs-lsp/lsp-haskell/blob/master/lsp-haskell.el#L280
<alanz> but you can customise it to always look for hie on the path (which is the default, I think
<sphalerite> yeah that seems sensible :)
<alanz> If something special has to happen for nix, please make a PR on that repo
<alanz> to help the next user
<sphalerite> will do once I get around to actually trying it
<sphalerite> since it doesn't support case-splitting yet and I want to focus on actually completing my current project, I won't be doing that yet
<sphalerite> hopefully in 2 weeks or so though :)
<pbogdan> sphalerite: it's a bit of mess but hopefully enough to figure out what's going on - https://gist.github.com/pbogdan/4b3b9208004903d0c512d5a178e93950
<alanz> ok
<pbogdan> (also doesn't include elisp files as I vendor those in my .emacs.d so didn't bother with those)
hyper_ch2 has quit [Quit: Page closed]
<pbogdan> but should be enough to copy the postInstall from configuration-common.nix in nixpkgs to add those
erasmas has joined #nixos
<WhittlesJr> clever: OK, that makes sense... I'm also finding https://github.com/NixOS/nixops/issues/649 and https://github.com/NixOS/nixpkgs/pull/11106, trying to solve the issue of supporting multiple versions of nixpkgs on one network. Although, I'm now thinking maybe this issue is worse than I thought, because my targets are raspberry pis on aarch64 and my host is an x86_64 virtualbox vm.
<WhittlesJr> clever: Wouldn't building from x86_64 and deploying to aarch64 be impossible anyway? Is there a way to foist the build process of onto the devices themselves?
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f5b485d4242 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<clever> WhittlesJr: you either need to setup cross-compiling of nixos (tricky), or just set nixpkgs.system = "aarch64-linux"; i think, and it will build on the pi's
<clever> WhittlesJr: this is an example deployment i made, which builds all of nixos on a raspberry pi
<clever> but the root device is not going to work on a normal pi, it was just to make nixos shut up and build
<sphalerite> thanks pbogdan !
asuryawanshi has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
<WhittlesJr> clever: oh, interesting... I'll give that a shot. Thank you for your help!
<{^_^}> [nixpkgs] @ryantm opened pull request #37578 → xkeyboard_config: 2.22 -> 2.23.1 → https://git.io/vxCZ7
magnetophon has quit [Remote host closed the connection]
sanscoeur has joined #nixos
zzamboni has quit [Quit: Leaving.]
jrolfs has joined #nixos
magnetophon has joined #nixos
sanscoeur has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
rardiol1 has left #nixos [#nixos]
LysergicDreams has quit [Ping timeout: 260 seconds]
kiloreux_ has joined #nixos
shikiryogy has quit [Quit: Leaving]
boomshroom has joined #nixos
<boomshroom> Hello!
kiloreux has quit [Ping timeout: 263 seconds]
bennofs has joined #nixos
<boomshroom> Is it possible to make a stdenv that compiles using emscripten to WASM?
<{^_^}> [nixpkgs] @ryantm opened pull request #37579 → xorg.xkill: 1.0.4 -> 1.0.5 → https://git.io/vxCc7
<boomshroom> At first, I'd like to try compiling GNU hello as a package targetting WASM.
<shlevy> boomshroom: Sonarpulse would be the person to ask
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vxCch
<{^_^}> → bacb2e21 by @yegortimoshenko: Merge pull request #32763 from yegortimoshenko/xfce43
<{^_^}> → 21159d8f by @yegortimoshenko: xfce4-13: init
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #32763 → xfce4-13: init → https://git.io/vbKj5
<boomshroom> It would be pretty cool if all of Nix was able to get compiled to WASM. ()
<boomshroom> (I'm still in a "Nix the world!" mindset)
<tilpner> boomshroom - Have you seen pkgs/top-level/emscripten-packages.nix?
<boomshroom> tilpner: Ah, I see it's already been done.
kuznero has joined #nixos
kreisys has joined #nixos
<kuznero> Hi All! Is there eta-lang available in NixOS?
jrolfs has quit [Ping timeout: 276 seconds]
sigmundv has joined #nixos
<coconnor> kuznero: not that I can see. What is the eta lang?
<kuznero> coconnor: eta is haskell on jvm
<kuznero> eta-lang.org
<coconnor> oh cool!
goibhniu has joined #nixos
<boomshroom> Someone on /r/rust is working on an OS that runs WASM in kernel space. If it ends up as Posix-compliant, we'd already have the ability to target it.
<kuznero> coconnor: looks very interesting... I need to try it :)
<kreisys> Hey I feel like I'm missing something. It doesn't look like Nix is building anything in parallel
roberth has quit [Ping timeout: 265 seconds]
<kreisys> There seem to only be one builder running at any given time
<Sonarpulse> boomshroom: link to the reddit thing?
<kreisys> I'm just grepping ps though so it's not a scientific observation
<Sonarpulse> elvishjerricco is the person to ask for all things nix+wasm
asuryawanshi has quit [Remote host closed the connection]
<Sonarpulse> thanks!
<elvishjerricco> boomshroom: https://github.com/WebGHC/wasm-cross
<elvishjerricco> We're workin on it :P
asuryawanshi has joined #nixos
<boomshroom> elvishjerricco: Sweet! I love getting Nix running on all the things!
digitus has joined #nixos
<boomshroom> Including the web browser and an OS that hasn't been released yet.
<boomshroom> Can I just use WebGHC/wasm-cross as a Nix channel?
<{^_^}> [nixpkgs] @dtzWill opened pull request #37580 → erlang R18-20: updates → https://git.io/vxCWz
<{^_^}> [nixpkgs] @ryantm opened pull request #37581 → xorg.xlsclients: 1.1.3 -> 1.1.4 → https://git.io/vxCWr
<{^_^}> [nix] @coreyoconnor opened pull request #2000 → manual: correct repeated "--deriver". Add missing single char option aliases. → https://git.io/vxCWh
MinceR has quit [Ping timeout: 268 seconds]
zzamboni has quit [Quit: Leaving.]
MinceR has joined #nixos
zzamboni has joined #nixos
<tilpner> kreisys - How many build users do you have?
<kreisys> 32 as created by the installer by default
<kreisys> yet I only ever see nixbld1 being used
<kreisys> I changed max-jobs to 32
<kreisys> tried running with -j32
<kreisys> doesn't seem to make a difference
<kreisys> building my behemoth node app takes more than 2 hours rather than 10-15 minutes with npm
<srhb> lejonet: While I remember: (random braindump): integrating the ceph-volume systemd service is really icky. It's quite opinionated about doing stuff like systemctl enable, systemctl start and things. An easier route appears to be to use the bluestore tool to prime the /var/lib/ceph/osd/ceph-${id} directory with the right things.
zzamboni has quit [Client Quit]
<coconnor> kreisys: basic Q - is there actually multiple independent derivations that can be built?
zzamboni has joined #nixos
<srhb> lejonet: (In the end the only autodiscovery that's really necessary is ls /dev/ceph*/*${osd-fsid} to find the block device to give bluestore tool. That requires knowing the fsid in advance of course, otherwise one needs to parse out that information from the lvm tags)
<kreisys> coconnor: there should be... unless I'm getting this totally wrong. like there's a "root" derivation that has a bunch of buildInputs, which in turn have their own buildInputs ad nauseum
<coconnor> correct
<kreisys> It's all rendered from a ginormous npm-shrinkwrap
<coconnor> which forms a lazy graph
<coconnor> and is reduced to a single derivation on instantiate
<coconnor> nix can only build parallel paths in the DAG in parallel
<kreisys> DAG?
<coconnor> there is certainly a chance for a single derivation to be a choke point
<coconnor> errr directed acyclic graph
<kreisys> sorry :P
zzamboni has quit [Client Quit]
<coconnor> ignore the DAG bit. doesn't matter
zzamboni has joined #nixos
<coconnor> anyways, consider something like a compiler
<kreisys> yeah
<coconnor> even with hundreds of libraries to build, if they all depend on that one compiler. No parallel until that compiler is built
kuznero has quit [Quit: Page closed]
<coconnor> so, what's the package being built? Is it possibly a choke point?
<kreisys> could be. but the build code is fairly complex so I want to rule out a config issue on my part
coot has quit [Quit: coot]
<kreisys> what could be a choke point?
<kreisys> like I suspected that perhaps using a foldl' somewhere could create a serial bottleneck if there are derivations in the array given to foldl'
<{^_^}> [nixpkgs] @ryantm opened pull request #37582 → xorg.xmessage: 1.0.4 -> 1.0.5 → https://git.io/vxC4f
<coconnor> a package that a lot of other packages depend on, and the package you want is in the "lot of other packages" set
Arcaelyx has joined #nixos
<coconnor> ah yea. definitey could generate a derivation that is a choke point unintentionally
<kreisys> Also am I correct in the assumption the dependencies have to be put in buildInputs in order to be run in parallel?
<coconnor> no on that last bit
<coconnor> order of buildInputs does not effect parallelism
<kreisys> So if I have in my buildCommand let's say ${gcc}/bin/gcc and ${ghci}/bin/ghci
Lisanna has joined #nixos
<kreisys> and I haven't put them in nativeBuildInputs (or buildInputs) they would still be built in parallel?
<{^_^}> [nixpkgs] @jonafato opened pull request #37583 → libopenshot: 0.1.7 -> 0.1.9 → https://git.io/vxC4K
<coconnor> Does ghci depend on gcc?
<coconnor> a build command containing those two expansions
<kreisys> assuming they don't depend on each other
<coconnor> would result in a derivation that depends on both gcc and ghci
<kreisys> Ok so buildInputs is just for triggering setup-hooks and such
<kreisys> has nothing to do with parallelism whatsoever?
<coconnor> when that derivation is realised then both gcc and ghci derivations would have to be realised
<coconnor> right
<coconnor> builders pull from the queue of derivations to be realised
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
<coconnor> but the queue will stall if the next derivations in the queue are still waiting on a derivation currently being built
<coconnor> that will look like the number of builders is less than max-jobs
goibhniu has quit [Ping timeout: 248 seconds]
d0nkey has quit [Ping timeout: 264 seconds]
<{^_^}> [nix] @shlevy pushed 2 commits to master: https://git.io/vxCBi
<{^_^}> → 22b144fe by @coreyoconnor: manual: correct repeated "--deriver". Add missing single char option aliases.
<{^_^}> → 92dfc223 by @shlevy: Merge branch 'master' of git://github.com/coreyoconnor/nix
<{^_^}> [nix] @shlevy merged pull request #2000 → manual: correct repeated "--deriver". Add missing single char option aliases. → https://git.io/vxCWh
zzamboni has quit [Ping timeout: 246 seconds]
<kreisys> Ok so if I generate a bunch of dummy derivations that only sleep for a while I'd be able to see if it's "building" them in parallel?
<coconnor> I think so.
<{^_^}> [nixpkgs] @ryantm opened pull request #37584 → xmlrpc_c: 1.33.17 -> 1.39.12 → https://git.io/vxCRB
<coconnor> trying to think of a quick script to demo.
justbeingglad has joined #nixos
sigmundv_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #37561 → pan: update 0.139 -> 0.144, fix crash on startup, dep and feature wrangling. → https://git.io/vxcdb
<{^_^}> [nixpkgs] @dtzWill pushed 5 commits to master: https://git.io/vxCRi
<{^_^}> → 82659791 by @dtzWill: pan: 0.139 -> 0.144
<{^_^}> → 7d873b8f by @dtzWill: pan: ensure features we provide deps for are used, move to gtk3
<{^_^}> → 96f0d4e9 by @dtzWill: pan: wrap to provide gpg2, which it crashes without
krey has joined #nixos
jtojnar has joined #nixos
GlennS has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @copumpkin opened pull request #37585 → hologram-server module: add cache timeout option → https://git.io/vxC0q
the_real_plumps has quit [Remote host closed the connection]
rauno has joined #nixos
boomshroom is now known as boomshroom-away
jrolfs has joined #nixos
the_real_plumps has joined #nixos
raynold has joined #nixos
<nikivi> How can I update nix package manager on macOS?
<nikivi> Do I just run `curl https://nixos.org/nix/install | sh` again?
jrolfs has quit [Client Quit]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @copumpkin merged pull request #37585 → hologram-server module: add cache timeout option → https://git.io/vxC0q
<{^_^}> [nixpkgs] @copumpkin pushed 2 commits to master: https://git.io/vxCEZ
<{^_^}> → 6fa9d9cd by @copumpkin: hologram-server module: add cache timeout option
<{^_^}> → 75773561 by @copumpkin: Merge pull request #37585 from copumpkin/hologram-server-module
<{^_^}> [nixpkgs] @ryantm opened pull request #37586 → xpraGtk3: 2.1.3 -> 2.2.5 → https://git.io/vxCEn
Tucky has quit [Quit: WeeChat 2.1]
bennofs has quit [Quit: WeeChat 2.0]
roberth has joined #nixos
justbeingglad has quit [Ping timeout: 264 seconds]
Fare has joined #nixos
<{^_^}> [nixpkgs] @not-fl3 opened pull request #37587 → tdesktop: fixed GLib-GIO-ERROR → https://git.io/vxCuL
<{^_^}> [nixpkgs] @mpickering opened pull request #37588 → dontCheck pure-zlib → https://git.io/vxCus
<kreisys> coconnor: yeah I whipped something up. definitely works as advertised! thanks for your help!
<{^_^}> [nixpkgs] @ryantm closed pull request #37572 → xfce.xfce4-hardware-monitor-plugin: 1.5.0 -> 1.6.0 → https://git.io/vxCTU
<{^_^}> [nixpkgs] @peti merged pull request #37588 → dontCheck pure-zlib → https://git.io/vxCus
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vxCuE
<{^_^}> → 4a3ad82b by @mpickering: dontCheck pure-zlib
<{^_^}> → 3c6dcdb7 by @peti: Merge pull request #37588 from mpickering/pure-zlib
TweyII has quit [Quit: WeeChat 1.7]
rihards has joined #nixos
<dhess> I'm trying to nix-copy-closure GHC to a BeagleBone Black and it's running out of memory (the old 'warning: dumping very large path (> 256 MiB); this may run out of memory' problem). Anyone have any advice or tricks on how to get it to work?
<steveeJ> hey, I've been having trouble with lightdm screen locking lately: it doesn't unlock. I've tried locking via dm-tool and also running light-locker separately
ma27 has quit [Ping timeout: 256 seconds]
<clever> dhess: nix 2.0 copies store paths around as std::string's, so you need enough ram+swap to hold the biggest storepath
<dhess> clever: yeah this has just started happening now that I've upgraded all my hosts to 2.0 :(
__Sander__ has quit [Quit: Konversation terminated!]
<dhess> clever: I can bump swap though, thanks
<dhess> swap on an SD card... ugh
mariel__ has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
shabius_ has joined #nixos
boomshroom-away is now known as boomshroom
aloiscochard has quit [Ping timeout: 276 seconds]
alphor_ has quit [Ping timeout: 276 seconds]
ThatDocsLady_ has quit [Ping timeout: 240 seconds]
MightyJoe has quit [Read error: Connection reset by peer]
ahmedtd_ has quit [Quit: No Ping reply in 180 seconds.]
paraseba has quit [Ping timeout: 276 seconds]
akl has quit [Ping timeout: 276 seconds]
woboats has quit [Ping timeout: 276 seconds]
yastero has quit [Ping timeout: 276 seconds]
Forkk has quit [Remote host closed the connection]
awygle has quit [Remote host closed the connection]
<aminechikhaoui> Folks, does the nix-daemon look to CURL_CA_BUNDLE env var still to lookup the certificate path ?
<aminechikhaoui> I mean nix 2.0
raynold has quit [Ping timeout: 276 seconds]
teozkr has quit [Ping timeout: 276 seconds]
oscarduignan has quit [Ping timeout: 276 seconds]
cacatoes has quit [Ping timeout: 276 seconds]
templis has quit [Ping timeout: 276 seconds]
ahmedtd has joined #nixos
cyraxjoe has joined #nixos
awygle has joined #nixos
Forkk has joined #nixos
shabius has quit [Ping timeout: 276 seconds]
jensens has quit [Ping timeout: 256 seconds]
cacatoes has joined #nixos
paraseba has joined #nixos
yastero has joined #nixos
templis has joined #nixos
alphor has joined #nixos
<coconnor> kreisys: what did you build for a test? For giggles I threw together https://gist.github.com/coreyoconnor/e0673ac1e723a0d6211374b2ff02a5d9
akl has joined #nixos
oscarduignan has joined #nixos
teozkr has joined #nixos
aloiscochard has joined #nixos
raynold has joined #nixos
simendsjo has joined #nixos
<dhess> geeze even 1GiB of swap doesn't do it? WTF
woboats has joined #nixos
<kreisys> coconnor: similar to what you did. just hastier and uglier: https://gist.github.com/kreisys/05cf20c7215278f1a408f87f63e75fd6
<coconnor> I spent a while trying to trick nix to rebuild the dummy derivations every evaluation
<coconnor> did not succeed
<kreisys> oh I just garbage collected after each time like a peasant
<coconnor> hahaha
<coconnor> things I tried - Name being a derivation. Nope. Nix caught that and rejected the name.
<coconnor> using 'builtins.getEnv "RANDOM"'. Also did not work. tho not sure why...
fendor has joined #nixos
mariel__ has quit [Ping timeout: 240 seconds]
<kreisys> isn't it supposed to protect you from impurities?
Izorkin has quit [Read error: No route to host]
deepfire has quit [Ping timeout: 246 seconds]
mariel__ has joined #nixos
<coconnor> yeaa.. I thought I could trick nix
Izorkin has joined #nixos
deepfire has joined #nixos
<fendor> can i install vagrant-plugins via nixos, or how can i install vagrant plugins on nixos?
kiloreux has joined #nixos
mck has joined #nixos
srjek|home has joined #nixos
<mck> Did something happen with nixos-unstable channel? I haven't had any updates in a while, and it seems to have not been updated since the 5th of this month
kiloreux_ has quit [Ping timeout: 252 seconds]
<dhess> mck: nixos-unstable-small is newer, though it is has also been stuck for the last couple of days.
<{^_^}> [nixpkgs] @dtzWill merged pull request #37576 → gtkspell3: add missing isocodes dep → https://git.io/vxC3I
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vxCaD
<{^_^}> → a7bc556c by @dtzWill: gtkspell3: add missing isocodes dep
<{^_^}> → c945978f by @dtzWill: Merge pull request #37576 from dtzWill/fix/gtkspell3-isocodes
<mck> dhess: what's the diff between unstable and unstable-small?
<dhess> mck: The set of packages that have to build before a release is made
orivej has joined #nixos
ron__ has joined #nixos
<dhess> mck: I run nixos-unstable-small on all of my servers and rarely hit anything that isn't in the cache. I'm not sure that would be the same story on a desktop, though.
asuryawanshi has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
nuncanada has quit [Ping timeout: 240 seconds]
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
justbeingglad has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
asuryawa_ has joined #nixos
asuryawanshi has quit [Ping timeout: 248 seconds]
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #37552 → verilator: 3.920 -> 3.922 → https://git.io/vxcML
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @ryantm to master « verilator: 3.920 -> 3.922 »: https://git.io/vxCwU
knupfer has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #37413 → criu: 3.7 -> 3.8 → https://git.io/vxZTB
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @ryantm to master « criu: 3.7 -> 3.8 »: https://git.io/vxCwz
fendor has quit [Remote host closed the connection]
tmaekawa has joined #nixos
mariel__ has quit [Ping timeout: 256 seconds]
hotfuzz_ has quit [Read error: Connection reset by peer]
MP2E has joined #nixos
hotfuzz_ has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fce49b7f21d (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<{^_^}> [nixpkgs] @mdorman opened pull request #37589 → guile-1.8: Re-add `libtool` to `propagatedBuildInputs` → https://git.io/vxCrh
tmaekawa has quit [Quit: tmaekawa]
<etu[m]> dhess: Nah, big difference between nixos-unstable and nixos-unstable-small is the amount of tests that are required to move each channel forward. Small doesn't include graphical things like plasma, gnome, firefox, chromium etc.
<gchristensen> * and also the number of packages built
<etu[m]> dhess: So I wouldn't run a small channel on a desktop due to eventual breakage. And at the moment nixos-unstable is way behind nixos-unstable-small :)
<etu[m]> gchristensen: Yeah, sure, but I find that the less important part. The more important part is if things work :p
<dhess> err well they certainly don't work if they don't build...
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b69f05695f6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<etu[m]> dhess: Just because they aren't in the binary cache doesn't mean that they don't build :)
detran has joined #nixos
asuryawa_ has quit [Remote host closed the connection]
<catern> waaait a second
ma27 has joined #nixos
asuryawanshi has joined #nixos
<catern> here's an idea for how to solve the "package recipe is duplicated between nixpkgs and default.nix in the repo" problem. just have the default.nix in the repo override the package recipe in nixpkgs, with the source in that repo!
<catern> has anyone proposed this before? are there any downsides? this seems to just solve the problem
<gchristensen> what if not just the source is different?
<catern> like what?
<gchristensen> like the default.nix changed
<catern> if you need to build it differently, then you have to update nixpkgs anyway
<catern> so to change the default.nix, you have to change nixpkgs
knupfer has joined #nixos
<acowley> steveeJ: I'm using lightlocker with lightdm
<{^_^}> [nixpkgs] @globin merged pull request #36992 → profanity: fix build on darwin → https://git.io/vxIvn
<{^_^}> [nixpkgs] @globin pushed commit from @hschaeidt to master « profanity: refactor build to build from source »: https://git.io/vxCK2
<catern> er, that is, instead of locally changing your default.nix, you just change the one in nixpkgs instead. doesn't seem too onerous
<acowley> Anyone have experience building clang forks?
* hodapp has experience clanging forks o_O
<acowley> I'm trying to package AMD's hcc compiler, which depends on a modified clang, but it's all defined as one big build
<LnL> rust also depends on an llvm fork
<acowley> So I end up running into troubles due (I think) to not having a proper wrapper
<acowley> What I'm trying now is splitting its build into parts
<acowley> With the hope that I can build its llvm and clang, then have a derivation that provides a wrapped clang, then use the wrapped clang for the later parts of the build
<acowley> But I wish there was an easier way
Ariakenom has joined #nixos
<acowley> The fact that the builds take so long adds to the bad feelings
<acowley> I haven't tracked down where it is defined, but I suspect Rust's use of a custom LLVM is a bit simpler.
<acowley> The hcc build attempts to use their tricked-out clang to actually build and link executables
<acowley> So it needs the nix magic
<LnL> well, I gave it a shot a while back but I wasn't able to get llvm into a separate build
<acowley> That's bad news for me! Any recollection of what went wrong?
<acowley> I think I have hcc's clang building now, actually. It just finished in a nix-shell, so I'll have to try again with nix-build
<acowley> But I don't know how to do the wrapping part. I'll try, and probably eventually have to beg shlevy for guidance.
<acowley> Actually, I really need to figure out the installation part
<acowley> I don't want to sit through a three hour build and have it drop the ball during install
mck has quit [Quit: Page closed]
<LnL> something weird during the rust build itself, don't remember exactly
<acowley> So the build I have produces build/bin build/lib build/compiler, and the real jewels are in build/compiler. Will the default cmake installer copy them into $out?
<acowley> I can't figure out how to run installPhase in a nix-shell -A
<LnL> in some cases out=/tmp/foo works but sometimes there are other references to the actual out path
<acowley> I tried setting the variable, but it didn't work
<acowley> Given that this is cmake, I'm sure it's duplicated in 99 places
<LnL> :p
MichaelRaskin has joined #nixos
asuryawa_ has joined #nixos
asuryawanshi has quit [Read error: Connection reset by peer]
tv has quit [Ping timeout: 252 seconds]
Fare has joined #nixos
<symphorien> You could try to bind mount a fresh directory on the intended $out to complete the install in nix-shell
<acowley> That's possible?
tv has joined #nixos
zzamboni has joined #nixos
<acowley> The intended $out doesn't exist
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7fa2f865b89 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<dhess> wha, has 18.03 been released?
<gchristensen> no
<gchristensen> pre-release
* LnL stares at all the darwin failures :p
<symphorien> acowley: with mount --bind, certainly
<gchristensen> LnL: uh oh, did the nix update break/fix things?
<LnL> no zhf is just a lot of work
<gchristensen> yeah :(
<gchristensen> we could start doing monthly "FHF": Fewer Hydra Failures :)
<MichaelRaskin> On master instead of these weird release branches?
maximiliantagher has quit [Remote host closed the connection]
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fce49b7f21d (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
maximiliantagher has joined #nixos
<coconnor> zhf?
asuryawa_ has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
<MichaelRaskin> Zero Hydra Failures.
<MichaelRaskin> Fixing as many package builds as possible and marking the rest explicitly known-broken
bkchr[m] has joined #nixos
maximiliantagher has quit [Ping timeout: 246 seconds]
ixxie has joined #nixos
mounty_ has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
rardiol1 has joined #nixos
leat has quit [Ping timeout: 256 seconds]
coot has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0f743154566 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
sigmundv_ has joined #nixos
humanoyd has quit [Quit: WeeChat 2.1]
<Ralith> some time between 17.09 and 18.03, fontconfig ceased recognizing terminus as a font
<Ralith> I am baffled
leat has joined #nixos
frio has quit [Quit: WeeChat 1.4]
simendsjo has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @globin pushed 3 commits to release-18.03: https://git.io/vxCMj
<{^_^}> → dc70be40 by @hschaeidt: profanity: refactor build to build from source
<{^_^}> → 555ac841 by @hschaeidt: stabber: init at 2016-11-09
<{^_^}> → 11f1cb78 by @hschaeidt: add hschaeidt to maintainer list
<{^_^}> [nixpkgs] @srhb merged pull request #37513 → mir-qualia: 1.0.0 -> 2.0.0 → https://git.io/vxcLa
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/vxCDI
<{^_^}> → 35ad8dde by @ryantm: mir-qualia: 1.0.0 -> 2.0.0
<{^_^}> → d32ce054 by @srhb: Merge pull request #37513 from ryantm/auto-update/mir.qualia
zzamboni has quit [Read error: Connection reset by peer]
<dhess> dammit, I can never remember the syntax for nixops rollback, and it's not in the manual
coot has quit [Ping timeout: 240 seconds]
<dhess> nixops rollback --include foo 7
<dhess> why doesn't that work?
<gchristensen> anyone know how to get latexmk from nix / latex / texlive.combine ?
<steveeJ> ha, WRT to the lightdm locking issue. it turns out when I just switch to the session's VT I can completely bypass the lockscreen. this is quite unexpected
<symphorien> gchristensen: I use it, I didn't encounter any problem
<gchristensen> symphorien: how do you get it ...?
<Dezgeg> texlive.combined.scheme-medium includes it at least
<gchristensen> hrm
<gchristensen> is it in a special out?
maximiliantagher has joined #nixos
<Dezgeg> or that's what 'nix-locate bin/latexmk' told me
<srhb> gchristensen: nix-shell -p '(texlive.combine { inherit (pkgs.texlive) scheme-minimal latexmk; })' --run latexmk
<MichaelRaskin> No
<MichaelRaskin> Nothing special
<gchristensen> so bizarre...
TurkcemIRC5151 has joined #nixos
TurkcemIRC5151 has quit [Client Quit]
<symphorien> I have texlive full to alleviate this problem :°
<dhess> wow you have to put the generation number after 'rollback', before any options
<{^_^}> [nixpkgs] @vbgl opened pull request #37591 → coq: init at 8.8+beta1 → https://git.io/vxCyc
<infinisil> dhess: The nixops CLI isn't very nice in general if I'm gonna be honest
<lejonet> srhb: my intention was never to actually do anything with the ceph-volumes services but just enable the actual tool, to easier setup OSDs and actually be able to use bluestore
rihards has quit [Quit: rihards]
<dhess> infinisil: I'm gonna be honest and agree with you :)
<srhb> lejonet: The tool is really the problematic part.
<srhb> But I suppose the "prepare" part is okay :)
maximiliantagher has quit [Ping timeout: 240 seconds]
<lejonet> srhb: "The tool", what are you referring to in that context? The tool for me is just the ceph-volumes binary, which you can use to prepare the physical disks for becoming an OSD, anything outside of that I don't give a rats ass about xD
<srhb> lejonet: I do mean that :) And essentially every subcommand but "prepare" is problematic -- but that one is fine! :)
<srhb> lejonet: Anyway, I was just sharing my experiences. After ceph-volume prepare I ended up making an ExecStartPre with ceph-bluestore-tool to provision the /var/lib/ceph/osd/ceph-${id} directory with the correct device.
<srhb> Because the activation part of ceph-volume is too opinionated.
reinzelmann has joined #nixos
<lejonet> srhb: yeah, and its a bit hard that bluestore isn't really a fs so we just can use fileSystems to mount it :/
<srhb> It's not terrible. In the end ceph-bluestore-tool takes care of linking the block device in place. The rest is just wrangling ownership and permissions :)
<srhb> But yes, the older method was much simpler.
<lejonet> I'll see what I can do :P
<srhb> And it's annoying that the logic for getting a block device from an osd.id is gated in ceph-volume badness, so I had to do that myself.
<lejonet> Yeah, that is quite bad
<srhb> (I made osd.daemons an attrsOf (submodule ...) which contains the fsid -- good enough for me)
<lejonet> I'll have to digg into ceph-volumes and bluestore properly and see if I can find some neat nix-way to do it
kthnnlg has joined #nixos
rauno has joined #nixos
<srhb> lejonet: Extracting the fsid (for finding the block device) should be no harder than using the lvm tools to read the tags and wrangle that :)
<srhb> lejonet: Anyway, I managed, so it's clearly doable! :-)
<lejonet> fsid, you mean the cluster fsid or a bluestore specific one? :P
<kthnnlg> Hi All, I have a nixos system that has little space available on the /nix/store partition, but I'd like to use nix-shell to load various new packages. Can I somehow get nix-shell to store the package data on an external drive? If yes, can someone point me to the instructions? Thanks
<lejonet> srhb: if you've got the time, care to share the solution of nix code and I'll see if I can incorporate that or see if I can use that as a base?
<srhb> lejonet: I mean the OSD fsid. It's used for the tag in lvm
Mateon3 has joined #nixos
<lejonet> srhb: hmm, I'm guessing it can't be set to a known value, kindof how you make OSDs the manual way?
<srhb> lejonet: I'll try to remember tomorrow! I left work without pushing to anywhere I can reach right now, heck of a day. :P
<srhb> lejonet: Yes, you can feed the fsid to ceph-volume-prepare
<srhb> lejonet: --osd-fsid :)
Mateon1 has quit [Ping timeout: 256 seconds]
<srhb> er, ceph-volume prepare
Mateon3 is now known as Mateon1
maximiliantagher has joined #nixos
<lejonet> srhb: Then it shouldn't be too hard to nixify it with that
<srhb> The only thing I didn't do was the provisioning.
<srhb> All the mounting and stuff works.
<srhb> provisioning is just by-hand.
<lejonet> Well yeah, but provisioning is kindof out of scope of the module too, that is more a nixops/other mechanism thing
<srhb> I don't know.. It would be nice. :-P
<{^_^}> [nixpkgs] @giraffito opened pull request #37592 → python.md: fix grammar around bdist_wheel FAQ → https://git.io/vxC97
<srhb> By the way, the build system of the whole package just infuriates me, still.
<srhb> I can't even build it with current in-tree boost.
<lejonet> I've tried figuring out how to make "one-shot" things in a nice manner, but haven't really found any good way, a one-shot pre-start or activation script might be the only way :/
<lejonet> haha
<srhb> lejonet: Yes, something gated by the existence of /var/lib/ceph/osd/ceph-${id} should be fine
<lejonet> Atleast they've gone over to cmake, so you don't have to figure out their wonky makefiles
<srhb> lejonet: Apparently boost and cmake versions are basically tied to each other somehow.
<lejonet> srhb: yep...
<srhb> So my current 12.2.4 or whichever build uses the vendored boost, because... urghhh
<lejonet> Boost has a tendency of doing that, kindof like ICU and firefox
peacememories has joined #nixos
<srhb> It's infuriating. Anyway, thanks for listening! I'll try to remember to extract the bits for you tomorrow :)
<lejonet> srhb: and I'll go and do that PR now :P
maximiliantagher has quit [Ping timeout: 264 seconds]
dan_b has joined #nixos
<srhb> Oh, that reminds me. I think the order of the outputs is wonky. The one with the binary should go first. Not sure if that's your doing.
<lejonet> srhb: I agree, not my doing either :P
<srhb> (I noticed you had to do a lot of ceph.out because of this)
<lejonet> Mhm
<lejonet> I decided to not fiddle with it firstly, and focused on getting the module to work, now I can tend to those things
<srhb> Sure thing!
<srhb> I'm glad you're working on it! Let me know if I pester you too much :-)
<lejonet> I noticed it rather early, because it screwed up all the binary paths :P
<lejonet> srhb: haha, I'll surely do, don't worry tho, that is the wonders of async comms :) I can ignore you if needed, without you're comments disappearing :D
<lejonet> your* siigh, stupid brain
<lejonet> I'm just glad to get input ^^
ixxie has quit [Ping timeout: 240 seconds]
<lejonet> I've just had a lot real life stuff lately, so even better to get pokes telling me I should do this too ^^
<maurer> a/go 14
<lejonet> maurer: computer says no. :P
maximiliantagher has joined #nixos
<maurer> Sorry, I should add a script to weechat at some point to scan for that
<lejonet> maurer: I do that all the time, its both nice and annoying to have per chat buffers :P
<gchristensen> what is /go?
<gchristensen> I just have /buffer ...
<lejonet> probably a own-defined command
<gchristensen> Mic92 has it too
<MichaelRaskin> Well, it's a natural short alias for channel choice
WizBright has quit [Ping timeout: 268 seconds]
WizBright has joined #nixos
<gchristensen> hmm nice
<joko> Is weechat that good? I am using irssi, but I admit I have barely have it set up
Fare has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #37593 → ngx_brotli: update for fixes, zero copy. → https://git.io/vxC7v
<{^_^}> [nixpkgs] @edwtjo pushed to master « libheimdal: 7.4.0 -> 7.5.0 »: https://git.io/vxC7L
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to master: https://git.io/vxC7G
<{^_^}> → 3918182c by @dezgeg: nixos/manual: Don't depend on non-bin outputs of libxml2 and libxslt
<{^_^}> → 1874678d by @dezgeg: make-dbus-conf: Don't depend on unnecessary libxslt outputs
<{^_^}> [nixpkgs] @volth opened pull request #37594 → xfce4-13: fix build, add nixos module → https://git.io/vxC74
jrolfs has joined #nixos
<{^_^}> [nixpkgs] @dezgeg pushed 4 commits to unstable-aarch64: https://git.io/vxC72
<{^_^}> → 9ace81fa by @dezgeg: edk2: Reformat a bit for readability
<{^_^}> → ffb6bd03 by @dezgeg: OVMF: Reformat a bit for readability
<{^_^}> → 0735b15e by @dezgeg: edk2, OVMF: Build on aarch64
davidlt_ has quit [Ping timeout: 240 seconds]
davidlt has joined #nixos
acarrico has joined #nixos
<{^_^}> [nixpkgs] @garbas merged pull request #37520 → netsurf.buildsystem: 1.5 -> 1.6 → https://git.io/vxcYK
<{^_^}> [nixpkgs] @garbas pushed commit from @ryantm to master « netsurf.buildsystem: 1.5 -> 1.6 »: https://git.io/vxC5v
<{^_^}> [nixpkgs] @LnL7 pushed 4 commits to master: https://git.io/vxC5q
<{^_^}> → c2ca5c05 by @LnL7: libqglviewer: fix darwin build
<{^_^}> → 9a054d7c by @LnL7: libnfs: fix clang build
<{^_^}> → fe376845 by @LnL7: luaffi: fix darwin build
<{^_^}> [nixpkgs] @LnL7 pushed 4 commits to release-18.03: https://git.io/vxC5Z
<{^_^}> → 79378daa by @LnL7: libqglviewer: fix darwin build
<{^_^}> → c6603050 by @LnL7: libnfs: fix clang build
<{^_^}> → 9a81f1ba by @LnL7: luaffi: fix darwin build
mounty_ has quit [Ping timeout: 264 seconds]
ma27 has quit [Ping timeout: 256 seconds]
<WilliamHamilton> when the package is in a wrapper, like https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/dwarf-fortress/wrapper/default.nix , how do I install the wrapper with the options I want?
<symphorien> (wrapper.override({option=true;}))
<{^_^}> [nixpkgs] @SFrijters opened pull request #37595 → paraview: include numpy in python environment → https://git.io/vxC5r
<dhess> I'll ask my bimonthly-ish question: has anyone here gotten a Mastodon instance running on NixOS?
davidlt has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @abbradar pushed to master « pyqt5: propagate Qt dependencies »: https://git.io/vxCdv
<WilliamHamilton> symphorien: thanks, am I making obvious mistakes in `nix-env -iA (nixos.dwarf-fortress.override({theme="cla";}))`
<WilliamHamilton> ?
<symphorien> for nix-env
<WilliamHamilton> I get a parse error near `}'
<{^_^}> [nixpkgs] @abbradar pushed to release-18.03 « pyqt5: propagate Qt dependencies »: https://git.io/vxCdT
<Orbstheorem[m]> WilliamHamilton: your shell is interpreting everything after ;
<symphorien> what I said was for configuration.nix
<Orbstheorem[m]> Put the parenthesis inside single quotes
<WilliamHamilton> Orbstheorem: right, thanks, I'm dumb, now:
<WilliamHamilton> attribute 'override({theme=cla;})' in selection path 'nixos.dwarf-fortress.override({theme="cla";})' not found
<symphorien> for nix-env the easiest way is to put what I said in a file preceded by 'with import <nixpkgs> { config = { allowUnfree = true; } };'
deepfire has quit [Ping timeout: 260 seconds]
<symphorien> and then: nix-env -if .
<symphorien> nix-env -if file.nix rather
davidlt has joined #nixos
<WilliamHamilton> symphorien: ok, let me try that
<{^_^}> [nixpkgs] @volth opened pull request #37596 → xfce.xfce4-panel: 4.12.1 -> 4.12.2; xfce.xfwm4: 4.12.3 -> 4.12.4 → https://git.io/vxCdB
<kthnnlg> Hi All, I'm trying to run nix-shell from a sandbox on an external drive. The system is nix 2.0, and i already have installed nix-shell. To get the new store set up, I created a new directory and set the environment variable `export NIX_STORE_DIR=/home/rainey/mnt/store/`. However, it seems I'm missing some initialization, because the new `store` folder I'm pointing to is empty, and when I run `nix-shell -p htop`, I see `erro
<kthnnlg> Can someone point me to the initialization I'm missing? Thanks
<Orbstheorem[m]> WilliamHamilton: else you could try nix-build and then import the result with nix-env
<symphorien> I don't understand your goal kthnnlg
<Orbstheorem[m]> I don't recall the cmd by heart, but I can find it once I get home
<symphorien> in any case nix 2.0 has an option to specify the store location
<kthnnlg> symphorien: my goal is to bypass the limited storage on my main nix/store partition
<symphorien> (as in cli option, not env var)
kiloreux has quit [Remote host closed the connection]
<symphorien> ok I see
<kthnnlg> basically, i want a development environment where i can pull in packages without worrying about running out of sapce
<kthnnlg> space
blankhart has quit [Ping timeout: 256 seconds]
<kthnnlg> ideally, i'd have a minimal nix store that's permanent on the main small drive
<kthnnlg> and i'd have a large store i can access via nix-shell, when i plug in my external drive
ma27 has joined #nixos
<symphorien> kthnnlg: nix 2.0 has a --store option you can use with file:///path/to/store I think
<symphorien> anyway, with the env variable method, NIX_STORE_DIR is not enough: https://github.com/NixOS/nix/blob/master/tests/common.sh.in#L5
<{^_^}> [nixpkgs] @nlewo merged pull request #37477 → mpd_clientlib: 2.13 -> 2.14 → https://git.io/vxnz2
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxCFO
<{^_^}> → 7c3b57c7 by @ryantm: mpd_clientlib: 2.13 -> 2.14
<{^_^}> → a3b56b98 by @nlewo: Merge pull request #37477 from ryantm/auto-update/libmpdclient
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/11f1cb7819c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
deepfire has joined #nixos
<infinisil> Currently using nixops for all my personal machines
<kthnnlg> symphorien: super, thanks!
<infinisil> But I can only use a single machine for rebuilding
<infinisil> What would be a good way to be able to rebuild on multiple machines?
<kthnnlg> symphorien: sorry, one other thing: how do i upgrade an older installation?
<infinisil> I need some way to share the nixops state
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @nlewo merged pull request #37496 → awscli: 1.14.47 -> 1.14.50 → https://git.io/vxnNg
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxCFz
<{^_^}> → 3c64662e by @spencerjanssen: awscli: 1.14.47 -> 1.14.50
<{^_^}> → 8920d1ef by @nlewo: Merge pull request #37496 from spencerjanssen/awscli-1.14.50
<symphorien> what do you mean ?
knupfer has quit [Remote host closed the connection]
zzamboni has joined #nixos
zzamboni has quit [Read error: Connection reset by peer]
<kthnnlg> i have set in my configuration.nix `system.stateVersion = "17.09";`
fl3 has joined #nixos
<kthnnlg> however, it seems that setting is insufficient to get nix 2.0
zzamboni has joined #nixos
<kthnnlg> because `$ nix-shell --version ... nix-shell (Nix) 1.11.16`
kreisys has quit [Read error: Connection reset by peer]
<infinisil> kthnnlg: No! Didn't you read the comment for that option?
<kthnnlg> oops, maybe i'm recalling incorrectly
<WilliamHamilton> symphorien: could you please check http://lpaste.net/363926 ?
<infinisil> kthnnlg: You're *not* supposed to change that
<kthnnlg> ok
<WilliamHamilton> Orbstheorem: thanks, that would be helpful!
<infinisil> kthnnlg: To update you need to do a nix channel upgrade then rebuild
<infinisil> But 17.09 is still the most recent release, 18.03 isn't out yet
<kthnnlg> and i should comment out system.stateVersion = "17.09";?
<kthnnlg> hmm, i see 18.03 on https://nixos.org/channels/
<infinisil> kthnnlg: No, just let it at whatever it was when you saw it, no touchy
<Mic92> joko: it is a bit more user friendly then irsii
<infinisil> kthnnlg: Yeah, it's not released though, it just got branched off
<{^_^}> [nixpkgs] @LnL7 pushed to master « masscan: fix build »: https://git.io/vxCbO
<kthnnlg> ah ok
<infinisil> kthnnlg: If you want nix 2.0 you can set `nix.package = pkgs.nixUnstable`
<kthnnlg> ok thx
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « masscan: fix build »: https://git.io/vxCbC
<joko> Mic92: in any way, I need to set my IRC client, I am losing messages if I don't have the IRC window active :D
<symphorien> WilliamHamilton: http://xelpaste.net/1Bighk I missed a ; and you added a spurious nixos.
<Mic92> joko: I think other people are using matrix for the same reason.
<Mic92> But I also did not spent too much time on setting up my client
<infinisil> joko: Can recommend weechat too, it has so much stuff
<infinisil> Although I found something it can't do that i'd wish for
<WilliamHamilton> symphorien: that did it; I'll go back to try to set all up, thanks!
<Orbstheorem[m]> WilliamHamilton: `nix-build -E 'with import <nixpkgs> {}; qutebrowser.override{withWebEngineDefault=true;}'`
<maurer> joko: The primary reason I use weechat is for its relay feature
<maurer> means I can connect to my irc via my phone and my browser pretty easily
<{^_^}> [nixpkgs] @lejonet opened pull request #37597 → ceph: Add makeWrapper to dependencies and nativeBuildInputs → https://git.io/vxCb9
<Orbstheorem[m]> Oh, you had it already :)
robstr has quit [Ping timeout: 240 seconds]
<MichaelRaskin> I am considering migrating from ii to weechat, but setting weechat to behave like ii (it did work for mcabber, after all). Why even use weechat? To start using matrix, eventually.
<{^_^}> [nixpkgs] @dtzWill merged pull request #37593 → ngx_brotli: update for fixes, zero copy. → https://git.io/vxC7v
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vxCbd
<{^_^}> → 0fdc4cb9 by @dtzWill: ngx_brotli: update for fixes, zero copy.
<{^_^}> → 3e1b4467 by @dtzWill: Merge pull request #37593 from dtzWill/update/ngx_brotli
<{^_^}> [nixpkgs] @dtzWill merged pull request #37491 → vim-plugins: updates! → https://git.io/vxnDR
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vxCbp
<{^_^}> → 00fb7d29 by @dtzWill: vim-plugins: updates!
<{^_^}> → 4ee6de5b by @dtzWill: Merge pull request #37491 from dtzWill/update/vim-plugins-many-2018-03-20
asuryawanshi has quit [Remote host closed the connection]
<WilliamHamilton> Orbstheorem: I got the insight of seeing in one command line though, thanks. Now, here's something that I don't understand: let's say that I install first a package via nix-env -iA and then the "same" package with another option using one of these methods
<WilliamHamilton> does the second one "shadow" the first one as they have the same name?
<Orbstheorem[m]> if there's a conflict nix-env will refuse
<symphorien> WilliamHamilton: are you on nixos ?
<Orbstheorem[m]> you will have to remove one before (nix-env -e )
jrolfs has quit [Quit: WeeChat 2.0]
<WilliamHamilton> symphorien: indeed
<Orbstheorem[m]> if there's no conflict it will just make a new closure
<kthnnlg> symphorien: following your --store suggestion, i tried`$ nix-shell --store file:////home/rainey/mnt/store -p htop`, checking that /mnt/store exists and has plenty of free space, the following error happened: `error: requested operation is not supported by store 'file:////home/rainey/mnt/store'`
<symphorien> WilliamHamilton: then use configuration.nix. It does not have all this flakiness with name vs attribute vs version comparison
<WilliamHamilton> so adding something wouldn't be a conflict in this case?
zzamboni has quit [Quit: Leaving.]
<Orbstheorem[m]> Let me reword: (have to remove one -> have to remove the one already used)
<Myrl-saki> What does Nix 2.0 provide aside from a better interface(?)?
<symphorien> kthnnlg: I have never used this option, all I know is that it exists, and that you put a / too much
<Orbstheorem[m]> Yeah, prefer configuration.nix ^^
acarrico has quit [Ping timeout: 256 seconds]
<Myrl-saki> IIRC, Nix 2.0 is the one that follows the git interface model?
<Myrl-saki> Or?
<symphorien> WilliamHamilton: nixos-rebuild would complain that two packages provide the same file
<Orbstheorem[m]> I only use nix-env when I'm too laze to nix-shell or when an already-running program needs a binary
<symphorien> and any way, since it is declarative, you would have seen it before
<Orbstheorem[m]> Myrl-saki: Git interface?
<WilliamHamilton> symphorien: Orbstheorem : right, in there I could write directly `dwarf-fortress.override ( { theme = "cla" ; } )` instead of dwarf-fortress
<Myrl-saki> Orbstheorem[m]: `git ...`
<kthnnlg> symphorien: oops, thanks. turns out that the extra / didn't change anything. In any case, it looks promising that somehow it should be doable
<Myrl-saki> Rather
<Myrl-saki> Orbstheorem[m]: `git command`
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-3.28: https://git.io/vxCNS
<{^_^}> → 77c164e3 by @jtojnar: fixup! gnome3.gnome-session: fix build
<{^_^}> → a0663ecf by @jtojnar: fixup! gnome3.gnome-shell: fix build
<Orbstheorem[m]> `nix rebase -i -S` ? :P
<Myrl-saki> Orbstheorem[m]: :x
<Orbstheorem[m]> WilliamHamilton: yep
<Myrl-saki> Is `nix copy` === `nix-copy-closure`?
<Orbstheorem[m]> WilliamHamilton: nota bene: after you build a derivation with nix-build you can integrate it with `nix-env -i /nix/store/adlkjl.....-my-package-0.25`
<WilliamHamilton> Orbstheorem: right, thanks
<WilliamHamilton> -i is for instantiate?
<WilliamHamilton> it's the same to do nix-instantiate /nix/store/path?
<Orbstheorem[m]> install*
<Myrl-saki> Oh cool. Nix also use the term porcelain and plumbing.
<Orbstheorem[m]> I don't know, I don't think so
<{^_^}> [nixpkgs] @thoughtpolice pushed 3 commits to master: https://git.io/vxCAq
<{^_^}> → df861685 by @thoughtpolice: icestorm: 2018.03.07 -> 2018.03.21
<{^_^}> → 7a00f136 by @thoughtpolice: yosys: 2018.03.07 -> 2018.03.21
<{^_^}> → 011e7015 by @thoughtpolice: symbiyosys: 2018.03.07 -> 2018.03.21
ma27 has quit [Ping timeout: 245 seconds]
<Myrl-saki> Wait what.
<Orbstheorem[m]> WilliamHamilton: IIRC nix-instantiate will create store paths from definitions, I believe it's called behind the scenes by nix-build
<Myrl-saki> What's the use of FP numbers for Nix?
<gchristensen> Nix has FP?
<WilliamHamilton> oh, so the previous command was only to install a path from the store in my user-profile
<Myrl-saki> gchristensen: It supports floating point numbers. They are based on the C++ float type and are supported by the existing numerical operators. Export and import to and from JSON and XML works, too.
<Myrl-saki> gchristensen: Under https://nixos.org/nix/manual/#ssec-relnotes-2.0
zzamboni has joined #nixos
<gchristensen> cool
<Orbstheorem[m]> WilliamHamilton: yep
<gchristensen> most importantly before you weren't able to import json if it had fp numbers
<WilliamHamilton> Orbstheorem: another thing I don't quite understand: let's take for example https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/dwarf-fortress/wrapper/default.nix#L41-L52
zzamboni has quit [Read error: Connection reset by peer]
<Myrl-saki> gchristensen: Ah, true.
zzamboni has joined #nixos
<Myrl-saki> Nix no longer depends on Perl and all Perl components have been rewritten in C++ or removed. The Perl bindings that used to be part of Nix have been moved to a separate package, nix-perl.
<{^_^}> [nixpkgs] @dtzWill opened pull request #37598 → ghc-{8.2.2,8.4.1}: fixups mostly for cross, musl → https://git.io/vxCAK
coot has joined #nixos
<WilliamHamilton> the function mkDerivation, if I understand correctly, makes a derivation, which is a nix set with type=derivation
<Myrl-saki> \o/
siel has quit [Ping timeout: 245 seconds]
<dhess> but Hydra....
<WilliamHamilton> now, this derivation is built, but for example, in the link I pointed early, there are some random attributes like runDFHack. Where do those go?
<gchristensen> dhess: one bit at a time!
<dhess> hehe
<symphorien> WilliamHamilton: the file you linked is a function which takes dependencies and random other things and returns a derivation
<Myrl-saki> Is there a github issue tag for nixpkgs suggestions?
dan_b has quit [Remote host closed the connection]
<WilliamHamilton> symphorien: ok, and when the derivation is built, where do those attributes go?
<symphorien> with .override you "rerun" the function with different arguments and get a new derivation
<WilliamHamilton> I mean, what's the meaning of the random fields in a derivation?
<symphorien> it is up to the fuction
<symphorien> they only have a conventionnal meaning
jtojnar has quit [Quit: jtojnar]
<symphorien> argument whose name is a package are usually a dependency
davidlt_ has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed commit from @svsdep to master « skypeforlinux: 8.16.0.4 -> 8.17.0.2 »: https://git.io/vxCxu
justbeingglad has joined #nixos
<{^_^}> [nixpkgs] @rycee closed pull request #36446 → skypeforlinux: 8.16.0.4 -> 8.17.0.2 → https://git.io/vAbpG
justbeingglad has left #nixos [#nixos]
siel has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #37599 → lua-{5.2,5.3}: cross fixups, drop crossAttrs → https://git.io/vxCxM
logzet has joined #nixos
jtojnar has joined #nixos
davidlt has quit [Ping timeout: 264 seconds]
WhittlesJr has quit [Quit: Page closed]
drakonis has joined #nixos
<jtojnar> GNOME 3.28 should be ready now, anyone wants to help test? https://github.com/NixOS/nixpkgs/pull/36893
<{^_^}> [nixpkgs] @dezgeg pushed 4 commits to master: https://git.io/vxCpc
<{^_^}> → 1d854b47 by @dezgeg: edk2: Reformat a bit for readability
<{^_^}> → 16450119 by @dezgeg: OVMF: Reformat a bit for readability
<{^_^}> → f59eab75 by @dezgeg: edk2, OVMF: Build on aarch64
roberth has quit [Ping timeout: 240 seconds]
<kthnnlg> Is there a nix-supported method for writing a nix derivation that when called by nix-shell spawns a service (I want to run the ipfs daemon for only the duration of the nix-shell instance)?
<{^_^}> [nixpkgs] @dezgeg merged pull request #37546 → libhttpseverywhere: fix build (tests) → https://git.io/vxcwN
<{^_^}> [nixpkgs] @dezgeg pushed commit from @xeji to master « libhttpseverywhere: fix build »: https://git.io/vxCpP
<{^_^}> [nixpkgs] @dezgeg pushed commit from @xeji to release-18.03 « libhttpseverywhere: fix build »: https://git.io/vxCpN
dan_b has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed 2 commits to release-17.09: https://git.io/vxChG
<{^_^}> → 87b6b8ea by @svsdep: skypeforlinux: 8.13.0.2 -> 8.16.0.4
<{^_^}> → edf1079d by @svsdep: skypeforlinux: 8.16.0.4 -> 8.17.0.2
blankhart has joined #nixos
<WilliamHamilton> symphorien: is there a way to see all the store folders added by a derivation?
<symphorien> tree /nix/store/hash-name
<WilliamHamilton> symphorien: of course, but I mean, is a derivation forced to write in only one hash-name? I'd like to get all the hash-names
<symphorien> one derivation == one hash
<symphorien> well there is split output derivations
<WilliamHamilton> symphorien: let's do an example: the command in the file we talked about earlier generates at least /nix/store/hash-dwarf-fortress and /nix/store/hash-dwarf-fortress-env
<symphorien> I don't know what happens in this case
kuznero has joined #nixos
<symphorien> ah to have the dependencies ?
<WilliamHamilton> but I had to find out investigating; I'd like a principled way to discover it upfront
<kuznero> Hi All!
<symphorien> those are different derivations
<symphorien> nix-store -qR /nix/store/hash-name will print all the recursive dependencies
alex`` has quit [Quit: WeeChat 2.0.1]
<symphorien> see the man page for more options
<WilliamHamilton> symphorien: yes, to have the dependencies
<kuznero> Is it possible to patchelf or something like that a binary such that it starts using musl instead of glibc?
<WilliamHamilton> symphorien: perfect, thanks!
<symphorien> kuznero: as far as I know you need to compile it differently
<symphorien> so no patching afterwards
ma27 has joined #nixos
<{^_^}> [nixpkgs] @pikajude merged pull request #37509 → Haskell: fix static libs on darwin → https://git.io/vxckC
<{^_^}> [nixpkgs] @pikajude pushed 2 commits to master: https://git.io/vxCjO
<{^_^}> → 0458c7b8 by @pikajude: fix static libs on darwin
<{^_^}> → d6a0652d by @pikajude: Merge pull request #37509 from pikajude/darwin-hs-dynamic
siel has quit [Ping timeout: 276 seconds]
<kuznero> symphorien: I am aware of this way. Problem is that it is very difficult to get GHC/Haskell tool chain working against musl, so I was thinking about using standard GHC setup and re-wiring after the fact...
siel has joined #nixos
<symphorien> well elf symbol names are different so...
<kuznero> I see
blankhart has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 110 commits to gnome-3.28: https://git.io/vxCjK
<{^_^}> → f07202a4 by @jtojnar: deja-dup: remove unneeded rpath fixup
<{^_^}> → a1441dc0 by @jtojnar: meson: fix rpath fixup
<symphorien> glibc's symbols are versionned, and they end with @@GLIBC_version
<{^_^}> → 294a1df2 by @jtojnar: epiphany: remove unneeded rpath fixup
<kuznero> Ultimate goal really is to be able to build properly static binary. Problem with glibc is that it is loading dependencies dynamically no matter what. As oppose to that GoLang is calling kernel directly without using anything like glibc or musl. I think that was the right choice in 2009 :)
<{^_^}> [nixpkgs] @LnL7 pushed to master « monero: fix darwin build »: https://git.io/vxWef
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « monero: fix darwin build »: https://git.io/vxWeL
<Dezgeg> glibc does support static builds for everything except the NSS functions, no?
coot has quit [Quit: coot]
blankhart has joined #nixos
<kuznero> Dezgeg: yes, nss + one other I don't remember which. But that is the most useful usecase :)
drakonis has quit [Read error: Connection reset by peer]
lord| has joined #nixos
hiratara has quit [Ping timeout: 268 seconds]
Neo-- has quit [Ping timeout: 256 seconds]
dasblondegrauen has joined #nixos
<avn> Folks, remind me please, what I need to do to "package" single file python script (with adding required library), script itself reside in same dir as .nix file (and I won't make full python source package with setup.py and other crap)
<{^_^}> [nixpkgs] @dezgeg pushed 161 commits to staging: https://git.io/vxWvt
<{^_^}> → 77b205b9 by @jfrankenau: masterpdfeditor: 4.3.61 -> 4.3.82
<{^_^}> → 21159d8f by @yegortimoshenko: xfce4-13: init
<{^_^}> → 8d9e5400 by @bkchr: kde-applications: 17.12.2 -> 17.12.3
hiratara has joined #nixos
<symphorien> avn: just a mkDerivation with installPhase = "mv src $out" and python as a buildInput, patchShebang will do the trick
<avn> symphorien: yes, but what with required python libraries? (I need at least pythonPackages.click, because I am lazy)
<symphorien> use python.withPackages instead of python
coot has joined #nixos
siel has quit [Ping timeout: 252 seconds]
siel has joined #nixos
<kuznero> symphorien: another potentially satisfactory solution would be to try to build against some older version of glibc in NixOS such that it is likely to work on other debian based platforms without rebuilding sources.
asuryawanshi has joined #nixos
<kuznero> Not sure if that is doable...
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-3.28: https://git.io/vxWvH
<{^_^}> → cdc3a19c by @jtojnar: eolie: fix build
<{^_^}> → c263af21 by @jtojnar: gtkspell3: add gir
ryanartecona has joined #nixos
<symphorien> kuznero: are you trying to work around the FATAL: kernel too old problem ?
zzamboni has quit [Quit: Leaving.]
<kuznero> symphorien: nope, I am trying to build haskell project on nixos build farm, produce statically linked binary and get it properly working on most glibc based docker images.
aarvar has quit [Ping timeout: 256 seconds]
<kuznero> Which GoLang had solved...
<symphorien> what doesn't work presently ?
<kuznero> Different reasons: a) older versions of glibc typically on debian based images b) sometimes glibc is still dynamically loading a lot of stuff that does not necessarily exist on the target machine, etc.
siel has quit [Ping timeout: 246 seconds]
<kuznero> I don't have exact problem at hands as I am trying to get back to solving this issue that I've encountered some time in the past.
siel has joined #nixos
<kuznero> Problem is that `package-name-static` does not really always work ...
<dhess> I upgraded my Hydra config yesterday, previously it was based on a Nixpkgs from December-ish. Anyway, since then I'm getting this error: access to path '/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash' is forbidden in restricted mode
<dhess> in jobs that used to work just fine. The projects that I'm trying to build are unchanged. Any ideas?
<dhess> I like Hydra but god damn are the evaluation errors infuriating
<coconnor> dhess: likely related to a change in sandbox behavior
<{^_^}> [nixpkgs] @obadz merged pull request #37579 → xorg.xkill: 1.0.4 -> 1.0.5 → https://git.io/vxCc7
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « xorg.xkill: 1.0.4 -> 1.0.5 »: https://git.io/vxWfN
<coconnor> dhess: check sandbox in nix.conf ?
Intensity has quit [Read error: Connection reset by peer]
ryanartecona has quit [Quit: ryanartecona]
alexteves has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @obadz pushed to master « Revert "xorg.xkill: 1.0.4 -> 1.0.5" »: https://git.io/vxWJk
<symphorien> kuznero: well there is a muslStdenv, but I wonder if ghc compiles with it
<dhess> coconnor: yeah, I've got useSandbox turned on. (It has been on since I set up the Hydra)
<dhess> that's the recommended practice is it not?
<coconnor> dhess: aye. just guessing
<kuznero> symphorien: I'm now looking at https://github.com/NixOS/nixpkgs/blob/aecc868ac12c2a8fd5aaa5e6201df34afaf67c8d/pkgs/development/compilers/ghc/8.2.2.nix and thinking if I can change stdenv to muslStdenv.... Should it be possible?
<symphorien> there is a overrideStdenv function for that iirc
jtojnar_ has joined #nixos
<coconnor> dhess: any scripts assume /bin/sh ?
<symphorien> you might want to ask to dtz who is regularlty pushing patches for various pieces of sotfware to build on musl
<coconnor> dhess: I have a vague recollection something changed recently regarding /bin/sh dependency
<pbogdan> symphorien: kuznero: https://github.com/NixOS/nixpkgs/pull/37598
<coconnor> dhess: still just guessing tho. I don't use hydra
<ottidmes> coconnor: "2018-03-01 17:46:58 niksnut viric: btw, Nix now has a builtin default /bin/sh (from busybox)"
<dhess> coconnor: ok thanks, I'll dig around in the issues
<pbogdan> with those changes it should be possible to "cross-compile" to create haskell musl-based builds
<dhess> coconnor: I don't think there are any /bin/sh calls
<kuznero> pbogdan: looks promising, did you try it yourself?
<dhess> coconnor: oh there is one, interesting
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ is now known as jtojnar
<pbogdan> kuznero: I tried earlier version of that work
<dhess> nah that's just a script that the service runs when it's active, it wouldn't affect the build
<pbogdan> and built a small haskell project with a fully statically executable linked against musl :)
ron__ has quit [Quit: Leaving]
<kuznero> pbogdan: :D that sounds very promising... could you please remind me how can I build ghc with this PR?
<{^_^}> [nixpkgs] @obadz merged pull request #37596 → xfce.xfce4-panel: 4.12.1 -> 4.12.2; xfce.xfwm4: 4.12.3 -> 4.12.4 → https://git.io/vxCdB
<{^_^}> [nixpkgs] @obadz pushed 2 commits to master: https://git.io/vxWUk
<{^_^}> → 4ddb7a76 by @volth: xfce.xfce4-panel: 4.12.1 -> 4.12.2
<{^_^}> → a5470920 by @volth: xfce.xfwm4: 4.12.3 -> 4.12.4
maximiliantagher has quit [Remote host closed the connection]
<dtz> kuznero: cheeck I pushed a PR for cross-musl ghc like an hour aggo
<dtz> xD
maximiliantagher has joined #nixos
<dtz> but TBH I think it's going to be limited until I/we/someone sits down and produces a musl-native GHC that we can use to bootstrap in a clean env
peacememories has quit [Quit: Textual IRC Client: www.textualapp.com]
mounty_ has joined #nixos
siel has quit [Ping timeout: 256 seconds]
<kuznero> dtz: that is exactly the PR that pbogdan referred me to. I agree that it is best to try to get ghc built against muslStdenv. Do you know if it is doable?
<{^_^}> [nixpkgs] @obadz merged pull request #37342 → xorg.utilmacros: 1.19.1 -> 1.19.2 → https://git.io/vx3uU
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to staging « xorg.utilmacros: 1.19.1 -> 1.19.2 »: https://git.io/vxWUV
<{^_^}> [nixpkgs] @obadz merged pull request #37488 → xorg.libXfixes: 5.0.2 -> 5.0.3 → https://git.io/vxniw
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to staging « xorg.libXfixes: 5.0.2 -> 5.0.3 »: https://git.io/vxWUP
siel has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
<dtz> kuznero: currently we build GHC using a binary distribution of GHC for bootstrapping
maximiliantagher has joined #nixos
<dtz> and all of the ones we know about are glibc-based
<dtz> now I did make it so glibc builds on a musl-native stdenv xD .... but
<dtz> so building on top of the cross PR +some cleanup + tarball we should be in business
dbmikus has quit [Ping timeout: 276 seconds]
<dtz> but that's a bit of work yet, not sure when I'l get to it sorry :)
<kuznero> dtz: what are the potential problems in case of your PR?
<dtz> not sure I understand the question, but I'm just saying the approach in the PR is to use a cross-compiling GHC... something that has only limited support in Nix-- although that's likely to change rather soon ^_^
<kuznero> dtz: There is something here https://github.com/nilcons/ghc-musl/ not sure if that might help somehow
<dtz> $ NIX_PATH=nixpkgs=https://github.com/dtzWill/nixpkgs/archive/feature/ghc-cross-musl.tar.gz nix-build '<nixpkgs>' --arg crossSystem '{config="x86_64-unknown-linux-musl";}' -A haskellPackages.hello
<dhess> dtz: does Haskell cross work now on master?
<kuznero> I see now
<{^_^}> [nixpkgs] @obadz merged pull request #37567 → xf86_input_wacom: 0.35.0 -> 0.36.0 → https://git.io/vxchU
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to staging « xf86_input_wacom: 0.35.0 -> 0.36.0 »: https://git.io/vxWTI
<dtz> if you have lots of CPU power to throw at builds, that'll eventually give you a musl-built haskell '"hello world"
<dtz> lol
rardiol1 has left #nixos [#nixos]
<{^_^}> [nixpkgs] @obadz merged pull request #37569 → xorg.xf86videoati: 7.9.0 -> 18.0.1 → https://git.io/vxCeZ
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « xorg.xf86videoati: 7.9.0 -> 18.0.1 »: https://git.io/vxWTs
<{^_^}> [nixpkgs] @obadz merged pull request #37570 → xorg.xf86videovesa: 2.3.4 -> 2.4.0 → https://git.io/vxCfK
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « xorg.xf86videovesa: 2.3.4 -> 2.4.0 »: https://git.io/vxWTZ
hiratara has quit [Quit: ZNC - http://znc.in]
<dtz> yep
hiratara has joined #nixos
<dtz> went through alpine+void-linux+gentoo+gentoo's musl-overlay+ghc trackers while putting that together-- before the end I had frankenstein'd a bunch of fixes together xD
<dtz> and misc github repos
<dtz> happily mostly all those resources are in agreement / copy each other :)
<dtz> took longer than I wanted.... since it takes forever to build haha
<{^_^}> [nixpkgs] @abbradar opened pull request #37600 → impureUseNativeOptimizations: add stdenv adapter → https://git.io/vxWTX
jrolfs has joined #nixos
Intensity has joined #nixos
<kuznero> dtz: haskell is resisting wider adoption.... ;)
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.28 « libcloudproviders: fix build »: https://git.io/vxWkI
guillaum1 has quit [Remote host closed the connection]
kuznero has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @obadz merged pull request #37575 → xorg.xinit: 1.3.4 -> 1.4.0 → https://git.io/vxCOa
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « xorg.xinit: 1.3.4 -> 1.4.0 »: https://git.io/vxWkG
simukis has quit [Ping timeout: 240 seconds]
<dhess> hey dtz, I'm now running into this issue as well: https://github.com/NixOS/nix/issues/1905
dan_b has quit [Remote host closed the connection]
<dhess> how do I get the correct hash?
<dtz> copy it from expression / log output (sadface), give to nix-prefetch-url
ma27 has quit [Ping timeout: 276 seconds]
<dtz> possibly nix-prefetch-url --unpack
<dhess> I always have trouble getting the same hash as nix-prefetch-url
<dhess> but let me try it
<{^_^}> [nixpkgs] @obadz merged pull request #37564 → xercesc: 3.1.4 -> 3.2.1 → https://git.io/vxcNg
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « xercesc: 3.1.4 -> 3.2.1 »: https://git.io/vxWkh
<dtz> cross your fingers! xD
<catern> hmm
<catern> I wish fetchgit had a sha256 argument
<dhess> me too :(
<catern> so I could use it everywhere with optimization where needed
<{^_^}> [nixpkgs] @obadz merged pull request #37562 → libguestfs: fix path to appliance → https://git.io/vxcF1
<{^_^}> [nixpkgs] @obadz pushed commit from @volth to master « libguestfs: fix path to appliance »: https://git.io/vxWIq
<{^_^}> [nixpkgs] @obadz merged pull request #37560 → xdg-user-dirs: 0.16 -> 0.17 → https://git.io/vxc57
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « xdg-user-dirs: 0.16 -> 0.17 »: https://git.io/vxWI3
<dhess> ok cool nix-prefetch-url --unpack seems to be matching what builtins.fetchTarball wants
<dhess> thanks dtz
<dtz> it's never too late to clone the Nix source and start working on that PR (re:fetchgit+sha256 xD)
<{^_^}> [nixpkgs] @obadz merged pull request #37554 → virtuoso7: 7.0.0 -> 7.2.4.2 → https://git.io/vxcyS
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « virtuoso7: 7.0.0 -> 7.2.4.2 »: https://git.io/vxWIW
<dhess> dtz also dunno if you missed my Q earlier but does Haskell cross work now on master? Say for x86_64-linux to armv7l-linux?
<dhess> dtz: I guess I should get my hands dirty with Nix at some point given how dependent I am on it now
<dtz> well we create a somewhat/mostly working GHC but I can't say it'll build everything you want
siel has quit [Ping timeout: 276 seconds]
<dtz> esp problematic are the closure sizes, but maybe that's not a problem for everyone
<dtz> it's.. WIP :)
siel_ has joined #nixos
<{^_^}> [nixpkgs] @obadz merged pull request #37551 → unixODBC: 2.3.5 -> 2.3.6 → https://git.io/vxcXS
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « unixODBC: 2.3.5 -> 2.3.6 »: https://git.io/vxWIE
coot has quit [Quit: coot]
<dhess> ok thanks
<{^_^}> [nixpkgs] @obadz merged pull request #37535 → openisns: 0.97 -> 0.98 → https://git.io/vxcWP
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « openisns: 0.97 -> 0.98 »: https://git.io/vxWI2
<dtz> dhess: yeah probably missed it, this is a noisy channel and I've been in code-land all day :3
<dhess> no worries
<dtz> dhess: https://hydra.nixos.org/job/nixpkgs/cross-trunk/aarch64-musl.haskell.packages.ghc822.hello.x86_64-linux <-- hydra job that cross-builds helll-world onto aarch64-musl :D
<{^_^}> [nixpkgs] @obadz merged pull request #37536 → exrdisplay: 2.2.0 -> 2.2.1 → https://git.io/vxclL
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « exrdisplay: 2.2.0 -> 2.2.1 »: https://git.io/vxWIi
<dhess> shoot, I thought switching to builtins.fetchTarball for pinning Nixpkgs and other dependencies would fix this Hydra issue, but it didn't. Now hydra-eval-jobs complains about the URI for the fetchTarball
<dhess> it does *not* complain about builtins.fetchGit
siel_ is now known as siel
<{^_^}> [nixpkgs] @obadz merged pull request #37537 → openrct2: 0.1.1 -> 0.1.2 → https://git.io/vxclg
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « openrct2: 0.1.1 -> 0.1.2 »: https://git.io/vxWI5
<dtz> dhess: :/ yeah I ran into the same problem
<dtz> dunno which PR /thread you saw there... I eventually just "caved" and whitelisted the github URL's I use
<{^_^}> [nixpkgs] @obadz merged pull request #37466 → lastpass-cli: 1.2.2 -> 1.3.0 → https://git.io/vxnOG
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « lastpass-cli: 1.2.2 -> 1.3.0 »: https://git.io/vxWLJ
<bkchr[m]> Anyone has an idea, how I can instantiate a derivation and just download the dependencies?
<{^_^}> [nixpkgs] @LnL7 pushed to master « mysocketw: fix darwin build »: https://git.io/vxWL3
<{^_^}> [nixpkgs] @danielfullmer opened pull request #37601 → rclone: 1.39 -> 1.40 → https://git.io/vxWLC
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « mysocketw: fix darwin build »: https://git.io/vxWL4
goibhniu has joined #nixos
<ottidmes> bkchr[m]: Isn't that what nix-shell is for?
<{^_^}> [nixpkgs] @obadz merged pull request #37518 → netcdf: 4.6.0 -> 4.6.1 → https://git.io/vxcmf
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « netcdf: 4.6.0 -> 4.6.1 »: https://git.io/vxWL5
<{^_^}> [nixpkgs] @obadz merged pull request #37483 → srtp: 1.5.4 -> 2.1.0 → https://git.io/vxno8
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to staging « srtp: 1.5.4 -> 2.1.0 »: https://git.io/vxWte
<{^_^}> [nixpkgs] @obadz merged pull request #37433 → gparted: 0.30.0 -> 0.31.0 → https://git.io/vxZBJ
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « gparted: 0.30.0 -> 0.31.0 »: https://git.io/vxWtU
Ariakenom has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @obadz merged pull request #37434 → gqrx: 2.10 -> 2.11.1 → https://git.io/vxZ0Y
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « gqrx: 2.10 -> 2.11.1 »: https://git.io/vxWtk
<{^_^}> [nixpkgs] @obadz merged pull request #37431 → goxel: 0.7.2 -> 0.7.3 → https://git.io/vxZ8e
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « goxel: 0.7.2 -> 0.7.3 »: https://git.io/vxWtc
<{^_^}> [nixpkgs] @obadz merged pull request #37422 → eventstore: 4.0.3 -> 4.1.0 → https://git.io/vxZOx
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « eventstore: 4.0.3 -> 4.1.0 »: https://git.io/vxWt4
<{^_^}> [nix] @edolstra pushed 4 commits to master: https://git.io/vxWtV
<{^_^}> → 47f7e558 by @edolstra: Make 'nix copy --from ssh://...' run in constant memory
<{^_^}> → 11898d6a by @edolstra: Make 'nix copy --to ssh://...' run in constant memory
<{^_^}> → 97002b68 by @edolstra: Make 'nix copy --to daemon' run in constant memory
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « electron-cash: 3.1.2 -> 3.1.6 »: https://git.io/vxWti
<{^_^}> [nixpkgs] @obadz merged pull request #37419 → electron-cash: 3.1.2 -> 3.1.6 → https://git.io/vxZY0
<{^_^}> [nixpkgs] @obadz merged pull request #37429 → google-authenticator: 1.03 -> 1.05 → https://git.io/vxZch
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « google-authenticator: 1.03 -> 1.05 »: https://git.io/vxWtM
justbeingglad has joined #nixos
<{^_^}> [nixpkgs] @obadz merged pull request #37411 → copyq: 3.1.2 -> 3.3.0 → https://git.io/vxZU1
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to master « copyq: 3.1.2 -> 3.3.0 »: https://git.io/vxWtj
<{^_^}> [nixpkgs] @obadz merged pull request #37406 → apacheHttpd: 2.4.29 -> 2.4.32 → https://git.io/vxZey
<{^_^}> [nixpkgs] @obadz pushed commit from @ryantm to staging « apacheHttpd: 2.4.29 -> 2.4.32 »: https://git.io/vxWqT
<bkchr[m]> ottidmes: hmm, good idea :D
<{^_^}> [nixpkgs] @LnL7 pushed to master « nullmailer: fix darwin build »: https://git.io/vxWqc
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « nullmailer: fix darwin build »: https://git.io/vxWql
<dhess> dtz: huh, how do I whitelist URLs?
dasblondegrauen has quit [Quit: Leaving]
<dtz> it's in the manual somewhere, lol, sorry. I did it once and forgot :3
<dhess> ok
<dhess> which manaul? Hydra, Nix?
<dtz> if you can't finnd it bug me and I'll dig up my config for that machine xD
xcmw has joined #nixos
<dtz> nix
<dhess> yeah got it thanks
<dhess> so it seems like something changed in Nix 2.0 and basically it's not really possible to pin dependencies for Hydra builds anymore?
erasmas has quit [Quit: leaving]
<dhess> dtz: allowed-uris
<dhess> thanks
<dhess> I can live with that
<dtz> \o/ sounds like it GLHF
elasticdog has quit [Ping timeout: 248 seconds]
<dhess> I'm sure this will bite me again in like 6 months when I add a dependency to one of my projects and suddenly Hydra starts failing again :)
MercurialAlchemi has quit [Ping timeout: 256 seconds]
davidlt_ has quit [Ping timeout: 260 seconds]
elasticdog has joined #nixos
<pbogdan> hmm, is jailbreak-cabal being built with a different version of ghc than the rest of the package set?
Nyanloutre has joined #nixos
<Nyanloutre> Hello !
<Nyanloutre> I noticed the rkt package is out of date regarding of this issue : https://github.com/clchiou/garage/commit/e5eaed4ef7d5a00958f2ee8a21c66078a065dec7
<Nyanloutre> What is the best way if I want to submit a PR ?
<Nyanloutre> Sorry wrong link, this is the issue : https://github.com/rkt/rkt/issues/3750
endformationage has joined #nixos
<acowley> Out of curiosity, is there a relatively simple explanation for how so many things seem to have broken on nixos-unstable?
<acowley> Or is it genuinely a lot of independent breaks
shabius_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #37602 → [WIP] nixos: support MOTDs with dynamic update → https://git.io/vxWOB
shabius has joined #nixos
digitus has quit [Quit: digitus]
zzamboni has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: Clean up the patching »: https://git.io/vxWOV
jrolfs has quit [Ping timeout: 263 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #33597 → duosec: use root uid as sshd uid has been retired → https://git.io/vNIc8
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ghuntley to master « duosec: use root uid as sshd uid has been retired (#33597) »: https://git.io/vxWO9
shabius has quit [Ping timeout: 256 seconds]
jrolfs_ has quit [Ping timeout: 260 seconds]
siel has quit [Remote host closed the connection]
<pbogdan> acowley: you mean the channel not updating?
<kthnnlg> Hi All, Quick question: suppose I want to write in my derivation `foo = (if getFooFromGithub then ... else import ../../foo/ { inherit pkgs; })`. What would I need to put in the `...` in the example in order to use a link to the github content (always linking to the same file contents)? Thanks
<acowley> pbogdan: Yeah, everytime I glance at what's keeping it from updating it looks like most tests are failing.
<kthnnlg> oops, i meant to say ` import ../../foo/foo.nix { inherit pkgs; }`
<acowley> kthnnlg: (fetchFromGitHub { ... })
<pbogdan> acowley: ah, AFAIK (and I know very little) it's a few unrelated failures - recent installer failures should be now fixed in master
<pbogdan> fix for i3wm test is somewhere in staging
<acowley> pbogdan: Wow, that's unfortunate that so many things would break together! I had wondered if it was nix 2.
<rotaerk> why does the haskellPackage called vulkan and the one called vulkan-api depend on a system library called vulkan if no such package exists?
<rotaerk> I'm *guessing* I need to somehow repoint it to vulkan-loader
<kthnnlg> acowley: brilliant! thanks!
siel has joined #nixos
<pbogdan> acowley: and there were also qt related failures related to specific Hydra builders (with no clear consensus on how to fix them)
<Nyanloutre> Oh sorry I checked on the master and it is up to date
<Nyanloutre> but it's not yet available in stable channels
erictapen has quit [Remote host closed the connection]
pie_ has quit [Read error: Connection reset by peer]
<acowley> rotaerk: That is weird. The cabal files don't mention that dependency as far as I can see.
pie_ has joined #nixos
erictapen has joined #nixos