sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<iceypoi> is it possible, that nix-env ignores the -I?
drakonis1 has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
<nh2> iceypoi: from the man page it looks like what you do should work, but try the env var way `NIX_PATH=nixpkgs=.config/.... nix-env ....` instead and see if that has the same problem
<infinisil> iceypoi: -I nixpkgs=$PWD/.config/...
kleisli_ has quit [Ping timeout: 268 seconds]
<infinisil> -I needs to have the absolute path, it doesn't do any path resolution on its own
<iceypoi> nixos-rebuild does
<iceypoi> interesting
<nh2> infinisil: should relative paths not work? They seem to for me in general, e.g. `NIX_PATH=nixpkgs=.` is something I use often. Or are `NIX_PATH` and `-I` different here?
<infinisil> nh2: Hmm, I'm pretty sure I tested it at some point and relative paths didn't work with -I
<nh2> the man page does not suggest that `-I` can't do what `NIX_PATH` can
sigmundv has joined #nixos
<nh2> infinisil: no, for me both work exactly the same way at least with `nix-shell`, I just tried it
<infinisil> Huh yeah, with nix-instantiate --find-file it seems to work too
<nh2> `NIX_PATH=nixpkgs=. nix-shell -p idevicerestore` and `nix-shell -I nixpkgs=. -p idevicerestore` in my latest PR turn up the same shell
<infinisil> I bet that changed in some version
stepcut has quit [Remote host closed the connection]
<iceypoi> nix-env -q --available -A nixpkgs.browsh -I nixpkgs=(realpath .config/nixpkgs/systems/dany-macbook-pro/nixpkgs/)
<iceypoi> this doesn't work either, btw
<iceypoi> nixos-rebuild was happy building it, btw
stepcut has joined #nixos
<nh2> iceypoi: just to double-check, does `ls .config/nixpkgs/systems/dany-macbook-pro/nixpkgs/` show it to exist in your current $PWD?
stepcut has quit [Read error: Connection reset by peer]
<nh2> == are you in your home dir?
<iceypoi> realpath resolves it to my home dir
<iceypoi> and ls lists contents
stepcut has joined #nixos
<iceypoi> i'm pretty sure the path is right
pxc has quit [Ping timeout: 268 seconds]
<nh2> iceypoi: hmm then you may have to add some verbosity flags or use strace to debug what's going on
Jetien_ has joined #nixos
<nh2> wait 19.03 is actually released? I didn't notice because the currently-disconnected matrix.org channel still shows `NixOS stable: 18.09, beta: 19.03` in the topic :D
<nh2> https://nixos.org/nixos/manual/release-notes.html#sec-release-19.03 still has `2019/03/??` in the heading though, that looks outdated
<day|flip> ya 19.03 been on 10th
<day|flip> been out**
<day|flip> it on the home page
jluttine has quit [Ping timeout: 240 seconds]
Jetien__ has quit [Ping timeout: 240 seconds]
Anton-Latukha has joined #nixos
<day|flip> if your running nvidia driver with latest kernel. change that to 4_19 or something. there issue with latest kernel with nvidia drivers
romildo has joined #nixos
kleisli_ has joined #nixos
<romildo> I am packaging a software that includes a linux kernel module, and I am looking for help.
<romildo> I am writing pkgs/os-specific/linux/deepin-anything/default.nix and want to test it. I have added it to linuxPackagesFor in all-packages.nix.
<romildo> Usually I test normal packages with nix-build.
nD5Xjz has quit [Ping timeout: 264 seconds]
<romildo> How would I test the building of this kernel module I am trying to build?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjm0S
nD5Xjz has joined #nixos
growpotkin has joined #nixos
<growpotkin> I'm almost embarrassed to ask this because I know it's dead simple. Whats the super short way to make a derivation from `writeText`?
jluttine has joined #nixos
silver has joined #nixos
<growpotkin> Do I have to write a builder thats just `mkdir $out; cp myFile $out/`?
<growpotkin> or is it even shorter?
o1lo01ol1o has quit [Remote host closed the connection]
<gchristensen> ./myFile
jluttine has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<growpotkin> gchristensen: wait like: `myFile = callPackage ({writeText}: writeText "myFile.txt" "Hello, World!") { }` would actually work?
stepcut has quit [Remote host closed the connection]
<growpotkin> gchristensen: I think I need slightly more context haha
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
jluttine has joined #nixos
dsiypl4 has quit [Quit: Leaving]
stepcut has joined #nixos
o1lo01ol1o has quit [Ping timeout: 252 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<gchristensen> should
<{^_^}> [nixpkgs] @DanielFabian opened pull request #59430 → browsh: 1.4.13 -> 1.5.0 → https://git.io/fjm07
stepcut has quit [Remote host closed the connection]
thc202 has quit [Ping timeout: 252 seconds]
<growpotkin> gchristensen++
aanderse-work has joined #nixos
<{^_^}> gchristensen's karma got increased to 105
<iceypoi> I never got nix-env to work with -I, btw
<iceypoi> there seems to be some kind of difference between nix-env and nixos-rebuild
Notkea has quit [Read error: Connection reset by peer]
<growpotkin> iceypoi: yes
stepcut has joined #nixos
<growpotkin> iceypoi: There are a few articles that cover it (I think the manual has a comprehensive section now)
Notkea has joined #nixos
stepcut has quit [Read error: Connection reset by peer]
<growpotkin> iceypoi: Basically NixOS and Nix/Nixpkgs are distinct programs with distinct channels/etc. We just use them so closely that we almost always forget.
<elvishjerricco> romildo: Should just be linuxPackages.deepin-anything, right?
stepcut has joined #nixos
<growpotkin> iceypoi: You can do a "overlay-compatibility" setup that fixes this to behave more in line with how (most of us) folks normally expect
drakonis_ has joined #nixos
<iceypoi> growpotkin: well ok, but it does feel quite weird that even though there IS a -I flag according to man pages, it seems to be ignored
<growpotkin> you basically add one recursive overlay into your NixOS config, add it to nixpkgs.path in your system config, and then everybody across the system should get the changes
<romildo> elvishjerricco, thanks
<iceypoi> growpotkin: but I wasn't even using an overlay
<growpotkin> iceypoi: -I adds things to "NIX_PATH", but it's still all muddied around with the other package sets. Overlays help clean that up.
<iceypoi> growpotkin: I was just trying use my forked nixpkgs
<growpotkin> iceypoi: I used to use `-I` a lot in the past but switched to overlays when it started blowing up in my face more often.
drakonis has quit [Ping timeout: 252 seconds]
<iceypoi> growpotkin: sounds like a good reason ;-)
<growpotkin> iceypoi: Could you give me some more context, I don't think I know the "big picture" task you're trying to accomplish.
stepcut has quit [Ping timeout: 240 seconds]
mnoronha has joined #nixos
stepcut has joined #nixos
<iceypoi> growpotkin: I was working on the pr #59430 just before
<{^_^}> https://github.com/NixOS/nixpkgs/pull/59430 (by DanielFabian, 7 minutes ago, open): browsh: 1.4.13 -> 1.5.0
<iceypoi> growpotkin: and I couldn't build the expression, because nix-env just plain refused to do anything with -I. So I just did a nixos-rebuild build instead
<iceypoi> growpotkin: but I do not understand the root cause, maybe I'll have to go and read a bit of the nix-env sources to understand what -I actually does
<iceypoi> growpotkin: because for nixos-rebuild, it does override
mmlb977450853050 has quit [Ping timeout: 246 seconds]
mmlb977450853050 has joined #nixos
stepcut has quit [Remote host closed the connection]
<samueldr> iceypoi: nix-build -A browsh and ./result/bin/browsh (assuming it's the executable name) should work
mnoronha_ has joined #nixos
<samueldr> and wouldn't need to mess with nix-env or install to the profile
mnoronha has quit [Ping timeout: 250 seconds]
day|flip has quit [Remote host closed the connection]
<iceypoi> error: cannot auto-call a function that has an argument without a default value ('stdenv')
stepcut has joined #nixos
<iceypoi> what am I missing?
<samueldr> `nix-build -A browsh`, not nix-build path/to/bwosh/default.nix
<samueldr> (assuming you're at the root of the nixpkgs checkout)
<samueldr> ,callPackage
<{^_^}> If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<samueldr> this is due to how dependency injection is done, through callPackage, within nixpkgs
<iceypoi> ah, beautiful
<growpotkin> The bot beat me to it haha
<iceypoi> now it worked ;-)
o1lo01ol1o has joined #nixos
pxc has joined #nixos
<samueldr> `nix build -f . browsh` for the new porcelain
stepcut has quit [Remote host closed the connection]
<samueldr> (don't quote me on that, still not really used to it)
<{^_^}> [nixpkgs] @thoughtpolice closed pull request #37722 → preview: add Shenandoah GC to openjdk packages by default → https://git.io/vxBRV
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
nD5Xjz has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
sb0 has quit [Quit: Leaving]
Anton-Latukha has quit [Quit: Leaving.]
o1lo01ol1o has quit [Remote host closed the connection]
<mnoronha_> I'm reading the nix manual, and stumbled on this sentence: "(Nix is however not tied to the Nix Package collection; you could write your own Nix expressions based on it, or completely new ones.)" Could someone help me understand what it's saying?
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #59431 → pythonPackages.pygal: fix build by patching setup.cfg to work with modern pytest → https://git.io/fjm0p
o1lo01ol1o has quit [Remote host closed the connection]
<iceypoi> mnoronha_: that nix really is a build system
o1lo01ol1o has joined #nixos
<iceypoi> mnoronha_: much like gnu make or the likes
sindrip has joined #nixos
<iceypoi> mnoronha_: nixpkgs just happens to be a particular database that's commonly developed and uses nix, but you could make your own for your own projects
<samueldr> or, nix can be used without using nixpkgs, you could create mnoronha_pkgs using nix, and different concepts as long as it maps to how nix works
<nh2> mnoronha_: `nixpkgs` ("the Nix Package collection", https://github.com/NixOS/nixpkgs/) is a big set of tens of thousands of software packages. You can use that with nix, but you can also write your own packages, expressions, and so on
<mnoronha_> Ah, I was thinking "it" was Nix :)
ninjin has quit [Remote host closed the connection]
<mnoronha_> Thanks for the clarifications!
ninjin has joined #nixos
nD5Xjz has joined #nixos
Supersonic has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<nh2> mnoronha_: indeed the sentence should be improved a bit
o1lo01ol1o has joined #nixos
nD5Xjz_ has joined #nixos
sellout- has joined #nixos
erasmus has quit [Read error: Connection reset by peer]
nD5Xjz has quit [Ping timeout: 268 seconds]
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
st4ll1 has joined #nixos
Supersonic has joined #nixos
pxc has quit [Ping timeout: 240 seconds]
freeman42x has quit [Ping timeout: 252 seconds]
<{^_^}> [nix] @nh2 opened pull request #2765 → manual: "Nix Package collection" -> "Nixpkgs package collection". → https://git.io/fjmET
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> nix#2765 (by nh2, 11 seconds ago, open): manual: "Nix Package collection" -> "Nixpkgs package collection".
nD5Xjz has joined #nixos
nD5Xjz_ has quit [Ping timeout: 264 seconds]
<nh2> (I also fixed the ambiguous "it" now)
drakonis has joined #nixos
Ariakenom has joined #nixos
buffet_ has joined #nixos
<romildo> After building the package linuxPackages.deepin-anything, which install the kernel module in the store at $out/lib/modules/4.19.34/extra/vfs_monitor.ko, how do I add it to the system configuration for testing?
buffet has quit [Ping timeout: 264 seconds]
drakonis_ has quit [Ping timeout: 264 seconds]
drakonis_ has joined #nixos
<mnoronha_> Do I have to explicitly open port 22 to have my ssh server be reachable? I seem to randomly go off the network more frequently, but not always
<samueldr> sshd is the only service for which the firewall whitelisting is automatically handled for you
o1lo01ol1o has joined #nixos
IRC-Source_26 has joined #nixos
<IRC-Source_26> Hi all
<IRC-Source_26> I'm trying to figure out what is the best approach to a start up script on nixos
drakonis has quit [Ping timeout: 268 seconds]
<IRC-Source_26> Basically if I just want a bash script to be run on login, what the best approach is
<mnoronha_> samueldr: Do I need to have a line to enable both sshd and openssh? (I assumed they did the same thing)
<aanderse-work> IRC-Source_26: define login?
<aanderse-work> graphical login?
<aanderse-work> ssh login?
<IRC-Source_26> I've written systemd units in the past and that seemed like it could be the best approach. But, the default path is quite limited. I'm wondering if there is a way to just run it as the user with their current path
<aanderse-work> and run on every login by every user?
<samueldr> mnoronha_: sorry, yeah, that's services.openssh
<mnoronha_> Ah that's unfortunate, was hoping that was the source of my problems :/
<samueldr> mnoronha_: so to further refine the answer: you shouldn't need to touch the firewall for openssh
<IRC-Source_26> fair question aanderse-work, I was really thinking graphical login, but if there is a more general approach that would work
<IRC-Source_26> initially I was just looking for something like .xsession I suppose
ng0_ has joined #nixos
<aanderse-work> IRC-Source_26: and to clarify, for every single regular user yeah?
ng0 has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
<IRC-Source_26> aanderse-work: every single user would be interesting, but my use case is really just for one user
drakonis_ has quit [Ping timeout: 240 seconds]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nh2 opened pull request #59432 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/fjmEc
<aanderse-work> in that situation i just use kdes "automatically started applications" feature
<aanderse-work> most desktop environments have something like that
<samueldr> nh2: what a title :)
<aanderse-work> i know openbox does
<aanderse-work> and like you said, some scripts you can use
stepcut has joined #nixos
<nh2> samueldr: the effect of using `hub pull-request` and forgetting to put a first line in front of the template :D
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
IRC-Source_2684 has joined #nixos
<IRC-Source_2684> had to reconnect
stepcut has quit [Read error: Connection reset by peer]
stepcut_ has joined #nixos
<IRC-Source_2684> as a bit more context, I'm not using kde or openbox, just 2bwm which I don't think has an autorun utility built in
<IRC-Source_2684> I might be able to add the startup script to the services.xserver.displayManager.session
<IRC-Source_2684> but I was wondering if there was a better way
IRC-Source_26 has quit [Ping timeout: 255 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
fendor_ has quit [Ping timeout: 252 seconds]
mnoronha_ has quit [Ping timeout: 250 seconds]
camsbury has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos
lovesegfault has quit [Ping timeout: 240 seconds]
mnoronha_ has joined #nixos
lovesegfault has joined #nixos
iceypoi has quit [Quit: WeeChat 2.4]
ryantrinkle has quit [Ping timeout: 240 seconds]
mnoronha_ has quit [Ping timeout: 268 seconds]
camsbury has joined #nixos
<{^_^}> [nixpkgs] @kalbasit pushed commit from @dywedir to master « rclone: 1.46 -> 1.47.0 using buildGoModule (#59400) »: https://git.io/fjmEg
<{^_^}> [nixpkgs] @kalbasit merged pull request #59400 → rclone: 1.46 -> 1.47.0 using buildGoModule → https://git.io/fjmZx
stepcut_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kalbasit merged pull request #59410 → mkcert: init at 1.3.0 → https://git.io/fjm8W
<{^_^}> [nixpkgs] @kalbasit pushed commit from @marsam to master « mkcert: init at 1.3.0 (#59410) »: https://git.io/fjmE2
stepcut has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
iceypoi has joined #nixos
o1lo01ol1o has joined #nixos
slack1256 has joined #nixos
stepcut has quit [Ping timeout: 250 seconds]
camsbury has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
mnoronha_ has joined #nixos
ddellacosta has joined #nixos
erasmus has joined #nixos
elux has joined #nixos
<elux> hi there
<elux> any suggestions on how to do an overlay/override for the `go` pkg so i can upgrade it to the latest version? the go pkg in home-manager im using right now is a few months behind
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
artemist has joined #nixos
alexherbo2 has quit [Remote host closed the connection]
hlolli_ has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
hlolli__ has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
steve-chavez has joined #nixos
<lmarks> elux: could you potentially use the version of the package in unstable?
romildo has quit [Quit: Leaving]
silver has quit [Read error: Connection reset by peer]
growpotkin has quit [Remote host closed the connection]
softinio has joined #nixos
softinio has quit [Remote host closed the connection]
Peter_Storm_ has quit [Ping timeout: 240 seconds]
Peter_Storm_ has joined #nixos
Wizek has quit [Ping timeout: 268 seconds]
hiratara has joined #nixos
pointfree has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #58444 → altcoins.aeon: 0.12.8.0 -> 0.12.9.0 → https://git.io/fjUA0
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjmE1
steveeJ has quit [Ping timeout: 240 seconds]
mpickering has quit [Ping timeout: 250 seconds]
dukedave has quit [Ping timeout: 268 seconds]
Wizek has joined #nixos
pointfree has joined #nixos
steveeJ has joined #nixos
iceypoi has quit [Quit: WeeChat 2.4]
mpickering has joined #nixos
tmaekawa has joined #nixos
pingveno has quit [Ping timeout: 268 seconds]
pingveno has joined #nixos
ocharles has quit [Ping timeout: 268 seconds]
dukedave has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #59433 → nixos/deepin-menu: init → https://git.io/fjmEH
catern has quit [Excess Flood]
p_l has quit [Ping timeout: 240 seconds]
catern has joined #nixos
mabel has quit [Ping timeout: 240 seconds]
p_l has joined #nixos
ocharles has joined #nixos
tmaekawa has quit [Client Quit]
uranther has quit [Ping timeout: 268 seconds]
stites has quit [Ping timeout: 268 seconds]
mabel has joined #nixos
mnoronha_ has quit [Ping timeout: 250 seconds]
<steve-chavez> Suddenly getting errors with `sudo nixos-rebuild test`
<steve-chavez> rm: cannot remove '/nix/store/8bxbi71wwpm205bd34l9xhx1vv39kzg7-postgresql-and-plugins-10.6/bin/pg_config': Permission denied rm: cannot remove '/nix/store/8bxbi71wwpm205bd34l9xhx1vv39kzg7-postgresql-and-plugins-10.6/bin/postgres': Permission denied rm: cannot remove '/nix/store/8bxbi71wwpm205bd34l9xhx1vv39kzg7-postgresql-and-plugins-10.6/bin/pg_ctl': Permission denied
<steve-chavez> Cannot switch postgres versions.
stites has joined #nixos
hiratara has quit [Read error: Connection reset by peer]
uranther has joined #nixos
tboston_ has joined #nixos
<lmarks> steve-chavez: maybe have a look at the output of ls -a /nix/store/8bxbi71wwpm205bd34l9xhx1vv39kzg7-postgresql-and-plugins-10.6/bin
<lmarks> sorry, make that ls -la
alexozer has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
tboston_ has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
softinio has joined #nixos
slack1256 has quit [Remote host closed the connection]
softinio has quit [Client Quit]
slack1256 has joined #nixos
<steve-chavez> lmarks: Did that, all files are owned by root
<steve-chavez> -r-xr-xr-x 1 root root 32936 Dec 31 1969 pg_config
kvda has joined #nixos
<steve-chavez> Trying to switch to other versions yields the same kind of problem with a different nix store path for the postgresql version.
<steve-chavez> rm: cannot remove '/nix/store/d23swlpb2f2cd7d3gypziz9a7bsdra03-postgresql-and-plugins-9.6.7/bin/pg_config': Permission denied
mmlb977450853050 has quit [Ping timeout: 264 seconds]
<steve-chavez> Changing the postgres plugins somehow fixed the issue, not sure how.
<{^_^}> [nixpkgs] @aanderse merged pull request #57728 → resilio-sync: 2.6.2 -> 2.6.3 → https://git.io/fjvv0
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjmuk
aanderse-work has quit []
jophish has joined #nixos
<jophish> Hi all
<jophish> I have a very strange problem
<jophish> I'm running 'nix-instantiate -A cmake' on an armv7l machine an 'nix-instantiate -A cmake --argstr system armv7l-linux' on an x86_64 machine
<jophish> and I'm expecting the same derivation
<jophish> however they differ in only one way, on the x86_64 machine libuv, in the inputs, is replaced with openssh!!!
<clever> jophish: are you using nix-diff to compare them?
<jophish> how strange, so I removed 'libuv' from the 'buildInputs' attribute of cmake's derivation, and then openssh disappears from the inputs!
<jophish> clever: yes
<clever> is openssh in the inputs in the drv?
<lmarks> steve-chavez: that's odd - sounds like it could be worth reporting the bug to the package maintainers
<jophish> clever: nope
tdbgamer has joined #nixos
<clever> jophish: where is openssh appearing then, when it does appear?
<jophish> it's as though on the x86_64 machine I'm overriding libuv to be openssh
hiratara has joined #nixos
<jophish> clever: oh, I thought you meant on the armv7l version
<jophish> I'll paste the derivations
elux has quit [Ping timeout: 252 seconds]
sindrip has quit [Ping timeout: 252 seconds]
<clever> jophish: what about `--option system armv7-linux` on an x86 machine?
kleisli_ has quit [Ping timeout: 250 seconds]
<jophish> clever: that does indeed generate the expected derivation
<jophish> but why!]
<clever> `--option system` will mutate `builtins.currentSystem` which fully convinces nix you are X
<clever> `--argstr system` will just execute functions with { system = "x"; }
<jophish> that could certainly account for some differences, but having "libuv" replaced with "openssh" is very strange indeed
<clever> what rev of nixpkgs does this happen on?
<jophish> acbdaa569f4ee387386ebe1b9e60b9f95b4ab21b, a few days old nixpkgs-unstable
<jophish> and surely settings the "system" argument should be a sufficient condition, at least it works for most things
<clever> note, that --arg will call functions at many levels
<clever> { foo }: { a = { bar }: { b = { baz }: "${foo}${bar}${baz}"; }; };
<clever> jophish: --arg can supply foo, bar, and baz
<jophish> oh, I didn't know that
<clever> [clever@system76:~/nixpkgs]$ git fetch acbdaa569f4ee387386ebe1b9e60b9f95b4ab21b
<clever> fatal: 'acbdaa569f4ee387386ebe1b9e60b9f95b4ab21b' does not appear to be a git repository
<clever> jophish: is it from a fork?
<jophish> nixpkgs-channels perhaps?
<clever> nixpkgs-channels is a subset of nixpkgs
<clever> wait
<clever> i ran fetch, not checkout, lol
<jophish> hahah, ok
<clever> --argstr and --option both given identical derivations for me, /nix/store/4v3ily2b08d5lj5qakdxdzmcg307z6xc-cmake-3.13.4.drv
<{^_^}> [nixpkgs] @furrycatherder opened pull request #59435 → nixos: fix system-tarball → https://git.io/fjmun
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> jophish: so only running on a real arm differs for you?
<clever> jophish: you can also run `nix show-derivation` on a .drv to pretty-print it
<jophish> ah, I've been using ppsh
<jophish> clever: Ah, I think there's some other factor here, I can reproduce getting the same derivation now
<jophish> I'll take a further look into what got me the wonky one in the first place
<clever> kk
<jophish> clever: sorry, I am an idiot. the incorrect derivation did indeed have an override
<jophish> can you spot the problem: libuv = super.openssh.overrideDerivation (oldAttrs: { checkPhase = ":"; });
<clever> lol
growpotkin has joined #nixos
growpotkin has quit [Remote host closed the connection]
Glider_IRC_ has joined #nixos
mounty has quit [Quit: Konversation terminated!]
Glider_IRC has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #58455 → nixos/upower: remove package option → https://git.io/fjTev
mounty has joined #nixos
mounty has quit [Client Quit]
mounty has joined #nixos
cyraxjoe has quit [Ping timeout: 268 seconds]
<clever> jophish: oh, another thing that can help here
<clever> jophish: --arg config {}
<clever> and maybe --arg overlays '[]'
<clever> jophish: that forces nixpkgs to ignore your config.nix and overlays, making it more pure
cyraxjoe has joined #nixos
hlolli_ has quit [Remote host closed the connection]
lovesegfault has quit [Quit: WeeChat 2.4]
hlolli_ has joined #nixos
lovesegfault has joined #nixos
oborot has joined #nixos
<oborot> Hey, what do I do when a program I'm trying to compile can't find a header file?
<oborot> I'm trying to compile some binaries that need libpcap's pcap.h
<oborot> So I installed libpcap, but it doesn't seem to be able to find it.
<oborot> I can probably specify a path to my /nix/store where one of the 50 variants of libpcap exist and link to one of the header files... but that doesn't seem right to me.
IRC-Source_2684 has quit [Ping timeout: 250 seconds]
<oborot> myme: Thanks!
<myme> oborot: No problem :)
hiratara has quit [Quit: ZNC - http://znc.in]
sigmundv has quit [Ping timeout: 255 seconds]
o1lo01ol1o has joined #nixos
<jophish> clever: good tip, thanks!
Rusty1 has quit [Quit: Konversation terminated!]
reivilibre has quit [Quit: No Ping reply in 180 seconds.]
kvda has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
oborot has quit [Quit: Lost terminal]
Guest50 has joined #nixos
tboston_ has joined #nixos
nore has quit [Ping timeout: 246 seconds]
palo1 has joined #nixos
mmlb has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
palo has quit [Ping timeout: 252 seconds]
palo1 is now known as palo
drakonis_ has quit [Read error: Connection reset by peer]
Guest50 has left #nixos [#nixos]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reivilibre has joined #nixos
hlolli__ has joined #nixos
mnoronha_ has joined #nixos
hlolli_ has quit [Ping timeout: 252 seconds]
reivilibre has quit [Quit: No Ping reply in 180 seconds.]
mnoronha_ has quit [Ping timeout: 240 seconds]
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
reivilibre has joined #nixos
init_6 has joined #nixos
nore has joined #nixos
rauno has joined #nixos
* Ashy sighs
rauno has quit [Remote host closed the connection]
tomberek has joined #nixos
<Ashy> i love the promise of nixos, but in the last week sometime vte based terminals have all broken in sway and now it looks like steam is broken too
<Ashy> no configuration.nix changes other than running `sudo nixos-rebuild switch --upgrade`
<simpson> Can you rollback to your previous profile?
<Ashy> probably yeah, but i also want to be running the latest versions of things, at least from the nixos-19.03 channel
<mabel> rolling back is like step #1 for debugging though
<mabel> it's easy, just reboot and select a previous generation
<mabel> as for steam, sometimes dotfiles can do funky things
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59436 → ace: 6.5.4 -> 6.5.5 → https://git.io/fjmuN
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59437 → acpica-tools: 20190215 -> 20190405 → https://git.io/fjmuA
slack1256 has quit [Ping timeout: 240 seconds]
alexozer has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<Ashy> :qa!
<Ashy> er, whoops
<{^_^}> [nixpkgs] @expipiplus1 opened pull request #59438 → hpack-convert: 1.0.1 -> 1.0.2 → https://git.io/fjmuj
endformationage has quit [Ping timeout: 268 seconds]
slack1256 has joined #nixos
tboston_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59439 → ammonite: 1.6.4 -> 1.6.6 → https://git.io/fjmzv
<Ashy> mabel: ok if i boot my profile from 2019-03-27 (nixos 19.03 beta) gnome-terminal and other vte based terms work again
<Ashy> but steam is still broken
<Ashy> i should mention that on my latest profile this morning it started the first time and then ran it's own steam update process
<Ashy> and hasnt started since
<mabel> have you tried removing steam's dotfiles?
<Ashy> yeap, same errors about bootstrap.tar.xz permission denied
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59440 → apr: 1.6.5 -> 1.7.0 → https://git.io/fjmzT
<Ashy> looks like the same errors as this: https://github.com/NixOS/nixpkgs/issues/30599
<{^_^}> #30599 (by andrewrk, 1 year ago, closed): steam no longer works
<Ashy> this is my steam section in configuration.nix: http://dpaste.com/2YH1BRW
ddellacosta has quit [Ping timeout: 240 seconds]
alexozer has quit [Quit: WeeChat 2.4]
alexozer has joined #nixos
<bohan> Ashy: you're worried about steam, but the more important bug is that latest upgrade broke terminals
mounty has quit [Ping timeout: 240 seconds]
<bohan> (according to what you said here, that is)
mounty has joined #nixos
<Ashy> bohan: well yes but i just swapped to konsole, heh
<Ashy> it also has the two main features i like in a terminal, ctrl-click urls and selectable colour profiles for swapping between night and day mode
<Ashy> but yeah i guess can anyone else confirm vte based terminals (gnome-terminal and co) are currently broken in nixos 19.03 in sway?
<Ashy> specifically only in sway, they work in i3
<Ashy> oh wow gnome-terminal is actually working now
steve-chavez has quit [Ping timeout: 256 seconds]
<Ashy> is it possible to get a diff between different generations with nix-env?
<Ashy> i'm listing my generations with: `sudo nix-env --list-generations --profile /nix/var/nix/profiles/system`
kvda has joined #nixos
psalm has joined #nixos
<Ashy> oh `nix-diff` exists apparently
<mabel> hm... it'd be neat if I could wrap nixos-rebuild and home-manager to auto-tag the generations they're built from in git
_kwstas has joined #nixos
psalm has quit [Remote host closed the connection]
_kwstas has quit [Remote host closed the connection]
<Ashy> hmm, nix-diff.sh from nixpkgs doesnt seem to work f or me
<Ashy> got it finally
<Ashy> mabel: i think they are tagged with git commits by the looks
<mabel> ah, they're actually tagged by content-hash
slack1256 has quit [Read error: Connection reset by peer]
Glider_IRC_ has quit [Ping timeout: 252 seconds]
<Guest27063> is there any way to force a build on a specific remote builder ?
<Guest27063> like --option builders 'builder0'
psalm has joined #nixos
<symphorien> yes it should work, but you must be a trusted user
psalm has quit [Read error: Connection reset by peer]
psalm has joined #nixos
<symphorien> also, you can specify a requireSystemFeature for the builder
<symphorien> only derivations requiring this system feature will be built on this builder
<Guest27063> thing is I really want it to be oneshot remote builds
psalm has quit [Read error: Connection reset by peer]
<Guest27063> and controlled manually
psalm_ has joined #nixos
<symphorien> then --options builders should work
<Guest27063> symphorien: but how can I pass the remote builder ? should it be a full spec or can I just pass a hostname/alias ?
<symphorien> you can create a file with the same syntax as /etc/nix/machines and pass --option builders "@/path/to/file"
<symphorien> or you must pass the full spec
psalm_ has quit [Ping timeout: 264 seconds]
<Guest27063> symphorien: I have been trying with --option builders "@/home/teto/dotfiles/nixos.builder" but get a "stoul\nunexpected EOF reading a line" . My spec is https://paste.ubuntu.com/p/CgR8GjYFFJ/
<symphorien> this is not the right syntax
psalm has joined #nixos
tmaekawa has joined #nixos
dnlkrgr has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #59441 → python: pandas: 0.24.1 -> 0.24.2 → https://git.io/fjmzZ
Anton-Latukha has joined #nixos
psalm has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59442 → arc-theme: 20190213 -> 20190330 → https://git.io/fjmzC
fusion809 has quit [Remote host closed the connection]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59443 → argyllcms: 2.0.1 -> 2.1.0 → https://git.io/fjmzl
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59444 → armadillo: 9.200.8 -> 9.300.2 → https://git.io/fjmzB
mounty has quit [Ping timeout: 268 seconds]
erasmus has quit [Quit: NN]
psalm has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59445 → atlassian-cli: 8.0.0 -> 8.2.0 → https://git.io/fjmzw
psalm has quit [Ping timeout: 268 seconds]
psalm has joined #nixos
<lmarks> What exactly is the argument 'pkgs' to a NixOS module comprised of? Is it equal to <nixpkgs>?
ee1943 has quit [Ping timeout: 264 seconds]
ee1943 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59446 → augeas: 1.11.0 -> 1.12.0 → https://git.io/fjmzo
domogled has joined #nixos
Ralith has quit [Remote host closed the connection]
ng0_ is now known as ng0
<mabel> lmarks: usually. it's possible to override it, but that's relatively rare
<mabel> anyone use Kubenix here?
<mabel> alternatively, anyone here use Hydra for CD?
<sphalerite> lmarks: it's the nixpkgs evaluation used for the system — which is <nixpkgs> imported and applied with the `nixpkgs.*` options
<mabel> currently, my plan is: 1. describe Hydra in Kubenix, as a pod of privileged docker containers. 2. deploy Hydra manually. 3. imbue those builders with my API secrets for my K8s cluster, and craft some builders in release.nix that will run skopeo and "kubectl apply" on the result. 4. pushes to my remote should trigger deployment
<mabel> as a bonus, the first thing I bootstrap will be CD for my CD
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @lheckemann pushed commit from @yesbox to release-19.03 « resilio-sync: 2.6.2 -> 2.6.3 »: https://git.io/fjmzi
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59447 → autojump: 22.5.1 -> 22.5.3 → https://git.io/fjmzX
psalm has quit [Remote host closed the connection]
Guest30717 is now known as benny
<lmarks> sphalerite: Makes sense - thanks.
<sphalerite> lmarks: *or* nixpkgs.pkgs, if set.
<lmarks> Right
tmaekawa has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59448 → autorandr: 1.8 -> 1.8.1 → https://git.io/fjmzM
<lmarks> So in general it'd be better to access packages using 'pkgs' rather than import <nixpkgs> since the packages may be changed elsewhere e.g. in a different module?
<sphalerite> yes, also because each time you apply (import <nixpkgs>) it evaluates nixpkgs anew, which can get expensive
<sphalerite> if you do it a lot
<lmarks> Ah
<lmarks> Even within the same scope?
<lmarks> I wonder whether something like 'header guards' from c/c++ makes sense here...
<sphalerite> I don't know exactly how nix's evaluation caching works off the top of my head
<sphalerite> aaaargh no! :p
<sphalerite> just don't import nixpkgs yourself in your nixos config, unless you're sure you actually *want* to use a different package set
<sphalerite> (that's useful for, e.g. using a package from unstable in a config that's otherwise on the stable channel)
zupo has joined #nixos
<sphalerite> you can also expose an extra package set in the main one using an overlay, that way you can reuse the same one across multiple config modules
mabel has quit [Quit: WeeChat 2.4]
<lmarks> Makes sense. I guessed something like that was the case, but was slightly confused by many examples online of people having import <nixpkgs> in modules and .nix files for their NixOS configuration.
mabel has joined #nixos
mabel has joined #nixos
mabel has quit [Changing host]
<lmarks> sphalerite: does 'main package set' here refer to the collection of packages pulled from the channel?
<sphalerite> lmarks: in this case I mean pkgs as passed to the modules
<lmarks> Right
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59449 → avidemux: 2.7.2 -> 2.7.3 → https://git.io/fjmzQ
<sphalerite> lmarks: it's not necessarily from the channel, since it can be set by a module using nixpkgs.pkgs, or one-off at build time by passing -I nixpkgs=…
ggpeti has joined #nixos
T_S_ has joined #nixos
<Guest27063> how come we can create $out during installPhase and not in previous phases ? where is the code involved ?
mvnetbiz_ has joined #nixos
iyzsong has joined #nixos
fendor has joined #nixos
<MichaelRaskin> judson: that's :silent! usually in Vim
<{^_^}> [nixpkgs] @liff opened pull request #59451 → treemacs-magit: needs git at build time → https://git.io/fjmgk
iyzsong has quit [Ping timeout: 264 seconds]
TonyTheLion has joined #nixos
kvda has joined #nixos
ggpeti has quit [Quit: leaving]
<sphalerite> Guest27063: you can create $out during any phase.
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59452 → bindfs: 1.13.10 -> 1.13.11 → https://git.io/fjmgC
gyroninja has quit [Ping timeout: 250 seconds]
ggpeti has joined #nixos
<lmarks> I'm looking at the NixOS manual and in 6.1.1 it says: "For instance, the Firefox wrapper package [...] has an option to enable the Google Talk plugin. It can be set in configuration.nix as follows: nixpkgs.config.firefox.enableGoogleTalkPlugin = true;". What is 'nixpkgs' here? Should it rather be 'pkgs' (argument passed to module) ?
gyroninja has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59453 → bleachbit: 2.0 -> 2.2 → https://git.io/fjmgo
<andi-> no nixpkgs, there is a `nixpkgs` top-level attribute in NixOS configurations.
<lmarks> thanks
vidbina has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @srhb merged pull request #58512 → solr: init at 8.0.0 → https://git.io/fjTKC
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjmgP
<Guest27063> sphalerite: I ask because luarocks runs a check to see if it can write in the folder https://github.com/luarocks/luarocks/issues/988#issuecomment-478768128 but the check fails on darwin. Apparently it checks if /nix/store is writable.
mounty has joined #nixos
<sphalerite> Guest27063: right, it can't write to arbitrary paths in /nix/store but it *can* create the derivation's output paths.
<Guest27063> sphalerite: where is that magic involved ? I might try to *fix* the luarocks check but I need to understand first how it works :D
tomberek has quit [Ping timeout: 250 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<sphalerite> for Darwin
<Guest27063> sphalerite: interesting thanks !
<Guest27063> sphalerite: <3
<Guest27063> sphalerite++
<{^_^}> sphalerite's karma got increased to 55
<mabel> huh, so I'm having a really strange issue. dockerTools.buildLayeredImage is failing while trying to copy a simple file into ./etc
<mabel> ...but only when I have the "cacert" package in my contents
<mabel> and when I'm writing in extraCommands
camsbury has joined #nixos
<mabel> I see that there's a build-support script inside it which calls "addEnvHooks"
<mabel> I'm assuming that something about this is wrecking the extremely fragile extraCommands builder
<mabel> but I'm not sure how I can get around it... I can't pass it as a nativeBuildInput without monkeying around inside the dockerTools machinery
iyzsong has joined #nixos
bgamari has quit [Ping timeout: 252 seconds]
bgamari has joined #nixos
camsbury has quit [Ping timeout: 250 seconds]
civodul has joined #nixos
camsbury_ has joined #nixos
<mabel> I guess as a total hack I could add a "proxy" derivation to block the build input from being propagated, but ew
__monty__ has joined #nixos
<ggpeti> what's the best way to create a postgres cluster declaratively? terraform, disnix, nixops, ...?
tboston_ has quit [Ping timeout: 255 seconds]
init_6 has quit [Ping timeout: 255 seconds]
tboston_ has joined #nixos
init_6 has joined #nixos
grizwako has quit [Ping timeout: 240 seconds]
dermetfan has joined #nixos
mounty has quit [Read error: No route to host]
mounty has joined #nixos
<mabel> ah, apparently if I chmod the directory ahead of time it works out
OnlyLove_ has joined #nixos
dermetfan has quit [Ping timeout: 252 seconds]
OnlyLove_ has quit [K-Lined]
<__monty__> ggpeti: Are you the peti of haskell infrastructure fame?
asymmetric has joined #nixos
kvda has joined #nixos
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59454 → cadvisor: 0.33.0 -> 0.33.1 → https://git.io/fjm2l
goibhniu has joined #nixos
<Guest27063> can someone add the "Kernel" topic to https://github.com/NixOS/nixpkgs/pull/58207 https://github.com/NixOS/nixpkgs/pull/55755 else I am afraid they will go unnoticed by kernel maintainers
<{^_^}> #58207 (by teto, 2 weeks ago, open): [RFC] boot.kernelPackages: check for conflicts
<{^_^}> #55755 (by teto, 8 weeks ago, open): system.requiredKernelConfig: packages contraints
asymmetric has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #56615 → clp: 1.16.11 -> 1.17.0 → https://git.io/fhAas
<{^_^}> [nixpkgs] @markuskowa pushed 4 commits to master: https://git.io/fjm2u
<{^_^}> [nixpkgs] @timokau merged pull request #56503 → vimPlugins: add vim-sneak, unicode.vim, nvim-hs.vim, far.vim, vim-rsi → https://git.io/fhNS4
<{^_^}> [nixpkgs] @timokau pushed 7 commits to master: https://git.io/fjm22
tboston__ has joined #nixos
<sphalerite> Guest27063: what happened to your nick?
<sphalerite> labelled
asymmetric has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #57306 → nfdump: 1.6.16 -> 1.6.17 → https://git.io/fhhj1
<{^_^}> [nixpkgs] @markuskowa pushed commit from @tobim to master « nfdump: 1.6.16 -> 1.6.17 (#57306) »: https://git.io/fjm2w
dwdr has joined #nixos
gagbo has quit [Quit: I'm out !]
tboston_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @lheckemann merged pull request #59423 → Initramfs improvements → https://git.io/fjmRC
<{^_^}> [nixpkgs] @lheckemann pushed 4 commits to master: https://git.io/fjm2K
Guest27063 is now known as teto
<teto> sphalerite: had a lingering tmux. fixed xD
<sphalerite> :D
<teto> not too tired after the release ?
<sphalerite> on the contrary, I feel a lot less guilty about working on non-release-related stuff
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59455 → catch2: 2.7.0 -> 2.7.1 → https://git.io/fjm2P
init_6 has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59456 → rust-cbindgen: 0.8.0 -> 0.8.3 → https://git.io/fjm2S
tboston_ has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59457 → cctz: 2.2 -> 2.3 → https://git.io/fjm27
tboston__ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #59204 → pythonPackages.nltk: 3.2.5 -> 3.4 → https://git.io/fjtM0
<{^_^}> [nixpkgs] @dotlambda pushed commit from @couchemar to master « pythonPackages.nltk: 3.2.5 -> 3.4 (#59204) »: https://git.io/fjmae
mounty has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59458 → cgal: 4.13 -> 4.14 → https://git.io/fjmaU
thc202 has joined #nixos
justanotheruser has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59459 → cfr: 0.140 -> 0.143 → https://git.io/fjmaL
johanot has joined #nixos
lortabac has quit [Ping timeout: 244 seconds]
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lortabac has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59460 → charles: 4.2.7 -> 4.2.8 → https://git.io/fjmaO
T_S_ has joined #nixos
<{^_^}> [nixpkgs] @edwintorok opened pull request #59461 → nixos-19.03: fix hardened kernels → https://git.io/fjmas
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59462 → cifs-utils: 6.8 -> 6.9 → https://git.io/fjmaC
ggpeti has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @montag451 opened pull request #59463 → annexremote: init at 1.3.1 → https://git.io/fjmal
Thra11 has joined #nixos
grizwako has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59464 → cimg: 2.5.5 -> 2.5.6 → https://git.io/fjmaB
fendor has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
dontobey has joined #nixos
polman has quit [Ping timeout: 245 seconds]
tboston_ has quit [Ping timeout: 252 seconds]
ggpeti has joined #nixos
petrkr has joined #nixos
ggpeti has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @minijackson opened pull request #59465 → Add Jellyfin module → https://git.io/fjma6
user____ has joined #nixos
chreekat has left #nixos ["parting"]
knupfer has quit [Ping timeout: 252 seconds]
<user____> Where is a good place to ask for help with the following: error: Package 'Agda Sheaves....' is marked as broken, refusing to evaluate. ?
<user____> when running $nix-build "<nixpkgs>"
<{^_^}> [nixpkgs] @montag451 opened pull request #59466 → humanfriendly: init at 4.18 → https://git.io/fjmaX
<arianvp> Backlight driver stopped working after update to 19.03
<arianvp> :/
<arianvp> Oh wait it works
<arianvp> Need to be in the video group. That's new
<user____> is this the correct channel for requesting help with an error when running '$ nix-build "<nixpkgs>"', as a beginner?
<qyliss> here!
ixxie has joined #nixos
<ixxie> morning folks
<ixxie> I'm looking for a way to setup a shared directory (i.e. group owned, symlinked into each users home dir) declaratively on nixos
<ixxie> declarative group specification is easy enough
<qyliss> You can do that with an activation script.
<ixxie> qyliss: any example you can link?
<user____> I am new to both nixos and irc. I apologize if I am not following proper conventions. Is there someone who can help me with a error when running nix-build?
<arianvp> Yes
<arianvp> Shoot
<lmarks> user____: Just ask your question
<lmarks> You will most likely get a helpful answer here :)
<gchristensen> user____: I can't type much this morning, but: you're trying to build every package, when presumably you wanted to only build some packages?
<gchristensen> when your an nix-build "<nixpkgs>" what were you trying to get out?
<user____> Thanks! when running $ nix-build "<nixpkgs>" in a directory that contains a default.nix (trying to build a simple package of c code)
<gchristensen> ah, just run nix-build :) `nix-build "<nixpkgs>"` is saying "build the file at "<nixpkgs>"
<arianvp> Which means. Build every single package ever
<lmarks> Unless you have changed NIX_PATH
<arianvp> You can do nix-build ./default.nix instead
sigmundv has joined #nixos
<user____> Thanks. my default.nix starts like this: "{ stdenv }: stdenv.mkDerivation { ..." is there a way to build this without adding my nix expression to nixpkgs?
<user____> I can't figure out how to pass stdenv to the expressions i wrote in default.nix
tboston_ has joined #nixos
<arianvp> Aaah
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59467 → cmark: 0.28.3 -> 0.29.0 → https://git.io/fjmab
<arianvp> Are you following the manual by any chance? I got stuck on exactly the same thing
<arianvp> When I started out.
<sphalerite> user____: quick fix: nix-build -E '(import <nixpkgs> {}).callPackage ./default.nix'
<user____> I don't remember exaclty, I think I am following both nix and nixpkgs manuals
<sphalerite> user____: if you're following the manual, I'd suggest trying the nix pills instead, they're a good in-depth introduction to nix and nixpkgs
<sphalerite> ,pills
<lmarks> Why do some package configuration options have a path that begins with 'nixpkgs.config' (e.g. nixpkgs.config.firefox.enableGoogleTalkPlugin) while others begin with 'programs' (e.g. programs.bash.enableCompletion) ?
<sphalerite> lmarks: nixpkgs config is an old mechanism that nobody really likes and we'll hopefully one day be rid of
<lmarks> damn
<user____> thanks for the suggestions of "import" and nix-pills!
<lmarks> That's extremely confusing, and doesn't seem to be anywhere in the documentation
<teto> lmarks: the nixpkgs.config influences compilation so changing it usually involves recompiling
<teto> while programs just setups some system wide logic
<arianvp> user____: check out that link for a standalone working examole
<sphalerite> lmarks: while the other options are defined by nixos modules. Usually this is only necessary for systemwide stuff
<sphalerite> lmarks: overrides are generally preferred over nixpkgs config nowadays for stuff that doesn't need a nixos module
<lmarks> sphalerite: I figured as much. Because they appear to have the same function. BUT then, some places tell me that in fact overlays are preferred to overrides
<immae> hello there, I have a double question about shell.nix : I would like to write a derivation that runs a command and exits, is adding "exit 0" at the end of shellHook the right way to do it? Also, I would like to run bundix in that shell, but bundix itself calls a nix-shell, which uses shell.nix and I end up in infinite recursive calls, how can I avoid it?
<teto> the darwin builder is kinda slow no ?
<arianvp> Why there are multiple ways to do this is very well explained in the nix pills tutorial
<arianvp> I can recommend it. It is a fun read
zupo_ has joined #nixos
<teto> lmarks: overlays is the best place to override packages
<teto> (depends on what you want to do but usally the best place)
<lmarks> Nix Pills is not a fun read, often it makes no sense (seems to be written by a non-english speaker) and also contains things which are apparently outdated
<user____> I am mostly working offline. Is there a convenient way to download the manuals found at nixos.org?
<sphalerite> lmarks: oh yeah, the classic problem… packageOverrides != pkg.override != pkg.overrideAttrs != pkg.overrideDerivation
<sphalerite> lmarks: overlays replace packageOverrides, but not any of the other bits
zupo has quit [Ping timeout: 268 seconds]
<alexherbo2> user____: you use Chrome?
<user____> I use conkeror
<lmarks> sphalerite: you can also add "overridePackages" to the list
<alexherbo2> I don’t know, but that’s how I do on Chrome:
<alexherbo2> chrome://flags and set "Save Page as MHTML"
<alexherbo2> then on a page, Ctrl-S to save the page as MHTML
<sphalerite> user____: `nix-build '<nixpkgs/doc>'` should get you the nixpkgs manual
<sphalerite> (creating a symlink "result" which points to it)
<alexherbo2> It enables to save pages as MHTML: a single text file containing HTML and all sub-resources.
<alexherbo2> so you can access it offline
<alexherbo2> Search for an MHTML feature on Conkeror
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> user____: for the nix manual, `nix-build '<nixpkgs>' -A nix.doc`
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fjmVf
T_S_ has joined #nixos
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59468 → copyq: 3.7.3 -> 3.8.0 → https://git.io/fjmVT
<Notkea> hello, should module files have a meta.maintainers property just like package files? I don't see a lot of modules having that property set
T_S_ has joined #nixos
user____ has quit [Ping timeout: 252 seconds]
T_S_ has quit [Client Quit]
T_S_ has joined #nixos
T_S_ has quit [Client Quit]
<teto> Notkea: usually modules are *simpler* than packages. I would tend to lookup the package maintainer for a nmodule problenm
<sphalerite> Notkea: yeah, it was introduced quite recently
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> Notkea: but generally having listed maintainers is nice :)
<Notkea> so it informally defaults to the maintainers of the associated package? is it now mandatory for new modules?
<Notkea> oh I see
<Notkea> I'll amend a few PRs then, thanks!
orivej has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #59439 → ammonite: 1.6.4 -> 1.6.6 → https://git.io/fjmzv
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @r-ryantm to master « ammonite: 1.6.4 -> 1.6.6 »: https://git.io/fjmVL
timokau has quit [Quit: WeeChat 2.4]
sindrip has joined #nixos
fr035 has quit [Quit: leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59469 → crispyDoom: 5.5.1 -> 5.5.2 → https://git.io/fjmVG
kleisli has joined #nixos
timokau has joined #nixos
sigmundv__ has joined #nixos
sindrip has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59470 → csvkit: 1.0.3 -> 1.0.4 → https://git.io/fjmVu
T_S_ has joined #nixos
silver has joined #nixos
Mithror has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #57181 → protobuf: 3.6 -> 3.7 → https://git.io/fhh6P
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/fjmVV
<asymmetric> hi, i'm trying to build nixops but it fails due to this: https://github.com/NixOS/nixpkgs/pull/56775
<{^_^}> #56775 (by bendlas, 6 weeks ago, merged): azure-mgmt-*: re-init older versions for use with nixops
<asymmetric> my <nixpkgs> is at 19.03 though, so not sure why it's still not working: should've been fixed right?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ggpeti has joined #nixos
<asymmetric> how do i find out how old a channel is?
<tilpner> asymmetric: https://howoldis.herokuapp.com/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59471 → cups-filters: 1.22.2 -> 1.22.5 → https://git.io/fjmVi
<asymmetric> tilpner: thanks
<ggpeti> For a while I thought "howoldis" is the name of a mythical creature
<ggpeti> __monty__: no that's a different person
<asymmetric> i'm confused about the version of my <nixpkgs>
<ggpeti> tell why
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #59472 → i3easyfocus: 20180622 -> 20190411 → https://git.io/fjmVX
<asymmetric> how do i inspect that? root uses the 19.03 channel, my user only adds HM master
<asymmetric> but when i try to build nixops (which uses <nixpkgs> in release.nix) i seem to get an old version of nixpkgs
fendor has joined #nixos
<ggpeti> echo $NIX_PATH
<sphalerite> asymmetric: nix eval nixpkgs.lib.version
<teto> or use nix-info as prescribed in the GH issue template
zupo has joined #nixos
ixxie has quit [Ping timeout: 255 seconds]
<asymmetric> ah i see, it seems that the bug in https://github.com/NixOS/nixpkgs/issues/52547 doesn't fix the issue everywhere
<{^_^}> #52547 (by bendlas, 16 weeks ago, closed): azure-mgmt-* packages don't build
<asymmetric> or rather, the issue has been fixed on master but not backported to 19.03: https://github.com/NixOS/nixpkgs/commit/02bb5e35eae8a9e124411270a6790a08f68e905b#diff-c3521cb07872f9002ed468acfa027d39
<asymmetric> should i open a PR that does that?
<asymmetric> ok i stand corrected, the change is in release-19.03 but hasn't propagated to the channel yet
xkapastel has joined #nixos
worldofpeace has joined #nixos
<ggpeti> \o/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59474 → darktable: 2.6.1 -> 2.6.2 → https://git.io/fjmVj
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59475 → dbeaver: 6.0.0 -> 6.0.2 → https://git.io/fjmwU
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #59463 → pythonPackages.annexremote: init at 1.3.1 → https://git.io/fjmal
<{^_^}> [nixpkgs] @dotlambda pushed commit from @montag451 to master « pythonPackages.annexremote: init at 1.3.1 (#59463) »: https://git.io/fjmwI
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59433 → nixos/deepin-menu: init → https://git.io/fjmEH
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjmwt
kleisli has quit [Ping timeout: 252 seconds]
ryantrinkle has joined #nixos
winem_ has joined #nixos
day|flip has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.6.3 -> 1.6.7 »: https://git.io/fjmwa
Mithror has quit [Ping timeout: 252 seconds]
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ixxie has joined #nixos
<sphalerite> lmarks: overridePackages doesn't exist anymore, at least :p
asymmetric_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kleisli has joined #nixos
asymmetric has quit [Ping timeout: 255 seconds]
Izorkin has quit [Ping timeout: 246 seconds]
Izorkin has joined #nixos
ayerhart has joined #nixos
Izorkin_ has joined #nixos
Izorkin has quit [Ping timeout: 240 seconds]
Izorkin_ is now known as Izorkin
ixxie has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #21860 → nixos/gdm: use provided PAM login configuration wherever possible → https://git.io/vMaL8
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjmwK
<{^_^}> [nixpkgs] @basvandijk merged pull request #59261 → Backport elk: 6.5.1 -> 6.7.1 to release-19.03 → https://git.io/fjqt6
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to release-19.03: https://git.io/fjmw6
kleisli has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59476 → doitlive: 4.2.1 -> 4.3.0 → https://git.io/fjmwD
<emilsp> hmm, trying to boot the aarch64 image on a raspberry pi 3, and the boot seemingly doesn't progress after uboot tries to start the kernel (stuck on line Starting kernel ...) the led flashes every once in a while, but after multiple minutes there are no updates on screen.
<tilpner> emilsp: I don't have a Pi3, but... if you haven't already, try booting a few more times
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59478 → double-conversion: 3.1.3 -> 3.1.4 → https://git.io/fjmw7
<tilpner> My Pinebook sometimes needs two boots before it boots a kernel
<{^_^}> [nixpkgs] @Ma27 merged pull request #59449 → avidemux: 2.7.2 -> 2.7.3 → https://git.io/fjmzQ
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjmwd
iceypoi has joined #nixos
<emilsp> tilpner: will do!
__red__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #59448 → autorandr: 1.8 -> 1.8.1 → https://git.io/fjmzM
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjmwN
q6AA4FD has quit [Ping timeout: 252 seconds]
nikivi has quit [Ping timeout: 264 seconds]
erasmus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59479 → drumkv1: 0.9.5 -> 0.9.6 → https://git.io/fjmwp
Glider_IRC has joined #nixos
T_S_ has joined #nixos
kleisli has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #59480 → nixos/fprintd: use systemd.packages → https://git.io/fjmrv
<laalf> anyone is using nextcloud on nixos? after a fresh install i get this: : fileperms(): stat failed for /nix/store/q84rjkhpp7fm8j40jnf2hyfab8hq2vhv-nextcloud-15.0.5/data/nextcloud.log in /nix/store/q84rjkhpp7fm8j40jnf2hyfab8hq2vhv-nextcloud-15.0.5/lib/private/Log/File.php on line140
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59481 → dunst: 1.3.2 -> 1.4.0 → https://git.io/fjmrT
<iceypoi> I've a razer keyboard and I'm seeing #47009 which adds support for the drivers but looks like noone has done much of anything with it for 4 months. Any chance I could somehow help out and get this pr closed off?
dwdr has quit [Read error: Connection reset by peer]
<{^_^}> https://github.com/NixOS/nixpkgs/pull/47009 (by roelvandijk, 29 weeks ago, open): openrazer: init at 2.3.1 (driver, daemon, lib and NixOS module)
<tilpner> laalf: Apparently they have a Discourse you could try: https://help.nextcloud.com/
<laalf> tilpner: oh well. guess ill try a forum
<laalf> thanks
vidbina has quit [Ping timeout: 252 seconds]
winem_ has quit [Ping timeout: 268 seconds]
mconstant has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #59482 → python.pkgs.sympy: 1.3 -> 1.4 → https://git.io/fjmrq
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59483 → eaglemode: 0.94.0 -> 0.94.1 → https://git.io/fjmrm
Ariakenom has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
alexherbo2 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59484 → eagle: 9.3.1 -> 9.3.2 → https://git.io/fjmrZ
artemist has left #nixos ["WeeChat 2.4"]
<teto> laalf: I installed one but didn't have this pb, I just had the calendar module go away after an update :(
<laalf> teto: that really looks like i should look at how to declaratively deploy docker images and make backups of it. also how to forward them properly
Neo-- has quit [Ping timeout: 252 seconds]
ggpeti has quit [Ping timeout: 268 seconds]
<teto> laalf: there is a lengthy issue on nextcloud on the tracker. Bottomline is : it's not friendly to a declarative approach
<teto> in my case, I just had to enable it again via the interface. It's just for my personal use so it doesn't matter really
<laalf> teto: alright. they offer official docker images though.
<laalf> its for personal use for me as well.
<{^_^}> [nixpkgs] @aanderse opened pull request #59485 → otter-browser: fix broken build → https://git.io/fjmrV
endformationage has joined #nixos
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<laalf> can you declatively deploy docker images under nixos?
T_S_ has joined #nixos
T_S_ has quit [Client Quit]
<{^_^}> [nixpkgs] @xrelkd opened pull request #59486 → marisa: 0.2.4 -> 0.2.5 → https://git.io/fjmrS
o1lo01ol1o has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
softinio has joined #nixos
ggpeti has joined #nixos
nyanloutre has joined #nixos
alexherbo2 has joined #nixos
johanot has quit [Ping timeout: 252 seconds]
<softinio> infinisil: thx for reviewing PR one thing you mentioned unpackPhase = "true"; disables the unpack phase ..... shouldn't it be false?
<infinisil> softinio: Well, we set the unpack phase to the bash script "true", which just means "exit successfully"
ggpeti has quit [Ping timeout: 252 seconds]
<infinisil> Aka, don't do anything
<softinio> infinisil: got it I didn't know that .... loved your PR comments learnt so much !
<infinisil> :)
johanot has joined #nixos
<asymmetric_> in nixops, is it possible to use my user's private ssh key, instead of generating one for each machine?
asymmetric_ is now known as asymmetric
<teto> asymmetric: yes it is, not sure how. You can set ssh keys in the definition of the machine or maybe in some nixops option
freeman42x has joined #nixos
<asymmetric> teto: can i prevent nixops from creating a private key at all though?
<asymmetric> this would make sharing the state file much easier
clefru has joined #nixos
<softinio> infinisil: Replied to your license concerns on PR let me know your thoughts https://github.com/NixOS/nixpkgs/pull/56250#discussion_r275161865
wucke13 has joined #nixos
clefru has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #59458 → cgal: 4.13 -> 4.14 → https://git.io/fjmaU
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjmof
clefru has joined #nixos
T_S_ has joined #nixos
<wucke13> I want to write a shellscript in a package build, which references file from that package. How can I do so?
<clefru> wucke13: probably use $out/where-ever-that-script-is-going-to-finally land
nyanloutre has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #59441 → python: pandas: 0.24.1 -> 0.24.2 → https://git.io/fjmzZ
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjmot
o1lo01ol1o has quit [Remote host closed the connection]
<wucke13> clefru: $out isn't replaced by the actual $out path. https://github.com/wucke13/nixpkgs/blob/betaflight-configurator-naive/pkgs/applications/science/robotics/betaflight-configurator/default.nix is the nix expression in question
<{^_^}> [nixpkgs] @Infinisil merged pull request #59315 → nixos/znc: Fix URL XML for config option → https://git.io/fjqiZ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjmoq
<{^_^}> [nixpkgs] @Infinisil pushed to release-19.03 « nixos/znc: Fix URL XML for config option »: https://git.io/fjmoY
johanot has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #58815 → lib.cleanSourceFilter: Filter all .git, not just directories → https://git.io/fjI8U
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjmo3
jD91mZM2 has quit [Remote host closed the connection]
<clefru> wucke13: yes. I'd generate the script inside of installPhase. $out is a derived from the hash of the build-description, so you can't use $out inside the nix-level build scription, as this would introduce a loop $out ---inside-write-script--> build-description ---hash--> $out
<{^_^}> [nixpkgs] @7c6f434c pushed to master « openmvs: mark as broken »: https://git.io/fjmos
<{^_^}> [nixpkgs] @ryantm merged pull request #59442 → arc-theme: 20190213 -> 20190330 → https://git.io/fjmzC
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjmoG
<wucke13> clefru: I see. How can I circumvent this? I used to write the script with some shell magick in the installPhase, but got the feedback to use writeShellScriptBin for that. Unfortunately, I don't have a clue how to resolve this circular dependcy you mentioned.
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wucke13> I could use ../ instead of $out
<clefru> wucke13: your shell script is fairly simple, so "cat > script << EOF\n#!/bin/sh\n${nwjs}/bin/nw $out/opt/${strippedName}\nEOF" then chmod a+rx script
xkapastel has joined #nixos
jD91mZM2 has joined #nixos
<clefru> wucke13: yes, relative paths would work as well from what I see
<clefru> wucke13: my line above was in the context of replacing the "cp ${runScript}/bin" in your installPhase
<wucke13> What would be the preferable way?
<wucke13> clefru: Yeah, that way of doing it is fairly clear to me, I was just wondering wether the writeShellScriptBin function might be used for this too
<clefru> wucke13: depends on what ${nwjs} wants. I'd try with relative references
<wucke13> Though, the relative approach can't work, I guess. The relative path is interpreted relative to the pwd, not the folder where the script itself resides
<clefru> wucke13: no, I can't see how this would work within the same derivation. You could define a launcher derivation that wraps this derivation to break the cycle. That's the runScript generator for buildFHSUserEnv does it IMHO
tboston_ has quit [Ping timeout: 246 seconds]
<clefru> but, I am not sure, frankly
<clefru> wucke13: I wouldn't bother, and move forward with something that works to get you to your goal. You can study other approaches later
<wucke13> Already did that, and got my feedback to look into writeShellScriptBin :D https://github.com/NixOS/nixpkgs/pull/53013
<{^_^}> #53013 (by wucke13, 15 weeks ago, open): betaflight-configurator: init at 10.4.0
knupfer has joined #nixos
<clefru> wucke13: ask your reviewer how this is supposed to work. I can't see away for the moment.
o1lo01ol1o has joined #nixos
<clefru> wucke13: sorry looks like you did exactly that.
<clefru> wucke13: just ping the person. that's acceptable after a few days, and certainly 2 months :p
<wucke13> clefru: How? Just writing another comment "ping @persons-name"?
<clefru> wucke13: yep :)
kleisli has quit [Ping timeout: 240 seconds]
<wucke13> clefru: Did so. Thank you for the advice :)
stepcut has joined #nixos
<{^_^}> [nixpkgs] @timokau pushed to master « python.pkgs.sympy: 1.3 -> 1.4 (#59482) »: https://git.io/fjmo8
<{^_^}> [nixpkgs] @timokau merged pull request #59482 → python.pkgs.sympy: 1.3 -> 1.4 → https://git.io/fjmrq
<clefru> wucke13: you're welcome
<clefru> is there away to manage system-user units with nix in some way? I'd like to start weechat automatically under my user when the box boots
o1lo01ol1o has quit [Ping timeout: 255 seconds]
sindrip has joined #nixos
<teto> clefru: home manager installs user units and you can add your own
<infinisil> clefru: Either systemd.user.services (for all users) or with home-manager (for specific users)
<{^_^}> [nixpkgs] @Ma27 opened pull request #59487 → weechat: install all outputs into the final store path → https://git.io/fjmo4
asymmetric_ has joined #nixos
alexherbo2 has quit [Remote host closed the connection]
<clefru> teto & infinisil: thanks, I recalled that home-manager could do it, but failed to find an example. looks like systemd.user.services."foo-service" should do it, right?
<teto> clefru: grep the code for systemd, I am sure you will find sthg (xsession for instance)
<teto> or mbsync.nix
stepcut has quit [Remote host closed the connection]
mnoronha_ has joined #nixos
asymmetric has quit [Quit: Leaving]
stepcut has joined #nixos
asymmetric_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
T_S_ has joined #nixos
asymmetric_ has joined #nixos
stepcut has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
stepcut has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
asymmetric_ has quit [Client Quit]
asymmetric_ has joined #nixos
T_S_ has quit [Client Quit]
asymmetric_ has quit [Client Quit]
asymmetric has joined #nixos
asymmetric has quit [Client Quit]
asymmetric has joined #nixos
erasmus has quit [Quit: END-AUMF]
kleisli has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59488 → fasm-bin: 1.73.09 -> 1.73.10 → https://git.io/fjmow
<clefru> thank you, teto++, infinisil++
<{^_^}> infinisil's karma got increased to 84, teto's karma got increased to 2
ddellacosta has joined #nixos
asymmetric has quit [Quit: ZNC 1.7.1 - https://znc.in]
<MichaelRaskin> mog: I am not completely sure what is a good thing to do about all this… maybe providing a wrapper is a good idea…
<mog> i would assume sbcl or asdf has a setting that is dont exit on warnings?
eeva has quit [Remote host closed the connection]
<mog> im not much of a lisp guy, just an emacs and stump user
eeva has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #59481 → dunst: 1.3.2 -> 1.4.0 → https://git.io/fjmrT
<MichaelRaskin> It might be nontrivial to convince ASDF to not fail on warnings — most warnings are «undefined function» and such in Common Lisp (could end up being OK, but shouldn't reach ASDF level)
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjmoi
<MichaelRaskin> SBCL seems to allow warning or error, but nothing below…
<MichaelRaskin> And not finding the precompiled stuff is bad in any case
<teto> MichaelRaskin: just for info, I've started merging the different lua interpreters (as python did). Should help for maintainance
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59489 → facter: 3.13.0 -> 3.13.1 → https://git.io/fjmoD
tboston_ has joined #nixos
asymmetric has joined #nixos
wfranzini has quit [Remote host closed the connection]
<MichaelRaskin> teto: You mean 5.x into a single expression with just src differing?
stepcut has quit [Remote host closed the connection]
wfranzini has joined #nixos
<teto> MichaelRaskin: yes
stepcut has joined #nixos
<mog> but MichaelRaskin you have made my day just getting it working this way, even if it is a bit complex to do out of the box
<MichaelRaskin> Sounds good. I wasn't ever doing enough interesting stuff with Lua for that refactoring to pay off for me, but with your work around Lua, it seems nice
<mog> i had been building it all from source before and felt it was very fragile
<sindrip> builtins.toFile cannot refer to derivation outputs, what workarounds are there for this?
<teto> MichaelRaskin: I don't use lua much either but having the same code in 3 different files made me itchy
<teto> next step I would like to get rid of some of the luarocks warning as you did in the torch-distro.nix and move those packages to their generated counterpart. The global idea being to move as much as possible to generated
stepcut has quit [Ping timeout: 252 seconds]
asymmetric has quit [Quit: ZNC 1.7.1 - https://znc.in]
asymmetric has joined #nixos
<hlolli__> How could I use the command line to help me to find the path of `${gfortran}/lib`, I'm assuming that I'm missing some output, but `${gfortran.out}/lib` does not work, basically, I'd like to which output directory a derivation resolves to.
<{^_^}> [nixpkgs] @xrelkd opened pull request #59490 → polybar: 3.3.0 -> 3.3.1 → https://git.io/fjmoN
<{^_^}> [nixpkgs] @kalbasit pushed commit from @r-ryantm to master « charles: 4.2.7 -> 4.2.8 (#59460) »: https://git.io/fjmop
<{^_^}> [nixpkgs] @kalbasit merged pull request #59460 → charles: 4.2.7 -> 4.2.8 → https://git.io/fjmaO
<sphalerite> hlolli__: typically you can use getLib (from pkgs.lib) for htis
<sphalerite> hlolli__: iirc, it gets the lib output of a derivation if it exists, otherwise the default uput
asymmetric has quit [Client Quit]
<sphalerite> hlolli__: aaah actually this is a case of the cc wrapper
<sphalerite> hlolli__: confusingly enough, ${gfortran.cc}/lib exists.
<hlolli__> thanks sphalerite, that info should be enough, annoys me sometimes that some symbols resolve only to binary outputs, despite I'm not asking for it
<hlolli__> nice!
wucke13 has quit [Ping timeout: 268 seconds]
asymmetric has joined #nixos
<hlolli__> I spend 10 minutes to find out if my paths are correct, so this should give more minutes to my life :)
<monotux> so...I can't build my nixos configuration anymore. it just eats all memory and then fills the swap. where do I start troubleshooting this?
<clefru> gosh the archwiki is such a great treasure trove of information. not necesarily arch specific. I am still sad that we kill the original wiki. nixos.wiki isn't just the same :(
<hlolli__> monotux, have you tried creating a swap?
<hlolli__> ah sorry, fills your swap :S nvm
asymmetric has quit [Client Quit]
<monotux> 8 gig RAM and 16 gig swap
<monotux> that should be enough to build my configuration
<hlolli__> which derication is filling your swap?
asymmetric has joined #nixos
<monotux> I'm not sure?
<monotux> trying nixos-rebuild dry-run is enough for nix to eat my RAM
wucke13 has joined #nixos
<monotux> 18.09, tried upgrading to 19.03 but this issue prevents it
<mog> maybe dump your configuration.nix?
<monotux> sure
<mog> im under similar memory constraints and not having any issues
asymmetric| has joined #nixos
asymmetric| has quit [Client Quit]
<monotux> some lines removed but shouldn't affect anything
alexherbo2 has joined #nixos
<monotux> I have a VPS with 2 gb of memory and have rebuilt that Before without issues, but haven't dared try rebuilding it now due to these issues
<infinisil> monotux: Can you share your configuration.nix?
<{^_^}> [nixpkgs] @dotlambda opened pull request #59491 → esphome: 1.11.2 -> 1.12.2 → https://git.io/fjmKL
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59492 → ffmpeg-full: 4.1.2 -> 4.1.3 → https://git.io/fjmKt
wucke13 has quit [Ping timeout: 240 seconds]
wucke13 has joined #nixos
ddellacosta has quit [Ping timeout: 264 seconds]
tboston_ has quit [Quit: leaving]
<softinio> infinisil: I did your PR suggestion for platformSpecific ... I get this error: attempt to call something which is not a function but a set , any thoughts?
sigmundv has quit [Ping timeout: 246 seconds]
<sphalerite> does anyone know a tool that can resolve symlinks relative to a different root? I've found it to be a fairly common problem that I want to resolve an absolute symlink from a filesystem mounted to /mnt
<wucke13> In a nix expression for a package, is there a beautiful way of getting a shebang for and ordinary shell? I believe there was some, but can't remember :(
sigmundv has joined #nixos
<sphalerite> wucke13: #!${stdenv.shell} is the usual one
sigmundv__ has quit [Ping timeout: 252 seconds]
<wucke13> sphalerite: Perfect, that was it :)
<infinisil> softinio: Ah you need parens around the (throw "unsupported platform")
<softinio> I was blind to it thanks
<sindrip> I'm using (builtins.toFile "i3config" '' ... ${pkgs.kitty} '') but I am not allowed to put a package derivation inside builtins.toFile, it does not help to use an intermediary variable. What are my options (other than home-manager)?
worldofpeace has quit [Remote host closed the connection]
<sphalerite> sindrip: use pkgs.writeText
<monotux> infinisil: it's shared already
<samueldr> sphalerite, wucke13: seems we're moving to `pkgs.runtimeShell` for things that are going in $out (but still stdenv.shell for build-time things)
<sphalerite> samueldr: ah, good to know! Thanks
<wucke13> Oh ok
<samueldr> (learned about that last friday :))
o1lo01ol1o has joined #nixos
<wucke13> samueldr: But then I will have to include pkgs, right?
<samueldr> {runtimeShell, other, deps}: ... # if it's something that's callpackage-able
<samueldr> so probably {stdenv, runtimeShell, other, stuff}: stdenv.mkDerivation {}
o1lo01ol1o has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<wucke13> samueldr: Thanks, works like a charm!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59493 → flacon: 5.1.0 -> 5.2.0 → https://git.io/fjmKB
esmerelda has joined #nixos
drakonis has joined #nixos
<sindrip> sphalerite: Thanks, that did the trick
<esmerelda> I'm curious... How does NixOS know what systemd units to restart?
erasmus has joined #nixos
<wucke13> esmerelda: I gues by knowing the hashes of all service files, and noticing when one of them is changed
<esmerelda> Ahh, that makes sense. I guess it can query systemctl and make it describe the hashes of each service
<sphalerite> esmerelda: if the store path changes, or the list of restart triggers changes, then one of the actions is performed depending on which is set (reloadIfChanged, restartIfChanged, stopIfChanged)
<esmerelda> Ahh ok
drakonis_ has quit [Ping timeout: 240 seconds]
<esmerelda> I'm trying to make CD for kubenix, and it's something of a similar problem to solve. I need to grab current config, check to see which elements have changed, filter the json to just include the changed elements and do kubectl replace
asymmetric has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59494 → flatpak-builder: 1.0.5 -> 1.0.6 → https://git.io/fjmKa
<esmerelda> I think
sigmundv__ has joined #nixos
IRCsome has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @hedning merged pull request #59468 → copyq: 3.7.3 -> 3.8.0 → https://git.io/fjmVT
<{^_^}> [nixpkgs] @hedning pushed commit from @r-ryantm to master « copyq: 3.7.3 -> 3.8.0 (#59468) »: https://git.io/fjmKr
petrkr has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @hedning merged pull request #59408 → gtk3: 3.24.7 -> 3.24.8 → https://git.io/fjml6
<{^_^}> [nixpkgs] @hedning pushed to staging « gtk3: 3.24.7 -> 3.24.8 (#59408) »: https://git.io/fjmKK
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ggpeti has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59495 → flatcc: 0.5.2 -> 0.5.3 → https://git.io/fjmKi
<softinio> infinisil: addressed all your PR comments can you take another look: https://github.com/NixOS/nixpkgs/pull/56250
<{^_^}> #56250 (by softinio, 7 weeks ago, open): vim-plugins: Added more vim plugins
linarcx has joined #nixos
<infinisil> softinio: Did you verify that the vim plugin actually works?
jmgai has quit [Ping timeout: 255 seconds]
jtojnar has quit [Remote host closed the connection]
<softinio> infinisil: my vim still using dotfiles .... this PR was supposed to be the stepping stone before I migrate over from dotfiles to nix for vim config
domogled has joined #nixos
<softinio> I can verify and migrate first but will delay things by a couple of weekends
<infinisil> Well I'm not going to merge an untested PR, but the code looks good at least
<softinio> ok I will test and confirm and let you know
<softinio> infinisil: going to test now thought I just migrate with just this one plugin to test that should be quick one sec
<softinio> infinisil: will have to test later as need to do it on other laptop that I don't have with me now will let you know when done. Thx for help
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59496 → ibm-plex: 1.3.0 -> 1.4.1 → https://git.io/fjmK5
<linarcx> Gyus, anyone here install and use qt for develop applications in nixos? Which method you use? in arch and windows i just download online installer.
o1lo01ol1o has quit [Remote host closed the connection]
kleisli has quit [Ping timeout: 250 seconds]
jmgai has joined #nixos
<emilsp> how do I specify a stdenv when running a nix-build ?
<wucke13> I would like to have some feedback for this two PRs:
<{^_^}> #53013 (by wucke13, 15 weeks ago, open): betaflight-configurator: init at 10.5.1
<{^_^}> #55543 (by wucke13, 8 weeks ago, open): pivx: init at 3.2.0
o1lo01ol1o has joined #nixos
_Geeko_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
mconstant has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #59485 → otter-browser: fix broken build → https://git.io/fjmrV
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fjm6L
<{^_^}> [nixpkgs] @lheckemann pushed commit from @aanderse to release-19.03 « otter-browser: fix broken build »: https://git.io/fjm6C
user____ has joined #nixos
T_S_ has joined #nixos
aszlig has quit [Quit: Kerneling down for reboot NOW.]
claymager has joined #nixos
aszlig has joined #nixos
<user____> What package from nixpkgs would one install in order to view man pages for linux c++ development eg. fputs ?
erasmus has quit [Quit: END-AUMF]
<sphalerite> user____: manpages
<sphalerite> :D
<infinisil> ,locate man fputs
<{^_^}> Found in packages: manpages
fusion809 has joined #nixos
softinio has quit []
zupo has joined #nixos
<user____> Is there quick way to add to configuration.nix all packages that would be installed from build-essential in ubunut?
mconstant has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @samueldr opened pull request #59497 → dbeaver: 5.3.0 -> 6.0.2 → https://git.io/fjm6V
<samueldr> adding compilers and libs to the system configuration generally won't work as expected
zupo has quit [Client Quit]
<user____> So, I should instead be creating a derivation when I want to compile c++ code for linux?
<samueldr> (I was looking for relevant documentation)
<eyJhb> Can I somehow increase the size of `/run/user/1000`, seeing as "I" need to write a rather big file to it?
<samueldr> using a nix-shell like `nix-shell -p pkgconfig -p zlib` should be sufficient; though using a shell.nix (or relevant default.nix) can be helpful instead of doing it on the CLI
<{^_^}> [nixpkgs] @dywedir merged pull request #59490 → polybar: 3.3.0 -> 3.3.1 → https://git.io/fjmoN
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjm6K
<judson> Looking into lorri, and wondering how to add it as an expression. I've tried a callPackage/fetchGit, but I get and error from lorri-vendor.drv about Cargo.lock not existing.
<judson> It nix-env -if's fine...
<emilsp> can I make fetchgit use my git credentials for fetching from a private repo?
<judson> Use a git@ URL, emilsp
<judson> Or an ssh: one.
<linarcx> Gyus. how can i find log of nix-build and nix-env?
<sphalerite> emilsp: it's complicated™. The easiest way to do this is to use builtins.fetchGit instead of the fetchgit from nixpkgs, which downloads stuff at evaluation time rather than in a derivation
<emilsp> judson: ssh://git@github.com:/$org/$repo.git seems to fail with host key verification.
<emilsp> sphalerite: hmm, where can I read the docs on fetchGit ?
<emilsp> thanks sphalerite
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59498 → freeradius: 3.0.17 -> 3.0.19 → https://git.io/fjm6M
knupfer has quit [Remote host closed the connection]
<emilsp> Yep, this works, am mad chuffed!
claymager_ has joined #nixos
user____ has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
claymager has quit [Ping timeout: 256 seconds]
<judson> figured out lorri I think: need to pass my checkout as its src attr.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59499 → fwts: 19.02.00 -> 19.03.00 → https://git.io/fjm6H
<linarcx> Guys. i installed qt create and qtbase packages. but when i want to create new project, it says that it cannot detect kits. anybody here has same issue?
ggpeti has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fjm67
<{^_^}> [nixpkgs] @samueldr closed pull request #59475 → dbeaver: 6.0.0 -> 6.0.2 → https://git.io/fjmwU
<{^_^}> [nixpkgs] @samueldr merged pull request #59497 → dbeaver: 5.3.0 -> 6.0.2 → https://git.io/fjm6V
<{^_^}> [nixpkgs] @samueldr pushed to release-19.03 « dbeaver: 5.3.0 -> 6.0.2 »: https://git.io/fjm65
ym555 has joined #nixos
<Taneb> If I'm putting overlays in .config/nixpkgs/overlays, is there a sensible place to put extra nix files that are used by the overlays?
claymager_ has quit [Quit: Page closed]
Makaveli7 has joined #nixos
Ariakenom has quit [Quit: Leaving]
<emilsp> this might be related to Taneb's question, but what do I do if I want to extend a certain nix package/replace it with my own definition of said package?
<Taneb> emilsp: well, you can use an overlay
<emilsp> heh, fair. Can I use an overlay for a specific environment ?
ggpeti has joined #nixos
<Taneb> What do you mean by an environment here?
<emilsp> something that I can shell into by calling nix-env
<emilsp> my devious plan is to use a newer binutils package, burn some electricity rebuilding the entire world. But goddamnit, I need a newer linker.
<infinisil> Taneb: You can make ~/.config/nixpkgs/overlays/foo a directory
<infinisil> Then it uses ./default.nix as the overlay
<Taneb> infinisil: ooh, that's perfect, thanks
<infinisil> (at least that's what I got from reading the source, untested)
<Taneb> Well, it lines up with the docs
Ariakenom has joined #nixos
<samueldr> emilsp: depending on how you import nixpkgs, you can apply an overlay on it in a shell.nix
<{^_^}> [nixpkgs] @dtzWill opened pull request #59500 → hyperscan: 5.1.0 -> 5.1.1 → https://git.io/fjm6p
wfranzini has quit [Remote host closed the connection]
<Taneb> Soon... soon I will be able to mess around with Agda once more!
wfranzini has joined #nixos
mnoronha_ has quit [Ping timeout: 250 seconds]
<samueldr> (it'll only work if default.nix isn't given an arg for pkgs)
mnoronha_ has joined #nixos
<samueldr> this way you could override the pkgs arg with the stock nixpkgs to compare with your overlaid nixpkgs
<{^_^}> [nixpkgs] @dtzWill opened pull request #59501 → numatop: init at 2.1 → https://git.io/fjmie
<emilsp> samueldr: thanks, this is very helpful :) I'll try it out shortly
<{^_^}> [nixpkgs] @dtzWill opened pull request #59502 → hub: 2.11.1 -> 2.11.2 → https://git.io/fjmiv
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59503 → gawk: 4.2.1 -> 5.0.0 → https://git.io/fjmiU
<{^_^}> [nixpkgs] @timokau merged pull request #58824 → xonsh: 0.8.3 -> 0.8.12 → https://git.io/fjI4c
<{^_^}> [nixpkgs] @timokau pushed commit from @Meptl to master « xonsh: 0.8.3 -> 0.8.12 (#58824) »: https://git.io/fjmik
stepcut has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #59504 → kdeFrameworks: 5.56 -> 5.57 → https://git.io/fjmiI
sigmundv has quit [Ping timeout: 252 seconds]
sigmundv__ has quit [Ping timeout: 252 seconds]
IRCsum has joined #nixos
sigmundv has joined #nixos
wolfman154 has joined #nixos
IRCsum has quit [Excess Flood]
<{^_^}> [nixpkgs] @dtzWill opened pull request #59505 → ptask: accept versions 2.5.0, 2.5.1, 2.5.2 → https://git.io/fjmiL
IRCsum has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
wolfman154 has quit [Client Quit]
erasmus has joined #nixos
kleisli has joined #nixos
nikivi has joined #nixos
q6AA4FD has joined #nixos
thePirateKing has joined #nixos
ggpeti has quit [Ping timeout: 252 seconds]
winem_ has joined #nixos
<thePirateKing> Hi everyone, i have a very specific question, has anybody managed to use the R package knitr with Rmarkdown to successfully knit a *.Rmd file to pdf?
<{^_^}> [nixpkgs] @dtzWill opened pull request #59506 → python3Packages.poetry: 0.12.10 -> 0.12.12 → https://git.io/fjmiG
<thePirateKing> It has been giving me a headache all night, even with texlive.combined.scheme-full I am getting this very cryptic error
fusion809 has quit [Remote host closed the connection]
domogled has quit [Quit: domogled]
<thePirateKing> one sec going to reproduce a minimal example
<thePirateKing> its a very niche issue but hoping someone has found a solution
<{^_^}> [nixpkgs] @strager opened pull request #59507 → libgcrypt: fix 1.5 build on macOS → https://git.io/fjmil
<{^_^}> [nixpkgs] @strager opened pull request #59508 → boost: fix 1.55 build on macOS → https://git.io/fjmi8
ggpeti has joined #nixos
<{^_^}> [nixpkgs] @lheckemann pushed 3 commits to release-19.03: https://git.io/fjmiE
<thePirateKing> nvm
ggpeti has quit [Ping timeout: 240 seconds]
fendor_ has quit [Ping timeout: 250 seconds]
zupo has joined #nixos
fusion809 has joined #nixos
mounty has joined #nixos
<emilsp> how would one use znc with letsencrypt certs ?
asymmetric| has joined #nixos
<asymmetric|> can someone help me troubleshoot my wireguard setup?
<asymmetric|> i followed the instructions in the wiki but can't get it to work
<emilsp> asymmetric|: if it's more of a wireguard issue than nixos issue, I might be of some help :)
drakonis_ has joined #nixos
<infinisil> emilsp: i have this set up hold on
<{^_^}> [nixpkgs] @ryantm merged pull request #59496 → ibm-plex: 1.3.0 -> 1.4.1 → https://git.io/fjmK5
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjmiw
mounty has quit [Ping timeout: 252 seconds]
<asymmetric|> emilsp: i'm unsure :)
<asymmetric|> emilsp: here's the config, with nixops: https://github.com/asymmetric/cyberbrain/blob/master/cyberbrain.nix#L18-L32
esmerelda has quit [Ping timeout: 246 seconds]
_Geeko_ has left #nixos [#nixos]
mounty has joined #nixos
tshaynik has joined #nixos
<emilsp> thanks infinisil
<asymmetric|> emilsp: and here's the client config: https://gist.github.com/asymmetric/e711a8ebce0f3cba7dde7ea3d85aa0a9
tomberek has joined #nixos
<asymmetric|> i used to have 0.0.0.0/32 in allowedIPs but since the VPN doesn't work, nothing would go through
<infinisil> emilsp: I think you'll have to copy the files manually for the first run though, my module doesn't handle that
<asymmetric|> is there a way to debug what's going on?
<emilsp> asymmetric|: for 0.0.0.0/32, you'd have to add a route that routes tunnel traffic to your peer, let's have a look at what networking.wireguard actually does.
<asymmetric|> sorry, 0.0.0.0/0 - as explained here https://nixos.wiki/wiki/Wireguard
marusich has joined #nixos
<aanderse> infinisil: can i ping you about a backport for https://github.com/NixOS/nixpkgs/pull/59215?
<{^_^}> #59215 (by volth, 5 days ago, merged): perl: add .withPackages
everybodyHertz has joined #nixos
<emilsp> asymmetric|: both of your configs use the same IP
<{^_^}> [nixpkgs] @veprbl merged pull request #58128 → bicon: init at unstable-2018-08-10 → https://git.io/fjJqq
<{^_^}> [nixpkgs] @veprbl pushed commit from @LinArcX to master « bicon: init at unstable-2018-08-10 (#58128) »: https://git.io/fjmiX
<{^_^}> [nixpkgs] @timokau opened pull request #59509 → [19.03] xonsh: 0.8.3 -> 0.8.12 → https://git.io/fjmiy
<asymmetric|> emilsp: allowedIPs?
mnoronha_ has quit [Ping timeout: 252 seconds]
<emilsp> no, wg0.ips = [ "10.100.0.1/24" ]
<{^_^}> [nixpkgs] @jwiegley pushed to master « browserpass: 3.0.1 -> 3.0.6 »: https://git.io/fjmiS
mnoronha_ has joined #nixos
<emilsp> Are both of the peers using the same keypair?
<asymmetric|> emilsp: sorry, the gist was pointing to the server.nix - plz have a look again
day|flip has quit [Remote host closed the connection]
<emilsp> asymmetric|: you'll also want to specify more than just the peer's IP in the allowedIPs list in the server config
tboston_ has joined #nixos
<emilsp> as it stands now, the client will only be able to send traffic to itself through the tunnel.
<emilsp> yep
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59510 → gecode: 6.1.1 -> 6.2.0 → https://git.io/fjmiQ
<asymmetric|> and what IPs should go there?
<asymmetric|> i followed the nixos wiki, and the arch wiki seems to be similar: https://wiki.archlinux.org/index.php/WireGuard#Specific_use-case:_VPN_server
<emilsp> you should specify the subnets that you want your client to reach through the vpn connection
domogled has joined #nixos
<{^_^}> [nixpkgs] @jonafato opened pull request #59511 → keepassxc: 2.4.0 -> 2.4.1 → https://git.io/fjmid
<emilsp> asymmetric|: if you check man wg, it explains that AllowedIPs is a comma-separated list of IP (v4 or v6) addresses with CIDR masks from which incoming traffic for this peer is allowed and to which outgoing traffic for this peer is directed.
<asymmetric|> so in case i want the server to allow reaching all subnets, i should add 0.0.0.0/0 there?
<emilsp> yes
<emilsp> In both configs
<asymmetric|> but this seems to allow incoming traffic from any host too
<emilsp> What good is a route to an arbitrary IP address if you can't get any traffic back from said IP address ?
<emilsp> This doesn't mean that any host on the specified network will be able to directly reach your peers however.
<asymmetric|> why not? especially if i add it in both configs, and not just on the server
<{^_^}> [nixpkgs] @averelld opened pull request #59512 → Rstudio upgrade → https://git.io/fjmij
<emilsp> This is more of a question for #wireguard/##networking. But could you please elaborate your concern?
<emilsp> Are you afraid that any host on the internet will be able to ssh root@10.100.0.2/32 ?
o1lo01ol1o has quit [Remote host closed the connection]
<asymmetric|> no, but i'm not sure i understand why the client needs to have 0.0.0.0/0
<asymmetric|> doesn't all traffic to the client come from the server?
o1lo01ol1o has joined #nixos
<emilsp> yes, but the tunnel interface will filter out traffic that it isn't supposed to forward before it even escapes your machine.
pereira_alex has joined #nixos
<pereira_alex> hi .... anyone here using roccat keyboard/mouse ?
<asymmetric|> emilsp: where can i go to learn what a "tunnel interface" is?
acarrico has joined #nixos
Ralith has joined #nixos
<emilsp> asymmetric|: in this case it's a network interface through which packets are routed through, much like your ethernet adapter is a network interface.
<emilsp> the wireguard kernel module creates wireguard specific network interfaces and this `AllowedIPs` thing is a feature of it.
slack1256 has joined #nixos
Jonathan_ has quit [Ping timeout: 256 seconds]
<asymmetric|> ok, so if i add 0.0.0.0/0 anywhere, i suppose it should be the only element in the list right?
<asymmetric|> it encompasses all the others
<emilsp> yep.
<asymmetric|> got it. did that and had trouble ssh'ing to the server so gonna figure out what that's about
<asymmetric|> thanks for all your help so far emilsp :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59513 → git-review: 1.27.0 -> 1.28.0 → https://git.io/fjmPL
mnoronha_ has quit [Ping timeout: 246 seconds]
mnoronha_ has joined #nixos
<emilsp> also, the 0.0.0.0/0 should only go in your client's config, I think.
<emilsp> asymmetric|:^
<asymmetric|> ah! :)
<asymmetric|> so the server doesn't need it in order to make all ipv4 addresses available to the client?
<emilsp> I think not.
<{^_^}> [nixpkgs] @basvandijk opened pull request #59514 → elk7: init at 7.0.0 → https://git.io/fjmPs
asymmetric has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<asymmetric|> emilsp: any idea why?
ggpeti has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59515 → glibmm: 2.58.0 -> 2.60.0 → https://git.io/fjmPc
<emilsp> On the server, it's only sending packets to a given peer and reciving packets from a given peer.
asymmetric has quit [Ping timeout: 240 seconds]
<pereira_alex> i am starting on nixos by 4 or 5 hours or so. so far i have managed to make it like i wanted using declarative configuration, configuring plasma and sway desktops. but subtle bugs are preventing me from using it. plasmashell is always crashing when i change from folderview to desktop view and my roccat devices aren't detected on dbus. anyone can help ?
stepcut has joined #nixos
ggpeti has quit [Ping timeout: 252 seconds]
<emilsp> pereira_alex: I've no experience using roccat devices, but what does dmesg say?
<pereira_alex> emilsp: the devices work well , and i managed to configure permissions and everything using declarative ( alot of documentation reading but payed off ). its an roccateventhandler deamon, that should expose some device dbus methods, and it doesnt on nixos
<pereira_alex> dunno why, it does so on gentoo / arch / opensuse
Neo-- has joined #nixos
day|flip has joined #nixos
fusion809 has quit [Remote host closed the connection]
wolfman154 has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
fusion809 has joined #nixos
pereira_alex has quit [Quit: Konversation terminated!]
sindrip has quit [Ping timeout: 252 seconds]
stepcut has quit [Ping timeout: 250 seconds]
pereira_alex has joined #nixos
sigmundv has quit [Ping timeout: 264 seconds]
Guest44640 is now known as eliasp
arjen-jonathan has quit [Ping timeout: 264 seconds]
* colemickens has also experiencing crashing Plasma under similar operations.
<colemickens> Unfortunately, my solution was to switch to a window manager, where I could conceivably have a shot at debugging/rebuilding myself :S
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59516 → gmsh: 4.2.2 -> 4.2.3 → https://git.io/fjmPo
hlolli__ has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #59144 → samba: 4.7.10 -> 4.10.2 → https://git.io/fjtGl
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fjmP6
<pereira_alex> everything seems to work under sway, but this roccat keyboard issue will prevent me from using nixos
<{^_^}> [nixpkgs] @ivanbrennan opened pull request #59517 → nixos/less: add configuration assertions → https://git.io/fjmPP
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @xeji merged pull request #59353 → pythonPackages.lektor: 2.3 -> 3.1.3 → https://git.io/fjqjH
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fjmPX
<linarcx> Gyus, if i use nix-shell to initiate a project with some dependencies, and after that call: `nix-collect-garbage`, those dependencies will be delete or not?
vidbina has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @teh opened pull request #59518 → Cvxpy → https://git.io/fjmPy
<colemickens> though this issue is open : https://github.com/NixOS/nix/issues/2208
<{^_^}> nix#2208 (by goodwillcoding, 44 weeks ago, open): nix-shell dependencies can be garbage collected any time now / persistent nix-shell envs
<linarcx> colemickens: Thank you for reply. but i'm not using `nix-instantiate`, instead i'm using direnv. What should i do in this situation?
<{^_^}> [nixpkgs] @xeji merged pull request #59416 → zsh-autosuggestions: 0.5.1 -> 0.5.2 → https://git.io/fjm8j
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « zsh-autosuggestions: 0.5.1 -> 0.5.2 (#59416) »: https://git.io/fjmPQ
<colemickens> Ah, I can't say then. I'm hoping to play with lorri and direnv more this afternoon.
<linarcx> colemickens: Thank you.
<symphorien> pereira_alex: did you use dbus.packages to install the dbus service ?
<symphorien> https://nixos.org/nixos/options.html#dbus.packages << environment.systemPackages only affects your $PATH, not dbus
o1lo01ol1o has joined #nixos
thePirateKing has quit [Remote host closed the connection]
<pereira_alex> symphorien: yes, the dbus itself is working ... it just has the generic methods, missing the ones for my keyboard and mouse
mounty has quit [Ping timeout: 268 seconds]
<pereira_alex> i get no error or anything, this is so weird
<pereira_alex> but checking in gentoo, i have specific dbus methods for my devices, and on nixos i just have the generic ones, like if the devices weren't detected
<symphorien> maybe the package looks for device information in an FHS path like /usr/share ?
<pereira_alex> this makes that, individually, they work properly, but then they don't "talk with each other" , and that is crucial
<pereira_alex> symphorien: i am thinking the same .... maybe some /usr/lib or /usr/share missing
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 opened pull request #59519 → mautrix-telegram: patch away alembic dependency → https://git.io/fjmPx
<symphorien> are some of the packages plugins of each other ?
linarcx has quit [Ping timeout: 240 seconds]
<symphorien> the main package might be looking for its plugins in $out/share/... where the plugins are not ?
<pereira_alex> plugins ? hum, think not ... the only dependency is libgaminggear i think
<symphorien> ah I thought about that because of the "talk to each other" thing
<pereira_alex> maybe , is there a way for me to create the "default /usr paths" for this package ?
ddellacosta has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
<symphorien> for several ones talking to each other inside a dbus service, not sure
sam_d has quit [Quit: Bye]
sam_d has joined #nixos
<symphorien> you should first locate the problematic path, and then patch it away in the source
<symphorien> which is easier said than done
sindrip has joined #nixos
<pereira_alex> yeah , if some error message or so , but nothing
<symphorien> maybe run one in strace -fe trace=file -s 100000 | grep '"/usr'
ng0 has quit [Quit: Alexa, when is the end of world?]
raoul has joined #nixos
winem_ has quit [Ping timeout: 252 seconds]
winem__ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #59520 → nixos/deepin-daemon: init → https://git.io/fjmPj
thePirateKing has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #59396 → postgresqlPackages.pg_cron: 1.1.3 -> 1.1.4 → https://git.io/fjmZa
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « postgresqlPackages.pg_cron: 1.1.3 -> 1.1.4 (#59396) »: https://git.io/fjmXf
<{^_^}> [nixpkgs] @xeji merged pull request #59399 → xidlehook: 0.6.2 -> 0.7.0 → https://git.io/fjmZA
<{^_^}> [nixpkgs] @xeji pushed commit from @jD91mZM2 to master « xidlehook: 0.6.2 -> 0.7.0 (#59399) »: https://git.io/fjmXU
<pereira_alex> symphorien: checking it
slack1256 has quit [Ping timeout: 255 seconds]
polman has joined #nixos
<pereira_alex> well , lots of error ...
ee1943 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji merged pull request #59489 → facter: 3.13.0 -> 3.13.1 → https://git.io/fjmoD
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « facter: 3.13.0 -> 3.13.1 (#59489) »: https://git.io/fjmXI
ee1943 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #59483 → eaglemode: 0.94.0 -> 0.94.1 → https://git.io/fjmrm
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « eaglemode: 0.94.0 -> 0.94.1 (#59483) »: https://git.io/fjmXt
<{^_^}> [nixpkgs] @xeji merged pull request #59495 → flatcc: 0.5.2 -> 0.5.3 → https://git.io/fjmKi
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « flatcc: 0.5.2 -> 0.5.3 (#59495) »: https://git.io/fjmXq
mnoronha_ has quit [Ping timeout: 252 seconds]
Ariakenom has joined #nixos
mnoronha_ has joined #nixos
<pereira_alex> symphorien: seems the only thing it looks in /usr is locale.alias
<pereira_alex> so i am really clueless why it doesn't work
<symphorien> did you also add the udev rules ?
<symphorien> is there a 'roccat' group on the system ?
<pereira_alex> yes yes
<pereira_alex> even the config gui works ( although it complains of the missing dbus methods on the terminal )
<symphorien> you added them with services.udev.packages ?
<symphorien> so does the dbus thing work or not work ?
<pereira_alex> used services.udev.extraRules
<pereira_alex> symphorien: it works with the "normal methods" ( introspect and properties ) but its missing my devices methods
<symphorien> you can just use services.udev.packages = [ roccat-tools ] if I understand correctly
<{^_^}> [nixpkgs] @timokau merged pull request #59509 → [19.03] xonsh: 0.8.3 -> 0.8.12 → https://git.io/fjmiy
<{^_^}> [nixpkgs] @timokau pushed to release-19.03 « xonsh: 0.8.3 -> 0.8.12 (#58824) (#59509) »: https://git.io/fjmXZ
<symphorien> hum which package contains the dbus service ?
<symphorien> there is none in roccat tools ?
<pereira_alex> roccat-tools
o1lo01ol1o has quit [Remote host closed the connection]
<symphorien> there is not dbus subdirectory in /nix/store/rf7z216vdqbr4n70n3b1jajjp5dnvkgl-roccat-tools-5.7.0
<pereira_alex> symphorien: but the udev rules are not the problem, since they have the proper root:roccat and g+rw permissions
o1lo01ol1o has joined #nixos
kleisli has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59521 → gnucash: 3.4 -> 3.5 → https://git.io/fjmXl
ggpeti has joined #nixos
mounty has joined #nixos
camsbury_ has quit [Remote host closed the connection]
<pereira_alex> nailed it
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<pereira_alex> this: openat(AT_FDCWD, "lib/roccat", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
<pereira_alex> its missing to find the lib/roccat files
<pereira_alex> which , they exist in the nixos store
<pereira_alex> but it doesn't find them
<pereira_alex> now it has all the dbus and they "talking" works
<ggpeti> thank god for strace countless times
<pereira_alex> and gentoo pkg contents file for giving me a clue at what might be missing in that lib/roccat folder
<pereira_alex> :)
<ggpeti> >]
<pereira_alex> yeah !
<pereira_alex> might be it
<symphorien> well, more ${placeholder "out}/lib but you get the idea
sam_d has quit [Ping timeout: 250 seconds]
sam_d has joined #nixos
<pereira_alex> symphorien: thanks for the help, i have some 8 hours of nixos experience, i dunno how to make local packages
<pereira_alex> yet !!!
<symphorien> ah, this part is reasonably easy:
<ggpeti> with the stdenv.mkDerivation function
<symphorien> git clone https://github.com/NixOS
<symphorien> /nixpkgs sorry
<symphorien> cd nixpkgs
<symphorien> nix edit -f . roccat-tools
<symphorien> edit
<symphorien> nix-build . -A roccat-tools
<symphorien> the newly built package is in ./result
<ggpeti> submit PR
Irenes has joined #nixos
<symphorien> to test your whole system with your version of nixpkgs, first determine your current version of nixpkgs with nixos-version, checkout this revision, edit, and then nixos-rebuild -I nixpkgs=/path/to/clone test
<pereira_alex> cloning !!
<pereira_alex> its gonna take a while
mnoronha_ has quit [Ping timeout: 255 seconds]
<symphorien> yes the repo is not small
<pereira_alex> symphorien: is that gonna be user package , or system declarative package ? i have no issues in having user package until fixed upstream
<{^_^}> [nixpkgs] @xeji merged pull request #59486 → marisa: 0.2.4 -> 0.2.5 → https://git.io/fjmrS
<{^_^}> [nixpkgs] @xeji pushed commit from @xrelkd to master « marisa: 0.2.4 -> 0.2.5 (#59486) »: https://git.io/fjmXV
<symphorien> with nix-build, it is neither
<symphorien> you just get the binaries in ./result
<pereira_alex> oh
<pereira_alex> i will have to add a local "channel" ?
<symphorien> to install it in a user profile, run nix-env -i ./result
<symphorien> but this does not work for "system-wide things" like udev rules
<pereira_alex> symphorien: yes, can you please do a pr ? you know what you are doing, and i dont :)
<pereira_alex> symphorien: i don't think that is an issue, the udev rules are ok, its the lib folder that is badly configured and looking for it in the wrong place
<pereira_alex> i think it will do
kleisli has joined #nixos
<symphorien> well given that 1/ you are the only one who can test this 2/ testing is not more complicated than doing a PR I think you could give it a try :)
<symphorien> <pereira_alex> symphorien: i don't think that is an issue, the udev rules are ok, its the lib folder that is badly configured and looking for it in the wrong place << if only the binaries are at fault, then testing as ./result/bin/foo should be enough
<pereira_alex> symphorien: ok , will do ... it will just take a while cloning the repo !
Iyra has joined #nixos
<pereira_alex> really, thanks ! i was getting dishearted on this issue
<Iyra> Hi all, is this the most up to date way for how I can load an entirely new xkb conf? http://stesie.github.io/2018/09/nixos-custom-keyboard-layout-revisited
knupfer has joined #nixos
<infinisil> Iyra: If you need it to be registered in xkb itself, then something like that is probably the best way. There's also #47764, but it's not ready to merge
<{^_^}> https://github.com/NixOS/nixpkgs/pull/47764 (by rnhmjoj, 27 weeks ago, open): nixos/xserver: add option to install custom xkb layouts
<infinisil> If you don't need it to be registered in xkb, then this works too, which is much simpler: https://nixos.wiki/wiki/Keyboard_Layout_Customization#Advanced
ggpeti has quit [Ping timeout: 255 seconds]
ggpeti has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
johnw_ has joined #nixos
growpotkin has joined #nixos
<growpotkin> Hey does anybody know how to "evaluate" a mkMerge in `nix repl` ?
<growpotkin> `mkMerge` just produces an unevaluated structure for me, like a thunk I suppose.
<infinisil> growpotkin: You'll need to call the types merge attribute
<pereira_alex> symphorien: building ... i edited the file by hand, nix edit -f . roccat-tools said it missed arguments
<growpotkin> infinisil: oh is that a function? would you mind giving a contextual example (if it's short, I don't expect you to drop everything to give me a tutorial haha)
<infinisil> > (types.listOf types.int).merge null [{ value = [ 10 ]; } { value = [ 20 ]; }]
<{^_^}> [ <CODE> <CODE> ]
<infinisil> > :p (types.listOf types.int).merge null [{ value = [ 10 ]; } { value = [ 20 ]; }]
<{^_^}> [ 10 20 ]
johnw has quit [Ping timeout: 268 seconds]
<growpotkin> ty
<infinisil> (You might have to change the null there to something more meaningful if you get a weird error)
<growpotkin> Oh and does anybody know how to get it to evaluate strictly when it prints? `[ { ... } { ... } ]` drives me crazy lol
mnoronha_ has joined #nixos
<infinisil> Add :p at the beginning :)
<growpotkin> you're my hero infinisil
<growpotkin> infinisil++
<{^_^}> infinisil's karma got increased to 85
<pereira_alex> ohh this was unexpected: i build the package with normal user and it went into /nix/store ... users can write in /nix/store ? isnt that dangerous ?
<Iyra> infinisil, thanks!
<simpson> pereira_alex: Normal users can build packages, but they do so via the Nix daemon, which acts as a deputy guarding the
<simpson> *guarding the Nix store.
<Irenes> pereira_alex: it's safe-ish because there's nothing privileged about /nix/store... the system config only loads things by their exact hash
<Irenes> which includes the version and options
<Irenes> the user can't fake the hash (unless there's some deep bug violating hermetic builds)
Anton-Latukha has quit [Quit: Leaving.]
<pereira_alex> something is fishy : now its looking for "${out}/lib/roccat"
<pereira_alex> seems ${out} didn't got translated
ixxie has joined #nixos
<pereira_alex> thanks simpson and Irenes
<symphorien> write: "-DLIBDIR=${placeholder "out"}/lib"
<Irenes> sure thing
<symphorien> placeholder "out" will evaluate to the final store path in nix
<symphorien> (whereas $out is a bash variable, so it does not work in cmakeFlags)
<pereira_alex> symphorien: that means that the dev rules are wrong too
<pereira_alex> because its "-DUDEVDIR=\${out}/lib/udev/rules.d"
<symphorien> no there is a \ before
<pereira_alex> i did a \ too !
_kwstas has joined #nixos
<pereira_alex> in fect, if no \ nix build complains right away
<symphorien> ah, I may be mixing with $(out) with make
<symphorien> well you can convert it to placeholder as well then :)
<pereira_alex> symphorien: placeholder worked :)
fenedor has joined #nixos
<pereira_alex> symphorien: btw , why aren't the " breaking ? why not needed \"out\" ?
<symphorien> because ${ } denotes interpolation: inside the braces is valid nix code, without the need for escaping
<symphorien> > placeholder "out"
<{^_^}> "/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9"
<symphorien> > "a string ${placeholder "out"} end"
<{^_^}> "a string /1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9 end"
o1lo01ol1o has joined #nixos
<pereira_alex> ok , thanks guys :) working !
<pereira_alex> will do the PR with the two changes
<symphorien> thanks!
<pereira_alex> symphorien: can you guide me a little as to how make this "system default" and also remove all my other roccat-tools ?
<pereira_alex> so it seems my nixos-version is Koi
<symphorien> nix-collect-garbage will remove the spurious roccat-tools
fendor has quit [Ping timeout: 268 seconds]
<symphorien> to install your fixed version: the not-so-clean but easy solution is nix-env -i ./result
o1lo01ol1o has quit [Remote host closed the connection]
<symphorien> when the patch reaches your channel (by default, this will only happen to nixos-unstable, not 19.03) you can remove the manual package with nix-env -e.
<pereira_alex> yep, nix-env worked
<mnoronha_> Any likely reasons why my computer might periodically (but not always) become unreachable on my network? I didn't encounter this before installing nixos
o1lo01ol1o has joined #nixos
<pereira_alex> symphorien: is there a "rolling release" nixos ? unstable ?
marusich has quit [Remote host closed the connection]
<pereira_alex> is it unstable ?
<symphorien> it is a rolling release, and it is not so unstable
Ariakenom has quit [Quit: Leaving]
<symphorien> some package might not build for a week, sometimes
<symphorien> and update are (unintuitively) less frequent
<symphorien> (which includes security updates)
<{^_^}> [nixpkgs] @joachifm merged pull request #56418 → Unbound: 1.8.3 -> 1.9.0 → https://git.io/fhNOl
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjm1t
<pereira_alex> yeah , i notice 19.03 is earlier and has some newer versions than unstable
<symphorien> but apart from that is works well
<MichaelRaskin> It is realistic to run from a master branch checkout even…
<MichaelRaskin> Rollbacks and version mix-and-match help.
<pereira_alex> so, do you guys just use unstable ?
<adisbladis> pereira_alex: Presumably master has those new versions and unstable is lagging behind
<adisbladis> pereira_alex: Personally I use a git checkout and run from master. I would not recommend this without a fair bit of experience.
<pereira_alex> but does master has "binaries" ? or it will be like a gentoo , compiling from source ?
<adisbladis> pereira_alex: You have more cache misses off master
<adisbladis> So you end up building more, though nowhere near a gentoo system
o1lo01ol1o has quit [Ping timeout: 255 seconds]
<MichaelRaskin> I use master branch
<adisbladis> (except nix requires you to rebuild packages under more circumstanses than gentoo, so what I just said is not _entirely_ true)
<MichaelRaskin> Most of the time I get most of the stuff form binary cache
<symphorien> pereira_alex: the channels test that essential things like grub and so on still work, contrary to master
<emilsp> so, erm, how long does gcc take to get built on a fairly recent intel laptop grade quad core? I think it's a 35w or a 28w part.
<symphorien> this is the reason for the lag, but is a nice guarantee
<mnoronha_> Maybe this is some sort of power-saving setting? It's never unreachable/disconnected when being physically used
<infinisil> I think nixos-unstable + adding the packages you want from master manually is the best combination
<infinisil> Fortunately Nix makes this very easy
<pereira_alex> ok , i think i will finish building up my system, if everything ok the go to unstable ... not even 12h on nixos, no need for such edginess
<adisbladis> pereira_alex: Also you can mix & match a bit and run most of your system off stable
<pereira_alex> :P
<pereira_alex> adisbladis: that is cool :)
wucke13 has quit [Quit: WeeChat 2.4]
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<pereira_alex> guys , thanks alot for all the help... if possible, just another little help , and at least I can work in nixos: I need wine for an app for work. dunno why, but even if I set WINEARCH=win64, its always a win32 instalation
random_yanek has quit [Quit: random_yanek]
<pereira_alex> infinisil: i might do that, i have 17 years of gentoo :) as longs as I don't have to compile chromium llvm webkits , its all ok !
hlolli has joined #nixos
Melkor333 has joined #nixos
random_yanek has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59522 → gtkwave: 3.3.99 -> 3.3.100 → https://git.io/fjm1n
sam_d has quit [Ping timeout: 250 seconds]
sam_d has joined #nixos
<MichaelRaskin> Did you pereira_alex: maybe wineWowPackages.stable?
<Melkor333> I would like to do `imports = [ ./hardware/${networking.hostName}.nix ];` but I only get the error `error: path './hardware/' has a trailing slash`. Is there a way to have a variable in a path?
<MichaelRaskin> I think you can do (./hardware + "/" + networking.hostName + ".nix")
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59523 → guake: 3.4.0 -> 3.5.0 → https://git.io/fjm1C
<MichaelRaskin> I think you can even import strings, though
<infinisil> Melkor333: While you can do what MichaelRaskin suggests, it will give you infinite recursion
Iyra has quit [Read error: Connection reset by peer]
<infinisil> imports can't depend on the config
<Melkor333> infinisil: oh, why that?
<Melkor333> So there is no way to do this?
<arianvp> Is anybody else also running into this issue on 19.03?
<{^_^}> nix#2646 (by mpickering, 11 weeks ago, closed): Regression: error: restoring parent mount namespace: Invalid argument
<infinisil> Melkor333: You could either use different configuration.nix's for each host, where on each you import the files you need for that host
<arianvp> 'nix run' just doesn't work anymore
<arianvp> I can reproduce it on two machines so far
<tilpner> Yes, but it's only root, right?
<arianvp> yeh as root
<tilpner> I just accepted that for now and use the full paths instead
<infinisil> Melkor333: Or you could make a module that only modifies the config when the hostName equals something special
<tilpner> Or do the nix-shell before sudo
<pereira_alex> symphorien: did pull request, but stupidly was a pull request against myself
<infinisil> Melkor333: E.g. have some-host-name.nix contain `{ lib, config, ... }: lib.mkIf (config.networking.hostName == "some-host-name") { <the configuration> }`
_kwstas has quit [Quit: _kwstas]
tboston_ has quit [Ping timeout: 264 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Melkor333> infinisil: oh okay, yes that second option sounds reasonable, I guess the module option is the right way :)
<{^_^}> [nixpkgs] @alexjp opened pull request #59524 → roccat-tools fix wrong -DLIBDIR → https://git.io/fjm18
<arianvp> tilpner:yeh i dont have that luxury. only root account on these boxes
<infinisil> Melkor333: That *should* work, but I haven't tested it. Maybe you need to wrap it into a `{ lib, config, ... }: { config = mkIf ...; }`
<arianvp> ?/
<arianvp> :/
mnoronha_ has quit [Ping timeout: 252 seconds]
<pereira_alex> symphorien: https://github.com/NixOS/nixpkgs/pull/59524 ... i hope its done properly :P
<{^_^}> #59524 (by alexjp, 24 seconds ago, open): roccat-tools fix wrong -DLIBDIR
<Melkor333> infinisil: I will play around with that, thank you!
<infinisil> :)
domogled has quit [Ping timeout: 255 seconds]
<emilsp> is there a way to browse unstable packages?
<emilsp> I want to know if there's already a prebuilt bintuils 2.32
<tilpner> arianvp: What do you need it for? Can you temporarily install the packages globally?
<pereira_alex> MichaelRaskin: sorry, was doing the pull request for roccat-tools, i have normal wine ... Wow is world of warcraft ?
<MichaelRaskin> Windows-on-Windows
<pereira_alex> ohhhhhhhhhhhhhh
<MichaelRaskin> Which is actually about 32+64 coexistence
<MichaelRaskin> Which is not at all misleading when applied to Wine but oh well
<MichaelRaskin> It has wine64
<arianvp> tilpner: I have many scripts that rely on `nix-shell -p` working in production and those don't work now
linarcx has joined #nixos
<pereira_alex> MichaelRaskin: i saw that, and though wow ... nixos has a special wine version for playing world of warcraft ! :)
<arianvp> I need to roll back to 18.09 I guess. this being broken is quite a dealbreaker :(
<arianvp> at least that's easy with NixOS :D
<arianvp> but I think we should do a hotfix release for this. IMO
<emilsp> infinisil: nope, just 2.31.1. I guess I'll rebuild all the things :/
alexozer has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @veprbl pushed to revert-59000-gettext-security-update-18.09 « Revert "gettext: apply patch for CVE 2018-18751 (backport 18.09)" »: https://git.io/fjm10
<tilpner> arianvp: You could just try Nix master (what could go wrong!)
<infinisil> emilsp: Is the PR that updated it merged?
<arianvp> I'll poke people if we can get a nix 2.2.2 release and get that on the 19.03 channel
<infinisil> tilpner: bootloader *could* go wrong!
<pereira_alex> MichaelRaskin: sorry for what must be lame question, but why this doesn't work ? : nix-env -i nixos-unstable.wineWowPackages.staging
<adisbladis> arianvp: I'm also seeing that (master, nix 2.2)
<emilsp> How would I go about creating an overlay that replaces the nixos binnutils with a binutils that I've built myself? would it just be a regular overlay that imports my deriviation of bintuils and does the self.binutils = binutils?
<arianvp> i guess there will be more people running into this regression during migration :P
<MichaelRaskin> pereira_alex: -iA
<emilsp> infinisil: the PR for binutils? No clue, but afaik, 2.31.1 is the latest thing on 19.03
<{^_^}> [nixpkgs] @veprbl opened pull request #59525 → Revert "gettext: apply patch for CVE 2018-18751 (backport 18.09)" → https://git.io/fjm1z
<MichaelRaskin> -i without -A is a mess, in my opinion
<tilpner> infinisil: Well, production is broken either way, it can only get better from here! /s
wolfman154 has joined #nixos
<pereira_alex> MichaelRaskin: thanks ! being a newbie on something sucks !
johnw_ is now known as johnw
<adisbladis> arianvp: Go ahead an reopen imho
<adisbladis> That bug alone should warrant a new nix release
<arianvp> I can't I don't have permissions to reopen :P
fenedor has quit [Read error: Connection reset by peer]
ixxie has quit [Ping timeout: 240 seconds]
<tilpner> arianvp is already asking for re-opening and a release in that sisue
<infinisil> arianvp: You could also just override your nix with the (revert-)fix
<Melkor333> Another question: Is it possible to create a module which changes NixOs default options? bad example: the module changes the option "boot.devSize" to 10% (default is 5%), but I can still specify a custom "boot.devSize" in my configuration without having to disable the module?
<adisbladis> For some reason my brain registered that the issue was in nixpkgs, not in nix
<adisbladis> Time to sleep methinks
<adisbladis> \o
<arianvp> infinisil: I instead forced nix back to 2.1
<arianvp> because I dont have the patience to rebuild it :P
<infinisil> Ah or that :)
ixxie has joined #nixos
<infinisil> Glad this stuff is possible with nix
<arianvp> yes. jeesh I get nightmares from my last ubuntu 14.04 - 16.04 migration still
<arianvp> and here I am "meh i'll just rollback just this component"
<arianvp> and it just works
<aanderse> arianvp: i had to upgrade a debian 7 box running an ancient gitlab version to debian 9 with most recent gitlab friday night... i feel your pain ;-)
<pereira_alex> Melkor333: don't go by me, but i think you can use: pkgs.lib.mkOverride before the new setting
<pereira_alex> Melkor333: maybe lib.mkOverride
Neo-- has quit [Ping timeout: 250 seconds]
<arianvp> ohwell. off to be.d
<arianvp> hope we can get this fixed this week. but I expect we can
<arianvp> =)
<Melkor333> pereira_alex: Thank you, will check that lateron :)
<arianvp> thanks for the help
<pereira_alex> MichaelRaskin: thanks , wine wow worked !
asymmetric| has quit [Ping timeout: 250 seconds]
ixxie has quit [Ping timeout: 250 seconds]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #59474 → darktable: 2.6.1 -> 2.6.2 → https://git.io/fjmVj
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjm1V
<infinisil> Melkor333: You don't need to do anything special, any value in your own configuration overwrites the default
<thePirateKing> Hey are y'all having trouble building nvidia with the latest kernel?
<thePirateKing> Is there a work around or just stick to 4.19
stepcut has joined #nixos
mounty has quit [Ping timeout: 246 seconds]
<infinisil> thePirateKing: Yeah, me and Unode are having the same problem
Makaveli7 has quit [Quit: WeeChat 2.4]
<infinisil> I haven't seen an issue being opened for this though
knupfer has quit [Ping timeout: 264 seconds]
<thePirateKing> ok glad it is not just me
<thePirateKing> I think thats probably bc if you dont specify kernel it automatically builds to kernel 4.19
wfranzini has quit [Remote host closed the connection]
<thePirateKing> I will open an issue where do I put it? Also relatively new
wfranzini has joined #nixos
<infinisil> thePirateKing: https://github.com/NixOS/nixpkgs/issues
mnoronha_ has joined #nixos
<{^_^}> [nixpkgs] @astro opened pull request #59527 → torcs: add musicplayer.patch → https://git.io/fjm1i
growpotkin has quit [Remote host closed the connection]
<mnoronha_> Are there any standard approaches to dotfile management, or should I just do what I've been doing on other unix os's?
<colemickens> mnoronha_: some people use home-manager by rycee
<colemickens> I just use Stow because I'm reluctant to make my setup too NixOS specific.
<mnoronha_> Yea, was just looking at that
<mnoronha_> Shouldn't it be possible (in theory) to have scripts that translate between the two?
ixxie has quit [Ping timeout: 255 seconds]
dnlkrgr has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59528 → guitarix: 0.37.3 -> 0.38.1 → https://git.io/fjm1M
<Melkor333> infinisil: for the first question: I now get "The error "Module `/etc/nixos/configuration.nix' has an unsupported attribute `boot'. This is caused by assignments to the top-level attributes `config' or `options'." IF I have the "config = lib.mkIf...." in my configuration.nix.
AleXoundOS_ has joined #nixos
<Melkor333> If I have in another file which I import, I get: "The option `config' defined in `/etc/nixos/default-config.nix' does not exist."
tboston_ has joined #nixos
winem__ has quit [Ping timeout: 250 seconds]
<colemickens> mnoronha_: I guess after thinking about it, yeah.
linarcx has quit [Quit: WeeChat 2.4]
<colemickens> But I think home-manager can do things like run certain things as user systemd services, etc.
<{^_^}> #59529 (by josephsdavid, 23 seconds ago, open): Nvidia driver fails to build on linux kernels greater than 4.19
<colemickens> Things like that, are where I'd start to worry about overall diverging too much on setup between NixOS and non-NixOS machines.
<mnoronha_> Yep, I'm gonna stick with my current dotfile management, since the majority of systems I use aren't running NixOs
<thePirateKing> mnoronha_, you could look into home-manager if you havent
<thePirateKing> how i manage about half of my dotfiles
<thePirateKing> like configuration for vim etc
<mnoronha_> thePirateKing: Yep, that's what I was just looking at/discussing. Just to make sure i'm understanding, I'd end up encoding like my vim config in nix files if I used it, right?
<thePirateKing> yeah let me share mine
<thePirateKing> you can also install nix on any OS and still use home-manager :)
ixxie has joined #nixos
tboston_ has quit [Ping timeout: 264 seconds]
<thePirateKing> so you can actually reproduce your nix setup
pereira_alex has quit [Quit: Konversation terminated!]
random_yanek has quit [Quit: random_yanek]
<{^_^}> [nixpkgs] @veprbl merged pull request #59420 → guitarix: 0.37.3 ->0.38.1 → https://git.io/fjmBg
<{^_^}> [nixpkgs] @veprbl pushed commit from @magnetophon to master « guitarix: 0.37.3 ->0.38.1 (#59420) »: https://git.io/fjm15
<{^_^}> [nixpkgs] @veprbl closed pull request #59528 → guitarix: 0.37.3 -> 0.38.1 → https://git.io/fjm1M
<{^_^}> [nixpkgs] @romildo opened pull request #59530 → enlightenment.terminology: 1.3.2 -> 1.4.0 → https://git.io/fjm1d
ggpeti has quit [Ping timeout: 255 seconds]
random_yanek has joined #nixos
slack1256 has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59531 → gzdoom: 3.7.2 -> 4.0.0 → https://git.io/fjm1x
stepcut_ has joined #nixos
stepcut has quit [Read error: Connection reset by peer]
m0rphism has quit [Ping timeout: 246 seconds]
slack1256 has quit [Remote host closed the connection]
<mabel> question: how is it that I can do environment.etc."foo".enable = true; without "foo" ever being explicitly declared in etc?
slack1256 has joined #nixos
<mabel> if I try to do etc = {} in nix repl, then etc."abc".enable = true; it does not parse
<gchristensen> > { foo.bar.baz = "hi"; }
<{^_^}> { foo = <CODE>; }
<gchristensen> > :P { foo.bar.baz = "hi"; }
<{^_^}> Unknown command: P
<gchristensen> > :p { foo.bar.baz = "hi"; }
<{^_^}> { foo = { bar = { baz = "hi"; }; }; }
<gchristensen> mabel: ^ :)
<mabel> <pikachu saying "oh!">.jpg
<gchristensen> =)
stepcut_ has quit [Remote host closed the connection]
savolla has joined #nixos
sigmundv has joined #nixos
<emilsp> is there a way I can get the log of a build that failed ? The last 10 lines aren't always necessarily helpful.
burne251 has joined #nixos
<mnoronha_> `sudo vim` doesn't source my vim config, while `vim` doesn't just fine. Is this because `sudo vim` relies on whatever config is defined/implicit for the root account?
<gchristensen> emilsp: which build?
<emilsp> nix build -f . $package
<gchristensen> nix-build . -A $package
<AleXoundOS_> Hi. I try to accomplish one thing for a long time without much success. Please, help me.
<AleXoundOS_> I try to copy binary cache from cache.nixos.org for the whole 19.03 channel in order to serve it in LAN without internet. For x86_64 cache I use the following command:
<AleXoundOS_> nix copy --from https://cache.nixos.org --to file:///19.03/cache $(curl -L https://nixos.org/channels/nixos-19.03/store-paths.xz | xz -d)
<AleXoundOS_> v
<AleXoundOS_> First of all, is it the right way?
<thePirateKing> mnoronha_, is your vim config a .vimrc or in a .nix file? With home-manager/user defined vim sudo vim follows the rules
<mnoronha_> thePirateKing: just a `vimrc` :P
<burne251> Not personally a nixos user but use linux as my daily driver, trying to help a friend get NixOS set up on his laptop. Get it most of the way set up, however upon login on sddm, keyboard and mouse no longer seem to work. Oddly enough, had it working earlier, but had to reinstall due to a non NixOS related issue. It works on the live iso image, anyone by chance have an idea? I scanned google pretty well but couldn't figure it
__monty__ has quit [Quit: leaving]
<thePirateKing> burne251, does he have services.xserver.libinput.enable = true; in configuration.nix?
<thePirateKing> that could be it
sigmundv__ has joined #nixos
<burne251> Yes, also tried swapping it out for synaptics to no avail :/
<AleXoundOS_> burne251, I would check Xorg logs for warnings and other info
<ixxie> hmm
<ixxie> mysterious build fail https://pastebin.com/xHkRNwYB
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59532 → haproxy: 1.9.3 -> 1.9.6 → https://git.io/fjmML
<ixxie> is there a way to trace the sloc root of that branch that breaks the build, so to speak?
<burne251> alright, keyboard isn't working so I'll have to check via live usb
sigmundv has quit [Ping timeout: 268 seconds]
sigmundv has joined #nixos
thePirateKing has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59533 → harfbuzz: 2.3.1 -> 2.4.0 → https://git.io/fjmMq
pereira_alex has joined #nixos
goibhniu has quit [Ping timeout: 246 seconds]
<hodapp> ye gods, why is tesseract 4 so large o_O
savolla has quit [Quit: WeeChat 2.4]
<Yaniel> it's not even the right tesseract :D
ggpeti has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59534 → hepmc3: 3.1.0 -> 3.1.1 → https://git.io/fjmMG
<hodapp> Yaniel: ...was that a Loki joke or an actual comment on v3 vs. v4?
growpotkin has joined #nixos
<Yaniel> which I actually checked if it's on nixpkgs earlier today :D
<gchristensen> FYI I broke ofborg. looking in to it.
<{^_^}> [nixpkgs] @hedning merged pull request #59419 → Gnome 3.32.1 → https://git.io/fjmBJ
<{^_^}> [nixpkgs] @hedning pushed 28 commits to master: https://git.io/fjmMZ
<hodapp> Yaniel: ooh!
stepcut has joined #nixos
ggpeti has quit [Ping timeout: 252 seconds]
tboston_ has joined #nixos
growpotkin has quit [Quit: growpotkin]
growpotkin has joined #nixos
growpotkin has quit [Remote host closed the connection]
growpotkin has joined #nixos
pie__ has quit [Ping timeout: 264 seconds]
Melkor333 has quit [Quit: WeeChat 2.4]
tboston_ has quit [Ping timeout: 252 seconds]
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
growpotkin has quit [Remote host closed the connection]
iyzsong has quit [Ping timeout: 250 seconds]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #59535 → treewide: update homepages to https where available → https://git.io/fjmM0
<tomberek> It's hard to keep up with r-ryantm....
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59536 → homebank: 5.2.3 -> 5.2.4 → https://git.io/fjmMV
pxc has joined #nixos
lunik18 has quit [Ping timeout: 252 seconds]
lunik18 has joined #nixos
kvda has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
sellout- has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @veprbl opened pull request #59537 → texlive: add missing perl dependencies for latexindent → https://git.io/fjmM1
ixxie has quit [Ping timeout: 264 seconds]
mbrgm_ has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
jluttine has quit [Ping timeout: 252 seconds]
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
vidbina has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59538 → hugin: 2018.0.0 -> 2019.0.0 → https://git.io/fjmMM
jluttine has joined #nixos
slack1256 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59539 → http-parser: 2.9.0 -> 2.9.1 → https://git.io/fjmM5
mnoronha_ has quit [Ping timeout: 246 seconds]
silver has quit [Quit: rakede]