gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<alp> it's a trivial Setup.hs so nothing fun to see in this particular case, but the data is there.
<elvishjerricco> Nice. It'd be hard to enrich from-cabal to do this, because that's essentially asking it to run the solver. So stealing the information from the plan seems like the right answer. Though I'm not sure how to thread that info correctly
nineteeneightd has joined #nixos
asymmetric has quit [Ping timeout: 240 seconds]
<alp> yeah, and "when"
<elvishjerricco> I suppose we could just use the plan more completely; i.e. refer to things just as specifically as plan.json does
Sonarpulse has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
<nineteeneightd> Is there a way to get the location of the kernel, initrd and command line needed to start the most recent configuration other than peeping /etc/grub/grub.cfg? Trying to script retrieving all of that information so that I can use it to run the system under hyperkit (xhyve).
hoshineko has quit [Ping timeout: 256 seconds]
<angerman> elvishjerricco: the from-stack logic refers to hsPks.$pkg.$version
hoshineko has joined #nixos
<elvishjerricco> angerman: Yes but it places those values in fields identified only by package name
<elvishjerricco> And refers to dependencies only by package name
<angerman> elvishjerricco: Hà :-) pull setupDepends from setupDependsPkg
<angerman> Then you can specify that set separately if you want.
<elvishjerricco> angerman: Well there basically has to be a different package set for every setup.hs because they can apparently all receive different plans
<elvishjerricco> But I think we can do just that
<angerman> If found a lot of issues can be solved with custom namespaces :-)
<elvishjerricco> Basically, from-plan could simply output all the detailed information so you can identify things by version, then we write a Nix driver that filters the right package sets for both the regular depends and the setup depends based on the plan
<elvishjerricco> alp: Do you have a source on cabal allowing different versions of the same package for the sake of setup-depends? It'd be a shame to invent all this infra only to find it isn't needed :P
<infinisil> nineteeneightd: ttps://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/loader/grub/install-grub.pl#L351-L391
<infinisil> Whoops an "h" got missing there
<alp> elvishjerricco, my source is hvr =)
<infinisil> nineteeneightd: That's the function that generates a grub entry
<infinisil> nineteeneightd: From which we can see that it reads system/{kernel,initrd,init,kernel-params}
<infinisil> (system is the nix derivation of the system, e.g. /run/current-system)
<elvishjerricco> alp: That article makes me wonder if cabal could be made to allow different exes to depend on different versions of a lib. If that ever happens, we'll be glad we solved this problem ahead of time
seafood has joined #nixos
igo95862 has quit [Quit: igo95862]
<nineteeneightd> Perfect! Thank you very much!
jperras has quit [Quit: WeeChat 2.1]
work_ has joined #nixos
<elvishjerricco> > we might pick different versions of QuickCheck for different test suites in different packages (though only where necessary).
<{^_^}> error: syntax error, unexpected IN, expecting ')', at (string):43:74
<elvishjerricco> alp: They don't say whether cabal actually does this, but if it does then this infrastructure is required
<alp> elvishjerricco, I haven't tried that yet. but the core principle stated in the article that it's fine for setup scripts because they're executables should hold for other executables too :)
<alp> the key really just is that the constraint of using version X of some lib "stops there"
<alp> so I suspect it could be made to work if it doesn't yet, but you'll really want to talk to hvr & friends to get a precise description of what Cabal supports now and could support in the future
<alp> and whether a package out there actually needs different versions of a lib in setup-depends
<alp> and in one of the normal components
jperras has joined #nixos
<elvishjerricco> alp: I think this is likely worth pursuing. The article does make it clear that this is supported for setup-depends, and I could easily see this being more aggressively supported in the future. Doesn't seem to hard to make it work in nix
<alp> anyway, all of this to explain that I was trying to take this into account back when I was thinking about an alternative cabal2nix
<alp> if you see a way to make it supported without spending weeks on it, that might be worth it, but a quick chat with some Cabal folks to get more precise information can't hurt
<elvishjerricco> Yea I'll ask around
nuncanada has quit [Quit: Leaving]
<alp> elvishjerricco, but I'm really glad you and angerman took the time needed to work on those stuffs, I'll definitely be switching over as soon as I get a chance to look at the code a little bit. cheers :)
Have-Quick has joined #nixos
d1rewolf has joined #nixos
<d1rewolf> hi guys. I'm a long time linux user (since rh 5.1). I'm currently running Ubuntu but am comfortable finding my way around just about any distro. I'm looking a NixOS with growing enthusiasm.
<d1rewolf> Two questions:
<d1rewolf> 1. Is it currently feasible for a desktop os? Stable enough to count on it day to day?
morenoh149 has quit [Ping timeout: 268 seconds]
<d1rewolf> 2. How does package selection compare to the large-ish selection on the Debian/Ubuntu fronts?
<d1rewolf> (twO)
<hodapp> 1: I use it on a desktop and a laptop with no problem
<hodapp> 2: nixpkgs has quite a lot of stuff, but Debian/Ubuntu likely have a bit more (especially when you count 3rd party repos and .debs)
<hodapp> but if you want answers on specific packages, you can look in the nixpkgs repo or just ask folks
tzemanovic has quit []
mahalel_ has joined #nixos
<{^_^}> [nixpkgs] @colemickens opened pull request #41873 → neovim: 0.2.2 -> 0.3.0 → https://git.io/vhwRH
kendrick__ has joined #nixos
<d1rewolf> hodapp: cool, thanks very much
<hodapp> you could always start with Nix on top of your existing Ubuntu and see how that goes
<hodapp> if you don't want to dive in with NixOS
<bgamari> elvishjerricco, I believe it does encode setup deps
<d1rewolf> hodapp: how well is that supported? (nix on ubuntu?)
<hodapp> I think that works fine with most distros, really
<hodapp> you don't get quite the same level of declarative configuration/management as you'd get with NixOS, but it still gets you into Nix/Nixpkgs a bit
ericsagn1 has joined #nixos
matthewbauer has joined #nixos
<joepie91> d1rewolf: more stable for workstation use than any other distro I've used; however, also requires a bunch of upfront time/effort investment to understand how everything ties together
andreabedini has joined #nixos
<joepie91> I rarely run into unpackaged things, but yes, there's less than for other major distros if you count third-party repos; in particular trying to run proprietary stuff (especially games) tends to involve some packaging work
<joepie91> that having been said; packaging is easier and a more normal part of the system configuration process than on other distros
<hodapp> I've had to package a number of things myself, but this is more when I need to build some weird package that has a horrible build, and that horrible build has horrible dependencies that aren't present in nixpkgs (at least not in the right form) and it just sort of cascades from there
<joepie91> ie. "creating a package yourself" is a fairly normal part of NixOS usage whereas on other distros it's usually something you'd only expected dedicated maintainers to do
<hodapp> but... honestly I ended up doing this pretty often on other distros
<hodapp> and with NixOS the end result is that instead of just doing it totally ad-hoc and trying to remember what I did, I ended up with a recipe I could reuse/re-tune later
<joepie91> d1rewolf: btw, one major selling point for me for NixOS on a workstation is the rollbacks
<hodapp> and at least once this saved me hours and hours of reproducing the same thing on my laptop
<joepie91> I can just assume there to be a possibility to roll back to a previously working setup in a pinch, no matter what I've fucked up
<hodapp> that is one feature that I've yet to actually need - somehow
<joepie91> I've needed it a few times :)
<hodapp> on Arch Linux it's a feature I'd have used regularly...
devx has quit [Quit: . .. ...]
rprije has joined #nixos
mounty has quit [Ping timeout: 256 seconds]
tzemanovic has joined #nixos
devx has joined #nixos
<hodapp> however, I tend to take the "just jump in" approach when it comes to learning new things, so I around late 2016 after I finished some big projects I just nuked my Arch install completely and installed NixOS on my workstation
<hodapp> and I just picked a time when I had a couple days of nothing major being due in order to deal with the stumbling block of learning
mounty has joined #nixos
<joepie91> yeah, that's definitely something I always recommend for NixOS
<joepie91> don't jump into it unless you can miss a few days
<joepie91> :p
<jasongro`> Arch Linux forums are full of people asking how to do rollbacks, and there's a standard reply that you shouldn't even try.
<hodapp> and shortly after, I realized that I could just copy my configuration.nix over to my laptop, customize just a few things (encrypted disks, hardware-specific stuff and build a NixOS
<hodapp> er... premature Enter... and build a NixOS system based on my workstation with all the same tools available
<jackdk> That's basically what I did about a year ago. I've had to package a couple of niche things but the process for contributing to nixpkgs was very smooth and one of the easiest I've done
<hodapp> JasonGro`: ugh, I gave up on Arch IRC at a certain point
<hodapp> so many nasty people there
<jasongro`> Really? That's sad. I hadn't noticed. Didn't need interactive help because the Arch Wiki is so good.
<jasongro`> Oh, also I was using Manjaro and I know Arch people usually refuse to help Manjaro users!
<hodapp> just was sick of the "you waited a week to upgrade your system? you didn't remember to check the front page for important news when you did your daily upgrade? what are you, mentally retarded?" attitude
<jasongro`> Oh I see, yes.
<jasongro`> That is sad.
<jasongro`> I use(d) Debian for mission-critical stuff, for that reason.
<hodapp> yeah.
<samueldr> I started using nixos by trying it out on a secondary computer, rebuilding my "usual setup" at the time with nixos
<hodapp> it was just routine that something would brick my Arch box to a level where it wouldn't boot or wouldn't boot to a graphical interface
<hodapp> every few months
<samueldr> and then, when everything was fine, ported over an never looked back
<jasongro`> You're reminding me how much I like NixOS. I hope it stays around.
<jasongro`> So I wonder whether most NixOS people are refugees from Arch rather than other distros.
<hodapp> lol, I'd figure a lot of Ubuntu/Debian users just because of how common it is
<jasongro`> I imagine Ubuntu's much commoner, isn't it? (Never been tempted by Ubuntu myself.)
<hodapp> have used Ubuntu a bunch, mostly had good luck, but did still run into problems
<hodapp> they were "understandable" problems, so to speak, but not ones I felt like dealing with
kiloreux has quit [Ping timeout: 268 seconds]
<infinisil> Heh
<joepie91> [07:13] <Ralith> joepie91: for a while arch was the distro with up to date haskell packages
<joepie91> [07:13] <Ralith> so it had a high concentration of FP enthusiasts
<joepie91> [07:15] <Ralith> it also has an outstandingly bad stability story, so it has a high outflow of users with a keen awareness of the problems nix solves :P
<joepie91> ^ why lots of NixOS users come from Arch, probably
<jasongro`> Right. I like the way Ubuntu's organised. What I DON'T like, and it's a dealbreaker for me personally, is how much it changes.
<hodapp> joepie91: yes, that's where I started with Haskell - on Arch
<infinisil> These reddit threads about microsofts mess up are very relevant: https://www.reddit.com/r/linux/comments/8q92hs/microsofts_failed_attempt_on_debian_packaging/
<jasongro`> joepie91: I see. Thanks. That makes sense.
<joepie91> I'm the odd one out, I think
<colemickens> If anyone here uses WireGuard and could weigh in, I'd appreciate it mightily: https://github.com/NixOS/nixpkgs/issues/41874
<joepie91> I come from openSUSE and I don't really use purely functional languages
<jasongro`> I don't use purely functional languages either; just a coincidence that I'm from Arch.
<joepie91> well, except for Nix that is :D
<samueldr> for the record, I was on archlinux, but was looking for something else anyway
<jasongro`> Right, except for Nix, which I like very much.
<joepie91> do have an interest in them, but I've not been satisfied with the available options so far
<joepie91> have been working on some stuff of my own in relation to this
<joepie91> but my primary language is still... wait for it... javascript
<jasongro`> I'd like to try Clojure or another functional-style lisp ... given time.
<jasongro`> joepie91: I don't believe all the bad press about javascript, at least compared to other popular languages.
<joepie91> colemickens: I don't recall the exact issue but I had trouble with wireguard as well a while ago when I tried to set it up
markus1199 has joined #nixos
<joepie91> didn't have the time to debug so I defaulted back to sshuttle
<joepie91> (needed it to work around broken train wifi)
<jasongro`> Why were you on a broken train?
<colemickens> yeah, that's more or less what I'm doing as of now. thanks for letting me know.
<joepie91> the train wifi was broken, the wifi was not on a broken train :D
<jasongro`> :D
<joepie91> JasonGro`: Dutch railway company has done something to their wifi setup that upsets nscd
<joepie91> I have not yet worked out why
<joepie91> but I've found a way to work around it
<jasongro`> joepie91: Interesting, and well done.
<joepie91> manual `host www.nstrein.ns.nl` which is their portal
<joepie91> open IP in browser, hit 'accept'
<joepie91> connect to home IP via sshuttle
<joepie91> ta-da, full internet and DNS
<joepie91> apparently `host` bypasses nscd which is why that works
<joepie91> (portal IP varies by train, hence the lookup)
<jasongro`> How did you discover that?!
<joepie91> anyway, in the long term I want a semi-permanent wireguard connection going to my home PC
<joepie91> JasonGro`: trial and error, and lots of train rides
<joepie91> lol
<joepie91> and lots of debugging
<colemickens> I currently get "RTNETLINK answers: File exists" and am not deep enough in Linux networking to really know where to look.
<colemickens> AFAICT nothing else should be managing wg0.
<joepie91> JasonGro`: I do have a portable 3G/4G modem that I can hook up to my laptop so in a pinch I could look stuff up there
sir_guy_carleton has joined #nixos
markus1189 has quit [Ping timeout: 268 seconds]
<joepie91> but, limited monthly traffic (250MB, it's a free SIM from my residential ISP), hence trying to use train wifi by default
<joepie91> yay for incredibly obscure problems
<jasongro`> joepie91: Yes.
<joepie91> JasonGro`: oh, recently they've changed the proxy so that the portal does not respond without the right Host header anymore, so I've now automated it with curl
<joepie91> now I just run ~/nswifi and it will do all the necessary work, agree to the ToS in the portal, and set up a tunnel :D
<joepie91> but yeah, this is definitely in the "stupid problems to have" category, lol
<joepie91> JasonGro`: regarding bad press about JS; almost every single piece of criticism I see about JS is completely misguided, and nobody talks publicly about the *real* issues that *do* need to be addressed... :(
<joepie91> public criticism that is, blogposts, comments, whatever
<jasongro`> There are a couple of prominent people who agree with us. Can't remember their names offhand - sorry.
<jasongro`> They're who I got my opinions from. I've never used JS myself.
<infinisil> There's #nixos-chat for offtopic stuff btw..
<jasongro`> Oh sorry, yes. (And thanks for the Microsoft link.)
* samueldr grumbles
<jasongro`> ?
<justanotheruser> anyone run nixos on their phone?
<joepie91> JasonGro`: you're not in -chat :)
<samueldr> ^ that's why I'm grumbling
<samueldr> lol
<samueldr> I'm trying to get nixos running on my phone
<samueldr> and the /dev/fb0 device seems to be in bgr instead of rgb and I don't know what I'm doing ~~~
<samueldr> (so read and blue are switched around)
<samueldr> red and blue*
<sir_guy_carleton> my phone is garbage, so i doubt it work at all
<YegorTimoshenko[> justanotheruser: going to when librem 5 comes out
<infinisil> samueldr: Haha the display is all messed up because of that?
<samueldr> only mis-colored
<colemickens> FWIW, I resolved my Wireguard issue, or at least the service starts.
<jasongro`> samueldr: Sounds like a feature not a bug.
<samueldr> though, I tried a hail mary and forced a value in the driver
<colemickens> 1. make sure the private key is where you say it is
<samueldr> it worked :/
<samueldr> so I'm wondering how to actually do that the right way
<colemickens> 2. delete wg0 ahead of the startup script, it doesn't handle the link already existing
<samueldr> probably an ioctl or something in /sys/
<samueldr> oh, justanotheruser, in this case I'm using an android phone, a zenfone 2 laser (z00t)
<sir_guy_carleton> how you plan deal with the larger amount of space that nixos would use?
<samueldr> I just began this week-end an effort to make it easier to port to (bootloader unlocked) android phones
<infinisil> sir_guy_carleton: It doesn't have to
<samueldr> my c720p has 32GB storage and I can manage :)
<samueldr> (a laptop)
<infinisil> Honestly the only thing that takes more space than other distros are the generations to enable you to rollback to previous systems
<samueldr> exactly
<infinisil> Which are totally worth it, but you can turn them off, or limit it to a single on
<infinisil> one*
<colemickens> https://github.com/NixOS/nixpkgs/issues/41874 I can update if it all works end-to-end, but I expect it to now.
<sir_guy_carleton> infinisil: yeah, i get that, it does feel like you are destroying one of the big advantages nixos has over other distros/os'es
blankhart has quit [Ping timeout: 260 seconds]
<infinisil> A single rollback generation totally has a lot of the benefits though, you can use it whenever you brick your system
<hodapp> the space NixOS takes up is sometimes problematic for me... while I have lots of network storage my main OS runs from a smaller SSD
<sir_guy_carleton> true
<infinisil> Okay you might not notice immediately though
<infinisil> Because problems can only start occuring after reboot
<sir_guy_carleton> i would be more confortable with a few more generation, i guess
<infinisil> Yeah
<sir_guy_carleton> btw, have any of you installed nixos on a 32 bit system?
roberth has quit [Ping timeout: 264 seconds]
<infinisil> Also that can be a big problem when you're the kind of person that never reboots the machine to get the longest uptime..
jackdk has quit [Ping timeout: 240 seconds]
<bhipple[m]> Could someone merge this into staging before the commit it's trying to revert makes its way to master? https://github.com/NixOS/nixpkgs/pull/41869
<sir_guy_carleton> because i got a laptop that only seems to install 32 bit os'es that i would like to try installing nixos onto.
<samueldr> sir_guy_carleton: which laptop?
<samueldr> sometimes it's only a weird 32 bit bootloader thing
<samueldr> but 64 bit os will work
<infinisil> #41869
<{^_^}> https://github.com/NixOS/nixpkgs/pull/41869 (by bhipple, open): pcsclite: use canonical src url
<sir_guy_carleton> samueldr: acer aspire 5517
<sir_guy_carleton> not a good laptop, but it's what i've got
<infinisil> Honestly this #<number> feature is a bit mediocre, because copying the url is just about as quick as entering the number. The only thing you get in addition is the description
<samueldr> sir_guy_carleton: oh, I would have expected an intel atom for what I was thinking of
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> I would expect 64 bit to work,
<sir_guy_carleton> well i look up the spec sheets on it, it does say the processor is 64 bit
andreabedini has joined #nixos
jackdk has joined #nixos
<sir_guy_carleton> but i haven't gotten a 64 bit os to install on it
<colemickens> I am also looking for some help resolving an issue with "buildFHSUserEnv" with Plex Media server: https://github.com/NixOS/nixpkgs/pull/38767#issuecomment-396437977
Lev50 has quit [Quit: This computer has gone to sleep]
roberth has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
roberth has quit [Read error: Connection reset by peer]
yenzenz has joined #nixos
roberth has joined #nixos
nineteeneightd has quit [Ping timeout: 260 seconds]
oltoAltn has joined #nixos
olto has quit [Ping timeout: 264 seconds]
jensens has quit [Ping timeout: 264 seconds]
seafood has quit [Quit: seafood]
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @nicknovitski opened pull request #41875 → packer: 1.2.0 -> 1.2.4 → https://git.io/vhwzT
xcmw has joined #nixos
jackdk39 has joined #nixos
jackdk has quit [Ping timeout: 276 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
sbdchd has joined #nixos
hoshineko has quit [Ping timeout: 256 seconds]
hoshineko has joined #nixos
dbmikus has quit [Ping timeout: 276 seconds]
matthewbauer has quit [Ping timeout: 256 seconds]
jasongro` has quit [Ping timeout: 240 seconds]
igo95862 has joined #nixos
<{^_^}> [nixpkgs] @IvanMalison opened pull request #41876 → Add git sync → https://git.io/vhwgc
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbmikus has joined #nixos
mmlb has quit [Ping timeout: 264 seconds]
mmlb has joined #nixos
jbboehr has quit [Remote host closed the connection]
kendrick__ has quit [Ping timeout: 260 seconds]
<bhipple[m]> Is it possible to build a NixPkg with an empty `src`?
<bhipple[m]> I'm trying to play around with a meta-package that tweaks a bunch of other behavior via a setupHook, but it itself doesn't have any src.
<infinisil> bhipple[m]: runCommand "name" {} "echo hi > $out"
<infinisil> Makes a simple derivation that will result in a file with the contents "hi"
<infinisil> The {} there takes arguments like mkDerivation
<tnks> coming off of Debian to a more systemd-orient NixOS, how do I get the equivalent of what I used to get from /var/log/xorg.0.log?
<bhipple[m]> Aha, I was missing the `installPhase = "mkdir $out";` and it was complaining about that, not about the empty `src` attribute
<samueldr> got the framebuffer right with fbset :D
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hoshineko> hello, i just realized my mpv doesn't work anymore
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
blankhart has joined #nixos
<infinisil> hoshineko: What does nix-info output?
Olinkl[m] has joined #nixos
<infinisil> Are you on nixos?
<hoshineko> yes
jackdk39 has quit [Ping timeout: 256 seconds]
<infinisil> What graphics card?
<hoshineko> intel
jophish has joined #nixos
<hoshineko> it probably started yesterday after i ran a nixos-rebuild switch --upgrade, I also had an issue with glibc locales and used a workaround for that
<hoshineko> don't know if it could be related
<infinisil> hoshineko: Try running it again after executing this: export LIBGL_DRIVERS_PATH=$(nix-build --no-out-link '<nixpkgs>' -A mesa_drivers)/lib/dri
work_ has quit [Quit: Connection closed for inactivity]
jackdk39 has joined #nixos
<hoshineko> same thing
samrose has quit [Ping timeout: 260 seconds]
<infinisil> Hmm, I would've expected this to work
seafood has joined #nixos
<infinisil> hoshineko: What's in /run/opengl-driver/lib?
<infinisil> and in ./dri?
<infinisil> hoshineko: try setting LIBGL_DRIVERS_PATH to /run/opengl-driver/lib/dri
<hoshineko> same thing
<infinisil> hoshineko: Or if that doesn't work, set `LD_LIBRARY_PATH=/run/opengl-driver/lib`
<hoshineko> same too
<infinisil> Hmm..
<infinisil> Hmm, last idea: Try the nix-build --no-out-link thing with s/mesa_drivers/libGL.drivers
<infinisil> hoshineko: Other than that, #32272 is an (older) issue of this problem. Then there's also https://github.com/guibou/nixGL, but that does pretty much what I just tried here, maybe still worth giving it a shot though
roberth has quit [Read error: Connection reset by peer]
<{^_^}> https://github.com/NixOS/nixpkgs/issues/32272 (by TerkiKerel, closed): MPV or GnomeMPV not play video files
<hoshineko> error: attribute 'drivers' in selection path 'libGL.drivers' not found
<infinisil> Just libGL then
<hoshineko> same thing
seafood has quit [Quit: seafood]
<infinisil> Other than the linked things, I'm out of ideas
<infinisil> Seems to be a problem with the mpv packaging
<infinisil> As you implied with mentioning it appeared after an upgrade
<infinisil> hoshineko: If you can't solve it, can you open an issue about it here? https://github.com/NixOS/nixpkgs/issues
<hoshineko> okay
jperras has quit [Quit: WeeChat 2.1]
<infinisil> You could just use an older version as a workaround
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/697ae2a0737 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<hoshineko> older version of?
<infinisil> mpv
sbdchd has quit [Remote host closed the connection]
lassulus_ has joined #nixos
roberth has joined #nixos
lassulus has quit [Ping timeout: 265 seconds]
lassulus_ is now known as lassulus
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/95a8cb3ade1 (from 35 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<sir_guy_carleton> infinisil: what's wrong with them?
andreabedini has joined #nixos
<infinisil> build instructions for any nix project: `nix-build`
<infinisil> install instructions for any nix project: `nix-env -if default.nix`
<infinisil> or release.nix and a different attrset, but the gist is: You don't have to worry about it, it just works
<infinisil> Comparing that to the instructions the replies there mention
<sir_guy_carleton> oh yeah
<sir_guy_carleton> i though you might complain about putting icon on the command line
<infinisil> Ah :P
<infinisil> Also: "sudo mv ./a.out /usr/local/bin/extended_ls"
<infinisil> Phew I'm glad I know about Nix
Have-Quick has quit [Quit: Have-Quick]
<hoshineko> that's not really comparable here though
<hoshineko> you would have to do similar work in nix
<hoshineko> since this doesn't have a makefile or anything
<infinisil> But once done and packaged, any distro can use it to install it easily
d6e has joined #nixos
<infinisil> And that's usually what people using Nix do already with their software, that's why all other people can just go to a random nix project, run nix-build, and have a working build \o/
schoppenhauer has quit [Ping timeout: 245 seconds]
<adelbertc> `callCabal2nix` inside an overlay should account for any overrides applied in that same overlay right?
<adelbertc> I have
<adelbertc> ```
<adelbertc> foo = self.haskellPackages.callCabal2nix "foo" ./. { };
<adelbertc> haskellPackages = super.haskellPackages // {
<adelbertc> overlay = self: super: {
<adelbertc> pure-zlib = self.haskellPackages.dontCheck super.pure-zlib;
<adelbertc> };
<adelbertc> };
<adelbertc> ```
<adelbertc> but it seems `pure-zlib` is still trying to run tests in building `foo`
schoppenhauer has joined #nixos
nallar has joined #nixos
Ross has quit [Ping timeout: 260 seconds]
nallar is now known as Ross
agile has quit [Quit: v]
<hoshineko> mmm, how do i install an older version of mpv?, (declaratively preferably)
Have-Quick has joined #nixos
agile has joined #nixos
<infinisil> ,unstable hoshineko
<infinisil> That but with an older channel ^^
Have-Quick has quit [Client Quit]
klntsky has quit [Remote host closed the connection]
<hoshineko> i'm already on stable though
<infinisil> Hmm you could use 17.09
<infinisil> But there's something better
d6e has quit [Quit: WeeChat 2.1]
<infinisil> You can install a specific version of mpv based on the nixpkgs hash
<infinisil> Here you can find older 18.03 nixpkgs hashes: https://hydra.nixos.org/jobset/nixos/release-18.03
<infinisil> (note that not all of them were actually in the channel at some point however)
klntsky has joined #nixos
<infinisil> The 7 letters there will be enough already for the github link to work
Have-Quick has joined #nixos
reinzelmann has joined #nixos
morenoh149 has joined #nixos
<adelbertc> infinisil: does it not work with overlays?
<adelbertc> perhaps i am misunderstanding how overlays work
d6e has joined #nixos
<infinisil> adelbertc: Nah it's not the problem of overlays
<infinisil> But the haskell set is a bit special with overrides, see the link on how to do it
<infinisil> The sections should probably get rewritten to use overlays instead of the old packageOverrides though
<adelbertc> hmmm interesting
dbmikus has quit [Ping timeout: 265 seconds]
rardiol1 has quit [Remote host closed the connection]
<adelbertc> infinisil: aha that worked!
<adelbertc> TIL, thank you!
<infinisil> Nice :)
lord| has quit [Ping timeout: 264 seconds]
lord| has joined #nixos
Cale has quit [Ping timeout: 240 seconds]
jackdk39 is now known as jackdk
slack1256 has quit [Read error: Connection reset by peer]
lord| has quit [Ping timeout: 248 seconds]
Have-Quick has quit [Quit: Have-Quick]
lord| has joined #nixos
Cale has joined #nixos
lord| has quit [Ping timeout: 248 seconds]
lord| has joined #nixos
jasom has joined #nixos
qewzee has quit [Ping timeout: 256 seconds]
<jasom> how do I free up space in my boot partition?
<jasom> nixos-rebuild is failing due to it being full
<sir_guy_carleton> does deleting gnerations work?
<jasom> sir_guy_carleton: ah, I realized my error; I need to rerun nixos-rebuild after deleting the generations to get it to free the space
Have-Quick has joined #nixos
MercurialAlchemi has joined #nixos
Have-Quick has quit [Ping timeout: 276 seconds]
blankhart has quit [Ping timeout: 276 seconds]
blankhart has joined #nixos
Mr_Keyser_Soze has joined #nixos
mahalel_ has quit [Ping timeout: 268 seconds]
<teto1> weird, I wrote a shebang of the form "#!nix-shell plot.nix -i python" (first line being the usual one) and it does nothing when running ./myscript.py but if I run strace -olog -f ./myscript.py it is invoked :s
<teto1> (working = installing the environment in plot.nix)
rprije has quit [Ping timeout: 245 seconds]
Guanin has quit [Ping timeout: 268 seconds]
reinzelmann has quit [Quit: Leaving]
Have-Quick has joined #nixos
init_6 has joined #nixos
Guanin has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 260 seconds]
inquisitiv3 has joined #nixos
lord| has quit [Ping timeout: 240 seconds]
lord| has joined #nixos
hoshineko has quit [Ping timeout: 245 seconds]
oida has quit [Remote host closed the connection]
oida has joined #nixos
spear2 has quit [Remote host closed the connection]
spear2 has joined #nixos
<{^_^}> [nixpkgs] @andreabedini opened pull request #41877 → aws-sam-cli: init at 0.3.0 → https://git.io/vhwKZ
bennofs has joined #nixos
asuryawanshi has joined #nixos
JasonGrossman has joined #nixos
lord| has quit [Ping timeout: 264 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lord| has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
Have-Quick has quit [Quit: Have-Quick]
reinzelmann has joined #nixos
lord| has quit [Ping timeout: 240 seconds]
lord| has joined #nixos
lord| has quit [Ping timeout: 264 seconds]
lord| has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
Have-Quick has joined #nixos
xy2_ has joined #nixos
sorixelle has joined #nixos
hyper_ch2 has joined #nixos
jasongro` has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
Lev50 has joined #nixos
johanot has joined #nixos
myshoe has joined #nixos
igo95862 has quit [Quit: igo95862]
hoshineko has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « pythonPackages.warrant: Fix compat with pip 10 »: https://git.io/vhw6p
inquisitiv3 has quit [Ping timeout: 276 seconds]
Lev50 has quit [Quit: This computer has gone to sleep]
testuser has joined #nixos
hamishmack has joined #nixos
bennofs has quit [Quit: WeeChat 2.0]
Have-Quick has quit [Quit: Have-Quick]
joshie has quit [Ping timeout: 240 seconds]
xy2_ has quit [Ping timeout: 256 seconds]
mjrosenb has quit [Ping timeout: 256 seconds]
Yaniel has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @nlewo closed pull request #41875 → packer: 1.2.0 -> 1.2.4 → https://git.io/vhwzT
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/40eb14c972a (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
GiGa has quit [Quit: Leaving]
joshie has joined #nixos
palo has quit [Ping timeout: 264 seconds]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
rprije has joined #nixos
goibhniu has joined #nixos
rprije has quit [Ping timeout: 264 seconds]
zeme has joined #nixos
johanot has quit [Ping timeout: 264 seconds]
phdoerfler has joined #nixos
civodul has joined #nixos
logzet has joined #nixos
<zeme> Good day to all. I'm using Nix at work, exploring the possibility of deployment through nix-copy-closure. I'd like to include a derivation to package up a bunch of data files (certificates and other keys). I'd also like to change the permission bits on those files, or rather to keep the original intact. However I find that all file artifacts that I copy in $out end up as -r--r--r--.
<zeme> This is expected since the nix store is suppoed to be world-readable and non-writable. Ignoring security implications, and whether to deploy secrets through nix is a good idea, is there a workaround to it? How to write a derivation that copies local files to $out and keeps the metadata (at least permission bits)?
<zeme> If it's doable at all
<{^_^}> [nixpkgs] @nlewo merged pull request #41868 → go-ethereum: 1.8.8 -> 1.8.10 → https://git.io/vhwnX
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vhwXA
dejanr has quit [Quit: ZNC 1.6.5 - http://znc.in]
<makefu> zeme: afair it is not possble to keep the `write` permission bit or the `suid` one. keeping the execute bit should be possible though (not sure if it makes sense for certificates)
<makefu> you can create either an activation script or a systemd service which prepares the certificates and puts them at the correct destination
blonkhart has quit [Quit: WeeChat 1.9.1]
winem_ has joined #nixos
thc202 has joined #nixos
adamt has joined #nixos
<zeme> makefu: I see. The activation script/systemd solution is what I'm using now actually! It works great for single files, it's not too much work. However, I have a folder with tens of such files, each with different permissions, so I'd have to chmod each file individually with its corrent permissions
adamt is now known as Guest21370
<makefu> maybe you could thing of a cool way to iterate over them and set the bits you need with chmod u+ instead of chmod u=
dejanr has joined #nixos
justbeingglad has joined #nixos
<zeme> makefu: Right. Still, I'd have to include a nix expression, e.g. an AttrSet in my derivation that encapsulates each file's metadata, which is a pain if you have a lot of files. Is there a function in nixpkgs, that takes a local path to a file/folder, and produces, say, a tar of that file/folder? I imagine this would keep the original files' metadata. Then in the activation script I would unpack the tar and move the files accordingly
<makefu> none that i know of, however i think it should be possible as for example the nixpkgs-tarball and the iso is built by nix :)
<zeme> makefu: got it. I'll look into that. Cheers.
<makefu> cool!
<zeme> Thanks
<Myrl-saki> clever: Ping. I have a stupid idea.
<{^_^}> [nixpkgs] @jyp opened pull request #41878 → python.packages.tensorflow: repair postFixup phase → https://git.io/vhw1h
johanot has joined #nixos
jackdk has quit [Ping timeout: 276 seconds]
johanot has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
Guest21370 has quit [Ping timeout: 245 seconds]
justbeingglad has left #nixos [#nixos]
tzemanovic has quit []
hyper_ch2 has quit [Ping timeout: 260 seconds]
seafood has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4b649a99d84 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
seafood has quit [Client Quit]
tzemanovic has joined #nixos
phdoerfler has quit [Quit: Leaving.]
vaninwagen has joined #nixos
frigate_freedom has joined #nixos
Lisanna has joined #nixos
roberth has quit [Ping timeout: 265 seconds]
Yaniel has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #41880 → nodejs: 10.3.0 -> 10.4.0 → https://git.io/vhwy0
<sgraf> Hi all, I'm trying to make an overlay (https://github.com/sgraf812/.nixpkgs/blob/252eadbf26bde24b6f07d5cbb8f9bd914121757c/overlays/creduce-master.nix) for creduce (https://github.com/NixOS/nixpkgs/blob/136403655c15b830fff4f58fd90b3e1478c7ba30/pkgs/development/tools/misc/creduce/default.nix). But I have the feeling that neither the version attribute is overriden, nor is the src attribute, because `nix search creduce-master` doesn't display a
<sgraf> version at all and the sha256 I put there is most certainly wrong.
igo95862 has joined #nixos
tzemanovic has quit [Remote host closed the connection]
uri-canva has joined #nixos
<srhb> sgraf: How do you figure? Aside from 404'ing on the src here, it looks right to me
<srhb> sgraf: How are you loading your overlay?
tzemanovic has joined #nixos
jasongro` has quit [Remote host closed the connection]
JasonGrossman has quit [Remote host closed the connection]
JasonGrossman has joined #nixos
<uri-canva> I have a general question about nixpkgs that I'm not sure whether to pose in a github issue: are derivations in nixpkgs meant to work both in nix-shell and outside of it or just one of the two? and if the latter, is there a convention to distinguish which of the two it is for?
xy2_ has joined #nixos
jensens_ has joined #nixos
<srhb> uri-canva: I would say it's preferable that they work either way, however I know of some things (was it qt stuff?) that does not work without being installed in a profile
<srhb> uri-canva: It's unfortunate, but, I guess, also often a difficult problem
yenzenz has quit [Ping timeout: 264 seconds]
tzemanovic has quit [Ping timeout: 256 seconds]
Ariakenom has joined #nixos
<uri-canva> Is there a precedent for derivations that need two separate variants, one for nix-shell, and one for use in profiles outside of nix-shell?
<uri-canva> I'll have a look at qt
gmarmstrong has joined #nixos
<uri-canva> In my case clang doesn't work correctly when installed in profile, only when used from nix-shell
frigate_freedom has quit [Ping timeout: 260 seconds]
<uri-canva> Also some of the things that are done in wrappers to make it work in nix-shell are unnecessary when used outside of it
<sgraf> srhb: I was just looking at `nix search` for the version and opened a `nix-shell -p creduce-master` successfully (indicating that it didn't respect the src attribute)
<srhb> uri-canva: I don't know of any, sorry.
<uri-canva> @shrb Do you know if this question would be ok to ask in an issue on github so the discussion can live for longer?
<srhb> uri-canva: Definitely okay :)
<uri-canva> Will do that then, thanks!
<srhb> sgraf: fwiw you have not overridden the name attribute
<srhb> sgraf: But other than that, the overlay works correctly for me (if I fix the hash)
<srhb> sgraf: Did you maybe leave the hash at the old version?
<sgraf> srhb: Could it be related to my ubuntu installation?
ericsagn1 has quit [Ping timeout: 245 seconds]
<sgraf> srhb: Yeah, I did, because I wanted to test if it really fetched from GitHub. Which it doesn't for me
<srhb> sgraf: I don't know. how are you loading the overlay?
<srhb> sgraf: If you left it at the old hash, and the artifact already exists on your system, it will not check anything online.
<srhb> sgraf: (Think of it: If it rechecked online everytime, you would always have to fetch everything to see if it really is the same as the hash claims, whether or not it's installed already)
<srhb> Instead, use...
<srhb> !wofu
<srhb> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<sgraf> srhb: That's exactly what I had in mind, but it didn't detect the sha as incorrect, which lead me to believe the src attribute wasn't overriden
<etu> srhb: That command makes me think about food.
<sgraf> :D
<srhb> etu: :-)
<gmarmstrong> Is there a way to search the irc log on botbot.me? Or anywhere else?
<srhb> gmarmstrong: None that I've found.
uri-canva has quit [Ping timeout: 260 seconds]
civodul has quit [Ping timeout: 276 seconds]
<srhb> sgraf: Oh, if it's incorrect and not just "the same as the old one" something should definitely error out.
<sgraf> srhb: Re loading the overlay: I've put it under ~/.config/nixpkgs/overlays/creduce-master.nix
<srhb> Sounds right.
<sgraf> srhb: Ah, you were right all along! Now that I actually modified the sha, it breaks. Sorry for the confusion
<teto1> gmarmstrong: you can use the riot client I think
<srhb> sgraf: OK, good. :) So this is what fixed-output derivations do. If the hash is on the system, nothing is checked. Good to know.
phdoerfler has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
Guest21370 has joined #nixos
freusque has joined #nixos
phdoerfler1 has joined #nixos
phdoerfler has quit [Read error: Connection reset by peer]
jensens_ has quit [Ping timeout: 248 seconds]
jensens_ has joined #nixos
toby1851 has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/44358ff94b3 (from 15 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
johanot has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
<goibhniu> it's a shame they had to disable the search on botbot.me due to scaling issues:/ (since april)
xy2_ has quit [Read error: No route to host]
__Sander__ has joined #nixos
* goibhniu wonders if it's possible to search the logs via matrix instead
<manveru> it's possible
blankhart has joined #nixos
<teto1> my shebang runs fine under bash, it seems like zsh interferes with nix-shell shebangs in some way ?
phdoerfler1 has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
phdoerfler has joined #nixos
<manveru> gmarmstrong: anything in particular you're looking for?
goibhniu[m] has joined #nixos
<goibhniu> gmarmstrong: https://riot.im/app/#/room/#Nixos:matrix.org
<gmarmstrong> goibhniu: thanks for the link!
<gmarmstrong> manveru: was wondering whether anyone's had problems in the past with their color display. I'm color blind, but I'm almost positive that my laptop screen looks different than my desktop monitor.
<goibhniu> My pleasure! The logs are fairly useless without a search feature IMO, perhaps we should disable botbot and direct people to matrix instead?
ThatDocsLady has joined #nixos
* etu have ended up at botbot from searchengines
<etu> So it might be useful that way?
<JasonGrossman> gmarmstrong: I've been wondering about colour management too. I've got as far as checking that NixOS has some of the standard Linux stuff for that.
<goibhniu> ach, silly me ... I didn't notice we already have https://logs.nix.samueldr.com/nixos in the /topic
phdoerfler1 has joined #nixos
<manveru> gmarmstrong: that's the case with most displays... i have 3 monitors on the same machine/card and they all look slightly different :|
<JasonGrossman> gmarmstrong: I haven't actually used any of it.
phdoerfler1 has quit [Client Quit]
<goibhniu> etu: good point too
<gmarmstrong> gnome-color-manager is in master but not stable
phdoerfler has quit [Read error: Connection reset by peer]
<JasonGrossman> I think there's something lower level. colord, from memory?
<gmarmstrong> I might check it out, though I'm just using i3.
<JasonGrossman> Yes, there's colord.
<JasonGrossman> Which is WM agnostic.
<gmarmstrong> JasonGrossman: enabling colord doesn't do anything, but I'll fiddle with the program
<fyuuri> Hi :), i tried installing nix without root, which should work in nix2.0 without problems. However the installer does not take the --store arguement.
<manveru> gmarmstrong: https://github.com/agalakhov/xiccd
<JasonGrossman> manveru: Cool!
<JasonGrossman> So there's the NixOS option services.colord.enable. I guess that plus xiccd.
<JasonGrossman> I'm going to try that combination (but not now).
<fyuuri> The manual says I should use nix-shell, but i cant install that without root as well
igo95862 has quit [Quit: igo95862]
<manveru> heh
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru> fyuuri: which installer?
ThatDocsLady has quit [Quit: Leaving]
<manveru> yeah, you'll need to read the script
<fyuuri> ok :)
<fyuuri> I thought there might be something obvious I didnt consider
ThatDocsLady has joined #nixos
<manveru> i don't think the installer supports your use-case
<fyuuri> I also saw that :(
<fyuuri> Maybe i need to manually execute it in a sepearte pid and user namespace
<manveru> i'm not sure, but can you execute `nix-shell` from the tarball?
<manveru> it's at /store/0d60i73mcv8z1m8d2m74yfn84980gfsa-nix-2.0.4/bin/nix-shell
nD5Xjz has quit [Ping timeout: 245 seconds]
<manveru> hm, no... it's got the wrong interpreter and is dynamically linked :|
<manveru> i've used proot in the past, which worked pretty well
<{^_^}> [nixpkgs] @colemickens opened pull request #41881 → azure: stop carrying qemu-220 patch → https://git.io/vhwdo
marcinkuzminski has quit [Ping timeout: 245 seconds]
marcinkuzminski has joined #nixos
<manveru> https://github.com/NixOS/nix/issues/1973 has some interesting information
ijsicle has quit [Ping timeout: 255 seconds]
rotaerk has quit [Ping timeout: 240 seconds]
sie has joined #nixos
sigmundv has joined #nixos
sie is now known as Guest79795
frigate_freedom has joined #nixos
jasongro` has joined #nixos
rotaerk has joined #nixos
JasonGrossman has quit [Ping timeout: 240 seconds]
<frigate_freedom> Hello. guys!
<frigate_freedom> Can u help me again, please? :)
<frigate_freedom> # lxd init
<frigate_freedom> After enabling virtualization.lxc and virtualizatoin.lxd in configuration.nix I run
<frigate_freedom> I need couple of containers: the 1st -- to run wine + dxvk games, the 2nd -- to run centos with some proprietary software.
<frigate_freedom> leaving almost everything by default, but cat /etc/subuid and cat /etc/subgid shows, that only root user was added. How to add non-root user to subgid and subuid?
nD5Xjz has joined #nixos
myshoe has quit [Ping timeout: 276 seconds]
myshoe has joined #nixos
ericsagn1 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #41873 → neovim: 0.2.2 -> 0.3.0 → https://git.io/vhwRH
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vhwbW
<{^_^}> [nixpkgs] @srhb opened pull request #41882 → nixos/tests/kubernetes: Fix kubernetes tests apiserver address → https://git.io/vhwbR
Lisanna has quit [Ping timeout: 240 seconds]
<fyuuri> @manveru: I think proot will work. I was just wondering because the manual says nix2.0 has a native method. But it uses nix-shell...
<manveru> yeah... it's strange that that's in the wiki
<manveru> the only use-case i can think of is when you have nix on the system, but no nix-daemon, and no write permission to /nix
<fyuuri> yes
<manveru> which seems like a strange setup too :)
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko closed pull request #38767 → [WIP] plex: use buildFHSUserEnv → https://git.io/vxNcw
ericsagn1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko reopened pull request #38767 → [WIP] plex: use buildFHSUserEnv → https://git.io/vxNcw
jasongro` has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41881 → azure: stop carrying qemu-220 patch → https://git.io/vhwdo
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhwNf
<{^_^}> [nixpkgs] @Mic92 closed pull request #25661 → azure-image: remove qemu-220 → https://git.io/v9PPJ
nlytend has joined #nixos
jensens_ has quit [Ping timeout: 256 seconds]
<nlytend> How do i switch from systemd to grub2? Just boot.loader.grub.enable = true? I am worried about specifying a device
<{^_^}> [nixpkgs] @Mic92 merged pull request #41870 → diffoscope: 91 -> 95 → https://git.io/vhwWB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhwNn
<nlytend> Hope it doesnt wipe out any other hdd partitions
<manveru> `boot.loader.grub = { enable = true; version = 2; device = "/dev/sda"; };`
<{^_^}> [nixpkgs] @Mic92 merged pull request #41878 → python.pkgs.tensorflow: repair postFixup phase → https://git.io/vhw1h
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhwN0
<nlytend> Alright
<nlytend> the device is efi partition correct?
<manveru> i don't know about efi
rprije has joined #nixos
<Guest21370> Normally it would be the device itself, not a partition
aarvar has quit [Ping timeout: 240 seconds]
<nlytend> Its mbr or efi?
<Guest21370> Not sure about EFI+grub either.
<manveru> mbr
<{^_^}> [nixpkgs] @FRidh merged pull request #41862 → pythonPackages.spglib: init at 1.10.3.65 → https://git.io/vhwIa
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vhwN9
<manveru> i've never used EFI, sorry
<nlytend> So /dev/sda as opposed to /dev/sda2 ?
<nlytend> Ty ty
<elvishjerricco> bgamari: Oh to answer your original question from before, I think the only packages intended to be stable are those from the Stackage snapshot the package set is based on. Everything else is sort of in a "I hope this works" state.
<ar> you don't need to specify a partition for grub if you have efi
<ar> you just need your ESP mounted somewhere
<ar> typically under /boot/efi
<nlytend> Ok
<nlytend> Ty
<nlytend> $ nixos-rebuild test
Guest21370 has quit [Ping timeout: 276 seconds]
<nlytend> Its asking for a device
humanoyd has joined #nixos
<nlytend> Failed assertions:
<nlytend> - You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable.
<nlytend> I am using GPT partition scheme, i don't know how mbr will work on this
<{^_^}> [nixpkgs] @Mic92 merged pull request #41867 → hyperfine: 1.0.0 -> 1.1.0 → https://git.io/vhw3z
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhwxs
frigate_freedom has quit [Remote host closed the connection]
<FruitieX> s
<FruitieX> oops :>
<{^_^}> [nixpkgs] @Mic92 merged pull request #41837 → pythonPackages.pynisher: init at 0.4.2 → https://git.io/vhVLg
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhwx2
ericsagn1 has joined #nixos
winem_ has quit [Ping timeout: 265 seconds]
asymmetric has joined #nixos
<Mic92> Should be hydra still used as a binary cache in maintainer scripts? https://github.com/NixOS/nixpkgs/blob/master/nixos/maintainers/scripts/azure/create-azure.sh#L8
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @srhb closed pull request #41882 → nixos/tests/kubernetes: Fix kubernetes tests apiserver address → https://git.io/vhwbR
logzet has quit [Remote host closed the connection]
simukis has joined #nixos
simukis has quit [Read error: Connection reset by peer]
simukis has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41840 → gshogi: init at 0.5.1 → https://git.io/vhVsD
<{^_^}> [nixpkgs] @xeji pushed commit from @ciil to master « gshogi: init at 0.5.1 (#41840) »: https://git.io/vhwpd
alex`` has joined #nixos
fendor has joined #nixos
myshoe has quit [Ping timeout: 240 seconds]
myshoe has joined #nixos
<ikwildrpepper> Mic92: no, not needed anymore, as everything built in hydra.nixos.org is in cache.nixos.org
disasm has quit [Ping timeout: 264 seconds]
asymmetric has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #41883 → maintainers/create-azure.sh: remove hydra.nixos.org as binary cache → https://git.io/vhwj9
frigate_freedom has joined #nixos
<{^_^}> [nixpkgs] @johanot opened pull request #41884 → nixos/kubernetes: improvements → https://git.io/vhreu
frigate_freedom has quit [Quit: Leaving.]
frigate_freedom has joined #nixos
<LnL> Mic92: that doesn't even work anymore AFAIK
Guest21370 has joined #nixos
hyper_ch2 has joined #nixos
seafood has joined #nixos
fendor has quit [Ping timeout: 256 seconds]
joepie91 has quit [Excess Flood]
joepie91 has joined #nixos
joepie91 has joined #nixos
joepie91 has quit [Changing host]
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
MercurialAlchemi has quit [Ping timeout: 256 seconds]
fendor has joined #nixos
asymmetric has joined #nixos
oida has quit [Ping timeout: 250 seconds]
MercurialAlchemi has joined #nixos
frigate_freedom has quit [Quit: Leaving.]
<clever> Myrl-saki: pong
<{^_^}> [nix] @yorickvP opened pull request #2224 → Fix #2162: use getaddrinfo instead of curl to preload NSS → https://git.io/vhrfR
frigate_freedom has joined #nixos
nlytend has quit [Quit: disconnected.]
<clever> nlytend: if you are doing EFI, you must set boot.loader.grub.device = "nodev";
pie_ has joined #nixos
<Myrl-saki> clever: How about making a derivation that packs other derivation(coining this as god derivation), which packs multiple architectures of compilers in order to avoid the "cross-compile dependency issue."
<Myrl-saki> clever: Basically, an escape hatch which works in Nix.
<Myrl-saki> It's more complicated than necessary, but it's less hacky.
<clever> Myrl-saki: but you would need a bash that is capable of running on any arch, to run the script that picks a compiler
<Myrl-saki> I think there's one impurity, which is switching between which GCC to use.
<Myrl-saki> clever: Can't you package multiple architectures of bash along with the god derivaton?
<Myrl-saki> OTOH, I think I know what you're saying.
<clever> the entry point had to be known to the outside
<Myrl-saki> hmm
<Myrl-saki> clever: If I understand correctly, what you're saying is that the god derivation will have a machine-dependent bash as input, rendering it also machine-dependent?
thetet has joined #nixos
thetet has left #nixos [#nixos]
iyzsong has joined #nixos
init_6 has quit [Ping timeout: 240 seconds]
<clever> Myrl-saki: you could maybe cheat with a setup hook
<clever> Myrl-saki: those dont have a #!
<Myrl-saki> Ahh, I see now.
<Myrl-saki> Hmm
<Myrl-saki> clever: Do you think this will work, in theory? I doubt that this is worth the pain though.
seafood has quit [Quit: seafood]
<clever> it may work, but now your gcc is 4 times more costly to build
<Myrl-saki> Right, and 4 times more costly to store, which is not exactly good for SBCs either.
<Myrl-saki> clever: Oh yeah. I was having this thought. If you have a gcc in your /nix/store, is their a way to say "use the /nix/store/..." for GCC?
<Myrl-saki> Maybe ${/nix/store/...}?
<Myrl-saki> It's impure though, so I could see why this isn't implementedb if it's not.
<clever> changes to that path will still trigger a rebuild
<clever> so its not impure
<Myrl-saki> clever: It's impure in the sense that it can't be contained in a nix-build. You'd have to --import/--export for it.
<Myrl-saki> I think?
<clever> if you do that in a nix expression, and the path exists when its ran, then it will just use it
<clever> but the output will rely on the hash of the path as a string, so it changing the compiler out causes a rebuild
Neo-- has joined #nixos
<Myrl-saki> Oh okay.
<clever> Myrl-saki: as an example, do nix-instantiate '<nixpkgs>' -A hello
<clever> then run cat on the .drv it produced
<Myrl-saki> clever: What should I be checking?
<clever> and also run `nix show-derivation FOO` on that path
<clever> basically, the value of the out field, is based on a hash of everything else in that file
<Myrl-saki> Right.
<clever> now try that on your own nix file, and try changing things to see if you can slip something in without it appearing in the .drv
seafood has joined #nixos
__monty__ has joined #nixos
gmarmstrong has quit [Ping timeout: 276 seconds]
m0rphism has quit [Quit: WeeChat 1.9.1]
seafood has quit [Quit: seafood]
steell has joined #nixos
jensens_ has joined #nixos
init_6 has joined #nixos
fendor has quit [Ping timeout: 256 seconds]
<init_6> Hi all. Need some info about install root on lvm2 over luks with gpg2 encripted keyfile. It`s possible with nixos?
thetet has joined #nixos
<gchristensen> sounds tricky
<clever> lvm on luks is easy, so the gpg part is the only tricky area
abcrawf has quit [Remote host closed the connection]
<gchristensen> ah, yeah, thank you for clarifyfing clever
fendor has joined #nixos
<joepie91> gchristensen: hi, did you see my PMs?
abcrawf has joined #nixos
<{^_^}> [hydra] @edolstra merged pull request #556 → add some more statistics about runnable/running builds per arch/system features → https://git.io/vp1Nm
<{^_^}> [hydra] @edolstra pushed 3 commits to master: https://git.io/vhrLc
<init_6> clever: i find some configs with lvm on luks so no problem as i see
vaninwagen has quit [Ping timeout: 260 seconds]
lo_mlatu has joined #nixos
<lo_mlatu> hello everyone, I need some help!
<{^_^}> [nixpkgs] @volth opened pull request #41885 → nixos/unbound: add restart → https://git.io/vhrtm
<lo_mlatu> How can I modify a deep dependency of a derivation?
vaninwagen has joined #nixos
<steell> anyone have an example of a shell.nix that uses default.nix but extends it with some packages for development but not for building? (in my case, emacs and haskell-ide-engine)
spear2 has quit [Ping timeout: 276 seconds]
lo_mlatu has quit [Ping timeout: 260 seconds]
MP2E has quit [Remote host closed the connection]
<nh2[m]> dtz: hey, what is the latest state of statically linking Haskell programs with musl? I'm trying to figure out if it's already possible
Drakonis has joined #nixos
alex`` has quit [Ping timeout: 256 seconds]
lo_mlatu has joined #nixos
init_6 has quit [Ping timeout: 256 seconds]
Tobba has quit [Read error: Connection reset by peer]
Tobba has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41883 → maintainers/create-azure.sh: remove hydra.nixos.org as binary cache → https://git.io/vhwj9
<{^_^}> [nixpkgs] @xeji pushed commit from @Mic92 to master « maintainers/create-azure.sh: remove hydra.nixos.org as binary cache (#41883) »: https://git.io/vhrqS
jensens_ has quit [Ping timeout: 240 seconds]
gmarmstrong has joined #nixos
thetet has quit [Ping timeout: 264 seconds]
<gmarmstrong> nixos-version doesn't seem to output a git branch I can use for testing a module...
<srhb> gmarmstrong: It should give you a hash, though
init_6 has joined #nixos
<gmarmstrong> Oh! Cool, thanks. Just needed to use --hash.
<{^_^}> [nixpkgs] @xeji merged pull request #41885 → nixos/unbound: add restart → https://git.io/vhrtm
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « nixos/unbound: add restart (#41885) »: https://git.io/vhrmz
steell has quit [Ping timeout: 256 seconds]
fendor has quit [Ping timeout: 264 seconds]
<gchristensen> I love the implementation of nixos-version
Rusty1_ has joined #nixos
<tilpner> Huh
<tilpner> --hash|--revision)
<tilpner> echo "master"
oida has joined #nixos
alex`` has joined #nixos
ok2 has joined #nixos
acarrico has quit [Ping timeout: 248 seconds]
Neo--- has joined #nixos
rardiol1 has joined #nixos
<tpanum> Firefox with Adobe Flash won't build on the unstable channel :-( "error: cannot download flash_player_npapi_linux.x86_64.tar.gz from any mirror"
deni_ is now known as deni
thetet has joined #nixos
<tilpner> If you're trying to run a standalone thing, you could try running it outside firefox with flashplayer
jtojnar has quit [Remote host closed the connection]
fendor has joined #nixos
pavan00 has joined #nixos
steell has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/vhr3G
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.48 -> 4.14.49 »: https://git.io/vhr3c
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.16.14 -> 4.16.15 »: https://git.io/vhr34
<tpanum> tilpner: I believe the version just needs to be bumped to 30.0.XXX. I'll try to take a look at fixing it later.
kiloreux has joined #nixos
<kiloreux> How can i pass compiler flags to gcc when building my derivation ?
<clever> kiloreux: NIX_CFLAGS_COMPILE i believe
sbdchd has joined #nixos
<kiloreux> What if I want to remove already existing ones ?
asuryawanshi has quit [Ping timeout: 265 seconds]
<clever> kiloreux: what flags are you trying to remove?
<kiloreux> I'm basically trying to disable all warnings "-w".
jensens_ has joined #nixos
<kiloreux> Already tried it using hardeningDisable = [ "all" ];
<kiloreux> Didn't get me there :(
<hodapp> I love how Flash is hardly used at all at this point. I have only been able to think of 2-3 websites over the course of the last 2 years.
vaninwagen has quit [Ping timeout: 255 seconds]
frigate_freedom has quit [Quit: Leaving.]
sbdchd has quit []
MercurialAlchemi has quit [Ping timeout: 256 seconds]
d1rewolf__ has quit [Remote host closed the connection]
jperras has joined #nixos
rprije has quit [Ping timeout: 256 seconds]
thetet has left #nixos [#nixos]
<{^_^}> [nixpkgs] @xeji merged pull request #41864 → nixos/nat: optional networking.nat.externalInterface → https://git.io/vhwOs
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « nixos/nat: optional networking.nat.externalInterface (#41864) »: https://git.io/vhrsj
<{^_^}> [nixpkgs] @xeji merged pull request #41877 → aws-sam-cli: init at 0.3.0 → https://git.io/vhwKZ
<{^_^}> [nixpkgs] @xeji pushed commit from @andreabedini to master « aws-sam-cli: init at 0.3.0 (#41877) »: https://git.io/vhrGq
<{^_^}> [nix] @copumpkin merged pull request #2224 → Fix #2162: use getaddrinfo instead of curl to preload NSS → https://git.io/vhrfR
<{^_^}> [nix] @copumpkin pushed 2 commits to master: https://git.io/vhrGY
oltoAltn has quit [Quit: ZNC - https://znc.in]
<kiloreux> Can I have empty srcs in my nix derivation file ?
<kiloreux> if I want to just copy binaries from somewhere else.
<hodapp> copy them from where though?
<tilpner> kiloreux - Yes, IIRC disable unpackPhase
olto has joined #nixos
<clever> kiloreux: unpackPhase = ":"; or use runCommand
<kiloreux> Thank you clever , tilpner . That solved it <3
Sonarpulse has joined #nixos
lo_mlatu_ has joined #nixos
<lo_mlatu_> if there is a package `A` in nixpkgs depend on `B` and `B` depend on `C`, how can I do to bring a modified version on `C` in `A`'s scope?
pie_ has quit [Ping timeout: 264 seconds]
aminechikhaoui has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @gmarmstrong opened pull request #41887 → nixos/seahorse: require gnome3.dconf → https://git.io/vhrZl
alexteves_ has joined #nixos
Guest21370 has quit [Ping timeout: 240 seconds]
<hodapp> lo_mlatu_: depending on what you mean, checking out examples in nixpkgs/pkgs/top-level/all-packages.nix for how dependencies are customized might be helpful
<hodapp> are you dealing with specific packages here?
aminechikhaoui has joined #nixos
hotfuzz_ is now known as hotfuzz
jperras has quit [Quit: WeeChat 2.1]
jensens_ has quit [Ping timeout: 240 seconds]
zeme has quit [Ping timeout: 260 seconds]
jperras has joined #nixos
thetet has joined #nixos
gmarmstrong has quit [Read error: Connection reset by peer]
seanparsons has quit [Quit: ZNC 1.6.5 - http://znc.in]
logzet has joined #nixos
seanparsons has joined #nixos
jensens_ has joined #nixos
<lo_mlatu_> hodapp: I want to use `rtv` on macos, which depends on some python packages that underneath depend on pythonPackages.humanize, whose meta.platforms is set to linux. I want to change this attribute so it can be installed on macos. ( maybe it will fail, but at least I can have a try)
thetet has quit [Ping timeout: 248 seconds]
<kiloreux> How can I use buildEnv to install a nix expression with nix-env ?
<clever> lo_mlatu_: there is a config.nix flag that just ignores platforms entirely, the error should say what it is
<{^_^}> [nixpkgs] @primeos pushed to master « gns3Packages.{server,gui}{Stable,Preview}: 2.1.6 -> 2.1.7 »: https://git.io/vhrcN
<kiloreux> It seems it's exclusive to nix-build
<clever> kiloreux: for example?
alexteves__ has joined #nixos
alexteves_ has quit [Ping timeout: 276 seconds]
<lo_mlatu_> clever: yes I noticed it, but what if I want to modify other attrs?
<clever> lo_mlatu_: then youll need to create the proper override against python packages
alexteves__ has quit [Remote host closed the connection]
<kiloreux> I want to be able to install ffmpeg there.
<clever> kiloreux: nix-env -f stuff.nix -iA ffmpeg
Drakonis has quit [Read error: Connection reset by peer]
jensens_ has quit [Ping timeout: 248 seconds]
<kiloreux> That's what I tried to do. Getting collision error.
<kiloreux> clever, is there a way for me to move the two files away ?
<lo_mlatu_> clever: currently using this: packageOverrides = pkgs: { pythonPackages = pkgs.pythonPackages // { humanize = pkgs.pythonPackages.humanize.override { meta.platforms = pkgs.stdenv.lib.platforms.unix; }; }; };
<clever> kiloreux: you need to uninstall the old ffmpeg's in nix-env
<kiloreux> Like declare them up or something. So that running nix-env -fiA doesn't run them ?
<lo_mlatu_> clever: but still can't build `rtv`
<clever> lo_mlatu_: .override doesnt work for meta, you want .overrideAttrs
<clever> lo_mlatu_: and the // wont override python packages properly
<clever> kiloreux: if you run nix-env -q, does it list ffmpeg?
<asymmetric> what's the difference between `nix-shell -p` and `nix run`?
<kiloreux> It does yes and I just uninstalled it like you instructed.
<clever> asymmetric: nix-shell will download gcc and source setup scripts and do a lot of build-time prep stuff
<clever> asymmetric: nix run just puts things in PATH and nothing else
<clever> kiloreux: now try the nix-env -i again
<kiloreux> Works as expected :D. Thank you.
<kiloreux> Is there a way to have those files declared somwhere else and used there ?
<kiloreux> The ffmpeg files.
<kiloreux> So that running nix-env -iA doesn't install them all.
<{^_^}> [nixpkgs] @adisbladis closed pull request #35381 → go: Refactor to generic builder → https://git.io/vA2Vf
<asymmetric> clever: will nix-shell always download gcc? also when it's not needed?
<clever> kiloreux: use something like runCommand to create a custom derivation with just the files you want
<clever> asymmetric: depends on if you want to just run something or if you want to build something
pie_ has joined #nixos
<asymmetric> i typically use it when i want to run a one-off command that i don't wanna keep on my system
<clever> asymmetric: thats where nix run is better
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.3.0 -> 1.3.7 »: https://git.io/vhrWe
<asymmetric> awesome. is it new on 2.0?
<kiloreux> clever, not sure how to do that in this case :/ ? Do you have a sample ?
<clever> asymmetric: yeah
JasonGrossman has joined #nixos
<clever> kiloreux: foo = runCommand "name" {} ''
<clever> mkdir -p $out/bin
<clever> then just cp files to $out/bin and '';
ericsagn1 has quit [Ping timeout: 264 seconds]
<lo_mlatu_> clever: sorry I can't figure it out, after override the `humanize` package, how can I add it to pythonPackages?
<clever> lo_mlatu_: *looks*
fendor has quit [Ping timeout: 264 seconds]
fendor has joined #nixos
<clever> lo_mlatu_: pythonPackages = pkgs.pythonPackages.packageOverrides { packageOverrides = self: super: { humanize = super.humanize.overrideAttrs { ... };
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 3.2.0.16 -> 3.2.0.17 »: https://git.io/vhrll
mizu_no_oto has joined #nixos
leotaku has joined #nixos
<leotaku> How do I "access" the folder my current share files are stored in? Respecting my user env as well as nix-shell.
<leotaku> Or rather, how do I access the folder all of those files are symlinked in?
olto has quit [Read error: Connection reset by peer]
odeinhart has joined #nixos
odeinhart has quit [Client Quit]
olto has joined #nixos
<lo_mlatu_> clever: thanks :) made it
ericsagn1 has joined #nixos
d1rewolf_ has joined #nixos
sorixelle has quit [Ping timeout: 245 seconds]
<d1rewolf_> hi guys. Is it more common for someone to use nix on top of something like Ubuntu, or to use it on top of NixOS? I've seen mention of a few folks using it on top of Ubuntu, and I'm very curious what the expectations are in terms of support
<ryantm> Can someone check if `nix-prefetch-url -A altcoins.bitcoin-xt` hangs indefinitely for them too?
<ryantm> d1rewolf_: Nix/nixpkgs is supported on top of Linux, Darwin, and there is a planned ARM stable release
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41845 → borgbackup: 1.1.5 -> 1.1.6 → https://git.io/vhV2o
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhr4z
<d1rewolf_> ryantm, but I'm curious...is the experience for a newb (to nix, not to linux) better by going with NixOS or by going with something like nix on top of Ubuntu (I'm currently running Ubuntu)?
<ryantm> d1rewolf_: What are you trying to do?
<hodapp> if you can afford the couple days of lower productivity, you'll learn so much quicker just diving in with NixOS
<d1rewolf_> ryantm, get into Nix and NixOS primarily. I love the idea of being able to declaratively recreate my system
<d1rewolf_> hodapp, ok, I can stomach that. thx
<ryantm> d1rewolf_: If you want to explore declaritvely recreating your system, you should hop onto NixOS. Nix/Nixpkgs on Ubuntu will let you use Nix as a build tool, and nixpkgs as an alternative to apt/dpkg
<tazjin> d1rewolf_: if you want to declaratively control the whole sytem, you'll want NixOS
<ryantm> d1rewolf_: Nix/nixpkgs on Ubuntu won't let you use the NixOS/modules to declaratively configure services
reinzelmann has quit [Quit: Leaving]
chrisvest has joined #nixos
dbmikus_ has joined #nixos
lo_mlatu_ has quit [Ping timeout: 260 seconds]
igo95862 has joined #nixos
<leotaku> On nixos, how can I list all share file that are currently linked into my environment?
dmc is now known as polyzen
<d1rewolf_> ryantm, tazjin : ok, great. thanks very much
orivej has joined #nixos
<srhb> leotaku: find ~/.nix-profile/ (whatever parameters you care about)
<srhb> leotaku: Include /run/current-system if you care about system too.
silver has joined #nixos
ihar has joined #nixos
polyzen is now known as dc
<{^_^}> [nixpkgs] @johanot opened pull request #41888 → kubernetes: 1.10.3 -> 1.10.4 → https://git.io/vhrRj
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
<leotaku> srhb: What if I also want nix-shell stuff?
<srhb> leotaku: That's more difficult, you have to essentially inspect environment variables for that.
erasmas has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b97e353985d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nixpkgs] @spacefrogg opened pull request #41889 → openafs: 1.6.22.3 -> 1.8.0 → https://git.io/vhrz8
__monty__ has quit [Quit: leaving]
igo95862 has quit [Quit: igo95862]
camsbury has quit [Ping timeout: 256 seconds]
sgraf has quit [Quit: Leaving]
tzemanovic has quit [Remote host closed the connection]
camsbury has joined #nixos
mizu_no_oto has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
gmarmstrong has joined #nixos
oknice has joined #nixos
matthewbauer has joined #nixos
oida has quit [Ping timeout: 250 seconds]
<oknice> Hi! May I ask about packages? Software wants to create new dirs, and not allowed to do that. What nix expect from software and it's path in install phase?
fendor has quit [Ping timeout: 268 seconds]
<maurer> During install phase, there is a directory called $out that is writable
<maurer> Put all your stuff there, make new directories if you want
<maurer> e.g. frequently you'll have $out/bin $out/share, $out/lib etc
<maurer> Basically, install to $out, not to /
<oknice> ok, thanks! I got it :)
xy2_ has joined #nixos
asuryawanshi has joined #nixos
camsbury has quit [Remote host closed the connection]
johanot has quit [Quit: Leaving.]
iyzsong has quit [Ping timeout: 248 seconds]
endformationage has joined #nixos
Mr_Keyser_Soze has joined #nixos
tzemanovic has joined #nixos
chrisvest has quit [Quit: Mutter: www.mutterirc.com]
tzemanovic has quit [Ping timeout: 248 seconds]
dbmikus__ has joined #nixos
Akii has quit [Quit: ZNC 1.6.5 - http://znc.in]
oknice has quit [Quit: Leaving]
gmarmstrong has quit [Quit: Quit]
Akii has joined #nixos
Akii has quit [Client Quit]
dbmikus_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nix-mode] @matthewbauer pushed 6 commits to master: https://git.io/vhrXE
<{^_^}> [nix-mode] @matthewbauer merged pull request #42 → better `nix-indent-line` → https://git.io/vh0w3
<infinisil> :O ^^^^
asuryawanshi has quit [Remote host closed the connection]
<catern> is there a way to inline a patch into a default.nix file?
<{^_^}> [nix] @edolstra pushed 6 commits to master: https://git.io/vhrXx
rardiol1 has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
lopsided98 has quit [Quit: Disconnected]
lopsided98 has joined #nixos
<infinisil> catern: With ''?
<benley> anyone remember how to build the page that goes at nixos.org/nixos/options.html such that I can make sure the docbook markup I'm writing in a module is correct?
<catern> oh yeah
<hodapp> infinisil: whoa. is that fixing the horrid indenting behavior in Emacs nix-mode?
Mr_Keyser_Soze has quit [Ping timeout: 245 seconds]
<benley> I found `nix-build nixos/release.nix -A options`, which spits out options.json, but I'm not sure what to do with that
<infinisil> hodapp: Not sure if you're having the same problems with indentation as me, but I sure hope so!
<hodapp> infinisil: likely yes, in that nothing ever seems to indent right and it's a bother to even hit Enter on most lines
__Sander__ has quit [Quit: Konversation terminated!]
hoshineko has quit [Ping timeout: 255 seconds]
<infinisil> benley: nix-build nixos/release.nix -A manual I think
<benley> does that include options.html?
Akii has joined #nixos
* benley finds out
<benley> oh lol, it also fails to build.
<benley> possibly because of my own changes, which would actually be a good sign
<infinisil> hodapp: Hmm maybe, my problems is then I do "let\n\t x=foo\n <return>", and the return doesn't put a \t at the beginning, so i have to reindent it manually
<infinisil> benley: Yeah i think manual includes everything
<matthewbauer> yeah it's actually: nix-build nixos/release.nix -A options
<matthewbauer> that's the options.json which options.html looks in
<benley> wtf, it fails complaining about aarch64-linux? https://gist.github.com/benley/343b3d85932b4ed38bde9f93d0e36072
random_guy has joined #nixos
<woffs> benley, --arg supportedSystems '[ "x86_64-linux" ]'
Ariakenom has quit [Ping timeout: 265 seconds]
<benley> got it, thank you. It would have taken me forever to figure that out :-P
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<matthewbauer> yeah we need better handling of that - it should be able to detect what systems you have available
<benley> it would also be super nice if I could `nix-build -A nixos.manual` in the top of the nixpkgs repo and have it work
<asymmetric> what's an example of an expression in nixpkgs that only copies a shell script?
<asymmetric> i'm trying to package https://github.com/yishilin14/asc-key-to-qr-code-gif
matthewbauer has quit [Remote host closed the connection]
<benley> right now that produces a confusing error message: "error: the expression selected by the selection path 'nixos.manual' should be a set but is a function"
<asymmetric> and i don't know what the install phase should be
<benley> asymmetric: installPhase = "cp path/to/shellscript.sh $out/bin/shellscript.sh";
<benley> or something along those lines
matthewbauer has joined #nixos
knupfer has joined #nixos
Singularity[m] has quit [Remote host closed the connection]
Christian[m]4 has quit [Remote host closed the connection]
NickHu has quit [Remote host closed the connection]
desttinghim[m] has quit [Remote host closed the connection]
SamuelEvans-Powe has quit [Remote host closed the connection]
Ralith has quit [Remote host closed the connection]
dash has quit [Read error: Connection reset by peer]
paperdigits[m] has quit [Write error: Connection reset by peer]
EuAndreh[m] has quit [Remote host closed the connection]
r3mfKm[m] has quit [Remote host closed the connection]
oknf[m] has quit [Remote host closed the connection]
bkchr[m] has quit [Remote host closed the connection]
illegalprime[m] has quit [Remote host closed the connection]
pierrebeaucamp[m has quit [Read error: Connection reset by peer]
xnaveira[m] has quit [Read error: Connection reset by peer]
mcatis[m] has quit [Read error: Connection reset by peer]
Pneumaticat has quit [Read error: Connection reset by peer]
edef[m] has quit [Read error: Connection reset by peer]
Minijackson[m] has quit [Remote host closed the connection]
AdamSlack[m] has quit [Remote host closed the connection]
tokudan[m] has quit [Remote host closed the connection]
MaJoe[m] has quit [Remote host closed the connection]
bugabinga[m] has quit [Remote host closed the connection]
dadadus[m] has quit [Remote host closed the connection]
zurk[m] has quit [Remote host closed the connection]
demyan[m] has quit [Remote host closed the connection]
patrl[m] has quit [Remote host closed the connection]
crystalgamma[m] has quit [Remote host closed the connection]
apurvapavaskar[m has quit [Remote host closed the connection]
fgaz[m] has quit [Remote host closed the connection]
vorot93[m] has quit [Read error: Connection reset by peer]
ArdaXi1 has quit [Read error: Connection reset by peer]
jameshjacksonjr[ has quit [Read error: Connection reset by peer]
ConorCurry[m] has quit [Read error: Connection reset by peer]
primeos[m] has quit [Remote host closed the connection]
telent[m] has quit [Remote host closed the connection]
WilliamHamilton has quit [Write error: Connection reset by peer]
Khorne[m] has quit [Read error: Connection reset by peer]
russiancow[m] has quit [Read error: Connection reset by peer]
moredhel_[m] has quit [Read error: Connection reset by peer]
yochai[m] has quit [Remote host closed the connection]
dkellner[m] has quit [Remote host closed the connection]
EB[m] has quit [Read error: Connection reset by peer]
TimePath has quit [Write error: Connection reset by peer]
aiyubkhan[m] has quit [Remote host closed the connection]
moredhel has quit [Remote host closed the connection]
trikl[m] has quit [Write error: Connection reset by peer]
slabity[m] has quit [Remote host closed the connection]
omawnakw[m] has quit [Remote host closed the connection]
jack[m] has quit [Remote host closed the connection]
indefini has quit [Read error: Connection reset by peer]
bluewolfy[m] has quit [Remote host closed the connection]
sorbet has quit [Read error: Connection reset by peer]
bhipple[m] has quit [Remote host closed the connection]
jerengie[m] has quit [Read error: Connection reset by peer]
adisbladis[m] has quit [Remote host closed the connection]
jgl[m] has quit [Read error: Connection reset by peer]
comphez[m] has quit [Read error: Connection reset by peer]
rszibele[m] has quit [Read error: Connection reset by peer]
equalunique[m] has quit [Read error: Connection reset by peer]
BurNiinTRee[m] has quit [Read error: Connection reset by peer]
htafdwes[m] has quit [Write error: Connection reset by peer]
gudea[m] has quit [Read error: Connection reset by peer]
Adev[m] has quit [Read error: Connection reset by peer]
nelag[m] has quit [Read error: Connection reset by peer]
card[m] has quit [Remote host closed the connection]
nickdshsadhkas[m has quit [Remote host closed the connection]
Obscurity[m] has quit [Remote host closed the connection]
pauricthelodger[ has quit [Remote host closed the connection]
semyon[m] has quit [Remote host closed the connection]
hendrik[m]1 has quit [Remote host closed the connection]
sudoreboot[m] has quit [Remote host closed the connection]
sphalerit has quit [Remote host closed the connection]
M-Dan has quit [Read error: Connection reset by peer]
aaronc[m] has quit [Read error: Connection reset by peer]
devr[m] has quit [Write error: Connection reset by peer]
M-manveru has quit [Write error: Connection reset by peer]
dtz has quit [Remote host closed the connection]
PeterRomfeld[m] has quit [Read error: Connection reset by peer]
aramiscd[m] has quit [Read error: Connection reset by peer]
atopuzov[m] has quit [Read error: Connection reset by peer]
freeman42x has quit [Read error: Connection reset by peer]
hw9891[m] has quit [Read error: Connection reset by peer]
gh0st[m] has quit [Remote host closed the connection]
rycee has quit [Remote host closed the connection]
codyopel has quit [Remote host closed the connection]
nh2[m] has quit [Read error: Connection reset by peer]
kitten[m] has quit [Remote host closed the connection]
taohansen has quit [Read error: Connection reset by peer]
Drakonis[m] has quit [Read error: Connection reset by peer]
zdisk[m] has quit [Read error: Connection reset by peer]
trubii[m] has quit [Remote host closed the connection]
jesper has quit [Write error: Connection reset by peer]
chominist[m] has quit [Write error: Connection reset by peer]
dywedir[m] has quit [Remote host closed the connection]
nocent has quit [Remote host closed the connection]
M-fishy has quit [Write error: Connection reset by peer]
M-dpetranek has quit [Write error: Connection reset by peer]
musicmatze[m] has quit [Write error: Connection reset by peer]
johnazoidberg has quit [Write error: Connection reset by peer]
davidak[m] has quit [Write error: Connection reset by peer]
olejorgenb[m] has quit [Write error: Connection reset by peer]
stekke[m] has quit [Remote host closed the connection]
necronian has quit [Write error: Connection reset by peer]
pstn has quit [Remote host closed the connection]
YegorTimoshenko[ has quit [Write error: Connection reset by peer]
vskilet[m] has quit [Read error: Connection reset by peer]
Phil[m]2 has quit [Read error: Connection reset by peer]
mith[m] has quit [Read error: Connection reset by peer]
mirlur[m] has quit [Write error: Connection reset by peer]
tet[m] has quit [Remote host closed the connection]
aniketd[m] has quit [Read error: Connection reset by peer]
felipeac[m] has quit [Read error: Connection reset by peer]
Orbstheorem[m] has quit [Remote host closed the connection]
techtangents[m] has quit [Remote host closed the connection]
herzmeister[m] has quit [Remote host closed the connection]
hl has quit [Read error: Connection reset by peer]
tfc[m] has quit [Read error: Connection reset by peer]
petersjt014[m] has quit [Read error: Connection reset by peer]
chatnowvvv[m] has quit [Remote host closed the connection]
kainospur[m] has quit [Remote host closed the connection]
M-ms has quit [Remote host closed the connection]
AlanPearce[m] has quit [Read error: Connection reset by peer]
joh[m] has quit [Read error: Connection reset by peer]
regnat[m] has quit [Read error: Connection reset by peer]
tehnix[m] has quit [Remote host closed the connection]
malteof[m] has quit [Remote host closed the connection]
rnkch[m] has quit [Read error: Connection reset by peer]
nmikhailov[m]1 has quit [Read error: Connection reset by peer]
zaphar_ps[m] has quit [Write error: Connection reset by peer]
grahamc has quit [Remote host closed the connection]
colmeka[m] has quit [Remote host closed the connection]
Bugworm[m] has quit [Remote host closed the connection]
rnhmjoj[m] has quit [Remote host closed the connection]
have-quick[m] has quit [Remote host closed the connection]
abbafei[m] has quit [Remote host closed the connection]
bionicmac[m] has quit [Remote host closed the connection]
copumpkin has quit [Remote host closed the connection]
spacekitteh[m] has quit [Remote host closed the connection]
bachp has quit [Read error: Connection reset by peer]
lycium[m] has quit [Read error: Connection reset by peer]
bendlas has quit [Remote host closed the connection]
wilornel has quit [Remote host closed the connection]
jluttine[m] has quit [Read error: Connection reset by peer]
Dezgeg[m] has quit [Remote host closed the connection]
midchildan[m] has quit [Remote host closed the connection]
hedning[m] has quit [Read error: Connection reset by peer]
CoopDot has quit [Read error: Connection reset by peer]
Hook[m]1 has quit [Read error: Connection reset by peer]
nmikhailov[m] has quit [Read error: Connection reset by peer]
mgttlinger[m] has quit [Read error: Connection reset by peer]
florianjacob has quit [Read error: Connection reset by peer]
bobvanderlinden_ has quit [Remote host closed the connection]
rihardsk[m] has quit [Remote host closed the connection]
cornu[m] has quit [Remote host closed the connection]
ProofTechnique[m has quit [Read error: Connection reset by peer]
Elephant454[m] has quit [Remote host closed the connection]
wervenyt[m] has quit [Remote host closed the connection]
happyente[m] has quit [Remote host closed the connection]
bitmapper[m] has quit [Remote host closed the connection]
aspiwack[m] has quit [Remote host closed the connection]
unlmtd has quit [Read error: Connection reset by peer]
Kallegro[m] has quit [Remote host closed the connection]
AntonLatukha[m] has quit [Remote host closed the connection]
spawnthink[m] has quit [Read error: Connection reset by peer]
davidar has quit [Read error: Connection reset by peer]
fearlessKim[m] has quit [Read error: Connection reset by peer]
willghatch[m] has quit [Remote host closed the connection]
bdimcheff has quit [Remote host closed the connection]
Rick[29SMPittsbu has quit [Read error: Connection reset by peer]
GuillaumeBuisson has quit [Read error: Connection reset by peer]
leons1 has quit [Read error: Connection reset by peer]
octalsrc[m] has quit [Remote host closed the connection]
ipj[m] has quit [Remote host closed the connection]
bbigras-- has quit [Remote host closed the connection]
v0id72[m] has quit [Remote host closed the connection]
das-g[m] has quit [Remote host closed the connection]
peel[m] has quit [Remote host closed the connection]
lordfluffywobble has quit [Remote host closed the connection]
timokau[m] has quit [Remote host closed the connection]
danbst[m] has quit [Remote host closed the connection]
Albtrz[m] has quit [Remote host closed the connection]
ayyjayess[m] has quit [Read error: Connection reset by peer]
mtncoder[m] has quit [Remote host closed the connection]
tosh[m] has quit [Remote host closed the connection]
peterhoeg has quit [Remote host closed the connection]
sargon[m] has quit [Remote host closed the connection]
smrtak[m] has quit [Remote host closed the connection]
YuFanLovezYou[m] has quit [Read error: Connection reset by peer]
mudri[m] has quit [Read error: Connection reset by peer]
goibhniu[m] has quit [Read error: Connection reset by peer]
jmorriss[m] has quit [Read error: Connection reset by peer]
Olinkl[m] has quit [Read error: Connection reset by peer]
greska[m] has quit [Remote host closed the connection]
icetan has quit [Remote host closed the connection]
Wysteriary[m] has quit [Read error: Connection reset by peer]
magnap has quit [Remote host closed the connection]
thra11[m] has quit [Remote host closed the connection]
darkestmeson has quit [Remote host closed the connection]
attero has quit [Read error: Connection reset by peer]
asp_ has quit [Write error: Connection reset by peer]
sqzlh has quit [Read error: Connection reset by peer]
puffnfresh has quit [Read error: Connection reset by peer]
wzy8L-B2[m] has quit [Read error: Connection reset by peer]
DIzFer[m] has quit [Read error: Connection reset by peer]
admin[m]4 has quit [Remote host closed the connection]
ngerstle[m] has quit [Remote host closed the connection]
fighterhero[m] has quit [Remote host closed the connection]
uvnikita[m] has quit [Remote host closed the connection]
DenisLehmann[m] has quit [Remote host closed the connection]
coorey[m] has quit [Write error: Connection reset by peer]
don_quijote[m] has quit [Write error: Broken pipe]
Naughtmare[m] has quit [Write error: Connection reset by peer]
timclassic has quit [Write error: Broken pipe]
thefloweringash[ has quit [Remote host closed the connection]
darkmeson has quit [Remote host closed the connection]
offlinehacker[m] has quit [Write error: Connection reset by peer]
bennofs[m] has quit [Write error: Broken pipe]
nyanloutre[m] has quit [Write error: Connection reset by peer]
doubletwin[m] has quit [Write error: Broken pipe]
wak-work has quit [Read error: Connection reset by peer]
reactormonk[m] has quit [Write error: Connection reset by peer]
tamwile[m] has quit [Max SendQ exceeded]
amiloradovsky[m] has quit [Read error: Connection reset by peer]
panther420[m] has quit [Write error: Connection reset by peer]
<asymmetric> thx
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
hhes has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
Akii has quit [Ping timeout: 260 seconds]
Biappi has quit [Ping timeout: 260 seconds]
Akii has joined #nixos
Biappi has joined #nixos
fendor has joined #nixos
<mpickering> does anyone use jupyter with nix? is this a recommended thing to do?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<maurer> I've used the ihaskell service before (which is jupyter with a haskell kernel)
FRidh has joined #nixos
<benley> arg docbook is so confusing to me
YegorTimoshenko[ has joined #nixos
sigmundv has quit [Ping timeout: 276 seconds]
chrisvest has joined #nixos
chrisvest has quit [Client Quit]
<{^_^}> [nixpkgs] @FRidh merged pull request #41839 → pythonPackages.deap: init at 1.2.2 → https://git.io/vhVmO
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vhrQs
<catern> hmm, what's the best way to disable a specific Python test in a NIx package if they're using unittest
lo_mlatu has quit [Quit: Connection closed for inactivity]
pavan00 has quit [Quit: WeeChat 2.0.1]
astrofog has joined #nixos
hoshineko has joined #nixos
<FRidh> catern: substituteInPlace tests_file.py --replace test_foo dont_foo
<FRidh> or you try to insert @unittest.skip
<benley> lol, I like the dont_foo method
random_guy has quit [Quit: Leaving]
kiloreux has quit [Quit: Leaving]
astrofog has quit [Quit: Quite]
thetet has joined #nixos
comphez[m] has joined #nixos
rihards has joined #nixos
<catern> yeah, I just made a patch that inserts unittest.skip
aarvar has joined #nixos
<catern> I think that's nicer
thetet has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @spacefrogg opened pull request #41890 → ngspice: Fix regression due to missing X libs → https://git.io/vhrdB
raynold has joined #nixos
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @spacefrogg opened pull request #41891 → xcircuit: init at 3.9.73 → https://git.io/vhrdj
<{^_^}> [nixpkgs] @catern opened pull request #41892 → add pykerberos, requests-kerberos, exchangelib → https://git.io/vhrFZ
<{^_^}> [nixpkgs] @asymmetric opened pull request #41893 → asc-key-to-qr-code-gif: init at e5d517b9 → https://git.io/vhrFa
<{^_^}> [nixpkgs] @FRidh pushed 273 commits to python-unstable: https://git.io/vhrbv
<{^_^}> [nixpkgs] @FRidh opened pull request #41894 → Python package set: major updates → https://git.io/vhrbL
<{^_^}> [nixpkgs] @FRidh closed pull request #41413 → Update python-dateutil 2.6.1 -> 2.7.3 → https://git.io/vhlk6
random_guy has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #36434 → pythonPackages.pkgconfig: 1.1.0 -> 1.3.1 → https://git.io/vAbwb
init_6 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @nicknovitski opened pull request #41895 → yarn: 1.7.0 -> 1.8.0 → https://git.io/vhrbw
<random_guy> does anyone know whether systemd.user.services.<name>.requires can contain system targets?
<random_guy> when I put some target there (present at /etc/systemd/system) and try to start the user service, systemd tells me that the system target is not found
<{^_^}> [nixpkgs] @xeji merged pull request #41684 → libupnp: 1.6.21 -> 1.8.3 → https://git.io/vhgJR
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libupnp: 1.6.21 -> 1.8.3 (#41684) »: https://git.io/vhrbd
asymmetric has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 53 commits to python-unstable: https://git.io/vhrNz
thetet has joined #nixos
amiloradovsky[m] has joined #nixos
unlmtd has joined #nixos
cornu[m] has joined #nixos
happyente[m] has joined #nixos
M-dpetranek has joined #nixos
Olinkl[m] has joined #nixos
ConorCurry[m] has joined #nixos
mirlur[m] has joined #nixos
atopuzov[m] has joined #nixos
kitten[m] has joined #nixos
GuillaumeBuisson has joined #nixos
ProofTechnique[m has joined #nixos
bennofs[m] has joined #nixos
SamuelEvans-Powe has joined #nixos
telent[m] has joined #nixos
hw9891[m] has joined #nixos
rnhmjoj[m] has joined #nixos
AlanPearce[m] has joined #nixos
indefini has joined #nixos
leons1 has joined #nixos
demyan[m] has joined #nixos
tfc[m] has joined #nixos
moredhel has joined #nixos
tehnix[m] has joined #nixos
bachp has joined #nixos
WilliamHamilton has joined #nixos
lycium[m] has joined #nixos
primeos[m] has joined #nixos
puffnfresh has joined #nixos
aspiwack[m] has joined #nixos
davidar has joined #nixos
BurNiinTRee[m] has joined #nixos
hendrik[m]1 has joined #nixos
mith[m] has joined #nixos
willghatch[m] has joined #nixos
rihardsk[m] has joined #nixos
timclassic has joined #nixos
aniketd[m] has joined #nixos
Naughtmare[m] has joined #nixos
wzy8L-B2[m] has joined #nixos
wervenyt[m] has joined #nixos
adisbladis[m] has joined #nixos
Kallegro[m] has joined #nixos
wak-work has joined #nixos
peel[m] has joined #nixos
nmikhailov[m] has joined #nixos
ArdaXi1 has joined #nixos
tamwile[m] has joined #nixos
bdimcheff has joined #nixos
xnaveira[m] has joined #nixos
sudoreboot[m] has joined #nixos
nh2[m] has joined #nixos
octalsrc[m] has joined #nixos
rycee has joined #nixos
mudri[m] has joined #nixos
timokau[m] has joined #nixos
desttinghim[m] has joined #nixos
thra11[m] has joined #nixos
ipj[m] has joined #nixos
tet[m] has joined #nixos
techtangents[m] has joined #nixos
olejorgenb[m] has joined #nixos
jerengie[m] has joined #nixos
sorbet has joined #nixos
jesper has joined #nixos
wilornel has joined #nixos
thefloweringash[ has joined #nixos
copumpkin has joined #nixos
zaphar_ps[m] has joined #nixos
das-g[m] has joined #nixos
Bugworm[m] has joined #nixos
ayyjayess[m] has joined #nixos
CoopDot has joined #nixos
pauricthelodger[ has joined #nixos
vorot93[m] has joined #nixos
bitmapper[m] has joined #nixos
reactormonk[m] has joined #nixos
M-manveru has joined #nixos
davidak[m] has joined #nixos
herzmeister[m] has joined #nixos
chatnowvvv[m] has joined #nixos
omawnakw[m] has joined #nixos
YuFanLovezYou[m] has joined #nixos
bobvanderlinden_ has joined #nixos
semyon[m] has joined #nixos
colmeka[m] has joined #nixos
darkestmeson has joined #nixos
have-quick[m] has joined #nixos
spacekitteh[m] has joined #nixos
jgl[m] has joined #nixos
florianjacob has joined #nixos
magnap has joined #nixos
necronian has joined #nixos
htafdwes[m] has joined #nixos
abbafei[m] has joined #nixos
sargon[m] has joined #nixos
joh[m] has joined #nixos
aiyubkhan[m] has joined #nixos
hl has joined #nixos
fearlessKim[m] has joined #nixos
Orbstheorem[m] has joined #nixos
nmikhailov[m]1 has joined #nixos
rszibele[m] has joined #nixos
uvnikita[m] has joined #nixos
Wysteriary[m] has joined #nixos
don_quijote[m] has joined #nixos
spawnthink[m] has joined #nixos
edef[m] has joined #nixos
offlinehacker[m] has joined #nixos
M-ms has joined #nixos
icetan has joined #nixos
nocent has joined #nixos
patrl[m] has joined #nixos
apurvapavaskar[m has joined #nixos
ngerstle[m] has joined #nixos
NickHu has joined #nixos
Obscurity[m] has joined #nixos
Phil[m]2 has joined #nixos
yochai[m] has joined #nixos
trikl[m] has joined #nixos
Elephant454[m] has joined #nixos
nyanloutre[m] has joined #nixos
freeman42x has joined #nixos
jameshjacksonjr[ has joined #nixos
bkchr[m] has joined #nixos
pstn has joined #nixos
Rick[29SMPittsbu has joined #nixos
Dezgeg[m] has joined #nixos
TimePath has joined #nixos
oknf[m] has joined #nixos
dtz has joined #nixos
coorey[m] has joined #nixos
bhipple[m] has joined #nixos
codyopel has joined #nixos
trubii[m] has joined #nixos
nickdshsadhkas[m has joined #nixos
chominist[m] has joined #nixos
tokudan[m] has joined #nixos
midchildan[m] has joined #nixos
tosh[m] has joined #nixos
goibhniu[m] has joined #nixos
Minijackson[m] has joined #nixos
Pneumaticat has joined #nixos
MaJoe[m] has joined #nixos
dkellner[m] has joined #nixos
AdamSlack[m] has joined #nixos
slabity[m] has joined #nixos
fighterhero[m] has joined #nixos
Christian[m]4 has joined #nixos
M-Dan has joined #nixos
doubletwin[m] has joined #nixos
crystalgamma[m] has joined #nixos
aramiscd[m] has joined #nixos
equalunique[m] has joined #nixos
paperdigits[m] has joined #nixos
sqzlh has joined #nixos
AntonLatukha[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
vskilet[m] has joined #nixos
Singularity[m] has joined #nixos
bionicmac[m] has joined #nixos
bendlas has joined #nixos
regnat[m] has joined #nixos
jluttine[m] has joined #nixos
jmorriss[m] has joined #nixos
Drakonis[m] has joined #nixos
gh0st[m] has joined #nixos
Hook[m]1 has joined #nixos
illegalprime[m] has joined #nixos
malteof[m] has joined #nixos
nelag[m] has joined #nixos
mtncoder[m] has joined #nixos
taohansen has joined #nixos
johnazoidberg has joined #nixos
asp_ has joined #nixos
Ralith has joined #nixos
petersjt014[m] has joined #nixos
mgttlinger[m] has joined #nixos
DIzFer[m] has joined #nixos
kainospur[m] has joined #nixos
sphalerit has joined #nixos
PeterRomfeld[m] has joined #nixos
mcatis[m] has joined #nixos
bugabinga[m] has joined #nixos
devr[m] has joined #nixos
hedning[m] has joined #nixos
moredhel_[m] has joined #nixos
greska[m] has joined #nixos
musicmatze[m] has joined #nixos
fgaz[m] has joined #nixos
EB[m] has joined #nixos
zurk[m] has joined #nixos
felipeac[m] has joined #nixos
EuAndreh[m] has joined #nixos
rnkch[m] has joined #nixos
dywedir[m] has joined #nixos
darkmeson has joined #nixos
dash has joined #nixos
bbigras-- has joined #nixos
smrtak[m] has joined #nixos
r3mfKm[m] has joined #nixos
attero has joined #nixos
peterhoeg has joined #nixos
Khorne[m] has joined #nixos
danbst[m] has joined #nixos
aaronc[m] has joined #nixos
stekke[m] has joined #nixos
grahamc has joined #nixos
M-fishy has joined #nixos
bluewolfy[m] has joined #nixos
lordfluffywobble has joined #nixos
gudea[m] has joined #nixos
Albtrz[m] has joined #nixos
panther420[m] has joined #nixos
Adev[m] has joined #nixos
zdisk[m] has joined #nixos
dadadus[m] has joined #nixos
DenisLehmann[m] has joined #nixos
jack[m] has joined #nixos
card[m] has joined #nixos
admin[m]4 has joined #nixos
v0id72[m] has joined #nixos
russiancow[m] has joined #nixos
<abcrawf> random_guy: I don't believe so, since it's two different invocations of systemd.
<infinisil> 2 different invocations? How does that work?
<random_guy> abcrawf: ah, ok, makes sense
<infinisil> Ohh
<infinisil> I overlooked the 'user' in the option
<random_guy> so, how could I check for network availability?
redfish64 has quit [Ping timeout: 256 seconds]
<infinisil> network.target doesn't work?
<random_guy> I understand that requiring network-online.target, if I were using the system instance
<random_guy> I don't think it's available as a user target?
<infinisil> It does list it when I run `systemctl --user --all`
<infinisil> (But network-online isn't)
<random_guy> ah, I see it there
szicari has joined #nixos
<random_guy> but when I try to start the service with systemctl --user start mbsync.service, I get Failed to start mbsync.service: Unit network-online.target not found.
<infinisil> Well network-online is not available as said
<random_guy> uhm
<abcrawf> I generally avoid network-online, since it's really just a hack for programs that don't know how to retry.
<random_guy> network.service doesn't work, either
<infinisil> network.target
<random_guy> sorry
<random_guy> yep
<random_guy> target
<random_guy> ah, I see
<infinisil> But yeah as abcrawf said, network[-online].target really doesn't guarantee much
<infinisil> But it's better than nothing I guess
<random_guy> there must be a problem, cause systemctl --user --all lists both network.target and network-online.target as "not-found inactive dead"
<random_guy> though I'm online, obviously :-)
<abcrawf> Did you add those? I don't see those targets on my system.
<abcrawf> (But they do exist for PID 1 systemd)
Neo-- has quit [Ping timeout: 256 seconds]
<infinisil> Oh, yeah I didn't even notice, network.target is also not-found, inactive, dead for me (but network-online.target doesn't exist). Are you on NixOS?
<random_guy> yes, I'm on NixOS 18.03
Neo--- has quit [Ping timeout: 276 seconds]
<random_guy> I didn't add them (at least knowingly)
<random_guy> I just required them in a user service
<abcrawf> Hmmm, I'm not really sure how to do that. Sorry. I don't use the user systemd very often.
<random_guy> but /etc/systemd/system/network.target exists
Ariakenom has joined #nixos
<abcrawf> Right, but the user systemd isn't watching that directory.
Yaniel has quit [Max SendQ exceeded]
<random_guy> ah, ah
mizu_no_oto has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python.pkgs.pytest-asyncio: minor improvements »: https://git.io/vhrxu
<{^_^}> [nixpkgs] @andir merged pull request #41815 → dwm-status: add xsetroot and alsaUtils as runtime deps → https://git.io/vha41
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/vhrxg
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<abcrawf> I _beleive_ user systemd implies network.target, so as long as your service knows how to retry network operations (probably a good idea anyway), you should be fine without the dependency.
reinzelmann has joined #nixos
<random_guy> ah
<random_guy> should check that
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
mizu_no_oto has quit [Client Quit]
<random_guy> and yes, it has a timeout and is triggered by a timer every few minutes
Yaniel has joined #nixos
tzemanovic has joined #nixos
<random_guy> though I thought it would be nice to not try if I'm offline
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
Yaniel has quit [Max SendQ exceeded]
matthewbauer has quit [Read error: Connection reset by peer]
<abcrawf> multi-user.target depends on network-online.target, so you are fine. Interestingly, nothing orders itself before network-online.target, so that doesn't actually do anything!
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
asymmetric has joined #nixos
<abcrawf> My other host (Container Linux) has systemd-networkd-wait-online.service, which is what actually does the waiting.
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
tzemanovic has quit [Ping timeout: 265 seconds]
<random_guy> anyway, it's not really needed
Yaniel has joined #nixos
<random_guy> it'll keep trying to synchronize the mail until it gets a connection
Yaniel has quit [Max SendQ exceeded]
<random_guy> but I thought it would be nice to check
Yaniel has joined #nixos
<random_guy> thanks, guys
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
grp has joined #nixos
<{^_^}> [nixpkgs] @dezgeg merged pull request #41594 → platforms/raspberrypi: enable kernelAutoModules → https://git.io/vh0XF
<{^_^}> [nixpkgs] @dezgeg pushed commit from @lopsided98 to master « platforms/raspberrypi: enable kernelAutoModules »: https://git.io/vhrpy
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Tobba_ has joined #nixos
Yaniel has joined #nixos
Guanin_ has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Guanin has quit [Remote host closed the connection]
<infinisil> Does setting nix.daemonNiceLevel to something like 7 make it so that when I build something it can't make my whole machine stutter?
<grp> hi, I'm having troubles with a fresh nixos install. It's not resolving anything... can't nixos-rebuild, not even ping a dns. I can ping any IP just fine. /etc/resolv.conf is ok though... The resolvers are working too, I tested them with dig
Yaniel has joined #nixos
<grp> is this a common gotcha?
Yaniel has quit [Max SendQ exceeded]
<grp> I'll provide more info if needed, but guessed this may be me missing some conf detail
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Yaniel has joined #nixos
Acou_Bass has joined #nixos
Yaniel has quit [Max SendQ exceeded]
orivej has quit [Remote host closed the connection]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
random_guy has quit [Quit: Leaving]
Tobba has quit [Ping timeout: 264 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
orivej has joined #nixos
Yaniel has joined #nixos
talyz has quit [Ping timeout: 264 seconds]
Yaniel has quit [Max SendQ exceeded]
random_guy has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<infinisil> grp: What's the error exactly?
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
asymmetric has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python.pkgs.opentimestamps: 0.3.0 -> 0.4.0 »: https://git.io/vhrhu
<{^_^}> [nixpkgs] @xeji merged pull request #41863 → sit: 0.3.2 -> 0.4.0 → https://git.io/vhwIS
<{^_^}> [nixpkgs] @xeji pushed commit from @yrashk to master « sit: 0.3.2 -> 0.4.0 (#41863) »: https://git.io/vhrhQ
kitemikaze_ has quit []
ixxie has joined #nixos
reinzelmann has quit [Quit: Leaving]
kitemikaze_ has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
Lev50 has joined #nixos
random_guy has quit [Quit: Leaving]
jperras has quit [Ping timeout: 240 seconds]
<grp> infinisil: lost it in the terminal history. It's working now. How I fixed it? First I overwrote /etc/hosts with a valid IP from dig, then nixos-rebuild switch. By the time it completed, it started working again so I'm currently at a loss as of what was going on
<clever> grp: its possible you had to fix /etc/resolv.conf
<grp> clever: /etc/resolv.conf was right
<grp> and is unchanged
jperras has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #41896 → haskell generic-builder: Fix setup depends → https://git.io/vhrjS
matthewbauer has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
knupfer has joined #nixos
tmaekawa has joined #nixos
talyz has joined #nixos
<infinisil> pikajude: So what I often do which makes it a lot nicer is to have a single big let in before all the code
<infinisil> Linking an example..
<pikajude> a big let
<pikajude> i would be ok with that
Cale has quit [Excess Flood]
<pikajude> although writing a formatter would be fun as well
tmaekawa has quit [Client Quit]
<infinisil> (That file is still a bit of a mess, but much better than if I didn't use the big let in
<pikajude> it does look a bit better
<pikajude> hey johnw, can we get whitespace-preserving parsing in hnix
<hexagoxel> how complex is the nix grammar?
Cale has joined #nixos
<johnw> hexagoxel: it's not terrible, it just requires arbitrary lookahead
<pikajude> not too bad that hnix doesn't already have a parser for it
<johnw> since { foo = is the start of one thing, and { foo ? is the start of another
<johnw> and "foo" can be pretty complex
<infinisil> There's some weird stuff though
<johnw> pikajude: yes, there's an issue for that
thetet has quit [Ping timeout: 260 seconds]
<johnw> pikajude: preserving both whitespace and comments (which will allow for annotation-based typing)
<johnw> the real challenge is which construction do you associate the whitespace with
<infinisil> johnw: With no information loss at all?
<johnw> I think every node in the tree will need both "before" and "after" whitespace/comments
<johnw> infinisil: absolutely
<johnw> it's only worth doing if we can preserve everything
<johnw> i.e., the ability to ugly-print the exact thing we parsed
<johnw> or pretty-print without losing comments
<infinisil> Nice
<johnw> if someone were to write up a Nix style guide, we could turn our pretty printer into a real canonicalizer
<hexagoxel> "exactprint"
<johnw> yeah, faithfulprint
<johnw> something you could run over all of nixpkgs to normalize it
<infinisil> johnw: According to https://news.ycombinator.com/item?id=17271963 it's pretty hard to actually write a good formatter though..
<johnw> yeah, it's hard
<johnw> but not impossible :)
<johnw> many hands make light work
<pikajude> uglyprint
<infinisil> I'd like to help with that, sounds interesting
<pikajude> well my formatter is already 99% done
<johnw> infinisil: cool! Check out Pretty.hs
<pikajude> it just needs whitespace preservation and formatting for every node that isn't NConstant
<infinisil> pikajude: :O
<pikajude> :)
<johnw> also, you could work on extend our Annotation type
<infinisil> pikajude: I think that's the hard part..
<pikajude> ok, maybe 99% is an exaggeration
<hexagoxel> brittany uses a different approach to reducing the exponential search space (at least i think it is different)
<johnw> getting our megaparsec parser to preserve whitespace will be a non-trivial exercise
<johnw> since we rely on "consume all whitespace after token" to happen implicitly in lots of places
<johnw> that will need to be an explicit, preserved consumption
<hexagoxel> alas, it does not yet respect precedences/associativity either yet.
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to python-unstable: https://git.io/vhofO
<infinisil> johnw: Tbh, the chances of me being able to help with anything hnix related is pretty much 0, the codebase is very much too advanced for my year old haskell experience. And the amount of docs doesn't help :P
humanoyd has quit [Quit: WeeChat 2.1]
<johnw> infinisil: just become an expert on the parser, then
<hexagoxel> (if you write an algorithm that can do that, please tell, it might help for getting this into brittany)
<johnw> ignore the rest, especially the evaluator
<johnw> time spent mastering megaparsec is time well spent
<infinisil> johnw: That doesn't sound too far fetched, have done some stuff with parser combinators
<johnw> if you can produce richer annotations, the rest of the could should "just work" with it
<johnw> the next step would then be incorporating those annotations into what the pretty printer does
<infinisil> johnw: What does hnix currently include? parser, evaluator, start of a type checker, ...?
<infinisil> I'm not sure how far you wanna go with this
<hexagoxel> (there is a description of the brittany approach at https://github.com/lspitzner/brittany/blob/master/doc/implementation/theory.md)
<johnw> parser, evaluator, start of a linter, a type checker, pretty printer, start of a debugger
<johnw> far!
<infinisil> Hmm.. hnix is already a bit too big imo, maybe make that separate packages?
<johnw> Nix is just an enriched lambda calculus; it deserves a lot of tools to make it easier to write, analyze and debug Nix functions
<johnw> infinisil: that will probably happen someday
<infinisil> Alright, I'll put "Get to know megaparsec well" on my haskell-to-learn-list
<johnw> it'll pay dividends
<infinisil> pikajude: Is the code of your pretty printer online btw?
<johnw> pikajude: yeah, is it?
GiGa has joined #nixos
<GiGa> Since installing dejaDup yesterday I now get a core dump when trying to start nautilus:
<pikajude> oh
<pikajude> it can be in a second hang on
<GiGa> GLib-GIO-ERROR **: 19:26:38.249: Settings schema 'org.gnome.DejaDup' is not installed
<pikajude> lol
<GiGa> Any ideas?
<pikajude> it's beautiful
<johnw> btw, you can already query hnix for the precedence of an operator
<{^_^}> [nixpkgs] @FRidh pushed 77 commits to python-unstable: https://git.io/vhofp
<pikajude> well
<johnw> for example: precedence (getBinaryOperator NPlus)
<pikajude> i got my own precedence list from a gist
<johnw> just import Nix.Parser
<pikajude> ok now i now
<pikajude> know*
<pikajude> handy
<johnw> you can also query for the textual name, and the associativity
<pikajude> i pretended being in a list was a specific precedence context for convenience
oida has joined #nixos
<pikajude> inevitably i'll have to change that when i discover why that doesn't actually work
<infinisil> pikajude: How much Haskell experience do you have?
<infinisil> (certainly more than me, I'm just interested)
<pikajude> oh
<pikajude> not really sure
<pikajude> let me check my github history
<johnw> ixxie: hadn't seen it, thanks!
<pikajude> 2013-ish?
<johnw> pikajude has been using Haskell about as long as me
<infinisil> I see :O
<catern> so what's the issue with sentry? is it possible to just make a normal Nix package for it instead of using pypi2nix?
<ixxie> johnw: is hnix in use anywhere?
<pikajude> it's in use in my formatter project :^)
inquisitiv3 has joined #nixos
<ixxie> hah
<ixxie> nice
<infinisil> I tried to start to use it (for evaluation) for my nixbot, but I failed
<infinisil> Will have to try again, but it's quiet hard to understand what's going on
<johnw> ixxie: I use it to debug Nix functions that I write
<johnw> it already has much better error reporting
<johnw> but it still can't evaluate everything in nixpkgs yet
<GiGa> Bit of research suggests I need to run "glib-compile-schemas" although it's not clear to me why, if that's necessary, why that wasn't done as part of the dejadup installation?
<ixxie> so you are missing certain language features?
<johnw> ixxie: missing some finer points of evaluation semantics, more like
<johnw> in same places we're too strict, which can lead to thunk loops
<johnw> finding these has been a slow process
<ixxie> johnw: do you think this implementation could eventually replace the C++ one?
<{^_^}> [nixpkgs] @FRidh pushed 93 commits to python-unstable: https://git.io/vhoUT
<johnw> ixxie: yes, it would provide an alternative, but not require the c++ version in order to use Nix
<infinisil> johnw: Btw, not sure if you saw it, but this was my attempt to use it, not sure what I didn't get right: https://gist.github.com/Infinisil/9be491bbe84a3bc1992445f3b5d60b19
wangoe has quit [Ping timeout: 256 seconds]
<johnw> there's an #hnix channel, so that we don't distract all these fine NixOS people
<gchristensen> keep up the good work, johnw!
<johnw> thanks gchristensen!
mizu_no_oto has joined #nixos
knupfer has quit [Remote host closed the connection]
stanibanani has joined #nixos
mizu_no_oto has quit [Client Quit]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 200 commits to python-unstable: https://git.io/vhoT0
wangoe has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b25a2c96146 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ixxie has quit [Ping timeout: 276 seconds]
vaninwagen has joined #nixos
Izorkin_ has quit [Ping timeout: 248 seconds]
stanibanani has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 250 seconds]
ixxie has joined #nixos
<inquisitiv3> When should one start a thread on the Discourse forums, and when should one create an issue on Github?
<inquisitiv3> It feels that there's some overlap on issues that are more discussion like than a specific issue that needs to be solved.
<{^_^}> [nixpkgs] @Lassulus opened pull request #41897 → tinc_pre: 1.1pre15 -> 1.1pre16 → https://git.io/vhoLI
<infinisil> I personally like github issues more, maybe that's just because I'm not using discourse at all though
trevorriles has joined #nixos
trevorriles has quit [Client Quit]
trevorriles has joined #nixos
<ixxie> on the one hand, its hard for anyone to spot any topic in github because there are so many
<ixxie> on the other, its hard for people to find topics on Discourse because most of them don't use it
<ixxie> xD
<samueldr> hi all, don't forget to check discourse today :)
<GiGa> Currently trying to update the duplicity derivation but it won't build. Says it can't find a fasteners that satisfies the requirement:
<GiGa> No matching distribution found for fasteners (from duplicity==0.7.17)
<{^_^}> [nixpkgs] @benley opened pull request #41898 → networkmanager: Expand dns description, integrate with other services → https://git.io/vhoLu
<GiGa> samueldr: Discourse?
<infinisil> Whoa, it's surprisingly active
<{^_^}> [nixpkgs] @Lassulus opened pull request #41899 → tinc: 1.0.33 -> 10.0.34 → https://git.io/vhoLV
<samueldr> but yeah, more seriously, if it's an actionable issue, don't hesitate to create an issue, for open-ended questions, discourse would be preferred, but it's (as others said) in its infancy
<GiGa> samueldr: was that aimed at me because I was asking questions?
<samueldr> nah, GiGa, to inquisitiv3's earlier question
<GiGa> ah right
<samueldr> sorry if it's a bit confusing :)
<GiGa> Not a problem
<GiGa> Don't suppose you know what this is about do you?
<GiGa> No matching distribution found for fasteners (from duplicity==0.7.17)
<samueldr> (the main issue with bigger channels is there's no clear way to split different conversations)
<samueldr> sorry, not a duplicity user :/
blankhart has joined #nixos
raynold has quit []
<infinisil> GiGa: Sounds like either the version it wants isn't in nixpkgs (because it's so new), or somebody used a non-open version requirement (==x.x instead of >=x.x)
<benley> here's what I was trying to do earlier when I was grumbling about docbook and building the manual: https://github.com/NixOS/nixpkgs/pull/41898
civodul has joined #nixos
<infinisil> #41898
<{^_^}> https://github.com/NixOS/nixpkgs/pull/41898 (by benley, open): networkmanager: Expand dns description, integrate with other services
<GiGa> infinisil: But that's the derivation I'm updating at the moment, that's what I don't get
<GiGa> I'm making the derivation up to 17.7
<infinisil> Yeah, not saying it's the 0.7.17 of duplicity, but rather of fasteners
<infinisil> Not sure why the error doesn't display fasteners version and constraints
<GiGa> I wouldn't have the first clue how to work that out sadly
<GiGa> I've just updated deja-dup but as it needs a newer version of duplicity I figured I'd go sort that. Sadly it won't build because of the above
oida has joined #nixos
shah^ has joined #nixos
<inquisitiv3> But have the mailing lists been deprecated in favor for Discourse? It says so in the wiki, but the mailing lists still on the page for support on the homepage.
<inquisitiv3> And doesn't the _Community_ page and _Support_ page contain pretty much the same content?
knupfer has quit [Ping timeout: 276 seconds]
rardiol1 has joined #nixos
<ixxie> inquisitiv3: yeah they do.... we should probably merge them or something
<ixxie> inquisitiv3: but there is a bunch of stuff I wanna do with the Wiki this summer :P
thetet has joined #nixos
<ixxie> inquisitiv3: the change happened recently; they are talking about importing the mailing lists and stuff
<ixxie> inquisitiv3: so yeah a lot of material will still talk about the mailing lists but that is deprecated
<inquisitiv3> ixxie: Has there been any discussion separating the Nix expression parts of the different manuals to its own? Now all the manuals teach the language, which make it hard to know where to look.
maiksen has quit [Remote host closed the connection]
<inquisitiv3> It seems that it's planned for the wiki, but is it for the manuals?
<ixxie> inquisitiv3: well, we thought it was a good idea at the Wiki but I don't know of any plans for the manuals
<ixxie> we hope to expand on this in the wiki but lack some momentom atm
<samueldr> inquisitiv3: have you also looked at the nix pills? https://nixos.org/nixos/nix-pills/
<samueldr> (the preface explains what they are)
<inquisitiv3> samueldr: I skimmed them some time ago. But as people have said that they're outdated nowdays I've skipped them.
<samueldr> hm, they're outdated?
* samueldr hasn't really looked at them since they moved
<inquisitiv3> samueldr: I think that ixxie was one of them?
<ixxie> they are a little dated; they still teach the basics of the language though
<{^_^}> [nixpkgs] @Mic92 merged pull request #41897 → tinc_pre: 1.1pre15 -> 1.1pre16 → https://git.io/vhoLI
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhomy
<ixxie> yes I did say that
<inquisitiv3> Yeah, so I've taken to read the manuals...
<inquisitiv3> They aren't very easy to read if you don't know the terminology from before :P
<ixxie> inquisitiv3: for the language its still probably helpful to read the pills too. The problemw with them imo is that they have somewhat weird workflows but I guess they make sense in the context of learning the language
<ixxie> inquisitiv3: try this https://nixcloud.io/tour/?id=1
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « opae: init at 1.0.0 »: https://git.io/vhomN
myshoe has quit [Quit: Lost terminal]
<ixxie> its quite awesome
<inquisitiv3> ixxie: How far does it take you?
<samueldr> is there a proper combined glossary for nix + nixpkgs + nixos?
<inquisitiv3> ixxie: The guide you linked.
knupfer has joined #nixos
<ixxie> inquisitiv3: don't remember exactly, but I didn't have much more than that + Nix Pills + random bits of manual / chat here xD
<ixxie> also of course reading other people's Nix expressions and trying my own stuff
<inquisitiv3> ixxie: So you recommend reading the pills for a beginner?
<inquisitiv3> Just want to clarify.
<ixxie> samueldr: well, one of the things I wanna have a chat with you is about the relationship of the Nix ecosystem components to one another
<ixxie> samueldr: and consequently the manuals
<ixxie> samueldr: this is why I am working on that gist; lets discuss this annother day
<ixxie> inquisitiv3: yes! Just keep in mind that some of those workflows may have better alternatives nowadays
<ixxie> inquisitiv3: I would say, try the pills, try the tour, see what you enjoy
<inquisitiv3> ixxie: Thanks! I'll check them out :)
<ixxie> np
<ixxie> good luck
<{^_^}> [nixpkgs] @matthewbauer opened pull request #41900 → llvm: use cmake from buildPackages → https://git.io/vhoYc
<ixxie> gnight folks
<inquisitiv3> Bye
<ixxie> or maybe I have a few more minutes
<ixxie> xD
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41899 → tinc: 1.0.33 -> 10.0.34 → https://git.io/vhoLV
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhoYo
<infinisil> > let { body = "something"; }
<{^_^}> "something"
<infinisil> Can anybody tell me what this let thing is supposed to do ^^
<infinisil> I mean I know what it does, but what is it useful for??
<infinisil> > let { foo = 10; body = "something"; }
<{^_^}> "something"
johanot has joined #nixos
<ixxie> > let { foo = 10; body = "something"; } in foo
<{^_^}> error: syntax error, unexpected IN, expecting ')', at (string):43:39
tenten8401 has joined #nixos
<infinisil> > let foo = let { bar = 10; body = 20; }; in foo
<{^_^}> 20
<tenten8401> Hey guys. Does anyone know if it's actually possible to use a package as a "file storage" of some sorts, letting the location of it be referenced from another file?
<infinisil> tenten8401: what exactly are you intending to do?
Yaniel has joined #nixos
<tenten8401> I was thinking of using a package as dotfiles storage along with this PR: https://github.com/NixOS/nixpkgs/pull/41858
<infinisil> A derivation is just an immutable directory in the end
Yaniel has quit [Max SendQ exceeded]
camsbury has joined #nixos
<tenten8401> tl;dr on the PR: basically lets you run a command on user creation to copy files
<tenten8401> so I could have that command be to copy from a package
Yaniel has joined #nixos
<infinisil> Yeah totally
<ixxie> samueldr: awesome stuff with the mobile NixOS!
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yaniel has quit [Max SendQ exceeded]
roblabla has quit [Ping timeout: 256 seconds]
<tenten8401> How would I go about doing that if you don't mind me asking? All I have experience with is a basic build file that can run a Makefile to compile a C file
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<infinisil> tenten8401: I have a function lying around somewhere that turns an attrset into a derivation with its structure, e.g. { foo.bar = "test"; qux = "hi"; } gets turned into a derivation with a folder foo containing a file bar with contents "test" and a file qux with contents "hi"
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vhoO0
Yaniel has joined #nixos
seafood has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<tenten8401> mainly was hoping to just have a simple file that can copy the working directory into $out so it'll be stored in the system
<infinisil> Oh yeah
<ixxie> let { x = "y"; }
<infinisil> That's trivial
<ixxie> > let { x = "y"; }
<{^_^}> attribute 'body' missing, at undefined position
asuryawanshi has quit [Ping timeout: 240 seconds]
Yaniel has joined #nixos
<tenten8401> I figured it might be
<infinisil> tenten8401: "${./some/path}" will copy ./some/path into the nix store and return its path
<ixxie> what a weird construct
Yaniel has quit [Max SendQ exceeded]
<infinisil> tenten8401: Often you can even just use ./some/path, since it gets interpolated into a string at some point (which is what makes it import it into the store)
<infinisil> ixxie: Indeed..
Yaniel has joined #nixos
<ixxie> infinisil: very confusing considering let ... in
<tenten8401> where would this be in a nix build file? in the installPhase? what stdenv should I use?
Yaniel has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vhoOi
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41810 → Fix aliases.nix using the wrong self refs. → https://git.io/vhac6
<infinisil> tenten8401: It's just that!
<infinisil> "${./some/path}" is already in the nix store
<ixxie> infinisil: I don't think there is any mention of this in https://gist.github.com/edolstra/29ce9d8ea399b703a7023073b0dbc00d
<ixxie> anyway
<infinisil> no need to build it in any way
<ixxie> now I am really out ^^
Yaniel has joined #nixos
<infinisil> See ya
ixxie has quit [Quit: Lost terminal]
Yaniel has quit [Max SendQ exceeded]
seafood has quit [Client Quit]
Yaniel has joined #nixos
<tenten8401> how would I reference it in another configuration file then?
Yaniel has quit [Max SendQ exceeded]
jensens_ has joined #nixos
<infinisil> tenten8401: Configuration file? What configuration?
<tenten8401> I'm so confused, sorry, let me try and explain it a little bit better
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<infinisil> tenten8401: In regards to that PR: You'll be able to set `initialHomeContents = ./some/path` and new home directories will contain the contents of ./some/path (evaluated at nix build time)
<infinisil> Oh but you mean you want to change some files in it?
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<tenten8401> I'm wanting to be able to keep all my dotfiles in one place and have them copied to the nix store for referencing in initialHomeContents
Yaniel has joined #nixos
<tenten8401> but I don't want to make a big ugly configuration file for everything like this: https://hastebin.com/sohutuwiso.md
Yaniel has quit [Max SendQ exceeded]
<infinisil> How do you intend to keep your dotfiles separate?
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<tenten8401> Was hoping to put them in a folder next to my package reference file like so: https://i.imgur.com/gyPeoVt.png
<tenten8401> and have them actually count as a system package that I can modify version numbers and update
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<tenten8401> and be able to reference the path they're stored in from my initialHomeContents
Yaniel has joined #nixos
<tenten8401> poor Yaniel seems to be having some issues
Yaniel has quit [Max SendQ exceeded]
<infinisil> Hmm
<tenten8401> I'd be willing to seperate them in any way as long as I don't have to define every single file in one
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<infinisil> You can put files in /etc/nixos/packges/Dotfiles, and reference that dir like i showed before. When you rebuild the system it will read that directory and 'freeze' the contents into a /nix/store path, which will be used to crate home directories when you create a new user with that system
<infinisil> Not sure what you expect from making versions and such, it's just a simple directory after all
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<tenten8401> the versions were mainly just so the system can re-copy the files when they've changed
<infinisil> Updating would be just changing files in the directory and do a rebuild
<infinisil> Oh
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<infinisil> You want this also for after the user gets created?
<tenten8401> no
<tenten8401> I meant re-copy to the nix store
<tenten8401> can it detect when a project changes?
<infinisil> Yup
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<infinisil> Nix checks every path it imports for changes
mmlb has quit [Ping timeout: 240 seconds]
ryantrinkle has joined #nixos
<tenten8401> so wait, I can litterally just throw everything my /etc/nixos/dotfiles, and just set initialHomeContents to ${/etc/nixos/dotfiles}
<tenten8401> and have it copy to the nix store and reference it automatically?
Yaniel has joined #nixos
<ryantrinkle> is there an existing issue for "nix should not deal so poorly with caches being down"?
Yaniel has quit [Max SendQ exceeded]
<infinisil> tenten8401: Yup
<ryantrinkle> the fact that a down cache and/or down internet connection dramatically affects functionality seems quite silly
<tenten8401> oh well that's a lot easier than I thought it would be
<tenten8401> going to try it now
m0rphism has joined #nixos
<elvishjerricco> ryantrinkle: What does it do currently?
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<infinisil> tenten8401: As an example, my nixbot' nixpkgs directory i can import:
<infinisil> > "${<nixpkgs>}"
<ryantrinkle> elvishjerricco: waits for timeout, which seems to be very long
<{^_^}> "/nix/store/6zapi8zibznc6vqjxgh9gbv9dkznfwfs-nixpkgs"
<infinisil> tenten8401: Now I change a single file in it..
<infinisil> > "${<nixpkgs>}"
<elvishjerricco> ryantrinkle: What would you rather it do?
<ryantrinkle> try disconnecting your internet and then making a slightly-nontrivial change to your nix config, then doing nixos-rebuild switch
Yaniel has joined #nixos
<{^_^}> "/nix/store/kagd21ax0vlq95cc2p8mb3hppvjda8kk-nixpkgs"
<ryantrinkle> elvishjerricco: i would rather it treat it as a cache miss, quite quickly
<infinisil> tenten8401: And a different hash appears :O
Yaniel has quit [Max SendQ exceeded]
<tenten8401> getting an unexpected DOLLAR_CURLY when I set initialHomeContents to ${/etc/nixos/dotfiles}
<elvishjerricco> ryantrinkle: Personally, I would not. I strongly prefer getting builds from caches. If my network is down or the cache is down, I'd rather be asked before it started building manually
<infinisil> tenten8401: Just initialHomeContents = /etc/nixos/dotfiles;
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<ryantrinkle> elvishjerricco: that would also be fine, especially if it told people wtf to do
<tenten8401> and it actually just copies it to the nix store?
<ryantrinkle> right now it just hangs indefinitely
<infinisil> tenten8401: Yup, assuming the module uses it in a string, which is most likely the case
<ryantrinkle> and, you can't nixos-rebuild switch to change the set of caches it tries to use
<elvishjerricco> ryantrinkle: I think it times out and errors eventually. Just takes quite some time
<ryantrinkle> unless you know which options to set
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<ryantrinkle> elvishjerricco: yeah, it's just *far* longer than anyone would want to wait
<tenten8401> seems to have worked and copied my things to the new user sucessfully
<ryantrinkle> and i don't think the error message tells people what to do
<elvishjerricco> ryantrinkle: I wonder if that's configurable
<tenten8401> however how do I know it's not just pulling from /etc/nixos
fendor has quit [Quit: Leaving]
<ryantrinkle> the net result is that if someone accidentally sets up a cache wrong (e.g. fat-fingers the port)
<tenten8401> and instead pulling from the nix store?
<elvishjerricco> Yea a better error message and a shorter default time out sound like good ideas
<ryantrinkle> they become unable to know what to do to fix it
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<infinisil> tenten8401: That's not hard to test, just move the directory and do it again
<elvishjerricco> ryantrinkle: I just wish we had a way to test if a cache is configured properly...
<{^_^}> [nixpkgs] @joachifm pushed to master « tor: 0.3.3.6 -> 0.3.3.7 »: https://git.io/vhosZ
<infinisil> tenten8401: If you really wanna be certain you could also force it with "${/etc/nixos/dotfiles}"
<ryantrinkle> elvishjerricco: yep, that would be extremely useful
<ryantrinkle> i'd love to be able to have reflex-platform fail if certain things aren't available from cache
<GiGa> Anyone else finding LibreOffice's spell check broken?
<ryantrinkle> since i actually know what should be in cache
Yaniel has joined #nixos
<tenten8401> when I do it again after moving the directory it fails
Yaniel has quit [Max SendQ exceeded]
<tenten8401> https://hastebin.com/ekumekikev.vbs this is what my users.nix currently looks like
<tenten8401> Am I doing it wrong?
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<infinisil> tenten8401: I assume it only does this once when you create the user?
<infinisil> Or try it with the forcing variant
<tenten8401> as far as I know yes
<tenten8401> the forcing variant throws an unexpected DOLLAR_CURLY
<infinisil> tenten8401: initialHomeContents = "${/etc/nixos/dotfiles}";
Yaniel has joined #nixos
<infinisil> With the quotes
Yaniel has quit [Max SendQ exceeded]
<tenten8401> ah yeah I'm dumb
matthewbauer has quit [Read error: Connection reset by peer]
<tenten8401> well, that did fix the issue, but I still can't actually verify it's pulling it from the nix store
Yaniel has joined #nixos
lopsided98 has quit [Quit: Disconnected]
Yaniel has quit [Max SendQ exceeded]
<infinisil> Start a nix repl
<infinisil> And type "${/etc/nixos/dotfiles}" in it
<infinisil> And compare that to /etc/nixos/dotfiles
Yaniel has joined #nixos
<infinisil> The language expression "${/etc/nixos/dotfiles}" doesn't even know that it came from /etc/nixos/dotfiles anymore
Yaniel has quit [Max SendQ exceeded]
<Baughn> I've got what's (probably) a very basic Disnix problem, if anyone wants to help.
roblabla has joined #nixos
<Baughn> ...this is probably not the best channel for that, but it's the one that's listed.
matthewbauer has joined #nixos
lopsided98 has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<tenten8401> ahh okay I see
<Baughn> Well, in short, deployment of https://brage.info/disnix/ fails with "attribute 'outPath' missing". And a long stack trace pointing solely inside Disnix.
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tenten8401> thanks for explaining it, it's pretty much exactly what I was looking for
<tenten8401> :)
Yaniel has joined #nixos
<infinisil> tenten8401: :)
Yaniel has quit [Max SendQ exceeded]
<tenten8401> now I can remove that oversized theme.nix I had
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
jtojnar has joined #nixos
matthewbauer has quit [Remote host closed the connection]
Yaniel has joined #nixos
<{^_^}> [nixpkgs] @orivej pushed 216 commits to staging: https://git.io/vhoGe
Yaniel has quit [Max SendQ exceeded]
<Sonarpulse> is it possible to set up a remote builder you cannot copy stuff *to*, only *from*?
matthewbauer has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
roblabla has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @orivej closed pull request #41869 → pcsclite: use canonical src url → https://git.io/vhwcB
<manveru> Sonarpulse: isn't that nix-serve?
<Sonarpulse> manveru: but I want to be able to do builds
<infinisil> I think even just an extra substitutor will do, via ssh
Yaniel has joined #nixos
<Sonarpulse> so I guess copy drvs not builds
Yaniel has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @orivej pushed to master « pcsclite: clean up after #41790 »: https://git.io/vhoGG
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
vaninwagen has quit [Ping timeout: 248 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
jtojnar_ has joined #nixos
Yaniel has joined #nixos
Singularity[m] has quit [Remote host closed the connection]
patrl[m] has quit [Remote host closed the connection]
thra11[m] has quit [Write error: Connection reset by peer]
dash has quit [Remote host closed the connection]
TimePath has quit [Remote host closed the connection]
wzy8L-B2[m] has quit [Remote host closed the connection]
yochai[m] has quit [Remote host closed the connection]
rnkch[m] has quit [Remote host closed the connection]
jmorriss[m] has quit [Remote host closed the connection]
ayyjayess[m] has quit [Remote host closed the connection]
jesper has quit [Remote host closed the connection]
EB[m] has quit [Remote host closed the connection]
primeos[m] has quit [Remote host closed the connection]
puffnfresh has quit [Remote host closed the connection]
spawnthink[m] has quit [Remote host closed the connection]
Naughtmare[m] has quit [Remote host closed the connection]
admin[m]4 has quit [Remote host closed the connection]
zurk[m] has quit [Remote host closed the connection]
slabity[m] has quit [Remote host closed the connection]
hedning[m] has quit [Remote host closed the connection]
tosh[m] has quit [Remote host closed the connection]
mirlur[m] has quit [Remote host closed the connection]
offlinehacker[m] has quit [Remote host closed the connection]
dtz has quit [Read error: Connection reset by peer]
vskilet[m] has quit [Read error: Connection reset by peer]
pauricthelodger[ has quit [Read error: Connection reset by peer]
omawnakw[m] has quit [Read error: Connection reset by peer]
thefloweringash[ has quit [Read error: Connection reset by peer]
mcatis[m] has quit [Read error: Connection reset by peer]
stekke[m] has quit [Read error: Connection reset by peer]
kitten[m] has quit [Remote host closed the connection]
NickHu has quit [Remote host closed the connection]
bobvanderlinden_ has quit [Remote host closed the connection]
fighterhero[m] has quit [Remote host closed the connection]
sorbet has quit [Read error: Connection reset by peer]
pierrebeaucamp[m has quit [Read error: Connection reset by peer]
panther420[m] has quit [Read error: Connection reset by peer]
aramiscd[m] has quit [Read error: Connection reset by peer]
trikl[m] has quit [Read error: Connection reset by peer]
olejorgenb[m] has quit [Read error: Connection reset by peer]
edef[m] has quit [Read error: Connection reset by peer]
DIzFer[m] has quit [Read error: Connection reset by peer]
Minijackson[m] has quit [Read error: Connection reset by peer]
darkestmeson has quit [Read error: Connection reset by peer]
desttinghim[m] has quit [Remote host closed the connection]
dywedir[m] has quit [Remote host closed the connection]
hw9891[m] has quit [Read error: Connection reset by peer]
Hook[m]1 has quit [Write error: Connection reset by peer]
tokudan[m] has quit [Remote host closed the connection]
M-fishy has quit [Remote host closed the connection]
apurvapavaskar[m has quit [Remote host closed the connection]
petersjt014[m] has quit [Remote host closed the connection]
bkchr[m] has quit [Remote host closed the connection]
aspiwack[m] has quit [Remote host closed the connection]
jack[m] has quit [Remote host closed the connection]
card[m] has quit [Remote host closed the connection]
bachp has quit [Read error: Connection reset by peer]
tamwile[m] has quit [Read error: Connection reset by peer]
greska[m] has quit [Read error: Connection reset by peer]
wilornel has quit [Read error: Connection reset by peer]
pstn has quit [Remote host closed the connection]
Albtrz[m] has quit [Remote host closed the connection]
Drakonis[m] has quit [Remote host closed the connection]
cornu[m] has quit [Read error: Connection reset by peer]
attero has quit [Read error: Connection reset by peer]
ipj[m] has quit [Remote host closed the connection]
illegalprime[m] has quit [Remote host closed the connection]
paperdigits[m] has quit [Read error: Connection reset by peer]
peterhoeg has quit [Write error: Connection reset by peer]
MaJoe[m] has quit [Remote host closed the connection]
Bugworm[m] has quit [Remote host closed the connection]
das-g[m] has quit [Remote host closed the connection]
rihardsk[m] has quit [Read error: Connection reset by peer]
mudri[m] has quit [Remote host closed the connection]
semyon[m] has quit [Remote host closed the connection]
fearlessKim[m] has quit [Remote host closed the connection]
rycee has quit [Remote host closed the connection]
techtangents[m] has quit [Remote host closed the connection]
timokau[m] has quit [Remote host closed the connection]
herzmeister[m] has quit [Write error: Connection reset by peer]
nelag[m] has quit [Write error: Connection reset by peer]
Orbstheorem[m] has quit [Write error: Connection reset by peer]
Yaniel has quit [Max SendQ exceeded]
comphez[m] has quit [Write error: Connection reset by peer]
taohansen has quit [Remote host closed the connection]
darkmeson has quit [Read error: Connection reset by peer]
nyanloutre[m] has quit [Remote host closed the connection]
sphalerit has quit [Remote host closed the connection]
copumpkin has quit [Remote host closed the connection]
Ralith has quit [Remote host closed the connection]
adisbladis[m] has quit [Remote host closed the connection]
regnat[m] has quit [Remote host closed the connection]
happyente[m] has quit [Remote host closed the connection]
willghatch[m] has quit [Remote host closed the connection]
bendlas has quit [Write error: Connection reset by peer]
indefini has quit [Write error: Connection reset by peer]
Elephant454[m] has quit [Write error: Connection reset by peer]
M-dpetranek has quit [Write error: Connection reset by peer]
AntonLatukha[m] has quit [Remote host closed the connection]
midchildan[m] has quit [Remote host closed the connection]
reactormonk[m] has quit [Remote host closed the connection]
florianjacob has quit [Write error: Connection reset by peer]
mith[m] has quit [Remote host closed the connection]
malteof[m] has quit [Remote host closed the connection]
icetan has quit [Remote host closed the connection]
DenisLehmann[m] has quit [Remote host closed the connection]
jgl[m] has quit [Remote host closed the connection]
necronian has quit [Remote host closed the connection]
amiloradovsky[m] has quit [Write error: Connection reset by peer]
v0id72[m] has quit [Remote host closed the connection]
wak-work has quit [Remote host closed the connection]
moredhel_[m] has quit [Remote host closed the connection]
crystalgamma[m] has quit [Remote host closed the connection]
doubletwin[m] has quit [Read error: Connection reset by peer]
EuAndreh[m] has quit [Read error: Connection reset by peer]
davidak[m] has quit [Remote host closed the connection]
telent[m] has quit [Read error: Connection reset by peer]
M-Dan has quit [Read error: Connection reset by peer]
don_quijote[m] has quit [Write error: Connection reset by peer]
goibhniu[m] has quit [Remote host closed the connection]
mgttlinger[m] has quit [Remote host closed the connection]
Pneumaticat has quit [Max SendQ exceeded]
sudoreboot[m] has quit [Max SendQ exceeded]
magnap has quit [Write error: Connection reset by peer]
bennofs[m] has quit [Remote host closed the connection]
freeman42x has quit [Remote host closed the connection]
abbafei[m] has quit [Write error: Connection reset by peer]
demyan[m] has quit [Write error: Connection reset by peer]
bugabinga[m] has quit [Read error: Connection reset by peer]
trubii[m] has quit [Remote host closed the connection]
peel[m] has quit [Remote host closed the connection]
M-ms has quit [Remote host closed the connection]
bitmapper[m] has quit [Remote host closed the connection]
lordfluffywobble has quit [Remote host closed the connection]
SamuelEvans-Powe has quit [Remote host closed the connection]
smrtak[m] has quit [Remote host closed the connection]
moredhel has quit [Remote host closed the connection]
fgaz[m] has quit [Remote host closed the connection]
ArdaXi1 has quit [Write error: Broken pipe]
lycium[m] has quit [Write error: Connection reset by peer]
nocent has quit [Write error: Connection reset by peer]
Olinkl[m] has quit [Write error: Connection reset by peer]
dadadus[m] has quit [Remote host closed the connection]
jluttine[m] has quit [Read error: Connection reset by peer]
aaronc[m] has quit [Read error: Connection reset by peer]
mtncoder[m] has quit [Read error: Connection reset by peer]
hl has quit [Write error: Connection reset by peer]
danbst[m] has quit [Read error: Connection reset by peer]
atopuzov[m] has quit [Read error: Connection reset by peer]
Wysteriary[m] has quit [Read error: Connection reset by peer]
unlmtd has quit [Read error: Connection reset by peer]
YuFanLovezYou[m] has quit [Remote host closed the connection]
rnhmjoj[m] has quit [Remote host closed the connection]
Obscurity[m] has quit [Remote host closed the connection]
timclassic has quit [Remote host closed the connection]
WilliamHamilton has quit [Remote host closed the connection]
codyopel has quit [Remote host closed the connection]
sargon[m] has quit [Write error: Connection reset by peer]
AdamSlack[m] has quit [Remote host closed the connection]
aiyubkhan[m] has quit [Remote host closed the connection]
joh[m] has quit [Remote host closed the connection]
hendrik[m]1 has quit [Remote host closed the connection]
leons1 has quit [Remote host closed the connection]
equalunique[m] has quit [Write error: Connection reset by peer]
devr[m] has quit [Write error: Connection reset by peer]
rszibele[m] has quit [Write error: Connection reset by peer]
kainospur[m] has quit [Remote host closed the connection]
sqzlh has quit [Remote host closed the connection]
zaphar_ps[m] has quit [Remote host closed the connection]
musicmatze[m] has quit [Read error: Connection reset by peer]
tfc[m] has quit [Max SendQ exceeded]
ngerstle[m] has quit [Remote host closed the connection]
octalsrc[m] has quit [Remote host closed the connection]
bbigras-- has quit [Write error: Connection reset by peer]
bhipple[m] has quit [Remote host closed the connection]
colmeka[m] has quit [Remote host closed the connection]
gudea[m] has quit [Remote host closed the connection]
gh0st[m] has quit [Write error: Connection reset by peer]
BurNiinTRee[m] has quit [Remote host closed the connection]
YegorTimoshenko[ has quit [Remote host closed the connection]
chatnowvvv[m] has quit [Remote host closed the connection]
dkellner[m] has quit [Remote host closed the connection]
have-quick[m] has quit [Write error: Connection reset by peer]
Dezgeg[m] has quit [Remote host closed the connection]
jameshjacksonjr[ has quit [Write error: Connection reset by peer]
asp_ has quit [Write error: Connection reset by peer]
nmikhailov[m] has quit [Read error: Connection reset by peer]
spacekitteh[m] has quit [Read error: Connection reset by peer]
tet[m] has quit [Write error: Connection reset by peer]
aniketd[m] has quit [Remote host closed the connection]
AlanPearce[m] has quit [Remote host closed the connection]
Rick[29SMPittsbu has quit [Read error: Connection reset by peer]
Christian[m]4 has quit [Remote host closed the connection]
Phil[m]2 has quit [Remote host closed the connection]
ConorCurry[m] has quit [Remote host closed the connection]
Kallegro[m] has quit [Remote host closed the connection]
grahamc has quit [Write error: Connection reset by peer]
CoopDot has quit [Remote host closed the connection]
uvnikita[m] has quit [Remote host closed the connection]
chominist[m] has quit [Remote host closed the connection]
PeterRomfeld[m] has quit [Remote host closed the connection]
felipeac[m] has quit [Remote host closed the connection]
nmikhailov[m]1 has quit [Write error: Connection reset by peer]
vorot93[m] has quit [Write error: Connection reset by peer]
nickdshsadhkas[m has quit [Write error: Connection reset by peer]
ProofTechnique[m has quit [Remote host closed the connection]
jerengie[m] has quit [Remote host closed the connection]
GuillaumeBuisson has quit [Remote host closed the connection]
johnazoidberg has quit [Remote host closed the connection]
htafdwes[m] has quit [Read error: Connection reset by peer]
r3mfKm[m] has quit [Remote host closed the connection]
Adev[m] has quit [Remote host closed the connection]
oknf[m] has quit [Remote host closed the connection]
Khorne[m] has quit [Write error: Connection reset by peer]
davidar has quit [Remote host closed the connection]
zdisk[m] has quit [Remote host closed the connection]
M-manveru has quit [Remote host closed the connection]
tehnix[m] has quit [Remote host closed the connection]
bluewolfy[m] has quit [Remote host closed the connection]
russiancow[m] has quit [Remote host closed the connection]
wervenyt[m] has quit [Remote host closed the connection]
nh2[m] has quit [Remote host closed the connection]
bdimcheff has quit [Write error: Connection reset by peer]
xnaveira[m] has quit [Remote host closed the connection]
coorey[m] has quit [Remote host closed the connection]
bionicmac[m] has quit [Remote host closed the connection]
Yaniel has joined #nixos
<clever> we got matrixed again
* samueldr hides joins/parts
<orivej> Sonarpulse: Hi! Have you seen https://github.com/NixOS/nixpkgs/pull/41810#issuecomment-396719495 about xz ? I believe you can clear that up!
<Sonarpulse> orivej: I'll look
jtojnar has quit [Ping timeout: 240 seconds]
blankhart has quit [Ping timeout: 240 seconds]
Xal has quit [Ping timeout: 256 seconds]
jtojnar has joined #nixos
jbboehr has joined #nixos
blankhart has joined #nixos
jtojnar_ has quit [Ping timeout: 245 seconds]
knupfer has joined #nixos
<Sonarpulse> orivej: oh hmm I can't fully dive in that for a bit though sorry
Ariakenom has quit [Read error: Connection reset by peer]
<orivej> Sonarpulse: ok. But does it puzzle you too that "xz" is not from the final set, or does it seem to be possibly correct?
<Sonarpulse> orivej: oh definitely a mistake
<Sonarpulse> oxij found a bunch of bootstrapping errors too
<Sonarpulse> a little while ago
<Sonarpulse> it's all shit :D
tenten8401 has quit [Ping timeout: 260 seconds]
charleshd has joined #nixos
<charleshd> Hi guys
Xal has joined #nixos
<charleshd> I'm trying to build a derivation but I'm slipping on some C headers misplaced
<charleshd> here is a gist of the derivation i'm building : https://gist.github.com/CharlesHD/e05a181e1618d5396c5585bf38c29e39
inquisitiv3 has quit [Ping timeout: 248 seconds]
tenten8401 has joined #nixos
<charleshd> So far everything seems OK. But somewhere in the tool I want to build, there is a dependency on lualib header with the form `#include<lua5.2/lua.h>`
johanot has quit [Quit: Leaving.]
<Sonarpulse> manveru: infinisil: know a solution for the "order builds" part?
tzemanovic has joined #nixos
<charleshd> the tricky part is that "lua5.2/", stdenv.mkDerivation does not link lua5_2 under a lua5.2 directory
<{^_^}> [nixpkgs] @Mic92 pushed to master « dino: 2018-04-19 -> 2018-06-03 »: https://git.io/vhonk
<manveru> Sonarpulse: apart from `ssh buildbox nix build mystuff`?
GiGa has quit [Quit: Leaving]
<manveru> Sonarpulse: i'm not sure what your use-case is
<Mic92> Is it just me or is Kontact from KDE borked on unstable?
TANK__ has joined #nixos
<Sonarpulse> manveru: office machines where employees can do builds
<charleshd> is there a way to place lua library in the place the program source code expects ?
<Sonarpulse> manveru: but *not* trojan horse other employees :D
<manveru> hmm
<Mic92> charleshd: you could either patch the header file or build a fake lua package, that does `ln -s ${lua_52}/include $out/include/lua5.2`
<manveru> is that a problem if everyone has their own copy of the .nix files?
<{^_^}> [nixpkgs] @ariutta opened pull request #41901 → sqlint: init at 0.1.7 → https://git.io/vhonr
tzemanovic has quit [Ping timeout: 256 seconds]
<charleshd> Mic92: what do you mean by patch the header file ? I understood your second solution, I may go with that
TANK__ has quit [Client Quit]
TANK__ has joined #nixos
<Mic92> charleshd: patching the source like `sed -i -e 's!lua5.2!!' main.c`
<Sonarpulse> another question. is it possible to override f in (callPackage f { .. })
<Sonarpulse> f itself as opposed to one of the args to f?
<infinisil> Sonarpulse: I'm pretty sure the answer is no, Ill check though..
<Sonarpulse> infinisil: thanks!
philippD has joined #nixos
<charleshd> Mic92: oh indeed ! Well it seems cleaner to build a fake lua package.
<charleshd> Mic92: thanks a lot for your answer
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f829a6f0ee2 (from 58 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
comphez[m] has joined #nixos
wchresta has joined #nixos
<infinisil> Sonarpulse: Nope, the { .. } isn't propagated in any way, you can't retrieve it from the once evaluated callPackage
<Sonarpulse> infinisil: err not the { .. }, but the file/function
<Sonarpulse> I was thinking like
<Sonarpulse> foo.override { __func__ = ... }
jophish has quit [Quit: WeeChat 2.0]
TANK__ has quit [Quit: WeeChat 2.0]
<infinisil> Sonarpulse: Well you could just callPackage on a different file?
<infinisil> I meant that in order to call the new file with callPackage on the same arguments as the old one, you'd need to know the { .. }, which you can't get from the evaluated callPackage
thetet has quit [Read error: No route to host]
<infinisil> callPackage is usually just called with {} as the second argument anyways
<infinisil> A bit of context might help
roblabla has joined #nixos
<wchresta> I broke my user profile. Doing nix-env -qa gives "error: cannot import '...-source', since path '...-source.drv' is not valid at...; the referenced drv does not exist. Any ideas?
<clever> wchresta: and if you add --show-trace ?
hamishmack has joined #nixos
<wchresta> clever: Ah, that told me where my mistake was :). Was a syntax error in my config.nix. Thanks :)!
tertle||eltret has joined #nixos
<{^_^}> [nixpkgs] @orivej opened pull request #41902 → SDL2: do not propagate private dependencies → https://git.io/vhoCP
<grp> how can I list stuff like rxvt_unicode.terminfo ? how could I normally find out there's such package?
<clever> grp: i tend to use tab-completion inside `nix repl '<nixpkgs>'`
<grp> nice
szicari has quit [Quit: Leaving.]
<infinisil> clever: It is still a bit broken though..
<infinisil> E.g. it assumes that your screen is X chars wide, and when it's not, the output looks shitty
<infinisil> Wait
tzemanovic has joined #nixos
tzemanovic has quit [Client Quit]
<infinisil> Ah yes
<infinisil> nix-repl handles that better
seku has joined #nixos
<matthewbauer> anyone know how close we are to being able to merge staging into master? the cross-compile breakage is really annoying...
thetet has joined #nixos
simukis has quit [Ping timeout: 245 seconds]
roblabla has quit [Ping timeout: 265 seconds]
<dgonyeo> when I add `systemd.services.serial-getty@ttyUSB0.enable = true;` to my nixos configuration it can't compile anymore
<dgonyeo> I resume because of the `@`
<dgonyeo> anyone know a way around that?
<dgonyeo> `error: syntax error, unexpected '@', expecting '.' or '='`
justbeingglad has joined #nixos
matthewbauer has quit [Remote host closed the connection]
Slabity has joined #nixos
grp has quit [Quit: box shutting down...]
<gchristensen> ."serial-getty@...".enable
Yaniel has quit [Max SendQ exceeded]
<LnL> is there some way to retrieve the url from builtins.fetchGit?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
<clever> LnL: .url ?
<LnL> no the result is { outPath = ...; rev = ...; }
<{^_^}> [nixpkgs] @srhb merged pull request #33217 → haskell docs: add info about hoogle's --local flag to section 9.5.2.3 → https://git.io/vbAZd
<{^_^}> [nixpkgs] @srhb pushed 4 commits to master: https://git.io/vholH
Yaniel has quit [Max SendQ exceeded]
<clever> oh, builtins, not pkgs
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<LnL> the revision is useful I also need that, but I want to get to the url somehow from nix
<clever> wrap it with a new function that will fetch, then // { inherit url; } ?
astrofog has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
<LnL> since it's a builtin it's not passed in like other stuff so I can't just override it
<LnL> but wasn't there a way to shadow builtins?
Yaniel has quit [Max SendQ exceeded]
<LnL> weird this is that there's no __fetchGit tho
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<infinisil> > let builtins = builtins // { foo = "foo"; }; in builtins.foo
<{^_^}> infinite recursion encountered, at (string):43:16
Yaniel has joined #nixos
<infinisil> > let builtins = builtins.builtins // { foo = "foo"; }; in builtins.foo
<{^_^}> infinite recursion encountered, at (string):43:16
Yaniel has quit [Max SendQ exceeded]
knupfer has quit [Ping timeout: 265 seconds]
wchresta has quit [Quit: wchresta]
<infinisil> Well it seems to work at least, builtins doesn't seem to be a reserved identified
justbeingglad has quit [Ping timeout: 256 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<LnL> no, I was thinking of scopedImport
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
thetet has quit [Ping timeout: 256 seconds]
Yaniel has joined #nixos
matthewbauer has joined #nixos
hiratara has quit [Ping timeout: 260 seconds]
Yaniel has quit [Max SendQ exceeded]
roblabla has joined #nixos
Yaniel has joined #nixos
<rihards> hi, i'm experiencing something weird within a nix environment in a haskell project. i have ` import Streamly.Prelude ((|:))` in my code. nix-build` works fine; `nix-shell -A env` and then doing import from within ghci works fine; but `nix-shell -A env` and then `cabal build` gives an error: "Module ‘Streamly.Prelude’ does not export ‘(|:)’"
<rihards> has anyone experienced anything like this before?
Yaniel has quit [Max SendQ exceeded]
hiratara has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<Lev50> having lots of trouble with node2nix.. I am getting "npm ERR! code ENOGIT" similar to https://github.com/svanderburg/node2nix/issues/38
justbeingglad has joined #nixos
<Lev50> I am using a new version though, much newer than commit that supposedly fixed this
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
jperras has quit [Ping timeout: 264 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<rihards> i suspect that cabal from within my nix environment is somehow seing an older version of the package which doesn't export the (|:) operator yet. but how would I debug where it's comming from?
Yaniel has joined #nixos
astrofog has quit [Quit: Quite]
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
bbarker has joined #nixos
Yaniel has joined #nixos
roblabla has quit [Ping timeout: 245 seconds]
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
thetet has joined #nixos
justbeingglad has left #nixos [#nixos]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<LnL> clever: got it working, I really should do this in some other way tho :p
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Slabity has quit [Ping timeout: 245 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
rihardsk[m] has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @shlevy opened pull request #41903 → Backport rust 1.26 from master. → https://git.io/vhoBt
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<seku> btw, just curious, are there any plans to make nixos work on power9?
asdfjkl has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
roblabla has joined #nixos
Yaniel has quit [Max SendQ exceeded]
xy2_ has quit [Ping timeout: 264 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
rihards has quit [Quit: rihards]
Yaniel has joined #nixos
logzet has quit [Remote host closed the connection]
Yaniel has quit [Max SendQ exceeded]
johnw has quit [Ping timeout: 240 seconds]
johnw_ has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
asymmetric has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
jperras has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
hiratara has quit [Quit: ZNC - http://znc.in]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<Baughn> Not that I know of. Most of this is "If someone shows up to do the work", but they wouldn't want to add an architecture without knowing they'd stick around to maintain it, either.
hiratara has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<seku> understandable :)
Yaniel has joined #nixos
rihards has joined #nixos
Yaniel has quit [Max SendQ exceeded]
matthewbauer has quit [Ping timeout: 245 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
jperras has quit [Ping timeout: 260 seconds]
<rihards> to answer my own question - gotta run `cabal clean` after upgrading dependencies in nix expressions, duh
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
rihards has quit [Client Quit]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
ariutta has joined #nixos
Sonarpulse has quit [Ping timeout: 264 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
tzemanovic has joined #nixos
rnhmjoj[m] has joined #nixos
Yaniel has joined #nixos
<rnhmjoj[m]> asymmetric: look in <nixpkgs>/pkgs/build-support/trivial-builders.nix. there's a writeShellScriptBin
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<ariutta> How should oh-my-zsh and Bash-it fit into the Nix ecosystem? If I'm using Nixpkgs on macOS, are they orthogonal? oh-my-zsh is available as a Nix package. https://github.com/Bash-it/bash-it
thetet has quit [Ping timeout: 256 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
hoshineko has quit [Ping timeout: 260 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
logiq has joined #nixos
<isHavvy> shlevy: Anything you want me to look at specifically on https://github.com/NixOS/nixpkgs/pull/41903 ?
<shlevy> Just pinged you as maintainer
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
erasmas has quit [Quit: leaving]
<shlevy> Any concerns about having newer version of rust avialable under a different attribute?
<{^_^}> [nixpkgs] @obadz pushed to master « weechat: fix binary name »: https://git.io/vhoEh
sanscoeur has quit [Ping timeout: 245 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<manveru> ariutta: well, what nix does for you is create your zshrc with all the plugins you choose inside...
spear2 has joined #nixos
asymmetric has quit [Ping timeout: 255 seconds]
Yaniel has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed to master « rust: Fix typo in binary build comment. »: https://git.io/vhouO
Yaniel has quit [Max SendQ exceeded]
<manveru> that's my config for home-manager
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<isHavvy> shlevy: No immediate concerns, other than "why?"
Yaniel has joined #nixos
xcmw has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<ariutta> manveru: that makes sense. The biggest overlap would probably be with updating, e.g.: https://github.com/Bash-it/bash-it#updating
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
<shlevy> isHavvy: So we can use impl trait without upgrading our entire system :D
<ariutta> manveru: I assume it'd be best for Nix to handle updates.
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
jperras has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
thetet has joined #nixos
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed to master « xlockmore: disable format hardening to fix build »: https://git.io/vhou9
Yaniel has quit [Max SendQ exceeded]
matthewbauer has joined #nixos
Yaniel has joined #nixos
asdfjkl has quit [Quit: Page closed]
Yaniel has quit [Max SendQ exceeded]
jperras has quit [Ping timeout: 264 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
ryantrinkle has quit [Ping timeout: 268 seconds]
Yaniel has joined #nixos
Yaniel has quit [Max SendQ exceeded]
comphez[m] has quit [Write error: Connection reset by peer]
hoshineko has joined #nixos
Yaniel has joined #nixos
rnhmjoj[m] has quit [Remote host closed the connection]
<isHavvy> shlevy: So wouldn't it be better to use the mozilla overlay if you don't want to upgrade the entire system?
rihardsk[m] has quit [Remote host closed the connection]
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
<gchristensen> * probably should _not_ upgrade the whole rust ecosystem on 18.03
<LnL> it's a new attribute
<gchristensen> great
<LnL> :)
<LnL> isHavvy: the overlay doesn't build from source
<{^_^}> [nixpkgs] @Mic92 merged pull request #41856 → nixos/zfs: fix vdev_id PATH → https://git.io/vhVDG
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhoz7
<isHavvy> Hmm, alright. If you're all okay with fracturing which Rust version is used for which binary.
<gchristensen> what do you mean?
<isHavvy> Most of the packages are going to be using the main Rust and some are going to be using Rust 1.26.2, yes?
rprije has joined #nixos
<maurer> I'm confused, given that Rust 1.26.2 is stable, why do we need more than one?
<LnL> possibly at some point
<LnL> we did that for firefox with 17.09
<LnL> maurer: we don't do major upgrades like that on a release branch
<maurer> (Rust's stability guarantee, in theory, is supposed to be that if it built on stable once, it should forever)
<maurer> Why add it at all then?
<isHavvy> "* probably should _not_ upgrade the whole rust ecosystem on 18.03"
<gchristensen> I had a prod outage due to a change in rust tooling, is where I come from
palo_ has joined #nixos
<LnL> yeah, keyword there is 'in theory'
spear2 has quit [Ping timeout: 245 seconds]
<maurer> gchristensen: Out of curiosity, what happened if you can share?
<gchristensen> binaries that used to be named_like_this were now named-like-this
<LnL> ^ ${foo}/bin/my_important_service
<{^_^}> [nixpkgs] @volth opened pull request #41904 → nixos/tinc: minor fixes → https://git.io/vhogW
<isHavvy> Speaking of 18.03, I should probably upgrade my system to use it.
thetet has quit [Ping timeout: 256 seconds]
palo has quit [Ping timeout: 256 seconds]
<Mic92> Upgrading the rust ecosystem was mostly painless once the compiler built.
<isHavvy> Huh. Weird. My `nix-channel --list` is empty as root.
<gchristensen> sudo HOME=~root nix-channel --list
<gchristensen> ^ how about that
jackdk has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b97e353985d (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
karlguy_ has quit [Quit: Leaving]
comphez[m] has joined #nixos
<isHavvy> gchristensen: Still empty.
<gchristensen> huh
<LnL> do you have auto upgrade enabled?
<isHavvy> I specifically have it set to false.
<isHavvy> Err, explicitly have it set
<isHavvy> Ah well, doesn't really matter, as I'm setting a new nixos channel.
tenten8401 has quit [Quit: Page closed]
karlguy has joined #nixos
jperras has joined #nixos
logiq has quit [Ping timeout: 240 seconds]
<infinisil> Can somebody confirm that mpv doesn't play anything on master?
blankhart has quit [Ping timeout: 264 seconds]
<infinisil> It just says "Playing: <title>" but then just freezes forever and does nothing
<infinisil> I need to know if it's just me
<infinisil> WHAT IT JUST STARTED WORKING NOW
jperras has quit [Ping timeout: 256 seconds]
<infinisil> Are you serious
<infinisil> I spent hours bisecting this..
<infinisil> I even found a single commit that broke it
<infinisil> But now it's just as if there never was a 'bad' one..
stammon has quit [Remote host closed the connection]
igo95862 has joined #nixos
ericsagn1 has quit [Ping timeout: 260 seconds]
testuser has quit [Ping timeout: 255 seconds]
<Mic92> issues with video drivers?
igo95862 has quit [Client Quit]
acarrico has joined #nixos