jb55 has quit [(Ping timeout: 248 seconds)]
scribbler has joined #nixos
<dhess> yeah, that change broke DigitalOcean deployments.
scribbler has quit [(Read error: Connection reset by peer)]
scribbler has joined #nixos
pxc has quit [(Ping timeout: 255 seconds)]
dieggsy has joined #nixos
<dhess> and probably a lot of other stuff :)
MightyJoe is now known as cyraxjoe
kiloreux has joined #nixos
kiloreux_ has joined #nixos
euniarte has quit [(Ping timeout: 258 seconds)]
erictapen has quit [(Ping timeout: 260 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
ison111 has joined #nixos
notdaniel has joined #nixos
ris has quit [(Ping timeout: 260 seconds)]
Arcaelyx_ has quit [(Quit: Textual IRC Client: www.textualapp.com)]
riclima has quit [(Quit: riclima)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #30557: vuze: init at 5750 (master...vuze-5750) https://git.io/vd7Uo
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #30558: tixati: init at 2.55 (master...tixati-2.55) https://git.io/vd7U6
NixOS_GitHub has left #nixos []
riclima has joined #nixos
scribble_ has joined #nixos
nh2 has quit [(Quit: Leaving.)]
Wizek_ has quit [(Ping timeout: 240 seconds)]
<ison111> Does anyone know what might cause a custom derivation to appear to compile successfully but result in a completely empty directory in the store?
scribbler has quit [(Ping timeout: 248 seconds)]
<michaelpj> ison111: is it putting anything in $out?
jb55 has joined #nixos
darlan has joined #nixos
darlan has quit [(Client Quit)]
catch22 has joined #nixos
ertesx-w has joined #nixos
ertes-w has quit [(Ping timeout: 240 seconds)]
ertesx-w is now known as ertes-w
leat has quit [(Ping timeout: 258 seconds)]
scribbler has joined #nixos
catch22_ has joined #nixos
scribble_ has quit [(Ping timeout: 240 seconds)]
catch22 has quit [(Ping timeout: 260 seconds)]
erictapen has quit [(Remote host closed the connection)]
frankqux2 has joined #nixos
Mateon1 has quit [(Ping timeout: 240 seconds)]
frankqux1 has quit [(Ping timeout: 240 seconds)]
catch22_ has quit [(Ping timeout: 260 seconds)]
jgertm has quit [(Ping timeout: 258 seconds)]
catch22 has joined #nixos
Myrl-saki has quit [(Ping timeout: 240 seconds)]
catch22 has quit [(Ping timeout: 260 seconds)]
sirkha_ has joined #nixos
sirkha has quit [(Ping timeout: 240 seconds)]
Wizek_ has joined #nixos
riclima has quit [(Quit: riclima)]
lambdamu_ has joined #nixos
hellrazo1 has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
sigmundv has quit [(Ping timeout: 252 seconds)]
riclima has joined #nixos
lambdamu has quit [(Ping timeout: 252 seconds)]
hellrazor has quit [(Ping timeout: 240 seconds)]
<ison111> michaelpj: I think it should be, it wasn't building at all until I set DESTDIR="$out"; which from looking at the configure file is where it should be installing
riclima has quit [(Quit: riclima)]
<ison111> sorry, I mean from looking in the Makefile.in
mbrgm has quit [(Ping timeout: 240 seconds)]
Wizek_ has quit [(Ping timeout: 240 seconds)]
ryantrinkle has joined #nixos
contrapumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
mbrgm has joined #nixos
contrapumpkin has joined #nixos
demego has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] earldouglas opened pull request #30559: picat: init at bff92c4 (master...dump1090) https://git.io/vd7L2
NixOS_GitHub has left #nixos []
<Li[m]1> I haven't been able to find the 'suckless' nix tree. Anyone knows what happened to that?
<adisbladis> Li[m]1: What now?
<Li[m]1> You know anything adisbladis ?
<Li[m]1> I saw the email but no repo
<adisbladis> Li[m]1: You mean this one https://nixos.org/nix-dev/2017-March/023113.html ?
<Li[m]1> Exactly
<Li[m]1> He said in there he's maintaining a different tree
<Li[m]1> Guess I'll try him on tox
drakonis has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Wizek_ has joined #nixos
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<Li[m]1> If anyone knows please fill me in
<adisbladis> No one ever did any work on that afaik.
<Li[m]1> OK thanks
kiloreux has quit [(Ping timeout: 258 seconds)]
kiloreux_ has quit [(Ping timeout: 258 seconds)]
<adisbladis> Li[m]1: And it would be a TON of work to get nix running without systemd, and when you finally get things to run you would lag so far behind you have to start all over again :)
<Li[m]1> I'm getting ready to leave linux
<Li[m]1> So systemd is just the beginning
<gchristensen> sounds exciting :)
<Li[m]1> Redox or fuchsia
<dhess> Li[m]1: do you know about guix?
<Li[m]1> With nix
<Li[m]1> Yes I know about it
<Li[m]1> I wonder if anyone got nix running on minix3
<dhess> So you want Nix but not Linux?
dieggsy has quit [(Ping timeout: 255 seconds)]
sir_kha has joined #nixos
sirkha_ has quit [(Read error: Connection reset by peer)]
sirkha_ has joined #nixos
<Li[m]1> dhess: right
abrar has joined #nixos
<dhess> Li[m]1: You should port it to Open/FreeBSD. That would be awesome!
<Li[m]1> Well, its a positive rather than a negative , I want a secure kernel architecture
<Li[m]1> Not interested in that
sir_kha has quit [(Ping timeout: 248 seconds)]
<Li[m]1> Capabilities based microkernel
<Li[m]1> Zircon probably
taktoa has joined #nixos
<dhess> Well in that case, I would say that lack of Nix is the least of your issues.
<drakonis> freebsd vOv
<drakonis> someone tried and then failed
<dhess> Are they even POSIX-compatible?
<drakonis> mainly because it is a different OS
<drakonis> it is
<drakonis> it is more posix compatible than linux
<dhess> drakonis: Zircon is?
<drakonis> freebsd is
<taktoa> Li[m]1: what about seL4
<drakonis> zircon is mildly compatible i guess?
<drakonis> just enough
<dhess> oh yes of course. I wasn't talking about *BSD
<drakonis> the bsds aren't monolithic
<drakonis> they're all different entities.
<dhess> they're not exactly capability-based either, which is I guess what Li[m]1 is looking for.
<drakonis> of course they're not
<dhess> anyway I was just trying to encourage him to port Nix to one of those.
<drakonis> go look genode
<drakonis> look up genode
<drakonis> someone was looking at porting nix to it
<Li[m]1> I have a feeling itll lead to a nix fork
<drakonis> nix comes with a whole lot of baggage by the way
<Li[m]1> But whatever
<drakonis> it'd be nice to have a fork
ariutta has quit [(Ping timeout: 260 seconds)]
<drakonis> nix isn't perfect
<drakonis> there's many flaws that could be improved through a fork
<Li[m]1> There aren't a lot of perfect tools
<Li[m]1> Can't even think of one
<dhess> you crazy kids.
<Li[m]1> Computer science is not even 100 yrs old (practical CS, not just theory)
<drakonis> crazy kids? this is how you get better software
<simpson> Li[m]1: Don't worry too much about it. Capability-safe tooling is one of those things that we're going to have to push on people for years while they try to make sense of things.
<Li[m]1> Lol ppl are gonna run to et
<drakonis> don't pretend nix isn't without flaws, the entire community mindset is entrenched in the whole "immutability" aspect that it loses sight of what more it can be
<Li[m]1> It
<drakonis> simpson, we already got that vOV
<drakonis> vOv
Ralith_ has quit [(Ping timeout: 255 seconds)]
<Li[m]1> Couldn't nix work directly with a filesystem like zfs?
<simpson> drakonis: I mean, I don't got it yet. I think maybe in a decade we'll have it?
<drakonis> look up cheri
<Li[m]1> That way links aren't necessary
<ldlework> simpson what are you up to?
demego has quit [(Quit: Leaving)]
<simpson> ldlework: Right now? Writing slides.
<ldlework> I mean with Nix
<simpson> Oh, trying to get LyX to work. I think I need a reboot to appease Qt5.
<ldlework> simpson do you run NixOS as your main workstation OS?
<simpson> Yeah, my laptops are all NixOS.
<Li[m]1> Is anyone using Wayland? Tried velox but my keyboard wasn't registering
<Li[m]1> From a tty, do I have to use logind?
<drakonis> hmm
<drakonis> wayland?
<drakonis> which specs do you have
demego has joined #nixos
<Li[m]1> The touchpad worked, which is explicitly set to use libinput
<ldlework> simpson jealous
<ldlework> simpson any of them on a MBP?
<drakonis> is wayland up to date on nix?
<simpson> Nope, sorry.
<Li[m]1> Ahh maybe I should be explicit about keyboard libinput
<ldlework> I wonder how hard it is to dual boot NixOS on MBP
<Li[m]1> Order a librem 5, no more laptops
demego has quit [(Remote host closed the connection)]
<Li[m]1> :D but in a year ..maybe
demego has joined #nixos
<Li[m]1> Since drivers in user space means porting them is trivial(relatively) then the move will happen quickly
<Li[m]1> Especially when every bank running legacy systems gets hacked back to the stone age
<Li[m]1> Then will be scrambling to port nix to a secure os
<Li[m]1> The fire sale is coming
<gchristensen> ldlework: "not hard" last I checked
drakonis has quit [(Read error: Connection reset by peer)]
Ralith_ has joined #nixos
jushur has joined #nixos
<ldlework> I have on file fetching another package from github but I get the error, "trying to call a set" https://gist.github.com/dustinlacewell-wk/519883f42241045b17793b491c6a0bb8#file-emacs-nix-L9 but when I run it like it is in the gist, importing the same package from the local disk, it works fine. Its exactly the same code on github though, https://github.com/dustinlacewell/nix-hm-org-build/blob/master/default.nix so I don't understand what's going on
Wizek_ has quit [(Ping timeout: 248 seconds)]
<ison111> I think ${out} is undefined in my derivation, what could be causing that?
<ldlework> I mean nix-hm-org-build/default.nix is structured as a function...
dhess has quit [(Ping timeout: 248 seconds)]
<clever> ison111: something must have unset the variable
rsynnest has quit [(Quit: Connection closed for inactivity)]
<ldlework> Oh I see
<ldlework> maybe
<ldlework> hmm nope
* ldlework is confounded.
garbas has quit [(Quit: WeeChat 1.9.1)]
<ldlework> clever do you have a minute to look at this?
<clever> ldlework: gist the expression and i can take a look?
<ldlework> but if I uncomment line 9 instead, it fetches that package from git
<ldlework> then it complains that I'm trying to call a set, rather than a function
<ldlework> but the package on git at this revision is -exactly- the same as the other file in the gist
<adisbladis> Li[m]1: Nix on redox would be pretty exciting stuff :)
<clever> ldlework: you have to import the result of the fetch
<clever> ldlework: import (fetchFromGitHub { ... }) args
<ldlework> oh duh
<ldlework> jesus
<ldlework> thanks clever
<clever> ldlework: also, you want to use callPackage, not import and args
<Li[m]1> adisbladis: that would mean a rust rewrite
<clever> ldlework: pkgs.callPackage (fetchFromGitHub { ... }) {};
<ldlework> I'll look that up!
<ison111> clever: It's a very simple derivation and $out only shows up in one place so I have no idea how that could happen: https://pastebin.com/rFKCERtg
<ldlework> clever what's the difference basically?
<adisbladis> Li[m]1: No? Redox is posix compliant.
<clever> ison111: and what happens when you try to build that?
<Li[m]1> Fuchsia is more likely in the near team
<clever> ldlework: nix will inspect the function to see what arguments it wants, and pass those values from pkgs.
<Li[m]1> Redox is all in rust
<ison111> clever: It says error: undefined variable ‘out’
<adisbladis> Li[m]1: Yes the OS itself, but there are C compilers for it.
<clever> ison111: that is refering to the nix variable out, which doesnt exist
<ldlework> clever what if it takes more than just pkgs? but also config, and lib, etc?
<clever> ison111: its only an environment variable, that exists at build time
<Li[m]1> True
<clever> ldlework: it will use pkgs.config pkgs.lib and pkgs.etc
<ldlework> huh ok
<ldlework> I'll give it a go
iqubic_ has joined #nixos
<ldlework> hmm now I get infinite recusion lol
<clever> ldlework: oh
<clever> ldlework: thats a module, not a package
<ldlework> yeah
<clever> ldlework: so callPackage wont work, and giving it args will also fail
<ldlework> hehe ok
<clever> ldlework: you must put the result of the fetch in your list on imports
<ldlework> so just import it
<clever> dont import it either
<ldlework> clever you can see that its not a typical moudle
<ldlework> it has a module attribute where the real module is
<ldlework> the other attributes are made available as library code
<clever> ah
<ison111> clever: So how do I tell it to build to $out then? If I don't set DESTDIR at all then it tries to install itself to another package in the nix store and fails
<ldlework> clever thanks adding the import got me building again
iqubic has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 2 new commits to master: https://git.io/vd7mj
<NixOS_GitHub> nixpkgs/master a8989e6 aszlig: libqtav: unstable-2017-03-30 -> 1.12.0...
<NixOS_GitHub> nixpkgs/master 27b7192 aszlig: digikam: 5.4.0 -> 5.7.0...
NixOS_GitHub has left #nixos []
<clever> ison111: you need to escape that ${ and then eval it at bash time, not nix time
athan has quit [(Ping timeout: 240 seconds)]
<clever> ison111: for example, preConfigure = ''export DESTDIR=''${out}'';
athan has joined #nixos
iqubic_ has quit [(Remote host closed the connection)]
riclima has joined #nixos
iqubic has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] casey opened pull request #30560: alacritty: unstable 2017-09-02 -> 2017-10-17 (master...alacritty-update) https://git.io/vd7Yg
NixOS_GitHub has left #nixos []
<ison111> clever: oh ok thanks, I was actually trying preConfigure, but couldn't get how to escape it properly
cmcdragonkai1 has quit [(Quit: WeeChat 1.7)]
csingley has quit [(Ping timeout: 260 seconds)]
chris| has quit [(Ping timeout: 248 seconds)]
chris| has joined #nixos
ebzzry has quit [(Quit: WeeChat 1.9)]
Kingsquee has joined #nixos
<sirkha_> if I downloaded a binary that assumes ld-linux-x86-64.so.2 is in /lib64, is there a way to modify it to tell it where the actual file is?
<clever> sirkha_: patchelf, its in the nixpkgs manual
<sirkha_> thanks, i knew i saw it, but i couldn't remember what it was called
schoppenhauer has quit [(Ping timeout: 260 seconds)]
schoppenhauer has joined #nixos
<adisbladis> Whoa. 500 open PRs.
ssmike has joined #nixos
lassulus has quit [(Ping timeout: 252 seconds)]
DerGuteMoritz has quit [(Ping timeout: 264 seconds)]
<copumpkin> oh shit, I think the world implodes at this point
DerGuteMoritz has joined #nixos
<MP2E> we've reached the github singularity! does that mean our code can write itself now? :p
lassulus has joined #nixos
<adisbladis> MP2E: It writes AND reviews itself
<MP2E> :D
nschoe has quit [(Ping timeout: 240 seconds)]
<simpson> Okay, got it; for LyX, Qt5's base libraries need to be in environment.systemPackages. Non-obvious.
ryantrinkle has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #30562: chromium: rerun update.sh (master...patch-5) https://git.io/vd73P
NixOS_GitHub has left #nixos []
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
<clever> simpson: sounds like something is incorrectly looking in /run/current-system/sw/lib/
<clever> when it should be looking directly in the store, at the right version
<simpson> clever: Probably. But I have slides to write, and LyX works again now, so I'm done fighting with it for today.
S0rin has quit [(Ping timeout: 248 seconds)]
notdaniel has quit [(Ping timeout: 252 seconds)]
hamishmack has quit [(Quit: hamishmack)]
scribbler has quit [(Ping timeout: 252 seconds)]
S0rin has joined #nixos
notdaniel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michaelpj opened pull request #30563: tzupdate: init at 1.2.0 (+ service) (master...imp/tzupdate) https://git.io/vd7sc
NixOS_GitHub has left #nixos []
ssmike has quit [(Ping timeout: 240 seconds)]
ryantrinkle has joined #nixos
scribbler has joined #nixos
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #30564: texlive: fix after dependency update (master...texlive-icu-fix) https://git.io/vd7sX
NixOS_GitHub has left #nixos []
<vincent_vdk> anyone here using a Thinkpad t460 with a Bluetooth headset by any chance?
<vincent_vdk> just wondering if it works well under nixos
<Li[m]1> never seen bluetooth work well under any circumstance
<clever> same
<clever> the phone profile sounded like crap
<clever> the music profile buffered lost packets, until it had 30 seconds of latency
<Li[m]1> connman bluetooth connection ongoing, then put the system to sleep and BAM the entire system goes under
<clever> both of them went out of range while i was still within spitting distance
<Li[m]1> unrecoverable
pie_ has quit [(Remote host closed the connection)]
<Li[m]1> its just one more of those things I dont see fixed in my time horizon
<Li[m]1> ill start by implementing a sane console
<Li[m]1> :P
pie_ has joined #nixos
<vincent_vdk> I'm currently on Fedora and it actually worked until recently
<iqubic> Tomorrow I turn 17.
<vincent_vdk> i've been thinking about moving to Nixos and was curious if it would work
<vincent_vdk> i could at least roll back to a working config :)
<Li[m]1> vincent_vdk: nixos is the *only* reason I put up with systemd
<adisbladis> vincent_vdk: If it works on fedora it should also work on nix.
<vincent_vdk> i need some days of the install and configure it
<vincent_vdk> :)
ryantrinkle1 has joined #nixos
<adisbladis> vincent_vdk: Btw, when I highlighted you I got an away notice. Super annoying.
<ldlework> Can I add a specific file to nix_path?
<clever> ldlework: what are you thinking of?
<ldlework> clever I'm going to store all the fetchFromGithub's in a plugins.nix and have my hm wrapper just add it to the path
<clever> ldlework: ah, you can just add /etc/nixos/plugins to the NIX_PATH
<ldlework> ?
<clever> and then <plugins.nix> will look for a file called plugins.nix, inside /etc/nixos/plugins
<ldlework> Oh, why /etc/nixos/plugins?
<clever> thats how $NIX_PATH works
<clever> just preference
<clever> it can be anywhere
<ldlework> ah ok
ryantrinkle has quit [(Ping timeout: 248 seconds)]
<ldlework> On non-NixOS, I think ~/.config/nixpkgs/ is more convenient
<clever> you can also add plugins.nix=/home/clever/something-else.nix
<clever> and then <plugins.nix> will map to /home/clever/something-else.nix directly
<clever> it wont even load a file called plugins.nix!
hamishmack has joined #nixos
<clever> ldlework: you could also just use config.nix (or an overlay) to store your plugins at pkgs.your-plugins
<clever> then they will already be loaded for everything
Wizek has quit [(Quit: Connection closed for inactivity)]
<ldlework> Hmm, oh yeah home-manager uses an overlay itself
<ldlework> So maybe that will work
<ldlework> clever you've been really helpful and I appreciate that
<ldlework> clever any documentation on overlays?
<clever> i havent actually used them much yet
pxc has joined #nixos
<clever> but they take a super and self argument, and then return a set of overrides
<ldlework> what are they?
<ldlework> oh well, doesn't seem like you need to use them
<clever> yeah, the only real benefit i see to overlays, is that it you can only have 1 packageOverride, but you can have many overlays
<clever> so overlays help when you want to trivialy take overrides others have made, and add them to your own
leat has joined #nixos
notdaniel has quit [(Read error: Connection reset by peer)]
Mateon2 has joined #nixos
JosW has joined #nixos
MercurialAlchemi has joined #nixos
c0ffee152 has quit [(Quit: Lost terminal)]
<ldlework> clever the overlay is so nice
<ldlework> it does exactly what I was wanting
<vincent_vdk> adisbladis: sorry
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kquick opened pull request #30565: maintainers: add Kevin Quick (master...kquick_maintainer) https://git.io/vd7nJ
NixOS_GitHub has left #nixos []
<adelbertc> hmm rust on nixpkgs seems out of date, even on unstable
<adelbertc> 1.17.0 whereas latest is 1.21.0
<adelbertc> do folks just use the mozilla nixpkgs overlay for rust stuff?
<MP2E> there's PRs about this, basically newer cargo and rust don't play nice with our existing rust infrastructure and nobody has fixed it yet afaict (the PRs simply bump the versions and hashes, last I checked)
<MP2E> i think mozilla nixpkgs overlay is used mostly yeah
<MP2E> it would be nice to get the newest rust in..
<MP2E> ah on another inspection it looks like work is in progress
<MP2E> well that's good
<adelbertc> ah i should've checked the PR list first
<adelbertc> but good to see there's work on it
<adelbertc> thanks!
Arcaelyx has joined #nixos
ixxie has joined #nixos
<ldlework> clever do you think you could show me an example of simple Nix module exports a function that takes `args@{ config, pkgs, lib, ... }` and somehow merges the result of `import <plugins>` (a set) into builtins in a way where additional modules imported with `imports = [ ];` will be able to access those plugins via `builtins.plugins` ?
<ldlework> If that's even possible
<clever> ldlework: i think your better off at this point putting things right into imports where they belong
<clever> ldlework: you can add custom arguments that get passed to every module
<ldlework> The problem is passing around the various config, pkgs, lib args everywhere
<ldlework> clever whaaaat
<ldlework> omg
<clever> thats also how pkgs winds up in the args to begin with
hellrazor has joined #nixos
<ldlework> Nice
<ldlework> Could I do something like
<Li[m]1> how would you add a 'application.desktop' manually in the application's derivation? some kind of 'writeToFile' thing? (dont know the exact name im sure it exists_
<Li[m]1> )
<ldlework> clever config = { _module.args = { pkgs = pkgs // plugins; }; }; ?
<Li[m]1> and I heard all those helper functions arent documented in one place. is that still true?
<clever> ldlework: package overrides are better when you want to modify the list of pkgs directly
<clever> ldlework: which is done at nixpkgs.overlays
<ldlework> Is that available on non-NixOS? I've never heard of that file before.
<clever> Li[m]1: writeFile will create a new derivation
<ldlework> Unless you mean ~/.config/nixpkgs/overlays/
<clever> ldlework: not sure if home-manager includes that one or not
<clever> ldlework: its a nixos option, on the page i just linked
<ldlework> 👍
hellrazo1 has quit [(Ping timeout: 248 seconds)]
Neo-- has joined #nixos
ebzzry has joined #nixos
<Li[m]1> the application's source doesnt include such a file, I need a desktop icon. is there a standard way of adding it in the derivations build scripts?
endforma1 has quit [(Ping timeout: 260 seconds)]
<Li[m]1> im looking through but most applications just seem to include one in the source
<clever> Li[m]1: postInstall would be where i would usually do it
<Li[m]1> thanks
<ldlework> crap infinite recursion
<ldlework> while evaluating the module argument `plugins' in "/Users/dustinlacewell/src/dotfiles/src/emacs":
reinzelmann has joined #nixos
<clever> ldlework: can you gist the file you changed that triggered that?
<ldlework> I'll just push up a branch so you can inspect
reinzelmann has quit [(Client Quit)]
<ldlework> overlays/plugins.nix is the plugin overlay, envs/osx.nix is the top-level expression, src/emacs/default.nix is where the recursion is happening
<clever> ldlework: line 3 is a problem
<ldlework> which file?
<clever> ldlework: line 3 loads nixpkgs, which need overlays, which need nixpkgs, which need overlays.....
<clever> your already being given pkgs at line 1
<ldlework> I see
<ldlework> changing it to pkgs.fetchFromGithub I now get: infinite recursion encountered, at undefined position
<MP2E> yikes :(
<ldlework> Which has got to be the worst error I've seen in a while
<ldlework> lol
<clever> ldlework: also, an overlay should have 2 arguments, self: super:
<clever> your arguments on line 1 arent right
<clever> both self and super are instances of pkgs
<clever> self is the result after all overrides (it can cause infinite recursion)
<clever> super is the result from applying all previous overlays (using it wrongly can lead to some overlays not appearing)
<ldlework> Oh right, I didn't mean to put the plugins file into the overlays folder
<MichaelRaskin> Li[m]1: adisbladis: just duct-taping together a Nix-based system with the kernel from NixPkgs and no systemd _running_ is actually quite easy.
<clever> for fetch functions, you want to use super
<ldlework> I don't know why I did that
<ldlework> If you look at overlay.nix
<ldlework> oh that doesn't exist in the repo
<ldlework> look at home-manager/overlay.nix
<ldlework> 👍 I think I understand the problem
<Li[m]1> MichaelRaskin: i figured it would be so. didnt clever kinda do that with notos?
ma27 has joined #nixos
<clever> Li[m]1: yep
<MichaelRaskin> That wasn't much of a desktop system, though.
proteusguy has quit [(Ping timeout: 252 seconds)]
<clever> MichaelRaskin: i also applied an override to a few things, to get systemd out of the closure
<MichaelRaskin> (I run Nixpkgs kernel on the laptop and my PID 1 is sinit)
<ldlework> clever would `self: super: args@{ config, pkgs, lib, options, ... }:` work as the first line? The plugin packages need to be called with all of the typical module arguments manually? (I'm passing `args`)
<clever> yeah, i have runit on mine, and it was able to work as a nix build slave, but not much more
<MichaelRaskin> But on a desktop system I don't really hope to patchout systemd from build closure on Nixpkgs on Linux.
<clever> ldlework: the overlays systems expects to pass 2 arguments to the overlay, and get a set back
<clever> ldlework: so having a 3rd argument would break it
<ldlework> oh okay
<ldlework> I'd do, self: super: { plugins = args@{ etc } }
<Li[m]1> i figured a clean tree would be more sensible to start with
<MichaelRaskin> And I don't care much, I would be OK even with systemd running as non-PID1, I just don't want it to mission creep over everything.
<ldlework> which sets the <plugins> module to be the function
<ldlework> damn this shit is confusing!
<clever> ldlework: that sets pkgs.plugins to a function
<Li[m]1> I was thinking of building a tree for oasis to start https://github.com/michaelforney/oasis
<MichaelRaskin> Clean tree? Why not go to GuixSD instead?
<ldlework> clever I think I need that, because I need to pass in config, pkgs, lib, and so on into the plugin module's scope, so that it can in turn pass them to the modules fetched from git
<Li[m]1> what the advantage of doing that
<MichaelRaskin> Not having to package everything again?
<Li[m]1> well, thats a few dozen packages
<MichaelRaskin> I want a bit more…
<MichaelRaskin> Also, stdenv bootstrap is annoying.
<Li[m]1> yea thats what is really in my mind
<Li[m]1> changing stdenv
JosW has quit [(Quit: Konversation terminated!)]
<MichaelRaskin> I mean, it is an inherently annoying problem.
pxc has quit [(Ping timeout: 240 seconds)]
<Li[m]1> the lower stack has become huge in its immodularity/monolithicness - and thus annoying to deal with
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kquick opened pull request #30566: Libabc: add new libabc package (master...libabc) https://git.io/vd7ca
NixOS_GitHub has left #nixos []
<Li[m]1> some are still trying. im not scared to give up a lot, since everything is a transitory implementation "to show us the idea"
<Li[m]1> burn it all down to the ground and start again
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kquick closed pull request #27198: Add ABC verifier library in addition to the executable. (master...add_abc_library) https://git.io/vQoTt
NixOS_GitHub has left #nixos []
leat has quit [(Ping timeout: 248 seconds)]
<Li[m]1> the ppl who designed the first transistor computers are still alive, so this is all just prototyping
JosW has joined #nixos
oahong has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
<ldlework> clever can overlays only provide derivations?
<ldlework> Home Manger's overlay is defined like, home-manager = import ../home-manager { pkgs = super; };
<ldlework> Which assigns a derivation
<hyper_ch> Mic92: that patch still doesn't work.... the wireguard connection with domain doesn't get auto-started at boot
<clever> ldlework: i believe the overlays must be in the form of self: super: { ... }
<ldlework> Yeah I know, but the attributes of that set
<clever> ldlework: but what values you assign to the attributes, dont matter, you can store anything
<ldlework> hmm
<ldlework> I can't figure out this recursion problem
pxc has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Ping timeout: 240 seconds)]
riclima has joined #nixos
oahong has joined #nixos
17SAAV4QO has joined #nixos
<17SAAV4QO> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vd7cF
<17SAAV4QO> nixpkgs/master a1afec9 Kevin Quick: maintainers: add Kevin Quick
17SAAV4QO has left #nixos []
7GHAAWO8X has joined #nixos
<7GHAAWO8X> [nixpkgs] vbgl closed pull request #30565: maintainers: add Kevin Quick (master...kquick_maintainer) https://git.io/vd7nJ
7GHAAWO8X has left #nixos []
<ldlework> clever I reduced things down to: self: super: { plugins = { foo = "bar"; }; } in my overlay file but it says it can't find plugins in the Nix search path.
<clever> ldlework: overlays dont add it to the search path
<ldlework> I did `so anytime plugin's is imported, you have to` just to try it
<clever> ldlework: that allows you to access "bar" at pkgs.plugins.foo
<ldlework> oh right its pkgs
<ldlework> 🤦‍♂️
leat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kquick opened pull request #30568: Theft: add new theft development library (master...theft) https://git.io/vd7C0
NixOS_GitHub has left #nixos []
proteusguy has joined #nixos
jb55 has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Ping timeout: 248 seconds)]
chaker has joined #nixos
<ldlework> clever I can do `config._module.args.plugins = {foo = "bar";};` but as soon as I do `config._module.args.plugins = plugins;` I get infinite recursion.
ma27 has quit [(Quit: WeeChat 1.9.1)]
<ldlework> Where the assigned plugins value is the result of `plugins = pkgs.plugins args`
ma27 has joined #nixos
<ldlework> and the overlay is defined as `self: super: { plugins = import ../plugins.nix; }`
<ldlework> and plugin.nix is defined as function
chaker has quit [(Client Quit)]
<clever> not sure then
chaker has joined #nixos
<ldlework> ` config._module.args.plugins = import ../plugins.nix args;` works without an overlay, until I actually use the plugins argument in a module
<ldlework> then I get infinite recursion
<ldlework> I don't think this _module.args trick works very well
MercurialAlchemi has quit [(Ping timeout: 248 seconds)]
<ldlework> no matter what I do, even with simple values, as soon as I use the parameter in a new module, boom
ma27 has quit [(Ping timeout: 260 seconds)]
odi_ has joined #nixos
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
ma27 has joined #nixos
chaker has quit [(Quit: WeeChat 1.9.1)]
odi__ has quit [(Ping timeout: 255 seconds)]
ertes has quit [(Ping timeout: 255 seconds)]
chaker has joined #nixos
chaker has quit [(Client Quit)]
chaker has joined #nixos
thc202 has joined #nixos
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kquick opened pull request #30569: Fgitrev cert (master...fgitrev_cert) https://git.io/vd78U
NixOS_GitHub has left #nixos []
<ldlework> I think the problem is that I'm importing the plugin packages, and passing the module arguments to them, but then putting the plugin packages -into- the module arguments
<ldlework> and that's where the recursion comes from
<ldlework> so if I'm going to go that way it seems like the plugins would not be able to use any of the module arguments
ma27 has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Ping timeout: 258 seconds)]
p4cman has joined #nixos
MichaelRaskin has quit [(Quit: MichaelRaskin)]
<Li[m]1> the exemple with 'service.acpid.handlers' in the man page doesnt work
<Li[m]1> but I tried making the action simply creat a file, which it does, so the event is trigerred, but using 'amixer ...' doesnt have any effect
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ibor opened pull request #30570: ocamlPackages.csv: Fix source URL (release-17.09...ibor-17.09) https://git.io/vd78j
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kquick opened pull request #30571: modex: add modex analysis tool package (master...modex) https://git.io/vd74l
NixOS_GitHub has left #nixos []
orivej has joined #nixos
ixxie has joined #nixos
pie___ has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
orivej has quit [(Read error: Connection reset by peer)]
scribbler has quit [(Remote host closed the connection)]
ixxie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli opened pull request #30572: twilio: init at 6.8.0 (master...twilio) https://git.io/vd7B1
NixOS_GitHub has left #nixos []
ylwghst has joined #nixos
goibhniu has joined #nixos
justanotheruser has quit [(Ping timeout: 240 seconds)]
mortum5 has joined #nixos
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 252 seconds)]
<Li[m]1> allright, amixer wasnt working because pulseaudio is running
ThatDocsLady has joined #nixos
pxc has joined #nixos
pxc has quit [(Ping timeout: 246 seconds)]
notdaniel has joined #nixos
<srhb> Is gpg-zip hiding in some package?
<Li[m]1> iv narrowed my problem to pulseaudio-user-related. my user can access the pulseaudio daemon, but root cant
<clever> ]$ nix-locate gpg-zip
<clever> gnupg1orig.out 3,414 x /nix/store/6d7cs7ivz6lh9m0rji4jlbk67l3w501j-gnupg-1.4.21/bin/gpg-zip
<srhb> Huh.
scribbler has joined #nixos
<srhb> It's not in gnupg2 apaprently
<srhb> Nor in gnupg1..
ison111 has quit [(Ping timeout: 255 seconds)]
<srhb> Apparently gnupg1orig is the one.
<clever> yep, thats what nix-locate said
<clever> no idea what you will loose by going to such an old version
<hyper_ch> so, during boot up, I can't enter encrypted zfs password with an attached usb keyboard... I guess I just have to load the usb modules in the initrd as well?
<clever> hyper_ch: yeah
<clever> check lsmod for anything hci, usb, or hid related and throw it into boot.initrd.availableKernelModules
<hyper_ch> usbhid probably
<hyper_ch> and there's also usbstorage
FRidh has joined #nixos
<clever> you also need a usb driver for the controller
<clever> which calls under hci
<hyper_ch> will try
<hyper_ch> hmm, I already have plenty of stuff in the availableKernelModules.... whats the different between boot.initrd.kernelModules and boot.initrd.availableKernelModules ?
<clever> kernelModules are forcibly loaded
<clever> availableKernelModules are just available, and udev will auto-load them as needed
<hyper_ch> ok
ylwghst has quit [(Quit: Lost terminal)]
<srhb> Can I merge an option value with its default?
<hyper_ch> clever: so, trying boot.initrd.kernelModules = [ "hid" "usbhid" "xhci_hcd" ];
ixxie_ has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vd7uD
<NixOS_GitHub> nixpkgs/master 65256b7 Joerg Thalheim: wireguard: 0.0.20171011 -> 0.0.20171017
NixOS_GitHub has left #nixos []
<Mic92> hyper_ch: ^
<Mic92> you will need that version
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vd7uH
<NixOS_GitHub> nixpkgs/release-17.09 2181a93 Joerg Thalheim: wireguard: 0.0.20171011 -> 0.0.20171017...
NixOS_GitHub has left #nixos []
gilligan_ has joined #nixos
<gilligan_> hey
<gilligan_> is cache.nixos.org broken right now somehow?
<hyper_ch> Mic92: thought it would be in unstable small meanwhile :)
<hyper_ch> gilligan_: you broke it? oO
<gilligan_> i am not getting any response
<clever> gilligan_: 404 for me
<clever> looks normal
<gilligan_> clever, oh.. you are actually right. I have no clue why chrome is telling me `ERR_INVALID_RESPONSE` tbh
<clever> geolocated dns replies and cloudfront mirrors
Wizek_ has joined #nixos
<gilligan_> clever, my nix-shell invocation (of a bundix generated ruby env) is stuck with several download-from-binary-cache.pl calls and i have honestly no idea how to work around that apart from setting use-binary-caches to `false` which would require a LOT of patience then.... ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #30573: kde-frameworks: 5.38 -> 5.39 (master...u/kf5) https://git.io/vd7zc
NixOS_GitHub has left #nixos []
<ikwildrpepper> gilligan_: you can try with https://nix-cache.s3.amazonaws.com/ if you continue having errors
<ikwildrpepper> this will bypass cloudfront
<gilligan_> ikwildrpepper, oh thanks i will try that - what's the correct option for that? `--option binary-caches ["http://..."] ?
ssmike has joined #nixos
iqubic has quit [(Ping timeout: 252 seconds)]
Wizek has joined #nixos
<ikwildrpepper> --option binary-caches https://nix-cache.s3.amazonaws.com/ I think
<gilligan_> thank you
<ikwildrpepper> note that you either need to be root, or your user must be in trusted-users (or https://nix-cache.s3.amazonaws.com/ must be part of trusted-binary-caches)
garbas has joined #nixos
scribbler has quit [(Ping timeout: 260 seconds)]
mortum5 has quit [(Ping timeout: 240 seconds)]
scribbler has joined #nixos
<gilligan_> ikwildrpepper, yeah i just realized that when i tried to add the cache as trustedBinaryCache and then ran nixos-rebuild which is now trying to use nixos cache again hehe.. which fails
kiloreux_ has joined #nixos
kiloreux has joined #nixos
<gilligan_> ikwildrpepper, but i can specify the option to nixos-rebuild.. that works
sirkha_ has quit [(Ping timeout: 260 seconds)]
<gilligan_> ikwildrpepper, fixed my problem. Thanks alot for your help
notdaniel has quit [(Quit: Leaving)]
Svarog has joined #nixos
ThatDocsLady has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
<betaboon> how can i access 'lib' in a shell.nix ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vd727
<NixOS_GitHub> nixpkgs/master c0e00ef Vladimír Čunát: knot-dns: fix `kdig +tls` broken in 2.6.0
NixOS_GitHub has left #nixos []
MP2E has quit [(Remote host closed the connection)]
<betaboon> nvm, got it
sigmundv has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vd7aO
<NixOS_GitHub> nixpkgs/release-17.09 eeeee66 Vladimír Čunát: knot-dns: fix `kdig +tls` broken in 2.6.0...
NixOS_GitHub has left #nixos []
pxc has joined #nixos
Wizek_ has quit [(Ping timeout: 248 seconds)]
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
pxc has quit [(Ping timeout: 252 seconds)]
p4cman has quit [(Quit: Connection closed for inactivity)]
scribbler has quit [(Ping timeout: 255 seconds)]
Wizek_ has joined #nixos
scribbler has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.9.1)]
erictapen has joined #nixos
infinisil has quit [(Ping timeout: 240 seconds)]
civodul has joined #nixos
hlavaty has joined #nixos
<Profpatsch> I’ve got two stages of LUKS decryption: first the root device should be decrypted, then the RAID is decrypted with a key file on the root.
<Profpatsch> I suspect just putting everything in initrd.luks.devices won’t work, right?
<hyper_ch> nope
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vd7wi
<NixOS_GitHub> nixpkgs/master 0bc4216 Nikolay Amiantov: Merge branch 'staging'
NixOS_GitHub has left #nixos []
lsix_ has quit [(Ping timeout: 258 seconds)]
<Profpatsch> hyper_ch: Should I put manual cryptsetup commands in the initrd.postDeviceCommands hook?
<hyper_ch> Profpatsch: crypttab should do the trick no idea how to use that on nixos
<hyper_ch> but what is the reason for the double encryption?
lsix_ has joined #nixos
<Profpatsch> I reckon it should be possible to describe trees of luks devices to be decrypted via nix expressinos.
<Profpatsch> hyper_ch: Because I have a bunch of RAID drives and a root device with the system.
<hyper_ch> I guess it is
<hyper_ch> as said, on debian I put addition drives etc in crypttab
<Profpatsch> hyper_ch: thanks for the crypttab pointer.
<Mic92> hyper_ch: the version with error handling was not even released back then.
<hyper_ch> Profpatsch: I have like that https://paste.simplylinux.ch/view/raw/6390660b
<hyper_ch> on a debian
infinisil has joined #nixos
<infinisil> Whew, saved by nixos generations yet again
<hyper_ch> infinisil: how so?
<Svarog> when building a rust package with nixos, i'm getting an error "fatal: Not a valid branch point: '<some hash>'" - i've read this happens when there is a conflict with dependencies: https://github.com/NixOS/nixpkgs/issues/15687
<Svarog> how does something like this get resolved? why does building a rust package create a git branch (the message immediately before the failure is that some gir branch is being created)?
<infinisil> hyper_ch: I wanted to build my server with nixops instead of sshing,nixos-rebuild, which didn't work because the local build of the server includes /etc/nixos/hardware-configuration.nix which of course is the one from the local machine
<hyper_ch> infinisil: you just need to do as clever does :)
<infinisil> That is?
<hyper_ch> some really advanced nixos-magic :)
<hyper_ch> but now that you know the problem you can fix it :9
<infinisil> Yeah I just need to include the hardware config in my config repo
<adisbladis> Nixops <3 The only bad thing is I barely have to touch our nixops machines.. It's too boring :(
<infinisil> Ohhh shit, I have zsh auto completion for files over ssh
<hyper_ch> just noticed that qtpass works again - yey
<adisbladis> Every upgrade works without a hitch
<infinisil> Yeah it's really nice
<infinisil> Alright, let's try this again, including the servers hardware config now
<hyper_ch> go for it!
<hyper_ch> nixops looks nice
ixxie has joined #nixos
<hyper_ch> once I get rt-ps run on nixos, maybe I can use it for my homeserver
<hyper_ch> infinisil: btw, using zfs?
<infinisil> yup
<adisbladis> hyper_ch: I'm running a 3 datacenter setup with nixops, so nice with the re-use of resources.
<hyper_ch> :)
<hyper_ch> Profpatsch: figured it out yet?
<infinisil> adisbladis: I've had this idea for a while, do you think it would be useful to manage data with nixos?
<Profpatsch> hyper_ch: Reading the module implementation of boot.initrd atm
<adisbladis> infinisil: What kind of data?
<infinisil> E.g. specify that this is your music library, mounted here, if you change the location, the data gets automatically moved
<adisbladis> infinisil: Sounds pretty nifty :)
<infinisil> Could work over multiple machines with nixops
<adisbladis> But also.. Data is state so I don't know..
<infinisil> Yeah I'm also unsure about that
<infinisil> but you'd only manage the location of the state
<infinisil> not the state itself
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
bennofs has joined #nixos
infinisil has joined #nixos
<infinisil> It.. worked?
<infinisil> \o/
<infinisil> Truly magical
<adisbladis> infinisil: I guess. I think you are on to something. =)
<hyper_ch> Profpatsch: boot.initrd.postMountCommands = "cryptsetup luksOpen --key-file /path/to/keyfile /dev/sdX mapper_name";
orivej has joined #nixos
<adisbladis> Would be pretty nifty to tie configuration to data location
<Profpatsch> hyper_ch: Maybe, but that’s a hack.
<adisbladis> Makes things very nicely explicit
<Profpatsch> Uh, initrd.extraUtilsCommands is a pretty big abstraction fuckup as well.
<hyper_ch> and then just mouont /dev/mapper/mapper_name
<hyper_ch> well, was just a suggestion
<Profpatsch> thx
<adisbladis> infinisil: The problem I see is rollbacks and partial completions since this is not atomic.
<betaboon> is there a way to resolv a relative path to an absolute one? I
<infinisil> adisbladis: Hmmm...
<betaboon> I'm trying to pin $NIXOPS_STATE to a path within the local checkout of a git repository. any ideas ?
csingley has joined #nixos
<infinisil> adisbladis: How about requiring a file .nix-data in the datasets root location, which contains nix relevant info regarding this dataset
<infinisil> adisbladis: moving data would put into this file if the data has been moved completely, and maybe other stuff
<infinisil> This seems actually pretty nice, and I feel like this could even work
<ixxie> betaboon: what do you mean pin it to path?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vd7oH
<NixOS_GitHub> nix/master ef1d014 Eelco Dolstra: Revert "Let's not populate the NAR cache from hydra-queue-runner for now"...
NixOS_GitHub has left #nixos []
scribbler has quit [(Ping timeout: 248 seconds)]
<infinisil> betaboon: toPath ./. + "/relativePath"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vd7oN
<NixOS_GitHub> nixpkgs/master 1360c35 Nikolay Amiantov: driversi686Linux: init...
NixOS_GitHub has left #nixos []
<infinisil> I am very attempted right now to use nixops for my local machine too..
bennofs has quit [(Quit: WeeChat 1.9.1)]
<hyper_ch> go ahead - what could possibly go wrong
<infinisil> I mean, if I just use 127.0.0.1 as the host, it's pretty much the same as nixos-rebuild switch
<Profpatsch> hyper_ch: crypttab is actually read by systemd on bootup.
scribbler has joined #nixos
<Profpatsch> So setting environment.etc.crypttab.text should do the trick.
<adisbladis> infinisil: Maybe.. I think it require a bit of thought but I like the general idea :)
<adisbladis> infinisil: Huh? What would the advantage be?
ylwghst has joined #nixos
<infinisil> adisbladis: My local machine and the server is tightly coupled, I always edit both at once
<infinisil> with nixops i can build both configs at once and switch to them
<adisbladis> infinisil: Ahh check.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #30574: pythonPackages.phonenumbers: 8.8.2 -> 8.8.4 (master...phonenumbers-8.8.4) https://git.io/vd7Kz
NixOS_GitHub has left #nixos []
<vincent_vdk> is anyone using nixos on Openstack?
<hyper_ch> Profpatsch: :)
<vincent_vdk> or is it difficult to build a qcow image for Openstack?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar closed pull request #30433: CUDA-related updates and cleanups (master...cudatoolkit) https://git.io/vdMeY
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 240 seconds)]
<infinisil> And if home-manager's nixos module works (rycee has made a draft of it), I could even put my home-manager's config together, then I have 1 repo and command to run for nixos-rebuilds for all machines along with ~ setup
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #30575: uftp: 4.9.3 -> 4.9.4 (master...uftp_4.9.4) https://git.io/vd7Kd
NixOS_GitHub has left #nixos []
<adisbladis> infinisil: Ohh so home manager would hook into "nixos-rebuild" ?
simukis has joined #nixos
<infinisil> yup
<ixxie> oh cool
<adisbladis> That is awesome
<ixxie> I was just asking him about this a few days ago
<adisbladis> infinisil: <3
<ertes-w> i need to create a live-USB system that boots into a specific script of mine on VT 1, kinda like an installer… which options should i be looking at?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar closed pull request #30434: Build Tensorflow from source (master...tensorflow) https://git.io/vdMe9
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar closed pull request #30492: cntk: init at 2.2 (master...cntk) https://git.io/vdy1I
NixOS_GitHub has left #nixos []
<adisbladis> infinisil: You are making me consider the same setup :D
<infinisil> adisbladis: the nixops thing or the home-manager thing?
<adisbladis> Both :D
<adisbladis> Already happily using home-manager
kiloreux__ has joined #nixos
<infinisil> :D
<adisbladis> infinisil: What are you doing about the state?
<adisbladis> Because Ideally I can deploy from either machine
<adisbladis> Could just check the state in to git I guess..
<infinisil> Hmm right, didn't think about this yet
<infinisil> Yeah
kiloreux_ has quit [(Ping timeout: 240 seconds)]
kiloreux has quit [(Ping timeout: 240 seconds)]
kiloreux has joined #nixos
<infinisil> But I mean, does a normal nixos machine in nixops even have state?
Ridout has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30572: twilio: init at 6.8.0 (master...twilio) https://git.io/vd7B1
NixOS_GitHub has left #nixos []
p4cman has joined #nixos
<adisbladis> infinisil: Well you are going to have deployment state.
<ixxie> infinisil: I have also been searching for a one-config-to-rule-them-all scenario, and was thinking atm to have my nixos config as a submodule of my home-manage config, so that I could clone that repo into a new machine and run a single setup script to simlink everything to place
<ertes-w> is nixops still stateful?
<ixxie> infinisil: but that still requires two repos and to seperately build both
<adisbladis> ixxie: My whole config is tied together with submodules http://github.com/adisbladis/nixconfig/
<infinisil> ixxie: Yeah, a home-manager module would be nicer
<betaboon> infinisil: thank you toPath ./. did the trick
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #30576: pythonPackages.fontconfig: init at 0.5.1 (master...fontconfig) https://git.io/vd7ia
NixOS_GitHub has left #nixos []
ylwghst has quit [(Quit: Lost terminal)]
TweyII has joined #nixos
<infinisil> adisbladis: Oh, "hosts" as a folder name sounds much nicer than my "machines"
TweyII is now known as Guest44693
<infinisil> Mine is here, not too clean just yet: https://github.com/Infinisil/system
<ixxie> and less vague than my 'systems'
dejanr has quit [(Ping timeout: 246 seconds)]
keta_suki has joined #nixos
<hyper_ch> btw, how would I use wayland instead of x11?
<ixxie> infinisil: where is your nixops stuff at?
<infinisil> ixxie: Just added this, not yet pushed to github
dejanr has joined #nixos
<infinisil> ixxie: should be there now
<ixxie> right
<infinisil> It couldn't be simpler really
<ixxie> indeed
<infinisil> Can I combine the 2 nixops files into 1?
<ixxie> how does import /cfg/machines/dobby find dobby?
<ixxie> shouldn't it be like ../machines/dobby?
fendor has joined #nixos
<infinisil> Oh right
<ixxie> you moved it I guess Xd
<ixxie> xD
<infinisil> /cfg is where the system repo is
<infinisil> and i had the nixops files in ~/Test/nixops before
<ixxie> yeah
<ixxie> makes sense
<infinisil> system config is in /cfg, home-manager config is in ~/cfg :D
scribbler has quit [(Ping timeout: 260 seconds)]
Ivanych has joined #nixos
m0rphism has joined #nixos
gilligan_ has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Ping timeout: 240 seconds)]
<infinisil> Ohh, I actually don't need nixos-config in NIX_PATH anymore when I'm using nixops for the local machine
<betaboon> infinisil: how do you handle overlays in nixops ?
<infinisil> Adding them to the system configs nixpkgs.overlays option
<infinisil> I haven't done that, but that's how I'd do it
<adisbladis> Yeah should be nothing special
scribbler has joined #nixos
<betaboon> I'm currently using a shell.nix to pin nixpkgs-channel and constrain everything to a single directory. so I'm settings NIX_PATH, NIXOPS_DEPLOYMENT and NIXOPS_STATE in a shellHook. just trying to figure out how to properly set the NIX_PATH for the overlay.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] b123400 opened pull request #30577: buildNodePackage: Fix impure packages patching (master...fix-npm-empty-ver) https://git.io/vd71I
NixOS_GitHub has left #nixos []
<gchristensen> you can set overlays in your nixops module
<betaboon> gchristensen: how would you do that ?
<infinisil> Heh: The authenticity of host 'localhost (::1)' can't be established.
<adisbladis> infinisil: That ip looks fishy
<infinisil> I recently got hacked by 127.0.0.1, i didn't have chance, he was using algorithms
iyzsong has joined #nixos
<adisbladis> :D
<gchristensen> infinisil: you needed more firewalls
<infinisil> networking.firewall.count = 10;
<gchristensen> networking.firewall.count = 11; # be safer than infinisil
ericsagnes has quit [(Ping timeout: 240 seconds)]
ericsagnes has joined #nixos
<infinisil> networking.firewall.count = (import <nixpkgs/nixos> { configuration = fetchFromGitHub { owner = "grahamc"; repo = "systemconfig" }; }).config.networking.firewall.count + 1;
<betaboon> gchristensen: yeah that's how i do it currently on my nixos-machines. I'm using "nixpkgs.overlays = [(import <nixpkgs-overlays>)];" combined with nix.nixPath in the machine configuration.
<adisbladis> If you both have that it would be amazing
<infinisil> That would be interesting
<gchristensen> betaboon: that looks fine
<betaboon> gchristensen: now for this nixops setup i have prepared a shell.nix, that sets the NIX_PATH environment variable.
ylwghst has joined #nixos
leat has quit [(Ping timeout: 240 seconds)]
<betaboon> now when i use the nixpkgs.overlay in a nixops machine-configuration i end up with an infinite recursion :/
<gchristensen> what is your NIX_PATH set to?
<betaboon> let me put up something on gist
<gchristensen> why aree you using <nixpkgs-overlays> instead of a relative path to your actual overlay?
pikajude has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<betaboon> because i have the overlay in a seperate git-repo and want to set it like "https://github.....tar.gz" and that was the way i found that worked for me
fendor has quit [(Ping timeout: 258 seconds)]
gilligan_ has joined #nixos
erictapen has quit [(Ping timeout: 260 seconds)]
<gchristensen> ah
m0rphism has quit [(Ping timeout: 252 seconds)]
<betaboon> makes sense ?
phreedom has quit [(Ping timeout: 240 seconds)]
<gchristensen> this is really nicely donne
<betaboon> just collecting together the best practices :) thanks to the open and sharing community :)
<gchristensen> :) can you do the thing that caused the error? does it come with a stack trace?
<betaboon> just started a new job and i convinced them to ditch their docker plan and go completly with nix XD
erictapen has joined #nixos
<betaboon> let me try to find some reproducability constrains
<gchristensen> wow! awesome :D
pxc has joined #nixos
ebzzry has quit [(Quit: WeeChat 1.9.1)]
<betaboon> but they don't know anything about it, so i have to be very careful in educating them the right way, without building up frustration. so well structured and commented code is the way to go :)
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
<sphalerite> That is impressive
<sphalerite> Gj betaboon!
m0rphism has joined #nixos
<moredhel1> I just updated my system, and the display-manager crashed, as well as my account being logged out. I'm currently looking through journalctl -xb. Are there any known breaking changes that have gone into master? I'm running unstable.
pxc has quit [(Ping timeout: 248 seconds)]
<gchristensen> moredhel1: can you run nix-info?
<moredhel1> yep
<moredhel1> err, doesn't exist
scribbler has quit [(Ping timeout: 252 seconds)]
<moredhel1> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(root): "nixos-18.03pre118082.00e56fbbee", channels(moredhel): "nixpkgs-18.03pre115883.700b0945b1", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
pikajude has joined #nixos
<moredhel1> so it happens when I do either a nixos-rebuild switch/root
joehh has joined #nixos
<gchristensen> hmm not familiar with anything in particular, you might need to go dig through the history and either report a bug or fix something :)
erictapen has quit [(Ping timeout: 255 seconds)]
<joehh> If I have a nixos computer with two interfaces (so two routes out to the internet - one adsl and one 4g - two different isps), what is the best way to manage which route will get priority?
<moredhel1> sure. I'm reading through the journal now... but at the moment my system is in a broken state. I guess I can revert my nixpkgs back to a working version
<joehh> I'm not interested in load balancing, just having a backup option when one of the connections fails
<moredhel1> I ran it in a vm and it works fine though... so that's weird
<gchristensen> joehh: if I had to guess, your default route would do it
<joehh> I could have a script/service running and checking connectivity on each route then rewrite something in /etc/nixos/ and nixos-rebuild switch each time I want to change
<gchristensen> joehh: I don't know, though. find how to do it on Linux normally, and then we can figure out how to do it on nixos
<joehh> but doing a rebuild switch for each change it seems a little heavy handed
ThatDocsLady has quit [(Quit: Leaving)]
<joehh> I'll keep reading :)
<betaboon> gchristensen: i updated the gist to include the trace and some more context
scribbler has joined #nixos
<gchristensen> betaboon: overlay-default.nix ... is this just nixpkgs?
<sphalerite> joehh: if you use network-manager it should default to the ADSL one I believe
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<betaboon> gchristensen: overlay-default.nix is the "default.nix" with is in the directory where nixpkgs-overlays= points to
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<gchristensen> yeah but it looks like it is a clone of nixpkgs
erictapen has joined #nixos
<sphalerite> joehh: the way you'd manage the priority manually is using `ip route` to set the metric of the preferred one lower
<betaboon> gchristensen: don't be confused with the path names in my overlay. i am shadowing the nixpkgs, path structure
<gchristensen> ahh
<betaboon> so that i can simply move packages etc from nixpkgs to my overlay
jtojnar_ has quit [(Quit: jtojnar_)]
<joehh> sphalerite: thanks, so no probs having a service alter that "on the fly"
<betaboon> eg when an older version of a package i rely on got removed from nixpkgs, i can simply put that expression into my overlay and everything works as before
<betaboon> (recently had to do that when django_1_11 got removed)
S0rin has quit [(Ping timeout: 248 seconds)]
<sphalerite> joehh: yes, or just using network-manager (assuming you want to use ADSL when available)
<joehh> kind of feels a little unnixish, but I think the purpose kind of requires it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #30522: docker: add 17.10.0-ce (master...docker_17_10) https://git.io/vd9id
NixOS_GitHub has left #nixos []
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<joehh> though I'm not sure nm will be able to tell, each interface is just an ethernet cable to a router, one with a 4g card, one with adsl and potentially one in the future with satellite
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vd7y7
<NixOS_GitHub> nixpkgs/release-17.09 5934687 Tim Steinbach: docker: add 17.10.0-ce...
NixOS_GitHub has left #nixos []
<joehh> but from computers view, just separate ethernet networks
<joehh> (4 nics available)
simukis has quit [(Ping timeout: 252 seconds)]
<gchristensen> betaboon: ./pkgs/top-level/all-packages.nix <- does this not have pythonPackages it?
<betaboon> gchristensen: no it does not
<gchristensen> :/ I'm not sure why you're recurring
<betaboon> what do you mean ?
ThatDocsLady has joined #nixos
<hyper_ch> infinisil: so, used now nixops?
ma27 has joined #nixos
<infinisil> hyper_ch: Not yet
<infinisil> I need to allow ssh from localhost :P
S0rin has joined #nixos
<sphalerite> joehh: aaah right. In that case I think you'd have to set up the preference manually in nm. In which case using nixos config is probably nicer since that's declarative
<hyper_ch> you turned of ssh from localhost for security reasons?
<gchristensen> betaboon: I don't know why this doeesn't work. try commenting out pythonxPackages
<infinisil> hyper_ch: It's not on by default
<hyper_ch> :)
ylwghst has quit [(Quit: Lost terminal)]
<betaboon> gchristensen: i added all-packages.nix and python-packages.nix to the gist
<gchristensen> betaboon: did you try commenting out pythonxPackages?
<betaboon> gchristensen: same error with all the python-stuff commented out in overlay-default.nix
<betaboon> (not neccesarily same trace tho)
<betaboon> on a quick view it looks like the same trace
<infinisil> Ohh, hmmm, I guess I can't do something like nixos-rebuild test with nixops
<gchristensen> I'm having a hard time with this b/c I don't really know how overlays work :/
<gchristensen> I don't think I can help, betaboon, I'm sorry
<betaboon> gchristensen: nothing to be sorry about. thanks for being a good rubber-duck tho :)
<gchristensen> :) good luck
<gchristensen> try using builtin.trace around
<betaboon> good point
<infinisil> betaboon: can you post the gist again?
<joehh> any problems with frequent nixos-rebuild switch?
<sphalerite> not really, no
<betaboon> i realy want to be able to say "dont ever put nixops in your systemPackages. only run "nix-shell" and then do "nixops XYZ" :P
<sphalerite> You'll get a lot of system generations but they don't really take up any space unless you've got major changes between them
<joehh> all I am aware of is need to gc relatively regularly, but I imagine we'll limit rates to prevent flapping
Ridout has quit [(Quit: Lost terminal)]
<joehh> something like no more 1 change every 5-10 minutes
<sphalerite> joehh: why?
<sphalerite> oooh wait I see
<gchristensen> joehh: I'd recommend making a system that does it without the nixos-rebuild switch
<sphalerite> well that seems like a stateful thing to do, so something that shouldn't be encoded in the nixos config
<sphalerite> ^
<gchristensen> if possible
<joehh> I suspect that is the best option, put both/each network in nix config, but the selection of the primary route is made at run time based on situation
<gchristensen> yeah
<sphalerite> exactly
<joehh> also wanting to manage via nixops (each device connecting to central network via openvpn), so not wanting nixops managed configuration.nix to get out of sync
<sphalerite> What you want to have in your config is "prefer x over y whenever x is available", not "use x"
<joehh> yes - exactly
ivanivan has joined #nixos
<gchristensen> all my nixops deployment can't use nixos-rebuild
simukis has joined #nixos
<gchristensen> I've had too many accidents doing it by mistake
<joehh> right - so go one way or the other
<infinisil> what's the bad thing on doing that?
<joehh> to much risk of overwriting/losing changes?
<gchristensen> nixops doesn't copy your config over
<gchristensen> so if you switch, you break your server and your network and probably your user
<joehh> ahhh - very good to know :)
<ivanivan> I'm using nix on ubuntu, subscribed to the nixpkgs-unstable channel.
<ivanivan> If I add nixos-unstable to my channels, will I be able to install/use packages from there?
<ivanivan> I'm a little fuzzy on the distinction between those channels.
<betaboon> that's why i want to get everything done with just git+nix-shell+nixops
<joehh> devices will be in very remote locations collecting environmental data, breaking network would be a bad thing
<infinisil> Ah, and I won't even have my config on the server, so I can't even rebuild there
<betaboon> joehh: breaking network is always a bad thing xD
<betaboon> infinisil: any thoughts on the gist ?
<gchristensen> ivanivan: there is no difference in the package set:)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vd796
<NixOS_GitHub> nixpkgs/master 0b409b3 Tim Steinbach: linux-copperhead: 4.13.7.a -> 4.13.8.a
NixOS_GitHub has left #nixos []
<infinisil> betaboon: I looked at it, but there's so much stuff going on that i gave up :P
<infinisil> Try reducing the problem to a minimum
<gchristensen> ivanivan: the only difference is nixos-* gets more testing
<infinisil> I can't see anything that's obviously wrong
ixxie has joined #nixos
<joehh> :) especially if they are several thousand kms away and at best 2-3 flights + long drive
<infinisil> What does nixops do to not break the network connection?
<betaboon> infinisil: thanks for looking anyway. but yeah its alot to take in.
<gchristensen> infinisil: the key part is the _config_
<infinisil> Because it just broke the network connection for me an hour ago..
<gchristensen> infinisil: it can break your network, sure
<infinisil> Ah right
<joehh> it does feel like this should be a solved problem somewhere, but everything I've managed to find seems to be solving a more complex problem (two way routing)
<gchristensen> infinisil: but your target server has a default config, which doeesn't work
<gchristensen> joehh: what're you doing? :)
<ivanivan> gchristensen: Good to know, thanks! I'm asking, however, because it looks like the alacritty package is only available on nixos-unstable.
<sphalerite> joehh: what exactly do you want to do? Just always use the best available one?
<infinisil> joehh: I can think of doing something like `activate-configuration; if [ ! curl google.com ]; then rollback`
<moredhel1> gchristensen (IRC): I figured it out. Not sure if it's a bug though... but I had some docker volumes setup, ran 'nixos-regenerate-config' as I had added a new mount (unrelated), then run 'nixos-rebuild switch'. It then tried to unmount then remount the docker volumes.
<joehh> infinisil: that is pretty much the aim, I'm going to have a variety of network connections each with different costs to use and I'd like to use the best/cheapest at a time
<joehh> ie perfer adsl when working, then 4g then satelite
<joehh> due to remote location, not uncommon to lose one or more network options for a day+ at a time
<joehh> satellite is pretty reliable, but have least data available
<gchristensen> ooohhh
scribbler has quit [(Ping timeout: 258 seconds)]
<ixxie> betaboon: the usecase in your work scenario didn't include the need for orchestration / load balancing I guess?
<joehh> going out on a number of jettys, sheds, towers to collect wave/tide/wind/pressure data
<gchristensen> joehh: may I PM?
<joehh> yes
scribbler has joined #nixos
ivanivan has quit [(Quit: WeeChat 1.9.1)]
<betaboon> ixxie: not currently. but it will at some point.
<betaboon> ixxie: I'm just laying the foundation for the whole new project :)
simukis has quit [(Ping timeout: 255 seconds)]
<sphalerite> gchristensen joehh : I'm curious, would like to see what you come up with
<sphalerite> (any particular reason to pm? Just volume?)
<ixxie> betaboon: because I had this discussion with gchristensen and other last week, and the conclusion - unless I was mistaken - is that Nix/OS/Ops doesn't handle that orchestration stuff well
<gchristensen> it does
<gchristensen> just not like docker does
<ixxie> betaboon: so I started thinking about using it in tandem with Docker/Kubernates
<ixxie> hmm
<gchristensen> not magically, like docker does
<ixxie> right
<ixxie> and I guess its even further from what Kubernates can do
<betaboon> ixxie: to be honest, I'm juming head-first into very cold water. i haven't read up on the problems that you can run into that much. i solve the problems as i go. but I'm confident enoug to think that nix will not stand in the way. only the current state of implementation. and that is not a problem to me.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 8 new commits to master: https://git.io/vd7Q4
<NixOS_GitHub> nixpkgs/master 8484725 adisbladis: plasma: 5.10.5 -> 5.11.1
<NixOS_GitHub> nixpkgs/master f8368f6 adisbladis: plasma5.plasma-vault: init at 5.11.1
<NixOS_GitHub> nixpkgs/master 0d45be3 adisbladis: sddm: 0.15.0 -> 0.16.0
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #30305: plasma: 5.10.5 -> 5.11.1 (master...plasma-5_11) https://git.io/vdrtL
NixOS_GitHub has left #nixos []
gilligan_ has quit [(Ping timeout: 252 seconds)]
<ixxie> makes sense betaboon, you can always integrate your configs to some other orchestrater down the road
<ixxie> I was thinking it would be cool to build good integration between Nix and Kubernates
<betaboon> ixxie: I'm planning on deploying directly onto EC2. i don't know that much about docker and kubernates, so i cant compare.
<betaboon> ixxie: what do you expect to be the biggest benefit from that ?
<infinisil> it's kubernetes btw
<betaboon> infinisil: i wouldn't know xD
<ixxie> thanks infinisil, still getting used to that weird ass spelling
<moredhel1> ixxie, people are working on kubernetes/nix stuff. I think something is being worked on for NixCon
<joehh> sphalerite: I'm keen to share fairly soonish
<ixxie> cool moredhel1, ill keep an eye out on the videos afterwords
<joehh> I reckon there will be a nice presentation or similar
<ixxie> moredhel1: theres a talk scheduled or is it a hackathon thing?
<infinisil> Maybe gonna steal that
<moredhel1> lemme have a look at the schedule...
<gchristensen> do! :)
<ixxie> betaboon: I think its interesting for the scenario where you wanna set up your own cloud platform
<moredhel1> Has Nix a future? – The future of Nix(Ops) in the age of orchestrators and microservices by Maarten Hoogendoorn
<joehh> moredhel1: I certainly hope so :)
simukis has joined #nixos
<sphalerite> joehh: sweet
keta_suki has quit [(Quit: WeeChat 1.9.1)]
FRidh has joined #nixos
<ixxie> moredhel1, yeah that seemed interesting indeed. I will have to watch it once its online
<moredhel1> joehh (IRC): it's an interesting talk! I'm looking forward to it.
gilligan_ has joined #nixos
reinzelmann has joined #nixos
<infinisil> gchristensen: Modified it a bit: https://gist.github.com/Infinisil/244a746fef613d25694c81f08248f0d5
ylwghst has joined #nixos
<infinisil> Need cleanSource because I'm using a git checkout of nixpkgs
<ylwghst> Hi
<ylwghst> Why I'm not able kill xserver/gnome/shell by systemctl stop display-manager?
<infinisil> ylwghst: what's the error?
<ylwghst> infinisil: no error
<ylwghst> nothing happens
<infinisil> did you check the journal?
<hyper_ch> infinisil: do you normally run latest kernel?
<infinisil> hyper_ch: I'm using nixos-unstable, so probably
<hyper_ch> nah, that's not latest
<hyper_ch> I thought it was you who told me how to run latest
<infinisil> ah, then not i guess
<ylwghst> im not very familiar with journalctl yet how can i show only last messages?
<infinisil> journalctl -u display-manager -e
<infinisil> -e just scrolls to the bottom, -u selects the unit
<avn> -r also useful, show last messages on top
<infinisil> oh nice
<avn> (in reversed order)
<ylwghst> kool
leat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #30548: tensorflow: dont include cudatoolkit unless cudaSupport is used (master...tensorflow-without-cudatoolkit) https://git.io/vdQW0
NixOS_GitHub has left #nixos []
<ylwghst> infinisil:
<infinisil> And you're xserver is still running?
<infinisil> that is, you're still in an xsession?
<ylwghst> it is
<ylwghst> im still here
<ylwghst> :-)
<disasm> joehh: you'd have to package it, but that sounds like exactly what your trying to do.
<infinisil> well a terminal irc client also works without X ;)
<infinisil> ylwghst: and `systemctl status display-manager` shows?
<joehh> disasm: :) that is exactly what I am after!!!!!
<joehh> I knew it would be out there
<ylwghst> its totally strange
<infinisil> ylwghst: does htop show X running?
<joehh> thank you very much
<infinisil> it must be i guess
<ylwghst> sure
<derchris> can anyone point me in the correct direction to add static routes in nixos config?
justanotheruser has joined #nixos
<ylwghst> im in gnome-shell
<ylwghst> its there
<infinisil> ylwghst: And starting and stopping display-manager does nothing?
<ylwghst> xorg-xserver running as user, gnome-shell running as gdm user
<ylwghst> nothing
<infinisil> well I'd just do killall X or so
dieggsy has joined #nixos
<infinisil> if it juts happens once
<disasm> joehh: let me know how it turns out :)
<ylwghst> it doesnt work every time i boot
<disasm> joehh: the git repo seems to not exist, but https://github.com/ncopa/pingu/archive/v1.5.tar.gz
<infinisil> ylwghst: Do you have anything fancy for your displaymanager in the config/
<infinisil> ?*
<disasm> oh, wait, that's on github ;ol
<infinisil> lol
<ylwghst> nope
<disasm> wonder why alpine points at it's own git server for it https://github.com/ncopa/pingu
<infinisil> disasm: Maybe that's just a readonly mirror
<disasm> ah, maybe
<infinisil> ylwghst: maybe it's the autorun
<ylwghst> infinisil: its default value
<ylwghst> i do think it was working before i upgraded to 17.09
<joehh> it does appear a little concerningly unmaintained, but maybe it is simple/reliable enough that it just works
sirkha has joined #nixos
leat has quit [(Ping timeout: 248 seconds)]
<joehh> looks like I'll be doing my first public nix packaging :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #30560: alacritty: unstable 2017-09-02 -> 2017-10-17 (master...alacritty-update) https://git.io/vd7Yg
NixOS_GitHub has left #nixos []
<infinisil> ylwghst: You /could/ do a git bisect, which would be rather timey, but you'd know what the issue is in the end
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0990021874 (from 21 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vd7Fi
<NixOS_GitHub> nixpkgs/release-17.09 4b17b95 Casey Rodarmor: alacritty: unstable 2017-09-02 -> 2017-10-17...
NixOS_GitHub has left #nixos []
<ylwghst> infinisil: does it working on your system?
<infinisil> Well I'm not stopping display-manager right now, but I did just recently and it worked, I'm on unstable though
<infinisil> or wait, maybe I didn't
<ylwghst> im gonna try VM
<ylwghst> where i do have still 17.03 installed
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #30579: [WIP] openjdk: 8u144 -> 8u152 (master...openjdk8u152) https://git.io/vd7bv
NixOS_GitHub has left #nixos []
<ylwghst> then i will try xkill utility but its really strange and anoying
<ylwghst> i need to try out some things and dont want reboot every time
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vd7bt
<NixOS_GitHub> nixpkgs/master 5c11622 Frederik Rietdijk: python.pkgs.powerline: remove vcs clients from propagatedBuildInputs
NixOS_GitHub has left #nixos []
<ylwghst> its working in VM
viric has quit [(Read error: Connection reset by peer)]
ma27 has quit [(Ping timeout: 252 seconds)]
fendor has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos opened pull request #30580: scons: 2.5.1 -> 3.0.0 (master...scons) https://git.io/vd7bP
NixOS_GitHub has left #nixos []
leat has joined #nixos
Svarog has quit [(Quit: Ex-Chat)]
FRidh has quit [(Read error: Connection reset by peer)]
Guest44693 is now known as TweyII
TweyII has quit [(Changing host)]
TweyII has joined #nixos
FRidh has joined #nixos
drakonis has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<efx[m]> dumb question, I see that shellcheck package exists in the nixpkgs, but doing nix-env -qas<br />
<efx[m]> shellcheck does not find a match.
<efx[m]> `system: "x86_64-darwin", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(me): "nixpkgs", channels(root): "nixpkgs-18.03pre117898.5a21efdcdf", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs`
scribbler has quit [(Ping timeout: 248 seconds)]
qzd has quit [(Quit: Connection closed for inactivity)]
scribbler has joined #nixos
<gchristensen> sure enough
<ertes-w> allow me to repeat my question from a few hours ago =)
<gchristensen> efx[m]: haskellPackages are excluded from search, which probably breaks search for packages hoisted out of haskellPackages and in to the main pkgs attrset
<ertes-w> i need to create a live-USB system that boots into a specific script of mine on VT 1, kinda like an installer… which configuration.nix options should i be looking at?
warbo has joined #nixos
fendor has quit [(Ping timeout: 255 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2181a9302a (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
<tilpner> efx[m], gchristensen - Search is case-sensitive, and the name for shellcheck is ShellCheck
<gchristensen> but I'm searching by attribute?
<gchristensen> oh I'm not
<gchristensen> !m tilpner
<[0__0]> You're doing good work, tilpner!
<efx[m]> huh gchristensen , thanks for the explanation. Ah I see tilpner
<tilpner> Are derivation names good for anything? I've only seen them cause confusion, without any visible benefit :/
<efx[m]> `nix-env -i ShellCheck` has me up and running :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #30579: openjdk: 8u144 -> 8u152 (master...openjdk8u152) https://git.io/vd7bv
NixOS_GitHub has left #nixos []
<gchristensen> nix-shell -iA shellcheck would work too :)
<gchristensen> (and a bit faster)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vd7A7
<NixOS_GitHub> nixpkgs/release-17.09 2f273bb Tim Steinbach: openjdk: 8u144 -> 8u152...
NixOS_GitHub has left #nixos []
ylwghst has joined #nixos
<tilpner> (They make store paths easier to distinguish, so it's just the tooling around them that's weird)
<gchristensen> imo there shouldn't be any tooling around them
<efx[m]> nice, gchristensen that command basically means install package with an attribute name that equals 'shellcheck'
<efx[m]> ?
<joehh> ertes-w: I've been looking at https://nixos.org/nixos/options.html#getty and plan to look at how the installer cd puts the manual on tty8
pxc has joined #nixos
<ertes-w> joehh: i'm gonna look, too… if you're faster than, i'd appreciate if you could enlighten me =)
<ertes-w> *than me
<joehh> for me it is a nice to get to job for next week
<Unode> Is anyone here using libinput for touchpad control? I've enabled it and set "libinput Disable While Typing Enabled (297): 1" on the "ETPS/2 Elantech Touchpad" device yet it still doesn't disable while typing.
ylwghst has quit [(Client Quit)]
<Unode> This worked on my old distro. The same versions of both libinput and xf86-libinput from what I could gather. Does anyone have any suggestion on what might be wrong?
pxc has quit [(Ping timeout: 240 seconds)]
ma27 has joined #nixos
hotfuzz_ is now known as hotfuzz
<warbo> hello, is there a way I can avoid rebuilding derivations when some dependency's hash changes, but that dependency happens to produce the same output as before?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bfd49d10cb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<warbo> I can think of two ways: using `nix-store --add` in the dependency, to get a consistent hash, but the garbage collector doesn't seem to notice this dependency, and removes the added path when it should still be live
<warbo> the other way is to import the result of the dependency, e.g. as a string, but this causes things to build at eval time, which isn't ideal
lsix_ has quit [(Ping timeout: 260 seconds)]
lsix_ has joined #nixos
<tilpner> warbo - A fixed-output derivation may be what you want
<tilpner> You'll need to specify what the output hashes to, but then it won't be rebuild anymore
<tilpner> *rebuilt
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vd7pK
<NixOS_GitHub> nixpkgs/master 0d5ff53 Nikolay Amiantov: bazel_0_4: build on Darwin
NixOS_GitHub has left #nixos []
<warbo> hmm, I hadn't thought of that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 8 new commits to master: https://git.io/vd7pX
<NixOS_GitHub> nixpkgs/master bed68ed Guillaume Bouchard: Add *guibou* in maintainers
<NixOS_GitHub> nixpkgs/master 7f83bf4 Guillaume Bouchard: ptex: init at 2.1.28
<NixOS_GitHub> nixpkgs/master db6e674 Guillaume Bouchard: alembic: init at 1.7.4
NixOS_GitHub has left #nixos []
lsix_ has quit [(Remote host closed the connection)]
lsix_ has joined #nixos
ryantrinkle1 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vd7jw
<NixOS_GitHub> nixpkgs/staging 52350b5 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
lsix has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4b17b95eb5 (from 55 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
scribbler has quit [(Ping timeout: 260 seconds)]
proteusguy has joined #nixos
lsix_ has quit [(Ping timeout: 248 seconds)]
pie___ has quit [(Ping timeout: 252 seconds)]
ylwghst has joined #nixos
csingley has quit [(Read error: Connection reset by peer)]
scribbler has joined #nixos
<disasm> Mic92: hold off one sec on sway issue. I screwed up the patch copying off my other laptop.
Leo[m]2 has joined #nixos
<Leo[m]2> Hello
<Leo[m]2> I'm interested in setting up NixOS and running instances of NextCloud/GitLab/Matrix Synapse on the same computer
<Mic92> disasm: be careful with propagation
<Mic92> disasm: it can backslash when you want to use in a different version in a downstream library
csingley has joined #nixos
<Mic92> *backfire
<Leo[m]2> any guidance on how to approach this?
<Mic92> Only propagated what is really required to compile against wlc
<Mic92> *propagate
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vd5vr
<NixOS_GitHub> nixpkgs/release-17.09 4fec180 Tim Steinbach: Revert "alacritty: unstable 2017-09-02 -> 2017-10-17"...
NixOS_GitHub has left #nixos []
<disasm> Mic92: ah, good point
erictapen has quit [(Ping timeout: 248 seconds)]
<alp> Leo[m]2, have you installed and configured a nixos system before?
<Leo[m]2> alp: I did, but felt like a fresh start yesterday.
pie_ has joined #nixos
pie_ has quit [(Remote host closed the connection)]
ma27 has quit [(Ping timeout: 248 seconds)]
pie_ has joined #nixos
ma27 has joined #nixos
kosmikus1 is now known as kosmikus
<fearlessKim[m]> https://nixos.org/nix/manual/#chap-hacking says to run ./dev-shell to hack on nix but can't find it on master :(
<alp> Leo[m]2, looks like there are nixos modules for at least gitlab and matrix synapse. depending on how comfortable you are changing the configuration and looking up module options etc, I'd suggest practicing a bit with simple modules (or not) before actually tackling somewhat fancy ones. For instance, https://nixos.org/nixos/manual/index.html#sec-configuration-file shows how to write and evolve some configuration for apache. and when you feel
<alp> ready, you can head to https://nixos.org/nixos/options.html#gitlab -- add services.gitlab.enable = true; to your config and then proceed to figure out the right options for you etc.
<alp> same with https://nixos.org/nixos/options.html#matrix-synapse but I don't see nextcloud there. I'm sure you'll find user-defined modules with a bit of google-fu
<Leo[m]2> great
<Leo[m]2> i've seens some nixops scripts for nextcloud
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vd5JR
<NixOS_GitHub> nixpkgs/master 38b94d1 Nikolay Amiantov: wt: 3.3.6 -> 4.0.0...
NixOS_GitHub has left #nixos []
ylwghst has quit [(Quit: Lost terminal)]
<Mic92> Leo[m]2: you can re-use the owncloud module for nextcloud I think
<disasm> alp: there's no module for nextcloud but it's in nixpkgs
<Mic92> there is a package attribute
<Leo[m]2> good
<alp> disasm, Leo[m]2: https://github.com/bjornfor/nixos-config/blob/master/options/nextcloud.nix might be a good start for adding a module "interface" on top of that then
<Leo[m]2> thank you alp Mic92 disasm
guillaum1 has joined #nixos
p4cman has quit [(Quit: Connection closed for inactivity)]
<alp> although I have no idea what nextcloud is and whether it's specific to lighttpd or not etc. but at least it should help, in case it's not usable directly.
<disasm> lol, desc for package config param in owncloud is PostgreSQL package to use. how'd that get past review :)
<disasm> alp: nextcloud is an open source dropbox replacement pretty much
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vd5UZ
<NixOS_GitHub> nixpkgs/master f3d368b Nikolay Amiantov: python.pkgs.python-mapnik: 2016-08-30 -> 3.0.13
NixOS_GitHub has left #nixos []
<viaken> I'm getting "filter failed" trying to print via hplip. Anyone experienced similar?
hlavaty has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
<viaken> Logs tell me hpps can't find cupsext. I'm not sure what to do with that.
Neo-- has quit [(Ping timeout: 246 seconds)]
seanparsons has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
seanparsons has joined #nixos
<hodapp> I'm still salty about ownCloud after it had a small bug which caused it to delete every single file in the share on every single device that was syncing with it.
<hodapp> I was able to get it back when I realized that my Macbook was asleep when this happened (and had been synced recently), but still, that was shitty.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vd5Ud
<NixOS_GitHub> nixpkgs/master 47299d9 Tristan Helmich: uftp: 4.9.3 -> 4.9.4
NixOS_GitHub has left #nixos []
<Leo[m]2> hodapp: I'm between nextcloud and seafile
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #30575: uftp: 4.9.3 -> 4.9.4 (master...uftp_4.9.4) https://git.io/vd7Kd
NixOS_GitHub has left #nixos []
scribbler has quit [(Ping timeout: 240 seconds)]
<Leo[m]2> not sure how good are they performing
erictapen has joined #nixos
fendor has joined #nixos
<Leo[m]2> Nextcloud 13 introduces e2e encryption
<hodapp> e2e?
<Yaniel> end to end
scribbler has joined #nixos
<hodapp> interesting, server never even sees cleartext?
Wizek_ has quit [(Ping timeout: 246 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a8a38feeeb (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
earldouglas has joined #nixos
ma27 has quit [(Ping timeout: 255 seconds)]
<Yaniel> hodapp: that's the point of e2e
dieggsy` has joined #nixos
<Yaniel> so you don't have to trust the server to not snoop your data (as much as normally)
<hodapp> Yaniel: people mean different things sometimes in advertising e2e
dieggsy` has quit [(Remote host closed the connection)]
<hodapp> sometimes they mean "it's fine, you can trust us! your data is secure! we promise(tm)!"
<Yaniel> well, there is advertising and there are blatantly obvious lies
<hodapp> with substantial overlap
<Yaniel> sure
<andrewrk> dtzWill, it looks like your llvm 5 PR didn't make it into the unstable release yet
<sphalerite> server-end to client-end encryption!!!11
<hodapp> sphalerite :P
dieggsy has quit [(Ping timeout: 246 seconds)]
<disasm> Mic92: well that was a false positive, forgot I added xwayland to compare debug logs...
<disasm> Mic92: what are your thoughts if we add xwayland as a systempackage to programs.sway?
cement has joined #nixos
<disasm> I know it should work without xwayland... but it doesn't seem to
snikkers has joined #nixos
<guillaum1> Do you see any potential issue with building a program inside a nix-shell AND doing the final link outside, to link with the system linker?
<Mic92> disasm: yes, let's go for that option
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 3 new commits to master: https://git.io/vd5I3
<NixOS_GitHub> nixpkgs/master 22de3b4 Robin Gloster: python.pkgs.colorlover: init at 0.2.1
<NixOS_GitHub> nixpkgs/master c6adc2e Robin Gloster: python.pkgs.cufflinks: init at 0.12.0
<NixOS_GitHub> nixpkgs/master 8f5d8f7 Frederik Rietdijk: Merge pull request #30541 from mayflower/cufflinks...
NixOS_GitHub has left #nixos []
<disasm> Mic92: hopefully with sway 1.0 and wlroots as a base instead of wlc things will just work, lol
<andrewrk> guillaum1, what is the motivation for doing that?
ryantrinkle has joined #nixos
civodul has quit [(Ping timeout: 248 seconds)]
<guillaum1> andrewrk: link with the system libGL.so
<guillaum1> andrewrk: to create a binary which can be easilly shared to another system and works with OpenGL.
<guillaum1> andrewrk: for now, that's the only solution I found which works reliably.
<andrewrk> aha
<andrewrk> is opengl usually in the same place on every system?
<guillaum1> andrewrk: no, but by assuming that it is in the linker search path, I cover all my client. On the other hand, assuming that my client have nixOS cover 0% of them.
<andrewrk> guillaum1, so your goal is, using a nixos system, create a cross compile binary that works on other linux systems?
<andrewrk> "cross compile" just meaning that you're going to run the binary on a different system than the one you compiled it on
<guillaum1> oula, this is the next step. The first one is to build a binary on a non nixOS (but using nix) which runs... (with OpenGL).
<guillaum1> I tried (https://github.com/deepfire/nix-install-vendor-gl) but it works only on a few configurations. I created https://github.com/guibou/nixGL but it does not work for program which load libGL using dlopen (but actually that's a solution which work for 90% of the OpenGL program of nixpkgs, so that's great)
<andrewrk> guillaum1, as for the opengl dependency, it seems the best thing to do is to have multiple rpath search paths for the .so
p4cman has joined #nixos
ylwghst has joined #nixos
<guillaum1> andrewrk: the issue is that it will find the .so, but not the indirect dependencies of this .so.
<betaboon> gchristensen: i found the infinite recursion problem :)
<gchristensen> oh?
<betaboon> stupid mistake
<gchristensen> do go on ... :)
<andrewrk> guillaum1, on what system?
ylwghst_ has joined #nixos
<guillaum1> andrewrk: arch linux, ubuntu, centos, debian...
<ylwghst_> anyone on wayland here?
<andrewrk> guillaum1, is this a fundamental problem? or does this have something to do with nixos?
<betaboon> so my NIX_PATH include "nixpkgs-overlays=some/path/" and i expected the "import <nixpkgs-overlays>" to only "pull in" default.nix in that directory.
<betaboon> but it didnt
<betaboon> and i had another broken .nix in that directory
<betaboon> so i was looking at the wrong place for the source of the problem
<gchristensen> betaboon: ooooooohhhhhhhhhhh :D
<andrewrk> guillaum1, it seems to me that you could build with nixos in a nix-shell, keep the nixos rpaths, and additionally add rpaths for /usr/lib, /usr/local/lib, etc, whatever all those distros use
<betaboon> yep. tastes like fail xD
<infinisil> betaboon: gchristensen: Can I get some context? I don't get it
hotfuzz_ has joined #nixos
<ylwghst> brb
<infinisil> Oh wait, I think I remember, the overlays in nixops
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] earldouglas opened pull request #30583: jenkins: 2.84 -> 2.85 (master...jenkins-2.85) https://git.io/vd5L7
NixOS_GitHub has left #nixos []
<ylwghst_> brb
ylwghst_ has quit [(Client Quit)]
<betaboon> infinisil: yeh the overlay+nixops problem i had
<infinisil> so the overlay imported some other nix file that referenced something else?
hotfuzz has quit [(Ping timeout: 240 seconds)]
<guillaum1> andrewrk: yes, but the nix loader will not find the indirect dependencies of /usr/lib/libGL.so because they have no rpath.
csingley has quit [(Read error: Connection reset by peer)]
<betaboon> infinisil: indeed.
Arcaelyx has joined #nixos
Arcaelyx_ has quit [(Ping timeout: 260 seconds)]
<infinisil> and that something else is your nixops config?
<betaboon> i was under the misconception that "import <nixpkgs-overlays>" would only import "nixpkgs-overlays/default.nix". which seems to be wrong as it also imported "nixpkgs-overlays/some-broken-expression.nix"
<infinisil> Ahhhhh
<infinisil> Yeah it's like the ~/.config/nixpkgs/overlays folder, wouldn't have thought of that either
ryantrinkle has quit [(Ping timeout: 240 seconds)]
<guillaum1> andrewrk: what I really need is a hack of binutils/ld to add a special behavior: if the lib we are looking for is libGL.so, there look in the system path for it and for all its indirect dependencies.
scribbler has quit [(Ping timeout: 248 seconds)]
<betaboon> infinisil: yeah. but not that i reread the documentation on that, it is very clearly stating that :P
csingley has joined #nixos
<betaboon> "If the path is a file, then the file is imported as a Nix expression and used as the list of overlays."
<betaboon> "If the path is a directory, then we take the content of the directory, order it lexicographically, and attempt to interpret each as an overlay by"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vd5tp
<NixOS_GitHub> nixpkgs/master d884219 Joerg Thalheim: splUnstable: 2017-09-26 -> 2017-10-16
<NixOS_GitHub> nixpkgs/master 485fe61 Joerg Thalheim: zfsUnstable: 2017-09-26 -> 2017-10-16
NixOS_GitHub has left #nixos []
<betaboon> infinisil: yep :D
<betaboon> but once again: RTFM 1 : 0 betaboon
<infinisil> Oh nice, zfs update, I'm reconsidering checking out zfs encryption
<infinisil> betaboon: Heh yeah, but sometimes you just don't think of it being a certain thing, the overlay import in your case
<infinisil> That's like how all my debugging sprints end up
<andrewrk> guillaum1, why don't you add the system path to the rpath? I don't see why it won't work
<Mic92> yes, they fixed also some bugs regarding zfs encryption
betaboon has quit [(Quit: WeeChat 1.9.1)]
<guillaum1> andrewrk: because, apparently, the indirect librarie lookup do not inherit the rpath of the parent library.
<infinisil> I should make a partition of like 1GB or so just for testing filesystems and such
betaboon has joined #nixos
<guillaum1> andrewrk: (at least using the nix ld)
<guillaum1> I think I'll write a long mail to the mailing list.
<Dezgeg> /dev/loop* should work just as fine without reserving a partition
<andrewrk> guillaum1, it should work for other distros though. So build it in nixos the nixos way, which will make it work, and additionally add the system lib paths for the other distros
pxc has joined #nixos
<andrewrk> hard code /usr/lib /usr/local/lib /usr/lib/x86_64-linux-gnu etc
<guillaum1> andrewrk: I tried to replace the nix ld by my system ld and it usually fails
<andrewrk> oh I see, there is also the question of what dynamic linker to use
scribbler has joined #nixos
<betaboon> infinisil: but running into this problem tells me that i should set "nixpkgs-overlays=/some/path/specific-expression.nix" to make it more explicitly visible what is happening here
<infinisil> betaboon: Yeah
<guillaum1> andrewrk: I'll write a long mail to the mailing list, the discussing will be less fragmented. Thank you for you time.
<infinisil> Man, a disadvantage of using #!/usr/bin/env nix-shell is that you potentially have to download dependencies when running the script
<betaboon> infinisil: lol. you would have thought that. just tried it and the following happened: "nixpkgs-overlay/default.nix’: Not a directory" xD
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4fec180d9e (from 72 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<infinisil> betaboon: Being able to use files got changed recently
<andrewrk> guillaum1, good luck, I will read the email. As the author of a compiler trying to get cross compilation done the best way possible I'm interested in this topic
<infinisil> do you have an non-very-recent version?
erictapen has quit [(Read error: Connection reset by peer)]
<betaboon> infinisil: on downloading dependencies: what about --readonly-mode ?
<infinisil> betaboon: Well then the script just doesn't run at all..
aneeshusa has joined #nixos
<infinisil> because it needs the dependencies to run, they get gc'd because nix-shell
ylwghst has quit [(Quit: Lost terminal)]
<betaboon> infinisil: on "not-very-recent": as explicitly defined here: https://gist.github.com/betaboon/ba03b01f29347234efb3fe8add1bc620#file-shell-nix-L10 my nixpkgs-channel is pinned to c99239b -> 2days ago
<Unode> hi all, I've enabled libinput as: https://gist.github.com/unode/e8a52c044dcde46ae9892d76cd1eecd5 but when inspecting /etc/X11/xorg.conf.d there is only a 10-evdev.conf and no 40-libinput.conf. I can see 40-libinput.conf in the at /nix/store/...-xf86-input-libinput-0.25.1/share/X11/xorg.conf.d
ryantrinkle has joined #nixos
iyzsong has quit [(Ping timeout: 260 seconds)]
<betaboon> infinisil: on --readonly-mode. i would have expected if you run it once without readonly everything gets build, then run with readonly. never tried tho
<betaboon> just recently found out that you can now use #! with nix-shell
<Unode> Is this expected or should there be a symlink in /etc/X11/xorg.conf? I'm unsure if libinput is working correctly. The double finger scrolling feature seems to be working fine but I can't get the "Disable touchpad while typing" option of have any effect. It's enabled but nothing changes.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #30583: jenkins: 2.84 -> 2.85 (master...jenkins-2.85) https://git.io/vd5L7
NixOS_GitHub has left #nixos []
earldouglas has left #nixos []
<Unode> on another aspect, is it possible to disable evdev (even if for debugging purposes?)
aneeshusa has quit [(Client Quit)]
<infinisil> Unode: By default there's nothing there, but you can enable that *searches for it*
<infinisil> Unode: services.xserver.exportConfiguration = true;
<Unode> infinisil: https://gist.github.com/unode/e8a52c044dcde46ae9892d76cd1eecd5 is *all* I have. Evdev still shows up there. I guess it's enabled by default.
ylwghst has joined #nixos
<Unode> infinisil: thanks, trying that
<infinisil> Unode: The options description: "Whether to symlink the X server configuration under /etc/X11/xorg.conf"
<Unode> lets see if that helps
chreekat has joined #nixos
<Unode> I suspect the issue I'm having is that the keyboard is being loaded with evdev while the touchpad is with libinput.
dbmikus has joined #nixos
<Unode> It's my understanding evdev should be disabled for proper libinput behavior.
<infinisil> No idea about that
<disasm> I set environment.variables.EDITOR = "nvim"; in configuration.nix but a new terminal still shows nano if I echo $EDITOR. I ran a `git grep` for nano in /etc/nixos and no matches, what am I missing?
<betaboon> btw. does anyone have a working solution for a bigger mouse pointer for urxvt on hidpi machines ?
<infinisil> Is libinput the new and better thing (tm)?
<Unode> infinisil: thanks anyway
<Unode> trying an X refresh to see if it helps
<infinisil> disasm: did you relog?
<Unode> infinisil: odd, libinput .conf still doesn't show up at /etc/X11/xorg.conf.d
<disasm> infinisil: no, though a new terminal would do it
<disasm> infinisil: same thing with relog
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-17.09: https://git.io/vd5OV
<NixOS_GitHub> nixpkgs/release-17.09 086faf0 Mathias Schreck: jenkins: 2.77 -> 2.84...
<NixOS_GitHub> nixpkgs/release-17.09 33292f0 James Earl Douglas: jenkins: 2.84 -> 2.85...
NixOS_GitHub has left #nixos []
<infinisil> disasm: I've had these only apply on relog, or maybe it was even a reboot? Didn't work just like that though
<betaboon> infinisil: the overlay PR you linked got into 17.09 ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vd5OM
<NixOS_GitHub> nixpkgs/master 1101eeb Samuel Leathers: wlc: 0.0.9 -> 0.0.10
<NixOS_GitHub> nixpkgs/master 1dc92fe Samuel Leathers: sway: 0.13.0 -> 0.14.0
<NixOS_GitHub> nixpkgs/master f8085cb Joerg Thalheim: nixos/sway: add module
NixOS_GitHub has left #nixos []
<infinisil> betaboon: Pretty sure it did
<betaboon> seems like it
ylwghst has quit [(Ping timeout: 260 seconds)]
Guanin has joined #nixos
<betaboon> hm weird
<infinisil> Well you can check the source of the exact version you have
erictapen has joined #nixos
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<infinisil> vim "$(nix-instantiate --find-file nixpkgs)/pkgs/top-level/impure.nix"
snikkers has quit [(Ping timeout: 248 seconds)]
<disasm> infinisil: ah, zprofile.local is setting it... /me digs to find where that is
<infinisil> Huh, the zsh config?
<betaboon> infinisil: nope that commit is in the source
chreekat has quit [(Quit: quitting)]
<infinisil> betaboon: did you run it with --show-trace to see where the error occurs?
<betaboon> yep
<infinisil> ..and?
<betaboon> pkgs/top-level/impure.nix +59
<betaboon> character 61
jgertm has joined #nixos
<disasm> ok, git grep is failing me, just a bunch of references to reading /etc/zprofile.local. Where is this file being created...
<hyper_ch> clever: usb works fine :)
<infinisil> Have to go now, bbl, I'm sure you can figure it out!
<betaboon> sure thing :)
FRidh has quit [(Ping timeout: 248 seconds)]
<disasm> ah, it points to /etc/static which is setup in nixos/modules/system/etc/setup-etc.pl I can feel the rabbit hole getting larger
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #30584: msmtp: compiles with keyring support by default (master...msmtp) https://git.io/vd5s2
NixOS_GitHub has left #nixos []
<disasm> so overriding it in zsh (what I was originally going to do) is the correct solution in this case :)
<Guanin> is there a way to change the permissions and the group of /etc/shadow? I asked yesterday but had instable network, so I did not bother with it anymore. I am trying to setup gogs (something like gitlab) to use PAM authentication. Sadly, I can not login if /etc/shadow is not readable by the gogs user. The SETUID helper bin drops user privileges in that scenario, so I'd guess I can fix it with the SETGID bit
erasmas has joined #nixos
demeg0 has joined #nixos
<symphorien> I don't know if it could interfere with it but systemd-tmfiles might help
<symphorien> *systemd-tmpfiles
<niksnut> Guanin: that sounds like a problem with how it uses PAM. pam_unix will use a setuid helper (unix_chkpwd) to check passwords
<niksnut> messing with the ownership of /etc/shadow sounds like a bad idea
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #30530: ponyc: 0.19.3 -> 0.20.0 (master...ponyc) https://git.io/vdHY2
NixOS_GitHub has left #nixos []
<Guanin> niksnut, the setuid helper will drop privileges if not executed as root
<niksnut> eh
<niksnut> the whole point of the setuid helper is that non-root users can check passwords
<Guanin> give me one second, I can tell you the exact code lines ;)
demego has quit [(Quit: Leaving)]
<niksnut> if that were not the case, then (say) screen lockers wouldn't work
<Guanin> the helper only allows authentication as the executing user ;)
demeg0 has quit [(Remote host closed the connection)]
demeg0 has joined #nixos
<Guanin> so it drops privileges when: not executed as root, or the requested user to test the password is different from the executing user
<niksnut> ah
<betaboon> does anyone have an elegant solution for maintaining nixos-services in an overlay ?
demego has joined #nixos
<Guanin> niksnut, its line 132 to 145 in unix_chkpwd.c in version 1.3.0
<Guanin> while being a slightly modified version of pam_unix, this portion of the source is identical to the original one https://github.com/pibara/pam_unix/blob/master/unix_chkpwd.c#L132
leat has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vd5ZC
<NixOS_GitHub> nixpkgs/master 1923cab Vincent Laporte: ocamlPackages: default to 4.04
NixOS_GitHub has left #nixos []
guillaum1 has quit [(Ping timeout: 252 seconds)]
demeg0 has quit [(Client Quit)]
<Guanin> but as it does not change the group id, I'd argue that the most reasonable way is to: 1) Add SETGID to unix_chkpwd, 2) Add a group (e.g. 'shadow') 3) let unix_chkpwd and /etc/shadow be owned by that group
<Guanin> I know that it weakens the security, as the gogs instance can now be used to bruteforce the password, but as PAM allows enforcing specific password complexities, this can be compensated for (In my opinion)
<Guanin> the other approach would be to setup ldap, but I was not able to get it running properly and in my opinion, this might be overkill
<disasm> betaboon: it's not an overlay but I really like organizing my custom services with this methodology: https://github.com/xtruder/nix-profiles
pxc has quit [(Ping timeout: 255 seconds)]
<Dezgeg> what other distro has shadow owned by non-root gid? how does this gogs pam integration work at all?
adfaure has joined #nixos
<disasm> Guanin: gogs is doing this stupidly, I'd open a PR for them and tag it as a security issue...
<infinisil> hmm, gogs looks interesting
<adfaure> Hello everybody, I have a little question. I have to copy a set of clossure to many remote computer. I want to use the nix-copy-closure mechanisme. But I would like to use it on a pkgs.buildEnv. Some has already done this before, is it possible ? Thanks !
<Guanin> well, this is not specificly recommended by gogs, so I'd think that it is mainly targeted for other types of authentication - in the end, PAM is also designed as authentication client against other services, so you could also implement ldap authentication with PAM
<Guanin> disasm, so I'd think that it is mostly a problem of interaction between PAM itself, gogs, and mostly pam_unix
<disasm> infinisil: gogs is cool, been using it for a bit, but this pam suggestion in their documentation to give gogs group read access to /etc/shadow bothers me. I recently switched to gitea though, check it out: https://github.com/NixOS/nixpkgs/pull/30528
<disasm> Guanin: their documentation for PAM says: To configure this you just need to set the ‘PAM Service Name’ to a filename in /etc/pam.d/. If you want it to work with normal Linux passwords, the user running Gogs must have read access to /etc/shadow.
<Guanin> I'm not bound to using gogs, so it is also a possibility to switch over to other services, as long as they provide a decent web interface
<disasm> That's a problem imho
<Guanin> disasm, oh, you are right - this is in fact pretty wrong (I think my approach with SETGID would be harmless in comparison, then...)
<disasm> Guanin: gitea is a community fork of gogs. buncho fthe community got pissed the owner of gogs wasn't merging their features they PR'd.
<infinisil> disasm: I agree
<infinisil> That sounds nice
<disasm> imho the logo looks cooler too :)
<Guanin> disasm, thanks for the hint, I'll consider switching
<infinisil> well then, everything is settled
<Guanin> infinisil, not completely - I'm not sure whether it suits my usecase
leat has joined #nixos
<disasm> Guanin: not sure that will fix your pam issue though
<infinisil> i meant sarcasticly that the logo being better implies it's obviously the better solution :P
<Guanin> infinisil, ah okay - sorry, I'm a bit slow with irony
hotfuzz has joined #nixos
<infinisil> Can somebody tell me why the hell my samba password doesn't work anymore
hellrazor has quit [(Quit: WeeChat 1.9.1)]
<infinisil> I bet restarting fixes it for whatever stupid reason
ssmike has quit [(Remote host closed the connection)]
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
<infinisil> YUP
<Guanin> disasm, in the end, I'm also not bound to PAM at all. My usecase is just the following: I want to setup a handful of services (like ssh, some git server, maybe some services over nginx) that I want to make available to a number of people.
ssmike has joined #nixos
<infinisil> what the hell
<infinisil> Guanin: Do you need a git web interface?
riclima has joined #nixos
<Guanin> I'd prefer to
jgertm has quit [(Ping timeout: 248 seconds)]
<infinisil> how about gitlab?
csingley has quit [(Ping timeout: 258 seconds)]
<Guanin> would be also fine, but does it solve my authentication problem? The point is that I don't want to add users on all that services every time some new person needs access to it...
<Guanin> thus I was thinking about ldap, but as that seems an even bigger problem to get to work, I tried it with PAM - still failing
S0rin has quit [(Ping timeout: 252 seconds)]
<tilpner> You could torture yourself^W^Whave fun with LDAP maybe?
<tilpner> IIRC Gogs has LDAP integration, and Gitlab definitely does
<infinisil> Heh, couldn't nix make LDAP easy though? Via modules and stuff?
<infinisil> And gitlab has a ton of nixos options
ajp_ has joined #nixos
<Guanin> infinisil, I really struggled setting it up - even with some help from here - never touched LDAP before, so I failed and searched for an easier option
__k__ has joined #nixos
<disasm> Guanin: I may be attempting to package freeipa for nixos :)
<infinisil> That sounds pretty nice https://www.freeipa.org/page/About
<__k__> hey, what is the difference between package names and attribute names?
<__k__> and how come that the attribute names for nodejs have wildcards in them (8_x, etc.)? I thought nix would somehow assure that I always get the same version
<infinisil> __k__: A package is a derivation, every derivation has a (non-empty) name, it appears in /nix/store/<hash>-<name>
<infinisil> an attribute name is just the name of any attribute, e.g of x = { foo = "bar"; }, x has an attribute with the name "foo"
S0rin has joined #nixos
<Unode> oh well, libinput is half functional now on NixOS. Synaptics+syndaemon seems functional as far as the driver supports your touchpad :/
<Unode> thanks for the help infinisil
<infinisil> __k__: Nix doesn't put any constraints on how packages are named, and sometimes it is required to keep multiple versions for compatibility, so we just use two different names "foo" and "foo_2" or so
<infinisil> usually "foo2" actually
<__k__> ah
riclima has quit [(Ping timeout: 248 seconds)]
<__k__> so the "attribute name" in the package list on the nixos website are attributes of something?
<adfaure> Hello everybody, I have a little question. I have to copy a set of clossure to many remote computer. I want to use the nix-copy-closure mechanisme but for an envirnoment, is this possible ?
<infinisil> __k__: Ahh
<infinisil> Yeah that's how you get to the derivations, these attribute names are something like packages = { packageA = derivation { name = "A"; ... }; packageB = derivation { name = "B"; ... }; }
drakonis has quit [(Read error: Connection reset by peer)]
<infinisil> when you select an attribute x from the top-level, then you pretty much do packages.x
<infinisil> (i simplified a bit here, but that's the gist of it)
<__k__> I see
<__k__> so how come that some attributes have wildcards?
<infinisil> adfaure: Define environment
jb55 has joined #nixos
<infinisil> __k__: For example? What do you mean by wildcard?
<__k__> there is node-8_x
<adfaure> infinisil: a defined list of package, that I create using pkgs.buildEnv
<__k__> I mean, nodejs-8_x
<infinisil> __k__: That just refers to the latest 8.x version
<infinisil> it's literally just the letter "x"
<__k__> seemingly
<__k__> yes! :D
<__k__> point is
<__k__> I thought the main idea of nix was that I get the same packages every time I run it
<__k__> but if nodejs-8_x doesn't point to one specific version, but the "latest" version
<srhb> (given the same inputs)
<disasm> __k__: you can do that by pinning to a commit in nixpkgs
<__k__> I will probably get a new version of node
moet has joined #nixos
<__k__> every time I run this after node 8 was updated
<moet> how can i find out what maxJobs is set to on a nix system?
<srhb> __k__: This will happen for essentially every package in nixpkgs. Most change versions when you move your channel.
<disasm> __k__: what some people do is maintain their own fork of nixpkgs and cherry-pick in commits they want.
<moet> nixos* system
<__k__> hrm
<infinisil> adfaure: I'll have to go for now, but have a look at the --query example section in the nix-store manpage
<adfaure> infinisil: I will thanks for the pointer
<srhb> __k__: So pin the packages you want to ensure never move (but you lose the binary caches)
simpson has left #nixos ["WeeChat 1.0.1"]
<__k__> "given the same inputs"
<srhb> moet: nixos-option nix.maxJobs
<moet> nixos always seems to try to build with two jobs, because the cpu has two cores, but that uses too much memory and goes into swap hell
<srhb> __k__: The name attribute name is not an input.
<__k__> does this mean, "inputs" aren't the stuff I write in my default.nix, but something different?
<srhb> __k__: Its value is.
adfaure has quit [(Quit: Page closed)]
<__k__> ah
<__k__> now it makes sense, hehe
<srhb> __k__: Subtle but important distinction :-)
<moet> i'll try setting NIX_BUILD_CORES
<__k__> is this mentioned somehwere? can't remember, haha
<moet> nodice..
<srhb> moet: nix.buildCores :)
<__k__> so what do I need in addition to my default.nix, if I want my dev environments to keep working? :\
<srhb> __k__: As already said, you can pin a version of nixpkgs.
<srhb> __k__: There are many ways to do so, one is let myFrozenNixpkgs = fetchFromGitHub { ... rev = somerevision ... }
<srhb> __k__: Then use the attributes from there.
<__k__> ah, so the value of my attribute doesn't change?
<srhb> Exactly. or those attributes that you care about.
<__k__> I see, I see...
<srhb> __k__: packageOverrides is another way, overlays is yet another, or you can copy out some derivation at some version and import that...
<srhb> Wealth of choice :)
<__k__> lol
<__k__> I'm but a n00blet in want of consistent builds, what's the simplest way xD
<srhb> I think they are equally simple.
<moet> srhb: ah, nixos-option is new to me! i thought the only way to examine the system was through nix-repl
<moet> thank you
<srhb> moet: It's quite nice :)
<srhb> __k__: This is one way to get started.
<srhb> __k__: (I don't remember what rev that is, it's just an example)
<srhb> __k__: with that, oldpkgs.firefox will be firefox at that exact revision of nixpkgs.
reinzelmann has joined #nixos
<__k__> thank you :)
<__k__> but won't this get out of hand rather quickly?
<srhb> __k__: I think so, yes.
<__k__> :(
<srhb> __k__: To me, reproducible builds does not mean "don't upgrade anything ever lol"
sigmundv has quit [(Ping timeout: 240 seconds)]
<__k__> sure...
<srhb> It means at any point in time I can pick a revision of the packages at SOME point in time and get the exact same result as I did back then.
<srhb> __k__: I often end up pinning just some packages.
<__k__> so you're basically run it like a regular package manager and if something breaks you start to "pin"?
<srhb> __k__: And of course, the cost I pay is to have to manually update a lot of things.
<srhb> __k__: If I don't have time to actually upgrade things to work with newer versions, yes.
<__k__> I see...
<moet> srhb: so maxJobs was 2 and buildCores was 1 .. my hardware-configuration.nix had set the default! thanks for helping me figure that out
<srhb> moet: Welcome :)
<srhb> __k__: ymmv but my role is mainly operations, so what I care about is that the prod environment uses the same nixpkgs revision as the dev and staging environments
fendor has quit [(Ping timeout: 240 seconds)]
csingley has joined #nixos
<srhb> __k__: I hope that makes sense. :)
<__k__> yes
<__k__> I wanted to use it to setup my dev environments
<__k__> I'm doing different projects, with different nodejs versions etc.
pxc has joined #nixos
<__k__> and I hoped I could get everything preconfigured so another dev could simply checkout the code, run nix-shell and everything would be like on my machine
<srhb> Absolutely you can.
<srhb> But _you_ will now be responsible for deciding when to upgrade. You can't have it both ways. :)
<__k__> :D
ylwghst has joined #nixos
goibhniu has quit [(Ping timeout: 255 seconds)]
<srhb> Consider this: You either have a shell.nix that sets up the dev environment with the current version of nixpkgs, or you have one that sets up the dev environment with some version of (parts of) nixpkgs.
<srhb> That's the only difference between the two methods, and it's like only a few lines either way.
<srhb> Or you can make it configurable whether to do one or the other.
<srhb> Again, wealth of choice.
<__k__> hm
<__k__> yes, I think getting the newest stuff with fixes is often okay
<__k__> but sometimes it would be nice to have a quick fallback to something I know works
<srhb> Important, even, in many cases :)
<__k__> I had this many times
<__k__> some dev sends me a link to a repo
<__k__> tells me "run npm install"
<__k__> and nothing works
<srhb> Yeah :/
<srhb> I think that's an excellent case for pinning.
Wizek has quit [(Quit: Connection closed for inactivity)]
<__k__> because nobody really cares about semver
ma27 has joined #nixos
<__k__> and then you start searching for the deps that blew up
<betaboon> would someone care to support https://github.com/NixOS/nixops/issues/738 ?
<__k__> anyway, thanks for the infos. I think my nix understanding got a bit better :D
<srhb> __k__: Cool! :)
jushur has quit [(Read error: Connection reset by peer)]
__k__ has quit [(Quit: Page closed)]
<elvishjerricco> In Hydra, what does `Aborted: Imported archive of ... lacks a signature` mean?
simukis has quit [(Ping timeout: 264 seconds)]
jushur has joined #nixos
pie_ has quit [(Ping timeout: 248 seconds)]
jgertm has joined #nixos
betaboon has quit [(Quit: WeeChat 1.9.1)]
fendor has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/33292f0a4a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
bfrog has joined #nixos
sigmundv has joined #nixos
<gchristensen> elvishjerricco: this is your own hydra?
<elvishjerricco> yep.
<gchristensen> it means your hydra is connecting to the builder not as root, and the user it is connecting as isn't a trusted user
fendor has quit [(Ping timeout: 258 seconds)]
ssmike has quit [(Ping timeout: 264 seconds)]
abrar has quit [(Ping timeout: 260 seconds)]
<gchristensen> so either change it to use root, or set the user as a trusted user in the nix config
<elvishjerricco> well it's definitely logging into the builder as root...
<elvishjerricco> and the hydra-queue-runner is running under a trusted user
riclima has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
ylwghst has quit [(Quit: Lost terminal)]
<gchristensen> I don't know then, sorry, taht is the root of the problem though -- somewhere
ylwghst has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/33292f0a4a (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4233b83226 (from 25 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
pxc has quit [(Read error: Connection reset by peer)]
pxc has joined #nixos
<infinisil> Lol
<infinisil> I used home-manager systemd user services for some stuff on my server
<infinisil> sometimes they stopped working, so i checked
<infinisil> but everytime i checked they worked again
<infinisil> Well, user services only run when the user is logged in, and I'm not loggin in when I don't ssh into the server..
<infinisil> So when I check if it works through ssh, it always works because I'm using ssh..
<gchristensen> lol
<infinisil> I should really use nixos module services though, because it both makes more sense and doesn't have this problem
Drakonis[m] has quit [(Ping timeout: 240 seconds)]
<ldlework> I really wish the compiler could give us more information about recursion problems
hl has quit [(Ping timeout: 240 seconds)]
siel has quit [(Ping timeout: 258 seconds)]
sphalerite has quit [(Ping timeout: 255 seconds)]
copumpkin has quit [(Ping timeout: 252 seconds)]
thematter[m] has quit [(Ping timeout: 240 seconds)]
kainospur[m] has quit [(Ping timeout: 240 seconds)]
AndersonTorres[m has quit [(Ping timeout: 240 seconds)]
FRidh[m] has quit [(Ping timeout: 240 seconds)]
seif[m] has quit [(Ping timeout: 240 seconds)]
scott2 has quit [(Ping timeout: 240 seconds)]
hedning[m] has quit [(Ping timeout: 240 seconds)]
StuK[m] has quit [(Ping timeout: 240 seconds)]
mhsjlw[m] has quit [(Ping timeout: 240 seconds)]
noctuid has quit [(Ping timeout: 240 seconds)]
Geeky[m] has quit [(Ping timeout: 240 seconds)]
Obscurity[m] has quit [(Ping timeout: 240 seconds)]
sargon[m] has quit [(Ping timeout: 240 seconds)]
codyopel has quit [(Ping timeout: 240 seconds)]
baconicsynergy[m has quit [(Ping timeout: 240 seconds)]
Naughtmare[m] has quit [(Ping timeout: 240 seconds)]
offlinehacker[m] has quit [(Ping timeout: 240 seconds)]
unlmtd has quit [(Ping timeout: 240 seconds)]
davidar has quit [(Ping timeout: 240 seconds)]
cornu[m] has quit [(Ping timeout: 240 seconds)]
Barnabas[m] has quit [(Ping timeout: 240 seconds)]
efx[m] has quit [(Ping timeout: 240 seconds)]
indefini has quit [(Ping timeout: 240 seconds)]
itorres has quit [(Ping timeout: 240 seconds)]
mith[m] has quit [(Ping timeout: 240 seconds)]
corngood has quit [(Ping timeout: 240 seconds)]
primeos[m] has quit [(Ping timeout: 240 seconds)]
jack[m] has quit [(Ping timeout: 240 seconds)]
ninegua[m] has quit [(Ping timeout: 240 seconds)]
ycy[m] has quit [(Ping timeout: 240 seconds)]
EuAndreh[m] has quit [(Ping timeout: 240 seconds)]
Li[m]1 has quit [(Ping timeout: 240 seconds)]
eqyiel[m] has quit [(Ping timeout: 240 seconds)]
M-fishy has quit [(Ping timeout: 240 seconds)]
wizzup[m] has quit [(Ping timeout: 240 seconds)]
rnhmjoj[m] has quit [(Ping timeout: 240 seconds)]
peterhoeg has quit [(Ping timeout: 240 seconds)]
rycee has quit [(Ping timeout: 240 seconds)]
pvn[m] has quit [(Ping timeout: 240 seconds)]
nixo[m] has quit [(Ping timeout: 240 seconds)]
puffnfresh has quit [(Ping timeout: 240 seconds)]
viaken[m] has quit [(Ping timeout: 240 seconds)]
pierrebeaucamp[m has quit [(Ping timeout: 240 seconds)]
herzmeister[m] has quit [(Ping timeout: 240 seconds)]
bendlas has quit [(Ping timeout: 246 seconds)]
fearlessKim[m] has quit [(Ping timeout: 246 seconds)]
revoltmedia[m] has quit [(Ping timeout: 246 seconds)]
apocolocyntos[m] has quit [(Ping timeout: 246 seconds)]
mpuppe[m] has quit [(Ping timeout: 246 seconds)]
ison[m] has quit [(Ping timeout: 246 seconds)]
mgdelacroix[m] has quit [(Ping timeout: 246 seconds)]
jlle[m] has quit [(Ping timeout: 246 seconds)]
nh2[m] has quit [(Ping timeout: 246 seconds)]
Sovereign_Bleak has quit [(Ping timeout: 246 seconds)]
bhipple[m] has quit [(Ping timeout: 246 seconds)]
admin[m] has quit [(Ping timeout: 246 seconds)]
JameySharp[m] has quit [(Ping timeout: 246 seconds)]
AsherGottlieb[m] has quit [(Ping timeout: 246 seconds)]
teh[m] has quit [(Ping timeout: 246 seconds)]
yochai[m] has quit [(Ping timeout: 246 seconds)]
AmineChikhaoui[m has quit [(Ping timeout: 246 seconds)]
voobscout[m] has quit [(Ping timeout: 246 seconds)]
Johnny44[m] has quit [(Ping timeout: 246 seconds)]
octalsrc[m] has quit [(Ping timeout: 246 seconds)]
berot3[m] has quit [(Ping timeout: 246 seconds)]
mtncoder[m] has quit [(Ping timeout: 246 seconds)]
hendrik[m] has quit [(Ping timeout: 246 seconds)]
equalunique[m] has quit [(Ping timeout: 246 seconds)]
regnat[m] has quit [(Ping timeout: 246 seconds)]
Kallegro[m] has quit [(Ping timeout: 246 seconds)]
necronian has quit [(Ping timeout: 246 seconds)]
spacekitteh[m] has quit [(Ping timeout: 246 seconds)]
<infinisil> Ohh, how about a filter for the trace
freeman42x has quit [(Ping timeout: 255 seconds)]
akavel[m] has quit [(Ping timeout: 255 seconds)]
retrry[m] has quit [(Ping timeout: 255 seconds)]
Pneumaticat has quit [(Ping timeout: 255 seconds)]
r3mfKm[m] has quit [(Ping timeout: 255 seconds)]
Leo[m]2 has quit [(Ping timeout: 246 seconds)]
DIzFer[m] has quit [(Ping timeout: 246 seconds)]
Exee7uvo[m] has quit [(Ping timeout: 246 seconds)]
Vincenzo[m] has quit [(Ping timeout: 246 seconds)]
spawnthink[m] has quit [(Ping timeout: 246 seconds)]
reactormonk[m] has quit [(Ping timeout: 246 seconds)]
trikl[m] has quit [(Ping timeout: 246 seconds)]
Phyra[m] has quit [(Ping timeout: 246 seconds)]
thomad[m] has quit [(Ping timeout: 246 seconds)]
AllanDaemon[m] has quit [(Ping timeout: 246 seconds)]
tobim[m] has quit [(Ping timeout: 246 seconds)]
Khorne[m] has quit [(Ping timeout: 246 seconds)]
adisbladis[m] has quit [(Ping timeout: 246 seconds)]
Nobabs27[m] has quit [(Ping timeout: 246 seconds)]
lecorpsnoir[m] has quit [(Ping timeout: 246 seconds)]
dalaing has quit [(Ping timeout: 246 seconds)]
dylanjust[m] has quit [(Ping timeout: 246 seconds)]
AlanPearce[m] has quit [(Ping timeout: 246 seconds)]
bachp has quit [(Ping timeout: 246 seconds)]
Ralith has quit [(Ping timeout: 246 seconds)]
florianjacob has quit [(Ping timeout: 246 seconds)]
edef[m] has quit [(Ping timeout: 246 seconds)]
M-liberdiko has quit [(Ping timeout: 246 seconds)]
gudea[m] has quit [(Ping timeout: 252 seconds)]
WinterFox[m] has quit [(Ping timeout: 252 seconds)]
krawiec[m] has quit [(Ping timeout: 252 seconds)]
smbarte2[m] has quit [(Ping timeout: 252 seconds)]
Phil[m]1 has quit [(Ping timeout: 252 seconds)]
zigschots20[m] has quit [(Ping timeout: 252 seconds)]
sirius[m] has quit [(Ping timeout: 252 seconds)]
fgaz[m] has quit [(Ping timeout: 252 seconds)]
aniketd[m] has quit [(Ping timeout: 252 seconds)]
zoya-kosova[m] has quit [(Ping timeout: 252 seconds)]
peel[m] has quit [(Ping timeout: 252 seconds)]
mrdaak[m] has quit [(Ping timeout: 252 seconds)]
qrilka[m] has quit [(Ping timeout: 252 seconds)]
M-gst has quit [(Ping timeout: 252 seconds)]
moredhel1 has quit [(Ping timeout: 252 seconds)]
chominist[m] has quit [(Ping timeout: 252 seconds)]
NickHu has quit [(Ping timeout: 252 seconds)]
timclassic has quit [(Ping timeout: 252 seconds)]
magnap has quit [(Ping timeout: 252 seconds)]
onito[m] has quit [(Ping timeout: 252 seconds)]
dtz has quit [(Ping timeout: 252 seconds)]
TimePath has quit [(Ping timeout: 259 seconds)]
xurxo[m] has quit [(Ping timeout: 259 seconds)]
sudoreboot[m] has quit [(Ping timeout: 240 seconds)]
myklam[m] has quit [(Ping timeout: 264 seconds)]
etcinit[m] has quit [(Ping timeout: 264 seconds)]
AdamSlack[m] has quit [(Ping timeout: 264 seconds)]
Dezgeg[m] has quit [(Ping timeout: 264 seconds)]
aminech[m] has quit [(Ping timeout: 264 seconds)]
tokudan[m] has quit [(Ping timeout: 264 seconds)]
Oo[m] has quit [(Ping timeout: 264 seconds)]
bennofs[m] has quit [(Ping timeout: 264 seconds)]
musicmatze[m] has quit [(Ping timeout: 264 seconds)]
M-berdario has quit [(Ping timeout: 264 seconds)]
demyan[m] has quit [(Ping timeout: 264 seconds)]
wak-work has quit [(Ping timeout: 264 seconds)]
benkolera has quit [(Ping timeout: 264 seconds)]
Wysteriary[m] has quit [(Ping timeout: 264 seconds)]
aspiwack[m] has quit [(Ping timeout: 264 seconds)]
jyp[m] has quit [(Ping timeout: 264 seconds)]
olejorgenb[m] has quit [(Ping timeout: 264 seconds)]
Yaniel has quit [(Ping timeout: 264 seconds)]
nkpart[m] has quit [(Ping timeout: 246 seconds)]
<gchristensen> your attempt at improving recursion debugging has broken the matrix
EB[m] has quit [(Ping timeout: 255 seconds)]
ipj[m] has quit [(Ping timeout: 255 seconds)]
abbafei[m] has quit [(Ping timeout: 255 seconds)]
icetan has quit [(Ping timeout: 255 seconds)]
jsv[m] has quit [(Ping timeout: 255 seconds)]
kevincox has quit [(Ping timeout: 255 seconds)]
kitten[m] has quit [(Ping timeout: 255 seconds)]
a123123123[m] has quit [(Ping timeout: 255 seconds)]
sk23[m] has quit [(Ping timeout: 255 seconds)]
matrixkrav has quit [(Ping timeout: 255 seconds)]
Elephant454[m] has quit [(Ping timeout: 255 seconds)]
malteof[m] has quit [(Ping timeout: 255 seconds)]
mankyKitty[m] has quit [(Ping timeout: 255 seconds)]
grahamc has quit [(Ping timeout: 255 seconds)]
pstn has quit [(Ping timeout: 255 seconds)]
dash has quit [(Ping timeout: 255 seconds)]
ArdaXi[m] has quit [(Ping timeout: 255 seconds)]
sziszi[m] has quit [(Ping timeout: 276 seconds)]
Manish[m] has quit [(Ping timeout: 276 seconds)]
wmertens[m] has quit [(Ping timeout: 276 seconds)]
trevorriles[m] has quit [(Ping timeout: 276 seconds)]
the_m4ur1[m] has quit [(Ping timeout: 276 seconds)]
tommyangelo[m] has quit [(Ping timeout: 276 seconds)]
danielrf has quit [(Ping timeout: 276 seconds)]
bdimcheff has quit [(Ping timeout: 255 seconds)]
<ldlework> apparently
<infinisil> Often times if you use --show-trace, it prints a whole bunch of files, and a single one of those is yours in a different folder, I want it to highlight that
dibblego[m] has quit [(Ping timeout: 276 seconds)]
<infinisil> because that's the relevant one really
erictapen has quit [(Read error: Connection reset by peer)]
<infinisil> Some shell command could probably do that
johnw has quit [(Ping timeout: 240 seconds)]
FRidh has joined #nixos
flyx has quit [(Ping timeout: 260 seconds)]
johnw has joined #nixos
flyx has joined #nixos
<infinisil> Ohh, I just tried to reproduce the recursion thing to make such a command
<infinisil> let f = x: f x; in f 1
<infinisil> But this prints "error: stack overflow (possible infinite recursion)"
warbo has quit [(Ping timeout: 255 seconds)]
pie_ has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
leat has quit [(Read error: No route to host)]
infinisil has joined #nixos
ylwghst has joined #nixos
phreedom has joined #nixos
siel has joined #nixos
<infinisil> using nixops for both the local machine and a server together sucessfully :D hyper_ch
<infinisil> and adisbladis was interested in this too i think
p4cman has quit [(Quit: Connection closed for inactivity)]
<riclima> What's the convention for naming the Nix expression file on my project?
<riclima> On the tutorial and Nix pills, for GNU Hello they call it "hello.nix", but in other places they call it "Default.nix"
<riclima> Under a folder named after the project
ylwghst has quit [(Client Quit)]
<infinisil> riclima: When you insert it into nixpkgs, just look what other packages in that category do
<riclima> Right, sorry I mean for local development
<srhb> riclima: Up to you, really. nix-build will auto execute default.nix, nix-shell will auto execute shell.nix
<srhb> riclima: It's also useful for later extending into more files, since callPackage on the directory will use the default.nix
<srhb> and packagefoo/packagefoo.nix looks ugly to me
<riclima> Right
<riclima> So, on my root directory, default.nix?
<infinisil> I use <name>.nix if it's just a small thing, and split it into multiple files under <name>/<files>.nix when i need to split it a bit
<riclima> OK got it, so I guess I'll use shell.nix for local development
<riclima> And when I'm ready to package it for deployment elsewhere
<riclima> I can make a separate project with the 'projectname/default.nix'?
<infinisil> what filestructure you use is entirely up to you, nix doesn't constrain you in any way
<riclima> Alright, cheers
<infinisil> You don't even need .nix extensions :P
<srhb> riclima: If you dislike that, you are welcome to follow my Superior Sense of Aesthetics and use default.nix and shell.nix. (Not endorsed by NixOS as an organization)
<srhb> :-)
<ldlework> Is there any difference at all between `foo = import ./foo` and `foo = import (fetchFromGithub { ... })` ?
<ldlework> I have a file on github and the same file locally. When I use the natural import my stuff compiles. When I use fetch from github I get infinite recursion. They are the same exact file.
<srhb> Short of defining fetchFromGithub in foo and then scoping it, I don't see it.
<infinisil> ldlework: fetchFromGitHub requires pkgs to be evaluated
<infinisil> which means all overlays
<infinisil> which means the config
<ldlework> I see
<infinisil> which means you have to use (import <nixpkgs> {}).fetchFromGitHub if you need it for the config
<riclima> srhb haha you dropped this though: TM
<ldlework> infinisil it says, attribute ‘fetchFromGithub’ missing, at /Users/dustinlacewell/.config/nixpkgs/plugins.nix:6:25
<infinisil> GitHub
<srhb> riclima: Woops!
leat has joined #nixos
<ldlework> doh
<riclima> Also, someone linked me the other day to a guide for using Nix in conjunction with Python projects but I lost it
<riclima> Does anyone know what I'm talking about?
<ldlework> infinisil that indeed worked
<riclima> Sweet, thanks srhb !
<srhb> riclima: I think I linked it to you. It's just the source for the python chapter in the nixpkgs manual.
<infinisil> Hold on, since only this python doc is written in md, that's the only documentation you have rendered by default of the latest master?
<infinisil> and all the others you have to compile yourself if you want them in readable form?
<srhb> Basically.
<srhb> Infuriating, innit :P
<infinisil> --.--
TweyII has quit [(Ping timeout: 240 seconds)]
<infinisil> That's horrible
MichaelRaskin has joined #nixos
ThatDocsLady has quit [(Ping timeout: 246 seconds)]
* infinisil wants to start bashing xml yet again, but holds back
<srhb> woo!
<srhb> rust and vim too :-)
<infinisil> Haskell people rock
FRidh has quit [(Ping timeout: 260 seconds)]
<gchristensen> 👀
<srhb> M-x describe-char
dhess has joined #nixos
<srhb> "EYES" -- thanks unicode.
<infinisil> I have yet to have some proper emoji font on linux
<srhb> It's probably quite hard with fixed width?
<infinisil> I have nerdfonts which has lots of such symbols, they screw a bit with the width in vim, but it's not too bad
ma27 has quit [(Ping timeout: 252 seconds)]
<infinisil> Well that's something, why is the encoding messed up though
<infinisil> I mean these Â's all over the place
<gchristensen> nixpkgs docs on the website get rendered and updated every time the nixos-17.09 channel updates, if that is helpful
p4cman has joined #nixos
<LnL> not sure what's up with the encoding, might be an issue on master
<riclima> srhb Yeah, reading it now. It's clarifying a lot of confusion
<infinisil> Meh, I feel like there should be a page with all the doc stuff for unstable
<dtzWill> andrewrk: hmm it's in my unstable channel
<LnL> infinisil: I agree :)
<dtzWill> which I didn't update today, err
<gchristensen> perhaps a PR to nixos-homepage is in order
<infinisil> I'm afraid of the web
<gchristensen> (almost) no web required, just (mostly) Makefile
<srhb> master renders fine for me locally.
<srhb> Must be some serving weirdness.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] earldouglas opened pull request #30588: nixos/jenkins: add an option for the package (master...jenkins-pkg) https://git.io/vd5wR
NixOS_GitHub has left #nixos []
FRidh has joined #nixos
earldouglas has joined #nixos
ma27 has joined #nixos
<andrewrk> dtzWill, isn't there some URL you can curl to get the current unstable version?
<dtzWill> andrewrk: fwiw I checked my channel and I'm on https://github.com/NixOS/nixpkgs-channels/commit/3fe7cddc304abb86e61a750a4f807270c7ca7825 so I'm not sure why it wouldn't be there for you ( https://nixos.org/channels/nixos-unstable )
<dtzWill> andrewrk: yes, but I forget. Someone else might know, but I'll look real quick
<dtzWill> gchristensen has a neat channel release graph thing
<dtzWill> :D
<gchristensen> :D
<MichaelRaskin> You never got around to plotting delay of channel update?
<gchristensen> MichaelRaskin: doing good work is rewarded by more work, and by have I been granted more work
<andrewrk> dtzWill, that must have changed between last night and now
pikajude has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<andrewrk> cool, I just did another update and now I'm also on 00e56fbbee which has llvm 5
<MichaelRaskin> Did you get around to _collect_ both datapoints?
pikajude has joined #nixos
<MichaelRaskin> I guess I could quickly write you a shell script for generating a gnuplot graph and JSON for your fancy JS-only thing.
<dtzWill> andrewrk: hooray! And I just realized that a commit date of 13days ago doesn't mean what I was using it to mean xD. Awesome that it just-happened-to-be-updated in time
<andrewrk> dtzWill, oh, yeah, if you look at the release date on the page you linked, it's last night hours after I updated
<andrewrk> ha
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vd5rS
<NixOS_GitHub> nixpkgs/master b17ec54 gnidorah: pythonPackages.fontconfig: init at 0.5.1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #30576: pythonPackages.python-fontconfig: init at 0.5.1 (master...fontconfig) https://git.io/vd7ia
NixOS_GitHub has left #nixos []
<dtzWill> > "Chart title"
<dtzWill> teehee
<gchristensen> https://github.com/grahamc/network/blob/master/zoidberg/nix-channel-monitor/changes.sh minor fixes and complete overhauls welcome, dtzWill :P
<dtzWill> HA! well played
<dtzWill> thanks for putting it together and hosting O:)
<gchristensen> :)
<gchristensen> ideally these things I host would ultimately move to nixos-hosted infra so its not just on some dude's domain
<infinisil> Ohhh, gsc.io is your domain :O
<gchristensen> grahamc <-s-> gchristensen
<infinisil> I always wondered what weird url that was
<srhb> infinisil: I always thhought it was some google thing
<srhb> makes sensen now :P
<infinisil> gchristensen: Yeah, but why gsc?
<srhb> Is Susan Potter in this channel?
<gchristensen> srhb: not usually
<gchristensen> infinisil: my middle initial is `s`
<srhb> Darn.
<infinisil> I see
<gchristensen> srhb: what's up?
<gchristensen> srhb: she's very active on twitter (https://twitter.com/SusanPotter)
<srhb> funops.co is suspended, I think it's hers.
<srhb> It has some nice nix-by-example oneliners and things
<cransom> oh. i'll poke her
<srhb> cransom: Thanks! :)
<infinisil> I recently changed my currently exclusively privately used domain infinisil.io to infinisil.com, which is much cheaper
FRidh has quit [(Ping timeout: 240 seconds)]
<infinisil> there were a few problems with io domains popping up, and i decided the swap points isn't worth the money and the potential problems
<infinisil> s/swap/swag
FRidh has joined #nixos
<srhb> I only have .dk domains. Cheap as dirt.
newguy has joined #nixos
<infinisil> multiple ones?
kkini has quit [(Ping timeout: 240 seconds)]
<srhb> Well, yes, I pay for a few student organizations that I manage the meager infrastructure for.
<infinisil> Cool
<srhb> (Selfishness, I cba dealing with other people failing to renew etc :-P)
<infinisil> Isn't it pretty standard today to have it autorenewed by the registrar?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #6963: mysql: adding option to create databases and users (master...mysql-master) https://git.io/hp2R
NixOS_GitHub has left #nixos []
leat has quit [(Ping timeout: 240 seconds)]
<srhb> yes, thankfully. That wasn't the case always though.
Judson1 has joined #nixos
<cransom> srhb: haven't seen her yet, but the guts of said site are at https://github.com/functionalops/nix-cookbook
nh2 has joined #nixos
Judson1 is now known as Guest88545
<srhb> cransom: Ah, nice, thank you :)
<infinisil> what the hell, why do i need to compile openjdk. Am on latest unstable, trying to build the docs
stanibanani has joined #nixos
<infinisil> the nixpkgs docs specifically
<srhb> infinisil: It is cached.
<srhb> infinisil: Which unstable?
<infinisil> Oh, maybe i pulled from nixpkgs, hold on
<infinisil> Ahh yeah I'm on master duh
<srhb> :)
<srhb> You need a fancier PS1
<infinisil> PS1?
<srhb> prompt.
<infinisil> My prompt says master, I'm just stupid :)
<srhb> oh :D
<srhb> It's all kinds of fun when you end up rebuilding your system on a wrong branch and go to get coffee or something.
<infinisil> at least you can't break anything
<srhb> I imagine that one day nixUnstable lands in master as the default or something.
<srhb> So... watch me :-P
ma27 has quit [(Ping timeout: 264 seconds)]
<infinisil> You mean accidentally merging master when you think it's unstable?
<srhb> Yeah.
<infinisil> i believe my git level is high enough that I'd know how to revert this
gilligan_ has quit [(Ping timeout: 264 seconds)]
<srhb> I have a colleague who pronounces it re-flogging.
<srhb> (Which is apt)
Lisanna has quit [(Quit: Page closed)]
<infinisil> Heh, I think i did the same until i knew what the word meant
erictapen has joined #nixos
leat has joined #nixos
<earldouglas> I have that problem with /etc/fstab, which I've always called "f-stab".
ylwghst has joined #nixos
<pikajude> what is the "lib" argument in a nixops expression?
<pikajude> can I add things to that?
MichaelRaskin has quit [(Ping timeout: 246 seconds)]
ylwghst has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy pushed 1 new commit to master: https://git.io/vd5Pr
<NixOS_GitHub> nix/master c7af84c Shea Levy: nix-shell: Fix file name resolution in shebangs
NixOS_GitHub has left #nixos []
MichaelRaskin has joined #nixos
<srhb> pikajude: Usually nixpkgs/lib :)
<pikajude> ah, ok
ylwghst has joined #nixos
<pikajude> the way builtins.filterSource works is so confusing to me
ma27 has joined #nixos
<pikajude> it only descends into a directory if the directory passes the filter
stanibanani has quit [(Ping timeout: 246 seconds)]
<pikajude> meaning if you use sourceFilesBySuffices, you do only get source files with the right suffix but then you also get a bunch of empty directories
<pikajude> maybe there should be another step to filter out empty directories :/
FRidh has quit [(Ping timeout: 240 seconds)]
<pikajude> the way it operates should really be a lot more like `find . | grep 'my-suffix$'`
zarel has joined #nixos
scribbler has quit [(Remote host closed the connection)]
S0rin has quit [(Ping timeout: 248 seconds)]
<ylwghst> disasm: brb
<disasm> ylwghst: k
<ylwghst> w8 a sec
<ylwghst> i was just experimenting with services.xserver.desktopManager.default ...
<ylwghst> but without luck
<infinisil> earldouglas: Lol, now that you say it
S0rin has joined #nixos
<ylwghst> disasm: so it should work in unstable?
<disasm> ylwghst: not yet, you'd have to checkout nixpkgs and install from that or do an override
<disasm> ylwghst: I don't see sway in your config there
<ylwghst> disasm: its not there
<ylwghst> i have installed it using nix-env
<ylwghst> its running well on my system
<ylwghst> just cant run x11 apps
<ylwghst> xwayland installed already as well
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Moredread opened pull request #30589: electrum: Enable plotting support (master...electrum_mpl) https://git.io/vd5Dt
NixOS_GitHub has left #nixos []
jbgi has joined #nixos
<infinisil> How about `function precmd() { sudo zfs destroy <pool>/importantDataset@prev; sudo zfs snapshot <pool>/importantDataset@prev; }
<infinisil> This makes most filesystem fuckups reversable
sigmundv has quit [(Ping timeout: 252 seconds)]
<infinisil> somehow feels like a bad idea though
<disasm> ylwghst: ok, try removing from nix-env and replace add this in your configuration.nix: https://gist.github.com/51f3de679e31e332a422c98c1f80ea61
bennofs has joined #nixos
jb55 has quit [(Ping timeout: 240 seconds)]
scribbler has joined #nixos
<ylwghst> disasm: thx im gonna try something ill be back in minute
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
<Guanin> uh, one more question: are there any other ways of managing users and login besides pam and ldap?
drakonis has joined #nixos
<kragniz> gchristensen: I'm looking for sticker design/supplier recommendations
<kragniz> gchristensen: then I'll order a load and get them sent here
<gchristensen> kragniz: I use stickermule.com and they do a great bulk price
<disasm> Guanin: lots :) pretty much any database you've ever used can, flat files, etc...
ylwghst has quit [(Quit: Lost terminal)]
erictapen has quit [(Ping timeout: 240 seconds)]
<kragniz> has anyone done a design with the new logo and some text?
erictapen has joined #nixos
aswanson has joined #nixos
<infinisil> new logo?
<kragniz> 'new' logo
<gchristensen> kragniz: you mean the one I just linked?
<infinisil> the slightly new colors?
<aswanson> any R users online? I'm having trouble getting some packages installed that depend on openssl because openssl won't install
<kragniz> ie not the old thin one
<Guanin> disasm, I meant compatible to ssh, nginx, gogs/gitlab ;)
<kragniz> gchristensen: yeah
<gchristensen> kragniz: I don't know of any with text
<gchristensen> kragniz: you can upload a logo to stickermule and ask them to change it
<gchristensen> they're pretty easy to work with
ylwghst has joined #nixos
<ylwghst> disasm: so
<ylwghst> ive got working just with this configuration
<ylwghst> wroking it*
<kragniz> gchristensen: okay, cool
erictapen has quit [(Ping timeout: 240 seconds)]
jcarr has joined #nixos
<disasm> ylwghst: yeah, that'll be the old version, and there's some security issues without setting capabilities, but the stuff Mic92 and I were working on should be backported to stable.
<ylwghst> disasm: ok ill try it
<ylwghst> disasm: should I add my user into group sway?
<ylwghst> disasm: I don't understand exactly what security.wrappers.sway does
<ylwghst> hm
<ylwghst> i see
<ylwghst> only root or users in sway group can start sway right?
markus1199 has quit [(Ping timeout: 258 seconds)]
markus1189 has joined #nixos
Alling has joined #nixos
MP2E has joined #nixos
<CrazedProgrammer> disasm: awesome, any chance of making it into a module? :)
newguy has quit [(Ping timeout: 260 seconds)]
<Alling> Yo guys! Trying to download and build mitmproxy (Python package) but curl returns 404 when it tries pypi.org/.../mitmproxy-2.0.2.tar.gz etc. Ironically, when I visit any other package, even one that doesn't exist, on Pypi, I get a green padlock and "Python Software Foundation" CA, but mitmproxy @ Pypi = no padlock.
<disasm> CrazedProgrammer: regarding?
<CrazedProgrammer> sway
<Alling> So basically, this fails: src = fetchPypi { inherit pname version; sha256 = "..."; }
<CrazedProgrammer> so you can do xserver.(or wayland).windowManagers.sway.enable = true;
<disasm> CrazedProgrammer: ah, there's a PR someone else is working on... https://github.com/NixOS/nixpkgs/pull/19663
<kragniz> gchristensen: was thinking something more like https://sr.ht/-RcD.png
<CrazedProgrammer> ooh, thanks
<Alling> This is what I want: https://pypi.python.org/pypi/mitmproxy/2.0.2
<gchristensen> kragniz: I'd ditch the bottom line of text and the black border, otherwise looks _really_ good
<kragniz> yeah, that's just a screenshot from inkscape, the boarder will go
<gchristensen> cool
<kragniz> I guess the bottom text isn't needed
<Alling> I'm so perplexed right now ...
<Alling> Is it even possible that example.com/dir/<whatever> = green padlock etc EXCEPT when <whatever> is "mitmproxy"?
<gchristensen> yes
<gchristensen> its including content from pages which aren't over ssl
<Alling> OK, I see.
<gchristensen> specifically this one: http://slack.mitmproxy.org/badge.svg
dieggsy has joined #nixos
<Alling> It seems that there is no .tar.gz file at all for that particular package. Can I use the .whl in some way?
ma27 has quit [(Ping timeout: 246 seconds)]
<MichaelRaskin> Of all packages, including non-https content on the page of a MITM proxy is a nice touch.
<gchristensen> :D
jb55 has joined #nixos
<Alling> MichaelRaskin: Yeah, irony if ever I saw some.
<MichaelRaskin> Is .whl Just Yet Another Alias For ZIP As If We Did Not Have Enough Ten Years Ago Already?
<Alling> gchristensen: MichaelRaskin I don't know what .whl is ... can I use it to install the package in NixOS?
<MichaelRaskin> Erm, downloading and unzipping usually gives pretty strong evidence if something is a zip archive.
<gchristensen> tbh Alling doesn't care if it is a zip :P
ertes has joined #nixos
ma27 has joined #nixos
<Alling> gchristensen: Tbh you are right. Just want my mitmproxy. :)
<MichaelRaskin> If it is a zip, it is likely that replacing src is easy.
<michaelpj> Alling: `fetchPypi { format = "wheel", ... }`
civodul has joined #nixos
<disasm> Alling: any reason you can't use the one in nixpkgs?
dtulig has joined #nixos
dhess has quit [(Remote host closed the connection)]
dhess has joined #nixos
<disasm> Alling: if you need to alter it, I'd start with it as a base: pkgs/tools/networking/mitmproxy/default.nix
<Alling> disasm: ................ Mein Gott ... I was so sure it wouldn't be included that I didn't even consider that.
ma27 has quit [(Ping timeout: 240 seconds)]
<gchristensen> Alling: when in doubt: https://search.nix.gsc.io/?q=mitmproxy
<MichaelRaskin> From your complaints I assumed there is an upstream change at its PyPI paage, to be honest.
<ylwghst> disasm: look
<disasm> Alling: we have everything (except that one really odd package you really want that we're waiting on you to package)
ma27 has joined #nixos
<ylwghst> disasm: something is messed here https://gist.github.com/dc2da5303851b9fee9ec48d3861e0c11
<Alling> MichaelRaskin: From my complaints you should have assumed that I was braindead. o_o
<ylwghst> disasm: cant figure what
zarel has quit [(Quit: Leaving)]
zarel has joined #nixos
<MichaelRaskin> Alling: braindead people generally have horribly low typing speed. It is rumored that other modes of communication are also impaired by that condition.
dhess has quit [(Ping timeout: 246 seconds)]
<gchristensen> >.>
<gchristensen> kragniz: "xxxx purchased your stickers!" :)
<Alling> Well, what can I say. Worked like a charm.
jb55 has quit [(Ping timeout: 264 seconds)]
<disasm> ylwghst: no you don't want to add yourself to the group. That group is used to isolate capabilities so other users on the system can't mess with sway.
noobly has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vd57j
<NixOS_GitHub> nixpkgs/master 9a84b52 Nikolay Amiantov: openra: 20161019 -> 20171014...
NixOS_GitHub has left #nixos []
<kragniz> gchristensen: wasn't me!
<kragniz> (I hope)
<gchristensen> oh!
<gchristensen> someone else then
<ylwghst> disasm:
<ylwghst> ok
<andrewrk> what's the nixos way to edit /etc/hosts?
<ma27> networking.hosts
<andrewrk> thx
Oida has quit [(Ping timeout: 252 seconds)]
zarel has quit [(Quit: Leaving)]
jb55 has joined #nixos
<noobly> how does one get drracket
<noobly> and is simply using "racket" any different
<noobly> just asking because I'm trying to accurately get through "The Little Schemer"
<andrewrk> ma27, error: The option `networking.hosts' defined in `/etc/nixos/configuration.nix' does not exist.
dhess has joined #nixos
<ma27> which version of NixOS do you use?
<ylwghst> andrewrk:
<ylwghst> im updating it with my custom scripts
Oida has joined #nixos
<ylwghst> so i needed acces to it
<ma27> otherwise you might want to use networking.extraHosts
<ylwghst> because i have about 40000 lines of hostnames
jbgi has quit [(Ping timeout: 246 seconds)]
<andrewrk> ma27, thanks, worked
<ylwghst> environment.etc.hosts.enable = false;
<ylwghst> will allow you to write into etc/hosts
jcarr has quit [(Ping timeout: 240 seconds)]
<ylwghst> disasm: ok ive got it missed , ... in first line
<infinisil> Would be nice if nix supported parallelist
<infinisil> parallelism
<infinisil> In the evaluation phase I mean
<tilpner> noobly - Still having trouble with that...? O.o
<tilpner> (I remember trying to help you with that... months (?) ago)
erictapen has joined #nixos
<tilpner> noobly - drracket should still be avaiable through the racket package
ylwghst has quit [(Quit: Lost terminal)]
erictapen has quit [(Ping timeout: 246 seconds)]
ylwghst has joined #nixos
scribbler has quit [(Remote host closed the connection)]
abbradar has joined #nixos
abbradar has quit [(Remote host closed the connection)]
erictapen has joined #nixos
noobly has quit [(Ping timeout: 260 seconds)]
scribbler has joined #nixos
ma27 has quit [(Ping timeout: 246 seconds)]
dhess has left #nixos ["ERC (IRC client for Emacs 25.3.2)"]
<tilpner> clangStdenv doesn't find <climits> and <cmath>, while stdenv did. Any ideas?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vd5Ak
<NixOS_GitHub> nixpkgs/master acd8004 Michael Weiss: android-studio-preview: 3.0.0.16 -> 3.0.0.17
NixOS_GitHub has left #nixos []
k2s has joined #nixos
k2s has quit [(Client Quit)]
drakonis has quit [(Read error: Connection reset by peer)]
<kragniz> gchristensen: I ordered 500 from a uk supplier, since it seemed like stickermule wouldn't deliver them before the conference
<gchristensen> nice :)
<gchristensen> ok
<gchristensen> how much?
<kragniz> 113.85 gbp
<gchristensen> pretty good
<gchristensen> will you be at nixcon or no? I'd love to get a few of those
gilligan_ has joined #nixos
<kragniz> nah, I'm at freenode.live the same weekend
<kragniz> I'll have some left over if you're around for fosdem though
riclima has quit [(Quit: riclima)]
<kragniz> or 34c3
<gchristensen> unfortunately not
<gchristensen> it is okay :)
johnsonav has joined #nixos
riclima has joined #nixos
riclima has quit [(Client Quit)]
riclima has joined #nixos
ylwghst has quit [(Quit: leaving)]
ylwghst has joined #nixos
Ivanych has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #30591: musl: 1.1.16 -> 1.1.17, build with stack protector (master...update/musl-1.1.17) https://git.io/vd5p5
NixOS_GitHub has left #nixos []
steshaw has quit [(Quit: Connection closed for inactivity)]
kiloreux has quit [(Ping timeout: 240 seconds)]
kiloreux__ has quit [(Ping timeout: 252 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
grumble has quit [(Quit: grumble)]
grumble has joined #nixos
kp__ has joined #nixos
kp__ has quit [(Client Quit)]
kp__ has joined #nixos
JosW has quit [(Quit: Konversation terminated!)]
<joepie91> gchristensen: kragniz: future recommendation for sticker printing, if there's somebody involved who is in NL; I have very good experiences with drukwerkdeal.nl
<joepie91> just the standard vinyl opaque stickers
<joepie91> (they give shipping time guarantees, have an expedited option, and the stickers are just generally very high quality, at least the type I got)
<kragniz> nice
<joepie91> also, break lines :P
<kragniz> I went with somewhere in the same city I live in in the UK
slyfox_ is now known as slyfox
<joepie91> yeah, it's no good if you're not in NL
<joepie91> just as a future recommendation :)
<joepie91> I don't think they even ship internationally anyway
jcarr has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
bennofs has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vddvC
<NixOS_GitHub> nixpkgs/master b28bd2a Matthew Justin Bauer: Update CODEOWNERS to use darwin-maintainers team...
<NixOS_GitHub> nixpkgs/master 6c43d2a Daiderd Jordan: Merge pull request #30341 from matthewbauer/patch-4...
NixOS_GitHub has left #nixos []
hamishmack has quit [(Quit: hamishmack)]
stanibanani has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vddvD
<NixOS_GitHub> nixpkgs/master c800d57 Jun Hao: qt5: fix Darwin build for 5.9.2
<NixOS_GitHub> nixpkgs/master 215f2ca Daiderd Jordan: Merge pull request #30404 from j-hao/master...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #30404: qt5: fix Darwin build for 5.9.2 (master...master) https://git.io/vdXdv
NixOS_GitHub has left #nixos []
Alling has quit [(Ping timeout: 260 seconds)]
wrl_ is now known as wrl
jcarr has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
hiratara has quit [(Ping timeout: 252 seconds)]
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/acd80042a4 (from 60 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
hiratara has joined #nixos
joepie91 has quit [(Read error: No route to host)]
joepie91___ has joined #nixos
joepie91___ has quit [(Changing host)]
joepie91___ has joined #nixos
jcarr has joined #nixos
joepie91___ is now known as joepie91
orivej has joined #nixos
gilligan_ has quit [(Ping timeout: 240 seconds)]
aswanson has quit [(Quit: WeeChat 1.9.1)]
riclima has joined #nixos
ylwghst has joined #nixos
zigschots20[m] has joined #nixos
ylwghst has quit [(Ping timeout: 252 seconds)]
iqubic has joined #nixos
Ralith has joined #nixos
<Ralith> Is there a way to suppress curl output from nix-build, without hiding other build output?
ericsagnes has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vddki
<NixOS_GitHub> nixpkgs/master 19efa65 Dmitry Kalinkin: texlive: fix after dependency update
<NixOS_GitHub> nixpkgs/master 7771edb Daiderd Jordan: Merge pull request #30564 from veprbl/texlive-icu-fix...
NixOS_GitHub has left #nixos []
michiel_l has joined #nixos
S0rin has quit [(Ping timeout: 255 seconds)]
demego has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Quit: riclima)]
S0rin has joined #nixos
csingley has quit [(Ping timeout: 255 seconds)]
jcarr has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Nadrieril opened pull request #30594: Update firefox.syncserver and its dependencies (master...update-ffsync) https://git.io/vddIh
NixOS_GitHub has left #nixos []
sphalerite has joined #nixos
<sphalerite> All these people talking about Halloween events...
<sphalerite> Screw Halloween, nixcon is better :D
ericsagnes has joined #nixos
stanibanani1 has joined #nixos
<avn> sphalerite: will you go? ;)
riclima has joined #nixos
nixo[m] has joined #nixos
cornu[m] has joined #nixos
unlmtd has joined #nixos
dtz has joined #nixos
nkpart[m] has joined #nixos
spawnthink[m] has joined #nixos
jyp[m] has joined #nixos
Phyra[m] has joined #nixos
bdimcheff has joined #nixos
TimePath has joined #nixos
baconicsynergy[m has joined #nixos
viaken[m] has joined #nixos
moredhel1 has joined #nixos
regnat[m] has joined #nixos
mankyKitty[m] has joined #nixos
hl has joined #nixos
sirius[m] has joined #nixos
primeos[m] has joined #nixos
berot3[m] has joined #nixos
aspiwack[m] has joined #nixos
peterhoeg has joined #nixos
magnap has joined #nixos
freeman42x has joined #nixos
a123123123[m] has joined #nixos
bachp has joined #nixos
NickHu has joined #nixos
hendrik[m]1 has joined #nixos
davidar has joined #nixos
timclassic has joined #nixos
mith[m] has joined #nixos
zoya-kosova[m] has joined #nixos
the_m4ur1[m] has joined #nixos
Nobabs27[m] has joined #nixos
kitten[m] has joined #nixos
Naughtmare[m] has joined #nixos
wak-work has joined #nixos
M-liberdiko has joined #nixos
Oo[m] has joined #nixos
peel[m] has joined #nixos
rycee has joined #nixos
puffnfresh has joined #nixos
ArdaXi[m] has joined #nixos
octalsrc[m] has joined #nixos
sudoreboot[m] has joined #nixos
teh[m] has joined #nixos
matrixkrav has joined #nixos
chominist[m] has joined #nixos
olejorgenb[m] has joined #nixos
copumpkin has joined #nixos
Li[m]1 has joined #nixos
efx[m] has joined #nixos
itorres has joined #nixos
trikl[m] has joined #nixos
Elephant454[m] has joined #nixos
Exee7uvo[m] has joined #nixos
ipj[m] has joined #nixos
Geeky[m] has joined #nixos
mgdelacroix[m] has joined #nixos
Johnny44[m] has joined #nixos
tokudan[m] has joined #nixos
reactormonk[m] has joined #nixos
herzmeister[m] has joined #nixos
nh2[m] has joined #nixos
kevincox has joined #nixos
FRidh[m] has joined #nixos
AlanPearce[m] has joined #nixos
myklam[m] has joined #nixos
danielrf has joined #nixos
lecorpsnoir[m] has joined #nixos
qrilka[m] has joined #nixos
abbafei[m] has joined #nixos
thematter[m] has joined #nixos
Wysteriary[m] has joined #nixos
sargon[m] has joined #nixos
AllanDaemon[m] has joined #nixos
M-gst has joined #nixos
spacekitteh[m] has joined #nixos
florianjacob has joined #nixos
necronian has joined #nixos
joehh has quit [(Ping timeout: 240 seconds)]
aminech[m] has joined #nixos
offlinehacker[m] has joined #nixos
Obscurity[m] has joined #nixos
edef[m] has joined #nixos
retrry[m] has joined #nixos
pstn has joined #nixos
benkolera has joined #nixos
wmertens[m] has joined #nixos
akavel[m] has joined #nixos
codyopel has joined #nixos
grahamc has joined #nixos
bhipple[m] has joined #nixos
krawiec[m] has joined #nixos
bennofs[m] has joined #nixos
indefini has joined #nixos
pvn[m] has joined #nixos
WinterFox[m] has joined #nixos
revoltmedia[m] has joined #nixos
yochai[m] has joined #nixos
aniketd[m] has joined #nixos
AmineChikhaoui[m has joined #nixos
jsv[m] has joined #nixos
Sovereign_Bleak has joined #nixos
equalunique[m] has joined #nixos
Yaniel has joined #nixos
sk23[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
onito[m] has joined #nixos
adisbladis[m] has joined #nixos
Dezgeg[m] has joined #nixos
ycy[m] has joined #nixos
Kallegro[m] has joined #nixos
Pneumaticat has joined #nixos
admin[m] has joined #nixos
AndersonTorres[m has joined #nixos
dash has joined #nixos
voobscout[m] has joined #nixos
trevorriles[m] has joined #nixos
mpuppe[m] has joined #nixos
seif[m] has joined #nixos
fgaz[m] has joined #nixos
Phil[m]1 has joined #nixos
mtncoder[m] has joined #nixos
malteof[m] has joined #nixos
DIzFer[m] has joined #nixos
scott1 has joined #nixos
Drakonis[m] has joined #nixos
musicmatze[m] has joined #nixos
kainospur[m] has joined #nixos
bendlas has joined #nixos
apocolocyntos[m] has joined #nixos
M-berdario has joined #nixos
tommyangelo[m] has joined #nixos
AdamSlack[m] has joined #nixos
Leo[m]1 has joined #nixos
Barnabas[m] has joined #nixos
dibblego[m] has joined #nixos
hedning[m] has joined #nixos
dalaing has joined #nixos
EuAndreh[m] has joined #nixos
dylanjust[m] has joined #nixos
demyan[m] has joined #nixos
r3mfKm[m] has joined #nixos
Vincenzo[m] has joined #nixos
noctuid has joined #nixos
wizzup[m] has joined #nixos
jack[m] has joined #nixos
stanibanani has quit [(Ping timeout: 246 seconds)]
rnhmjoj[m] has joined #nixos
StuK[m] has joined #nixos
Manish[m] has joined #nixos
Khorne[m] has joined #nixos
EB[m] has joined #nixos
fearlessKim[m] has joined #nixos
sziszi[m] has joined #nixos
corngood has joined #nixos
eqyiel[m] has joined #nixos
icetan has joined #nixos
etcinit[m] has joined #nixos
M-fishy has joined #nixos
mrdaak[m] has joined #nixos
tobim[m] has joined #nixos
ninegua[m] has joined #nixos
ison[m] has joined #nixos
AsherGottlieb[m] has joined #nixos
maralorn[m] has joined #nixos
mhsjlw[m] has joined #nixos
thomad[m] has joined #nixos
jlle[m] has joined #nixos
smbarte2[m] has joined #nixos
JameySharp[m] has joined #nixos
gudea[m] has joined #nixos
xurxo[m] has joined #nixos
<sphalerite> Of course
<riclima> Has anyone here packaged a Django app with Nix and deployed to a server using Phusion Passenger?
stanibanani1 has quit [(Ping timeout: 248 seconds)]
p4cman has quit [(Quit: Connection closed for inactivity)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
<iqubic> Why does EXWM make a new init file for Emacs?
hiratara has joined #nixos
Ridout has joined #nixos
ris has joined #nixos
steshaw has joined #nixos
justin-sleep has left #nixos ["WeeChat 1.9.1"]
riclima has quit [(Quit: riclima)]
pie_ has quit [(Ping timeout: 246 seconds)]
jb55 has quit [(Ping timeout: 246 seconds)]
pie_ has joined #nixos
jcarr has joined #nixos
riclima has joined #nixos
jtojnar has joined #nixos
guest1230 has joined #nixos
<guest1230> hi, is there a way to concat something with a potentially unset list (e.g. to add a patch to derivation)?
<guest1230> `foo.overrideDerivation (super: { patches = super.patches ++ [ ./foo.patch ]; })` works only if `patches` is set for derivation i'm trying to override
<MichaelRaskin> (x.patches or []) ++
<guest1230> MichaelRaskin: thank you a lot!
mbrgm has quit [(Ping timeout: 248 seconds)]
jcarr has quit [(Remote host closed the connection)]
mbrgm has joined #nixos
guest1230 has quit [(Client Quit)]
moet has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cransom opened pull request #30595: kisslicer: init at 1.6.2 (master...kisslicer) https://git.io/vddYL
NixOS_GitHub has left #nixos []
jb55 has joined #nixos
<Leo`> Is it possible to write a derivation that does not have a build system at all, but still has propagatedBuildInputs?
<Leo`> At first I had only a fetchFromGitHub at the toplevel of my package, which was fine, but I cannot add propagatedBuildInputs to that...
<MichaelRaskin> overrideDerivation?
<Leo`> I think the overriden thing must still first evaluation to a derivation right?
<Leo`> I don't think it's the case if my package just contains a fetch source call.
<MichaelRaskin> fetchers produce derivations
<MichaelRaskin> They even have builders.
<MichaelRaskin> Actually, you might want just to use //, as you don't want to alter the process of fetching.
<Leo`> Interesting.
<Leo`> So just adding a propagatedBuildInput to the result of a fetcher should work?
<MichaelRaskin> Yes.
<Leo`> Allright let's try that.
<MichaelRaskin> Not sure what will happen if you use the result as src, but if you use it as a buildInput, it should work just fine.
<Leo`> The goal is to use it in a NixOS module that defines a service.
<Leo`> To be more precise: the package fetches a Python server program that does not need any kind of building but requires a lot of Python packages.
<Leo`> And I need them to be present in the environment when the service is run.
<Leo`> So I though adding them to propagatedBuildInputs would be enough... But I might be wrong.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vddO6
<NixOS_GitHub> nixpkgs/master aae32e1 James Earl Douglas: nixos/jenkins: add an option for the package...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #30588: nixos/jenkins: add an option for the package (master...jenkins-pkg) https://git.io/vd5wR
NixOS_GitHub has left #nixos []
<Leo`> Ok nope that does not work lol.
<Leo`> Any idea of how I can make the service have the Python packages in env?
joehh has joined #nixos
<MichaelRaskin> I have a feeling that packaging it as a Python package is a better idea.
dbmikus has quit [(Ping timeout: 240 seconds)]
<Leo`> Mh.
<Leo`> Maybe...
dieggsy has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vdd3Z
<NixOS_GitHub> nixpkgs/master 5da5af5 Shea Levy: nixUnstable: Bump for nix-shell interpreter bugfix
NixOS_GitHub has left #nixos []
dieggsy has joined #nixos
<Leo`> Ah there's something like python.buildEnv or python.withPackages.
<Leo`> This seems to be what I want.
erasmas has quit [(Quit: leaving)]
markus1199 has joined #nixos
hamishmack has joined #nixos
kp__ has quit [(Quit: WeeChat 1.9.1)]
markus1189 has quit [(Ping timeout: 246 seconds)]
nh2 has quit [(Ping timeout: 240 seconds)]
hexamod has joined #nixos
riclima has quit [(Quit: riclima)]
riclima has joined #nixos
riclima has quit [(Client Quit)]
cement has quit [(Ping timeout: 248 seconds)]
thc202 has quit [(Ping timeout: 248 seconds)]
orivej has quit [(Ping timeout: 255 seconds)]
MP2E has quit [(Remote host closed the connection)]
nh2 has joined #nixos
Nobabs27 has joined #nixos
<pie_> so im trying to use chicken scheme
<pie_> *sigh* so im trying to have egg2nix build qt-light but its complaining about easyffi whereas it should see it fine... https://pastebin.com/raw/bnU2fRaX , here i am loading easyffi: https://pastebin.com/Qgqfybvn so that definitely works , any ideas?