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://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
<dhess> srhb: did you ever get anywhere with your fixed `pkgs` import?
scott is now known as Guest73224
scott_ is now known as scott
freeman42x[NixOS has quit [Ping timeout: 255 seconds]
alexteves_ has joined #nixos
<Lisanna> holy cow, I just sped up Nix by like 3x
<Lisanna> ...by removing some of the integrity checking :p
<Lisanna> that stuff is expensive
alexteves_ has quit [Remote host closed the connection]
alexteves has quit [Ping timeout: 248 seconds]
alexteves_ has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/15715becc50 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
BlessJah has quit [Ping timeout: 240 seconds]
Sonarpulse has quit [Ping timeout: 240 seconds]
BlessJah has joined #nixos
sigmundv has quit [Remote host closed the connection]
fresheye1 has quit [Read error: No route to host]
sigmundv has joined #nixos
fresheye1 has joined #nixos
sigmundv has quit [Remote host closed the connection]
<coconnor> Lisanna: X-D
alexteves_ has quit [Ping timeout: 256 seconds]
sigmundv has joined #nixos
<Lisanna> argh, still not fast enough though. Now I need to go do bad things to my derivations themselves...
throwup has quit [Remote host closed the connection]
spietz has joined #nixos
<abathur> heh
erasmas has quit [Quit: leaving]
<abathur> has anyone successfully used xrdp to serve a local desktop session?
<abathur> I've gotten it to serve xterm, and I can get it to serve up a fresh session on icewm
euniarte has joined #nixos
digitus has quit [Quit: digitus]
<abathur> but I'm just kinda bashing my head against the wall beyond that; not sure if it just won't work or if I'm missing something
asdfoiawe has joined #nixos
asdfoiawe has quit [Remote host closed the connection]
bluemonk12 has joined #nixos
hamishmack has joined #nixos
euniarte has quit [Client Quit]
<abathur> haven't done anything beyond the commented defaults with xserver; just enabled, layout "us", displayManager.sddm and desktopManager.plasma5
bluemonk12 has quit [Client Quit]
logzet has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phdoerfler has quit [Quit: Leaving.]
JayVii has quit [Ping timeout: 240 seconds]
JayVii has joined #nixos
sigmundv has quit [Remote host closed the connection]
sigmundv has joined #nixos
NightTrain has joined #nixos
fragamus has joined #nixos
jv_ has joined #nixos
JayVii has quit [Ping timeout: 256 seconds]
<genesis> https://github.com/NixOS/nix/blob/master/src/buildenv/buildenv.cc is replacing my buildenv/builder.pl ?
sigmundv has quit [Remote host closed the connection]
<genesis> seems great to embed in an packer :D
ryanartecona has joined #nixos
sigmundv has joined #nixos
Rusty1_ has joined #nixos
<genesis> my plan is to use nix buildenv in a squashfs to bundle application, quite like appimage, but with in a nix way
sigmundv has quit [Remote host closed the connection]
spietz has quit [Ping timeout: 260 seconds]
fresheye1 has quit [Quit: WeeChat 1.9.1]
spietz has joined #nixos
silver has quit [Read error: Connection reset by peer]
niklob has joined #nixos
niklob has quit [Max SendQ exceeded]
niklob has joined #nixos
logzet has quit [Ping timeout: 265 seconds]
logzet_ has joined #nixos
spietz has quit [Ping timeout: 256 seconds]
<lord|> I feel like this is a good natural extension to what nixOS already does: https://github.com/rycee/home-manager
mizu_no_oto has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ryanartecona has quit [Quit: ryanartecona]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #34756: discover: init at 5.11.5 (master...p/discover) https://git.io/vAkrr
NixOS_GitHub has left #nixos [#nixos]
tgunb has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #34757: biosdevname: 0.7.2 -> 0.7.3 (master...biosdevname) https://git.io/vAkrD
NixOS_GitHub has left #nixos [#nixos]
sigmundv has joined #nixos
rardiol1 has left #nixos [#nixos]
thc202 has quit [Ping timeout: 240 seconds]
niklob has quit [Ping timeout: 256 seconds]
MP2E has quit [Remote host closed the connection]
MP2E has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vAkou
<NixOS_GitHub> nixpkgs/staging 20e3109 Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging
NixOS_GitHub has left #nixos [#nixos]
sigmundv has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/15715becc50 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
d4g_ has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
d4g has quit [Ping timeout: 248 seconds]
mbrgm has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
swills has quit [Quit: quit]
<ldlework> If I'm using home-manager how do I set the mode of a file?
<ldlework> nm I used the source, luke
<abathur> heh
<ldlework> I can see that the option is called "mode"
<ldlework> but it says that the option doesn't exist
<abathur> I'm still noobing around, won't be more use than a rubber duck
stephenjudkins has quit [Remote host closed the connection]
xcmw has joined #nixos
pkill9 has quit [Quit: WeeChat 2.0.1]
<ldlework> I mean this should work...
<ldlework> I'm assigning an object where I am in other places assigning .text directly
<ldlework> Every key is a nested object
<ldlework> so this should set an object with the mode key
<ldlework> I'm so damn confused
<ldlework> Damn it nix
smichel17 has quit [Quit: smichel17]
<ldlework> I think home-manager changed somehow
<ldlework> rycee can you help me out if you're around?
<ldlework> Erm, there seems to be no mode attribute anymore?
<ldlework> Only the execute option?
* ldlework blinks
Supersonic has quit [Disconnected by services]
* ldlework contemplates how he should go about ensuring his ssh keys have the proper mode
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
romildo has joined #nixos
aborsu has quit [Remote host closed the connection]
<ldlework> This sucks
<ldlework> infinisil do you have any idea why that change was made?
<ldlework> same
<ldlework> tilpner I also found, but I don't understand what the justification is https://github.com/rycee/home-manager/pull/59
<ldlework> So it just never worked at all?
<dhess> Not the way you probably thought it did, anyway.
<dhess> don't put secrets in the Nix store!
<tilpner> Yeah, your private key is world-readable after https://gist.github.com/dustinlacewell-wk/ada1ba0c0a420ca5f10782180cecd512
<dhess> I don't use it but does home-manager have some kind of post-install script? Like nix-darwin does?
<tilpner> (line 3)
<ldlework> I don't have a problem putting secrets in the nix store for managing my home directory
logzet_ has quit [Remote host closed the connection]
<ldlework> dhess yeah I'm trying to remember how to use the activation script in home-manager
<dhess> ldlework: So you can change permissions (or even just copy the files rather than symlinking them) in the activation script
<ldlework> Well I wouldn't copy the files since then I'd have to keep the keys in my git repo
<ldlework> And I like to publish my dotfiles
<ldlework> Hence the use of the environment
<ldlework> But yeah gotta figure out this activation script
<Lisanna> ugh, what happens when you have a stack that dynamically links against eachother and you don't want the entire thing to be rebuilt every time you make a small change to a bottom-level component?
<dhess> you could keep them outside the repo.
<Lisanna> and you just want the links to change
<Lisanna> does nix have anything for making this not be such a huge pain
<ldlework> dhess do you know how to utilize the activation script? To add things to it?
<dhess> ldlework: I don't use home-manager. nix-darwin has a similar concept and I do use that but I have no idea whether they're functionally similar
<ldlework> Well how do you use it there?
<ldlework> I hate that there are two nix things for OSX
hamishmack has quit [Quit: hamishmack]
<ldlework> Oh right I need to use the dag stuff
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 44d1f99 Peter Hoeg: syncthing: 0.14.43 -> 0.14.44
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vAkPA
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to release-17.09: https://git.io/vAkXf
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 8f5d980 Peter Hoeg: syncthing: 0.14.42 -> 0.14.43...
<NixOS_GitHub> nixpkgs/release-17.09 e18442d Peter Hoeg: syncthing: 0.14.43 -> 0.14.44...
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nflores has joined #nixos
<iqubic> What is dag?
yegortim1 has quit [Ping timeout: 255 seconds]
NightTrain has quit [Quit: Lost terminal]
klntsky has quit [Ping timeout: 255 seconds]
<nflores> anyone around?
<Lisanna> nflores no
babyflakes has quit [Quit: Connection closed for inactivity]
yegortim1 has joined #nixos
<nflores> lol, hi Lisanna
<Lisanna> what flags does the Nix stdenv set to make the compiler fill out RPATHs on all the build products? Or is this the regular behavior?
klntsky has joined #nixos
<clever> Lisanna: i think the -L search path automatically gets added during linking
taktoa has quit [Remote host closed the connection]
<Lisanna> clever I'm not sure about that, since RPATH takes precedence over LD_LIBRARY_PATH, so if it was set normally then LD_LIBRARY_PATH would never work
<clever> Lisanna: i think LD_LIBRARY_PATH has priority
<Lisanna> clever RPATH is before LD_LIBRARY_PATH is before RUNPATH
alex`` has joined #nixos
<clever> Lisanna: have you verified that?
<Lisanna> clever I mean, the information comes from the debian wiki
<Lisanna> I /presume/ they know what they're talking about
nuncanada has quit [Ping timeout: 255 seconds]
klntsky has quit [Ping timeout: 255 seconds]
yegortim1 has quit [Ping timeout: 255 seconds]
<ldlework> ugh home-manager has broken backwards compatibility so much :(
* ldlework seriously reconsiders their investment into it
<ldlework> What's the point of reproducibility if the api is broken by the time you need to reproduce
yegortim1 has joined #nixos
<ldlework> If I installed a package from git, is there anyway to recover what commit the package was built from?
klntsky has joined #nixos
<Lisanna> ldlework what do you mean "installed a package from git"?
<ldlework> Though honestly, its probably just because I am stupid
<Lisanna> bring the package into scope in a nix-repl and evaluate package.src.rev
<ldlework> Lisanna you know how you need the rev and sha256 for fetchFromGithub?
<ldlework> There was some nix trick for getting the sha256 and rev, but its been like a year
<ldlework> you... wouldn't happen to know those tricks?
<Lisanna> ldlework you mean nix-prefetch-git?
<ldlework> Perhaps?
<ldlework> :)
<ldlework> I'll google that
<Lisanna> not sure if that's a "trick" though...
<Lisanna> ...more like the way to do it if you're not a lazy person
<ldlework> haha
<ldlework> There's an even lazier way?
<iqubic> The trick I use for getting the sha256 is TOFU. "Trust on First Use" Where I basically give a dummy checksum, and when the compiler tells me what checksum it wants, I just use that.
<clever> !tufo
<Lisanna> if you're a lazy person, you put in a fake sha256 and watch the drv build fail, which will tell you what it's supposed to be
<clever> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<iqubic> That is what I just said. Is it not?
<clever> this one also includes an example hash
<iqubic> Oh.
<Lisanna> yeah... it won't work if the length isn't right
<iqubic> How long is a sha256 supposed to be?
<clever> depends on how its encoded
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> base32 or base64
<iqubic> What does that bot use?
<clever> i forget
abathur has quit [Ping timeout: 260 seconds]
<iqubic> Can't you tell by the length of the hash it gave you?
<clever> yeah, bit i dont have that table memorized
hamishmack has joined #nixos
<clever> there is also the nix-hash command, and its man page
<samueldr> base 16/32, not 32/64 if I understand correctly
<Wizek> Hello
<adisbladis> iqubic: Looks like base32 to me
<Wizek> How can I specify a subdirectory for callPackage, fetchFromGitHub?
<Wizek> I'd like to use a github revision of https://github.com/ghcjs/jsaddle
<Wizek> Alternatively, is there a general way for me to find the source files where certain nix functions are defined?
<Wizek> I suspect if I could look at the source for callPackage or fetchFromGitHub I might be able to figure it out too
<clever> Wizek: you need to append to sourceRoot, postUnpack = "sourceRoot+=/cborg; echo source root reset to $sourceRoot";
<ldlework> I am doing something like:
<ldlework> local HM_PATH="${HM_PATH:-https://github.com/hmpkgs/hmpkgs/archive/master.tar.gz}"
<ldlework> export NIX_PATH="hmpkgs=$HM_PATH:$NIX_PATH";
<ldlework> And I pushed up this commit a few minutes ago, https://github.com/hmpkgs/viscosity/commit/6a1a058a4b815550fb7d9085381720c4f7dde122
<ldlework> Note the commit sha
<Wizek> clever: giving that a try
<ldlework> I have updated the sha256 and rev here, https://github.com/hmpkgs/hmpkgs/blob/master/default.nix
romildo has quit [Quit: Leaving]
<ldlework> And so the master.tar.gz should contain an expression pointing to the commit of the viscosity package that includes the correction
<ldlework> However, when I build, I still get the error: Undefined variable 'stderr'
<ldlework> And catting the file that Nix has, indeed shows the old version of that file pre that commit
<Wizek> clever: do I pass in postUnpack as a parameter for fetchFromGitHub?
<ldlework> So... I assume this is because Nix downloaded the tar.gz once, and has it cached
<clever> Wizek: as a parameter to the derivation that is using the source
<ldlework> How do I force it to re download the meta hmpkg package that I'm adding to NIX_PATH
<clever> ldlework: add something to the url, like ?1
<ldlework> I know my question is complicated but ... :|
<ldlework> clever I'll try it I guess
schoppenhauer has quit [Ping timeout: 248 seconds]
<adisbladis> samueldr: Fyi nix 2.0 supports base64 hashes
<samueldr> oh cool
<Lisanna> are there any safe(-ish) ways to either duplicate a /nix/store path and have all the references to itself changed to the new copy, OR build a package such that it supports that without having to do anything special?
<Lisanna> normally, duplicating a /nix/store path which is the result of some build that depends on itself will end up with all sorts of references pointing back to the original, and I don't want that
schoppenhauer has joined #nixos
<ldlework> Clever, thanks
<clever> Lisanna: a variant of sed may work
<Wizek> clever: it seems I am using callCabal2nix here, not callPackage, and I am trying your suggestion like this: https://gist.github.com/065e6c2395c6185a90fd93462e6559c5
<Lisanna> I guess since some of those references are going to be in binaries, that the new name has to be the same length as the old name?
<Wizek> clever: but so far i get this error: `*** found zero or more than one cabal file ([]). Exiting.`
<Lisanna> clever is there a reason why substituteInPlace wouldn't work?
<clever> Wizek: cabal2nix may not even find the cabal file at that point
<Lisanna> I tried that and it seemed to corrupt the elf, even though I checked to make sure the names were the same length
<clever> Wizek: instead, try doing "${fetchFromGitHub { ... }/foobar" to make a path to the subdir, then pass that to cabal2nix
<clever> Lisanna: why are you trying to copy paths like that?
<Lisanna> clever so I can hot-swap dependencies
<Lisanna> one of the upper-level packages in my stack takes like 10 minutes to compile and the result is huge, I can't afford to recompile and re-deploy it every time a small library underneath it changes
<clever> Lisanna: there are already tools in nixos to do exactly this
<Lisanna> !
<Lisanna> woah, I've never heard of this... but it's a NixOS option?
<clever> Lisanna: it uses a function inside of nixpkgs to do the work
Arcaelyx has joined #nixos
<Lisanna> oh my god this looks way too good to be true
<Wizek> clever: this seems to have worked! https://gist.github.com/Wizek/ba54d3dd00d9043f40358f1f46d2c534 Thanks
<Lisanna> so if A depends on foo and I want to change it to depend on bar, I just do replaceDependency { drv = A; oldDependency = foo; newDependency = bar; } ?
<Lisanna> and that will work as long as foo and bar have the same length of names?
<clever> Lisanna: i think so
<Lisanna> Ah, replaceDependency is not mentioned anywhere in the nixpkgs manual, no wonder I've never heard of it!!
<Lisanna> this is awesome, thank you
<clever> its in the nixos manual
<clever> yet the code is in nixpkgs
<Lisanna> I read the nixpkgs manual a lot more often than the nixos manual ^^
<Lisanna> this basically solves all of my problems
<Lisanna> I'll be able to delete so much code...
<Lisanna> wait, this is safe to use on packages that reference themselves, right?
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e18442d4662 (from 79 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34757: biosdevname: 0.7.2 -> 0.7.3 (master...biosdevname) https://git.io/vAkrD
NixOS_GitHub has left #nixos [#nixos]
abathur has joined #nixos
<clever> Lisanna: probably
<Lisanna> x_x
<abathur> I've been having trouble wrapping my head around profiles and efi boot entries, but I'm mostly convinced now that the trouble is because something isn't working right with my efi entries
<samueldr> abathur: new generations aren't showing up?
<abathur> yeah, and I can't clear old ones no matter how many recommendations I try
<samueldr> is your ESP mounted at /boot in the running system?
<abathur> and my /nix/var/nix/profiles/system symlinks to the right profile, but /run/current-system is linking into an old store ref
nixos has joined #nixos
<nixos> Hi
<nixos> How do I install an older version of ghc?
endformationage has quit [Quit: WeeChat 1.9.1]
<nixos> I cannot get ghc-mod installed on 2.2
<clever> nixos: haskell.packages.ghc802.ghc-mod
<nixos> Thanks
<fearlessKim[m]> abathur: I had something similar when (forgetting to) mounting the wrong /boot
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/78a17f5765f (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<abathur> yeah, think that must be it
<Lisanna> what does builtins.unsafeDiscardStringContext do?
<clever> Lisanna: it discards the string context
<Lisanna> x_x
<clever> Lisanna: every string in nix has some context attached to it, that says what derivations it depends on
<abathur> I had to go over the install several times because I was having instability issues related to ryzen and the kernel, so it wouldn't surprise me if I messed a few things up one time through or another
<Lisanna> what derivations the /string/ depends on?
<clever> Lisanna: yes
<Lisanna> you mean if you write "${somepkgs}"
<clever> Lisanna: yep
seanparsons has quit [Read error: Connection reset by peer]
<clever> Lisanna: and when that string it placed into another derivation, nix combines the context from every string, to form the build-time deps of the new derivation
<iqubic> Is there a way to install lisp documentation from Nixpkgs?
<iqubic> Sorta like we can do with haskell docs?
<Lisanna> so why would you want to discard it?
<clever> Lisanna: one min
<Lisanna> (I'm trying to understand the replace-dependency.nix implementation, and it uses it quite a bit)
<clever> Lisanna: the kernel params in here, must refer to the final build of nixos, that becomes /run/current-system
<clever> Lisanna: and that build is going to be supplied elsewhere
<clever> without the discard, nix will include a second (uncompressed) copy of the entire os
abathur has quit [Ping timeout: 260 seconds]
<Lisanna> of the entire OS? wouldn't that string just depend on config.boot.kernelParams?
<clever> boot.kernelParams = [ "systemConfig=${config.system.build.toplevel}" ];
<clever> Lisanna: and that contains the path to the toplevel package
<Lisanna> okay, so you discard that context so that your $out/command-line string doesn't try to pull in config.system.build.toplevel as a build-time dependency, which I guess would make the build a lot slower?
<clever> Lisanna: it would also become a runtime dependency
<clever> so when you copy the product around, its copying the OS around twice
<Lisanna> this sounds like black magic. OK, so now the obvious naïve question: how on earth does that work
<Lisanna> I mean, how is it safe to get rid of that... doesn't it need it?
woffs has quit [Quit: Gateway shutdown]
<clever> i'm already embeding my own copy, in the form of a squashfs containing the entire thing
<clever> and i have scripts that mount it to /nix at bootup
<Lisanna> (I'm guessing I can't just call unsafeDiscardStringContext willy nilly on everything)
<clever> if those scripts didnt exist, it would fail at runtime, because the path doesnt exist
<Lisanna> OK, so using unsafeDiscardStringContext won't ever break build-time, but it might break runtime
<clever> it may also break build-time
<clever> those paths wont be added to the nix sandbox
<hyper_ch> ha, now I have setup native encrypted root zfs on cheap kimsufi and cheap online.net servers :)
azertyieio has joined #nixos
<hyper_ch> clever: that's all thx to you :)
<clever> so if sandboxing is correctly enabled, it will never see the files
<clever> nice
<hyper_ch> clever: your kexec and your justdoit script which I have adjusted a bit for my needs :)
babyflakes has joined #nixos
<hyper_ch> installer script still needs to guess and ask for the ethernet driver... I'll have to work on that
<hyper_ch> and also ssh pub key
<clever> hyper_ch: have you seen /ssh_pubkey?
<hyper_ch> clever: as user input
<clever> hyper_ch: it copies it from the host, just before it kexec's
seanparsons has joined #nixos
<hyper_ch> clever: no, not for kexec... for the nixos installation.....
<clever> ah
<hyper_ch> authorizedKeys for the initrd dropbear
nixos has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
<Lisanna> clever OK, but in your case it will be included in the sandbox since you reference it somewhere else I guess?
<clever> Lisanna: line 112, that squashfs is a compressed copy of toplevel
<clever> Lisanna: nix doesnt understand compression
alex`` has quit [Ping timeout: 276 seconds]
<hyper_ch> clever: also, by default I make now the /boot partition 2GB so that you can put nixos iso in it and boot from it like you suggested last friday
<clever> nice
<hyper_ch> (and need to add compress=lz4 in the installer script)
<hyper_ch> so, i have to resetup both servers again :)
griff_ has joined #nixos
<hyper_ch> only takes like 20-25min for the basic install now
<adisbladis> Does github provide an API with checksums for tarballs? Or is the only way to find this by downloading and computing it yourself?
<vaibhavsagar> adisbladis: I'm not aware of any API github provides
<adisbladis> :/
<vaibhavsagar> I thought nix-prefetch-url --unpack does something different to curl archive.tar.gz anyway
<vaibhavsagar> so the checksum you'd get from github might not match the Nix-computed checksum even if they were to offer it
<adisbladis> vaibhavsagar: This is not strictly nix-related. I was just hoping that someone here would have the knowledge.
<vaibhavsagar> fair enough
<adisbladis> But it seems like they dont have that kind of API
<Lisanna> clever so, does your $out/command-line end up containing a reference to a package that doesn't exist? since "systemConfig=${config.system.build.toplevel}", but you don't want to actually include config.system.build.toplevel, so is that value set incorrectly?
fragamus has joined #nixos
<Lisanna> so that'll resolve to "systemConfig=/nix/store/blah-toplevel", but you don't really want /nix/store/blah-toplevel since it's huge and you have a compressed version of it somewhere else
<clever> klntsky: yeah
<clever> Lisanna: yeah
<Lisanna> OK, then why would you have ${config.system.build.toplevel} in your string at all? Why wouldn't you point it directly to the compressed version?
<Lisanna> do you change it later?
<clever> Lisanna: i need the path it unpacks to
<Lisanna> or does /nix/store/blah-toplevel become valid later?
<Lisanna> OK, so you use unsafeDiscardStringContext when you need the path to something without any of its contents, possibly with the intention that you will use its contents *later*, and that something will cause it to become valid later
ryanartecona has joined #nixos
<clever> yeah
<clever> and its only really of use in weird situations where nix isnt aware of how you are making it valid later
<Lisanna> ...in the case of replaceDependency, the way you make it valid later is "nix-store --restore"
<Lisanna> I guess
<Lisanna> or, no, maybe it just needs the name of the path
the-kenny has quit [Ping timeout: 260 seconds]
the-kenny has joined #nixos
spietz has joined #nixos
griff_ has quit [Quit: griff_]
Rusty1_ has quit [Quit: Konversation terminated!]
griff_ has joined #nixos
stephenjudkins has joined #nixos
<Shados> I'm trying to make a derivation for https://github.com/regnarg/urxvt-config-reload, but I can't seem to figure out a way to do so that'll let it actually find its extra Perl dependencies at runtime...
<Ralith> man, nix Firefox has broken u2f and still doesn't have pixel scrolling
<Ralith> what gives
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e18442d4662 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<Ralith> I want to switch back from chrome but it just feels like a second class citizen
Ndrei2 has joined #nixos
azertyieio has quit [Ping timeout: 260 seconds]
Ndrei2 has quit [Ping timeout: 256 seconds]
nflores has quit [Ping timeout: 260 seconds]
yegortim1 has quit [Remote host closed the connection]
yegortim1 has joined #nixos
ma27 has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ndrei has joined #nixos
ndrei has quit [Quit: Quit]
Lisanna has quit [Quit: Lisanna]
ndrei has joined #nixos
<iqubic> Ralith: What do you mean by: lacks pixel scrolling?
<fearlessKim[m]> how can I trigger a dhcp request manually ? for some reason my VM doesn't pickup an IP and dhcpd logs are not too helpful
<clever> fearlessKim[m]: manually run dhcpcd on the interface
<fearlessKim[m]> clever: right thanks found it, I will add it in systemPackages since it's not in PATH yet
<clever> fearlessKim[m]: its already in PATH if you are using dhcpcd
<clever> fearlessKim[m]: but if your using something like network manager, it probably wont be
Lisanna has joined #nixos
Lisanna has quit [Client Quit]
MercurialAlchemi has joined #nixos
griff_ has quit [Quit: griff_]
<fearlessKim[m]> I let by error networkmanager enabled so it might have conflicted. of course I can't deploy because nixops can't access the VM. maybe nixops could halt the VM in such a case and update the drives offline `nixops deploy --allow-reboot`
tertleeltret has quit [Quit: Connection closed for inactivity]
chrios_ has joined #nixos
chrios has quit [Ping timeout: 248 seconds]
hakujin has quit [Ping timeout: 276 seconds]
<fearlessKim[m]> seems like disabling networkmanager fixed it :)
freeman42x[NixOS has joined #nixos
hyper_ch2 has joined #nixos
<hyper_ch2> clever: back again :)
<clever> wb
<hyper_ch2> kexec is just awesome... even more awesome when remote serves get IP assigned by dhcp so you don't have to set it up
<clever> :D
kini has quit [Quit: No Ping reply in 180 seconds.]
<hyper_ch2> btw, I still don't quite understand what boot.kernelParams = [ "net.ifnames=0" ]; is for
<clever> hyper_ch2: also, beware of the auto-reboot, its due in 50 seconds
<hyper_ch2> auto-reboot?
<clever> that changes how systemd renames things
<hyper_ch2> clever: but still, what does it do?
<hyper_ch2> what are the actual effects of it
<clever> with that set, you get eth0 and eth1
<hyper_ch2> ah ok
<ldlework> Its so disappointing when a package refuses to build on darwin
<clever> without it, you get something starting with enp, that refers to its exact bus position
ma27 has quit [Ping timeout: 256 seconds]
<hyper_ch2> so what about autoreboot in kexec?
<ldlework> Especially since the package is made for OSX
<TimePath> Ditto for cross compilation
<hyper_ch2> I thought the enp-something should make things more predictable
<clever> hyper_ch2: its more predictable, when you can boot the same systemd and look at the names
<clever> hyper_ch2: but if your starting from a decade old debian
<ldlework> Clever, if I wanted to quickly check if a package would work on Darwin, that's in nixpkgs what can I do?
<hyper_ch2> btw, I use kexec.autoReboot = false; :)
<clever> hyper_ch2: ah, then it wont fire
<hyper_ch2> so if that option wasn't set, when would it autoreboot? I mean what conditions?
<clever> hyper_ch2: 5 minutes after the end of the hour
<hyper_ch2> ok, not so bad then... it's a good safe-guard
<clever> hyper_ch2: 2 minutes ago, it would have given a warning to every open tty, and you could run `shutdown -c` to abort, and 5 minutes after that warning, it reboots
<clever> hyper_ch2: systemctl stop autoreboot.timer
<clever> hyper_ch2: that would stop it fully
<clever> ldlework: nix-build '<nixpkgs>' -A coreutils --argstr system x86_64-darwin
<clever> ldlework: this downloads the darwin build of coreutils from the binary cache
<hyper_ch2> I could leave the autoreboot to true and put the systemctl stop autoreboot.timer into my install script
<clever> hyper_ch2: mainly, you want to stop it over ssh, to confirm you have control of the machine
griff_ has joined #nixos
<clever> hyper_ch2: and if you mess up the dhcp config, it reboots itself and restores control to the original OS
<hyper_ch2> yep, will do that, thx for the pointer
<ldlework> clever, that just makes what happen when you install the package normally on OSX, happen
<ldlework> What I mean is, how can I force the expression to accept Darwin as a valid platform
orivej has quit [Ping timeout: 252 seconds]
<ldlework> The package is literally just a .sh file!
<clever> ldlework: ah, one sec
<ldlework> I copied to my disk and ran it and it works, so I suspect if we can just force that nix package to work, then I can submit a PR I guess
<clever> ldlework: if you have a fork of nixpkgs already, just edit the platforms array for the package, and then run nix-build -A foo in the root of the nixpkgs clone
asuryawanshi has joined #nixos
<clever> on the mac machine
<ldlework> I don't have a fork of nixpkgs. I wonder how hard it is to integrate a nixpkgs fork with home-manager
<clever> [clever@amd-nixos:~]$ nix-build '<nixpkgs>' -A oraclejdk --argstr system x86_64-darwin --arg config '{ allowBroken = true; allowUnfree = true; }'
<clever> ldlework: if you add a second --arg config like this, it will just ignore the platform list
<clever> and try to just build it
ndrei has quit [Ping timeout: 248 seconds]
<ldlework> Strange, it built and "installed" fine, but no binary in my profile
<clever> ldlework: nix-build doesnt install things, it only builds
ndrei has joined #nixos
<clever> ldlework: look in the result/bin/ directory to see the binary, and confirm it works
rauno has quit [Ping timeout: 248 seconds]
<ldlework> It does :)
<ldlework> Man that's a useful package I've been thinking about writing for years now
<ldlework> imgur-screenshot
<ldlework> Clever, so should I fork nixpkgs, submit a PR and then wait around for it to be merged?
<ldlework> Though, its not in my bin
<clever> ldlework: you can run "nix-env -i /nix/store/hash-foo" on a storepath to add it to your profile
<clever> ldlework: and result is a symlink to that path
<clever> and yeah, file a PR to make the fix go public
<ldlework> Well the fix wouldn't be covered just by enabling darwin
<ldlework> We need to fix the expression to put the thing in the profile
<ldlework> Or are you saying, the way we installed it, it doesn't add to my profile
<clever> if you used nix-env instead of nix-build, it would be added to the profile
<ldlework> Oh I see
<ldlework> 👍 I'll submit a PR then!
kini has joined #nixos
rauno has joined #nixos
ndrei has quit [Quit: Quit]
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has joined #nixos
catch22 has joined #nixos
catch22 has quit [Remote host closed the connection]
catch22 has joined #nixos
leat has quit [Ping timeout: 260 seconds]
lexooohhh has joined #nixos
<lexooohhh> Gents, just want to throw my 5c. I've built this example https://nixos.org/nix/manual/#sec-expression-syntax and from this default.nix, and ldd result/bin/hello clearly shows that it requires glibc-2.25-123/lib/libc.so.6 . However from default.nix syntaxt it is unclear and not obvious!
mkoenig_ has joined #nixos
mkoenig__ has joined #nixos
mkoenig_1 has joined #nixos
mkoenig_2 has joined #nixos
<lexooohhh> but you may say: Lex, but stdenv provides glibc . and I will reply : 1) it is not obvious 2) default.nix example doesn't show how to specify specific version of glibc dependency.
<Ralith> iqubic: exactly what it says?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34746: spotify: 1.0.69.336.g7edcc575-39 -> 1.0.70.399.g5ffabd56-26 (master...spotify) https://git.io/vATXF
NixOS_GitHub has left #nixos [#nixos]
<lexooohhh> I'm not a C developer, neither CS graduate. but doesn't the idea of specify exact dependecies with versions sounds greate for reproducible builds? because, you know, if we dont specify explicitly dependency on lib_A_v1.01 , but leave just lib_A, it may upgrade version and build script could become unreproducible
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vAk5Z
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 37fb8d3 Tor Hedin Brønner: nix-bash-completions: 0.6.2 -> 0.6.3
<NixOS_GitHub> nixpkgs/master 2954c6c Tor Hedin Brønner: nix-zsh-completions: 0.3.7 -> 0.3.8
<NixOS_GitHub> nixpkgs/master 1c73182 Jörg Thalheim: Merge pull request #34742 from hedning/nix-completions-bump...
<lexooohhh> prove me wrong, plz, does this POV stupid?
<lexooohhh> actually, why we don't specify not only the version, but hash of dependency in default.nix ?
<etu> lexooohhh: hashes might change
<etu> even if the version is the same
<etu> because of changes to inputs of a package
bfrog has quit [Ping timeout: 256 seconds]
<lexooohhh> yes, but let's say developer Bob want reproducible build and don't want to change inputs, hashes. and want specify them explicitly. is NIX designed to help him in this quest?
hyper_ch2 has quit [Quit: Page closed]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34730: dotty: 0.4.0 -> 0.6.0 (master...dotty-bump-0.6.0) https://git.io/vAUK4
NixOS_GitHub has left #nixos [#nixos]
<clever> lexooohhh: if you specify the nixpkgs revision, and block access to config.nix, it will be a lot more reproducible
<lexooohhh> hmmmm, okaay. I though it would be so reproducible\immutable out of the box by default
bfrog has joined #nixos
<clever> lexooohhh: by default, it uses the version of nixpkgs you currently have
<lexooohhh> so if I want provide user with reproducible build script and nix expression of my package - I will specify nixpkgs revision in my package\nix-expression
<typetetris> What is the stable nixpkgs channel, if I use nix on debian ? nixos-17.09 still ?
Ulrar has joined #nixos
<ij> Can derivations be compared without evaluating them fully? I've created two package lists — big, small and everything. I want to assert that everything hasn't excluded anything from either, but I don't want to build them all.
<etu> typetetris: If you use it on another distro, you can run nixpkgs-17.09
<Ulrar> Hi, I'm trying to use iso-image.nix. How would I set the name of the iso generated ? Trying to assign options.isoImage.isoName in my config after the import seems to be invalid
<typetetris> etu: That is not listed here https://nixos.org/channels/
<etu> oh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAk5p
<NixOS_GitHub> nixpkgs/master f41eb52 mkgvt: rename: init at 1.9 (#34719)
NixOS_GitHub has left #nixos [#nixos]
<etu> typetetris: I would go with nixpkgs-unstable then
<etu> typetetris: unstable isn't very unstable if you ask me
<etu> typetetris: But if you really want stable channel, then nixos-17.09
<rauno> has anyone had problems with vlans, seems like they dont want to depend on if interface is up and they fail??
7IZAABRQA has joined #nixos
3NAAAEHVA has joined #nixos
<7IZAABRQA> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAkdT
<7IZAABRQA> nixpkgs/master 58278ae Jörg Thalheim: Merge pull request #34738 from dotlambda/pytest-sugar...
3NAAAEHVA has left #nixos [#nixos]
<7IZAABRQA> nixpkgs/master e7fc9fe Robert Schütz: pythonPackages.pytest-sugar: 0.9.0 -> 0.9.1
7IZAABRQA has left #nixos [#nixos]
<3NAAAEHVA> [nixpkgs] Mic92 closed pull request #34738: pythonPackages.pytest-sugar: 0.9.0 -> 0.9.1 (master...pytest-sugar) https://git.io/vAT36
<typetetris> You can't even install neovim with python support at the moment, the python. 'CheckHealth' in nvim gives me: - INFO: nvim-python3-neovim version: 0.2.0 (outdated; from / it wants 0.2.1 ...
<typetetris> Maybe one can do an override for that ...
hyper_ch2 has joined #nixos
klntsky has quit [Ping timeout: 255 seconds]
<lexooohhh> how sad is that, typetetris, we've been sold nix as reproducible build system and packages that always_work, nix provide us with python package that doesn't work as expected
Tucky has joined #nixos
kwork has quit [Changing host]
kwork has joined #nixos
<TimePath> It's so reproducible I'll get the same non-working result if I try too
<lexooohhh> :D
<TimePath> If someone were to fix the package, that would also be repoducible
<typetetris> How can I determine what to put in that sha filed to do an override like here: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.md#overriding-python-packages
<TimePath> I just give it the wrong one and switch to the one it tells me on build failure
<typetetris> ok, i'll try that
<TimePath> Not the most efficient method, but it works :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 76a08d4 Jörg Thalheim: Merge pull request #34703 from Ma27/make-overriding-vim-configurable-easier...
<NixOS_GitHub> nixpkgs/master 8e70725 Maximilian Bosch: vim_configurable: enable overrides...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAkda
NixOS_GitHub has left #nixos [#nixos]
griff_ has joined #nixos
rogue_koder has quit [Quit: Konversation terminated!]
<lexooohhh> there is sha256sum utility, so user can invoke $sha256sum file, but pandas file from pypi, it is unclear cuz url not there explicitly
winem_ has joined #nixos
<etu> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<lewo> "Trust On First Use" :)
<etu> Then there's also nix-prefetch-url that downloads it to the store and gives you the hash
<sphalerite_> and nix-build --hash which works for all fixed-output derivations
leat has joined #nixos
<fearlessKim[m]> the number of PRs oscillates around 666, almost voluntarily. I can't help but worry about our maintainers sanity
mingc has quit [Quit: WeeChat 2.0.1]
<sphalerite_> Ulrar: how are you trying to do that and what's going wrong?
spietz has quit [Ping timeout: 240 seconds]
<ij> Is there some total order function on sets?
civodul has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34739: ataripp: 1.73 -> 1.81 (master...ataripp) https://git.io/vATRQ
NixOS_GitHub has left #nixos [#nixos]
Neo-- has joined #nixos
<sphalerite_> ij: yeah pretty sure you could come up with one. Why?
<sphalerite_> as long as you only care about the keys and not the values
<sphalerite_> (assuming you mean nix attrsets and not mathematical sets)
<ij> I wanted to compare a list of derivations without the regard for order, which could be solved, if I could sort them.
<typetetris> I now have: https://gist.github.com/typetetris/312d014c19ed9e0fd0748dd352e64e5b can I somehow avoid to do this for each package set ?
<Ulrar> sphalerite_: I'm trying to use iso-image.nix to generate an iso file, and by default it seems to generate it in the store with a path I can't guess. I need to a fixed path for that, because this is not a manual process and I need to be able to automatically copy that iso away
<Ulrar> The goal being to make a webserver iso image
<sphalerite_> Ulrar: use nix-build '<nixpkgs/nixos>' -I nixos-config=path/to/your/configuration -A config.system.build.isoImage and you'll get a result symlink. Then you can cp result/*.iso somewhere else or whatever
<ij> typetetris, well you can refactor the override function outside and reuse it instead of retyping it with a let construct.
<sphalerite_> ij: what about just sorting them by name?
<Ulrar> Ah, didn't know about the symlink, it doesn't say that on the output
<Ulrar> and I don't have access to the build machine so hard to check, but I can try to use result/web.iso as the path I guess
dan_b has joined #nixos
<sphalerite_> Ulrar: or since nix-build outputs the path on standard output you can do cp $(nix-build <...> --no-out-link)/*.iso wherever
<ij> sphalerite_, That would mostly work, but I wouldn't mind having deeper comparison either. :)
<sphalerite_> ij: do you know about Gabriel Gonzalez's nix-diff?
<typetetris> ij: like that https://gist.github.com/typetetris/312d014c19ed9e0fd0748dd352e64e5b or is there something more idiomatic?
<sphalerite_> typetetris: I'd recommend not doing that at all, and instead modifying it in a nixpkgs checkout and making a PR :)
<Ulrar> sphalerite_: I see, I could just have a script read the output indeed. Well I'll try the result/ thing first, just in case, but thanks !
asuryawanshi has quit [Remote host closed the connection]
<Ulrar> And I assume nixpkgs/nixos/modules/installer/cd-dvd/iso-image.nix is the best way to make a simple iso image ? It seems to fetch strange things like xscreensaver for some reason
hyper_ch2 has quit [Quit: Page closed]
<typetetris> So how do I get nix to use my local checkout?
<ij> typetetris, Yes, that was what I was thinking. (though the refactor is from a purely syntactical POV. sphalerite_'s opinion might be more relevant)
lonokhov has joined #nixos
<sphalerite_> typetetris: pass -I nixpkgs=path/to/nixpkgs to whatever command
<ij> sphalerite_, No, I didn't.
<sphalerite_> :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAkFF
<NixOS_GitHub> nixpkgs/master 09d04f6 Lucca Fraser: electrum-dash: 2.4.1 -> 2.9.3.1
NixOS_GitHub has left #nixos [#nixos]
<typetetris> The python neovim-0.2.1 need msgpack >= 5.0 shoud I create a msgpack-5 derivation and leave msgpack (currently sitting on 4.7) alone to not break other dependencies?
<etu> typetetris: You can do that yes
<etu> typetetris: One can also try to build all the deps affected with: nix-shell -p nox --run "nox-review wip"
<sphalerite_> Ulrar: that is odd, what does your configuration look like?
<typetetris> etu: How does that command know, what I changed? Last Commit? Unstaged work? or some other thing?
hyper_ch2 has joined #nixos
sigmundv has joined #nixos
<etu> typetetris: When used with the wip parameter it looks at not-commited things
<typetetris> etu: Thanks!
griff_ has quit [Quit: griff_]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34727: proofgeneral_HEAD: 2017-11-06 -> 2018-01-30 (master...pg-HEAD-20180130) https://git.io/vAU0b
NixOS_GitHub has left #nixos [#nixos]
tgunb has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34714: coq: default to 8.7 (master...coq-default-to-8.7) https://git.io/vAJxe
NixOS_GitHub has left #nixos [#nixos]
goibhniu has joined #nixos
<sphalerite_> Ulrar: are you sure it's pulling in xscreensaver and not just the pam config for it?
<ij> sphalerite_, If for any two derivations, I compare only names, I get a preorder?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vAkb4
<NixOS_GitHub> nixpkgs/master d1c5b48 adisbladis: yaml2json: init at unstable-2017-05-03
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch2> hmmm, can the networking.hostName option also be a FQDN?
<sphalerite_> hyper_ch2: usually you'd set hostName to just the hostname and networking.domain to the rest of the FQDN
<sphalerite_> I think
mingc has joined #nixos
goibhniu has quit [Client Quit]
<hyper_ch2> ah, didn't know about that one :)
<Ulrar> Might be the pam config for it
srcCoon has joined #nixos
tgunb has quit [Ping timeout: 248 seconds]
<typetetris> Could I change the link under ~/.nix-defexpr/channels/nixpkgs to my local checkout of nixpkgs or is that not advised?
goibhniu has joined #nixos
<sphalerite_> there shouldn't be a problem with that. You may also need to adjust NIX_PATH accordingly though
<sphalerite_> I prefer to just avoid nix-defexpr completely because it's horrible by aliasing nix-env to nix-env -f '<nixpkgs>
<typetetris> sphalerite_: Could you explain more of your workflow? How can I get rid of typing -I <stuf> and -f <stuff> all the time?
<sphalerite_> ij: oh yeah. You could compare their output paths since those are based on the hash of the derivation. That wouldn't take into account the meta and passthru fields, but I think it's a reasonable notion of sameness to say that two derivations which produce the same output are the same
<sphalerite_> modulo fixed-output ones maybe.
<sphalerite_> Does nix-diff not cover what you need though?
<ij> You were thinking I could extract the comparison function from its source?
<sphalerite_> I was thinking you could just use it directly. I don't know what you're trying to achieve (XY)
<sphalerite_> typetetris: I use nix-env quite rarely, only to update what I have installed in my profile (quite obviously)
<sphalerite_> typetetris: most of the time if I'm making some changes to nixpkgs I'm in ~/nixpkgs and just do nix-build -A foo to build whatever I'm working on since nix-build defaults to default.nix in the CWD
<typetetris> ok, I try that.
<Ulrar> sphalerite_: Doesn't look like result exists, at least for me
<sphalerite_> Ulrar: what are you doing exactly?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34704: theharvester: init at 2.7.1 (master...add_theharvester) https://git.io/vAJcI
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34709: rstudio: 1.1.414 -> 1.1.423 (master...fix/rstudio-version) https://git.io/vAJ4F
NixOS_GitHub has left #nixos [#nixos]
<typetetris> the build of the neovim python packages fails on me with `Could not find a version that satisfies the requirement msgpack>=0.5.0 (from neovim==0.2.1)` but it lists msgpack in its propagatedBuildInputs and I changed the version of the python msgpack derivation to 0.5.4 ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAkNB
<NixOS_GitHub> nixpkgs/master 5e31eae mingchuan: rstudio: 1.1.414 -> 1.1.423...
<NixOS_GitHub> nixpkgs/master b797b2b Jörg Thalheim: Merge pull request #34709 from sifmelcara/fix/rstudio-version...
NixOS_GitHub has left #nixos [#nixos]
nschoe has joined #nixos
<Ulrar> sphalerite_: I have a config file, and I want to generate an iso for it, then upload that iso automatically somewhere else from the build machine. For that, I need to reference the iso path before starting the build
<Ulrar> The goal here being to have git automatically build an iso and deploy it when pushing
periklis has joined #nixos
<sphalerite_> why do you need to reference the iso path before starting the build?
<Ulrar> Well I need to know where it'll be, so the script can pick it up
<Ulrar> if I have to manually get it, it's not automated anymore
<sphalerite_> which script?
<sphalerite_> Can't the script build it?
<Ulrar> It calls nix-build, not sure what else you mean ?
<Ulrar> Just the gitlab-ci stuff, basically a glorified git hook
<typetetris> Can I force a rebuild with nix-build somehow to look through its output?
<sphalerite_> Ulrar: can you just show me the whole deploy script?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #34758: [17.09] virtualbox update for linux 4.15 (release-17.09...17.09/virtualbox) https://git.io/vAkNH
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> typetetris: nix-build --check. But you may want nix-store --read-logs instead to see the log of the build you already did
arjen-jonathan has joined #nixos
<Ulrar> sphalerite_: I just need to declare an artifact, not sure what gitlab does then. But I just have to tell it the path of the result file, and it uploads it on it's own
<Ulrar> I tried puttin result/web.iso and result/*.iso, but nothing seems to exist
<sphalerite_> Ulrar: then do ln -s result/*.iso web.iso and set the artifact path to web.iso
<Ulrar> allright
asuryawanshi has joined #nixos
<Ulrar> It's building, result in 10 minutes
<sphalerite_> typetetris: did you forget to update the derivation's name?
<sphalerite_> typetetris: err, actually, the source tarball hash?
<typetetris> name is "msgpack-python-${version}"
<typetetris> no didn't update it, hoped to get the error message with the new hash
goibhniu has quit [Ping timeout: 265 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34695: uudeview: init at 0.5.20 (master...uudeview) https://git.io/vAf84
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> it'll just reuse the previous one since the hash (i.e. the expected contents) is the same
<sphalerite_> just change one character in the hash and you'll get your error
<typetetris> ah, that is surprising ..
<sphalerite_> not really, that's how content-addressing works ;)
<typetetris> Hmm, now pythonPackages.msgpack builds fine and the sourcepath matches the version, but the neovim build doesn't seem to pick it up, it still complains about msgpack not being => 5.0
<typetetris> Hmm, now pythonPackages.msgpack builds fine and the sourcepath matches the version, but the neovim build doesn't seem to pick it up, it still complains about msgpack not being >= 5.0
<typetetris> sorry
Guanin has joined #nixos
<Ulrar> sphalerite_: Heh, the ln -s works, but it uploaded the symbolic link instead of the iso file
<Ulrar> that's funny
<Ulrar> Guess I'll use cp
<sphalerite_> gg
<Ulrar> Probably why it didn't work before, guess it doesn't link symbolic links for some reason
<Ulrar> Thanks for the help !
thc202 has joined #nixos
periklis has quit [Ping timeout: 268 seconds]
johnchildren has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vAkxI
<NixOS_GitHub> nixpkgs/master e2bf162 Bignaux Ronan: remove platforms.darwin support
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 17210fe Bignaux Ronan: squashfuse: init at 0.1.101
<NixOS_GitHub> nixpkgs/master a0a3298 Jörg Thalheim: Merge pull request #34663 from bignaux/squashfuse...
<Ulrar> sphalerite_: Ah okay, the symlink is invalid
goibhniu has joined #nixos
<Ulrar> cp: can't stat 'result/*.iso': No such file or directory
<Ulrar> That's why it uploaded the symlink and not what it's pointing to
forgetful has quit [Quit: Leaving]
<Ulrar> Guess I'll use /nix/store/*.iso, I imagine there won't be more than one
<genesis> https://github.com/NixOS/nix/blob/master/src/buildenv/buildenv.cc with the rewriting in C++ of this, i just need to invoke it in my runtime, and i should be able to complete the pb in appimage with path in their build bundle process
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAkxg
<NixOS_GitHub> nixpkgs/master a1fe3ee Jörg Thalheim: Merge pull request #34689 from dtzWill/fix/zsh-modern...
<NixOS_GitHub> nixpkgs/master 2b8e900 Will Dietz: zsh: set configureFlags and checkFlags at nix level, also fix cross...
<sphalerite> Ulrar: that's likely to go wrong
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/e18442d4662 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
rauno has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAkx6
<NixOS_GitHub> nixpkgs/master abfac62 Jörg Thalheim: alacritty: 2017-12-29 -> 2018-01-31
NixOS_GitHub has left #nixos [#nixos]
Ubercow has quit [Quit: Ubercow]
07IACGWW6 has joined #nixos
<07IACGWW6> [nixpkgs] Mic92 pushed 2 new commits to staging: https://git.io/vAkxj
<07IACGWW6> nixpkgs/staging 6ec60e8 Will Dietz: busybox-sandbox-shell: extract basic shell to new attribute...
07IACGWW6 has left #nixos [#nixos]
<07IACGWW6> nixpkgs/staging 5b247f7 Jörg Thalheim: Merge pull request #34677 from dtzWill/feature/busybox-sandbox-shell...
7GHAB2X0Y has joined #nixos
<7GHAB2X0Y> [nixpkgs] Mic92 closed pull request #34677: busybox-sandbox-shell: extract basic shell to new attribute (staging...feature/busybox-sandbox-shell) https://git.io/vAvIR
7GHAB2X0Y has left #nixos [#nixos]
griff_ has joined #nixos
<Ulrar> /nix/store/*.iso is actually a directory. /nix/store/*.iso/iso/web.iso should work, given the output path it usually prints
<Ulrar> At some point, it'll work.
<sphalerite> oooh there's a subdirectory
<sphalerite> so doing cp result/iso/*.iso web.iso should also do it
<sphalerite> and be more reliable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34749: Add setting to configure group for systemd in Traefik (master...master) https://git.io/vATj6
NixOS_GitHub has left #nixos [#nixos]
catch22 has quit [Ping timeout: 256 seconds]
<Ulrar> Yeah, and I figured out how to set the name of the actual iso file in that directory to web.iso, so it should be okay
<Ulrar> I'm trying it out now
tabaqui has joined #nixos
<tabaqui> hey all
<tabaqui> can I rename nixpkgs generations?
<tabaqui> don't see such api in manual, but it is reasonable feature
<tilpner> What do you mean by "nixpkgs generations"?
FRidh has joined #nixos
<tilpner> You may be looking for system.nixosLabel
<tabaqui> each nix environment change create new generation, right?
<tabaqui> and profile is just a bunch of links on these generations
<tabaqui> can I name some of them?
<vaibhavsagar> tabaqui: I don't think so
<tabaqui> tilpner: nixosLabel looks related with nixos, I dunno, can you send a link please?
<tilpner> It's a NixOS option, yes. It won't be useful if you're not on NixOS
<tabaqui> not my case then
<tilpner> Maybe you're looking for profiles then? https://nixos.org/nix/manual/#sec-profiles
<tabaqui> hmm, it looks nice for me now
<tabaqui> thanks
tanonym has joined #nixos
<tabaqui> I hope it will be enough
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAkhm
<NixOS_GitHub> nixpkgs/master 448fdc2 Marius Bergmann: keepalived: 1.3.6 -> 1.4.1
<NixOS_GitHub> nixpkgs/master 9e39a7b Jörg Thalheim: Merge pull request #34652 from mbrgm/upgrade-keepalived...
NixOS_GitHub has left #nixos [#nixos]
aarvar has quit [Ping timeout: 240 seconds]
<ij> Has anyone created a arch linux's pkgfile equivalent?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 3b9beaf Jörg Thalheim: Merge pull request #34658 from thorstenweber83/add-package-slic3r-prusa3d...
<NixOS_GitHub> nixpkgs/master c055b01 Thorsten Weber: slic3r-prusa3d: init at 1.38.7
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAkhE
NixOS_GitHub has left #nixos [#nixos]
mzan has joined #nixos
<ij> Never mind, I'll try out `nix search`.
<tilpner> Try nix-index
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vAkjV
<NixOS_GitHub> nixpkgs/master 0cdc0ac Peter Hoeg: screenfetch: 2016-10-11 -> 3.8.0
NixOS_GitHub has left #nixos [#nixos]
griff_ has quit [Quit: griff_]
tanonym has quit [Read error: Connection reset by peer]
tanonym has joined #nixos
thblt has joined #nixos
tanonym has quit [Ping timeout: 268 seconds]
<genesis> ij : what is it ?
<ij> It knows all the files of packages in the repos. It gives you the set of packages that a file's in.
<genesis> oki thanks
<ij> I assume you were asking about pkgfile, that is.
<genesis> yes i was, i'm on gentoo so i don't know that stuff;
<ij> k3b/bin/.k3b-wrapped doesn't have libcdda_paranoia in its ldd listing for some reason. That lib exists $(cdparanoia}/lib and cdparanoia's mentioned in the propagatedBuildInputs.
<clever> ij: the configure script may have chosen to not enable it
<clever> ij: youll want to view the build log for that derivation
<ij> It is on hydra?
<clever> ij: one min
<clever> ij: 2017-03-20 12:45:56< niksnut> if you urgently need a log, you can find them at URIs like: https://cache.nixos.org/log/l9qmwi2q0dk4ji8pcycc188gank0q5pb-pointedalternative-0.1.0.0.drv
rardiol1 has joined #nixos
ZaraChimera has joined #nixos
ZaraChimera has left #nixos [#nixos]
rardiol1 has quit [Read error: Connection reset by peer]
rardiol1 has joined #nixos
ZaraChimera has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ZaraChimera has left #nixos ["Leaving"]
m712 has quit [Quit: bye-nyan!]
m712 has joined #nixos
MP2E has quit [Remote host closed the connection]
<genesis> is there a roadmap for the next release of nix, that if i understand well, doesn't use perl anymore ?
Itkovian has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<manveru> genesis: well, the plan is that nix 1.12 will replace 1.11 this year
Itkovian has quit [Client Quit]
<genesis> thanks, i shouldn't wait for it soon.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir closed pull request #34758: [17.09] virtualbox update for linux 4.15 (release-17.09...17.09/virtualbox) https://git.io/vAkNH
NixOS_GitHub has left #nixos [#nixos]
<manveru> you can already use it for 99% of cases by installing nixUnstable (been using it for over half a year now, no issues)
<adisbladis> Iirc it's still on track for 18.03
<manveru> ah nice
<manveru> hope it makes the cut :)
tanonym has joined #nixos
<adisbladis> Hope so too :) Such a nice improvement
<adisbladis> Just about to introduce it as a hard dep at work. Would be nice if that was what people got by default
<manveru> yeah, it's just annoying that my coworkers are all on 1.11 because they're too lazy to care :P
<manveru> my favorite parts are fetchTarball with checksum and `nix search`
<genesis> i plan to use buildenv.cc in a packer to provide application bundle based on nix
<genesis> (that's why i did squashfuse derivation and PR on squashfuse this days)
<manveru> yeah, then getting rid of perl is nice
<adisbladis> manveru: I just added another favourite to my list: Support for base64 hashes <3
<genesis> it would be far better that actual appimage, ugly stuff that need lot of scripts and effort to get their package running.
<adisbladis> Building a lot of js stuff where the upstreams only distribute hashes as base64. Nice to be able to use them without modification
<manveru> true that
<manveru> btw, does anyone know how to configure notify-osd properly?
<tanonym> If I am using the same configuration.nix to install my NixOS system to a USB flashdrive, what commands do I need to run to change the ID number for my ZFS pool? I will edit the name as well.
<tanonym> If I am using the same configuration.nix to install my NixOS system to a USB flashdrive, what commands do I need to run to change the ID number for my ZFS pool? I will edit the name as well.
tanonym has quit [Quit: Konversation terminated!]
tanonym has joined #nixos
tanonym has quit [Client Quit]
FRidh has quit [Ping timeout: 276 seconds]
<andi-> manveru: do you really mean notify-osd or the actual implementation that displays them (like dunst)?
<manveru> andi-: notify-osd displays them, no?
<andi-> iirc that just does dbus magic
<manveru> `GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.`
<manveru> this here...
<manveru> i guess it needs some gnome daemon or something
<andi-> manveru: derp.. sorry.. I was confusing it with notify-send m(
<manveru> ah :)
<manveru> yeah, notify-send is from libnotify
<manveru> atm i'm using xfce4-notifyd instead, since that's configurable
<manveru> but i don't really like the looks of it
<andi-> use dunst ;-)
<andi-> there is a nice home-manager module for that
<manveru> i'm not using home-manager :(
<andi-> start using it? ;-)
<andi-> wrote an i3status module for that yesterday, gonna upstream that in the next days. It really makes live a lot easier when you have multiple workstations
<manveru> yeah... would be nice to have different i3 configs for different machines easily
<manveru> atm i have all my dotfiles in a shared seafile folder
* genesis uses lxqt
simukis has joined #nixos
<manveru> hm, dunst can't display icons though
<ij> Might k3b be trying to load cdparanoia/libcdda_interface dynamically in runtime?
<manveru> ij: yeah
<manveru> afaicr it tries to call their executables at least
<manveru> had to install them separately... memory is foggy since it's been a long time since i last used a CD/DVD :P
vidbina has joined #nixos
<andi-> manveru: dunst does display icons
freeman42x[NixOS has quit [Ping timeout: 264 seconds]
<manveru> ah, had to configure that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34759: nixos/dovecot: no " in mailbox.name (master...dovecot) https://git.io/vAIkI
NixOS_GitHub has left #nixos [#nixos]
<Ulrar> Well, took a while but it works now
<Ulrar> So I see rngd is running, which in a VM might not make much sense. How would I disable that, services.rngd.enable = false ?
ottidmes has joined #nixos
<Ulrar> Not even sure why that's on the iso
<Ulrar> Same thing about nscd
jensens has joined #nixos
<ottidmes> I want to create a special disk image, but the script I plan to base my script upon uses things like partprobe and mount, how does nixpkgs deal with that, I have not tested this yet, but I doubt nixpkgs will allow me to do this. How is this usually approached? Just only creating the script as part of the package?
disasm has quit [Remote host closed the connection]
chrios_ has quit [Ping timeout: 260 seconds]
ZaraChimera has joined #nixos
<ij> manveru, Ok, I even installed it in the user env, it still doesn't work.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir pushed 2 new commits to master: https://git.io/vAIIV
<NixOS_GitHub> nixpkgs/master 6ceece6 Robert Schütz: nixos/dovecot: no " in mailbox.name
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 7ae9699 Andreas Rammhold: Merge pull request #34759 from dotlambda/dovecot...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #33725: pythonPackages: enforce python-modules path (master...python-modules-awscli) https://git.io/vNOnf
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir pushed 1 new commit to release-17.09: https://git.io/vAII1
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 14d23b1 Robert Schütz: nixos/dovecot: no " in mailbox.name...
silver has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir pushed 1 new commit to release-17.09: https://git.io/vAIIF
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 0a9f28c Andreas Rammhold: Revert "nixos/dovecot: no " in mailbox.name"...
vaninwagen has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0cdc0ac3a1a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
vaninwagen has quit [Quit: leaving]
ghuntley has quit []
vaninwagen has joined #nixos
periklis has joined #nixos
ghuntley has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
parsnip has joined #nixos
<parsnip> hmm, i thought it was just -qa i couldn't run on low resources.
freeman42x[NixOS has joined #nixos
Synthetica has joined #nixos
<parsnip> but for a new install, i try `nix-env -i emacs` and it's Killed after many lines like evaluating file ‘/nix/store/3jgzqbm9ladg2lv5ibfd84mk1jyjfkrp-nixpkgs-18.03pre127302.e860b651d6e/nixpkgs/pkgs/development/libraries/kdb/default.nix’
schaary has quit []
schaary has joined #nixos
<tilpner> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
vaninwag1n has joined #nixos
thblt has quit [Ping timeout: 260 seconds]
vaninwag1n has quit [Client Quit]
vaninwag1n has joined #nixos
vaninwagen has quit [Quit: leaving]
vaninwag1n has quit [Client Quit]
<parsnip> ah, and prepend with nixpkgs., thank you :)
vaninwagen has joined #nixos
vaninwagen has quit [Client Quit]
vaninwagen has joined #nixos
<Havvy> `nix-env -iA nixpkgs.sublime3` and `nix-env -iA nixpkgs.firefox-bin` emit one newline and then end without doing anything. Other packages (e.g. exa, ripgrep, git) are working as normal.
chrios_ has joined #nixos
<Havvy> s/working/installing/
<etu> Havvy: Do you allow non-free programs?
<Havvy> Ah right, that.
<tilpner> Havvy - And there's no firefox in your PATH afterwards?
<Havvy> tilpner: Nope.
<etu> Havvy: firefox-bin is "unfree" because of the mozilla branding :)
<tilpner> Oh, huh. nix-build prints a good error, nix-env prints nothing at all
<Havvy> etu: +1,000,000 on solving a no-error-message error case.
tanonym has joined #nixos
vaninwagen has quit [Client Quit]
<etu> Havvy: I have experienced that I get errors in such cases. But I usually don't install things with nix-env so some other tool might be better at complaining.
<tanonym> a 32GB thumbdrive should be enough to install a portable nixos system on, right?
<srk> anyone using nixops to deploy docker cts?
<tanonym> current laptop is running zfs with
<tanonym> the /nix dir excluded from snapshots
<tilpner> tanonym - Yes, but you may have to gc frequently on heavy use
ma27 has joined #nixos
<Havvy> I'm in the process of switching my VM from 32gigs to 64gigs because I kept running out of space.
<tanonym> i can live with that.
woffs has joined #nixos
<Havvy> Granted my home directory was 10Gbs because building Rust. >_>
<tanonym> i'd need to change the random id and name of the zfs pool, but otherwise i could point a install at the thumb drive and use my existing configuration.nix. Oh, and edit the boot device so the system doesn't look for non-existent hds
mzan has left #nixos [#nixos]
<tanonym> otherwise i can always do a puppylinux install to a thumbdrive instead. or slitaz.
<parsnip> are there plans to have features like -qa work on machines with less ram?
jensens has quit [Ping timeout: 252 seconds]
<typetetris> my /nix/var/nix/gcroots/auto and /nix/var/nix/gcroots/profiles is empty, but after nix-collect-garbage -d there still is a lot of stuff in /nix/store and stuff, nix certainly doesn't need, like some haskell packages ... is that normal?
<tanonym> would it be possible to have nixos use something like squashfs to comprsave space similar to what distros like slitaz, puppy linux or porteus do?
<typetetris> how can I determine , why a store path is still there?
<clever> typetetris: nix-store --query --roots
orivej has quit [Ping timeout: 248 seconds]
<typetetris> it comes up empty for the store path i tested, why isn't it deleted by the gcs
<typetetris> by the gc i meant
<clever> typetetris: what does nix-store --delete say about that path?
<typetetris> still alive ...
<clever> typetetris: then its in-use by a running program
<typetetris> oh, ok
<clever> typetetris: its either running directly, in an open file handle, or in an environment variable
<clever> sudo also causes false positives, because sudo is "using" the path, while waiting for nix-store to delete it
<clever> so "sudo nix-store --delete" will never work
* clever heads to bed
coot has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
<typetetris> But why can't it tell, why it is still alive ... *gr*
deanman has joined #nixos
tanonym has quit [Remote host closed the connection]
<parsnip> for the packages that i simply use the repos for, is there a workflow for committing a list of those i want to make sure i've installed?
gchristensen is now known as nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #34760: [17.09] dovecot mailbox quoteing (release-17.09...17.09/dovecot-mailbox-quoteing) https://git.io/vAIYN
NixOS_GitHub has left #nixos [#nixos]
nixos is now known as gchristensen
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vAIOe
<NixOS_GitHub> nixpkgs/master c6bd327 Chris Hodapp: darktable: Removed unneeded dependencies...
NixOS_GitHub has left #nixos [#nixos]
<hodapp> wut
<hodapp> I feel like I did that PR in like 2016 o_O
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #25133: darktable: Removed unneeded dependencies, update Lua to 5.3 (master...darktable_removedeps) https://git.io/v9T6e
NixOS_GitHub has left #nixos [#nixos]
griff_ has joined #nixos
zimbatm has quit []
zimbatm has joined #nixos
pauldub has quit []
pauldub has joined #nixos
xcmw has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/394efc0ecaf (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
jensens has joined #nixos
zielmicha_ has quit []
dvim has quit []
zielmicha_ has joined #nixos
dvim has joined #nixos
iqubic` has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iqubic has quit [Ping timeout: 265 seconds]
griff_ has quit [Quit: griff_]
<sphalerite> parsnip: what do you mean?
griff_ has joined #nixos
xcmw has joined #nixos
adelbertc has quit []
vidbina has joined #nixos
manveru has quit []
adelbertc has joined #nixos
manveru has joined #nixos
knupfer has joined #nixos
ocharles has quit []
ocharles has joined #nixos
FRidh has joined #nixos
cstrahan has quit []
cstrahan has joined #nixos
asuryawanshi has joined #nixos
iyzsong has joined #nixos
nuncanada has joined #nixos
sjanssen has quit []
sjanssen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nico202 opened pull request #34761: [WIP] papis: init at 0.5.2 + dependencies (master...papis) https://git.io/vAIsh
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir closed pull request #34760: [17.09] dovecot mailbox quoteing (release-17.09...17.09/dovecot-mailbox-quoteing) https://git.io/vAIYN
NixOS_GitHub has left #nixos [#nixos]
<andi-> hmm, great.. I've a small NixOS VM with 1GB of RAM. Running on 17.09. I just tried upgrading it after like ~2 weeks.. nix-daemon runs out of memory while it fetches gcc-6.4.0 :/ Any ideas?
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0a9f28c7e85 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<goibhniu> I guess adding more swap would help
<andi-> of that would help but thats not a great solution :/ I just shut down the only service that thing was running (that was consuming 100MB of RAM) and now it looks promising..
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ericbmerritt_ has quit []
ericbmerritt_ has joined #nixos
mbrock has quit []
mbrock has joined #nixos
prietoj has joined #nixos
georgew has quit []
jensens has quit [Ping timeout: 276 seconds]
orivej has joined #nixos
georgew has joined #nixos
mg- has joined #nixos
<mg-> FRidh: what's missing before https://github.com/NixOS/nixpkgs/pull/26443 can be merged?
<prietoj> Hello. I'm pretty new to nixos. I have to compile a haskell library that depends on a C library (mosquitto). I installed mosquitto from the nixos channel but when I try to compile the haskell library I get "* Missing C library: mosquitto".
<prietoj> Why is this happening and what can I do?
chrios has joined #nixos
chrios_ has quit [Ping timeout: 255 seconds]
nschoe has quit [Quit: Program. Terminated.]
tertleeltret has joined #nixos
jensens has joined #nixos
<typetetris> Is the qt5 stuff somehow damaged in actual master, calibre for example fails to build in my environment because it misses some libQt5<something>.so ?
lord| has quit [Quit: WeeChat 2.0.1]
<andi-> prietoj: you must provide mosquitto(.dev?) to your expression building the haskell library. Just adding it via nix-env etc.. wont do the trick
ma271 has joined #nixos
ma27 has quit [Remote host closed the connection]
<prietoj> I see. Thanks andi.
prietoj has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir closed pull request #34562: nixos/rspamd: worker configuration, socket activation and tests (master...rspamd-workers) https://git.io/vNxWr
NixOS_GitHub has left #nixos [#nixos]
kochev has joined #nixos
Rusty1_ has joined #nixos
<sphalerite> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<sphalerite> prietoj: ^
asuryawanshi has quit [Ping timeout: 248 seconds]
smichel17 has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
monad_cat has quit []
monad_cat has joined #nixos
<tertleeltret> i installed nixos, but now I cant use my windows games?
jml has quit []
<tertleeltret> is there some programme called Chardonnay?
jml has joined #nixos
coot has quit [Quit: coot]
<pie_> can anyone give me a hand? i really need this working properly by today :/ https://bpaste.net/show/c9d89ab3123d
<genesis> tertleeltret it's a wine flavor ?
<genesis> you can install wine ...
<tertleeltret> oh wine, that was it
<tertleeltret> not sure where I got Chardonay
<pie_> hahaha xD
<genesis> as a french i know a bit about wine :)
<pie_> thats funny ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1848: support multi threaded xz encoder (master...parallel-xz) https://git.io/vAvRP
NixOS_GitHub has left #nixos [#nixos]
<genesis> so i have to answer.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nix/master bc7e3a4 AmineChikhaoui: support multi threaded xz encoder, this might be particularly useful in...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nix] edolstra pushed 8 new commits to master: https://git.io/vAIlL
<NixOS_GitHub> nix/master 163e395 AmineChikhaoui: Merge branch 'master' of https://github.com/NixOS/nix into parallel-xz
<NixOS_GitHub> nix/master 9d1e22f AmineChikhaoui: set block size to 0 to let the lzma lib choose the right one, add...
azertyieio has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jlesquembre opened pull request #34762: youtube-dl: 2018.01.27 -> 2018.02.08 (master...youtube-dl) https://git.io/vAIls
NixOS_GitHub has left #nixos [#nixos]
darlan has joined #nixos
darlan has quit [Client Quit]
ma271 has quit [Ping timeout: 260 seconds]
kochev has quit [Ping timeout: 276 seconds]
__Sander__ has joined #nixos
xcmw has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vAIlS
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nix/master 960e9c5 Eelco Dolstra: nix: Ensure that the user sees errors from substituters
<NixOS_GitHub> nix/master aa02cdc Eelco Dolstra: getDefaultSubstituters(): Skip broken substituters...
ZaraChimera has quit [Ping timeout: 255 seconds]
rauno has joined #nixos
disasm has joined #nixos
<tilpner> pie_ - genericBuild needs src or srcs as derivation arguments
<tilpner> (And you don't have those)
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1b83e435648 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<pie_> tilpner, oh..right...I kind of forgot where i was with this. I tried mkShell but that had other issues É)
<pie_> :(
<pie_> Id like a derivation that makes these packages availible
xcmw has quit [Ping timeout: 268 seconds]
<tilpner> Available to what?
<pie_> i mean in a shell
<pie_> id like to do nix-shell thisthing.nix and then have rstudio and latex and etc
szicari has joined #nixos
<pie_> ok i just tried this:
<pie_> pkgs.buildEnv { name = "lab-env-0.1"; paths = latex ++ statistics ++ bibliography ++ python; }
<pie_> it seems to work. do you think thats ok?
<manveru> pie_: with import <nixpkgs> {}; stdenv.mkDerivation { name = "myshell"; buildInputs = [rstudio latex etc]; }
<pie_> mkderivation is what gave me the src issue...
<manveru> nix-shell needs no src
periklis has quit [Ping timeout: 248 seconds]
<tilpner> pie_ - Just run nix-shell pie.nix, that should work
<tilpner> pie_ - It seems like you tried to build it before
<pie_> this is how im calling it: nix-build -I unstable=/nix/var/nix/profiles/per-user/paprika/channels/unstable -v -E '(import <unstable> {}).callPackage ./shell.nix {}'
ckauhaus has joined #nixos
<tilpner> pie_ - No, not nix-build. nix-shell!
<pie_> ah right hm.
<manveru> and you can replace the <nixpkgs> with your path
<pie_> if i use nix-build it wont get GCd though right?
<pie_> i think thats why i wanted to switch to nix-build, sorry forgot about that xD
<manveru> nix-shell can also do that
<pie_> oh?
<manveru> wonder if that's the default now
<pie_> how?
<manveru> you can use --indirect in 1.11 i think
<manveru> ah, --add-root
<pie_> if thiat was the default how would you gc
<manveru> i use `nix-shell --add-root $PWD/tmp/nix/shell.drv` for example
pkill9 has joined #nixos
<manveru> so it'll be there as long as you keep that drv
<pie_> hm why isnt that in the man page :/
<manveru> it's in the docs of nix-instantiat
<manveru> *nix-instantiate
<manveru> the nix-shell manpage says it's wrapping nix-instantiate i think
<pie_> " All options not listed here are passed to nix-store --realise, except for --arg and --attr / -A which are passed to nix-instantiate."
<pie_> well thats a weird way to make the docs
<manveru> well, nix-store also has that doc :)
<pie_> path ‘/mnt/data/egyetem2/6felev/labs/env/shell.drv’ is not a valid garbage collector root; it's not in the directory ‘/nix/var/nix/gcroots’
<manveru> on 1.11 you need --indirect flag too
<pie_> oh
alexteves_ has joined #nixos
<manveru> super obvious, right! :D
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon3 is now known as Mateon1
mudphone has quit []
mudphone has joined #nixos
coot has joined #nixos
<hodapp> huuuh... is there a way to run tmux inside of nix-shell without having it mangle things like tab-completion?
jensens has quit [Remote host closed the connection]
<manveru> hodapp: using bashInteractive maybe?
<hodapp> how do you mean?
jensens has joined #nixos
<pie_> thanks!
<pie_> hodapp, i know i have it working but i gotta run for a bit
<pie_> probably bashinteractive
<pie_> as manveru said
<pie_> otherwish check your $TERM or whatsit
<hodapp> okay, but... how?
<pie_> make sure you arent using the bash provided by stdenv or somethign :P
<pie_> (google around)
* pie_ rushes off
<pie_> i think i have it installed globally in systempackages
<hodapp> hm, nix-shell -p bashInteractive isn't really doing anything
nkaretnikov has quit []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #34763: asciidoctor: expose all the bins (master...asciidoctor-pdf-fix) https://git.io/vAIRT
NixOS_GitHub has left #nixos [#nixos]
<hodapp> and google's not really getting me anything relevant
nkaretnikov has joined #nixos
abathur has joined #nixos
<manveru> hodapp: hmm, i'm usually using it via direnv
<hodapp> not sure what you mean
<woffs> Hi. I have a problem. "nix-instantiate '<nixpkgs/nixos>' --argstr system i686-linux -A system" does not propagate system=i686-linux through all dependencies anymore (since yesterday?) and produces different things on x86_64 and i686. For instance, the dependent busybox.drv contains ("system", "x86_64-linux").
<manveru> woffs: any chance you can bisect what commit in nixpkgs caused that?
<manveru> hodapp: https://direnv.net/ this one
Myrl-saki has joined #nixos
ertes has quit [Ping timeout: 256 seconds]
<woffs> manveru: chances are, but there could be other influences (nix update, nix vs. nixos) as well
<woffs> Just wanted to listen first if anyone else detected the same
<manveru> nix update shouldn't influence how the language behaves
<manveru> at least it hasn't changed in a major way for ages... afaicr
ertes has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1b83e435648 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
ma271 has joined #nixos
tgunb has joined #nixos
jensens has quit [Ping timeout: 256 seconds]
<joepie91> wasn't there a way to have nixpkgs produce a Docker image of a given NixOS system specification?
<joepie91> I vaguely recall something like this
<manveru> for a whole nixos?
<simpson> joepie91: Unlikely, since systemd doesn't work in Docker. There's dockerTools in nixpkgs if you don't need systemd.
<gchristensen> I don't think so, because there would be no service management.
<gchristensen> ^ simpson
<manveru> there's nix-docker... which gives you nix-daemon inside of docker and the basics you need for a nixos system... but no systemd
Myrl-saki has quit [Ping timeout: 240 seconds]
<Ulrar> So for some reason my apache tries to run as daemon:daemon, which doesnt exist. How would I fix that, is there a way to tell apache what user to run as ?
<manveru> it should default to wwwrun
<Ulrar> Ah, that's a good url
<manveru> how are you running it?
<Ulrar> yeah I see that in the code, but for some reason it doesn't
<Ulrar> I'm generating an iso by using <nixpkgs/nixos/lib/make-iso9660-image.nix>
<Ulrar> So not the most regular use case
<Ulrar> Might be something to do with the docker image I'm using to run nix-build or something
ma271 has quit [Ping timeout: 240 seconds]
ma271 has joined #nixos
<abathur> has anyone successfully configured the xrdp service to serve the local desktop session? particularly on kde/plasma5?
<abathur> If I explicitly add a window manager package and specify it as xrdp's default WM, xrdp will readily serve a fresh session on it, but I'm having trouble fumbling my way into or finding examples of a solution
xcmw has joined #nixos
<joepie91> simpson: nah, the envisioned usecase is an Option B for running a command in a Nix-specified environment when the user doesn't want to install Nix
<joepie91> simpson: what does dockerTools do exactly?
<joepie91> (so yeah, no services needed)
<manveru> that's what you want then
<joepie91> alright, thanks :)
aminechikhaoui has quit [Ping timeout: 260 seconds]
<ottidmes> What should I add to make my systemd oneshot service only start on boot, but not on nixos-rebuild switch?
hakujin has joined #nixos
<sphalerite> ottidmes: https://nixos.org/nixos/options.html#restart+changed
warbo has joined #nixos
<ottidmes> sphalerite: Nice, thanks!
MercurialAlchemi has quit [Ping timeout: 265 seconds]
aminechikhaoui has joined #nixos
aminechikhaoui is now known as Guest38534
erasmas has joined #nixos
<warbo> hello, I'm getting different hashes from the same 'fetchgit' invocation on two different machines http://lpaste.net/2125896064333512704
<warbo> any idea what might cause this? they're both using 17.09, so I don't think the .git change from about a year ago should be a problem
<dtz> warbo: what happens if you "break" the hash (change a character) on your laptop and try fetchgit?
typetetris has quit []
<warbo> (the 'nixpkgs1709' attribute is a pristine, non-overridden nixpkgs 17.09)
typetetris has joined #nixos
<warbo> dtz: trying now
<warbo> BTW the laptop is i686-linux and the server is x64 (both nixos)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #34762: youtube-dl: 2018.01.27 -> 2018.02.08 (master...youtube-dl) https://git.io/vAIls
NixOS_GitHub has left #nixos [#nixos]
<warbo> dtz: hmm, intriguing: output path ‘/nix/store/2habv715kv53qyv71zhjf7cibnzsmq5v-nix-config-044d894’ has r:sha256 hash ‘0y873r2nfw9qazdl555kwj2072n532pnv5iwp3nyck614qncvvzl’ when ‘0s9jw6mna8qpl5s5phd9qx1im2pcclr43fmbm40i72v95nn8q8xi’ was expected
FRidh has joined #nixos
<warbo> the 'expected' hash is the one I was using before, but with the last char changed
<warbo> so it looks like the server is correct
bfrog has quit [Ping timeout: 240 seconds]
<dtz> it would appear so. Don't have great explanation for how this happened, presumably due to a fetchgit change? dunno
<warbo> maybe
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34647: pythonnet: Init at 2.3.0 (master...jrg/pythonnet-rebased) https://git.io/vNjSV
NixOS_GitHub has left #nixos [#nixos]
<warbo> trying with the new/correct hash
<warbo> (on the laptop)
<woffs> warbo: seems to be same problem as mine
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vAI2D
<NixOS_GitHub> nixpkgs/master 855e668 aszlig: gajim: 0.16.8 -> 0.16.9...
<woffs> pp-drv $(nix-store -qR $(nix-instantiate --argstr system i686-linux '<nixpkgs/nixos>' -A system -I nixos-config=minimal.nix)|grep -m1 busy) | grep system
<woffs> getting x86_64-linux
<warbo> the laptop accepts the '0y8...' hash, so if I use that I think it should work on both
<woffs> manveru: even rather old nixpkgs revisions show x86_64-linux there, so it must be something different
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vAIaZ
<NixOS_GitHub> nixpkgs/master 4ffe462 Tim Steinbach: docker-edge: 18.01.0 -> 18.02.0
NixOS_GitHub has left #nixos [#nixos]
<srk> anyone experienced random kernel hangs on i7 with 4.15.1 kernel and proprietary nvidia drivers?
<srk> think it was happening on latest 4.9 as well but only after I've migrated to another ssd
<dtz> i have not! But tbh I mostly keep my nvidia card powered off :3
<warbo> woffs: what's the problem you're having? that shell snippet looks unrelated to my hashing issue...
<warbo> woffs: note that when I said laptop is i686 and server is x64, those are two different machines; not a server running on my laptop ;)
iyzsong has quit [Ping timeout: 248 seconds]
<woffs> warbo: I just noticed the x86_64 vs i686 thing, and I'm running a similar setup and am having different hashes on the same expressions
leat has quit [Ping timeout: 276 seconds]
<woffs> but with a 32bit nix on the 64bit machine it seems to work
chreekat has joined #nixos
<warbo> hurray, my build works on the server now :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] thorstenweber83 opened pull request #34764: python.pkgs.awesome-slugify: fix build (master...fix-awesome-slugify) https://git.io/vAIVa
NixOS_GitHub has left #nixos [#nixos]
revtintin has joined #nixos
ilyaigpetrov_ has joined #nixos
<sphalerite_> woffs: warbo: yeah the derivations should both work on an x86_64 machine and produce the same output path; it's just that they have different curls implementing them
ilyaigpetrov_ has quit [Client Quit]
ilyaigpetrov has joined #nixos
<warbo> sphalerite_: woffs: I'd imagine you could overcome that by either making them fixed-output (preferable) or by adding a layer of indirection which then gets imported (less desirable, since it causes building at eval time and may not work in restricted mode, e.g. on Hydra)
<sphalerite_> warbo: they *are* fixed-output
<sphalerite_> which is why they produce the same output
<sphalerite_> They're just implemented differently.
<warbo> ah, that's fine then
<pie_> hodapp, it seems to me that i have bashInteractive via nix-env
<lassulus> does someone know how I can build pandoc statically with nix, so I can run the binary on a machine without nix?
tgunb has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] greedy opened pull request #34765: libproxy: fix building on darwin (master...fix/libproxy-darwin) https://git.io/vAIw9
NixOS_GitHub has left #nixos [#nixos]
warbo has quit [Read error: Connection reset by peer]
warbo has joined #nixos
Sonarpulse has joined #nixos
coot has quit [Quit: coot]
ma271 has quit [Ping timeout: 255 seconds]
ma272 has joined #nixos
<joepie91> lassulus: not technically a static build, but look into https://github.com/matthewbauer/nix-bundle
coot has joined #nixos
<warbo> interesting
<warbo> reminds me of guix pack
warbo has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
hyper_ch2 has quit [Quit: Page closed]
xcmw has quit [Ping timeout: 248 seconds]
Arcaelyx has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAIoz
<NixOS_GitHub> nixpkgs/master 6f56749 zimbatm: asciidoctor: expose all the bins...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 465d7c5 Jörg Thalheim: Merge pull request #34763 from zimbatm/asciidoctor-pdf-fix...
<lassulus> joepie91: cool, I'm a little bit confused how to give it a default.nix which overrides my pandoc with some custom flags.
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 814a931 thorstenweber83: python.pkgs.awesome-slugify: fix build (#34764)...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAIo5
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34765: libproxy: fix building on darwin (master...fix/libproxy-darwin) https://git.io/vAIw9
NixOS_GitHub has left #nixos [#nixos]
raynold has quit [Quit: Connection closed for inactivity]
<tilpner> lassulus - nix-bundle.sh 'import ./. {}' /bin/foo
<tilpner> Maybe also try adapting http://vaibhavsagar.com/blog/2018/01/03/static-haskell-nix/ , nix-bundle might be too slow for you
warbo has joined #nixos
<genesis> lassulus : i'm working on my own solution to do that , based on a fork of appimage + buildenv
<genesis> perharps i'll call that nixpak :)
bfrog has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAIKB
<NixOS_GitHub> nixpkgs/master 03ad93a Jörg Thalheim: Merge pull request #34701 from holidaycheck/chromedriver-2.35...
<NixOS_GitHub> nixpkgs/master 7bd68df Mathias Schreck: chromedriver: 2.33 -> 2.35
Tucky has quit [Quit: WeeChat 2.0.1]
fragamus has joined #nixos
arjen-jonathan has quit [Ping timeout: 240 seconds]
endformationage has joined #nixos
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mnacamura opened pull request #34766: rPackages.pbdZMQ: fix package loading on Darwin (master...r-pbdZMQ-fix-darwin) https://git.io/vAIix
NixOS_GitHub has left #nixos [#nixos]
stephenjudkins has quit [Remote host closed the connection]
Guest38534 has quit [Quit: leaving]
aminechikhaoui has joined #nixos
aminechikhaoui is now known as Guest73477
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAIPu
<NixOS_GitHub> nixpkgs/master 56a2198 Jens Binkert: typora: 0.9.41 -> 0.9.44
<NixOS_GitHub> nixpkgs/master 4cf5684 Jörg Thalheim: Merge pull request #34673 from jensbin/typora_0.9.43...
leat has joined #nixos
griff_ has quit [Quit: griff_]
Guest73477 has quit [Remote host closed the connection]
coot has quit [Quit: coot]
aminechikhaoui has joined #nixos
aminechikhaoui is now known as Guest60246
nuncanada2 has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
Guest60246 has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34635: hcloud: init at 1.3.0 (master...hcloud-init-v1.3.0) https://git.io/vNhx4
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tokudan opened pull request #34767: firefox-bin: 58.0.1 -> 58.0.2 (release-17.09...release-17.09) https://git.io/vAIPj
NixOS_GitHub has left #nixos [#nixos]
Jackneill has joined #nixos
nuncanada has quit [Ping timeout: 248 seconds]
asuryawanshi has joined #nixos
aminechikhaoui has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #34766: rPackages.pbdZMQ: fix package loading on Darwin (master...r-pbdZMQ-fix-darwin) https://git.io/vAIix
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34768: pythonPackages.dateparser: 0.6.0 -> 0.7.0 (master...dateparser) https://git.io/vAIXr
NixOS_GitHub has left #nixos [#nixos]
ryanartecona has quit [Quit: ryanartecona]
bfrog has quit [Ping timeout: 260 seconds]
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ssmike has joined #nixos
AluisioASG has quit [Remote host closed the connection]
rogue_koder has joined #nixos
oida has joined #nixos
AluisioASG has joined #nixos
mizu_no__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34769: pythonPackages.pytz: 2017.3 -> 2018.3 (staging...pytz) https://git.io/vAI1x
NixOS_GitHub has left #nixos [#nixos]
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
ZaraChimera has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34627: rhash: 1.3.3 -> 2018-02-05 (staging...update/rhash-git) https://git.io/vNhge
NixOS_GitHub has left #nixos [#nixos]
spietz has joined #nixos
jmeredith has joined #nixos
iqubic` is now known as iqubic
bollu has joined #nixos
johnchildren has quit [Quit: leaving]
bollu has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34770: abcmidi: 2018.01.25 -> 2018.02.07 (master...abcmidi) https://git.io/vAIMB
NixOS_GitHub has left #nixos [#nixos]
ZaraChimera has quit [Ping timeout: 255 seconds]
<hakujin> how do I include ancillary dependencies (e.g. postgres) when testing a project with hydra?
goibhniu has quit [Ping timeout: 240 seconds]
<gchristensen> hakujin: hydra will just call `nix-build` so do whatever you need for your thing to be tested with postgres when you call `nix-build ./your-thing.nix`
bollu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #34771: flexget: mark as broken (master...flexget) https://git.io/vAIDT
NixOS_GitHub has left #nixos [#nixos]
<hakujin> gchristensen: hmm. I would do that in a pre/post shell script in `your-thing.nix`?
<hakujin> setup/tear down
gspia has quit [Quit: Leaving]
<gchristensen> what are you trying to do?
ZaraChimera has joined #nixos
gspia has joined #nixos
<hakujin> make sure postgres is running with specific database structure present
bollu has quit [Client Quit]
<hakujin> e.g. migrations
<gchristensen> you probably want a NixOS test, look in nixos/tests/
<hakujin> aha, thanks
ma273 has joined #nixos
ma272 has quit [Remote host closed the connection]
JosW has joined #nixos
lonokhov has quit [Quit: Lost terminal]
bollu has joined #nixos
betaboon has joined #nixos
ZaraChimera has quit [Remote host closed the connection]
ZaraChimera has joined #nixos
<LnL> I made something that does that in a regular build, but that's for a weird reason. A nixos test is the correct way to solve that
freeman42x[NixOS has quit [Ping timeout: 268 seconds]
<LnL> so you got your hydra setup working?
<hakujin> LnL: sort of!
winem_ has quit [Ping timeout: 268 seconds]
<hakujin> I have projects & PRs building. I hear there is a way to integrate PR jobsets with github's status indicator but I'm unsure how that works.
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<hakujin> I also don't know the best way to deploy built artifacts
__Sander__ has quit [Quit: Konversation terminated!]
<hakujin> concrete example: I have a haskell yesod app I want to build, test, and then potentially deploy to a running nixos machine.
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<hakujin> I have the build and test parts mostly working. I'm pretty fuzzy on the best strategy for deploying.
<hakujin> have used `https://github.com/awakesecurity/nix-deploy` to deploy a new nixos system configuration containing the yesod app, and that works pretty well.
<hakujin> I don't know how to tie hydra into that picture though.
ryanartecona has joined #nixos
<LnL> there a github plugin but I’ve not used that
coot has joined #nixos
<hakujin> LnL: are you familiar with how hydra's plugin system works in general?
toppler has quit [Read error: Connection reset by peer]
<LnL> as for deployment, you can only use it to get the source of the last successful build, there’s nothing fore impure actions
<LnL> you’d have to make it pull based or do the deployment somewhere else
toppler has joined #nixos
stephenjudkins has joined #nixos
bfrog has joined #nixos
griff_ has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
ertes-w has quit [Remote host closed the connection]
digitus has joined #nixos
<sphalerite_> is it possible to do remote builds in a more ad-hoc way than the rather heavy-handed remote builder setup which AFAICT can't be disabled per-build?
bfrog has quit [Ping timeout: 252 seconds]
<gchristensen> yeah
<gchristensen> nixos-rebuild supports it, see also https://github.com/nix-community/aarch64-build-box/blob/master/build.sh reimplementss what nixos-rebuild doees
JosW has quit [Remote host closed the connection]
<sphalerite_> ah, not bad
<LnL> the --no-build-hook was added recently
<sphalerite_> What would also be great is if I could get it to prefer binary caches over copying dependencies from the build initiator
jorsn has joined #nixos
<LnL> similarly you could use --builders 'foo x86_64-linux' together with an empty machines file to disable it by default
asuryawanshi has joined #nixos
<LnL> that was also added in 1.12 :D
<sphalerite_> 2.0pre ;)
bfrog has joined #nixos
<sphalerite_> Good thing that's what I'm using
<sphalerite_> where are the docs on that?
<sphalerite_> aaah builders-use-substitutes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sjwalter opened pull request #34772: Fix broken URL for pinentry patch. (release-17.09...fix-pinentry-package) https://git.io/vAIQe
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has quit [Remote host closed the connection]
<sphalerite_> great, thanks LnL and gchristensen !
asuryawanshi has joined #nixos
alex`` has quit [Quit: WeeChat 2.0.1]
earldouglas has left #nixos [#nixos]
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
tabaqui1 has joined #nixos
abathur has quit [Ping timeout: 260 seconds]
coot has quit [Quit: coot]
Synthetica has quit [Quit: Connection closed for inactivity]
<genesis> i need to build this nix 1.12, any hints ?
<sphalerite_> genesis: nix 1.12 isn't released and never will be
<genesis> -:1: parser error : Document is empty
<genesis> i get some error doing that, anyway 2.0pre or anything that use buildenv.cc :)
<sphalerite_> ok. What are you trying, and what are you expecting to happen?
<genesis> i git clone nix repo, i do some ./bootstrap.sh && ./configure && make
<genesis> but INSTALL is missing ...
<sphalerite_> Do you have an earlier version of nix already?
<simpson> Why not use Nix to build Nix? What's your overall goal?
<sphalerite_> If so, just build it using nix-build '<nixpkgs>' -A nixUnstable
yann-kaelig has joined #nixos
<genesis> ho it's called "nixUnstable" oki thanks
mizu_no__ has quit [Quit: Computer has gone to sleep.]
<genesis> i've still some pills to take :)
<genesis> (i'm @ 7)
warbo has quit [Ping timeout: 240 seconds]
phdoerfler has joined #nixos
<sphalerite_> yeah the pills are from before the innovations of the current unstable
<genesis> i just wanted to look @ buildenv, it seems it has a lot of dependancies and no parameters hum
<sphalerite_> the right way to build nixUnstable from its source repository (e.g. if you need a feature that was introduced since the last bump on it in nixpkgs), the right way is to override the nixpkgs one or to build it using the release.nix in your checkout of the repo
xcmw has joined #nixos
<dtz> note you'll need to already be running nixUnstable to use its release.nix
<genesis> that is, because i've tried without success
<shlevy> Note that if you're trying to *locally* hack on nix, you can use nix-shell in the source repo, do bootstrap.sh and ./configure $configureFlags, then your eventual make install will install into $PWD/inst
<simpson> genesis: shlevy's advice is probably worth paying attention to, as they're the only one of us that actually hacks on Nix, I think~
<genesis> $ nix-build release.nix
<genesis> downloading ‘channel:nixos-17.09’...
<genesis> error: unable to download ‘channel:nixos-17.09’: URL using bad/illegal format or missing URL (3)
<shlevy> But this is not the right way to go ifyou want to actually install nix for use elsewhere
<genesis> if you tried with nix prior to the nix
<sphalerite_> dtz: oh hi :D sorry to pester you again, but any news on publicly usable ALLVM?
<sphalerite_> genesis: right, that'll be because the release.nix uses some nixUnstable-specific features as dtz mentioned
ryanartecona has quit [Quit: ryanartecona]
<genesis> i show i tried, now i understand why it has failed
griff_ has quit [Quit: griff_]
<genesis> i think about something to bundle between appiamge and nix-bundle
<genesis> i wonder if i can use the buildenv of the 1.12, i've to study that.
<simpson> genesis: Seriously, take one step back; what's the higher-level goal?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34773: eschalot: init at 2018-01-19 (master...eschalot) https://git.io/vAIdz
NixOS_GitHub has left #nixos [#nixos]
<genesis> as appimages, provides portable software
jorsn has quit [Ping timeout: 260 seconds]
<gchristensen> have you seen nix-bundle?
<genesis> i've a look yes
<simpson> Oh. I don't know much about AppImage; is is more or less a tarball with a rootfs and some metadata?
<genesis> i speak with mattew
<genesis> it's a squashfs
<genesis> yes with standard xdg desktop as metadata
<simpson> Oh hey, nix-bundle has AppImage support. Never mind. Try out nix-bundle.
<genesis> i try but i don't get it works AND what i want to do is between them both ;)
<dtz> Anyone have thoughts on this PR? Not crazy critical but fixes problems with our latex distribution. https://github.com/NixOS/nixpkgs/pull/33698
<sphalerite_> I think the thing with nix-bundle is that it comes with the weaknesses that AppImage has on its own too, which is that dependencies are rapidly outdated and the images are huge. It usually ends up making more sense to just use nix on the target systems.
<simpson> There is no "both" with Nix. There is only Nix.
<genesis> sphalerite_ : yes BUT have a working nixpak that works everywhere will come people on nix
<dtz> It's amusing that it supports appimage since appimages don't always work on NixOS. Or they didnt previously.
<genesis> because on appimages, they spend time writing awful script to build and populate their directory
<simpson> genesis: Oh, ew, don't do that. It will be *much* better for people to have a real Nix installation.
<sphalerite_> genesis: not really, since it doesn't provide any of its advantages.
<simpson> Anyway, if nix-bundle doesn't work perfectly for you, hack it until it works and send in PRs. Failing that, have short reproducible test cases (see http://sscce.org/ for examples) and file issues.
<simpson> But it looks quite good. It looks so good that I'm thinking about adopting it right now.
<genesis> some people won't change their distribution and still want a snappy/flak or appimages style of binary
<sphalerite_> you don't need to chagne your distribution to use nix
<simpson> Who cares about "some people"? What's your use case *today*?
<duncan^> simpson: It is far worse than that - the AppImage is in a weird format that is a combination of ISO CD format and something else. And it bundles *everything*. And then they manipulate the binary header to make it appear as an executable
fractal has quit [Disconnected by services]
raynold has joined #nixos
<simpson> duncan^: Sounds terrible. Life outside Nix must be suffering.
beginner has joined #nixos
<duncan^> And they have a semi-automated setup on Github where they will create pull requests for various projects adding AppImage support
<duncan^> as in
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<duncan^> weird tiny little programs will get a pull request asking for AppImage support
<genesis> not really they concatenate a elf to a squashfs
<duncan^> and it involves changing the actual source code of the program
<duncan^> ie blegh
<duncan^> ew
<genesis> yes their people sucks it's why i left the project ...
<gchristensen> be nice :)
<genesis> i spend 2 days trying to do an appimages derivation to nix, you can't understand how suffering
<gchristensen> NixOS semi-regularly patches software too
<duncan^> I would rather see Nix be POSIX compliant.
<genesis> they call git clone in shell script called by cmake in make and so, i've never seen such things in 15 years in FOSS.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #34489: nixos/release*.nix: Clean nixpkgs sources by default (master...nixos-drv-closure-size) https://git.io/vNdPM
NixOS_GitHub has left #nixos [#nixos]
<simpson> genesis: I lived in a university computer lab for 2mo debugging an Angstrom/BitBake build.
<dtz> genesis: lol! what's the project, is there a branch/PR for that?
<genesis> i use that, it's not bad!
<duncan^> Angstrom is pretty awesome for embedded
<genesis> i love openembedded
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 67b0496 Markus Kowalewski: uhd: uhd firmware 3.7.3->3.10.3, lock img version to host tools...
<NixOS_GitHub> nixpkgs/master 56253af Markus Kowalewski: uhd: 3.10.2.0 -> 3.10.3.0
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master d251a4b Markus Kowalewski: uhd: revert boost back standard version
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to master: https://git.io/vAIFK
<dtz> \o/ that uhd thing is finally fixed lol
<genesis> when i did the first distribution of nao aldebaran robotics, i choose this system :)
<dtz> I don't even use it, just was helping fix it xD
simukis has quit [Ping timeout: 268 seconds]
<genesis> could be very good if mozilla choose it instead of make their firefoxos
<sphalerite_> duncan^: I gather you're in Edinburgh?
<duncan^> sphalerite_: yes. (Maybe take this to PM?)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to staging: https://git.io/vAIbJ
<NixOS_GitHub> nixpkgs/staging bd92592 Robert Schütz: pythonPackages.pytz: 2017.3 -> 2018.3
<NixOS_GitHub> nixpkgs/staging 2f8f967 Frederik Rietdijk: Merge pull request #34769 from dotlambda/pytz...
NixOS_GitHub has left #nixos [#nixos]
xcmw has joined #nixos
coot has joined #nixos
orivej has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #34305: nixos/tests: add predictable-interface-names.nix (master...predictableifacetest) https://git.io/vN12g
NixOS_GitHub has left #nixos [#nixos]
iqubic has quit [Ping timeout: 276 seconds]
revtintin has quit [Ping timeout: 256 seconds]
xcmw has quit [Ping timeout: 248 seconds]
fractal- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #32582: yabar: add module (master...yabar-module) https://git.io/vbEd3
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #33700: nixos: Add nixpkgs.pkgs option (master...nixos-externalpkgs) https://git.io/vNYWT
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34771: flexget: mark as broken (master...flexget) https://git.io/vAIDT
NixOS_GitHub has left #nixos [#nixos]
tmaekawa has joined #nixos
Lisanna has joined #nixos
tmaekawa has quit [Client Quit]
<Lisanna> clever I confirmed that replaceDependency DOES in fact replace not only oldDependency with newDependency, but also updates all of the recursive references to the new drv
alex`` has joined #nixos
alex`` is now known as alexherbo2
alexherbo2 is now known as alex``
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master bd3379c Peter Simons: haskell-generic-builder: include build-tool dependencies in shell environments...
<NixOS_GitHub> nixpkgs/master 2c13435 Peter Simons: haskell-generic-builder: revert "set LD_LIBRARY_PATH in shellHook"...
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vAIAu
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 1cba74d aszlig: setup-hooks: Add autoPatchelfHook...
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vAIAM
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig closed pull request #34506: setup-hooks: Add autoPatchelfHook (master...auto-patchelf-hook) https://git.io/vNbOB
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34640: graphviz: Explicitly specify libltdl directories (staging...reduce-graphviz-impurity) https://git.io/vNjYX
NixOS_GitHub has left #nixos [#nixos]
bfrog has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vAIxC
<NixOS_GitHub> nixpkgs/staging 9c105bd Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos [#nixos]
rardiol1 has left #nixos [#nixos]
<sphalerite_> LnL: looks like --no-build-hook isn't recent after all, c370755583d7350f4b96136eb0a6a8a7b08551b1 from Nov 2007 :D
<sphalerite_> doesn't exist in nix build yet though :(
<sphalerite_> oh no, it was removed in favour of --builders ''
bfrog has joined #nixos
lexooohhh has quit [Ping timeout: 260 seconds]
JosW has joined #nixos
<LnL> oh must be what I’m thinking of then
ssmike has quit [Ping timeout: 256 seconds]
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #34776: figlet: simplify, enable tests, fix for cross and musl (master...fix/fidget-cross) https://git.io/vAIh8
NixOS_GitHub has left #nixos [#nixos]
knupfer has quit [Ping timeout: 260 seconds]
fendor has joined #nixos
ryanartecona has joined #nixos
ryanartecona has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 13dda44 Peter Simons: haskell-with-packages-wrapper: don't bother with extraOutputsToInstall...
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vAIjq
NixOS_GitHub has left #nixos [#nixos]
griff_ has joined #nixos
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/1b83e435648 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
FRidh has quit [Quit: Konversation terminated!]
catch22 has joined #nixos
<LnL> anybody familiar with kernel config stuff, I'm having trouble figuring out why something is not showing up in kallsyms
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34777: pythonPackages.pytest-httpbin: actually run tests (master...pytest-httpbin) https://git.io/vALeO
NixOS_GitHub has left #nixos [#nixos]
freeman42x[NixOS has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] oxij opened pull request #34778: nixos: export packages of the current configuration (master...os/allow-pkgs) https://git.io/vALeo
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34768: pythonPackages.dateparser: 0.6.0 -> 0.7.0 (master...dateparser) https://git.io/vAIXr
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vALeD
<NixOS_GitHub> nixpkgs/master 84a6d8a Frederik Rietdijk: Merge pull request #34777 from dotlambda/pytest-httpbin...
<NixOS_GitHub> nixpkgs/master 6ae627b Robert Schütz: pythonPackages.pytest-httpbin: actually run tests
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a51cda85ff3 (from 72 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mekaj has joined #nixos
<LnL> I don't get it...
garbas has joined #nixos
jsgrant has joined #nixos
<jsgrant> So, webkitgtk is breaking my attempts to rebuild; Looking for reverse-depends with '''nix-store --query --referrers $(which webkitgtk)''' and nothing; Am I missing something obvious?
stephenjudkins has quit [Read error: Connection reset by peer]
xcmw has joined #nixos
stephenjudkins has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin closed pull request #34772: Fix broken URL for pinentry patch. (release-17.09...fix-pinentry-package) https://git.io/vAIQe
NixOS_GitHub has left #nixos [#nixos]
griff_ has quit [Quit: griff_]
<tokudan[m]> jsgrant: if the rebuild fails, you wont see anything on your current system, as it's still fine
<tokudan[m]> jsgrant: you need to look at the output of the rebuild to see what exactly is failing
bfrog has quit [Ping timeout: 256 seconds]
bfrog has joined #nixos
<sphalerite_> jsgrant: webkitgtk also doesn't have an executable AFAIK
beginner has quit [Ping timeout: 260 seconds]
ryanartecona has joined #nixos
hakujin has quit [Ping timeout: 248 seconds]
coot has quit [Ping timeout: 248 seconds]
<jsgrant> tokudan[m], sphalerite_: My point is more-so I'm trying to find what is causing it, without explicitly just allowing it as an 'insecure package'. https://paste.fedoraproject.org/paste/XhtxhFuH4MZAcuUJ966QgA/raw
<jsgrant> From readout, seems trivial to whitelist -- but want to know what's depending on it in the first-place and maybe just disable it, if I don't really use/need it.
<toppler> Hey. I'd like to be able to get an environment which combines packages from haskellPackages with packages generated by stackage2nix. I've got my nix files generated by stackage2nix, but I'm not really sure where to go there in creating a default.nix file for my project.
<jsgrant> I'm back to NixOS on my secondary box; So doesn't need to really be hardened/perfectly secure (I wouldn't be using unstable probably, if I needed to) -- but still.
MichaelRaskin has joined #nixos
MP2E has joined #nixos
<Lisanna> I think nixpkgs needs a general-purpose "editDerivation" function. I'm sure most of us have written something like this at some point - where you just want to do a runCommand on a derivation but otherwise keep everything else the same
gfixler has joined #nixos
<Lisanna> "edit" is misleading though, since it would still produce a new derivation with a new $out
<gchristensen> like overrideAttrs?
<Lisanna> gchristensen sort of, but for arbitrary derivations, and without regenerating it
mekaj has quit [Quit: Page closed]
<Lisanna> like, if the derivation is a configuration file, and you just want to edit it, or a directory of configuration files
<Lisanna> or source code
<LnL> so like stdenv.mkDerivation { src = drv; ... }
<Lisanna> LnL yes, but that is limited, since you have to write a bunch of stuff like cp -rH $src $out or wahtever the correct cp command is
<Lisanna> and you probably also need a chmod in there
<Lisanna> simply put, it's a mess
pie_ has quit [Ping timeout: 248 seconds]
<gchristensen> oh I have something like this, you might want it
<Lisanna> plus it doesn't deal with recursive references
<jsgrant> Eh, screw it; I'll allow it as permittedInsecure for now -- until I do more on/with it at least, generally.
<Lisanna> much better way: take the implementation of replaceDependency, remove the oldDerivation newDerivation functionality so that it just fixes recursive references, and then accept as input some arbitrary shell commands to run after the nix-store --restore $out
<Lisanna> gchristensen sure, I'd be interested in seeing it
alexteves_ has quit [Ping timeout: 256 seconds]
<Lisanna> ah, that'll work only on derivations which are single files
<Lisanna> anyways, I'm going to write an implementation of editDerivation like I described, it'll be usable on arbitrary derivations. If I can get approval, I'll upstream it
<gchristensen> cool :)
<Lisanna> should be pretty straightforward to implement though, in case I don't pull through :)
<Lisanna> gchristensen also, I learned about string contexts yesterday x_x
<gchristensen> ohh yeah
Turion has joined #nixos
<LnL> hmm, build-vm-with-bootloader seems broken on master
<Lisanna> and why you might want ot remove them with unsafeDiscardStringContext
<jsgrant> Ha, judging by depends on rebuild ... looks like Texlive is what depended on webkitgtk; Weird.
<Turion> Does anyone else have trouble lately installing ghcjs?
tnks has joined #nixos
<Turion> It hangs on the package contravariant
pie_ has joined #nixos
srid has quit []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sjwalter opened pull request #34780: Fix pinentry which broke due to upstream patch change (release-17.09...fix-pinentry-again) https://git.io/vALIq
NixOS_GitHub has left #nixos [#nixos]
srid has joined #nixos
hakujin has joined #nixos
pcarrier has quit []
pcarrier has joined #nixos
<dhess> I just want to say thanks to all the Nix folks. Since installing a Hydra a few weeks ago, combined with Nix, it has completely changed the way I develop, test, and build software. It's absolutely amazing.
<sphalerite_> \o/
hakujin has quit [Ping timeout: 256 seconds]
<dhess> It'd say that, in terms of how it has affected my software engineering practices, it's been as transformative as git was.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Pneumaticat opened pull request #34782: looking-glass-client: restrict to x86_64-linux (master...patch-1) https://git.io/vALIx
NixOS_GitHub has left #nixos [#nixos]
<Turion> That's great :D
<gchristensen> dhess: :o :D (ノ◕ヮ◕)ノ*:・゚✧
<dhess> heheh, I expected a table-flip there, never seen the stardust version
<gchristensen> https://textfac.es/
<dhess> I am bookmarking that one
<jsgrant> dhess: If NixOS ever gets like 25% of the mindshare Git has -- oh boy, THAT would be transformative.
<sphalerite_> hell, 1%
<jsgrant> sphalerite_: Yeah, probably true.
<dhess> jsgrant: If I were just a pure entrepreneurial type, I would start a Nix-based competitor to Docker.
<dhess> I'm pretty surprised nobody has
<jsgrant> dhess: Too much money already in containers; And they are "less restrictive".
<dhess> It's way too early to say that, IMO
<toppler> dhess: I'm always interested in decent analyses of Docker and nix, but there is basic stuff in docker that people like that we don't have in nix, like each docker instance having its own ip and port space.
<jsgrant> dhess: Idk, I used to think that; Redhat just bought CoreOS ... kindof made me waver a bit.
<dhess> toppler: that's what the VC $$ is for :)
<gchristensen> IMO the way for Nix to compete in the Docker space is to embrace it and produce Docker containers
<MichaelRaskin> I am not sure RedHat can attract VC money by now… or wants to…
<samueldr> speaking of docker containers, anyone here using dockerTools from nixpkgs?
<dhess> Redhat is publicly traded, they're definitely not a VC target
<jsgrant> MichaelRaskin, Nah, but they can acquire projects that had a lot of it funneled in.
<MichaelRaskin> That's true.
<toppler> samueldr: I am trying.
<samueldr> I'm trying too!
<samueldr> but I had a rubber-duck moment, while trying to ask my question
<samueldr> (may have found my issue)
<Lisanna> samueldr toppler I /tried/
<jsgrant> Idk, the older I get (and probably a good thing, but certainly a sad thing) the more of a cynic I become -- especially when it comes to the market relevance of "the best stuff".
<dhess> gchristensen: you could start there, and then if you got traction, once people are familiar with Nix and the way it works, you could then attempt to pivot to a pure Nix approach
<LnL> I use it to build an image with nix inside of it :p
<dhess> "embrace and extend" and all that
<gchristensen> =)
<jsgrant> But I also REALLY got burnt (probably by/from myself) on Lisp and the like; Still probably just sour on that. :^P
<toppler> jsgrant: Oh, that cynicism hit me at age 19, when I found myself following around grumpy Lisp hackers at an impressionable age.
<MichaelRaskin> «That is how you build Docker containers sanely. In fact, you can build other stuff, too. In fact, are you sure you do need docker and not just mere nsjail?»
<samueldr> (in my particular use case it has to run in a docker vm and I'm not in control of that part :[)
<jsgrant> toppler, Ha; Similar treks -- Except I was REALLY overly optimistic and lived in a near absolutist Lisp env & was starting to work backwards from a Emacs-as-a-desktopenv , to distro, to os.
<MichaelRaskin> The problem is that five years ago there still was no credible language to replace the good parts of Lisp even if with a different balance. Nowadays — maybe Julia can mature into that niche.
digitalmentat has joined #nixos
<jsgrant> Was around that age too.
<MichaelRaskin> jsgrant: Hm…
<MichaelRaskin> Remind me around 19th…
<jsgrant> MichaelRaskin, Hm?
<jsgrant> Oh!
<Lisanna> docker on nix is probably always going to be limited, because nix stores the images as compressed files on disk rather than in a docker database
<jsgrant> Sorry, missed earlier msg
<digitalmentat> how does Nix track dependencies of a derivation? I know that if you interpolate a derivation into, say, the builder of another the "input derivation" is built in order to satisfy the builder it's being interpolated into
<Lisanna> so a nix solution will also be heavier on disk space
<jsgrant> MichaelRaskin: Tooling was kind of shit too; Not too long ago in CL.
<Lisanna> and docker already sucks royally on that front
<digitalmentat> but does Nix do any additional "tracking" of that input derivation?
<jsgrant> Now Roswell & Quicklisp has helped A LOT.
<digitalmentat> or is that specifically what buildInputs is for?
<jsgrant> Still very niche, obviously.
asuryawanshi has quit [Ping timeout: 240 seconds]
<Lisanna> digitalmentat runtime deps of a dependency are computed by scanning the bytes of the derivation for /nix/store paths
<MichaelRaskin> jsgrant: well, you can search for «Lisp in the middle»; I am currently preparing a submission for this year ELS. It does concern Lisp, Nix, and what parts of OS you want to manage.
<digitalmentat> Lisanna, well there are runtime and buildtime deps - I'm specifically talking about buildtime deps
<Lisanna> oh, oops
<digitalmentat> for instance, if I have a computer that cannot talk to the internet and I want to build a new configuration from a closure with "everything included"
<gchristensen> its a good thing hetzner cloud doesn't mind churning VMs... I say, destroying then launching his 5th time today
<samueldr> only 5?
<gchristensen> 50th*
<dhess> gchristensen: are you happy with it so far? I am tempted to move some VMs there
<jsgrant> MichaelRaskin: Problem is I have an absolutist if not generally too excitable kindof mind; It makes it really hard for me to detach and be moderate.
<jsgrant> Is actually pretty obnoxious, really.
<gchristensen> dhess: its cheap :)
<dhess> gchristensen: what about good?
<samueldr> let's hope it's billed at the minute and not the hour or longer :)
<MichaelRaskin> jsgrant: yes, my lightning talk was «if you want a Lisp OS ever again, you need to pick your battles, that's why, that's how»
<dhess> cheap/fast/good pick any 2
<gchristensen> dhess: all I know is it is cheap and provisioning new instances takes just a minute or so
<dhess> gchristensen: do they give you IPv6? Specifically, do they give each instance a routed /56 or larger?
<gchristensen> dhess: they seem to give a /64
<sphalerite_> digitalmentat: I think nix tracks dependencies during evaluation through the "string context" mechanism. Not sure though.
<jsgrant> MichaelRaskin: That's so hard to do though in practice man -- because typically the people interested in such things in the first-place, have really high-bars in terms of purity tests; Prohibitively so.
oida has quit [Ping timeout: 240 seconds]
<digitalmentat> sphalerite_, okay so is it a bug that libxslt and dbus are not explicitly added to the nativeBuildInputs in this runCommand: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/dbus/make-dbus-conf.nix ?
<dhess> gchristensen: well, that's better than most, anyway
<jsgrant> I've been getting a 'little better' at picking battles, technologically; But I was/am so bad at it at start -- that still probably less than "the norm"; Do think there is a certain kindof programmer that has some kind of pathology that lends to this though. :^P
<sphalerite_> digitalmentat: no. buildInputs is just one way that a derivation can end up depending on another. It has no special meaning on the nix level, it's only handled by stdenv.mkDerivation in nixpkgs
MinceR has quit [Ping timeout: 264 seconds]
<digitalmentat> sphalerite_, so I have an exported closure that I'm trying to build a configuration from on a machine without internet access
<sphalerite_> digitalmentat: you may be looking for nix-store -q --references on the .drv file
<digitalmentat> dbus-1 depends on libxslt
<sphalerite_> ah right. Hm
<digitalmentat> but libxslt isn't included in the closure
<digitalmentat> now, adding it to the closure is straight-forward
<digitalmentat> I'm just trying to make sure I have my understanding of how this is working, right
<sphalerite_> so you only need to build the one derivation on the unconnected machine?
<jsgrant> That's when you market your ideological-leanings as "enthusiast". X^D
MinceR has joined #nixos
<digitalmentat> dbus-1.drv is a depenency of an etc.drv I think
<digitalmentat> yeah
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #34784: smplayer: 17.9.0 -> 18.2.0 (master...smplayer-18.2) https://git.io/vALmt
NixOS_GitHub has left #nixos [#nixos]
<pie_> so im trying to get matplotlib to have some more functionality https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/matplotlib/default.nix i need to pass enableGTK3
<digitalmentat> in other words, nix-store --export isn't picking up the fact that libxslt is a dependency of dbus-1
<pie_> how do i do that in the context of dmmpython = pkgs.python27.withPackages (ps: with ps; [ numpy pyusb matplotlib ]);
<MichaelRaskin> jsgrant: well, there are people who are interested in trying to do at least something.
<sphalerite_> digitalmentat: oh right. See the man page for nix-store, it mentions that --export doesn't produce the closure and how to do so
<digitalmentat> okay I will read it, thank you for the tip
<jsgrant> MichaelRaskin: Yeah, there's nothing wrong with throwing your hat in the ring -- if you can manage it and your time/energy properly; Not end up a Terry A Davis-like character; Which I started to notice myself slowly shifting towards.
<MichaelRaskin> Let's just say that login prompts on my notebook have an SBCL instance in their path to PID1
<jsgrant> MichaelRaskin, Good man. :^)
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<MichaelRaskin> I also don't have setuid sudo.
<samueldr> how do you elevate your privileges?
NeedABitOfHelp has joined #nixos
<NeedABitOfHelp> Hey!
<pie_> let me guess
<pie_> you NeedABitOfHelp ;P
* jsgrant has practically been in a Lisp-Detox for a year though; Noticed he was having a really hard time reading anything else ... but was also spending 10 hour days on Commoda, so that surely was part of it.
kochev has joined #nixos
<NeedABitOfHelp> Yep Haha!
<NeedABitOfHelp> So, Ive been trying to install Polybar on nixos
<MichaelRaskin> samueldr: an SBCL instance with a daemon loaded that accepts requests over a socket and makes access decisions
<samueldr> cool
<jsgrant> In-fact my inability to read anything more than a few oneliners in most other langs, I even had a little exposure to prior, noticed there was a problem.
<MichaelRaskin> And it uses an access criterion that somehow is hard to get with default sudo installations.
<NeedABitOfHelp> I managed to get the configuration.nix file working and got it to compile with all the modules(it only comes with 2 by default)
<jsgrant> Idk, still very weird looking back on all that (sorry for chanspam).
<gchristensen> #nixos-discusses-lisp
<NeedABitOfHelp> But, when I try to run it, polybar still only works with 2 of the 5 modules
<jsgrant> gchristensen, -> #guix ?
<gchristensen> no no, let's keep it nixos! :)
<MichaelRaskin> gchristensen: I think it is time to try reviving #nixos-blah
<MichaelRaskin> It even exists
<samueldr> isn't it ##$channel_name that's the off-topic channel, the convention on freenode?
<gchristensen> ##channel means non-official, not offtopic
<gchristensen> there is no #php but there is a ##php because PHP.net doesn't declare Freenode its official home
<samueldr> ah, good
alex`` has quit [Ping timeout: 256 seconds]
kochev has quit [Ping timeout: 260 seconds]
<NeedABitOfHelp> Can anyone help?
ZaraChimera has quit [Ping timeout: 255 seconds]
<jsgrant> NeedABitOfHelp, Paste service?
ottidmes has quit [Quit: WeeChat 1.9.1]
fenedor has joined #nixos
<NeedABitOfHelp> Umm, I'm a bit confused on what you mean
<NeedABitOfHelp> I'm still very new to nix
<NeedABitOfHelp> Here is my reddit post about it
<jsgrant> NeedABitOfHelp, Post the relevant bits of your config to a service that allows you to paste and share it via link?
<NeedABitOfHelp> Ohh sure
<MichaelRaskin> Well, the reddit post does seem to contain useful copy-pasted data
<NeedABitOfHelp> (pkgs.polybar.override {i3GapsSupport = true; alsaSupport = true; githubSupport = true; iwSupport = true; mpdSupport = true;})
fendor has quit [Ping timeout: 248 seconds]
<NeedABitOfHelp> I have that in my configuration.nix
digitalmentat has quit [Quit: Leaving]
<NeedABitOfHelp> When I compile , I get this: -- [X] alsa -- [X] curl -- [ ] i3 -- [X] mpd -- [X] network -- X extensions:
<NeedABitOfHelp> And when I run `polybar -v`, I get Features: +alsa -curl -i3 -mpd +network
<MichaelRaskin> You say that you added cairo and it complained about cmake; did you try adding cmake to the arguments, too?
<NeedABitOfHelp> Yeah, I fixed that problem
<NeedABitOfHelp> Now it compiles fine, but I cant run the compiled version, I think
civodul has joined #nixos
dan_b has quit [Ping timeout: 248 seconds]
<sphalerite_> NeedABitOfHelp: have you also installed polybar using nix-env, by any chance?
<sphalerite_> try running nix-env -e polybar to uninstall it, in case.
<NeedABitOfHelp> Yep
<NeedABitOfHelp> I also tried to fun nix-env -u to update everything
<NeedABitOfHelp> run*
<sphalerite_> right. Your user profile packages and systemPackages from configuration.nix are independent of each other
oida has joined #nixos
<NeedABitOfHelp> Instreasting, I didnt know that
<sphalerite_> so if you install using nix-env -iA nixos.polybar you're installing the standard polybar. What you want to do is make sure you don't have a polybar in your user env, and nixos-rebuild switch to ensure that the polybar from your configuration is active
i-am-the-slime has joined #nixos
<sphalerite_> (and the user profile takes priority over the system profile)
M-Dan has joined #nixos
<NeedABitOfHelp> Ok, let me try that
<NeedABitOfHelp> Worked! Thanks so much
<NeedABitOfHelp> Thanks again!
NeedABitOfHelp has quit [Quit: Page closed]
scott has quit []
scott has joined #nixos
chreekat[m] has quit [Changing host]
chreekat[m] has joined #nixos
chreekat[m] has joined #nixos
ckauhaus has quit [Quit: Leaving.]
hiratara has quit [Ping timeout: 255 seconds]
<dhess> Quick NixOps question. I am considering moving some services into EC2. Some of these will be 24/7, so I want to use reserved instances for those.
<dhess> My understanding is that with EC2 I pay up front for, say, N reserved instances of type X, and basically I get a credit for those
<dhess> so when I deploy N instances of type X with NixOps, those will be billed at the reserved instance rate
<dhess> is that right?
hiratara has joined #nixos
<chreekat> dhess: that's right, the 'reservations' are applied at billing time, and it's confusing because (through the AWS UI) there's no way to actually link a particular reservation to a particular instance
<chreekat> someone please correct me if I'm wrong
<dhess> chreekat: thank you.
<chreekat> dhess: make sure the reservation and the instance are in the same region
<dhess> oh right, that too
catch22 has quit [Ping timeout: 276 seconds]
<chreekat> heh exactly
<dhess> :)
<Sonarpulse> whats up with virtualbox not wanted to reize our vdmks
<Sonarpulse> not a very good UX :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #34788: exfat: 1.2.7 -> 1.2.8 (master...exfat) https://git.io/vALGv
NixOS_GitHub has left #nixos [#nixos]
thoughtpolice has quit []
dmj` has quit []
thoughtpolice has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #34789: Revert "squashfuse: init at 0.1.101" (master...squashfuse) https://git.io/vALGI
NixOS_GitHub has left #nixos [#nixos]
dmj` has joined #nixos
mpickering has quit []
mpickering has joined #nixos
<genesis> :/
<genesis> srly ...
<genesis> Mic92 no one provides a "better" solution to what i use.
ryanartecona has quit [Quit: ryanartecona]
<Mic92> genesis: Profpatsch wants that
gridaphobe has quit []
gridaphobe has joined #nixos
<genesis> as i said, his solution doesn't provide what i need on that stuff
<Profpatsch> Hm?
judson has quit [Ping timeout: 276 seconds]
<genesis> package writing battle a 35 years
fredo` has joined #nixos
<genesis> s/a/at
<genesis> how i hate foss sometime, you have no package, i take free time to write it i don't have enough feed sometime but it's not in the idea of a contributer
sigmundv has quit [Ping timeout: 240 seconds]
<Mic92> genesis: well, you also have to see the other side of the medale. Beeing maintainer is also not always easy. People have a lot of expectation of you
<Profpatsch> genesis: Battle?
JosW has quit [Quit: Konversation terminated!]
<genesis> yes but i think this kind of solution is better than Profpatsch propose wiht the set about compressionThings
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34788: exfat: 1.2.7 -> 1.2.8 (master...exfat) https://git.io/vALGv
NixOS_GitHub has left #nixos [#nixos]
<genesis> the better is the ennemie of the good.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir closed pull request #32972: linux-testing-bcachefs: 4.11.2017.08.23 -> 4.13.2018.01.03 (master...bcachefs) https://git.io/vb9oY
NixOS_GitHub has left #nixos [#nixos]
<Profpatsch> genesis: There is no battle going on. People look at code that should be merged and iterate until it can be merged.
<genesis> so i think we need a solution to do global use on such compression lib and other stuff as in gentoo
<Profpatsch> If someone comments, one talks about it and iterates further.
<Profpatsch> As long as it’s not included upstream, you can already use your patch downstream and continue iterating.
<Profpatsch> I don’t see the problem, really.
<genesis> it was merged and i use already available code in an other, it took lot of time to find code that is OK with mainline
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2062ac5aa2d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<genesis> the pb is how i work : i spend time , lot of time to make thing as other in the project
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir closed pull request #32972: linux-testing-bcachefs: 4.11.2017.08.23 -> 4.13.2018.01.03 (master...bcachefs) https://git.io/vb9oY
NixOS_GitHub has left #nixos [#nixos]
<Profpatsch> Well, I posit the merge was too fast, especially since it completely ignored my improvements and a few obvious things like unused functions.
<Profpatsch> genesis: You are not alone. Everyone here spends a lot of time.
<Profpatsch> And maintainers even more.
<genesis> i take this line as futur standard code
<genesis> and you spoke about line i use, like Mkwith
<Profpatsch> If you don’t have the time to finish the patch, no problem, we just wait until someone finds the time.
Ubercow has joined #nixos
<Profpatsch> So no pressure.
<genesis> i've finished the patch, what's your point
<Profpatsch> That could be you, or someone else in the future.
<genesis> you said i don't use this line, the only i don't is "mkenable"
<genesis> i said , i'm contributing to this squashfuse project, so i know i could use it very soon, i copy the entire block of code from another derivation
<Profpatsch> genesis: Yes, you can use it locally no problem.
<Profpatsch> It doesn’t have to go upstream into nixpkgs until it is ready, just because you need it fast.
<genesis> but what you propose was not fillfull my need anyway.
<Profpatsch> genesis: The thing is, it’s not about *your* need mainly. It’s about the need of the people who have to maintain the code.
<Profpatsch> I don’t want to attack your patch, I thought it was pretty good, except for the things I commented on.
<Profpatsch> Maybe that wasn’t clear.
<fredo`> I'm looking for a way to combine some public and some private nix config. Say I have defined a bunch of nix-machine-configs, they live in a public git repo. And there's another folder (above in the filesystem) which contains some private stuff. nixos-rebuild can be configured with the NIXOS_CONFIG env var, but I can only specify one config file. Any suggestions here? Do I have to wrap every machine in the private pa
<fredo`> rt by importing the public machines or is there maybe a better way?'
<Profpatsch> Hurray for people taking the time to learn how to build packages.
<genesis> Profpatsch : i took this from another derivation, so remove it i won't take code that i can't use, because my way of work is to do as other
<genesis> i do package for FOSS since 15 years
<genesis> there is always new distribution, new idea and young people to take you for a noob
smichel17 has quit [Remote host closed the connection]
<genesis> btw, i took a block of code i think it could be a standard, and now i've no better solution, and i don't want your solution , that is not the need for this package
<genesis> as i answered earlier on the PR
<Profpatsch> genesis: That’s great. Of course people will mainly judge you based on your behaviour, because how could they know how veteran you are.
<genesis> i've PR pending and merging on squashfuse, and i know i'll be using this very soon , i wonder how much it costs to lose a contributer for 3 lines of useless code between have 3 lines of code that is not what we write at the place of the man who spend hours to write it.
<genesis> sorry but i'm a bit fed up at this time of merge then unmerge code of contributer on such non crucial thing as a non used before derivation.
<Profpatsch> So we’d lose you as contributor if we don’t merge your code right away?
<genesis> we'll speak about that when you'll be adult.
<Profpatsch> Of course.
<Mic92> genesis: could you please stop now with this toxic behavior?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34790: python3Packages.pyhomematic: 0.1.38 -> 0.1.39 (master...pyhomematic) https://git.io/vALcO
NixOS_GitHub has left #nixos [#nixos]
<genesis> what a better solution to my need of custom flag on librarie Mic92 ?
<sphalerite_> genesis: in addition, if you don't feel like dealing with the social aspects of contributing your changes upstream, nix makes it easier than ever to just use it yourself and not have to bother upstreaming it. It doesn't need to be in nixpkgs for you to use it.
szicari has quit [Quit: szicari]
<Mic92> genesis: that's not the point. I speak about you attacking people
<genesis> i feel attacking too, i don't see the point in a common goal that is to have a good distribution with maintener
hiratara has quit [Remote host closed the connection]
<genesis> in the next release of squashfuse, i added librarary support, pkgconfig support and i continue to work on it
<genesis> so i feel a bit sad to rewrite it when i know i've to find solution to that later.
<Mic92> genesis: I merged this pull request too early, obviously, because two other maintainers had concerns.
<genesis> oki let it be.
hiratara has joined #nixos
<genesis> i'm a depressiv foss veteran, perharps you'll understand in times.
yurrriq has quit []
xplat|work has quit []
yurrriq has joined #nixos
xplat|work has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda reopened pull request #34566: qmediathekview: init at 2017-04-16 (master...qmediathekview) https://git.io/vNxE9
NixOS_GitHub has left #nixos [#nixos]
Neo-- has quit [Ping timeout: 256 seconds]
<dhess> Now that all of the cross-stuff has been merged, what is the canonical way to get the target system type (e.g., "x86_64-darwin") in an overlay?
<dhess> In my overlay, I want to build a custom NixOps, so I need to do "nixops = (import ...nixops/release.nix {}).build.<target-system>;"
<dhess> which is why I need the target system type
<dtz> targetPlatform.system ?
drewr has joined #nixos
bfrog has quit [Ping timeout: 255 seconds]
<dhess> dtz: all you get in an overlay is "self" and "super", so I guess my question, how to drill down to that from, say, super
<dtz> although seems you might want hostPlatform.system? idk I trust you just making sure you know which :)
<dhess> maybe it's just there in super. I'll try it
<dtz> I think you can just access them directly? super.targetPlatform ? if that doesn't work it's definitely inthe stdenv
<dhess> yeah I suppose so
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #34791: boot.kernel.features: add nixos option for setting kernel features (master...nixos-kernel-features) https://git.io/vALCV
NixOS_GitHub has left #nixos [#nixos]
<dtz> i know callPackage makes them available but not sure about overlays
<dtz> report back please? O:)
<dhess> dtz: right that's my concern
<dtz> also nixops + cross + target deploy sounds great :D
<dhess> I will
<dtz> GLHF
<dhess> dtz: yeah that would be awesome, especially for ARM deploys. I'm not there yet though
<dtz> yeah. I'm not sure cross is quite there yet, but I don't know it's all that far either :).
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #34792: Bcachefs (master...bcachefs) https://git.io/vALC1
NixOS_GitHub has left #nixos [#nixos]
yann-kaelig has quit []
lord| has joined #nixos
fredo` has quit [Remote host closed the connection]
philips has quit []
philips has joined #nixos
<ldlework> What does this line do: inherit (env) activationPackage;
<symphorien> iirc it is equivalent to activationPackage = env.activationPackage;
freeman42x[NixOS has quit [Ping timeout: 260 seconds]
<dhess> dtz: yes, it appears that super.targetPlatform.system is right
<dhess> I will confirm that in a sec
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 334dd9c Robert Schütz: abcmidi: 2018.01.25 -> 2018.02.07
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALWX
<NixOS_GitHub> nixpkgs/master b37fd0a Jörg Thalheim: Merge pull request #34770 from dotlambda/abcmidi...
nand0p has quit []
nand0p has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
ssmike has joined #nixos
ssmike has quit [Client Quit]
eddyb has quit []
eddyb has joined #nixos
catch22 has joined #nixos
orivej has joined #nixos
<Lisanna> hey, what was the source line I need to make the stdenv tools available?
<Lisanna> (outside of stdenv)
<Lisanna> "source ${stdenv.setup};" I think
azertyieio has quit [Ping timeout: 268 seconds]
Turion has left #nixos [#nixos]
<dhess> dtz: hmm, while super.targetPlatform.system works with a local nix-build command, it doesn't appear to evaluate on a Hydra for some reason.
<dhess> the same release.nix file that I use to build locally is causing Hydra to complain about an empty job
<dhess> these empty job errors are quite inscrutable however so I can't tell exactly what the issue is
hakujin has joined #nixos
Sonarpulse has quit [Ping timeout: 240 seconds]
luto has quit []
luto has joined #nixos
hakujin has quit [Ping timeout: 265 seconds]
pie_ has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2062ac5aa2d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<sphalerite_> Do we have a list of good example packages somewhere?
Ridout has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
betaboon has quit [Quit: WeeChat 1.9.1]
<sphalerite> Yes, in the nixpkgs manual
garbas has quit [Quit: WeeChat 1.9.1]
fenedor has quit [Read error: Connection reset by peer]
spietz has quit [Ping timeout: 256 seconds]
spietz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.09: https://git.io/vALBD
<NixOS_GitHub> nixpkgs/release-17.09 9f1c291 taku0: flashplayer: 28.0.0.137 -> 28.0.0.161...
NixOS_GitHub has left #nixos [#nixos]
ZaraChimera has joined #nixos
xcmw has joined #nixos
civodul has quit [Ping timeout: 256 seconds]
phdoerfler has quit [Quit: Leaving.]
dan_b has joined #nixos