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
<gem> I have a quick problem with nixos right now, when trying to download 0ad from https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/0ad, and running nix-build . on the directory, I get this error
<gem> error: cannot auto-call a function that has an argument without a default value (‘newScope’)
<clever> gem: nix-build -E 'with import <nixpkgs> {}; callPackage ./. {}'
<gem> Gotcha
<gem> Thanks, still new to this
<ottidmes> clever: But the list equivalent? I mean I could do: foldr (x: xs: xs // x) listOfAttrsets, but I do not think I have ever seen that being done before, I am going with listToAttrs for now I guess
kelleyNif has quit [Client Quit]
fendor has joined #nixos
<clever> ottidmes: ah, over a list of them, hmmm, not sure about that
marusich has joined #nixos
BlessJah has quit [Ping timeout: 256 seconds]
bind has quit [Ping timeout: 240 seconds]
bind has joined #nixos
Rusty1_ is now known as Rusty1
coot has quit [Quit: coot]
Myrl-saki has quit [Ping timeout: 256 seconds]
<bgamari> hmm, gcc7 appears to segfault when cross compiled
BlessJah has joined #nixos
kelleyNif has joined #nixos
kelleyNif has quit [Client Quit]
fendor has quit [Quit: Leaving]
<dtz> ruhroh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cstrahan closed pull request #35094: Restore linuxManualConfig as linux/kernel/manual-config.nix (master...restore-linux-manual-config) https://git.io/vAll0
NixOS_GitHub has left #nixos [#nixos]
dan_b has joined #nixos
<bgamari> dtz, my words exactly
<Guanin_> clever, sphalerite_ thanks for your help, I got the raid automaticly opened and mounted after unlocking my root lvm volume. I now use a lv as a key file, as it is visible to luks after unlocking the volume group
<Guanin_> ah, did not want to send it already - it is still booting up :D
<Guanin_> it booted and works fine :) So, thank you
kelleyNif has joined #nixos
<gem> clever: I added that and ran the command, nothing was installed. There were no errors, but nothing was installed. Sorry to bother you again
freeman42x]NixOS has quit [Ping timeout: 260 seconds]
coot has joined #nixos
<clever> gem: nix-build only builds things, the result goes into a symlink called result
<clever> gem: if you just want to install 0ad, you can run nix-env -iA nixos.0ad and it will grab it from the nixpkgs you already have
kelleyNif has quit [Client Quit]
<clever> gem: oops, its called zeroad, so nix-env -iA nixos.zeroad
<gem> Ohh
<gem> I'm an idiot
<gem> Well, thanks! Just for future refrence, nix-build -E should work?
<clever> that command will let you build most default.nix files, but it wont install anything
<clever> its mainly for testing things out
<clever> the nix-env command lets you install things without having to download any special files
taktoa has joined #nixos
<gem> nix-env -if, right
<clever> that would load it from a given file
<clever> but the file has to import its own nixpkgs
<clever> which the default.nix you first linked doesnt do
<gem> Ohh, so you need to add that line
snajpa has joined #nixos
<johnw> what is the "right" to install both gcc and binutils? I'm getting a conflict at "as"
<johnw> i need both the command ar and gcc
<clever> johnw: the right way is to not install them, but to use nix-shell
Guest99414 has quit [Ping timeout: 248 seconds]
<johnw> I'm getting tired of that answer...
<johnw> how can it be done, without nix-shell?
<clever> johnw: or use a buildEnv to merge things together, and set the allowCollisions flag
<johnw> so, no one ever uses ar with gcc?
<samueldr> oh, tick marks for the X axis are dumb
srk has joined #nixos
<clever> johnw: nix-shell doesnt check for collisions, and everybody uses them inside nix-shell
<clever> samueldr: all i see is solid black
<gchristensen> Same
<samueldr> awwww, scrot probably really doesn't like xinerama
<samueldr> no, maim
<samueldr> well, tick marks were wonky, I'm fixing first :)
<samueldr> (I'm uploading the gnumeric so people with real knowledge of stats can make use of it)
MP2E has quit [Remote host closed the connection]
sigmundv has joined #nixos
Adluc has joined #nixos
<gchristensen> Can you provide a key?
<samueldr> ah, yes, unlabeled axes and colours :D
<johnw> it works if I install gcc alongside binutils-unwrapped
<samueldr> green are new PRs, yellow are newly closed, and black + yellow are then closed
<samueldr> (the fine red line is technically part of the black area)
<samueldr> and the whole height is the total number of both opened and closed PRs
<samueldr> both views (log and linear) makes it hard to follow since there SO MUCH stuff happening
ryanartecona has quit [Quit: ryanartecona]
<samueldr> which is why someone that knows how to represent data should look at this :D
fragamus has joined #nixos
dan_b has quit [Ping timeout: 248 seconds]
<samueldr> I'm 100% sure my data "viz" is flawed
pkill9 has quit [Ping timeout: 265 seconds]
Adluc has quit [Ping timeout: 240 seconds]
pkill9 has joined #nixos
theNerd247 has joined #nixos
coot has quit [Quit: coot]
mmlb has quit [Ping timeout: 248 seconds]
<theNerd247> So I'm following https://github.com/Gabriel439/haskell-nix/blob/master/project2/README.md to setup a Haskell/Elm project. I've got separate derivations written which build both pieces independently. How do I go about making the elm a dependency of the haskell project such that when the haskell project builds the elm also builds
<gchristensen> Samueldr can you do one focusing on just the last six months or year?
<samueldr> the data's here, but do you have a better form to suggest?
<samueldr> (I may as well try to make it more useful)
MP2E has joined #nixos
<MP2E> hmm.. having an odd problem with my NixOS install based off of nixpkgs master (as of today)
<MP2E> basically, my tmux sessions won't persist anymore
<MP2E> if I open up tmux, type something in the session like 'ls' then close the window and try to reattach in a new terminal it's just gone
<gchristensen> I'm curious if there is a quantifiable improvement in PR merge since ofborg was first used
<MP2E> never seen anything like it
snajpa has quit [Ping timeout: 268 seconds]
srk has quit [Ping timeout: 248 seconds]
<dtz> improvement in my happiness since it was first introduced
<dtz> ;)
<gchristensen> That is almost all that matters :)
<dtz> would probably be more quantifiable if our travis builders didn't kinda fade away into increasing uselessness around the same time
<infinisil> theNerd247: can you show your project?
<gchristensen> Dtz please provide any suggestions on making it better, too.
<dtz> o7
<dtz> (salute)
<samueldr> is 56 PR opened yesterday a number that looks alright?
* samueldr is scared
<theNerd247> it has a dependency of https://github.com/theNerd247/simple that's local
Shados has quit [Remote host closed the connection]
<samueldr> confirmed, and I can confirm my stats' days are UTC
Shados has joined #nixos
snajpa has joined #nixos
CodeWarrior has quit [Ping timeout: 240 seconds]
katona has quit [Quit: Connection closed for inactivity]
<infinisil> Asking this channel to help theNerd247, I really gotta sleep now (2:30am here), sorry!
<infinisil> the majority of the active members here are european i think, so probably you're gonna get more responses at european hours
<theNerd247> ok. thanks!
<samueldr> (I'm no data scientist, only a madman clicking on buttons in gnumeric)
<gchristensen> samueldr: I have no idea :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #35206: Remove Xfce-specific display manager tip (master...patch-1) https://git.io/vABEV
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mnacamura opened pull request #35209: mbedtls: change extension .so -> .dylib on Darwin (master...mbedtls-darwin) https://git.io/vABoE
NixOS_GitHub has left #nixos [#nixos]
<samueldr> gchristensen: dunno if this makes more sense or if it's even right, 100% is ~673PR https://stuff.samueldr.com/screenshots/2018/02/20180219205719.png
<samueldr> no
<gchristensen> what if you dropped backlog / new
<samueldr> around 350
<gchristensen> I mean, visually
<samueldr> a graph only with close?
ottidmes has quit [Ping timeout: 264 seconds]
<gchristensen> yeah
<samueldr> same graph, moved the data around
<gchristensen> cool
<gchristensen> I don't think that tells me anything but worth a try :P
<samueldr> what it tells me is that data is hard to make sense of when scale is weird
<samueldr> though the slopes when bugs are closed look righ
d4g_ has joined #nixos
jb554 has joined #nixos
ertes has joined #nixos
d4g has quit [Ping timeout: 248 seconds]
gem has quit [Quit: Lost terminal]
thc202 has quit [Ping timeout: 256 seconds]
mrkgnao has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm has joined #nixos
theNerd247 has quit [Ping timeout: 260 seconds]
<pie_> i cant tell why I get an error on this:
<pie_> parsers = (ps: with ps; [ binary-parsers.override {doCheck=false;} ]);
<pie_> hask = pkgs.haskellPackages.ghcWithPackages (ps: with ps; [ ...some packages here... ] ++ (parsers {inherit ps;}) );
<pie_> i get: error: undefined variable ‘binary-parsers’ at /mnt/data/binanal/decoder/shell.nix:6:28
<pie_> whereas is i directly substitute the contents of the parsers list in hask it works fine
<gchristensen> well you have a mistake in your first list, where it is a list of two elements (a function and an attrset) instead of a single value
<gchristensen> secondly your function is accepting a single value, not an attrset, so you want (parsers ps) not (parsers { inherit ps; })
<pie_> hm weird i could have sworn that was how i had it before refactoring but ok, so i wrap that in parenst
<pie_> oh ok
<pie_> that makes a lot more sense
spear2 has joined #nixos
<pie_> i thought {} was argument passing syntax because my brain pattern matched and didnt really think...
<gchristensen> the {inherit ps; } method would work fine if your function was : parsers = { ps }: ...
spear2 has quit [Remote host closed the connection]
<pie_> yeah
spear2 has joined #nixos
<pie_> and that explains the ps: vs {ps}: style function argument syntax
<gchristensen> yeah
<pie_> everything is starting to make sense
<gchristensen> great!
<pie_> well, in this niche anyway :P
<pie_> so is that actually a syntax thing or..?
<pie_> in the case of {}: vs whatever:
<gchristensen> yeah, that is pattern matching support
<pie_> ah ok
<pie_> weird, this runs:
<pie_> parsers = (ps: with ps; [ binary-parsers.override {doCheck=false;} binary-bits parsec attoparsec cereal ]);
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jcrben opened pull request #35210: Tip on unattended install (master...patch-1) https://git.io/vAB68
NixOS_GitHub has left #nixos [#nixos]
<pie_> but this complains about anonymous function called with unexpected argument docheck;
jb554 has quit [Ping timeout: 268 seconds]
<pie_> parsers = (ps: with ps; [ binary-parsers.override {doCheck=false;} binary-bits parsec attoparsec cereal ]);
<pie_> i mean parsers = (ps: with ps; [ (binary-parsers.override {doCheck=false;}) binary-bits parsec attoparsec cereal ])
<pie_> ok so im guessing .override isnt something that overrides attributes it overrides something else
<gchristensen> you want overrideAttrs
<pie_> so what does .override do
<pie_> ahit overrides arguments
<gchristensen> yeah
<pie_> whats weird is "passing" that set still seemed to disable tests though...
<pie_> did i end up accidentally recursively disable tests in the ghc environment or something?
Supersonic has quit [Disconnected by services]
<pie_> did i basically inject an attribute into the enclosing derivation or something?
<pie_> </wild guessing>
Supersonic112 has joined #nixos
theNerd247 has joined #nixos
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Supersonic112 is now known as Supersonic
Arcaelyx has joined #nixos
m3lst4d has joined #nixos
dbmikus has joined #nixos
dbmikus has quit [Client Quit]
dbmikus has joined #nixos
mrkgnao has quit [Ping timeout: 268 seconds]
markus1199 has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
markus1189 has quit [Ping timeout: 248 seconds]
theNerd247 has quit [Quit: Page closed]
fragamus has joined #nixos
jsgrant_ has quit [Quit: Leaving]
jsgrant_ has joined #nixos
aarvar has quit [Quit: Leaving.]
sigmundv has quit [Ping timeout: 256 seconds]
Guanin__ has joined #nixos
Guanin_ has quit [Ping timeout: 256 seconds]
jsgrant_ has quit [Quit: jsgrant_]
pie__ has joined #nixos
pie_ has quit [Ping timeout: 264 seconds]
pie__ is now known as pie_
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vABP8
<NixOS_GitHub> nixpkgs/master f9ce8e0 adisbladis: go-ethereum: 1.7.3 -> 1.8.1
meyermagic has joined #nixos
nuncanada2 has quit [Ping timeout: 240 seconds]
ryantrinkle has quit [Ping timeout: 256 seconds]
<meyermagic> I'm having an issue moving / copying my EFI NixOS installation from one disk to a new one. I have a feeling I'm missing something obvious, but I'm not sure what it could be. What I've done is: formatted the new drive to GPT, copy my root partition from my old drive to the new one, leaving space before the partition for the boot partition, boot to my (old) NixOS, using gdisk add an EFI partition before the root partition, and a swap partition
<meyermagic> I've also fiddled with rEFInd a bit, but the package doesn't seem to be working right now.
m3lst4d has quit [Ping timeout: 248 seconds]
<meyermagic> Is there a "registration" step I'm missing? I was under the impression part of the point of EFI was that the system could search out everything bootable via EFI without needing a single MBR
theNerd247 has joined #nixos
theNerd247 has quit [Client Quit]
<meyermagic> Oh, I also generated a new UUID for the copied NixOS partition, since I copied it as a partition rather than a filesystem. And I omitted various resizing / growing steps
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vABPr
<NixOS_GitHub> nixpkgs/master 32d3533 Shea Levy: riscv: Compile console support into the kernel.
NixOS_GitHub has left #nixos [#nixos]
<acowley> Anyone happen to know what package I need to get me a cask (emacs tooling) executable on PATH?
<meyermagic> acowley: I'm not familiar with emacs, but perhaps this will help?: https://github.com/NixOS/nixpkgs/search?q=cask
meyermagic has quit [Quit: Communi 3.5.0 - http://communi.github.com]
Myrl-saki has joined #nixos
<acowley> meyermagic: Well, this is dumb, but when I start a nix-shell with an emacsWithPackages, I don't have a cask executable anywhere
meyermagic has joined #nixos
pkill9 has quit [Ping timeout: 256 seconds]
meyermagic has quit [Client Quit]
aarvar has joined #nixos
ryantrinkle has joined #nixos
gm152 has quit [Quit: Lost terminal]
meyermagic has joined #nixos
meyermagic has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vABXw
<NixOS_GitHub> nixpkgs/master 76774e9 adisbladis: solc: 0.4.19 -> 0.4.20
NixOS_GitHub has left #nixos [#nixos]
<pie_> how do i tell my machine to go to sleep?
<simpson> If your DE has a power control, use that. Otherwise, you can do the /sys/power/state technique, or whatever you'd normally use on other Linux systems.
hamishmack has quit [Quit: hamishmack]
schoppenhauer has quit [Ping timeout: 240 seconds]
meyermagic has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
ryanartecona has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
pie__ has joined #nixos
schoppenhauer has joined #nixos
<pie__> problem is im not sure how to get that in my path
<simpson> Okay, well, for now, you can $(cat /sys/power/state) to see your options. `mem` is suspend-to-RAM "sleep", and `disk` is suspend-to-disk "hibernation". To sleep, $(echo mem > /sys/power/state).
<simpson> I know that some funky laptops require pm-suspend or similar in order to get all their bits and pieces sorted first, but I've found that that sort of hardware is increasingly rare, and usually the kernel knows how to sleep.
<pie__> i mean man systemd-sleep works >_>
ghostyyy is now known as ghostyy
<simpson> Ha, if it works for you, I guess~
<pie__> yeah i guess i could try pmutils
<pie__> i mean the irony is i get the man page but not the command
ryanartecona has quit [Quit: ryanartecona]
pkill9 has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fragamus has joined #nixos
fragamus has quit [Ping timeout: 256 seconds]
maingo has joined #nixos
<maingo> people keep saying to use guix because they say nix code is crap and guix is compatible with nixpks, is that just FUD or should I install guix if im only using nix for the packages?
<simpson> maingo: Sounds like a silly thing to argue over, TBH.
<maingo> yeah im currently using nix and seems to work fine
<simpson> It's up to you, but nixpkgs is intended to work with Nix.
<duncan^> h/bu48
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #34168: aview: init at 1.3.0rc1 (master...feature/aview) https://git.io/vNVzb
NixOS_GitHub has left #nixos [#nixos]
hamishmack has joined #nixos
dbmikus has quit [Ping timeout: 252 seconds]
ryanartecona has joined #nixos
ertes has quit [Ping timeout: 260 seconds]
katyucha has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
robstr has joined #nixos
robstr has quit [Remote host closed the connection]
robstr has joined #nixos
kim0 has quit [Quit: Connection closed for inactivity]
pie__ has quit [Ping timeout: 248 seconds]
ryanartecona has quit [Quit: ryanartecona]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/32d3533b292 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
meyermagic has quit [Quit: Communi 3.5.0 - http://communi.github.com]
iyzsong has joined #nixos
mekeor has quit [Ping timeout: 276 seconds]
verite has joined #nixos
Guanin__ has quit [Ping timeout: 240 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
katyucha has quit [Ping timeout: 256 seconds]
pkill9 has quit [Ping timeout: 248 seconds]
Guanin__ has joined #nixos
rauno has joined #nixos
pie_ has joined #nixos
<verite> Newbie question. What does it mean to "wrap a binary"?
<adisbladis[m]> verite: Wrap it up in a shell script
<verite> Thank you adisbladis[m] !
rauno has quit [Remote host closed the connection]
<adisbladis[m]> verite: Usually to set up required env vars and the like: nix-shell -p '(python3.withPackages (ps: [ ps.ipython ps.requests ps.psutil ]))' --run 'cat $(which python)' | wgetpaste
rauno has joined #nixos
raynold has joined #nixos
tobiasBora has quit [Ping timeout: 260 seconds]
leat has quit [Ping timeout: 268 seconds]
<georgew> Hi nixos. Is there any chance somebody could look at my pull requests? I'd like to update all-cabal-hashes https://github.com/NixOS/nixpkgs/pull/34870
<georgew> It's getting quite out of date.
tobiasBora has joined #nixos
posco has quit [Ping timeout: 248 seconds]
<markus1199> I would like to add an ENV var to a single program that I install with minimum effort. I want to set DEFAULT_SERVICE=gists for wgetpaste. I though about using wrapProgram, but then I would have to write a whole derivation. Is there some easier way?
posco has joined #nixos
<fearlessKim[m]> I don't think the concepts of wrappers is explained in the doc though it's used quite often. It can be confusing as a noob when "nox" presents the wrapped and unwrapped versions
pie_ has quit [Ping timeout: 276 seconds]
johnw has quit [Quit: ZNC - http://znc.in]
MercurialAlchemi has joined #nixos
<adisbladis[m]> georgew: I CCed our haskell maintainer on your issue
<georgew> Thank you adisbladis[m] !
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAB9f
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 9fee1b5 Lancelot SIX: ddrescue: 1.22 -> 1.23...
<NixOS_GitHub> nixpkgs/master a0ca83f adisbladis: Merge pull request #35202 from lsix/ddrescue-1.23...
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo closed pull request #35131: ecm-tools: init at 1.0.3 (master...upload/ecm-tools) https://git.io/vA84q
NixOS_GitHub has left #nixos [#nixos]
davidak has quit [Ping timeout: 260 seconds]
tobiasBora has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbrgm opened pull request #35212: restic: 0.8.1 -> 0.8.2 (master...upgrade-restic) https://git.io/vAB99
NixOS_GitHub has left #nixos [#nixos]
pie_ has joined #nixos
Lisanna has joined #nixos
<Lisanna> path X does not exist and cannot be created
<Lisanna> in general, what does that error mean? I've never seen it before...
zzamboni has joined #nixos
<Lisanna> I'm doing a nix-store --dump and a nix-store --restore, all from and to the same /nix/store
<sphalerite_> Lisanna: sounds like a missing dependency
<Lisanna> okay, that could very well be the issue
<sphalerite_> Lisanna: the source tells me it happens when ensurePath fails
<Lisanna> I've been monkeying with the dependencies
<sphalerite_> I managed to trigger it just now by `nix-store -r`ing a store path I made up
<Lisanna> OK, so it has something in its closure that didn't get built for some reason
asuryawanshi has joined #nixos
<Lisanna> *sigh* I figured something like this was going to come up...
<sphalerite_> ah, might also be triggered by IFD when in evaluate-only or instantiate-only mode
<sphalerite_> can't you use nix-store --export/--import?
<Lisanna> I use plenty of IFDs, but it's not being used in this case
<sphalerite_> and use the full closure of whatever you're messing about with?
zzamboni has quit [Ping timeout: 276 seconds]
<Lisanna> Ohh, I'm not even attempting to do this with the closure
<Lisanna> I'm just naïvely calling nix-store --dump and not giving it a second thought
<sphalerite_> I don't think you can with --dump/--restore but --export/--import should do it for you
<Lisanna> OK, better use nix-store --export with nix-store -qR
<sphalerite_> yep
<sphalerite_> oh wow that's nasty haha
<verite> Newbie question, what is an example of a data format change? (Reading Nix pill 1.5: "If there is a data format change, then migrating to the new data format remains your own responsibility.")
<Lisanna> Oh wait, that's definitely not going to work
<Lisanna> since this is being done in a build
<sphalerite_> yeah that thing can't use --export and --import because (a) it's running in a derivation so you'd need recursive nix and (b) it includes metadata so yoyu can't just rewrite it
<Lisanna> so I can't just go messing with the nix-store
<sphalerite_> ah :/
zzamboni has joined #nixos
<sphalerite_> verite: nix doesn't handle stateful data like databases and stuff
<sphalerite_> verite: this *is* handled to some extent by nixos though
<verite> Ah! Gotcha. Thank you, sphalerite_
<sphalerite_> verite: an example would be a backwards-incompatible change in profile data format for firefox, or an on-disk database format change for a database engine
<sphalerite_> the former is quite frequent AFAIK
pie_ has quit [Quit: Leaving]
<verite> Hmm. What kind of data format changes does Firefox have?
<sphalerite_> not sure about the exact details, but they explicitly don't support downgrades
<Lisanna> sphalerite_ ...seems like I could trick Nix into making sure all of those get built by doing an IFD to get the closure of the input, and then including those paths somewhere in the runCommand string, so they get added to the context of the drv
<verite> Ah, nevermind, sphalerite_ , googled and found some examples.
<Lisanna> although the more interesting question is why those aren't getting built in the first place...
<sphalerite_> Lisanna: wouldn't exportReferencesGraph do the trick in this case too?
<Lisanna> yeah, probably
<sphalerite_> (not sure fi I'm remembering that name right)
<Lisanna> hopefully I'm just doing an unnecessary unsafeDiscardStringContext somewhere that I can get rid of
leat has joined #nixos
Capprentice has quit [Quit: Leaving]
<Dirt[m]> Anyone know if there's a built-in way to set the group of a folder using NixOS (or home-manager)? As far as I can see there isn't, but it's possible I'm missing something...
<Lisanna> Dirt[m] you can do that with environment.etc files I think
roberth has joined #nixos
<sphalerite_> Dirt[m]: not using home-manager I'd guess since only root can do chown
<Dirt[m]> Lisanna: Yeah, I thought it might be possible there, but I'm not seeing it:
<sphalerite_> I'm guessing because anything managed by environment.etc is meant to be immutable
<sphalerite_> Probably use a oneshot systemd service
<Lisanna> Dirt[m] environment.etc.<name?>.group
<Lisanna> environment.etc.<name?>.gid
<sphalerite_> oh huh
<Dirt[m]> Ah, guess I was just looking in the wrong places. I really need to use that options search more often...
reinzelmann has joined #nixos
<Dirt[m]> In this case my file is in my homedir so the etc environment won't help me much, but it's nice to know the functionality is there.
ertes has joined #nixos
<sphalerite_> this seems more like something to just do one-off
<sphalerite_> as opposed to managing it with nixos or home-manager
<Dirt[m]> That's true. Though my personal goal w/ NixOS has been to build a collection of configs for deploying my ideal setup, with as little manual labor tasks as possible.
<Dirt[m]> Could definitely just write a script to clean up the bits and pieces, though.
<sphalerite_> and put that script in a one-shot systemd service ;)
<sphalerite_> assuming it's idempotent
<Dirt[m]> Oh, I see what you're saying.
<Dirt[m]> Not a bad idea!
<joko> Good morning, people! Could anyone help me with nix 1.12 and nixos? It appears that expressions like this: https://git.joko.gr/joko/etc-nixos/src/master/machines/munch-hardware.nix#L21 are not allowed anymore.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight closed pull request #35171: BuildRustCrate: more general overrides, and handling the "dylib" crate type (master...build-rust-crate-ln) https://git.io/vA43B
NixOS_GitHub has left #nixos [#nixos]
knupfer has joined #nixos
<joko> (I am using outPath directly - a nix store directory - to import stuff from there)
<joko> (and recent Hydra versions -even in 17.09- complain that "access to path /nix/store/xxxx is forbidden in restricted mode")
<sphalerite_> joko: nixUnstable is nix 2.0pre now, not 1.12pre
<sphalerite_> that looks like regular IFD to me, should still work really, I think…
<sphalerite_> restricted mode does prevent IFD AFAIK so yeah I think it's a no-go on hydra
<sphalerite_> oh, try mapping import over them rather than (drv: drv.outPath)
<joko> sphalerite_: right, 2.0pre. Importing them how?
<sphalerite_> just replace (drv: drv.outPath) with import
<sphalerite_> import isn't a keyword or anything, it's just a built-in function and you can map it like any other function :)
Tucky has joined #nixos
vidbina has joined #nixos
zzamboni has quit [Quit: Leaving.]
ixxie has joined #nixos
jensens has joined #nixos
zzamboni has joined #nixos
<pjan> Anybody who can approve this one and get it in master? All checks pass, and it's super small :) https://github.com/NixOS/nixpkgs/pull/35165
stranger___ has joined #nixos
zzamboni has quit [Ping timeout: 252 seconds]
<stranger___> hey folks. is there a strongswan server service?
<stranger___> i only see strongswan and libreswan clients
zzamboni has joined #nixos
niklob has joined #nixos
Itkovian has joined #nixos
thc202 has joined #nixos
Itkovian has quit [Remote host closed the connection]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jluttine opened pull request #35213: suitesparse: 4.4.4 -> 5.1.2 [WIP] (master...suitesparse-5.1.2) https://git.io/vAB5g
NixOS_GitHub has left #nixos [#nixos]
orivej has joined #nixos
<stranger___> oh sorry i'm wrong
katyucha has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
zzamboni has quit [Quit: Leaving.]
katyucha has quit [Ping timeout: 240 seconds]
marusich has quit [Quit: Leaving]
niklob has quit [Ping timeout: 268 seconds]
zzamboni has joined #nixos
mkoenig has quit [Ping timeout: 252 seconds]
mkoenig has joined #nixos
lonokhov has joined #nixos
zzamboni has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
zzamboni has quit [Ping timeout: 260 seconds]
ma27 has joined #nixos
mkoenig has joined #nixos
ma27 has quit [Client Quit]
ma27 has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [Ping timeout: 260 seconds]
r5d has quit [Quit: WeeChat 1.9.1]
zzamboni has joined #nixos
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vABbq
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e4fb799 adisbladis: Merge pull request #35165 from pjan/vim-rooter...
<NixOS_GitHub> nixpkgs/master 92b6275 pjan vandaele: Adds vim-rooter plugin
asuryawanshi has quit [Remote host closed the connection]
<pjan> thanks adisbladis!
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vABbG
<NixOS_GitHub> nixpkgs/master 385369e Ben Creasy: nixos/doc: document password-promptless installation (#35210)
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Ping timeout: 260 seconds]
ma27 has quit [Ping timeout: 276 seconds]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
aarvar has quit [Ping timeout: 260 seconds]
i-am-the-slime has joined #nixos
<i-am-the-slime> How do I save passwords for nmcli?
FRidh has quit [Remote host closed the connection]
rauno has quit [Ping timeout: 265 seconds]
alex`` has joined #nixos
self2 has joined #nixos
<makefu> i-am-the-slime: for nmapplet i needed dconf and gnome_keyring in the path: https://git.shackspace.de/krebs/stockholm/blob/master/makefu/2configs/hw/network-manager.nix#L7
<i-am-the-slime> I have usres.extraUsers.mark
<i-am-the-slime> should I add a separate users.users.mark with the stuff you have?
<sphalerite_> i-am-the-slime: users.extraUsers is just an alias for users.users
<sphalerite_> so it doesn't matter, you can do hwatever :)
kelleyNif has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #34870: hackage: update all-cabal-hashes snapshot (master...update-all-cabal-hashes) https://git.io/vAqoV
NixOS_GitHub has left #nixos [#nixos]
<i-am-the-slime> what about that modemmanager thing?
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
i-am-the-slime has quit [Remote host closed the connection]
sigmundv has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to release-17.09: https://git.io/vABxv
<NixOS_GitHub> nixpkgs/release-17.09 1e22b57 George Wilson: hackage: update all-cabal-hashes snapshot to Hackage at 2018-02-12T02:28:56Z...
<NixOS_GitHub> nixpkgs/release-17.09 7e0345b Peter Simons: Merge pull request #34871 from gwils/update-all-cabal-hashes-17.09...
NixOS_GitHub has left #nixos [#nixos]
__Sander__ has joined #nixos
jensens has quit [Ping timeout: 252 seconds]
betaboon has joined #nixos
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #34706: Xjump: init at 2.9.3 (master...xjump) https://git.io/vAJWy
NixOS_GitHub has left #nixos [#nixos]
iyzsong has quit [Ping timeout: 260 seconds]
<bachp> Did somebody get the camera module working on the raspberry pi 3 under NixOS?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vABjv
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master f61e8d9 Jörg Thalheim: rust: 1.22.1 -> 1.24.0
ottidmes has joined #nixos
aristid has quit [Ping timeout: 256 seconds]
<elvishjerricco> How do you build `Cabal` and `cabal-install` from head in Nix? I'm setting them in `haskellPackages.extend` with `callCabal2nix` on the sources, but it seems like a bunch of things fail to build because they're built with the `Cabal` shipped with GHC instead of the updated version.
humanoyd has joined #nixos
aristid has joined #nixos
<elvishjerricco> Such as the `Setup` script for `lens`. Though I guess that's unrelated to `cabal-install`
niklob has joined #nixos
f0i has joined #nixos
MP2E has quit [Remote host closed the connection]
verite has quit [Ping timeout: 248 seconds]
orivej has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xeji opened pull request #35214: spice-gtk: fix usb redirection (master...spice-gtk-usbredir) https://git.io/vAReV
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34511: nixos/nixops-dns: init (master...nixops-dns-module) https://git.io/vNbwe
NixOS_GitHub has left #nixos [#nixos]
<ij> sphalerite_, I just realized that even if VLC knew enough to search for sf2/*.sf2 in one of the $XDG_DATA_DIRS paths, it wouldn't find soundfont-fluid, because it's in share/soundfonts/FluidR3_GM2-2.sf2. (sf2 != soundfonts).
tommyangelo has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<sphalerite_> ij: ah… so for each entry in XDG_DATA_DIRS, search $p/soundfonts *and* $p/sf2
<sphalerite_> I think that would be sensible
<ij> sphalerite_, Does anyone else but nixos use $p/soundfonts?
<sphalerite_> idk
<sphalerite_> it must come from somewhere..?
<sphalerite_> yeah alternatively we could change the soundfont package
tobiasBora has joined #nixos
<sphalerite_> yeah then I guess it would make sense to have VLC search both
<sphalerite_> does arch have any special handling for VLC's soundfont-finding?
<ij> No, if I remember correctly it never worked right.
knupfer has quit [Ping timeout: 240 seconds]
<ij> https://trac.videolan.org/vlc/ticket/19795#trac-add-comment <-- He sounds intimidating and 'idk what ur talkin bout', but maybe I'm just making things up.
<sphalerite_> cool so we can fix it for arch too while we're at it! :p
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #35181: mono: add 5.8.108 (current stable) (master...pkgs/mono58) https://git.io/vA4Mp
NixOS_GitHub has left #nixos [#nixos]
<tommyangelo> I'm trying to write a default.nix for staytus, so I can hack on the git source code to fix a bug. I created this default.nix: http://nixpaste.lbr.uno/zebuoid-?nix but when I run nix-shell, followed by `procodile start --foreground`, I get a load of `could not find rake` errors: http://nixpaste.lbr.uno/CBR9m3yM?text. I generated the gemset.nix with `bundix --gemset=gemset.nix --lockfile=Gemfile.lock --gemfile=Gemfile`
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35212: restic: 0.8.1 -> 0.8.2 (master...upgrade-restic) https://git.io/vAB99
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> yeah I think it might also be a matter of "I really can't be bothered with this". You didn't indicate that you might contribute a patch
ma27 has joined #nixos
<sphalerite_> they'll probably be more receptive if you show how you'd actually solve it
<tommyangelo> however, if I run the commands in the Procfile myself (bundle exec puma -C config/puma.rb), that works
<ij> sphalerite_, Fun — it looks like gentoo and ubuntu use "$p/sounds/sf2".
<sphalerite_> ij: oh joy!
srk has joined #nixos
<sphalerite_> who actually uses $p/sf2 then? xD
<ij> Ooops, no one. So recap: arch, nixos: $p/soundfonts/, gentoo ubuntu: $p/sounds/sf2/.
Adluc has joined #nixos
<ij> sphalerite_, You mean like show by source?
vidbina has quit [Ping timeout: 256 seconds]
<sphalerite_> ij: or say that you're working on a patch
<sphalerite_> ij: your description could be read as "this is wrong, please fix it"
<sphalerite_> referencing the freedesktop base dir spec might be helpful too, to explain "why VLC should do that"
<sphalerite_> I'm guessing if I want to add some stuff on the bug tracker I'll need to sign up for an account on it
<ij> I've started writing that already. :P I'm a bit afraid of writing C.
stranger___ has quit [Quit: Connection closed for inactivity]
<sphalerite_> I can help with that if you want, or "pre-review" it before you put it on the bugtracker :)
<ij> I've done it and I could make a patch, but all this string splitting stuff in an unsafe language is not exactly exciting.
<sphalerite_> indeed. We should rewrite VLC in rust! :p
<tommyangelo> is this the wrong place to ask, or are there simply no ruby/bundix knowledgeable people online?
<manveru> tommyangelo: yo
<sphalerite_> tommyangelo: this is the right place to ask :) you might need to wait a while though
<ij> tommyangelo, I remember manveru helping me and it totally works.
<sphalerite_> haha
<tommyangelo> ok no worries! when someone has some time then
<manveru> tommyangelo: is `rake` in your Gemfile?
<tommyangelo> nope
<tommyangelo> I'll add it and retry
<ij> sphalerite_, Should just nix-shell -E '(import <nixpkgs> {}.vlc)' be enough to spawn a compiling-capable shell?
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35180: attic: uninit (master...attic) https://git.io/vA41S
<sphalerite_> ij: yes, or shorter nix-shell '<nixpkgs>' -A vlc
<manveru> tommyangelo: then run it with `bundix -l`
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35203: gem-config: add ethon (master...patch-1) https://git.io/vABWP
<manveru> the --gemset option is default anyway
<ij> sphalerite_, It doesn't give me autoconf if I try just that. :/
<sphalerite_> ij: ah right, so it's a shell suitable for building from a source release tarball but not from git
<ij> Gotcha.
<ij> In the release they've added the ./configure?
<ij> Probably so.
<sphalerite_> try this mouthful... nix-shell -E 'with import <nixpkgs> {}; vlc.overrideAttrs (o: {nativeBuildInputs = (o.nativeBuildInputs or []) ++ [autoreconfHook];})'
<tommyangelo> manveru: Same behaviour. I added rake to the Gemfile, ran `bundix -l`, then `nix-shell` and `procodile start --foreground`
r5d has joined #nixos
<manveru> hmm
<tommyangelo> according to the error message, it fails at `Bundler.setup("default")` in the /nix/store/50nshm7i29n5dn7vjk5a8q5gmv7nsgyj-staytus-env/bin/rake file
<sphalerite_> ij: does that work?
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master a425c65 Mitsuhiro Nakamura: mbedtls: change extension .so -> .dylib on Darwin
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vARka
<NixOS_GitHub> nixpkgs/master 4a26c9f Jörg Thalheim: Merge pull request #35209 from mnacamura/mbedtls-darwin...
<ij> sphalerite_, Yup!
zzamboni has quit [Quit: Leaving.]
<sphalerite_> I can write nix expressions on one line and get them right at an alarming success rate. I've been doing too much nix :p
<ij> That's a great feeling.
mrkgnao has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35182: perl-Gtk2GladeXML: init at 1.007 (master...perl/Gtk2GladeXML) https://git.io/vA4DB
NixOS_GitHub has left #nixos [#nixos]
kitemikaze has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35179: matrix-synapse: fix pynacl dependency (master...matrix-synapse) https://git.io/vA468
NixOS_GitHub has left #nixos [#nixos]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 3 new commits to master: https://git.io/vARIN
<NixOS_GitHub> nixpkgs/master 41a2352 Robert Schütz: pythonPackages.pypandoc: mark as broken...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b69e990 Robert Schütz: pythonPackages.pyrtlsdr: use m2r instead of pypandoc
<NixOS_GitHub> nixpkgs/master 125a721 Frederik Rietdijk: Merge pull request #35204 from dotlambda/pypandoc...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35159: pythonPackages.faulthandler: fix tests (master...faulthandler) https://git.io/vA8Mo
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35126: pythonPackages.pynacl: use system libsodium (master...pynacl) https://git.io/vA8Wt
NixOS_GitHub has left #nixos [#nixos]
jensens has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35178: perl-BSD-Resource: init at 1.2911 (master...perl-BSD-Resource) https://git.io/vA4rw
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Ping timeout: 264 seconds]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35177: debBuild: install all packages at once to avoid dependency management (master...fix-debbuild) https://git.io/vA4R9
NixOS_GitHub has left #nixos [#nixos]
verite has joined #nixos
vidbina has joined #nixos
knupfer has joined #nixos
niklob has quit [Ping timeout: 276 seconds]
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #35215: gpodder: 3.10.0 -> 3.10.1 (master...gpodder) https://git.io/vARt1
NixOS_GitHub has left #nixos [#nixos]
chaker has joined #nixos
zzamboni has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7e0345b839c (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
coot has joined #nixos
katyucha has joined #nixos
zzamboni has quit [Ping timeout: 268 seconds]
simukis has joined #nixos
kelleyNif has quit [Quit: Leaving.]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #35129: buildkite-agent service: declarative hooks and extraConfig option (master...buildkite-agent-hooks) https://git.io/vA8WQ
NixOS_GitHub has left #nixos [#nixos]
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7e0345b839c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
silver has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo pushed 3 new commits to master: https://git.io/vARmK
<NixOS_GitHub> nixpkgs/master 8faa916 Suvash Thapaliya: Remove empty dependencies and related file
<NixOS_GitHub> nixpkgs/master c7e01ac Suvash Thapaliya: docker-credential-gcr: init at 1.4.3...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 040fb6c lewo: Merge pull request #35117 from suvash/add-docker-credential-gcr...
<manveru> tommyangelo: sorry, in a meetting still
<manveru> tommyangelo: can help you in a bit
zzamboni has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
kelleyNif has joined #nixos
kelleyNif has quit [Client Quit]
<sudoreboot[m]> What's a good way of checking from a bash script whether the system is running NixOS?
zzamboni has quit [Ping timeout: 240 seconds]
<sudoreboot[m]> lsb_release doesn't work and uname doesn't do distro
<sudoreboot[m]> I could do `[ ! -z $(nixos-version) ]` or something but that's very NixOS-specific
<sphalerite_> sudoreboot[m]: /etc/os-release ?
zzamboni has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
<sudoreboot[m]> sphalerite_: Ah yes, thank you. Had forgotten about that
katyucha has quit [Ping timeout: 268 seconds]
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
verite has quit [Ping timeout: 276 seconds]
<manveru> tommyangelo: i just saw that procodile is not part of your Gemfile
<manveru> depending on how the package is made, it might not see your PATH
kelleyNif has joined #nixos
ixxie has joined #nixos
sigmundv has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] htr opened pull request #35217: nixnote: init at 2.0.2 (master...htr/add-nixnote) https://git.io/vAROY
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vAROC
<NixOS_GitHub> nix/master cea4fb3 Eelco Dolstra: Fix evaluation of binaryTarball.aarch64-linux
NixOS_GitHub has left #nixos [#nixos]
mkoenig has quit [Ping timeout: 240 seconds]
mkoenig has joined #nixos
niklob has joined #nixos
knupfer has joined #nixos
patrl has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
freeman42x]NixOS has joined #nixos
ryanartecona has joined #nixos
hexagoxel has quit [Ping timeout: 265 seconds]
chris| has quit [Ping timeout: 256 seconds]
hexagoxel has joined #nixos
fadenb has quit [Ping timeout: 276 seconds]
tnias_ has quit [Ping timeout: 268 seconds]
mkoenig has quit [Remote host closed the connection]
jmiven has quit [Ping timeout: 260 seconds]
mkoenig has joined #nixos
patrl has quit [Ping timeout: 240 seconds]
yann-kaelig has joined #nixos
patrl has joined #nixos
hexagoxel has quit [Ping timeout: 256 seconds]
SOO7 has quit [Quit: Quit]
self2 has quit [Ping timeout: 256 seconds]
jmiven has joined #nixos
knupfer has quit [Quit: knupfer]
tnias has joined #nixos
chris| has joined #nixos
fadenb has joined #nixos
yegortimoshenko has quit [Ping timeout: 255 seconds]
asuryawanshi has joined #nixos
<ij> sphalerite_, Have you ever seen something like: "configure: error: Cannot find native C99 compiler: please define BUILDCC."?
yegortimoshenko has joined #nixos
self2 has joined #nixos
<sphalerite_> ij: nope. maybe export BUILDCC=$CC helps?
<ij> helps
<dtz> What's the package? And we should set BUILD_CC or so, use that over CC
<dtz> Maybe need to add depsBuildBuipd to make it work on cross...
<sphalerite_> VLC I'm guessing
hask_bee_3 has joined #nixos
<sphalerite_> I think this is just fiddling about in a nix-shell to make a patch for VLC
<sphalerite_> at least, based on previous discussion :)
<hask_bee_3> Here's what I get on my macOS machine:
<hask_bee_3> $ realpath $NIX_PATH/nixpkgs
<hask_bee_3> Where does that 18.03 come from? The latest tag here is 17.09! https://github.com/NixOS/nixpkgs/tags
kim0 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34161: pythonPackages update: asn1ate and asn2quickder (master...asn2quickder) https://git.io/vNVCq
NixOS_GitHub has left #nixos [#nixos]
<hask_bee_3> I've already done this BTW: $ nix-channel --update
<sphalerite_> hask_bee_3: 18.03 is the version number of the next release, and unstable has version numbers like 18.03preABCD
<dtz> err I meant CC_FOR_BUILD I guess lol
<sphalerite_> hask_bee_3: and on macOS nix defaults to using nixpkgs-unstable because it's only for applications, not for critical stuff like booting :)
<sphalerite_> hask_bee_3: once 18.03 becomes the stable version, unstable will get a new version number, probably 18.09
patrl has quit [Quit: WeeChat 1.9.1]
fadenb has quit [Ping timeout: 256 seconds]
jmiven has quit [Ping timeout: 255 seconds]
chris| has quit [Ping timeout: 256 seconds]
tnias has quit [Ping timeout: 256 seconds]
<hask_bee_3> sphalerite_ the last part of the folder name is referring to the commit e4e1f0462f6, which is in the nixpkgs-channels repo: https://github.com/NixOS/nixpkgs-channels/commit/e4e1f0462f6
<hask_bee_3> How did it know to pick that particular commit? It's nowhere near the latest commit in any branch I see...
coot has quit [Quit: coot]
<sphalerite_> hask_bee_3: nixpkgs-channels is a repo that's automatically updated from nixpkgs by our hydra CI system
<sphalerite_> !which channel
<sphalerite_> there's a bit of info about it in ^
asuryawanshi has quit [Ping timeout: 276 seconds]
SOO7 has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8b1cf100cd8 (from 26 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
pinnokio has joined #nixos
<hask_bee_3> sphalerite yes, but how does the macOS nix currently, right now, select the commit e4e1f0462f6 ?
<hask_bee_3> what's special about that commit right now?
<chaker> Hey,
<sphalerite_> hask_bee_3: it's the current version that nixpkgs-unstable is on
<chaker> What's the best why to package Maven packages? is't using mvn2nix? I saw in the mailing list that's it's not maitained anymore :(
chris| has joined #nixos
jmiven has joined #nixos
<hask_bee_3> e4e1f0462f6 is a few days old now
<hask_bee_3> 2 days or so
<hask_bee_3> many more commits after that
<hask_bee_3> hmm
<sphalerite_> hask_bee_3: if you run nix-channel --update it should update it to the current one
<sphalerite_> might also be helpful to run `nix-shell -p nix-info --run nix-info` to help us clarify a bit more
mkoenig has quit [Ping timeout: 256 seconds]
fadenb has joined #nixos
mkoenig has joined #nixos
tnias has joined #nixos
<hask_bee_3> sphalerite_ Even after running "nix-channel --update" (and even starting a new Terminal session), I'm still stuck on the old commit:
<hask_bee_3> $ nix-shell -p nix-info --run nix-info
<hask_bee_3> system: "x86_64-darwin", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(robinson): "", channels(root): "nixpkgs-18.03pre128469.e4e1f0462f6", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
<sphalerite_> http://howoldis.herokuapp.com is also helpful
<sphalerite_> oh, are you running nix-channel --update as root?
<hask_bee_3> sphalerite_ nope my user
<hask_bee_3> should i try root?
<sphalerite_> yeah run it as root
<hask_bee_3> ok
<sphalerite_> there are separate channel profiles per user, and root's applies to every user
<sphalerite_> if you compare the output of nix-channel --list as your user and as root, you'll see the difference
<hask_bee_3> Even after running "sudo nix-channel --update" I'm still stuck on the same commit
<hask_bee_3> both "nix-channel --list" and "sudo nix-channel --list" give no output
<sphalerite_> oh, so you're not actually subscribed to any channel. That's weird. What's your NIX_PATH? (echo $NIX_PATH)
<LnL> hask_bee_3: sudo -i nix-channel --list
<hask_bee_3> $ echo $NIX_PATH
<hask_bee_3> output: /nix/var/nix/profiles/per-user/root/channels
asuryawanshi has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
<hask_bee_3> $ sudo -i nix-channel --list
Synthetica has joined #nixos
kelleyNif has quit [Quit: Leaving.]
betaboon has quit [Ping timeout: 256 seconds]
Lisanna has quit [Quit: Lisanna]
humanoyd has quit [Quit: WeeChat 2.0.1]
niklob has quit [Ping timeout: 264 seconds]
kelleyNif has joined #nixos
betaboon has joined #nixos
pkill9 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] thoughtpolice pushed 1 new commit to master: https://git.io/vARlG
<NixOS_GitHub> nixpkgs/master f0fe7ba Austin Seipp: linuxPackages.perf: fix tips.txt lookup, few extra deps...
NixOS_GitHub has left #nixos [#nixos]
pie_ has joined #nixos
<dtz> warrgarbl building rust :(:(
<dtz> rust -> librsvg
Lisanna has joined #nixos
<dtz> we... may need to pin the rust used for librsvg to prevent this from being madness
<manveru> grahamc: is that OK now? https://github.com/NixOS/nixpkgs/pull/35173
<maurer> So, I haven't looked at how we're doing it, but if we're using rust stable, can't that be in the cache? Rust updates about once a month, which is pretty frequent for a compiler, but not so bad that I'd think nixos cache couldn't keep up
<dtz> well I might be a complainy-face lol but it seems more often than that. Perhaps we're changing build deps of rust frequently
<maurer> That's def. possible. It's also possible that for some reason it's been set against beta or nightly, which update nearly daily
<maurer> and if so, that's probably bad
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] limeytexan opened pull request #35218: Multiple modules in support of POE-1.367 (master...perl-POE) https://git.io/vAR8E
NixOS_GitHub has left #nixos [#nixos]
robstr has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vAR8u
<NixOS_GitHub> nixpkgs/master 1aa3777 Joachim F: Merge pull request #35104 from izuk/dart...
<NixOS_GitHub> nixpkgs/master 3efb969 Itai Zukerman: dart: 1.16.1 -> 1.24.3...
NixOS_GitHub has left #nixos [#nixos]
robstr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #35103: watchexec: init at 1.8.6 (master...watchexec) https://git.io/vA8Jj
NixOS_GitHub has left #nixos [#nixos]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<maurer> Hm, no, it looks like we did the smart thing of removing beta and nightly from nixpkgs
<maurer> so if it's requiring a frequent rebuild, either you're getting unlucky with release dates or an input is changing
hask_bee_3 has quit [Quit: Textual IRC Client: www.textualapp.com]
<dtz> okay, well tyvm for looking into it and for the information ^_^
robstr has quit [Ping timeout: 240 seconds]
<dtz> I probably am triggering it O:)
thblt has joined #nixos
<viric> Dezgeg: Dezgeg[m]: is there a URL for your hydra, for your ARM channel? How should I find this URL other than asking you? :)
<sphalerite_> viric: it's on the wiki page
Itkovian has joined #nixos
<sphalerite_> viric: and there's no hydra for it iirc, just the binary cache which is updated by a script
<sphalerite_> viric: clever has a hydra instance though
<viric> Ah ok
pie_ has quit [Ping timeout: 240 seconds]
<viric> thank sphalerite_. I thought Dezgeg had an hydra.
<sphalerite_> I might be wrong, but I don't think so
<viric> how does Dezgeg prepare the channel?
<viric> a build of all release.nix and a nix-push thing?
<sphalerite_> no, just a small subset of packages
<tommyangelo> manveru: That was it! Thanks!
<LnL> dtz: the rust update was just merged
<sphalerite_> see packages*.txt and scripts/ in that repo
<dtz> haha so what you're saying is I really am a complainy-face! D:
<LnL> I'm saying you could drop the commits of the last few hours if you don't want to build it
<dtz> how reasonable! but okay, thanks
<dtz> (I think I'll do just that!)
tertle||eltret has quit [Quit: Connection closed for inactivity]
<LnL> dtz: git checkout $(hydra-job-revision rustc.x86_64-linux)
<sphalerite_> how can I get the gcc-style host system string in nixpkgs?
<sphalerite_> e.g. armv7l-unknown-linux-gnu
Ivanych has quit [Quit: Leaving.]
<dtz> sphalerite_: hostPlatform.config ?
<jluttine> how to write an overlay so that it just changes the version of a package? i tried: nixpkgs.overlays = [ (super: self: {tvheadend={version="4.2.1";};}) ] but i guess it's not right.. also, i'd need to change `src` too somehow
Itkovian_ has joined #nixos
peacememories has joined #nixos
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #35219: radiotray-ng: 0.2.0 -> 0.2.1 (master...update/radiotray-ng-0.2.1) https://git.io/vARRX
NixOS_GitHub has left #nixos [#nixos]
Itkovian_ has quit [Read error: Connection reset by peer]
asuryawanshi has quit [Ping timeout: 276 seconds]
<makefu> jluttine: yes exactly, only overriding the version is not enough, you will need to add inside the override version=;src=self.fetchFromGithub { ... } }
Itkovian has quit [Ping timeout: 265 seconds]
<jluttine> (copied my snippet incorrectly, it was ... tvheadend = super.tvheadend.override {version=...} ...
<jluttine> but i get error: anonymous function at /nix/store/bh1c23b7wcc6zfy7nia1mmjjbmcdaa06-nixos-18.03pre127302.e860b651d6e/nixos/pkgs/servers/tvheadend/default.nix:1:1 called with unexpected argument ‘version’, at /nix/store/bh1c23b7wcc6zfy7nia1mmjjbmcdaa06-nixos-18.03pre127302.e860b651d6e/nixos/lib/customisation.nix:74:12
<jluttine> :S
<jluttine> i suppose that super.tvheadend.override isn't correct
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #35220: systemd-cryptsetup-generator: fix compilation with systemd 237 (master...system-cryptsetup-generator-237) https://git.io/vAR0T
NixOS_GitHub has left #nixos [#nixos]
<makefu> jluttine: .override can only be used to override the default dependencies, if you want to override attributes inside the derivation you will need to use pkgs.stdenv.lib.overrideDerivation
<makefu> so in your case
<makefu> tvheadend = self.pkgs.stdenv.lib.overrideDerivation super.tvheadend { ... }
<sphalerite_> dtz: exactly what I was looking for, thanks!
<jluttine> here it says i should use overrideAttrs: https://github.com/NixOS/nixpkgs/issues/25912#issuecomment-302672119
<jluttine> makefu: thanks, i'll try that
<makefu> it seems overrideDerivation is deprecated and you should use overrideAttrs
lesce has joined #nixos
<makefu> the example for overrideDerivation is better though :)
Itkovian has joined #nixos
<jluttine> makefu: thanks. nice that there's documentation. funny that i didn't find that after lots of googling. i'm very often unable to find the correct place in the documentation by googling
<makefu> jluttine: maybe you could add a small article into the https://nixos.wiki :)
<makefu> or add the info where it fits
<makefu> the seo of the three manuals is very poor due to the overly large html page
detran has joined #nixos
Rusty1_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #35221: multimc: 0.5.1 -> 0.6.1 (master...update/multimc-0.6.1) https://git.io/vAR0b
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] limeytexan opened pull request #35222: perl-GSSAPI: init at 0.28 (master...perl-GSSAPI) https://git.io/vARET
NixOS_GitHub has left #nixos [#nixos]
Drakonis has joined #nixos
xorkle_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #35219: radiotray-ng: 0.2.0 -> 0.2.1 (master...update/radiotray-ng-0.2.1) https://git.io/vARRX
NixOS_GitHub has left #nixos [#nixos]
yann-kaelig has quit []
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vAREA
<NixOS_GitHub> nixpkgs/master 0022708 Shea Levy: qemu-riscv: Add initrd support patch
yann-kaelig has joined #nixos
<freeman42x]NixOS> is there a package for something similar to this? https://github.com/phw/peek
self2 has quit [Ping timeout: 268 seconds]
<freeman42x]NixOS> looking for someting that can record to GIF basically
orivej has joined #nixos
harms has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vARuH
<NixOS_GitHub> nixpkgs/master f8b5b93 Shea Levy: linux_riscv: Add patches for initrd support
NixOS_GitHub has left #nixos [#nixos]
<tommyangelo> why does nixops need a 'nixosVersion' attribute suddenly? I'm trying to make a vbox network to test staytus deployment, and I reused my production file, but modified it for virtualbox, so
<tommyangelo> it _should_ just work. None of the nixops examples show usage of nixosVersion
<gchristensen> tommyangelo: how do you mean, "need"?
<gchristensen> what is it doing which is surprising?
<tommyangelo> sorry, that was very unclear
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nix/master 4e44025 Eelco Dolstra: Release notes: Add contributors
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vARzn
NixOS_GitHub has left #nixos [#nixos]
self has joined #nixos
yann-kaelig has quit []
self is now known as Guest41864
Itkovian has quit [Read error: Connection reset by peer]
<tommyangelo> I made a test network with one machine wiht `deployment.targetEnv = "virtualbox";`
reinzelmann has quit [Quit: Leaving]
jtojnar has quit [Ping timeout: 248 seconds]
<tommyangelo> but when I deploy, nixops fails with `error: attribute ‘nixosVersion’ missing, at /nix/store/82gjbw920v9an39ik2jp1kjqb77l4adk-nixops-1.5.2/share/nix/nixops/eval-machine-info.nix:284:107`
<gchristensen> how did you make that new network?
<gchristensen> Nixops should automatically determine the nixosVersion
<tommyangelo> nixops create / modify
<tommyangelo> then nixops deploy
alexteves_ has joined #nixos
zzamboni has quit [Quit: Leaving.]
<gchristensen> hrm. maybe destroy the network and just try again?
cinimod_ has joined #nixos
zzamboni has joined #nixos
<tommyangelo> seems legit
<gchristensen> or: remove / comment out your test VM, do a nixops deploy -k, add it back, and nixops deploy again
<tommyangelo> hold on
ThatOtherGuy has quit [Read error: Connection reset by peer]
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
vidbina has quit [Ping timeout: 248 seconds]
thblt has quit [Remote host closed the connection]
<cinimod_> collision between
<cinimod_> ‘/nix/store/hqm7gz62cr1imxmf77x6ia4s387phxll-pandoc-2.0.6/lib/links/libHSaeson-1.2.4.0-9I6m0BNUPKdKai9dHHPEZ7-ghc8.2.2.dylib’
<cinimod_> ‘/nix/store/4wmmym1lzkkjw4drk1myi663r4da5616-BlogLiterately-0.8.6.1/lib/links/libHSaeson-1.2.4.0-9I6m0BNUPKdKai9dHHPEZ7-ghc8.2.2.dylib’;
<cinimod_> use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
<cinimod_> and
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<cinimod_> Why is this happening?
<cinimod_> I have no idea what I should do
zzamboni has quit [Client Quit]
<tommyangelo> gchristensen: that did not make a difference. Going to try with an example from the manual to see if it's a local nix problem
zzamboni has joined #nixos
<cinimod_> BTW I was trying to install pandoc
<niksnut> are you using nixpkgs master? nixosVersion was removed a couple of days ago
<tommyangelo> niksnut: yes
Neo-- has joined #nixos
<tommyangelo> so I should update maybe?
<jluttine> makefu: your snippet gave error: error: attempt to call something which is not a function but a set, at /nix/store/bh1c23b7wcc6zfy7nia1mmjjbmcdaa06-nixos-18.03pre127302.e860b651d6e/nixos/lib/customisation.nix:38:45
Drakonis has quit [Read error: Connection reset by peer]
zzamboni has quit [Remote host closed the connection]
zzamboni1 has joined #nixos
Mateon3 has joined #nixos
<cinimod_> `bash-3.2$ nix-env --set-flag priority 42 haskellPackages.pandoc
<cinimod_> error: selector ‘haskellPackages.pandoc’ matches no derivations`
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon3 is now known as Mateon1
<hodapp> what am I missing here? I added sshd.listenAddresses = [{ addr="localhost"; port=22; }]; to try to make sshd work on localhost only, but can still SSH in from external IPs
ThatOtherGuy has joined #nixos
<jluttine> makefu: nvm, i think i got it now
shiver has quit [Ping timeout: 248 seconds]
7YSAAJJPC has joined #nixos
<7JTADJ5NQ> [nixpkgs] dezgeg closed pull request #35220: systemd-cryptsetup-generator: fix compilation with systemd 237 (master...system-cryptsetup-generator-237) https://git.io/vAR0T
7JTADJ5NQ has joined #nixos
7JTADJ5NQ has left #nixos [#nixos]
<7YSAAJJPC> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vARgj
<7YSAAJJPC> nixpkgs/master d351cd9 Pascal Bach: systemd-cryptsetup-generator: fix compilation with systemd 237...
7YSAAJJPC has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #35173: makeTest: Only allow test names of up to 50 characters (master...max-test-name-length) https://git.io/vA4GJ
NixOS_GitHub has left #nixos [#nixos]
<tommyangelo> niksnut: looks like this is known about. Should have looked. https://github.com/NixOS/nixops/pull/871
zzamboni1 has quit [Quit: Leaving.]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] limeytexan opened pull request #35223: perl-Mail-Sendmail: init at 0.80 (master...perl-Mail-Sendmail) https://git.io/vAR21
Guest41864 has quit [Read error: Connection reset by peer]
nuncanada2 has joined #nixos
coot has joined #nixos
zzamboni has joined #nixos
shiver has joined #nixos
shiver has quit [Changing host]
shiver has joined #nixos
coot_ has joined #nixos
Capprentice has joined #nixos
pkill9_ has joined #nixos
coot has quit [Ping timeout: 240 seconds]
zzamboni has quit [Ping timeout: 252 seconds]
pkill9 has quit [Ping timeout: 252 seconds]
zzamboni has joined #nixos
<manveru> and another rubygems vulnerability...
spear2 has quit [Remote host closed the connection]
zzamboni has quit [Client Quit]
freeman42x]NixOS has quit [Remote host closed the connection]
dbmikus has joined #nixos
freeman42x]NixOS has joined #nixos
Guest3777 has joined #nixos
pkill9 has joined #nixos
pkill9_ has quit [Ping timeout: 240 seconds]
yann-kaelig has joined #nixos
coot_ has quit [Remote host closed the connection]
zzamboni has joined #nixos
ottidmes has quit [Ping timeout: 240 seconds]
<hyper_ch> infinisil: HELP :)
MercurialAlchemi has quit [Ping timeout: 264 seconds]
zzamboni has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
<infinisil> hyper_ch: I AM HERE
Tucky has quit [Quit: WeeChat 2.0.1]
erasmas has joined #nixos
<manveru> zimbatm: around?
zzamboni has quit [Client Quit]
<zimbatm> hey manveru
<zimbatm> what's the topic?
<manveru> zimbatm: we'll need a new rubygems patch for 2.7.6
<fgaz> anyone knows why if I have two fetchgit srcs the unpack phase fails? there isn'n anything to unpack, as the results are directories..
<zimbatm> ouch that looks bad
<manveru> i tried applying those patches to ruby directly, but they don't apply either
<manveru> so i think it's a good chance to upgrade rubygems anyway
<fgaz> here's the default.nix http://lpaste.net/5196912734557437952
szicari has joined #nixos
cement has joined #nixos
<manveru> that's my starting point, but it tries to install gems to $HOME during the miniruby phase
mkoenig has quit [Ping timeout: 248 seconds]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
<manveru> any ideas what's going on there?
<zimbatm> maybe they are trying to path the home folder? I would have to look at the code
<zimbatm> one thing I would try is to set the HOME and the print the output it generated in there during the build
<zimbatm> I mean override the HOME to $PWD/home or something
abcrawf has quit [Remote host closed the connection]
<manveru> i think it's because of the default dir that's in your patch?
<manveru> guess i can set GEM_HOME during installation then...
<zimbatm> I don't remember in which order all of this is applied ^_^
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
leat has quit [Ping timeout: 240 seconds]
<manveru> no worries, i'll figure something out :)
throwup has joined #nixos
knupfer has joined #nixos
zzamboni has joined #nixos
mkoenig has joined #nixos
<zimbatm> sorry I don't have the throughput available right now
<zimbatm> ping me when you have the patch and I'll get it merged
<throwup> When building a custom python (meaning python + packages) all packages seem to be built from source. Is there something I can do to get them to use binary caches, like when I install packages via configuration.nix
<throwup> ?
abcrawf has joined #nixos
<infinisil> throwup: the channels should have cached builds
<throwup> infinisil: I have both a nixos as well as a nixpkgs channel set up
<infinisil> throwup: what's nix-info say
mkoenig has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 6c4ac28 Shea Levy: riscv-pk: Properly respect --prefix.
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vAR6k
NixOS_GitHub has left #nixos [#nixos]
<infinisil> throwup: nix-info output is specifically made to paste here directly btw
fxr has joined #nixos
<throwup> Intensity: oh, I did not know that, sorry
zzamboni has quit [Quit: Leaving.]
<throwup> infinisil: ^
SOO7 has quit [Quit: Quit]
<infinisil> and what are you using to build it? the python thing
<manveru> zimbatm: well, got it to build
<manveru> will see if it actually works now
<manveru> seems fine :)
<manveru> so we can keep your patch as is
<throwup> infinisil: It's just the example in the nixpkgs manual, but with some added packages
<throwup> I run "nix-env -if path/to/file "to install
mkoenig has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master e2ceb06 Will Dietz: multimc: simplify a bit
<NixOS_GitHub> [nixpkgs] dtzWill pushed 4 new commits to master: https://git.io/vAR6d
<NixOS_GitHub> nixpkgs/master 4327b9d Will Dietz: multimc: 0.5.1 -> 0.6.1...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master ad71b24 Will Dietz: multimc: drop quazip per reviewer feedback, use nativeBuildInputs a bit
<infinisil> throwup: ahh, yeah that's because python3.5 builds are not cached
zzamboni has joined #nixos
<infinisil> only the latest python2 and python3 builds are being cached
SOO7 has joined #nixos
dan_b has joined #nixos
<throwup> infinisil: oh I did not know that, as I said I just copied it from the manual which still uses 3.5
Ivanych has joined #nixos
<throwup> infinisil: updating it to 3.6 worked, thank you so much
<infinisil> :)
Myrl-saki has quit [Ping timeout: 248 seconds]
zzamboni has quit [Ping timeout: 255 seconds]
Itkovian has joined #nixos
throwup has quit [Remote host closed the connection]
zzamboni has joined #nixos
szicari has quit [Quit: szicari]
freeman42x]NixOS has quit [Quit: Leaving]
szicari has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vARP6
<NixOS_GitHub> nixpkgs/master 29318c4 zimbatm: kubernetes-helm: 2.8.0 -> 2.8.1
NixOS_GitHub has left #nixos [#nixos]
<detran> I just installed nixos on a vm, but I forgot to set a passwd for both root and the user I created. Is there an easy way to set those? Otherwise I'll just do a quick reinstall
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vARPP
<NixOS_GitHub> nixpkgs/master c727e7e volth: haxe: 3.4.4 -> 3.4.6
<NixOS_GitHub> nixpkgs/master d649211 Joachim F: Merge pull request #35153 from volth/patch-90...
NixOS_GitHub has left #nixos [#nixos]
Arcaelyx has joined #nixos
zzamboni has quit [Ping timeout: 255 seconds]
<manveru> detran: you can probably chroot from the live cd/usb and run `passwd`
freeman42x]NixOS has joined #nixos
<detran> thanks manveru
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 679c557 Joachim F: Merge pull request #35137 from volth/patch-88...
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vARXn
<NixOS_GitHub> nixpkgs/master fef4c02 volth: babelstone-han: 10.0.0 -> 10.0.2
NixOS_GitHub has left #nixos [#nixos]
<manveru> not sure if it's faster than fresh install... depends on your connection i guess :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vARXg
<NixOS_GitHub> nixpkgs/master 77ffe75 Joachim F: Merge pull request #35138 from volth/patch-89...
<NixOS_GitHub> nixpkgs/master 08e0ed3 volth: dockbarx: 0.92 -> 0.93
NixOS_GitHub has left #nixos [#nixos]
fxr has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #35138: dockbarx: 0.92 -> 0.93 (master...patch-89) https://git.io/vA8Rb
NixOS_GitHub has left #nixos [#nixos]
coot_ has joined #nixos
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vARXM
<NixOS_GitHub> nixpkgs/master 06f9b25 volth: pngquant: 2.9.1 -> 2.11.7...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master eaf6a34 Joachim F: Merge pull request #35135 from volth/patch-87...
7GHAB5JE7 has joined #nixos
<7GHAB5JE7> [nixpkgs] joachifm closed pull request #35130: zam-plugins: 3.9 -> 3.10 (master...zam-plugins) https://git.io/vA8lv
7GHAB5JE7 has left #nixos [#nixos]
17SAAQ6Q7 has joined #nixos
<17SAAQ6Q7> nixpkgs/master 3f1e261 Bart Brouns: zam-plugins: 3.9 -> 3.10
17SAAQ6Q7 has left #nixos [#nixos]
<17SAAQ6Q7> nixpkgs/master d2fd479 Joachim F: Merge pull request #35130 from magnetophon/zam-plugins...
<17SAAQ6Q7> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vARXy
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #35085: kakoune: 2017-04-12 -> 2018-02-15 (master...kakoune-2018-02-15) https://git.io/vAWhz
NixOS_GitHub has left #nixos [#nixos]
Ankhers has joined #nixos
zzamboni has quit [Ping timeout: 240 seconds]
<detran> manveru: using the chroot from the live disk was much faster, thanks
<manveru> cool
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] Profpatsch closed pull request #855: nix-shell: improve shebang recognition (master...shebang-second-line) https://git.io/va6gb
NixOS_GitHub has left #nixos [#nixos]
zzamboni has joined #nixos
m712 has left #nixos ["WeeChat 2.0.1"]
ryanartecona has joined #nixos
winem_ has joined #nixos
throwup has joined #nixos
zzamboni has quit [Remote host closed the connection]
genesis has left #nixos ["Leaving"]
genesis has joined #nixos
phI||Ip has quit [Quit: ZNC 1.6.1 - http://znc.in]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to master: https://git.io/vARM6
<NixOS_GitHub> nixpkgs/master 996ed08 Nikolay Amiantov: dhcpcd service: always want by multi-user...
<NixOS_GitHub> nixpkgs/master 5ff25fc Nikolay Amiantov: dhcpcd service: want for both IP stacks...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master d77984f Nikolay Amiantov: network-interfaces-scripted service: delay setup if IPv6 is disabled...
<shlevy> For people who want to play around with riscv... https://github.com/shlevy/nixos-riscv-bootstrap
orivej_ has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
<dtz> shlevy: :D
bollu has quit [Remote host closed the connection]
phI||Ip has joined #nixos
asuryawanshi has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/040fb6c1a07 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy created binutils-2.30 (+2 new commits): https://git.io/vARDh
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/binutils-2.30 4187ea4 Shea Levy: Merge remote-tracking branch 'origin/master' into binutils-2.30
<NixOS_GitHub> nixpkgs/binutils-2.30 e0287cb Shea Levy: binutils: Bump default to 2.30
Itkovian has quit [Ping timeout: 255 seconds]
<dtz> shlevy: can't wait for RISC-V support in musl (and gcc, if needed?)-- then the awesomeness will COMBINE muahaha
<shlevy> dtz: gcc has it, there's a musl port I need to track down at some point
dnovosel has quit [Ping timeout: 260 seconds]
<dtz> 😁
<genesis> RISC-V when i package a bunch of stuff for z80 :O
<genesis> mode 0, nothing else matter.
<pie_> dtz, plz, let me stop using systemd
<pie_> > NEVER
<pie_> also openbsd port of nix k thanks
<pie_> :D
<Taneb> pie_: my understanding is the only reason Nix doesn't support OpenBSD is that no-one's signed up to look after it
<Taneb> It does support Mac
<dtz> hahaha
<betaboon> hello #nixos, I'm just trying to create a package with buildPythonApplication from a private python-project that uses setup.py with entry_points/console_scripts and i run into a "invalid syntax" error when running the package-provided application. i guess this is due to the wrapping of the application. can i deactivate that somehow ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 7 new commits to master: https://git.io/vARSc
<NixOS_GitHub> nixpkgs/master 8cfaa55 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master a3c1a66 Peter Simons: liquidhaskell: drop obsolete override
<NixOS_GitHub> nixpkgs/master 0d77408 Peter Simons: hackage2nix: disable broken Hydra builds
NixOS_GitHub has left #nixos [#nixos]
<dtz> but yeah I wouldn't advise holding your breath for systemd-less NixOS, I think that would almost certainly need to be a fork or require some awesome abstractions around the init/etc
pkill9_ has joined #nixos
<dtz> betaboon: quick grep suggests "dontWrapPythonPrograms = true" in your derivation may do the trick?
hexagoxel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vARSS
<NixOS_GitHub> nixpkgs/master 328f8a6 volth: nixos/nat: support nat reflection
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 3942cbe Franz Pletz: Merge pull request #35161 from volth/patch-92...
<betaboon> dtz: gonna check. i had the feeling that there is an option for that, but couldnt remind the key xD
<dtz> betaboon: but if you want mixed wrapped and unwrapped I suspect you'll have to get your hands a bit dirty (and I'm probably not the best guide through the python workings)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vARS5
<NixOS_GitHub> nixpkgs/master 39ff498 Shea Levy: kernelPatches: Add pointer to ml threads for riscv patches.
NixOS_GitHub has left #nixos [#nixos]
pkill9 has quit [Ping timeout: 248 seconds]
humanoyd has joined #nixos
<fearlessKim[m]> betaboon: where the error happens ? I have had programs with console_scripts entry points too and no pb so far
<pie_> Taneb, id be scratching my head a lot about linux features it depends on, but i dont know a lot about internals
<dtz> betaboon: haha my thoughts exactly. I'm never far from a ripgrep invocation against nixpkgs-master lol!
<pie_> i keep wanting to look into it but lack of time and lack of qualifications :D
<pie_> so yeah...
contrapumpkin has joined #nixos
pkill9 has joined #nixos
<dtz> betaboon: if it works and you're feeling ambitious/generous please consider filing a PR adding that to the python nixpkgs docs: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.md
<betaboon> fearlessKim[m]: just noticed it is due to workzeug * Restarting with stat (when i start my application in debug mode)
<dtz> I wouldn't mind seeing Nix revival on FreeBSD
aanderse has joined #nixos
<shlevy> I'd love to see a pure stdenv there...
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pkill9_ has quit [Ping timeout: 256 seconds]
robstr has joined #nixos
hexagoxel has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
jb554 has joined #nixos
hexagoxel has joined #nixos
nflores has joined #nixos
<betaboon> dtz: dontWrapPythonPrograms seems to do the trick :)
<sphalerite_> throwup: if you just use python3Packages it'll the version that's built for at any given time
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to release-17.09: https://git.io/vAR9A
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 d09e425 Michael Fellinger: update rubygems version (#35224)...
<dtz> \o/\o/
<dtz> and there was much rejoicing in the land of betaboon
<dtz> and land of dtz. rejoicing everywhere.
<throwup> sphalerite: yeah, that makes sense
contrapumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkoenig has quit [Ping timeout: 276 seconds]
jensens has quit [Ping timeout: 276 seconds]
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<nflores> sphalerite_: me again, those curlOpts in fetchurl are still giving me a problem. Using: curlOpts = lib.escapeShellArgs ["-L" "-H" "Accept: application/octet-stream"]; curl seems to thing each item in the list is a url: curl: (6) Could not resolve host: '-L', some for -H, Accept, and application.
lonokhov has quit [Quit: Lost terminal]
__monty__ has joined #nixos
<infinisil> String based infertaces ftw
mkoenig has joined #nixos
<__monty__> I run enlightenment, added ~/.nix-profile/share to XDG_DATA_DIRS so the Everything launcher could see the .desktop files but it can't launch the programs, opens a dialog stating "unable to run: program". Anyone know of a solution?
Itkovian has joined #nixos
<sphalerite> infinisil: the kind that blows up inter your face
coot_ has quit [Ping timeout: 256 seconds]
<pie_> so i have a symlink gc root for a thing so that i dont gc it by accident, but is there a way to make some kind of runner link for an environment so that i can reenter that environment?
<__monty__> Another question: What firefox do I want? And do I need to specify addons when installing it with nix?
<pie_> im running a shell.nix script after a reboot and its rebuilding stuff for somre reason
<ldlework> How do I install dart/pub with Nix?
<infinisil> sphalerite: hah
<dtz> there's some recipes for that pie_ , on the mailing list. Maybe back when it was nix-dev@? don't remember the details ATM
<dtz> and there may be a more readily available resource... :)
<infinisil> __monty__: just firefox, no addons aren't done with nix
<ldlework> Can't figure out the package invocation..
<infinisil> __monty__: not sure what you mean by which firefox
<__monty__> infinisil: There's a bunch of attributes firefox-esr, firefox-bin, firefox-unwrapped...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yrashk opened pull request #35225: pijul: 0.8.0 -> 0.8.3 (master...pijul-0.8.3) https://git.io/vAR5z
NixOS_GitHub has left #nixos [#nixos]
<srk> __monty__: just use "firefox" :)
<__monty__> But I like to know why.
<infinisil> __monty__: just firefox really, or firefox-esr if you want the extended support release
<infinisil> unwrapped versions are mainly for overriding stuff, at least that's what i used them for
jtojnar has joined #nixos
<freeman42x]NixOS> how could I install cabal-install-2.0.0.0 but under version 2 ?
<infinisil> freeman42x]NixOS: you mean version <2?
<freeman42x]NixOS> yup
<freeman42x]NixOS> I seen there are version of Cabal library under version 2, but not for cabal-install
<freeman42x]NixOS> https://paste2.org/3YCb02vO
<infinisil> freeman42x]NixOS: you can check out an older nixpkgs version and use that cabal-install
<freeman42x]NixOS> I need cabal v < 2 becaue of ghc-mod issues... probably
<infinisil> ohhhh ghc-mod issues... I've been there
<infinisil> freeman42x]NixOS: what specific problem do you have?
<infinisil> I'm 99.9% sure trying to install cabal-install 1.x does not solve the problem
<infinisil> well only about 95% actually
<freeman42x]NixOS> heh
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lesce has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asuryawanshi has quit [Remote host closed the connection]
<infinisil> freeman42x]NixOS: But, cabal-install 2 was first present in https://github.com/NixOS/nixpkgs/commit/35dd36a027c5421c62b883a948effbcf846af9af
asuryawanshi has joined #nixos
<infinisil> found with git bisect
<infinisil> So to get cabal 1, you could get the parent hash, then nix-build -f https://github.com/NixOS/nixpkgs/archive/142df088252bb148135f8866cca12d36b0bedb13.tar.gz -A cabal-install
dan_b has quit [Ping timeout: 256 seconds]
<infinisil> or nix-env -f <url> -iA cabal-install should work too
<freeman42x]NixOS> not sure how that would mess with the fact that I currently have it under: haskell.packages.ghc802.ghcWithHoogle
<freeman42x]NixOS> was thinking to just try to rollback to older GHC
knupfer has quit [Ping timeout: 260 seconds]
<freeman42x]NixOS> that would probably be associated to older cabal-install also
<gchristensen> is there a way to ask Linux to re-enumerate an internal USB hub?
mkoenig has quit [Ping timeout: 240 seconds]
cinimod_ has quit [Quit: Connection closed for inactivity]
<infinisil> freeman42x]NixOS: ghc802 probably won't be in that nixpkgs sha
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo pushed 5 new commits to master: https://git.io/vARFh
<NixOS_GitHub> nixpkgs/master ab1a1c6 Bignaux Ronan: idsk : init at 0.16-1846729
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master fed67dc Bignaux Ronan: fix tab
<NixOS_GitHub> nixpkgs/master d93933e Bignaux Ronan: fixes according to PR
<hyper_ch> if someone hasn't got a birthday present for me yet, I wouldn't say "no" to those babies https://arstechnica.com/gadgets/2018/02/samsung-crams-30tb-of-ssd-into-a-single-2-5-inch-drive/
<dtz> gchristensen: don't know, maybe try toggling power to it (powertop or so)? not really an answer O:)
<gchristensen> hmm a good sugggestion
<infinisil> hyper_ch: Nice
mkoenig has joined #nixos
<infinisil> hyper_ch: what were you needing help with earlier today?
sigmundv has quit [Ping timeout: 248 seconds]
Neo-- has quit [Remote host closed the connection]
<hyper_ch> infinisil: well, when writing a nixos module.... where will the config file actually end up and what will it look like or how to control it?
<freeman42x]NixOS> infinisil, this bit: Cabal-1.24.2.0: createProcess: runInteractiveProcess: exec: does not exist
<freeman42x]NixOS> so, not 100% sure... but I think it wants cabal-install v. 1
<hyper_ch> btw, isn't it sad when a stroge disk has more ram than your whole server :(
mkoenig has quit [Ping timeout: 256 seconds]
<infinisil> hyper_ch: there is no config file
lesce has joined #nixos
<infinisil> hyper_ch: the output of the system derivation is your "config"
<infinisil> but it really includes your whole system
<__monty__> Anyone know how to properly add ~/.nix-profile/bin to PATH so your DE can see the change?
<infinisil> hyper_ch: when you go to /run/current-system, that's such a result
Drakonis has joined #nixos
<infinisil> freeman42x]NixOS: i'm not sure if cabal is the same as cabal-install
<Drakonis> no gsoc this year?
throwup has quit [Ping timeout: 268 seconds]
winem_ has quit [Ping timeout: 268 seconds]
<hyper_ch> infinisil: I don't really understand :(
<infinisil> __monty__: ~/.xprofile gets sourced before DE's start, so putting `export PATH="$HOME/.nix-profile/bin:$PATH` there would probably solve it, but it's not a nice solution
<__monty__> infinisil: What would be a nice solution?
<infinisil> hyper_ch: you basically can't get the nix config for a built system, you can only query the stuff from the nix files
<infinisil> __monty__: No idea
<hyper_ch> infinisil: I don't understand... don't daemons usually require some configuration file
<hyper_ch> or nginx / apache that defines vhosts and stuff
ixxie has joined #nixos
<infinisil> hyper_ch: what daemon are you talking about?
<infinisil> Ah
<hyper_ch> infinisil: in the configuration.nix you set options
<hyper_ch> so they must be stored somewhere
<hyper_ch> like you did for znapzend
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xeji opened pull request #35226: virglrenderer: init at 0.6.0 (master...virglrenderer) https://git.io/vARNA
NixOS_GitHub has left #nixos [#nixos]
<infinisil> Ah so you want to check out what e.g. the config for X looks like, because it got generated with pkgs.writeFile at some point?
<hyper_ch> infinisil: how in the module do I define what the configs looks like and where it's stored
<infinisil> hyper_ch: you use let config = pkgs.writeFile "foo.config" '' <the contents of the config ''; in ...
<infinisil> then insert config wherever the config needs to be (command line arguments or location)
<hyper_ch> infinisil: I'll have to check up on that
<infinisil> this just puts it somewhere in /nix/store and you don't really have to care about where exactly
__monty__ has quit [Quit: reboot]
mkoenig has joined #nixos
mkoenig has quit [Read error: Connection reset by peer]
<hyper_ch> ok
<hyper_ch> infinisil: another option for my backup script came to my mind :)
<infinisil> that is?
pSub has quit [Remote host closed the connection]
<hyper_ch> check free disk space and notifiy when it's less than xxx
<hyper_ch> s/disk/tank/
<nflores> anyone else have success passing in curlOpts to fetchurl? Here's what I'm trying: curlOpts = lib.escapeShellArgs ["-L" "-H" "Accept: application/octet-stream"]; curl seems to think each item in the list is a url: curl: (6) Could not resolve host: '-L', some for -H, Accept, and application.
hotfuzz_ has quit [Ping timeout: 260 seconds]
<infinisil> sure :2
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
<hyper_ch> not sure if I should go for % or actual space
<hyper_ch> I have a tendency leaning more towards %
<hyper_ch> zpool list -o cap pool
<hyper_ch> zpool list -Ho cap pool
__monty__ has joined #nixos
<__monty__> infinisil: Seems to have done the trick, thanks.
hotfuzz has joined #nixos
<hyper_ch> but I have to look up how you create like those services.nginx.virtualHosts.<name>.xxxxxxx
<jluttine> how do i know if something goes to kernelModules or availableKernelModules?
mkoenig has joined #nixos
<__monty__> I'd like to move some installed attributes into a buildEnv, how do I do this without uninstalling them?
<infinisil> hyper_ch: I happen to know how
mkoenig has quit [Read error: Connection reset by peer]
<jluttine> s/if/whether/
<hyper_ch> infinisil: using advanced automagic?
<infinisil> hyper_ch: indeed
<chaker> Hey, What's the best why to package Maven packages? is't using mvn2nix? I saw in the mailing list that's it's not maitained anymore :(
<__monty__> Is there a way to install thunderbird (earlybird) with a .desktop file? The lack of an icon makes it inconvenient in my panel.
<infinisil> hyper_ch: okay well you can just look at other modules tbh
<aminechikhaoui> jluttine: lsmod ?
<aminechikhaoui> oh you mean which one to use
__Sander__ has quit [Quit: Konversation terminated!]
<jluttine> aminechikhaoui: yep
hask_bee_3 has joined #nixos
<jluttine> in this case, "dm-snapshot"
<hask_bee_3> How can I make $NIX_PATH/nixpkgs point to a different channel?
<hask_bee_3> (one of the channels at nix-channel --list)
<__monty__> hask_bee_3: Re-export NIX_PATH?
<infinisil> jluttine: from the options description: "Note that modules that are needed to mount the root file system should be added to boot.initrd.availableKernelModules or boot.initrd.kernelModules"
<clever> hask_bee_3: also, <channelname> should work
<aminechikhaoui> jluttine:
<jluttine> infinisil: still that doesn't help me decide which one..
<infinisil> ah haha
<__monty__> It should, clever? I had to add and entry for nixos to my NIX_PATH.
<clever> [clever@system76:~]$ echo $NIX_PATH
<clever> nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<clever> __monty__: the last element in here, that is every channel on root
<clever> __monty__: so the channels are just accessible by name
<infinisil> jluttine: well i guess a way to find out is to put it in boot.kernelModules first, if it doesn't boot, put it in boot.initrd instead
<aminechikhaoui> jluttine: availableKernelModules is for stage1 i.e initrd while kernelModules are for stage2
<__monty__> clever: And that's not a nixos only thing?
<clever> __monty__: it might be nixos only, let me check another machine
pkill9_ has joined #nixos
<clever> clever@c2d ~ $ echo $NIX_PATH
<clever> nixpkgs=/home/clever/.nix-defexpr/channels/nixpkgs:nixpkgs=/home/clever/.nix-defexpr/channels/nixpkgs
<clever> __monty__: under gentoo, it uses the channels from the user that installed nix
<__monty__> So I can just replace my NIX_PATH with $HOME/.nix-channels?
<__monty__> Or, ~/.nix-defexpr/channels?
<clever> __monty__: i think the last one should work
pkill9 has quit [Ping timeout: 256 seconds]
knupfer has joined #nixos
<tmplt-> In nixpkgs, telegram-desktop is available under 'tdesktop' while other clients have the 'telegram-' prefix. Shouldn't telegram-desktop also have this prefix?
tmplt- is now known as tmplt
pinnokio has quit [Quit: Textual IRC Client: www.textualapp.com]
<__monty__> clever: Seems to work, tested with nix-env -f '<nixos>' -qa after exporting a new NIX_PATH.
Drakonis has left #nixos ["Leaving"]
<__monty__> So, my only remaining question how do I move something I installed into a buildEnv defined in config.nix?
<freeman42x]NixOS> infinisil, trying with cabal-install version 1.24.0.2 didn't fix the issue :(
knupfer has quit [Read error: Connection reset by peer]
<clever> __monty__: move?
<__monty__> *something I installed using nix-env -iA attr.bute into a buildEnv defined in config.nix without uninstalling the attribute.
chaker` has joined #nixos
<clever> __monty__: -e only works on names, check nix-env -q to see the names
kitemikaze has joined #nixos
<__monty__> But do I have to -e?
knupfer has joined #nixos
jluttine has quit [Remote host closed the connection]
pkill9_ has quit [Ping timeout: 252 seconds]
<clever> __monty__: oh, if you just want to update the buildEnv, just -iA it again
pkill9_ has joined #nixos
<__monty__> Still not exactly what I meant but I realized -e only removes the name from my profile so it's basicaly harmless.
<aanderse> i have a relatively new laptop which runs nixos. when i try to suspend the laptop (close the lid) the screen goes blank but i hear the fan running still. when i open the lid the screen won't turn back on and it is frozen, requiring me to hard reboot it. this wasn't always the case... at some point the laptop could suspend/resume fine. i just booted into an ubuntu livecd and suspend/resume works fine in a live usb environment. is
<aanderse> there any advice someone could provide for me to troubleshoot?
chaker has quit [Ping timeout: 268 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dezgeg opened pull request #1886: AFL-fuzz hang/crash fixes (master...afl-fixes) https://git.io/vARhB
NixOS_GitHub has left #nixos [#nixos]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__monty__> Is there a .desktop included in the thunderbird (earlybird) package? The lack of an icon is annoying with my panel.
mkoenig has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
roberth has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 248 seconds]
__monty__ has quit [Ping timeout: 256 seconds]
jluttine has joined #nixos
<srk> aanderse: check out dmesg, sometimes is just a specific piece of hardware causing trouble
<srk> *it's
__monty__ has joined #nixos
<srk> you can also try switching to kernelPackagesLatest
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #35227: nnn: 1.5 -> 1.6 (master...update-nnn) https://git.io/vA0e8
NixOS_GitHub has left #nixos [#nixos]
__monty__ has quit [Client Quit]
<freeman42x]NixOS> receiving this error when trying to switch to GHC 784 https://paste2.org/MAb09D3V
<freeman42x]NixOS> GHC 802 and higher build just fine
<clever> freeman42x]NixOS: do you have an overrides dealing with ghc-boot?
betaboon has quit [Ping timeout: 252 seconds]
lesce has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<freeman42x]NixOS> clever, I just have this in my system packages https://paste2.org/km4LAjjY
<clever> it might be that the 784 package set is broken
<clever> freeman42x]NixOS: what do you get if you --show-trace the error?
<freeman42x]NixOS> clever, https://paste2.org/y0m0EMD1
<clever> heh, the standard wall-of-text error!
tmaekawa has joined #nixos
<dash> anybody successfully using hplip? I'm encountering various qt plugin related errors
<dash> I hit this with things every few months and never precisely remember how to resolve it.
<clever> freeman42x]NixOS: line 60 says that its somehow related to loading ghc-mod
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d09e425aea3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
jluttine has quit [Quit: WeeChat 2.0]
tmaekawa has quit [Client Quit]
jluttine has joined #nixos
<freeman42x]NixOS> clever, commented it out and now it complains about stack2nix-0.1.3.0 etc.
abrar has quit [Quit: WeeChat 1.9.1]
endformationage has joined #nixos
<srk> dash: wurkz for me on master
<srk> dash: if you mean cups + hplip
<dash> srk: interesting. i'm on nixos-unstable, getting the usual qt/dbus related weirdness
<dash> I mean running 'hp-setup'
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #35228: racerd: 2017-02-17 -> 2017-09-15 (master...racerd) https://git.io/vA0fk
NixOS_GitHub has left #nixos [#nixos]
<freeman42x]NixOS> clever, I commented out ALL of the packages and even changed from ghcWithHoogle to ghcWithPackages and now it finally builds
<clever> freeman42x]NixOS: theres probably something wrong with the 784 package set
<freeman42x]NixOS> clever, that is what I don't get, I thought that if something works on Nix once it will forever work
<jluttine> infinisil aminechikhaoui: i tried adding "dm-snapshot" to boot.kernelModules, boot.initrd.availableKernelModules and boot.initrd.kernelModules in turns. only the last one had the correct effect. not sure if i'm any wiser though.. this module was needed in stage1 but kernelModules was for stage2 so why did it work? also, still a bit unclear how kernelModules and availableKernelModules under boot.initrd
<jluttine> differ...
<freeman42x]NixOS> now even adding ghcWithHoogle breaks the build
<clever> freeman42x]NixOS: somebody changed the haskell expressions, and didnt re-test its effects on 784
mkoenig has joined #nixos
mkoenig has quit [Read error: Connection reset by peer]
<srhb> freeman42x]NixOS: The promise only really holds for one version of nixpkgs. Once you update your channel, everything goes! (Especially if there's no test automation)
<freeman42x]NixOS> does it make any sense to create a ticket for this issue?
<srhb> freeman42x]NixOS: For 7.8.4, I don't know... I doubt someone cares enough to support it, but you can always try.
<srhb> Worst case it'll just rot. :)
abrar has joined #nixos
<dash> srk: ever tried that?
<srhb> I'd suggest either building whatever you need from there with an older version of nixpkgs instead (that's the promise!)
<srhb> Or just upgrading what you need to a more recent ghc.
mkoenig has joined #nixos
coot_ has joined #nixos
<srhb> freeman42x]NixOS: fwiw the oldest ghc in unstable is currently 7.10.3
<freeman42x]NixOS> I created a ticket for it: https://github.com/NixOS/nixpkgs/issues/35229
f0i has quit [Ping timeout: 240 seconds]
<srk> dash: not really, just added a printer via cups webif
ottidmes has joined #nixos
<dash> srk: OK :-)
<dash> i'm trying buildFHSUserEnv to see if that helps.
<dash> currently it's decided that means rebuilding qt
ma27 has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #35230: bcal: init at 1.7 (master...init-bcal) https://git.io/vA0UK
NixOS_GitHub has left #nixos [#nixos]
chreekat has joined #nixos
michalrus has joined #nixos
<michalrus> Dezgeg: hello! What’s the status of nixos-arm.dezgeg.me? It seems that the cache stopped working.
<michalrus> s/cache/ARM cache/
<Dezgeg> I saw it earlier running out of memory when compiling GCC 7 for the kernel concurrently with something else
<Dezgeg> but it seems it got past that, so hopefully it soon updates
<srhb> freeman42x
<srhb> Woops
<srhb> freeman42x]NixOS: I need to go back to 2015 to get a working ghcWithHoogle in 784
<freeman42x]NixOS> srhb, that's quite some time-travelling stuff :)
<srhb> freeman42x]NixOS: Well, that's the cool thing. :-)
<freeman42x]NixOS> time travelling can be dangerous, I'd have to abstain from punching my past self
<srhb> I keep myself not included in nixpkgs to avoid that sort of thing.
<gchristensen> !m srhb
<[0__0]> You're doing good work, srhb!
<infinisil> Nixpkgs really shines in that sense
<gchristensen> very time-travel-safe
<infinisil> But, how can you time travel with the correct nix version?
knupfer has quit [Ping timeout: 260 seconds]
<gchristensen> nix is totally bC
knupfer has joined #nixos
<infinisil> Because if you just nix-build it's gonna use 1.11, not the nix that was used for that nixpkgs
<srhb> infinisil: Import nixpkgs once at the version, then again with that nix!
<chreekat> When I read nix-instantiate's man page, I don't get the impression that it is going to build a lot of things. But that's what it does. What am I misunderstanding?
<infinisil> I wonder how far back that would work
<clever> chreekat: import from derivation can cause builds at eval time
<chreekat> clever: Can you expand on that or provide an example?
<clever> chreekat: any time you do something like import "${foo}" where foo was a derivation
<srhb> infinisil: Presumably you'd only have to make more temporary breaks if it does break, no?
<srhb> infinisil: Unless there's a definite break somewhere.. I guess there might very well be.
<srhb> Some version of nix that can't build the one before it? I don't know.
<srhb> I think the problem will probably be missing upstream sources before that :-P
<infinisil> (ignore that)
<infinisil> srhb: i guess a safe way is to boostrap nix from the bottom
<infinisil> Instead of top-down
<srhb> infinisil: Oh, yeah.
<infinisil> The first nix version buildable by nix itself :o
szicari has quit [Quit: szicari]
<srhb> Aghhh I just checked out the first commit and everything is so foreign
<gchristensen> yeah Nix was VERY different then!
<srhb> It doesn't even contain Nix!
<infinisil> Yeah did that too before
<freeman42x]NixOS> oh ghc-7.10.3 is newer than 7.8.4 doh :/
<srhb> Commit message: "[...] Nix itself should also be Nixified so that it can be put into the store."
<srhb> freeman42x]NixOS: Yeah! :-) By about a year iirc
Izorkin has joined #nixos
<srhb> Mar 28 2003: * Allow arguments to be passed to programs in `nix run'.
<srhb> This just in, Nix 2.0 is a hoax! It was there all along!
<infinisil> whoa
<LnL> lol
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #35232: mergerfs: 2.23.0 -> 2.23.1 (master...update-mergerfs) https://git.io/vA0IW
NixOS_GitHub has left #nixos [#nixos]
<srhb> This is amazing, why have I never done this before...
<srhb> It's like spelunking.
Synthetica has quit [Quit: Connection closed for inactivity]
elurin has joined #nixos
<niksnut> incredible, that was when nix was less than 2 weeks old
<srhb> :-)
<infinisil> Hmm, maybe something interesting would turn up if one were to sort commits by commit message length
<niksnut> I totally forgot it initially had a subcommand-style interface
<srhb> niksnut: Time cycles! :-)
<pikajude> is there an easy way to write a derivation that just unpacks a given zip file?
<clever> pikajude: pkgs.runCommand
<niksnut> interestingly, the very first commit has a proto-NixOS
<srhb> So I see.
<srhb> If I start calling packages "descriptors" I can seem really old school!
<srhb> Ooo, what's this ~ operator
<srhb> pkgs.bash ~ /bin/sh
<chreekat> clever: ok, I think I understand. Let me describe my problem: On my laptop, I seem to have GC'd a huge goop of dependencies for a project using a pinned nixpkgs. This project doesn't have its own binary cache, and the upstream cache it was using seems to have evicted our particular dependency chain. Rather than rebuild the universe, I'd like to copy the closure from another machine that *does* have the deps
<chreekat> built. But, sitting on my laptop with just the Nix files and source code, how do I figure out what store path I want to copy? There are a half-dozen versions on the other machine and I don't know which is which
<srhb> chreekat: Can't you just build it on the other machine?
aarvar has joined #nixos
<infinisil> chreekat: ssh substitutors
<srhb> Or that...
<chreekat> infinisil: (slaps forehead)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #33996: acme-client: init at 0.1.6 (master...acme-client) https://git.io/vNRuH
NixOS_GitHub has left #nixos [#nixos]
<infinisil> chreekat: link to the section for reference https://nixos.org/nix/manual/#ssec-ssh-substituter
Guest3777 has quit [Ping timeout: 256 seconds]
<infinisil> (I can't ever seem to remember the options name€
luigy has quit [Ping timeout: 268 seconds]
<acowley> Is this thread the current latest word on selecting emacs packages form nixpkgs? https://github.com/NixOS/nixpkgs/issues/27083
<dtz> grahamc: is there an "ofBorg" channel? :P just wondering
<acowley> Having to manually pick everything out from melpaPackages seems pretty clunky.
<chreekat> srhb: I'm also interested in the underlying question for the sake of understanding Nix better, but I have a suspicion that the answer is "it can't be done". As in, I can't know the output of nix-instantiate without building all my deps. I mean, without building the derivations of my deps.
<LnL> dash: #nixos-borg
<LnL> dtz: oops ^
<chreekat> DAE "derivation is a misnomer"? Derivation of what? And you can "build" a derivation? Seems like a derivation would be the output of a build, not the other way around... :)
<infinisil> acowley: you can do something like `epkgs.melpaPackages.foo or epkgs.foo` to always prefer melpa
<jluttine> uh, how can i make cmake a build input without it suddenly trying to make some funny stuff.. :o the make file needs cmake, that's it, but adding cmake to nativeBuildInputs adds some new steps or something weird
<dtz> grahamc: misc thoughts well nix'ing: differentiating existing failures from new failures might be neat. I think I remember that being discussed, apologies if I missed that. Related: filter build platforms to those declared as supported? It's hardly a "failure" if it isn't meant to work, but it is nice to see that such is confirmed. Not a big thing...
<dtz> oh hooray I thought so
<acowley> infinisil: You need to do the the overrideScope to prevent dependencies coming from melpaStable if you want to use melpa, and then you need to re-list the packages you want in your emacsWithPackages function application.
<dtz> jluttine: for this, dontUseCmakeConfigure = true;
self has joined #nixos
self is now known as Guest7111
<acowley> You can't just say `emacsWithPackages (epkgs: [ epkgs.melpaPackages.foo ])`, for example, if you want foo's dependencies to come from melpaPackages rather than melpaStablePackages.
ixxie has quit [Quit: Lost terminal]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 2f97446 Maximilian Bode: flink: 1.3.2 -> 1.4.0...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vA0qe
<NixOS_GitHub> nixpkgs/master af37d08 Joachim F: Merge pull request #33143 from mbode/flink_1_4_0...
<acowley> Doing the straightforward thing leaves you with multiple versions of packages on your load-path and an unhappy emacs
peacememories has joined #nixos
szicari has joined #nixos
alex`` has quit [Ping timeout: 256 seconds]
<jluttine> dtz: thanks!
<chreekat> ssh-substituter-hosts doesn't seem to do anything for me. It also doesn't show up in nix.conf(5), but I don't know if that is surprising or not
chaker` has quit [Ping timeout: 265 seconds]
<ottidmes> chreekat: Are you using nix 2.0 (1.12)?
<ottidmes> chreekat: Since it does work for me with nix 1.11, but when I tried nix 2.0 it no longer did
<chreekat> I'm on whatver NixOS 17.09 provides
<ottidmes> chreekat: That would be 1.11, unless you have nix.package set to nixUnstable
<chreekat> the nix.conf(5) man page lists 'nix 1.11.16' in the footer, and I don't know where else to look :)
<chreekat> ottidmes: Ok, so I'm on the version that *did* work for you
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] catern opened pull request #35233: supervise: 1.3.0 -> 1.4.0 (master...upsup) https://git.io/vA0qA
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #32761: crashplan-small-business: init at 6.6.0 (master...crashplan-small-business) https://git.io/vbKhI
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> chreekat: I have this: nix.extraOptions = "ssh-substituter-hosts = ${serveHostName}"
ThatDocsLady has quit [Remote host closed the connection]
<ottidmes> chreekat: I also that that serveHostName defined in my programs.ssh.extraConfig, so it is known system wide
ThatDocsLady has joined #nixos
<ottidmes> chreekat: If you have that as well, I can look further for you what I did to make it work, but first I am finishing my last pancake :P
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<chreekat> ottidmes: enjoy :)
<chreekat> There are potentially other problems that I will first rule out
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #32062: nixos/varnish: check .vcl syntax at compile time (master...patch-73) https://git.io/vFjRm
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #32061: varnish: 5.1.3 -> 5.2.1 [fixes CVE-2017-8807] (master...patch-72) https://git.io/vFj4u
NixOS_GitHub has left #nixos [#nixos]
peacememories has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
Baughn has joined #nixos
<Baughn> So while I was debugging an IRCCloud problem (the android app keps reconnecting), I discovered a NixOS systemd bug.
<Baughn> Heh.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vA0mQ
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 3d0b2f1 Marcus Brinkmann: foo2zjs: 20110210 -> 20171202 (#32812)
<Baughn> This one is fun.
vidbina has joined #nixos
<clever> Baughn: heh
<Baughn> I have a machine that's provisioned on Hetzner. So, it has an IPv6 and IPv4 address.
<infinisil> acowley: oh really? I didn't know that, that sounds bad
<Baughn> They're both static, of course. That said, Hetzner provides a DHCP server, but not DHCPv6.
<infinisil> Maybe that's the reason I've been having so many problems with emacs
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #32919: secp256k1: 2016-11-27 -> 2017-12-18 (master...asymmetric/secp256k1) https://git.io/vbyOK
NixOS_GitHub has left #nixos [#nixos]
<Baughn> So I configured it to use a static v6 address. This means it still uses dhcpcd, but only for v4.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh created python-unstable (+15 new commits): https://git.io/vA0Yt
<NixOS_GitHub> nixpkgs/python-unstable 40cd1c4 Robert Schütz: pythonPackages.binaryornot: 0.4.0 -> 0.4.4
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable c1fc779 Robert Schütz: pythonPackages.bibtexparser: enable tests
<NixOS_GitHub> nixpkgs/python-unstable 56d9518 Robert Schütz: pythonPackages.bibtexparser: add propagatedBuildInputs
<Baughn> There's a bug in NixOS there -- it marks network-online.target as successful as soon as the static configuration is complete, i.e. immediately once the ethernet link is configured and well before dhcpcd is done.
nflores has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #35234: mikmod: 3.2.6 -> 3.2.8 (master...update/mikmod-3.2.8) https://git.io/vA0YO
NixOS_GitHub has left #nixos [#nixos]
<chreekat> Can I get a list of 'these will be downloaded, this will be built' when using nix-build or nix-shell? It seems it only shows up for nix-env
<acowley> infinisil: Yeah, I discovered this by using emacsWithPackages and ending up with two versions of projectile. johnw has a somewhat elaborate setup that seems to rationalize the problem pretty well, but it's definitely not user friendly.
<clever> Baughn: ah, yeah, online detection can be fun
<hask_bee_3> Is it safe for me to manually change $NIX_PATH from the default
<hask_bee_3> to
<hask_bee_3> or is there a more idiomatic way to do it?
<hask_bee_3> whoops
<Baughn> This tickles a bug in ZNC. ZNC doesn't ever look for more addresses, so once it's got its v6 address, that's it. It never goes back to grab the v4 one.
<Baughn> I only use one IRC network that doesn't offer v6, systemnet, and in fact I never actually look at that network anymore. So I didn't notice it hadn't connected.
<hask_bee_3> Is it safe for me to manually change $NIX_PATH from the default /nix/var/nix/profiles/per-user/root/channels to /nix/var/nix/profiles/per-user/haskbee3/channels or is there a more idomatic way of doing it?
<clever> hask_bee_3: just throw it into your .bashrc and it should be good
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #35235: ddar: move out of pythonPackages and fix tests (master...ddar) https://git.io/vA0Yg
NixOS_GitHub has left #nixos [#nixos]
<Baughn> IRCCloud attempts to parse the error messages from ZNC. But there's a bug in IRCCloud that causes it to (somehow) close the connection to its android app every time it receives this particular error message.
<Baughn> So, three bugs, and the end result was random-looking reconnections on an android app. ^^;
yann-kaelig has quit []
<clever> Baughn: lol
<Baughn> clever: I mean, in this case I suspect it's a simple fix. network-online needs to wait for *all* network connections to be configured, not *any*.
peacemem_ has joined #nixos
mrkgnao has quit [Ping timeout: 256 seconds]
peacememories has quit [Ping timeout: 255 seconds]
<clever> Baughn: related, ive had issues with the SPAN support in my old cisco switch
<clever> Baughn: the ethernet link is "live" for several seconds, without any routing, as it waits for SPAN broadcasts, to confirm i didnt f-up and create a cycle and broadcast storm :P
<clever> Baughn: however, the dhcp client in some of my bios's for netboot, times out rather fast, and fails before the port fully enables
yann-kaelig has joined #nixos
peacemem_ has quit [Client Quit]
orivej has joined #nixos
<chreekat> ottidmes: Ok, yeah, I see the path in $remote_host, and when i run "nix-store -r $path --ssh-substituter-hosts $remote_host" on my laptop, no substituting happens
<clever> chreekat: try running that as root
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging 1d15dad Vladimír Čunát: Merge branch 'master' into staging...
<NixOS_GitHub> [nixpkgs] vcunat pushed 3 new commits to staging: https://git.io/vA03J
<NixOS_GitHub> nixpkgs/staging fbe38c7 Vladimír Čunát: rustc: build with gcc6 on i686...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging 43a88e3 Vladimír Čunát: Merge branch 'gcc-7' into staging...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #35236: strace: disable mpers (multiple personality) support on aarch64 to fix (master...experimental/strace-no-mpers) https://git.io/vA03T
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] vcunat deleted gcc-7 at be8062d: https://git.io/vA03L
<ottidmes> chreekat: I am running it as part of my system configs (for all hosts other than the supplying host), not as CLI argument, not sure if that effects the results
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat reopened pull request #35125: hydra: fix build with gcc7, incl. libpqxx update (staging...p/hydra-gcc7) https://git.io/vA8G7
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vA03H
<NixOS_GitHub> nixpkgs/master 44c315f Vladimír Čunát: crashplan: specify meta.platforms to improve eval...
NixOS_GitHub has left #nixos [#nixos]
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #30057: webos: init novacom, novacomd, cmake-modules; add nixos service (master...feature/webos-novacomd) https://git.io/vdWuX
NixOS_GitHub has left #nixos [#nixos]
f0i has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] davisliu17 opened pull request #35237: pango: maintenance 1.40.11 -> 1.40.12 (release-17.09...update-pango) https://git.io/vA0sX
NixOS_GitHub has left #nixos [#nixos]
<chreekat> bbl, but also, that seems surprising
<ottidmes> chreekat: bbl?
Guest7111 has quit [Read error: Connection reset by peer]
<genesis> nix is so powerful i wonder if we could provide pure nix builder instead of rely on cmake/autotools craps that write people ...
yann-kaelig has quit []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #35238: otfcc: 0.8.6 -> 0.9.6 (master...update-otfcc) https://git.io/vA0sd
NixOS_GitHub has left #nixos [#nixos]
darlan has joined #nixos
<manveru> genesis: for nix itself?
<infinisil> acowley: just read the thread about emacsPackages
<infinisil> That sounds horrible..
<gchristensen> infinisil: what is up?
<genesis> manveru : for people that spend hours trying to fix upstream mess, when it could be easily done by a generic builder ;)
<tmplt> Is there a reason telegram-desktop is available under nixos.tdesktop instead of nixos.telegram-desktop? Other clients have the telegram- prefix.
<infinisil> gchristensen: 20:06 acowley: Is this thread the current latest word on selecting emacs packages form nixpkgs? https://github.com/NixOS/nixpkgs/issues/27083
alex`` has joined #nixos
<dhess> infinisil: it is horrible
<gchristensen> interesting
<gchristensen> doesn't that then mean our haskell packaging is horrible?
<dhess> its' probably the least Nix-y thing about Nix
<infinisil> And can anybody explain how this is "inteded, but non-obvious"
<dhess> gchristensen: No, the Haskell situation is better.
<infinisil> Shouldn't all unstable emacs packages also use the unstable dependencies?
<gchristensen> "The Haskell package sets in Nixpkgs have the same problem and use the same solution." -- https://github.com/NixOS/nixpkgs/issues/27083#issuecomment-327330002
<gchristensen> oh I see
<gchristensen> nvm
<dhess> gchristensen: in some ways the Haskell situation is less flexible. There is no "out-of-the-box" solution to using a different package set with Haskell in Nix, though there is a lot of nice tooling that makes it possible with some work.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master c5a5d22 Johannes Frankenau: mergerfs: 2.23.0 -> 2.23.1
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vA0GA
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master a82fada Joachim F: Merge pull request #35232 from jfrankenau/update-mergerfs...
darlan has quit [Quit: Communi 3.5.0 - http://communi.github.com]
<gchristensen> ah
<dhess> so in a way they're not really comparable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #35227: nnn: 1.5 -> 1.6 (master...update-nnn) https://git.io/vA0e8
NixOS_GitHub has left #nixos [#nixos]
<infinisil> I want something like stack2nix for emacs packages, where it builds the stuff with exactly the version used in melpa
<dhess> Basically peti's approach to Haskell packaging has recently been that there is just one package set, and that's it
<dhess> The emacs situation is more flexible but with that flexibility comes these issues
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #35233: supervise: 1.3.0 -> 1.4.0 (master...upsup) https://git.io/vA0qA
NixOS_GitHub has left #nixos [#nixos]
<dhess> infinisil: yes that would be very nice
self has joined #nixos
self is now known as Guest79952
<manveru> at least spacemacs now works on a single set of stable packages
<gchristensen> it sounds like y'all ask a lot more from emacs than I do :$
<infinisil> I have a strong suspicion that a lot of my emacs problem are because of that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 4166691 Austin Seipp: bcc: add systemtap dep, and fix build revision...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] thoughtpolice pushed 2 new commits to master: https://git.io/vA0ZC
<NixOS_GitHub> nixpkgs/master 38bc86a Austin Seipp: systemtap: add pyparsing deps for 'dtrace' script...
<chreekat> ottidmes: be back later. I had to go for a bit. (Still busy.) But running as root worked
<dhess> gchristensen: just wait until you're my age and still using it ;)
<ottidmes> chreekat: Great to hear you have got it working!
<infinisil> I spent like a full day on the weekend trying to get a nice Rust IDE setup. Part-way through I realized that i was using stable packages that were sometimes really outdated all along
<gchristensen> dhess: how old do you think I am?? :)
<infinisil> now everything except company-mode is working decently
<dhess> gchristensen: not as old as I :)
<infinisil> dhess: gchristensen: we need numbers!
hamishmack has quit [Quit: hamishmack]
<gchristensen> I'm old enough my avatar is bald and gray-scale
<dhess> but seriously, my point was, your demands on Emacs gradually accrete the longer you use it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 32ce3b0 Vladimír Čunát: pango: maintenance 1.40.11 -> 1.40.12...
<NixOS_GitHub> nixpkgs/release-17.09 c5e7449 Daniel Peebles: Merge pull request #35237 from davisliu17/update-pango...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] copumpkin pushed 2 new commits to release-17.09: https://git.io/vA0ZP
<infinisil> dhess: sooo, you've used emacs for how long?
<dhess> infinisil: since college ;)
<infinisil> ummm, same?
<infinisil> i have concluded dhess must be about my age, 22
<dhess> ok you got me
coot_ has quit [Quit: coot_]
lesce has joined #nixos
elurin has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
abrar has quit [Ping timeout: 276 seconds]
lesce has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
jtojnar_ has joined #nixos
<infinisil> Yeah I have 2 evil modes installed..
<infinisil> and a random mix of stable and unstable packages
<infinisil> ugh
<manveru> have you tried spacemacs yet?
lesce has joined #nixos
<Ankhers> I didn't want to be the one to bring it up. But it does make most things rather trivial.
<manveru> i wouldn't have switched to emacs if it didn't exist :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] akru opened pull request #35239: cjdns: 20 -> 20.1 (master...cjdns-v20.1) https://git.io/vA0cl
NixOS_GitHub has left #nixos [#nixos]
<Ankhers> Though, company-mode is broken right now :(
<infinisil> I have used spacemacs in the past, but didn't like it because it seemed to be a bit too bloated, i couldn't find my way in configuring it myself
<infinisil> so much stuff it comes with already
<infinisil> company-mode works for me for elisp
<Ankhers> Nothing gets loaded unless you ask for it though.
<infinisil> so i guess the rust backend is broken somehow
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ is now known as jtojnar
<manveru> i'm using rust fine with it
<Ankhers> https://github.com/company-mode/company-mode/issues/760 -- no one is getting this issue?
<infinisil> manveru: I'm not using spacemacs, and i assume you're using the racer thing?
<manveru> yeah
<infinisil> I'm actually using rls
<manveru> took a bit of fiddling to get it to use nix-sandbox, but it's pretty nice now
kim0 has quit [Quit: Connection closed for inactivity]
jtojnar_ has joined #nixos
<infinisil> I got everything working including cargo build with nix-shell
<infinisil> except this stupid auto completion
<manveru> :)
<manveru> well, i didn't find racer to be as good as what go-mode offers... but it's something at least
jtojnar has quit [Ping timeout: 276 seconds]
jtojnar_ is now known as jtojnar
<BlessJah> does nixos (maybe nixops?) support running generic, non-nixos vms?
<infinisil> Just look at this emacs packages list, what is this: https://infinisil.com/emacs.png
ThatDocsLady_ has quit [Ping timeout: 276 seconds]
<Ankhers> BlessJah: You can install nix into the VM and still use nixos.
lesce has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aminechikhaoui> BlessJah: yeah probably with Nix installed and None backend of NixOps
<Ankhers> and still use nixops**
<coconnor> BlessJah: For nixos, running qemu as a service will work as expected. "low level" but handy
<thoughtpolice> *sigh* Improving the perf package/getting it working is proving to be decidedly non-trivial
<BlessJah> yep, I guess I'll ave few systemd units with qemu vms
<manveru> infinisil: double rust-mode?
<infinisil> manveru: that's how emacsWithPackages works today..
<coconnor> there is also libvirtd. Which can be configured via nixops
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #35238: otfcc: 0.8.6 -> 0.9.6 (master...update-otfcc) https://git.io/vA0sd
NixOS_GitHub has left #nixos [#nixos]
vitiral has joined #nixos
<coconnor> Tho I'd just go the systemd qemu service route if the VMs are essential to system function. Partly because of ignorance on how to use libvirtd tho
<manveru> ok, haven't tried that yet
<BlessJah> I want to run debian (proxmox) as guest on nixos host, with nixos/nixops handling cpu/mem/qcow2/ifaces and vnc
<manveru> i got all my nvim config via nix, but for spacemacs it looked way more trouble than it's worth
MP2E has joined #nixos
<coconnor> BlessJah: module I use to run Windows VM as my desktop - https://github.com/coreyoconnor/nix_configs/blob/master/computers/grr/windows-desktop-vm.nix
<vitiral> Hey everyone, I'm a NixOS newbie and I'm having some serious problems using openconnect and have been unable to find any triage help. I previously ran ArchLinux where openconnect worked fine for my corp network, but it now is not working. I can connect and it _says_ I am connected... but I can't actually access my corp network.
<vitiral> is this the right place to ask for help?
<manveru> vitiral: yeah, unless you count the #openconnect channel on OFTC
<clever> vitiral: do you have a new interface in `ip link` when its ocnnected?
<vitiral> yes, it has the tun0 interface
<manveru> did you configure your DNS?
<clever> vitiral: does `ip addr` show it as having an address, and is it listed in `ip route` ?
<vitiral> one sec, logging in on the laptop itself, although will stay logged in on my desktop since I"m messing with networking
ryanartecona has joined #nixos
<thoughtpolice> coconnor: whoa, you just boot right up into it? That's kind of awesome. :)
<thoughtpolice> (I have a VFIO-capable setup myself now, so something like that is interesting...)
<manveru> i basically had to fix /etc/resolv.conf everytime after openconnect did its thing because the domains and nameserver entry was messed up...
vitiral-lap has joined #nixos
lesce has joined #nixos
mjacob has joined #nixos
<infinisil> I actually had pretty much the same problem before when trying to use vpnc
<tmplt> thoughtpolice: GPU passthrough?
<coconnor> haha aye. It is, as near as I can, no different from an actual windows VM. From NixOS the service is the "desktop" as well
<coconnor> err actual windows system
<vitiral-lap> clever: yes and ... no
<vitiral-lap> 5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1406 qdisc pfifo_fast state UNKNOWN group default qlen 500 link/none inet 10.249.208.187/32 scope global tun0 valid_lft forever preferred_lft forever inet6 fe80::a4be:e60c:f593:2fac/64 scope link stable-privacy valid_lft forever preferred_lft forever [root@garrett-laptop:~]# ip route default via 192.168.43.1 dev wlp3s0 proto static metric 600 10.24
<vitiral-lap> whoa
<vitiral-lap> sorry
<thoughtpolice> tmplt: Yes, but not really for Windows actually.
<vitiral-lap> gonna do pastebin
<BlessJah> coconnor: I guess I'l give libvirt a try. Not that I don't like nix, just never used nixops before.
<hask_bee_3> $ nix-shell '<nixos-17.09>' -p hello
<hask_bee_3> error: file ‘nixpkgs’ was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
<hask_bee_3> ^^^ Why does it care about nixpkgs existing if I explicitly specified another channel to use?
<coconnor> note the vmhost.vfio options in that example are not in NixOS. That is specific to my config
<clever> hask_bee_3: nix-shell -p is hard-coded to use <nixpkgs>, so you need to use -I or NIX_PATH to setup nixpkgs to point somewhere
<coconnor> BlessJah: NixOS's libvirtd service is nicely set up. Auto-resuming domains on boot works as expected
<aminechikhaoui> hask_bee_3: the right command is nix-shell '<nixpkgs>' -I nixpkgs=channel:nixos-17.09
<manveru> is nixos-17.09 even a valid channel name?
<gchristensen> manveru: yep: https://channels.nix.gsc.io/
<manveru> seem awkward to use with that dot...
<srhb> is Eric Bailey here under some name?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 08fdc97 Robert Schütz: roundup: init at 0.0.6
<NixOS_GitHub> [nixpkgs] FRidh pushed 5 new commits to master: https://git.io/vA0lO
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 3996b91 Robert Schütz: shocco: init at 1.0
<NixOS_GitHub> nixpkgs/master 80f84ce Robert Schütz: ddar: move out of pythonPackages
<manveru> gchristensen: i mean the name, not the url
<gchristensen> ah
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35235: ddar: move out of pythonPackages and fix tests (master...ddar) https://git.io/vA0Yg
NixOS_GitHub has left #nixos [#nixos]
<clever> vitiral-lap: lines 12/13 show that you have routes for tun0, so you should be able to ping any ip in the network
<clever> vitiral-lap: what about /etc/resolv.conf?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #35066: gnomeExtensions.taskwhisperer: init at v11 (master...gnome-shell-extension-taskwhisperer-11) https://git.io/vAWRv
NixOS_GitHub has left #nixos [#nixos]
<thoughtpolice> manveru: You'll be able to do something close in Nix 2.0 -- 'channel:nixos-17.09' will work
<vitiral-lap> oh, that was the other thing. The lines in resolv.conf that were added are unpingable
<clever> vitiral-lap: what did it add?
<vitiral-lap> I just updated the pastebin
<BlessJah> coconnor: I guess I'll need something in front of libvirt? Would you mind recommending something (either virsh or ovirt I presume)?
<vitiral-lap> they _are_ pingable when I am on the network though (from my work desktop, which is in the local network)
<vitiral-lap> clever: sorry, forgot to mention you ^^^
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #35240: rustup: 2017-10-29 -> 1.11.0 (master...rustup) https://git.io/vA0lV
NixOS_GitHub has left #nixos [#nixos]
<clever> vitiral-lap: yeah, thats a common vpn problem, you have to use the vpn dns to connect to anything, but that also breaks dns when you disconnect
<BlessJah> neither is available on nixos, bummer
hamishmack has joined #nixos
<infinisil> clever: how do you do that properly though?
<vitiral-lap> so can I force the resolv.conf in some way?
<hask_bee_3> clever, the thing is I modified NIX_PATH to be this: /nix/var/nix/profiles/per-user/haskbee3/channels (as opposed to the default /nix/var/nix/profiles/per-user/root/channels)
<gchristensen> peel[m]: I have a sneaking suspicion you meant to paste that somewhere else, since it otherwise seems off topic, but neat!
f0i has quit [Ping timeout: 256 seconds]
<hask_bee_3> clever but there is no "nixpkgs" in there by default.
<clever> infinisil: you would need to properly talk to resolvconf and dhcpcd, to insert a dns override, and remove it when disconnecting
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #35197: gnomeExtensions.battery-status: init at v6 (master...gnome-shell-extension-battery-status-6) https://git.io/vABTP
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has quit [Ping timeout: 240 seconds]
Itkovian has joined #nixos
<vitiral-lap> is there some way I can find the DNS to use?
<clever> hask_bee_3: you could also switch to using -E, nix-shell -E 'with import <nixos-17.09> {}; stdenv.mkDerivation { name = "foo"; buildInputs = [ hello ]; }'
<clever> vitiral-lap: it should be in the logs for the vpn, i would think
<vitiral-lap> clever: forgot to mention again ^^^
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb opened pull request #35241: nixos/mysql: Unbreak initial database creation (master...fix-mysql-initialdbs) https://git.io/vA08G
NixOS_GitHub has left #nixos [#nixos]
johnw has joined #nixos
<hask_bee_3> clever 17.09 works! but now i got a new problem. stdenv doesn't seem to exist in 14.04. i ran nix-channel --update and it told me it successfully updated both 17.09 and 14.04
<hask_bee_3> $ nix-shell -E 'with import <nixos-14.04> {}; stdenv.mkDerivation { name = "foo"; buildInputs = [ hello ]; }'
<hask_bee_3> error: undefined variable ‘stdenv’ at (string):1:31
<hask_bee_3> was stdenv added later on?
<clever> *looks*
<vitiral-lap> clever: I added the stdout, are there logs somewhere else: https://gist.github.com/vitiral/d869c5ac3a3625b8679fc09bdb7d6fff#file-openconnect-stdout
lesce has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<vitiral-lap> is 208.185.63.19 the dns server?
<clever> hask_bee_3: can you run nix-instantiate --find-file nixos-14.04, and then run ls -lh on that path?
<clever> vitiral-lap: no
<vitiral-lap> clever: thanks for your help btw
<clever> vitiral-lap: the logs dont clearly say what the dns server is
<clever> vitiral-lap: but its likely what it inserted into /etc/resolv.conf
<srhb> gchristensen: Can the initial PR message contain grahamcofborg commands?
<gchristensen> not yet!
jb554 has quit [Ping timeout: 240 seconds]
<srhb> Aww :(
<hask_bee_3> clever:
<hask_bee_3> $ nix-instantiate --find-file nixos-14.04
<hask_bee_3> $ ls -lh /nix/var/nix/profiles/per-user/haskbee3/channels/nixos-14.04
<hask_bee_3> lrwxr-xr-x 1 root wheel 85B Jan 1 1970 /nix/var/nix/profiles/per-user/haskbee3/channels/nixos-14.04 -> /nix/store/1hbr8jgfbg2r3w2br7xvhkb9vb94mpg9-nixos-14.04-14.04.630.8a3eea0/nixos-14.04
<vitiral-lap> clever: but what it inserted are not pingable (they are local network 10.X.X.X)
* srhb tends to skip PRs that are already being "discussed" :-P
<gchristensen> srhb: want to open an issue? nixos/ofborg
<srhb> gchristensen: I will :)
<clever> vitiral-lap: oh, the routing table doesnt direct that over tun0
<clever> vitiral-lap: it also doesnt direct it over eth0, so those arent "local"
<clever> vitiral-lap: so its trying to access those servers via your main router/gateway
<vitiral-lap> clever: sorry, I'm now out of my depth for networking :(
nflores has joined #nixos
<vitiral-lap> clever: but you think if I can find the dns server that I need to pin to that it might work?
<clever> vitiral-lap: are you able to connect from another linux distro and have it work?, gather the same command outputs, and compare them
<vitiral-lap> I can try and do surgery on my broken laptop to see if I can pry that out when I get home
<vitiral-lap> see any differences
<infinisil> clever: does it need some ip command magic to fix?
<clever> infinisil: possibly, but until we know what the "right" config is, its hard to know what commands to run
pie_ has quit [Ping timeout: 256 seconds]
<infinisil> I could give another data point, since I have pretty much the same problem with my vpn connection attempt
Ross has quit [Quit: ZNC - http://znc.in]
<coconnor> BlessJah: I use nixops in front of libvirt. Plus a frontend that removes some warts.
<coconnor> BlessJah: not really satisfied with it. I'd focus on using virsh directly if I was to do it again
<vitiral-lap> infinisil: are you able to connect now?
<infinisil> vitiral-lap: Connect to it successfully, pinging normal ips works, internal ips don't work, and dns doesn't work at all
<infinisil> I'm gonna set it up again now and maybe have another debug attempt
<infinisil> (remembered this from last time i tried)
<BlessJah> coconnor: I'm tasked with replacing or rebuilding proxmox cluster, and proxmox is only clustering solution both I and team had real experience with
taktoa has quit [Remote host closed the connection]
lesce has joined #nixos
<infinisil> vitiral-lap: Using cisco vpn (vpnc) though
Ross has joined #nixos
<infinisil> vitiral-lap: i do have some fundamentals in how networks work, so maybe I'll give the ip command a try
<vitiral-lap> infinisil: that is my same case. I believe openconnect _is_ cisco vpn (for everyone)
<nflores> hi there, nixos noob here, I'm trying to download private GitHub release artifacts using fetchurl, has someone had success suing fetchurl for this? My nix file downloads just the json associated with my url and doesn't seem to follow the redirect.
<vitiral-lap> man openconnect shows: "openconnect - Connect to Cisco AnyConnect VPN"
<clever> nflores: ive done it with ssh and ssh-agent
<infinisil> vitiral-lap: ah interesting, didn't know that, might try that one too then
<sphalerite_> nflores: btw sorry didn't see your question earlier, I was out
<nflores> clever: looks like you are checking out a GitHub repo in your snippet, I'm trying to download an artifact published to GitHub releases
<clever> nflores: ahh, i dont think the artifacts are available over ssh, one min
<nflores> clever: no I don't think they are
<infinisil> vitiral-lap: Alright so maybe to start off, i have a dns related problem, just to make sure it's not related. Does the command `dig +short google.com` return something for you with vpn turned off?
<clever> nflores: if you set NIX_CURL_FLAGS prior to starting a build, those will be passed to curl when it tries to download things
<clever> nflores: and i think you can put a user:pass for github or also a personal access token into that
<infinisil> vitiral-lap: because it does not for me, however `nslookup google.com` does return stuff including an ipv4 address
Lisanna has quit [Ping timeout: 255 seconds]
<clever> infinisil: i prefer dig for testing
<infinisil> clever: well it doesn't work for me apparently, no idea why
<clever> infinisil: `dig google.com` and `dig google.com @192.168.2.1`
<clever> infinisil: the first obeys /etc/resolv.conf, the second forces it to use a certain server
<clever> infinisil: so you can pre-test a dns, before making it active
freeman42x]NixOS has quit [Remote host closed the connection]
dan_b has joined #nixos
lesce has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freeman42x]NixOS has joined #nixos
<vitiral-lap> infinisil: in both cases it returns 172.217.3.78, which is not in my resolv.conf in either case
<infinisil> clever: nslookup <domain> <server> does the same btw
<clever> nflores: that puts your token into the nix store, and it basically becomes public, depending on what you have configured
<infinisil> vitiral-lap: alright, then the problem i have with dig is probably something else, that command just looks up google's ip address, so that's just fine
<nflores> clever: yeah it does, but for now, at the very least, I'd like to get a successful download of my private artifact
humanoyd has quit [Quit: WeeChat 2.0.1]
<nflores> clever: that config, currently, simply pulls down some json that GitHub endpoint provides and the underlying curl issued by fetchurl doesn't seem to follow redirects
<clever> nflores: there is a flag for curl to make it follow redirects, check its man page
<nflores> sphalerite_: no worries at all! I figured you were busy or something.
<nflores> clever: yeah, its -L and my config above includes it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #35243: postgis: get rid of composableDerivation (master...postgis) https://git.io/vA0R6
NixOS_GitHub has left #nixos [#nixos]
<clever> nflores: i also suspect that the token only applies to the first url, you want to switch to -u
<peel[m]> gchristensen: ah, my bad. sorry for that. fighting weechat on a detached tmux in a user service and /missing/ luaPackages got me dizzy.
<gchristensen> no worries :)
vidbina has quit [Remote host closed the connection]
lesce has joined #nixos
<mkaito> say I want to mess with something in nixpkgs. how do I go about testing it? some sort of overlay? point nix at a "channel" local git clone?
<nflores> clever: good point, let me give that a try
<infinisil> vitiral-lap: I posted a big comment of resolv.conf/ip addr/ip route before and after connecting with vpnc
<gchristensen> mkaito: what do you want to do?
<mkaito> add a headless-experimental version to the factorio package
<nflores> clever: no dice with the -u parameter to curl :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb pushed 1 new commit to master: https://git.io/vA00C
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 2470d22 Izorkin: mariadb: 10.2.12 -> 10.2.13 (#35119)
<srhb> Augh, did github switch the default merge button out?
* srhb wants things to stay as they are Q_Q
<infinisil> srhb: what did they do exactly?
<srhb> Make the squash and merge button the default. The one that results in "authored..." instead of the normal merge message, I think?
<infinisil> hmmm, is that undesired?
Lisanna has joined #nixos
<srhb> I don't know, but it's different!
<srhb> Compare the two top commits: https://github.com/NixOS/nixpkgs/commits/master
<FRidh> The default is Merge. However, if you select another option it will remember that as default.
<srhb> FRidh: Oh, crud!
<gchristensen> srhb: Izorkin prefers the squash-and-merge option, IIRC
jb554 has joined #nixos
<gchristensen> or something
<srhb> I'll have to remember to flip the button. grr.
szicari has quit [Quit: szicari]
<FRidh> yep, it's hard to think about it when you see this bright button that you want to press on.
<srhb> Exactly! :D
<gchristensen> I used to have custom CSS to turn it red :)
<srhb> Unconditionally?
<infinisil> turn the squash and merge red?
<srhb> That does give it a more "fire ze missiles" like feel.
<gchristensen> just the whole button
<nflores> clever: could this be an issue with fetchurl?
szicari has joined #nixos
<dash> anybody know what package provides dbus.mainloop.qt5? sure seems like pyqt5 doesn't
<clever> nflores: try downloading it with a manual curl from a normal shell, and see what happens?
<vitiral-lap> clever: oh my god! I just switched to using networkmanagerapplet and it works!
<vitiral-lap> infinisil: ^^^
<infinisil> goddamnit, networkmanager stuff never worked for me
<infinisil> guess I'll have to give it another go
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nix/master 4ea9707 Tuomas Tynkkynen: libexpr: Fix prim_replaceStrings() to work on an empty source string...
<NixOS_GitHub> nix/master 1d0e428 Tuomas Tynkkynen: libutil: Fix infinite loop in filterANSIEscapes on '\r'...
<NixOS_GitHub> [nix] shlevy pushed 4 new commits to master: https://git.io/vA0En
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nix/master 546f98d Tuomas Tynkkynen: libutil: Fix invalid assert on decoding base64 hashes...
<infinisil> but then i can't use wpa_supplicant..
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy closed pull request #1886: AFL-fuzz hang/crash fixes (master...afl-fixes) https://git.io/vARhB
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> way to go, Dezgeg!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #35244: z88dk: init at unstable-2018-02-20 (master...z88dk) https://git.io/vA0EE
NixOS_GitHub has left #nixos [#nixos]
lesce has quit [Quit: Textual IRC Client: www.textualapp.com]
<nflores> clever: yeah, I've invoked the same curl command that fetchurl uses in my command line and it works. I believe this is the same command that fetchurl issues with my additional options: curl --retry 3 --disable-epsv --cookie-jar cookies --insecure --location --max-redirs 20 -J -L -H 'Accept:application/octet-stream' https://...
<aminechikhaoui> Anyone knows from where the $router/$dns variable are set in the initrd udhcp script here https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/initrd-network.nix#L14 ?
robstr has quit [Remote host closed the connection]
<vitiral-lap> infinisil: ya, sorry that sucks
<clever> udhcpc --quit --now --script ${udhcpcScript} && hasNetwork=1
<vitiral-lap> and worst of all I have no clue why it suddenly works. It is putting a whole bunch of different stuff in the resolv.conf (why is the behavior so different?)
robstr has joined #nixos
<clever> aminechikhaoui: that script is passed to the dhcp client, which will then set the vars and run it
<vitiral-lap> clever: is this worth a bug report? I can try and at least document the differences
<clever> vitiral-lap: sure
<vitiral-lap> clever: would it be a nixpkgs bug report?
<clever> vitiral-lap: yeah
<aminechikhaoui> oh and any idea based on what $router is set ?
<aminechikhaoui> (I probably should read the man pages of udhcp though :p )
<clever> aminechikhaoui: probably the reply it got from the dhcp server
ryanartecona has quit [Quit: ryanartecona]
<vitiral-lap> clever: okay, I'll do that in a week or so (hopefully) I'm pretty swamped. Honestly getting this working is the biggest life saver. Thanks a ton!
<genesis> Mic92 : thx to help on z88dk derivation.
Guanin__ is now known as Guanin
lesce has joined #nixos
<genesis> Mic92 : i'm writing some test to automate testing of my nix cpc toolchain.
<aminechikhaoui> clever: I'm connected to the serial console of a GCE instance and doing that command returns this
robstr has quit [Ping timeout: 268 seconds]
<aminechikhaoui> # udhcpc --quit --now --script /nix/store/l1gqd1kzyfpb3b74q4cb9kmvirw7drs5-udh
<aminechikhaoui> cp-script
<aminechikhaoui> udhcpc: started, v1.27.2
<aminechikhaoui> udhcpc: sending discover
<aminechikhaoui> udhcpc: sending select for 10.240.0.2
<aminechikhaoui> udhcpc: lease of 10.240.0.2 obtained, lease time 86400
<aminechikhaoui> ip: RTNETLINK answers: File exists
magnetophon has joined #nixos
<aminechikhaoui> ip: RTNETLINK answers: Network is unreachable
<aminechikhaoui> but doing ip route add default via 10.240.0.2 dev eth0 made me able to ping the metadata server
<aminechikhaoui> which was what I was trying
stephenjudkins has joined #nixos
<clever> aminechikhaoui: copy the script to the current directory, and edit it to add "set -x", then re-run it
<clever> aminechikhaoui: preferably after a reboot so the state has been reset
vitiral-lap has quit [Ping timeout: 260 seconds]
<aminechikhaoui> alright, will try that :)
<magnetophon> I just noticed nixos-unstable on https://howoldis.herokuapp.com/ went from 2 days old to 9 hours old, with the same hash. anyone know why?
<infinisil> vitiral: the way i ended up saving my ass in the past was by booting into macOS lol
<infinisil> Because vpn works no problem there of course
lesce has quit [Quit: Textual IRC Client: www.textualapp.com]
<infinisil> magnetophon: We finally cracked sha256!!!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 57ad5dc Jörg Thalheim: Merge pull request #35078 from Mic92/powerdns...
<NixOS_GitHub> nixpkgs/master 03d9a36 Jörg Thalheim: powerdns: 4.0.5 -> 4.1.1
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vA0zR
<NixOS_GitHub> nixpkgs/master ba27be7 Jörg Thalheim: nixos/powerdns: add test
<magnetophon> infinisil: congrats, I always knew you could!
jensens has joined #nixos
mbrgm has quit [Quit: ZNC 1.6.5 - http://znc.in]
mbrgm_ has joined #nixos
<aminechikhaoui> clever: the set -x seems to be ignored, not sure how udhcpc runs the script and whether it should write the set -x output to the current stdout though
mbrgm_ is now known as mbrgm
hiratara has quit [Ping timeout: 240 seconds]
<clever> aminechikhaoui: did you point udhcpc at the modified version of the script?
lesce has joined #nixos
<aminechikhaoui> yep
<clever> aminechikhaoui: what about just adding an echo $router or just plain 'set' or 'env' to the script?
hiratara has joined #nixos
<aminechikhaoui> doing any random echo "foo" doesn't work either
<clever> aminechikhaoui: ps aux | grep udhcpc
<clever> aminechikhaoui: it might be contacting the existing instance, and reusing the script it was given
<aminechikhaoui> so the ps command doesn't return any process
<aminechikhaoui> note that the output was a bit different when I ran it
davidak has joined #nixos
<aminechikhaoui> # udhcpc --quit --now --script udhcp-script
<aminechikhaoui> udhcpc: started, v1.27.2
<aminechikhaoui> udhcpc: sending select for 10.240.0.2
<aminechikhaoui> udhcpc: lease of 10.240.0.2 obtained, lease time 86400
<aminechikhaoui> udhcpc: sending discover
<aminechikhaoui> # ping 169.254.169.254
<aminechikhaoui> PING 169.254.169.254 (169.254.169.254): 56 data bytes
<aminechikhaoui> ping: sendto: Network is unreachable
<clever> aminechikhaoui: you can also modify the nix expressions in nixpkgs that generated all of this, then just nixos-rebuild switch and reboot
<aminechikhaoui> so the udhcpc didn't return the network unreachable
<clever> then the changes will be compiled in from the start
<aminechikhaoui> yeah but what's the point ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda closed pull request #35191: pythonPackages.cram: fix tests (staging...cram) https://git.io/vA4xO
NixOS_GitHub has left #nixos [#nixos]
<aminechikhaoui> isn't that the equivalent of what I'm doing
<clever> ive got no idea what the original problem was, lol
<aminechikhaoui> hehe
<aminechikhaoui> clever: but thanks anyway for looking :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35234: mikmod: 3.2.6 -> 3.2.8 (master...update/mikmod-3.2.8) https://git.io/vA0YO
NixOS_GitHub has left #nixos [#nixos]
FRidh has quit [Quit: Konversation terminated!]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35240: rustup: 2017-10-29 -> 1.11.0 (master...rustup) https://git.io/vA0lV
NixOS_GitHub has left #nixos [#nixos]
johnw has quit [Ping timeout: 265 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mogorman opened pull request #35245: pulseaudio-dlna (master...pulseaudio-dlna) https://git.io/vA02W
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35244: z88dk: init at unstable-2018-02-20 (master...z88dk) https://git.io/vA0EE
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xurei opened pull request #35246: intellij-ultimate : init at 2017.3.4 (master...app/intellij-ultimate) https://git.io/vA02R
NixOS_GitHub has left #nixos [#nixos]
johnw has joined #nixos
hask_bee_3 has quit [Quit: Textual IRC Client: www.textualapp.com]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
7YSAAJMNL has joined #nixos
<7YSAAJMNL> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vA0aW
<7YSAAJMNL> nixpkgs/master 4886194 Alexander Krupenkin: cjdns: 20 -> 20.1
<7YSAAJMNL> nixpkgs/master 69603b5 Joachim F: Merge pull request #35239 from akru/cjdns-v20.1...
7YSAAJMNL has left #nixos [#nixos]
7GHAB5LUX has joined #nixos
<7GHAB5LUX> [nixpkgs] joachifm closed pull request #35239: cjdns: 20 -> 20.1 (master...cjdns-v20.1) https://git.io/vA0cl
7GHAB5LUX has left #nixos [#nixos]
Itkovian has joined #nixos
simukis has quit [Ping timeout: 268 seconds]
<mog> Mic92, thanks for review
<Mic92> mog: no problem.
MichaelRaskin has joined #nixos
<genesis> it's review day today ? :D
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xurei closed pull request #35246: intellij-ultimate : init at 2017.3.4 (master...app/intellij-ultimate) https://git.io/vA02R
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35228: racerd: 2017-02-17 -> 2017-09-15 (master...racerd) https://git.io/vA0fk
NixOS_GitHub has left #nixos [#nixos]
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] telent opened pull request #35247: add mips 32-bit and mipsel 32-bit systems (master...mips32) https://git.io/vA0Vu
NixOS_GitHub has left #nixos [#nixos]
szicari has quit [Quit: szicari]
ryanartecona has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] telent opened pull request #35248: monit: cross-compile, and make openssl optional (master...cross-monit) https://git.io/vA0V9
NixOS_GitHub has left #nixos [#nixos]
hiratara has quit [Quit: ZNC - http://znc.in]
hiratara has joined #nixos
chreekat has quit [Quit: quitting]
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda closed pull request #35170: pythonPackages.pytest-mock: fix build (staging...pytest-mock) https://git.io/vA4Yp
NixOS_GitHub has left #nixos [#nixos]
ryanartecona has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Havvy opened pull request #35250: init mdbook 0.1.3 (master...mdbook) https://git.io/vA0rr
NixOS_GitHub has left #nixos [#nixos]
jb554 has quit [Ping timeout: 260 seconds]
vitiral has quit [Quit: Page closed]
theNerd247 has joined #nixos
shabius has quit [Quit: Leaving]
<theNerd247> quick question: if I have two seperate projects each with their own shell.nix is there a way to create a top level shell.nix that will put me in a nix shell as if I invoked both sub shell.nix files?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nico202 opened pull request #35252: papis: 0.5.2 -> 0.5.3 (master...master) https://git.io/vA0oz
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] msteen closed pull request #26365: xcursor themes: added the comix, flatbed, gruppled, polar and premium xcursor themes (master...xcursor-themes) https://git.io/vH2rf
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> dtz hey, I want you to know I support your musl work, regardless of how my RFC feedback reads
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aborsu opened pull request #35254: nextcloud: 12.0.5 -> 13.0.0 (master...nextcloud) https://git.io/vA0ob
NixOS_GitHub has left #nixos [#nixos]
shabius has joined #nixos
kim0 has joined #nixos
ryanartecona has joined #nixos
mkoenig has quit [Read error: Connection reset by peer]
ryanartecona has quit [Client Quit]
tertle||eltret has joined #nixos
<dtz> gchristensen: <3 good to hear, and no worries I appreciate your comment! I'm surprised my quick draft got this far without needing to be refined hehe. You're asking the right questions, and someone needs to :).
aborsu has joined #nixos
<gchristensen> <3
<gchristensen> what timezone are you in?
mkoenig has joined #nixos
<dtz> I'm in "Central" (Illinois, USA), I'm at UIUC :)
<gchristensen> oh cool
<gchristensen> I'm afraid of combinatorially exploding how many builds we do
sirkha has quit [Remote host closed the connection]
sirkha has joined #nixos
<MichaelRaskin> So, now we will see if RFC process can actually work…
<gchristensen> it _would_ be nice if it wasn't a process where ideas go to die :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vA06L
<NixOS_GitHub> nixpkgs/master 74029a2 Johannes Frankenau: bcal: init at 1.7
<NixOS_GitHub> nixpkgs/master 03e7929 Jörg Thalheim: Merge pull request #35230 from jfrankenau/init-bcal...
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> Well, we have a test case, I guess…
<gchristensen> as long as we come to _a_ resolution on this, I think that is a good sign. accept/reject
<MichaelRaskin> We-ell, given the current trajectory, if we come to reject it is not really better than coming to nothing…
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35215: gpodder: 3.10.0 -> 3.10.1 (master...gpodder) https://git.io/vARt1
NixOS_GitHub has left #nixos [#nixos]
<dtz> yes. I think I'll ... explode of misery if we can't at least resolve it (eventually, this is progressing plenty fast so far)
<dtz> well I'll of course be sad if that's the case but that seems to go without saying O:)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35192: ppl: fix build (master...ppl-typename) https://git.io/vA4hu
NixOS_GitHub has left #nixos [#nixos]
betaboon has joined #nixos
<gchristensen> yeah
<MichaelRaskin> dtz: look at our parallel building settings… I am actually interested if the decision making in Nix* has progressed since then.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #35255: joe: 4.4 -> 4.6 (master...joe) https://git.io/vA06P
NixOS_GitHub has left #nixos [#nixos]
dbmikus has quit [Ping timeout: 248 seconds]
jensens has quit [Ping timeout: 265 seconds]
<theNerd247> quick question: if I have two seperate projects each with their own shell.nix is there a way to create a top level shell.nix that will put me in a nix shell as if I invoked both sub shell.nix files?
coot has joined #nixos
<infinisil> theNerd247: Well a lazy solution would be to just call nix-shell again in shellHook
<infinisil> theNerd247: I'm not sure if it makes sense to even want that though, a nix-shell is there to build a single derivation, and it sets buildPhase and similar variables to the derivations correct phases
<MichaelRaskin> It depends, if it is -p and not -A then it should be fine
<infinisil> MichaelRaskin: yeah, but a shell.nix is usually used for -A like behavior
<theNerd247> MichaelRaskin: could you explain a bit? I'm new to nix
<sphalerite_> infinisil: idk, I've found myself wanting it multiple times
ryanartecona has joined #nixos
<infinisil> theNerd247: You can however do something like propagate each buildInput from both shell.nix's to a top-level shell.nix
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
<infinisil> wait, maybe not
<theNerd247> infinsil I tried that using `let a = (import ...).a.buildInputs; b = (import ...).b.buildInputs; in mkDerivation { ... buildInputs = a ++ b}` however the "a" project is a haskell project and for some reason I can't get the dependencies to load when creating the shell
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vA0io
<NixOS_GitHub> nixpkgs/master 46485d0 Franz Pletz: openra: 20171014 -> 20180218
NixOS_GitHub has left #nixos [#nixos]
<infinisil> Was thinking of something like `buildEnv { paths = (import folderA/shell.nix).buildInputs ++ (import folderB/shell.nix).buildInputs; ... }` but that won't work because they're derivation
<infinisil> s
<theNerd247> I even tried using "pkgs.haskellPackage.ghcWithPackages"
<MichaelRaskin> It actually does for some shell.nix
<infinisil> MichaelRaskin: it does?
<infinisil> I guess you can do it by using passthru in each shell.nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #35255: joe: 4.4 -> 4.6 (master...joe) https://git.io/vA06P
NixOS_GitHub has left #nixos [#nixos]
<theNerd247> yeah. I thought buildEnv didn't make derivations
<MichaelRaskin> builtins.map (x: x.outPath) (import ./A/shell.nix).buildInputs
<MichaelRaskin> I think that is good enough for practical purposes
<dtz> gchristensen: your concerns about increasing build pressure (exponentially?) are valid
<theNerd247> MichaelRaskin: is that to create the buildInputs of a top-level derivation or the paths for the buildEnv?
<gchristensen> this isn't exponential no :)
kelleyNif has quit [Quit: Leaving.]
<MichaelRaskin> theNerd247: It is a list of paths, whether to use it for buildEnv or nix-shell is your choice
<infinisil> MichaelRaskin: ohh i didn't know buildInputs gets passed through automatically
<MichaelRaskin> It is not a passthrough
<MichaelRaskin> It is derivation argument
<MichaelRaskin> For example, nativeBuildInputs are not separate there
kelleyNif has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
<MichaelRaskin> These are not from mkDerivation, these are from builtins.derivation
<infinisil> oh i see
<infinisil> didn't know builtins.derivation had buildInputs!
<MichaelRaskin> Well, stdenv setup refers to it as an environment variable
mkoenig has joined #nixos
<MichaelRaskin> You can feed builtins.derivation basically whatever and it will create one more environment variable
<gchristensen> dtz: but it _does_ have a real impact upon hardware requirements, potentially doubling, which doesn't have to be exponential to be expensive :)
<theNerd247> so in use with nix-shell would I need to create a new derivation?
<MichaelRaskin> gchristensen: doubling implies that we start building everything with musl without dropping anything with glibc
<MichaelRaskin> Of course, there is also just a growth of the package set
<infinisil> MichaelRaskin: why did you map over outPath there?
<MichaelRaskin> infinisil: you could try without that and hope it would work…
<MichaelRaskin> I just wanted the package paths, not the derivation paths (~ build instruction paths)
<dtz> gchristensen: yeah, while this is only (at most!) "double", we do have an exponential-ish problem of sorts as we consider an ever-growing number of platforms, cross-configurations, more packages on top xD
<infinisil> theNerd247: I think `buildEnv { name = "combined"; paths = (import A/shell.nix).buildInputs ++ (import B/shell.nix).buildInputs; }` should work
<infinisil> But I'll test what MichaelRaskin said myself now
<dtz> it wouldn't be much but I'd be willing and perhaps my research grant could help fund builders -- BUT I don't think they'd be willing to.. send someone a machine, lol. Is there a good story for "contributing" build power in a way that the results can be trusted enough to be useful? Just a thought...
stephenj_ has joined #nixos
<infinisil> MichaelRaskin: Ah i see where you were going with the map now
stephenj_ has quit [Remote host closed the connection]
stephenjudkins has quit [Ping timeout: 268 seconds]
<ottidmes> What is the NixOS equivalent to gcc and gcc-libs of Arch Linux? In the particular Nix package I am basing mine on, it uses stdenv.cc.cc, does that contain both (gcc and gcc-libs)?
<infinisil> It does not work haha
kelleyNif has quit [Quit: Leaving.]
Guest79952 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<infinisil> theNerd247: yea with buildInputs that's better, but in that case you don't need the map
knupfer has quit [Ping timeout: 240 seconds]
<theNerd247> ah
iyzsong has joined #nixos
chris| has quit [Ping timeout: 240 seconds]
<Havvy> Anybody available to help me with https://github.com/NixOS/nixpkgs/pull/35250 failing on Darwin?
cement has quit [Ping timeout: 256 seconds]
<theNerd247> infinisil: I've made the changes however the breeze-login/shell.nix is a haskell project. I can build the shell however cabal complains about not finding ghc
<infinisil> I'm out of ideaa
chris| has joined #nixos
<theNerd247> hmmm...
mkoenig has quit [Ping timeout: 256 seconds]
mkoenig has joined #nixos
<LnL> Havvy: looks like the darwin.apple_sdk.frameworks.CoreServices framework is missing
Myrl-saki has joined #nixos
<Havvy> So add that to my build inputs and I'll be good to go?
<LnL> yeah, unless there's more needed
Itkovian has quit [Ping timeout: 256 seconds]
<LnL> you can ping me or the darwin-maintainers group if you want help
<theNerd247> infinisil: for future notice it does work with an Elm dependency I have. I'm just not sure why haskell dependencies aren't being propigated
alex`` has quit [Quit: WeeChat 2.0.1]
<theNerd247> `nix-repl> (import ./breeze-login/shell.nix).buildInputs` gives `[ null null null null ]`