andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<immae> ( cole-h: the main case that made me realize that was setting `systemd.services.some-service.serviceConfig.WorkingDirectory = ./foo` which created a service file containing the string /full/path/to/foo instead of /nix/store/...-content-of-foo as I expected, so if you want an example that is one of them)
<noonien> is there any reason this nix derivation http://ix.io/2cwT fails with `path is not valid` ?
cosimone has quit [Ping timeout: 240 seconds]
<cole-h> immae: Thanks -- I was using `${./foo}` which did add it to the store, where I wanted just `./foo`.
<cole-h> <3 immae
<{^_^}> immae's karma got increased to 8
<immae> cole-h: ha ha you had exactly the case opposite to mine then :D
justanotheruser has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @leigh-perry closed pull request #80692 → google-cloud-sdk: 268.0.0 -> 281.0.0 → https://git.io/JvRci
<immae> noonien: the main reason I see is that you have this outputHash which is necessarily incorrect?
<noonien> it is, yes, i'm expecting it to fail with a wrong hash, so i can input it
tokudan has joined #nixos
<immae> I would expect it too actually but it seems like it doesn’t there...
<immae> (If I replace the output* keys by `__noChroot = true` then it works fine)
<noonien> i don't think the hashing is the problem, somehow the path is not valid
<noonien> hmm
tokudan has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80835 → [20.03] release-combined: readd keymap tests (again) → https://git.io/Jv0Rh
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jv0j9
<noonien> that's weird
<noonien> how can i make it a fixed output derivation then?
<clever> immae: `systemd.services.some-service.serviceConfig.WorkingDirectory = toString ./foo` would set it to just /path/to/foo, without copying anything
vidbina has joined #nixos
tokudan has joined #nixos
<clever> immae: assuming systemd isnt messing things up by calling its own toString on things
<clever> (the systemd modules in nixos)
<immae> clever: yes and so does ./foo actually, but that’s not what I wanted at that time :)
<clever> ahh, the module is likely doing toString for you
<clever> then "${./foo}"
<clever> yeah
<immae> yes :)
<immae> noonien: I have no clue
<immae> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<immae> Hmm
<evanjs> or lib.fakeSha256 haha
<noonien> oh, nice, til about fakeSha256
<clever> noonien: you can also `52i0<escape>` in vim
<cole-h> `52a0` is my best friend
<noonien> `$ nix --version` => `nix (Nix) 2.3.2` btw
<noonien> i always forget how many 0s there are
<clever> noonien: a deck of cards
karetsu has joined #nixos
<cole-h> That's a real... clever way of remembering that
<cole-h> :D
<noonien> :D
<noonien> that still didn't solve the error though :(
<clever> noonien: what is the error?
<clever> noonien: are you setting all 3 output fields?
<noonien> i'll paste again: is there any reason this nix derivation http://ix.io/2cwT fails with path is not valid?
* clever looks
<cole-h> Don't you have to `mkdir $out`? Or is that unnecessary in this case
<noonien> ls -ld $out shows it as a directory, (under my user though)
<noonien> and ls -l $out shows its content
bhipple has quit [Remote host closed the connection]
<noonien> i've modified the derivation, i no longer use buildCommand, but installPhase, same thing happens
<clever> i would use runCommand and toFile
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<noonien> does runCommand have a fixup phase?
<{^_^}> [nixpkgs] @leigh-perry opened pull request #80923 → google-cloud-sdk: 268.0.0 -> 281.0.0 → https://git.io/Jv0jp
<clever> noonien: runCommand and buildCommand both skip all phases
<clever> but the bash function fixupPhase still exists, and can be ran manually
<noonien> oh, nice
<noonien> where would i use toFile in this case?
<clever> 8 src = builtins.toFile "requirements.txt" ''
<noonien> i'm actually importing requirements.txt from a path, just put it there as an example
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/972678ec748 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> ah
pjan has quit [Remote host closed the connection]
<noonien> still, same error: `error: path '/nix/store/9cwxpw6391xfy334b4aivril1qrxgs1l-spanky-deps' is not valid` http://ix.io/2cwZ
<noonien> does it work for you?
<clever> same on this end, looking into why
<noonien> `drwxr-xr-x 3 george users 3 Feb 24 00:27 /nix/store/9cwxpw6391xfy334b4aivril1qrxgs1l-spanky-deps`
<noonien> is the user/date ok?
<clever> noonien: it works if i replace python with `mkdir $out`
<clever> and nix nukes all user/date stuff before testing it
<noonien> i thought perhaps $out might contain some symlinks to weird places, or somethig, but it doesn't appear to be the case
<clever> found reference to '9cwxpw6391xfy334b4aivril1qrxgs1l' at offset '75'
<clever> noonien: oh, fixed-output things must have zero dependencies
turona has quit [Ping timeout: 272 seconds]
turona has joined #nixos
<noonien> TIL, would have been nice to have a nicer error ^_^
<clever> noonien: i think $out appears within $out itself, which counts as a dependency
<evanjs> immae: tried with builtins.fetchGit and "${nixos-hardware}/common/pc/laptop" in imports, still the same error post gc. No inf recursion, though
<clever> and your sha256, depends on your sha256
<clever> noonien: yeah, i would call this a bug in nix
<v0|d> clever: hi, is there a way to run displayManager in a sep. namespace?
<clever> v0|d: ive not tried it
<v0|d> clever: do you think doing it makes sense?
<clever> v0|d: i could see it maybe causing problems with Xorg getting graphics, and just having access to all of your normal files/tools, depending on what namespace you wind up in
<immae> evanjs: ah :(
<clever> Binary file /nix/store/9cwxpw6391xfy334b4aivril1qrxgs1l-spanky-deps/lib/python3.5/site-packages/pathtools/__pycache__/path.cpython-35.pyc matches
<clever> noonien: that is the result of `grep -r $out $out`
<v0|d> clever: see. I imagine netns, two nics, just want to disable one.
<noonien> yes, ijust ran that myself
<noonien> is that not normal, though?
<clever> noonien: https://gist.github.com/2a5783b96499293ae4b6f3b0468d97ee is my version of the expr
<clever> noonien: you must do the fetch and pre-compile in seperate derivations
mbrgm_ has joined #nixos
<immae> evanjs: just in case, did you see that the readme of the nixo-hardware repo suggests defining a NIX_PATH and then using <nixos-hardware/...> as import?
<clever> noonien: you are claiming that this derivation will produce the same output, always, but if you run it on darwin, it will create dylib's instead of .so files, and the python version also matters
<noonien> i see, i'll try that. pip is giving me headaches
<immae> (evanjs: I know it should be equivalent to what you wrote, but maybe I’ll have better understanding tomorrow...)
<noonien> python is such a hassle
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
karetsu has quit [Quit: WeeChat 2.6]
aaa_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @edolstra pushed 4 commits to eval-optimisations: https://git.io/JvEeO
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80924 → mnemosyne: 2.7 -> 2.7.1 → https://git.io/JvEes
c0ffee152 has joined #nixos
b has quit [Ping timeout: 258 seconds]
erictapen has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos
erictapen has joined #nixos
butterthebuddha has joined #nixos
<noonien> is it possible to have a nix-shell without gcc?
<{^_^}> [nixpkgs] @romildo opened pull request #80925 → mate-themes: 3.22.20 -> 3.22.21 → https://git.io/JvEeH
erictapen has quit [Ping timeout: 258 seconds]
<v0|d> noonien: see stdenvNoCC
<samueldr> nix-shell '<nixpkgs>' -A stdenvNoCC
<samueldr> since -p stdenvNoCC would add to the built-in packages list
<samueldr> well, what I said is wrongly worded, but I think with the link it's clear enough?
<noonien> thanks, i went with runCommandNoCC
<noonien> i just hoped there was a an easy way with nix-shell, i went with: `nix-shell -E 'with import <nixpkgs> { }; runCommandNoCC "dummy" { buildInputs = [ python38Packages.pip ]; } ""'`
<v0|d> samueldr: any chance you are the maintainer of nixos/security/pam.nix?
<samueldr> sorry, no
<v0|d> .k
<samueldr> though, while I am not, what is the issue? (if security related, I can give you the security contact rather than spilling here)
<samueldr> (I mean, if it's a security problem in nixos, we have a process for it)
<v0|d> samueldr: have a feature req
<v0|d> samueldr: need customization on rounds of hashing
<v0|d> samueldr: do not want to use the defaults.
<v0|d> its just an integer.
<v0|d> via alternate rounds, its possible to defeat rainbows.
<v0|d> to some extend, of course.
<v0|d> samueldr: see for instance this one https://redmine.tails.boum.org/code/issues/15053
<v0|d> there is parameter called rounds=10000.
<v0|d> pretty straight-forward.
energizer` has joined #nixos
drakonis has joined #nixos
tomberek has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #80901 → skim: 0.7.0 -> 0.8.0 → https://git.io/Jv0HP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvEvZ
drakonis has quit [Ping timeout: 255 seconds]
<tomberek> is it possible to run two instances of nix-daemon. (potentially an instances with additional env vars used along with impureEnvVars). I did an initial test with NIX_STATE_DIR, but it was not isolated enough and cause some damage to my overall system. Has anyone run multiple nix-daemons?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvEvc
<AmandaC> That sounds like an XY Problem, tomberek. What are you trying to solve by running two nix-daemons?
butterthebuddha has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<tomberek> AmandaC: Yup, it is an XY. I'm trying to define some derivations that transform some data in S3. So i need to give the derivation some credentials for aws. I've tried a few methods, but it seems env vars would be the best. It work well on single-user installs, but NixOS or multi-user needs to have a modified daemon. So i got curious if i can keep the existing daemon and run an "enhanced" daemon on another
<tomberek> socket that has the required creds.
<tomberek> (i'm also trying to learn more about the daemon system because i want to build a daemon that performs work asynchronously form a queue.)
<tomberek> (i'm also trying to learn more about the daemon system because i want to build a daemon that performs work asynchronously from a queue.)
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<leungbk> I've been trying to add an Emacs package to the Nixpkgs repo but can't get my NixOS installation to notice it. Would anyone mind help diagnosing this? http://paste.debian.net/1131818/
b has joined #nixos
c0ffee152 has quit [Ping timeout: 255 seconds]
gustavderdrache has quit [Quit: Leaving.]
jonten has quit [Ping timeout: 260 seconds]
CMCDragonkai1 has joined #nixos
zeta_0 has joined #nixos
<CMCDragonkai1> so systemd services that are not of type oneshot do not have additive ExecStart?
<CMCDragonkai1> and what's the difference between `ExecStart = lib.mkForce ...` and `ExecStart = [ "" "..."];
drakonis has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @brettlyons opened pull request #80926 → vimPlugins.nrrwrgn: Init at 2019-12-12 → https://git.io/JvEfU
drakonis has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to fwupd-1.3.8 « fwupd: 1.3.7 → 1.3.8 »: https://git.io/JvEfZ
h0m1 has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos
smatting has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #80927 → flow: 0.118.0 -> 0.119.0 → https://git.io/JvEf0
<{^_^}> [nixpkgs] @jtojnar pushed to master « rictydiminished-with-firacode: 1.2.0 → 1.2.2 »: https://git.io/JvEfu
drakonis has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #80101 → fwupd: 1.3.7 → 1.3.8 → https://git.io/Jvlmd
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvEfg
<{^_^}> [nixpkgs] @jtojnar pushed 0 commits to fwupd-1.3.8: https://git.io/JvEf2
<{^_^}> [nixpkgs] @marsam opened pull request #80928 → vazir-fonts: 19.2.0 -> 22.1.0 → https://git.io/JvEfV
Flambe has quit [Quit: Konversation terminated!]
drakonis has joined #nixos
niso has joined #nixos
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @tollb opened pull request #80929 → gdb: Fix abort w/NIX_DEBUG_INFO_DIRS patch → https://git.io/JvEJT
drakonis has quit [Ping timeout: 258 seconds]
vidbina has quit [Ping timeout: 260 seconds]
drakonis1 has quit [Ping timeout: 255 seconds]
drakonis1 has joined #nixos
drakonis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
drakonis has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
troydm has joined #nixos
<{^_^}> [nixpkgs] @jjwatt opened pull request #80930 → devede: Add needed setuptools dependency → https://git.io/JvEJ5
<niso> is it possible to use antiquotation in strings constructed by builtins.readFile ?
reallymemorable has joined #nixos
h0m1 has quit [Ping timeout: 252 seconds]
<CMCDragonkai1> niso: probably not! try it in nix repl
<niso> CMCDragonkai1: i tried it in a derivation and failed - thus the question
* niso was hoping that there is some kind of hack
* niso or that he could manually trigger the evaluation
<tomberek> niso: can you use an import?
<tomberek> IFD?
h0m1 has joined #nixos
<niso> tomberek: IFD?
<tomberek> import-from-derivation
<tomberek> import a file which is a nix expression, rather than using readFile
drakonis1 has quit [Ping timeout: 258 seconds]
<cole-h> ,ifd
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
<niso> tomberek: this would require the file to be a well-formed nix expression right?
<tomberek> yes
drakonis1 has joined #nixos
<niso> this isn't the case - i'm tyring to (ab)use nix as a templating engine
<niso> thus example content would be: "some ${expr} special text"
<tomberek> but you want to inject a nix value, during evaluation time, or build time?
<{^_^}> [nixpkgs] @LEXUGE opened pull request #80931 → Add smartdns package → https://git.io/JvEUf
drakonis has quit [Quit: WeeChat 2.7]
drakonis1 is now known as drakonis
<niso> tomberek: shouldn't matter since everything after the evaluation time is fin
<niso> *fine
<CMCDragonkai1> does nixos work with template service unit files?
<tomberek> another option i've used is envsubst
waleee-cl has quit [Quit: Connection closed for inactivity]
leungbk has quit [Ping timeout: 258 seconds]
onixie has quit [Ping timeout: 260 seconds]
learnday20 has joined #nixos
thc202 has quit [Ping timeout: 245 seconds]
<learnday20> im trying to upgrade to NixOS stable: 19.09 from 1903, upon nixos-rebuild switch upgrade, theres no more login, cursor blinks and upon CM f1, f7 gives tty, any thoughts what I am missing? thank you!
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80932 → ocamlPackages.uri: 3.0.0 -> 3.1.0 → https://git.io/JvEUS
jojojojojo has quit [Remote host closed the connection]
oida has quit [Remote host closed the connection]
oida has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
felixfoertsch23 has joined #nixos
spacefrogg has joined #nixos
<dansho> learnday20, i have a note to self that you might need to generate a new hardware config with nixos-generate-config
felixfoertsch has quit [Ping timeout: 258 seconds]
<learnday20> dansho: thank you dansho! I will try to gen new hw config as you suggested.
<learnday20> dansho: Did you note mention display manager not Starting? as I got, https://hastebin.com/iyututinun.pl
<niso> tomberek: hmmm alright thanks - guess i'll go with envsubst (or another templating engine)
<tomberek> niso: i'm not aware of a direct "evalString". Closest would be to import a valid nix expression, perhaps a function, create the resuling value, and write it back out to a file
<dansho> learnday20, i don't remember what the exact issue was =(
qubasa_ has joined #nixos
<CMCDragonkai1> does anybody know if systemd unit template files can be used in in systemd.services with overrides?
<CMCDragonkai1> every time i try it, it says "...ExecStart defined does not exist"
qubasa has quit [Ping timeout: 255 seconds]
<niso> tomberek: alright, thanks!
vykook has quit [Ping timeout: 258 seconds]
vykook has joined #nixos
adelbertc has quit [Quit: Connection closed for inactivity]
<tomberek> niso: primitive templating can be done with builtins.replaceStrings
<{^_^}> [nixpkgs] @vorot93 closed pull request #66646 → xmrig{,-proxy}: 2.14.4 -> 3.0.0, add build options customization → https://git.io/fjdJ1
<mlatus_> Is anyone using nvidia prime offload here?
<{^_^}> #66601 (by eadwu, 27 weeks ago, open): nvidia: prime render offload
<niso> tomberek: looks good, thanks!
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
zeta_0 has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
iyzsong has joined #nixos
drakonis has quit [Quit: WeeChat 2.7]
fuzen has quit [Quit: The Lounge - https://thelounge.chat]
fuzen has joined #nixos
ris has quit [Ping timeout: 258 seconds]
<zeta_0> clever:
<zeta_0> clever: sorry that was an accident
c0ffee152 has joined #nixos
<CMCDragonkai1> i need to create a list based off a number
<CMCDragonkai1> like "repeat"
<CMCDragonkai1> or list comprehsnion
<CMCDragonkai1> is there something like this in nix?
b has quit [Ping timeout: 258 seconds]
<clever> > lib.genList (i: "num ${toString i}") 10
<{^_^}> [ <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> ]
<clever> CMCDragonkai1: ^
<clever> > :p lib.genList (i: "num ${toString i}") 10
<{^_^}> [ "num 0" "num 1" "num 2" "num 3" "num 4" "num 5" "num 6" "num 7" "num 8" "num 9" ]
<CMCDragonkai1> clever: yea that looks right
<bdju> https://paste.debian.net/hidden/b5d128e2/ Getting some errors trying to update. Looks to be related to luajit maybe.
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
endformationage has quit [Ping timeout: 252 seconds]
c0ffee152 has quit [Quit: Lost terminal]
<energizer`> I want nixpkgs to upgrade the version of a package, what should I do/
<CMCDragonkai1> clever: i have a config that uses the genList to create a list of configurations, these configurations have to be merged together.. using `mkMerge`
<CMCDragonkai1> but i'm hitting an infinite recursion error
<CMCDragonkai1> is there a way to "concat" to another list optionally?
<clever> CMCDragonkai1: mkMerge and mkIf both use some trickery to avoid the inf recursion
<clever> CMCDragonkai1: config = mkIf bool { a=1; b=2; } will be translated into config = { a=mkIf bool 1; b = mkIf bool 2; }
<clever> CMCDragonkai1: that allows it to read config.c, and bypass evaluating bool until later
<CMCDragonkai1> I thought this would owrk
<CMCDragonkai1> config = mkMerge [
<CMCDragonkai1> ];
<CMCDragonkai1> ))
<CMCDragonkai1> mkMerge (builtins.genList (i: {}) cfg.worker-cpu.instances)
<CMCDragonkai1> (mkIf cfg.worker-cpu.enable (
<clever> mkMerge does similar
<clever> can you read cfg.worker-cpu, without knowing what the return value of genList is?
<CMCDragonkai1> yea
<CMCDragonkai1> `cfg.worker-gpu.enable` is a boolean
<CMCDragonkai1> `cfg.worker-gpu.instances`
<clever> and the outer mkMerge appears to do nothing, it could be deleted
<CMCDragonkai1> is the number of services to start
<clever> but, what about cfg.worker-cpu itself?
<CMCDragonkai1> well i abridged it
<clever> what other keys exist within cfg?
<CMCDragonkai1> there's other stuff
<clever> can you list every key of cfg.*, without evaluating genList?
<CMCDragonkai1> `cfg.scheduler` and `cfg.worker-cpu`
<clever> does genList set anything in that region? like cfg.foo?
jojojojojo has joined #nixos
<tomberek> anyone familiar with the workings of nix-daemon. I'm trying to start a daemon with additional env vars (creds) such that a derivation with impureEnvVars would be able to use them. I've done a few experiments with NIX_REMOTE=unix://path/to/socket, but i'm not sure about the ramifications of having two nix-daemon's running at the same time
<clever> tomberek: you can just override the systemd service to set the vars there
<clever> CMCDragonkai1: yeah, i see the problem, it cant know what genList returns, until it knows what config.something.worker-cpu is
<tomberek> clever: i found the nix.envVars option as well... is running two of them okay? would be nice to strictly separate which socket provided access to the deamon with the right vars
<clever> CMCDragonkai1: and it cant know what config.something is, until it has figured out that genList only touches config.systemd
boxscape has joined #nixos
<clever> CMCDragonkai1: you must do config.systemd = mkMerge ....;
<clever> tomberek: its probably fine, any time you run nix commands as root, they bypass the daemon entirely, and deal with file-locks in /nix/store to manage things
<clever> tomberek: 2 nix-daemons should do the same
<CMCDragonkai1> how does that work?
<CMCDragonkai1> clever: mkMerge on what exactly?
<tomberek> clever: they both seem to try to use the same socket file, so i also had to change NIX_STATE_DIR
<clever> CMCDragonkai1: instead of line 4 returning { systemd.services = ... }; you want line 4 to return { services = ... ; } and then line 1 would do config.systemd = mkMerge ....
<CMCDragonkai1> clever: i've updated the netire file
<CMCDragonkai1> with the entire module src
<CMCDragonkai1> can you have a look
<clever> tomberek: that might break everything, if the db.sqlite is swapped out
<clever> CMCDragonkai1: can you rename the file in the gist to end in .nix ?
eyJhb has quit [Quit: Clever message]
<CMCDragonkai1> clever: done
<tomberek> clever: yeah, i broke things already once, would like to avoid doing it again, but it would be a nice abstraction to have two seperate sockets and manage access
<clever> CMCDragonkai1: remove the systemd. from line 9, and add it back at line 119, { systemd = mkIf enable worker-cpus; }
eyJhb has joined #nixos
eyJhb has quit [Changing host]
eyJhb has joined #nixos
judson has quit [Remote host closed the connection]
<CMCDragonkai1> clever: worker-cpus is still a list
<CMCDragonkai1> clever: does that work?
judson has joined #nixos
<clever> CMCDragonkai1: you need to mkMerge it again i think
<clever> CMCDragonkai1: mkIf enable { systemd = mkMerge worker-cpus; }
inkbottle has quit [Quit: Konversation terminated!]
<CMCDragonkai1> ok that worked
<CMCDragonkai1> what is the source of this problem
<CMCDragonkai1> clever: something to do with fixed point problem?
<clever> CMCDragonkai1: the problem, is that nix must know every attribute being set on line 119 (top-level, like config.foo), so it can recursively push things down until later
<clever> CMCDragonkai1: so it turns config = mkMerge [ {} {} {} ]; into `config = { a = mkMerge []; b = mkMerge []; c = mkMerge[]; }`
eyJhb has quit [Client Quit]
<clever> CMCDragonkai1: and it must know that, before it can compute what config.services is (to satisfy the let on 5)
eyJhb has joined #nixos
eyJhb has joined #nixos
eyJhb has quit [Changing host]
<clever> CMCDragonkai1: lib.genList is a barrier, that stops it from knowing what your setting, until you already know what config.services is
<clever> CMCDragonkai1: but you cant know what config.services is, because genList might be setting services
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
nixy371 has quit [Quit: The Lounge - https://thelounge.chat]
nixy371 has joined #nixos
agl has joined #nixos
agl has quit [Client Quit]
Chiliparrot has joined #nixos
agl has joined #nixos
Acou_Bass has quit [Ping timeout: 260 seconds]
<CMCDragonkai1> clever: if i can summarize your explaination into an intuition
<CMCDragonkai1> you're saying that what is within `genList` must basically be a "POJO" sort of thing
<CMCDragonkai1> so that way, i can use `mkMerge` it later into the actual `config`
<CMCDragonkai1> otherwise i may hit infinite loop errors
Acou_Bass has joined #nixos
<CMCDragonkai1> clever: if you're still around, can you also see what's going on here https://github.com/NixOS/nixpkgs/issues/80933
<{^_^}> #80933 (by CMCDragonkai, 1 hour ago, open): NixOS is not overriding/specializing a systemd template unit file
ddellacosta has quit [Ping timeout: 255 seconds]
agl has quit [Ping timeout: 260 seconds]
kiloreux has quit [Remote host closed the connection]
mac10688 has quit [Ping timeout: 260 seconds]
cfricke has joined #nixos
gerschtli has quit [Quit: WeeChat 2.6]
gerschtli has joined #nixos
learnday20 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @jonringer merged pull request #79154 → pyopengl: fix runtime shared library loading failure with 3.1.4 → https://git.io/Jvs71
<{^_^}> [nixpkgs] @jonringer pushed commit from @guibou to master « pythonPackages.pyopengl: fix runtime shared library loading failure »: https://git.io/JvEIc
palo1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #80924 → mnemosyne: 2.7 -> 2.7.1 → https://git.io/JvEes
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « mnemosyne: 2.7 -> 2.7.1 »: https://git.io/JvEIB
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @jonringer merged pull request #80928 → vazir-fonts: 19.2.0 -> 22.1.0 → https://git.io/JvEfV
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « vazir-fonts: 19.2.0 -> 22.1.0 »: https://git.io/JvEI1
<{^_^}> [nixpkgs] @jonringer merged pull request #80930 → devede: Add needed setuptools dependency → https://git.io/JvEJ5
<{^_^}> [nixpkgs] @jonringer pushed commit from @jjwatt to master « devede: Add needed setuptools dependency »: https://git.io/JvEI9
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @jonringer merged pull request #80893 → pythonPackages.importlib-metadata: 1.3.0 -> 1.5.0 → https://git.io/Jv0Ds
<{^_^}> [nixpkgs] @jonringer pushed commit from @colemickens to staging « pythonPackages.importlib-metadata: 1.3.0 -> 1.5.0 »: https://git.io/JvELv
Acou_Bass has joined #nixos
infinee has joined #nixos
Flambe has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zeta_0 has quit [Quit: doing a rebuild switch]
<{^_^}> [nixpkgs] @Lassulus merged pull request #78113 → nixos/transmission: Allow others to read the directory → https://git.io/JvIVq
<{^_^}> [nixpkgs] @Lassulus pushed commit from @Infinisil to master « nixos/transmission: Allow others to read the directory »: https://git.io/JvELE
zupo has joined #nixos
Flambe has quit [Ping timeout: 255 seconds]
zeta_0 has joined #nixos
chimay has joined #nixos
linarcx has joined #nixos
c0c0 has joined #nixos
<c0c0> i created a python virtualenv and installed the pandas library in it. i get a runtime error saying "ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory". is this a NixOS-specific problem?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2702da0d8fa (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<c0c0> nevermind, i had gcc missing
Naptra has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
<c0c0> no, actually, that didn't solve the problem
logzet has joined #nixos
Ukari has quit [Ping timeout: 255 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gagbo has joined #nixos
sgrunert has joined #nixos
chimay has quit [Ping timeout: 240 seconds]
<lassulus> c0c0: whats with gcc.cc.lib?
<LnL> are you in a nix-shell?
<c0c0> lassulus: excuse my ignorance, i don't understand your question
<lassulus> I guess you are in a nix-shell and added gcc to buildInputs, can you add gcc.cc.lib to buildInputs ?
<c0c0> LnL: no, i just try to import the pandas library in python
<lassulus> or where did you add gcc to?
<c0c0> i just installed the gcc package, but that doesn't help here, as it doesn't make libstdc++ visible
<lassulus> with nix-env?
cole-h has quit [Ping timeout: 258 seconds]
<c0c0> i'm new to NixOS and don't really understand the dependency management yet
<c0c0> with home-manager (so on user level, yes)
<lassulus> so many ways to manage deps :D
<LnL> c00w: yeah that's normal, if you want to build stuff you need a shell to setup a proper build environment
rauno has joined #nixos
<lassulus> c0c0: but you should create a shell.nix file to manage your python environment: something like this here could fit: https://nixos.wiki/wiki/Python#Emulating_virtualenv_with_nix-shell
<c0c0> i share the virtualenv with other people (non-NixOS users). does this allow me to use the same virtualenv specification (in this case Pipfile)?
<lassulus> not 100% sure, but there was a pipfile specific shell.nix
<lassulus> ah wait is pipenv and pipfile the same?
<lassulus> in the worst case you can still use a fhsuserenv to emulate FHS paths for all linux libs
m0rphism has joined #nixos
<c0c0> a Pipfile specifies a virtual environment in pipenv, so yes :-)
<c0c0> an pipenv is a wrapper around virtualenv
tpanum has joined #nixos
<c0c0> s/an/and/
<energizer`> you share the virtualenv with other people? or you share the Pipfile?
<{^_^}> [nixpkgs] @LnL7 opened pull request #80934 → pythonPackages.msgpack: 0.6.2 -> 1.0.0 → https://git.io/JvEtL
<{^_^}> [nixpkgs] @maxxk opened pull request #80935 → [20.03] whitebox-tools: 0.16.0 -> 1.2.0 → https://git.io/JvEtt
<energizer`> a virtualenv contains references to parts of the interpreter and the stdlib, so you can't share the virtualenv itself across computers
<c0c0> Pipfile and Pipfile.lock is version-controlled so that other people can reproduce the environment
<energizer`> that can work if the dependencies are simple enough
<energizer`> if you have people on different operating systems it's more complicated
<c0c0> we basically use it to specify a list of python libraries that anyone can install with a one-liner
<c0c0> nothing too fancy
aaa_ has joined #nixos
<c0c0> we have some OS X users, some non-NixOS linux users and me being new to NixOS :D
philr has joined #nixos
<energizer`> that's probably fine then
lsix has joined #nixos
<energizer`> but more a #python question :-)
<dminuoso> 08:50:21 energizer` | a virtualenv contains references to parts of the interpreter and the stdlib, so you can't share the virtualenv itself across computers
<dminuoso> You absolutely can.
<energizer`> perhaps you're thinking of pex or shiv?
<dminuoso> You can set up a virtual environment with `--always-copy`, such that venv will copy the python dependencies rather than symlink it.
<dminuoso> We were debating on how to cleanly package our python app here, and we just couldn't make it work with nix. So we decided to just ship a tarball containing all the python dependencies. You only need a python interpreter and some shared libraries, which we handle with nix
<energizer`> virtualenv (though not venv) also has --relocatable
<energizer`> dminuoso: normally I use `pip wheel` or `shiv`, both work well IME as long as the destination has a python interpreter of the correct version
<dminuoso> Relocable just turns all references from absolute to relative ones
malSet has quit [Quit: Quit.]
malSet has joined #nixos
<energizer`> yep
<dminuoso> To me, most of this is just a strong indicator that Python is really inadequate for deployment.
<dminuoso> All the tools as so ad-hoc
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/58a9acf75a3 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<energizer`> what needs do you have that the tools aren't meeting?
<c0c0> lassulus LnL energizer`: in case you're curious, this does the trick for me: https://sid-kap.github.io/posts/2018-03-08-nix-pipenv.html
<dminuoso> energizer`: I want to have first-class support to build a self-sufficient distributable package, with deterministic dependency management.
<energizer`> dminuoso: do you want it to include the interpreter in the package?
<energizer`> with interpreter, it's pyinstaller; without interpret, it's currently poetry + shiv, but *hopefully* soon it'll just be `poetry bundle` https://github.com/python-poetry/poetry/issues/1856
<{^_^}> python-poetry/poetry#1856 (by sdispater, 6 weeks ago, open): Feature roadmap
rsoeldner has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer opened pull request #80937 → pythonPackages.locustio: 0.9.0 -> 0.14.4 → https://git.io/JvEtF
<dminuoso> energizer`: See, between venv, virtualenv, poetry, shiv, wheels, pyinstaller and many many more, you have a large mess of community hacks. The language designers failed to provide for a strong module system or a way to tie binary distributions into everything.
zupo has joined #nixos
<dminuoso> I dont want to have juggle a mess of unrelated tools, developed by independent people, where you constantly have to watch out for which packages are supported by what tool, hope that your tool will still work or be maintained a month from now.
<{^_^}> [nixpkgs] @maxxk opened pull request #80938 → pythonPackages.pyfribidi: fix build → https://git.io/JvEtx
<dminuoso> I think it's that most of python developers just don't care or know what the problem is, because few of them were ever exposed to good solutions.
<dminuoso> That might even be the justification behind the entire language.
zupo_ has joined #nixos
zupo has quit [Ping timeout: 255 seconds]
jgeerds has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80939 → python27Packages.gssapi: 1.6.1 -> 1.6.2 → https://git.io/JvEqI
<emily> thankfully, nix
<jluttine> seems like nixos hasn't updated my letsencrypt certificates in a while. now one cert expired. this has worked for the past few years, but now suddenly broken. any ideas if there have been some changes in nixos that could cause it to suddenly stop working?
boxscape has quit [Remote host closed the connection]
cfricke_ has joined #nixos
<dminuoso> jluttine: The letsencrypt API changed its version a while ago
<dminuoso> jluttine: You likely need to update your channel and get the latest version of the ACME bot
<{^_^}> [nixpkgs] @jonringer merged pull request #80937 → pythonPackages.locustio: 0.9.0 -> 0.14.4 → https://git.io/JvEtF
<{^_^}> [nixpkgs] @jonringer pushed to master « pythonPackages.locustio: 0.9.0 -> 0.14.4 »: https://git.io/JvEqL
<jluttine> dminuoso: ok thanks! i'll have a look
<dminuoso> jluttine: If that was the case, it likely broke about 4 months ago already. :)
cfricke has quit [Ping timeout: 255 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
pnobre has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #80940 → python3Packages.ipykernel: fix build on darwin → https://git.io/JvEqs
colemickens_ has quit [Quit: Connection closed for inactivity]
<eoli3n> Hi
<eoli3n> how to list "root" generations ?
<dminuoso> What is a "root" generation?
<eoli3n> a non-user generation :)
<tilpner> sudo nix-env --list-generations --profile /nix/var/nix/profiles/system
<eoli3n> tilpner: thx, did the trick
<dminuoso> Oh heh, I read "root" as in "GC roots" and was majorly confused :)
<energizer`> `lorri shell` gives me a shell but it doesn't provide the binaries on PATH that `nix-shell` does. Am I misunderstanding what `lorri shell` is supposed to do?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80941 → python27Packages.jug: 1.6.9 -> 2.0.0 → https://git.io/JvEqz
<jluttine> dminuoso: not sure yet. looking at the logs, it looks like acme service used to run once every week, now it hasn't run in many weeks for some reason.
pnobre has quit [Ping timeout: 255 seconds]
smatting has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ppx_tools: 5.3 → 6.{0,1} »: https://git.io/JvEqM
<{^_^}> [nixpkgs] @vbgl merged pull request #80273 → ocamlPackages.ppx_tools: 5.3 → 6.{0,1} → https://git.io/Jv8Wj
linarcx has quit [Read error: Connection reset by peer]
<emily> nixos recently switched from simp_le to lego
<emily> it's possible that broke stuff :/
linarcx has joined #nixos
bahamas has joined #nixos
zupo_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @vbgl merged pull request #80927 → flow: 0.118.0 -> 0.119.0 → https://git.io/JvEf0
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « flow: 0.118.0 -> 0.119.0 »: https://git.io/JvEqj
niksnut has joined #nixos
zupo has joined #nixos
chloekek has joined #nixos
tjg1 has joined #nixos
__monty__ has joined #nixos
cfricke_ has quit [Quit: WeeChat 2.7]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a850d0a83df (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
fendor has joined #nixos
<Dandellion> is there a way to add an environment variable to a a module without editing the package
<{^_^}> [nixpkgs] @edolstra pushed to master « nix-fallback-paths.nix: Fix x86_64-linux path »: https://git.io/JvEmr
<Dandellion> Dandellion: by setting systemd.services.<name>.environment where <name> is the same as what the module defines
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80942 → python27Packages.flask-babelex: 0.9.3 -> 0.9.4 → https://git.io/JvEm1
ghasshee has joined #nixos
<{^_^}> [nixpkgs] @etu closed pull request #75033 → Update build phpPackages → https://git.io/JeDMx
lexuge has joined #nixos
lexuge has quit [Remote host closed the connection]
vykook has quit [Ping timeout: 272 seconds]
vykook has joined #nixos
jluttine has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80943 → python27Packages.datadog: 0.33.0 -> 0.34.1 → https://git.io/JvEYg
jluttine has joined #nixos
fendor has quit [Quit: Leaving]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
thc202 has joined #nixos
<dminuoso> jluttine: It's very likely you still have an ACMEv1 bot running. :)
<{^_^}> [nixpkgs] @leigh-perry closed pull request #80923 → google-cloud-sdk: 268.0.0 -> 281.0.0 → https://git.io/Jv0jp
Makaveli7 has joined #nixos
Arahael has joined #nixos
<jluttine> dminuoso: updating the channel, then fixing some complaints about missing acme configs (email and agreeing to terms), then rebuilding, and seems to work now
o1lo01ol1o has quit [Remote host closed the connection]
<jluttine> dminuoso: so yes, probably was v1 bot
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @leigh-perry opened pull request #80944 → google-cloud-sdk: 268.0.0 -> 281.0.0 → https://git.io/JvEYF
zupo has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @edolstra pushed to master « nixFlakes: 2.4pre20200207_d2032ed -> 2.4pre20200220_4a4521f »: https://git.io/JvEYh
zupo has joined #nixos
anderslu1dstedt has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to release-19.09 « nixFlakes: 2.4pre20200207_d2032ed -> 2.4pre20200220_4a4521f »: https://git.io/JvEOe
<{^_^}> [nixpkgs] @edolstra pushed to release-20.03 « nixFlakes: 2.4pre20200207_d2032ed -> 2.4pre20200220_4a4521f »: https://git.io/JvEOf
o1lo01ol1o has quit [Ping timeout: 258 seconds]
anderslundstedt has quit [Ping timeout: 272 seconds]
mrleaW has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80945 → python27Packages.gphoto2: 2.0.0 -> 2.1.0 → https://git.io/JvEO3
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to release-19.09: https://git.io/JvEOu
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80946 → python27Packages.feedgenerator: 1.9 -> 1.9.1 → https://git.io/JvEOK
Swant has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7a17c1aa17d (from 25 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
o1lo01ol1o has joined #nixos
<Taneb> I have a machine that's failing to boot :( Getting stuck in systemd boot process
<dminuoso> Taneb: What's the latest output you're seeing?
anderslundstedt has joined #nixos
<dminuoso> Is systemd already running?
bahamas has quit [Ping timeout: 260 seconds]
<Taneb> systemd is already running, something like "[OK] Started inform NFS peers of restart" (the machine's in another room)
<{^_^}> [nixpkgs] @max-wittig opened pull request #80947 → gitlab-runner: 12.7.0 -> 12.8.0 → https://git.io/JvEOx
dansho has quit [Quit: Leaving]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<dminuoso> Taneb: Judging from https://bugs.archlinux.org/task/42033 - perhaps its worthwhile waiting 15 minutes.
<{^_^}> [nixpkgs] @symphorien opened pull request #80948 → todoman: install shell completions → https://git.io/JvE3e
anderslu1dstedt has quit [Ping timeout: 265 seconds]
<dminuoso> And indeed, sm-notify seems to try for 15 minutes
<dminuoso> https://bugzilla.redhat.com/show_bug.cgi?id=1181708 is another related bug. These might not even share the same symptom, but perhaps just give you an indication that waiting patiently for 15 minutes might be a good idea.
<Taneb> OK, I'll give it some time
<Taneb> Do you know how long it takes for it to go "I've been waiting a while"?
<dminuoso> Is that a message you are seeing?
<Taneb> No, I'm not seeing a timeout thingy
<Taneb> Just it's getting stuck and not moving
sigmundv has joined #nixos
<dminuoso> I really question the sanity of the sm-notify developers. To block the boot process on this is ludicrous.
<dminuoso> Or perhaps its just the nixos supplied systemd unit that's buggy
<dminuoso> Where does your sm-notify come from? Is it some official nixos module?
<Taneb> This machine is still on 18.09. Should be the NixOS module but it's been a while since I've touched it
<{^_^}> [nixpkgs] @ryantm merged pull request #80941 → python27Packages.jug: 1.6.9 -> 2.0.0 → https://git.io/JvEqz
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvE3W
<Taneb> services.nfs.server I think
<{^_^}> [nixpkgs] @surajbarkale opened pull request #80949 → aws-vault: 4.5.1 to 5.3.2 → https://git.io/JvE34
<dminuoso> Do you have ssh access already to the machine?
<Taneb> No
<Taneb> Actually I'm not sure if it's on the network yet
<dminuoso> You'd think that the systemd units are set up in such a way, that nfs services aren't kicked off until network is up..
<dminuoso> But considering your symptoms..
<Taneb> That might be a "cable isn't plugged in" issue
<dminuoso> The 15 minutes have passed already, is there any progress?
<dminuoso> Oh shoot, perhaps you are majorly unlucky and whatever is controlling sm-notify has specified `-m0`
<dminuoso> It's hard to say without knowing exactly how your systemd is setup
<Taneb> No progress
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JvE3z
vandenoever has quit [Read error: Connection reset by peer]
<Taneb> Looks like it's ethernet is connected physically, but the machine hasn't appeared to the router
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
<dminuoso> Can you see the link state LED is on?
<dminuoso> On either end, really.
<Taneb> Looks like it is
<dminuoso> Mmm, perhaps there's a missing dependency and you hit into a race condition where things are being executed in the wrong order?
<dminuoso> Such that nfs is trying to come up before the network is available, and its blocking the rest now
<{^_^}> [nixpkgs] @hrdinka pushed 2 commits to master: https://git.io/JvE3i
<{^_^}> [nixpkgs] @hrdinka merged pull request #80513 → mapnik: 3.0.22 -> 3.0.23 → https://git.io/JvBU6
<dminuoso> That should include some `After=network.target`
anderslu1dstedt has joined #nixos
<dminuoso> Well, or rather its nix equivalent of course.
<dminuoso> Hold on.. that's just a gimmick unit to create the specified directory. Nevermind
anderslundstedt has quit [Ping timeout: 240 seconds]
<Taneb> Problem was one of the drives hadn't mounted properly
<Taneb> Which I'd seen before and forgotten
vykook has quit [Ping timeout: 258 seconds]
v88m has quit [Ping timeout: 255 seconds]
<Taneb> Although the machine still isn't responding to ping...
bahamas has joined #nixos
ghasshee has quit [Ping timeout: 252 seconds]
<jluttine> can i somehow control the cipher version/type of my letsencrypt certificates when using acme? some clients are giving the following error: ERR_SSL_VERSION_OR_CIPHER_MISMATCH
mexisme has quit [Ping timeout: 272 seconds]
<dminuoso> jluttine: "some clients" meaning what exactly?
<jluttine> when browsing the page on my phone, some browsers work ok, some give that error
<dminuoso> jluttine: That is unrelated to letsencrypt.
<jluttine> ah
vykook has joined #nixos
mexisme has joined #nixos
<jluttine> is there something i can do to fix this on my (nixos) server?
<dminuoso> Configure whatever TLS server you are running appropriately?
bahamas has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<jluttine> dminuoso: i use nginx and my virtual hosts have "enableACME" and "forceSSL" set. what else is needed for appropriate SSL configuration?
anderslundstedt has joined #nixos
<dminuoso> TLS works by the client and server agreeing on a particular cipher suite. A cipher suite consists of a key exchange algorithm, a block cipher and a message authentication algorithm.
<dminuoso> So this usualy works by the server offering a set of suites, with the client picking one they like best.
<dminuoso> The client itself might have blacklists too, so not every suite offered to them is acceptable
rgb[m] has joined #nixos
<dminuoso> At the same time, you shouldnt want to offer unsafe cipher suites. For one reason, there's certain attacks that can force clients to pick an unsafer suite, and you want to promote safe cipher suites.
anderslu1dstedt has quit [Ping timeout: 258 seconds]
<dminuoso> As a good starting point you can use https://syslink.pl/cipherlist/
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/39892985b00 (from 78 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<dminuoso> You have to translate that into nixos options of course, but it should give you a good starting point with strong security and wide compatibility.
<jluttine> dminuoso: ok, thanks. so there's nothing builtin in nixos that would make this just work :(
<jluttine> i would have expected this issue to hit many others, because i don't think i've done anything out of the ordinary
<dminuoso> jluttine: No. But perhaps the case could be made to include some strongTls option that preseeds such options.
<dminuoso> It's certainly not unreasonable
<dminuoso> jluttine: Just to complete that tour by the way. Certificates play a miniscule role in TLS. They are used at precisely one step for just one single message, which is to confirm the identity of the server when the key exchange takes place.
energizer` has quit [Ping timeout: 260 seconds]
<dminuoso> The certificate itself is irrelevant to TLS, it's just the crucial part that establishes the party you are talking to is the correct one - beyond that the certificate has no use.
<jluttine> dminuoso: ok. thanks for the detailed explanation! :)
<jluttine> sounds like fixing this with my skills would take quite a lot of time now.. have to think what to do..
<dminuoso> jluttine: It's worthwhile reading up on this. Providing security is easier when you have a rough understanding of the parts involves.
cfricke has joined #nixos
<jluttine> hmm.. maybe services.nginx.sslCiphers is the option i could play with hmm.. :/
waleee-cl has joined #nixos
cinimod has joined #nixos
<raboof> I want to do some debugging/hacking on grpccurl. I did "nix-shell '<nixpkgs>' -A grpccurl", and then "unpackPhase; patchPhase; cd source; buildPhase"
<raboof> that seems to succeed (though it does log some errors, https://pastebin.com/Pm1fj0hF) - but where can I now find the built artifact?
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
<cinimod> Can anyone suggest a way of building *all* the Haskell packages (I want to see how much breakage a change in the one of the base libraries will cause)?
bvdw has quit [Read error: Connection reset by peer]
iqubic` has joined #nixos
bvdw has joined #nixos
bahamas has joined #nixos
bahamas has joined #nixos
iqubic has quit [Ping timeout: 240 seconds]
colemickens_ has joined #nixos
bahamas has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #80895 → pythonPackages.pysaml2: fix tests on 32bit systems → https://git.io/Jv0yI
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JvEGm
<{^_^}> [nixpkgs] @rnhmjoj pushed to release-20.03 « pythonPackages.pysaml2: fix tests on 32bit systems »: https://git.io/JvEG3
CMCDragonkai2 has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #73705 → ocamlPackages.printbox: 0.2 -> 0.4 → https://git.io/JeKRe
<{^_^}> [nixpkgs] @vbgl pushed commit from @romildo to master « ocamlPackages.printbox: 0.2 -> 0.4 »: https://git.io/JvEGW
<jluttine> how can i append/prepend to a default string option? i don't want to replace it but just append/prepend..
<jluttine> in nixos configuration
CMCDragonkai2 has quit [Ping timeout: 252 seconds]
RRedcroft has joined #nixos
<tilpner> jluttine: lib.mkBefore, lib.mkAfter
<jluttine> tilpner: thanks!
<tilpner> Or mkOrder, those two are just calls to mkOrder
<{^_^}> [nixpkgs] @vbgl merged pull request #80809 → dune_2: fix hash → https://git.io/Jv0Gl
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « dune_2: fix hash »: https://git.io/JvEG4
<RRedcroft> Hi guys, is anyone here using Mopidy with gmusic? I cant get it working due to a collision between 'python2.7-backports.ssl_match_hostname' and 'python2.7-backports.functools_lru_cache'
<jluttine> tilpner: actually, doesn't seem to work.. i used lib.mkBefore "foobar" and the output was just "foobar" although there's a real non-empty default string
philr has quit [Ping timeout: 255 seconds]
erictapen has joined #nixos
<clever> jluttine: if you have both a default and a non-default setting, it will ignore the default one entirely
<raboof> ok I had to add /run/user/1000/tmp.H2P8zilijT-grpcurl-1.4.0/bin to my PATH to find those tools... but still no binary
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvEG2
<{^_^}> [nixpkgs] @aanderse merged pull request #77710 → imageworsener: init at 1.3.3 → https://git.io/JvULN
bahamas has joined #nixos
<raboof> ah 'go run github.com/fullstorydev/grpcurl/cmd/grpcurl' does the trick ;)
<jluttine> clever tilpner: yeah. i accessed the default via options as: config.nginx.sslCiphers = "foobar" + options.nginx.sslCiphers.default
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7a17c1aa17d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #80949 → aws-vault: 4.5.1 to 5.3.2 → https://git.io/JvE34
<{^_^}> [nixpkgs] @zimbatm pushed commit from @surajbarkale to master « aws-vault: 4.5.1 to 5.3.2 (#80949) »: https://git.io/JvEG9
<{^_^}> [nixpkgs] @zimbatm pushed commit from @max-wittig to master « gitlab-runner: 12.7.0 -> 12.8.0 (#80947) »: https://git.io/JvEGQ
<{^_^}> [nixpkgs] @zimbatm merged pull request #80947 → gitlab-runner: 12.7.0 -> 12.8.0 → https://git.io/JvEOx
zupo_ has joined #nixos
rail has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #79203 → beamPackages.hex: 0.20.1 -> 0.20.5 → https://git.io/JvGCx
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/JvEGh
<{^_^}> [nixpkgs] @elseym opened pull request #80951 → termshark: 1.0.0 -> 2.1.1 → https://git.io/JvEGj
<{^_^}> [nixpkgs] @jluttine opened pull request #80952 → nginx: add EECDH+AESGCM and EDH+AESGCM SSL ciphers → https://git.io/JvEZe
<jluttine> dminuoso: thanks for your help. i opened a pull request: https://github.com/NixOS/nixpkgs/pull/80952
<{^_^}> #80952 (by jluttine, 25 seconds ago, open): nginx: add EECDH+AESGCM and EDH+AESGCM SSL ciphers
<RRedcroft> is it possible to access files from a package in /store via scripts?
<RRedcroft> more specifically i'd like to access "$out/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so" from vivaldi-widevine for use in qutebrowser
<Taneb> How would I go about packaging a scala application?
erictapen has quit [Ping timeout: 272 seconds]
<immae> RRedcroft: how about referencing "${pkgs.vivaldi-widevine}/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so"?
<RRedcroft> tried that but it didnt find it/work
<aanderse> anyone recently upgrade a kde laptop/desktop to 20.03 beta?
<aanderse> alt+f2 isn't bringing up krunner...
<aanderse> krunner is running, though
<__monty__> RRedcroft: You tried it in a nix file, right? That wouldn't work in a bash script.
<RRedcroft> Oh no, doing it in the qutebrowser config.py file
<RRedcroft> __monty__: How would i go about launching via a nix file?
<immae> RRedcroft: ah! how is vivaldi-widevine installed for you?
<immae> via nix-env?
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
orcus has joined #nixos
<RRedcroft> no via configuration.nix in /etc/nixos/
tilcreator has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80925 → mate.mate-themes: 3.22.20 -> 3.22.21 → https://git.io/JvEeH
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JvEZr
<dminuoso> jluttine: Can you list the browsers/app that are not compatible with the default cipher suits in the issue please?
<dminuoso> At least the ones you are aware of.
<bdju> glad to see the issue I ran into updating earlier has been solved, just updated again and it went through this time
<immae> RRedcroft: then you’ll find it in /run/current-system/sw/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
tilcreator has joined #nixos
orcus has quit [Client Quit]
<bdju> oh wow and rakudo is finally updated as well! very nice
<RRedcroft> immae: thank you :)
orcus has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #80951 → termshark: 1.0.0 -> 2.1.1 → https://git.io/JvEGj
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JvEZM
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<jluttine> dminuoso: ok, done
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @lheckemann merged pull request #80292 → mrtrix: init at 3.0_RC3_latest → https://git.io/Jv8z4
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JvEnf
<{^_^}> [nixpkgs] @andir opened pull request #80953 → buildBazelPackage: poison all the fixed output derivations → https://git.io/JvEnU
ghasshee has joined #nixos
<{^_^}> [nixpkgs] @fkstef opened pull request #80954 → maintainers: add sstef → https://git.io/JvEnk
Ianulus has quit [Remote host closed the connection]
psyanticy has joined #nixos
jojojojojo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Tomahna opened pull request #80955 → mopidy-iris: 3.44.0 -> 3.45.1 → https://git.io/JvEnq
jojojojojo has joined #nixos
zupo has joined #nixos
cfricke has quit [Quit: WeeChat 2.7]
cfricke has joined #nixos
reallymemorable has joined #nixos
cfricke has quit [Quit: WeeChat 2.7]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/JvEn6
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-20.03: https://git.io/JvEnX
bahamas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.09: https://git.io/JvEnN
erictapen has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80957 → python27Packages.django-gravatar2: 1.4.2 -> 1.4.4 → https://git.io/JvEcT
domogled has quit [Quit: domogled]
learnday20 has joined #nixos
turona has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @adisbladis opened pull request #80958 → poetry2nix: 1.4.0 -> 1.5.0 → https://git.io/JvEcz
mrleaW has quit [Quit: mrleaW]
<{^_^}> [nixpkgs] @dywedir merged pull request #80773 → exiftool: 11.70 -> 11.85 → https://git.io/Jv0Te
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JvEcP
<infinisil> adisbladis++ for the fastest fixes in the west!
<{^_^}> adisbladis's karma got increased to 30
<gchristensen> adisbladis++
<{^_^}> adisbladis's karma got increased to 31
xkapastel has joined #nixos
RRedcroft has quit [Remote host closed the connection]
Makaveli7 has quit [Quit: WeeChat 2.7.1]
learnday20 has left #nixos ["Leaving"]
gustavderdrache has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #80958 → poetry2nix: 1.4.0 -> 1.5.0 → https://git.io/JvEcz
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/JvECv
zebrag has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
lsix has quit [Ping timeout: 252 seconds]
lsix1 has joined #nixos
wavirc22 has quit [Ping timeout: 265 seconds]
tomberek has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #nixos
learnday20 has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<shyim> Have someone openjdk13 running?
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #80421 → coqPackages.mathcomp_1_10: init at 1.10.0 → https://git.io/Jv40I
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.mathcomp_1_10: init at 1.10.0 »: https://git.io/JvECn
cosimone has quit [Quit: Terminated!]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @B4dM4n opened pull request #80959 → pythonPackages.mysql-connector: fix build for python != python3 → https://git.io/JvEC0
<{^_^}> [nixpkgs] @drewrisinger closed pull request #78879 → pythonPackages.stestr: init at 2.6.0 → https://git.io/JvOP9
karetsu has joined #nixos
pauldub has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
kaliumxyz has quit [Quit: Lost terminal]
maddo has joined #nixos
learnday20 has quit [Remote host closed the connection]
zupo has quit [Ping timeout: 260 seconds]
v0|d has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh closed pull request #59518 → Cvxpy → https://git.io/fjmPy
v88m has joined #nixos
zupo has joined #nixos
<Taneb> Am I right in thinking that fixed-output derivations will stay cached if you change the derivation itself as long as the name and hash don't change?
<clever> Taneb: correct
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e13ec4a275f (from 78 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<Taneb> I'm considering temporarily putting a system feature on a number of packages so that our CI only tries to build them on one machine and doesn't hammer the network
<clever> Taneb: if your using something like hydra, the fixed-output things wind up in the binary cache, and then it never runs the derivation again, just copies the existing product
<Taneb> Good, that's my intent (I am using something that is Hydra)
fendor has joined #nixos
sgrunert has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lsix merged pull request #80957 → python27Packages.django-gravatar2: 1.4.2 -> 1.4.4 → https://git.io/JvEcT
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvEWf
nuncanada has joined #nixos
drewr has quit [Quit: ERC (IRC client for Emacs 26.3)]
civodul has joined #nixos
endformationage has joined #nixos
wavirc22 has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
logzet has quit [Ping timeout: 240 seconds]
logzet has joined #nixos
c0c0 has quit [Ping timeout: 255 seconds]
c0c0 has joined #nixos
niso_ has joined #nixos
dm9 has joined #nixos
<dminuoso> What is the idiomatic way to overlay a single package with one from another package in nixos?
<dminuoso> *from another channel
<{^_^}> [nixpkgs] @vbgl merged pull request #80367 → ocamlPackages.batteries: 2.11.0 → 3.0.0 → https://git.io/Jv4JZ
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.batteries: 2.11.0 → 3.0.0 »: https://git.io/JvEWM
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @lsix pushed commit from @r-ryantm to release-19.09 « python27Packages.django-gravatar2: 1.4.2 -> 1.4.4 »: https://git.io/JvEWD
reallymemorable has quit [Quit: reallymemorable]
shafox has joined #nixos
<{^_^}> [nixpkgs] @lsix pushed commit from @r-ryantm to release-20.03 « python27Packages.django-gravatar2: 1.4.2 -> 1.4.4 »: https://git.io/JvEWH
tomberek has joined #nixos
waleee-cl has joined #nixos
tomberek has quit [Quit: leaving]
reallymemorable has joined #nixos
tmplt has joined #nixos
wavirc22 has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
erictapen has quit [Ping timeout: 265 seconds]
<tmplt> Is it possible to override CC in stdenv.mkDerivation? I set it, but it seems ignored.
wavirc22 has joined #nixos
mrSpec has left #nixos ["Leaving"]
<simpson> tmplt: Depending on the style of builder used, you may have to give the custom CC directly to Make. What are you building?
<{^_^}> [nixpkgs] @ttuegel merged pull request #80579 → qt5.qtbase: backport cmake macro fix (unbreaks FreeCAD build) → https://git.io/JvBVo
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/JvEl0
<{^_^}> [nixpkgs] @ttuegel merged pull request #80618 → iosevka: disable update check in build → https://git.io/JvBQn
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/JvElu
<tmplt> simpson: an embedded rust project, so I need arm-none-eabi-gcc. This is an ad-hoc shell.nix, though. Exporting in the shell works, but I'd prefer to override it instead.
<clever> tmplt: have you tried pkgsCross?
<simpson> tmplt: At some point, it may be easier to use the nixpkgs cross-compiling subsystem, obtaining a cross-compiling stdenv.
v0|d has joined #nixos
<clever> tmplt: ive been using pkgs.pkgsCross.arm-embedded.stdenv for some stuff on the rpi
fendor has quit [Read error: Connection reset by peer]
<__monty__> .nix-profile/bin is later in my PATH than /usr/bin which means my configurable vim is shadowed by the system vim. What's the usual solution for this?
fendor has joined #nixos
<tmplt> clever: thanks, I'll check it out
<clever> __monty__: i think ~/.nix-profile/bin should be first in the path
<__monty__> clever: Maybe it's the fish integration that messes up the order?
<buckley310> does `boot.zfs.forceImport* = true` have any side-effects other than allowing the OS to import already-imported pools? eg, is there any downside for standard desktop SSDs?
Neo-- has joined #nixos
chimay has joined #nixos
<arianvp> are the nix config otpions in configuration.nix system-wide?
<gchristensen> like what?
<arianvp> I added a binary cache in it, but it's not picked up by users
<arianvp> on my system
<gchristensen> yeah, should be
<{^_^}> [nixpkgs] @crawford closed pull request #80869 → buildRustPackage: add support for non-default bins → https://git.io/Jv0rE
<arianvp> it's not working :/ any idea how to debug?
<clever> arianvp: how is it not being picked up? what isnt using it?
<arianvp> i don't know! it just builds the package from source. eventhough all hashes match
<clever> arianvp: what path is it building, that you expect to be in the cache?
<arianvp> my package that I uploaded to the cache
magnetophon has quit [Ping timeout: 265 seconds]
<clever> arianvp: what is the full store path for it?
<arianvp> $ nix-build ./nix -A nginz --dry-run
<arianvp> these derivations will be built:
<arianvp> /nix/store/p2vr0j9y0v8kjb11c2891fpvqissnir8-libzauth-3.0.0-vendor.drv
<arianvp> /nix/store/1lga351dfcx4qsndfywy75z1pvmaxp90-libzauth-3.0.0.drv
<arianvp> /nix/store/29jyrri1rd8fva0j131ndjxxl6gmcxhk-nginx-1.16.1.drv
<clever> arianvp: nix-store --query --binding out /nix/store/1lga351dfcx4qsndfywy75z1pvmaxp90-libzauth-3.0.0.drv
<tmplt> clever: pkgsCross.arm-embedded.stdenv was exactly what I was looking for, cheers
<arianvp> outputs /nix/store/pfs24wsf2sw3ayq42ympn930mqmmxbbh-libzauth-3.0.0 on the place I built it and uploaded it.
magnetophon has joined #nixos
<arianvp> and and /nix/store/pfs24wsf2sw3ayq42ympn930mqmmxbbh-libzauth-3.0.0 on the place where I try to download it
<clever> arianvp: what about `nix show-config | grep sub` ?
<arianvp> it seems there
<arianvp> :/
<arianvp> works too
<clever> arianvp: did you try building it on this machine, cancel, then uploaded it to the cache from a 2nd one, and tried again?
tomberek has joined #nixos
<arianvp> which machine is 'this' in that sentence?
<clever> arianvp: the one that isnt downloaidng it
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/790970f6b1c (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<arianvp> it started building and we cancelled it
<tomberek> clever: found a solution to having two nix-daemons. Uses socat and `nix-daemon --stdio` and NIX_REMOTE=unix://path/to
<arianvp> then I made some changes that were impurities
<clever> arianvp: thats your problem
<clever> narinfo-cache-negative-ttl = 3600
<clever> $ nix show-config | grep narinfo-cache-negative-ttl
<clever> arianvp: if something isnt found in the binary cache, nix wont check again for an hour
<arianvp> ah caching and naming things
<clever> arianvp: `rm ~/.cache/nix/binary-cache-v6.sqlite*` as root, will make it forget, and re-check every cache
<arianvp> just need off-by-one-erros for the day
<arianvp> as in /root/.cache/nix ?
<clever> yeah
ZaraChimera has joined #nixos
<arianvp> why is this cache in the root user folder :P
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> arianvp: if nix-daemon is the one doing the query, it will be in the home of the user that ran nix-daemon
orivej has joined #nixos
<arianvp> ah and nix-daemon runs as root... (does it have to?)
<clever> nix-daemon must run as the user that can write to /nix/store
<clever> on nearly all multi-user installs, that is root
<clever> for single-user installs, you can skip the daemon entirely, and then it will be in that users home
<arianvp> was more a philosophical question
<clever> you can run nix-daemon as a non-root user, but not much point
Rusty1 has quit [Remote host closed the connection]
<arianvp> negative caching sounds like a horrible idea for nix's usecase .-.
<clever> arianvp: its a performance thing, to save you from doing potentially 100's of http requests every time you run nix-build
<clever> if the cache didnt have it 5 minutes ago, it likely wont have it now
magnetophon has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #80961 → glibc: provide fallback for kernels with missing prlimit64 → https://git.io/JvE8u
bridge[evilred] has joined #nixos
morgaine[evilred has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #80916 → [20.03] Backport python.pkgs.pybullet: 2.6.1 -> 2.6.6 → https://git.io/Jv0pO
<{^_^}> [nixpkgs] @jonringer pushed commit from @mjlbach to release-20.03 « python.pkgs.pybullet: 2.6.1 -> 2.6.6 »: https://git.io/JvE8K
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #80293 → flashrom: switch to Meson build and update deps → https://git.io/Jv8z7
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/JvE8X
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @romildo opened pull request #80962 → vimix-gtk-themes: init at 2020-02-24 → https://git.io/JvE8S
pauldub has quit [Quit: Communi 3.5.0 - http://communi.github.com]
karetsu has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @mmilata opened pull request #80963 → [20.03] qt5.qtbase: backport cmake macro fix → https://git.io/JvE8A
karetsu has joined #nixos
tmplt has quit [Quit: leaving]
ixxie has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
patrl has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #80534 → gomuks: 2019-06-28 -> 2020-02-19 → https://git.io/JvBYr
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/JvE4C
aveltras has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @Frostman opened pull request #80965 → hugo: 0.65.1 -> 0.65.3 → https://git.io/JvE47
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #80763 → weechatScripts.weechat-autosort: 3.4 -> 3.8 → https://git.io/JvRpO
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/JvE4F
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<{^_^}> [nixpkgs] @Frostman opened pull request #80967 → helm: 3.1.0 -> 3.1.1 → https://git.io/JvEBN
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/68df00b0ba6 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
zupo has joined #nixos
<ghasshee> #quit
ghasshee has quit [Quit: Lost terminal]
ghasshee has joined #nixos
<arianvp> yeh makes sense.
<arianvp> \
<{^_^}> cdepillabout/nix-reverse-deps-of-haskell-package#2 (by idontgetoutmuch, 10 minutes ago, open): Usage Question
<cinimod> Does anyone know how I use the tool to which I just posted a link?
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80968 → python27Packages.mockito: 1.2.0 -> 1.2.1 → https://git.io/JvERc
chloekek has quit [Quit: WeeChat 2.7]
<evanjs> Bah. Is fetchSubmodules in fetchFromGitHub not recursive? :/
mrleaW has joined #nixos
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80969 → python37Packages.tablib: 1.0.0 -> 1.1.0 → https://git.io/JvERw
<clever> evanjs: behind the scenes, it will switch over to pkgs.fetchgit if you set fetchSubmodules=true
<clever> evanjs: which just passes `--fetch-submodules` to the `nix-prefetch-git` script
<clever> evanjs: which then uses some custom bash to clone each submodule, i can see how that wouldnt be recursive
erasmas has joined #nixos
LouisDK has joined #nixos
jmeredith has joined #nixos
LouisDK has quit [Client Quit]
LouisDK has joined #nixos
ambro718 has joined #nixos
ambro718 has quit [Client Quit]
c0c0 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80971 → python37Packages.telethon: 1.10.10 -> 1.11.2 → https://git.io/JvE0f
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b962b666a9b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rail has quit [Ping timeout: 258 seconds]
noudle has joined #nixos
colemickens_ has quit [Quit: Connection closed for inactivity]
magnetophon has joined #nixos
growpotkin has joined #nixos
iqubic` has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
iqubic has joined #nixos
c0c0 has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #80944 → google-cloud-sdk: 268.0.0 -> 281.0.0 → https://git.io/JvEYF
<{^_^}> [nixpkgs] @zimbatm pushed commit from @leigh-perry to master « google-cloud-sdk: 268.0.0 -> 281.0.0 (#80944) »: https://git.io/JvE0c
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
opthomasprime has joined #nixos
cole-h has joined #nixos
c0c0 has quit [Quit: WeeChat 2.6]
klntsky has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #80972 → ocamlPackages.ocp-index: 1.1.9 → 1.2 → https://git.io/JvE02
klntsky has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #80656 → bluez-alsa: 2.0.0 -> 2.1.0 → https://git.io/JvRTq
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JvE0o
<{^_^}> [nixpkgs] @Mic92 merged pull request #80831 → netdata: 1.19.0 -> 1.20.0 → https://git.io/Jv0BV
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JvE0K
sigmundv has quit [Ping timeout: 260 seconds]
magnetophon has quit [Ping timeout: 265 seconds]
patrl has quit [Quit: WeeChat 2.7]
smatting has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #79665 → babelstone-han: 12.1.7 -> 13.0.3 → https://git.io/JvcRZ
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/JvE0i
wavirc22 has quit [Ping timeout: 260 seconds]
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @primeos pushed commit from @mkg20001 to master « ettercap: fix pango not finding hb.h from harfbuzz (#75789) »: https://git.io/JvE0D
bvdw has joined #nixos
rail has joined #nixos
<{^_^}> [nixpkgs] @primeos closed pull request #75789 → ettercap: fix pango not finding hb.h from harfbuzz → https://git.io/Je7YB
oida has joined #nixos
magnetophon has joined #nixos
aswanson has quit [Quit: WeeChat 2.6]
dm9 has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #80586 → gtkwave: 3.3.103 -> 3.3.104 → https://git.io/JvBKM
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @r-ryantm to master « gtkwave: 3.3.103 -> 3.3.104 »: https://git.io/JvEEq
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvEEO
<{^_^}> [nixpkgs] @mmahut merged pull request #80909 → libfido2: add macOS support → https://git.io/Jv0Fa
<{^_^}> [systemd] @flokli pushed 111 commits to nixos.v243.7: https://git.io/JvEE3
aswanson has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « ettercap: Switch to OpenSSL 1.1.1 »: https://git.io/JvEEG
vidbina has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #80967 → helm: 3.1.0 -> 3.1.1 → https://git.io/JvEBN
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JvEEn
magnetophon has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
LouisDK has quit [Ping timeout: 240 seconds]
gagbo has quit [Quit: I'm out !]
rail has quit [Ping timeout: 240 seconds]
Jackneill has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @primeos merged pull request #80959 → pythonPackages.mysql-connector: fix build for python != python3 → https://git.io/JvEC0
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JvEEw
karetsu has quit [Quit: WeeChat 2.6]
<simpson> Stupid question before I go on an adventure: Is it possible in a Nix build to have TTYs set up? I'm not seeing a recipe in the manual. I have a test runner that would like to do TTY stuff, and I want to know whether I should fix the Nix builder to set up TTYs, or fix the test runner to be okay with non-TTY usage.
m15k has joined #nixos
erictapen has joined #nixos
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #79686 → merriweather{,-sans}: add new fonts → https://git.io/Jvc2l
<{^_^}> [nixpkgs] @yegortimoshenko pushed 3 commits to master: https://git.io/JvEEQ
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/57a4956bc25 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<m15k> Hi. Maybe another noob question: But I cannot find the solution. I've macbook pro and I'm unable to do backslash via keyboard.
<{^_^}> [nixpkgs] @jtojnar opened pull request #80973 → stderred: init at unstable-2017-07-20 → https://git.io/JvEEN
lassulus has quit [Ping timeout: 255 seconds]
rail has joined #nixos
chloekek has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
vidbina has joined #nixos
<evanjs> what's the proper way to extend maintainers from an overlay?
<evanjs> m15k: one of the profiles here might help https://github.com/NixOS/nixos-hardware#incomplete-list-of-profiles
<m15k> evanjs: Seems that there's no special handling for keyboard.
chagra has joined #nixos
LouisDK has joined #nixos
leungbk has joined #nixos
Flambe has joined #nixos
<leungbk> I've been trying to add an Emacs package to Nixpkgs, rebuilding my installation of NixOS to use my modified branch of the Nixpkgs repo, but my installation doesn't seem to detect the package. Would anybody be able to help me diagnose this? http://paste.debian.net/1131818/
<evanjs> m15k: I'm seeing that " Option "XkbVariant" "mac"" is a thing. not sure of the breadth of mac options available, but this page might help https://nixos.wiki/wiki/Keyboard_Layout_Customization#Simple
<evanjs> Maybe try setting services.xserver.xkbVariant to mac
<{^_^}> [nixpkgs] @B4dM4n opened pull request #80974 → [20.03] pythonPackages.mysql-connector: fix build for python != python3 → https://git.io/JvEuS
<evanjs> m15k: additional info on apple keyboard quirks, that might be helpful combined with the aforementioned wiki page https://wiki.archlinux.org/index.php/Apple_Keyboard
cinimod_ has joined #nixos
veske has joined #nixos
veske2 has joined #nixos
amfl has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/57a4956bc25 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
amfl has joined #nixos
o1lo01ol1o has joined #nixos
cinimod_ has quit [Remote host closed the connection]
lassulus has joined #nixos
LouisDK has quit [Ping timeout: 240 seconds]
cinimod_ has joined #nixos
<m15k> evanjs: Thanks. Got it.
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vidbina has quit [Read error: Connection reset by peer]
magnetophon has quit [Ping timeout: 252 seconds]
LouisDK has joined #nixos
vidbina has joined #nixos
Rusty1 has joined #nixos
cinimod_ has quit [Client Quit]
cosimone has joined #nixos
morgaine[evilred has quit [Quit: Idle timeout reached: 10800s]
cinimod_ has joined #nixos
ris has joined #nixos
lord| has quit [Read error: Connection reset by peer]
cinimod_ has quit [Client Quit]
lord| has joined #nixos
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
rail has quit [Ping timeout: 240 seconds]
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
pnobre has joined #nixos
LysergicDreams has quit [Ping timeout: 258 seconds]
cinimod_ has joined #nixos
<{^_^}> [nixpkgs] @ggreif opened pull request #80975 → ghc: add 8.8.3 (copied from 8.8.2) → https://github.com/NixOS/nixpkgs/pull/80975
cosimone has quit [Quit: Terminated!]
hoppfull has joined #nixos
cinimod_ has quit [Client Quit]
pnobre_ has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cosimone has joined #nixos
<hoppfull> Hello. I'm trying to connect to docker hub with VSCode and I got an error message "The name org.freedesktop.secrets was not provided by any .service files". I googled this and found a solution for ubuntu that suggests to install "gnupg2" and "pass". gnupg2 is available in nixos but not pass. Am I on the right path here? Is there some special way to
<hoppfull> handle credentials in nixos?
pnobre has quit [Ping timeout: 255 seconds]
<cole-h> Pass is definitely in nixpkgs.
`mrleaW has joined #nixos
<manveru> ,locate bin pass
<cole-h> It's in `pass`
<{^_^}> Found in packages: pass, pass-otp
<hoppfull> nix-env -qaP pass yields "error: selector 'pass' matches no derviations"
`mrleaW_ has joined #nixos
<manveru> try `nix search` instead
`mrleaW_ has quit [Client Quit]
<evanjs> having issues using niv with an overlay. anybody have experience with this?
mrleaW has quit [Ping timeout: 255 seconds]
<manveru> evanjs: what issue?
<hoppfull> manveru: thanks
<cole-h> `nix-env -qaP password-store`
stree has quit [Quit: Caught exception]
<jtojnar> hoppfull that error is about secret service, nothing to do with gpg
<evanjs> manveru: issues with using packages that utilize fetchGit from the overlay I'm consuming seem to fail to fetch
stree has joined #nixos
<evanjs> this is on a CI system (Jenkins) but I'm passing the relevant key into the env
<manveru> what's the failure?
`mrleaW has quit [Ping timeout: 260 seconds]
dckc has quit [Ping timeout: 252 seconds]
veske has joined #nixos
<hoppfull> jtojnar: Could you point me in the right direction? googling "nixos secret service" -> "did you mean 'nixon'"
veske2 has joined #nixos
veske has quit [Client Quit]
veske2 has quit [Client Quit]
<jtojnar> hoppfull one thing that provides secret service is gnome keyring
<jtojnar> see services.gnome3.gnome-keyring.enable option
<evanjs> manveru: git@misc.rjginc.com: Permission denied (publickey). -- fatal: Could not read from remote repository.
<evanjs> I feel like it's something with my build scripts but idk
<cole-h> hoppfull: Also, if you wrap `nixos` in an extra set of quotes (`"nixos" secret service`), it usually bypasses Nixon
<hoppfull> cole-h: cool :)
<hoppfull> I found this https://www.gnu.org/software/emacs/manual/html_node/auth/Secret-Service-API.html It seems to contain a lot of useful information to get me going on the right path.
m15k has quit [Remote host closed the connection]
<hoppfull> It seems like I may not even need pass or whatever it's called since I already have KDE Wallet.
dckc has joined #nixos
ongy[m] has joined #nixos
ongy[m] has quit [Changing host]
ongy[m] has joined #nixos
pnobre_ is now known as pnobre
stree has quit [Quit: Caught exception]
stree has joined #nixos
<manveru> evanjs: sorry, i'm not sure about this case
<manveru> maybe open an issue with niv for it?
hoppfull has quit [Remote host closed the connection]
drakonis has joined #nixos
<evanjs> I will if I can't figure it out after this thing. Figuring it's just an auth issue on my end
<{^_^}> [nixpkgs] @lsix merged pull request #80969 → python37Packages.tablib: 1.0.0 -> 1.1.0 → https://git.io/JvERw
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvEgS
<{^_^}> [nixpkgs] @lsix merged pull request #80968 → python27Packages.mockito: 1.2.0 -> 1.2.1 → https://git.io/JvERc
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvEgd
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80977 → quantum-espresso: 6.4.1 -> 6.5 → https://git.io/JvEgN
<{^_^}> [nixpkgs] @lsix pushed commit from @r-ryantm to release-20.03 « python27Packages.mockito: 1.2.0 -> 1.2.1 »: https://git.io/JvEgA
stree has quit [Remote host closed the connection]
cosimone has quit [Quit: Quit.]
<pnobre> so, back to nixos after the weekend (a long weekend, I must say) and trying to figure out where the files in this dir `/nix/store/some-hash-desktops/share/xsessions` are coming from ... as I currently have there what seems to be a gnome on xorg (that's correct), gnome on wayland (I have wayland disabled), xfce (that would also be correct, although I'd like to make some changes to it) and xterm (I'd also like to get rid of this one)
nerdmaxx has joined #nixos
<pnobre> I can see xfce.desktop in `/nix/store/some-hash-desktops/share/xsessions` just dunno where the others are coming from...
stree has joined #nixos
LysergicDreams has joined #nixos
<evanjs> manveru: yeah it works as root on the jenkins box so likely just something with my build env
psyanticy has quit [Quit: Connection closed for inactivity]
ixxie has quit [Ping timeout: 272 seconds]
vykook has quit [Ping timeout: 272 seconds]
<cinimod> I'd like to trace what is in `meta.platforms` but if I try `let isBrokenRes = builtins.trace "foo: ${name} ${drv.meta.platforms}" isBroken' drv;` then nix complains `error: cannot coerce a list to a string`
<{^_^}> [nixpkgs] @jtojnar merged pull request #80837 → ostree: 2019.6 -> 2020.2 → https://git.io/Jv00W
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/JvE2u
<gchristensen> are there any known problems with specifying a /dev/disk/by-id/... path for grub? like is there reason / need to use /dev/sdx or a different /dev/disk/xxx/xxx path instead for example
<cinimod> How should I trace the list?
<cole-h> gchristensen: by-id should work. It's just a symlink to the /dev/sdx path
<cole-h> `stat /dev/sisk/by-id/usb-WD_My_book_.......` -> ../../sde
<gchristensen> yeah
<niksnut> yes it works fine
<cole-h> Are you asking because you're having a problem specifying that?
<cole-h> Or just clarifying
<niksnut> I've used /dev/disk/by-id,uuid,label
<gchristensen> nice, niksnut
<gchristensen> cole-h: just double-checking some assumptions, I have a particular server class which has a hard time booting -- and making sure this isn't related
Neo-- has quit [Ping timeout: 240 seconds]
vykook has joined #nixos
<samueldr> [15:00:56] <gchristensen> stage-1, trying to find the disk
<samueldr> [14:57:50] <gchristensen> I've seen fishy things with that too
<samueldr> [15:00:41] <samueldr> at which point?
<samueldr> [15:00:13] <gchristensen> another system which seems to not be finding its by-id disks, very annoyingly
<samueldr> udev shenanigans could be happening here
<gchristensen> I'm not really able to dig in to that stage-1 failure at the moment for diagnostics, but happy to talk further
<samueldr> it is udev that handles making those
<gchristensen> (still fighting this one where the bios doesn't find the bootloader on this particular server :)) yeah it is a bit weird, since almost all of the systems do fine and then this particular class doesn't.
<samueldr> so, 99.99% sure since it's stage-1 that's failing that, for your initial question "no, no problems with grub for using those"
<gchristensen> yeah -- these are two different chassis
<samueldr> if it's consistent, it might be that a hwdb file for udev is not copied to stage-1
<gchristensen> interesting
<samueldr> is it fancy hardware?
<gchristensen> well, not sure -- it only happens on a very specific type of system
<samueldr> thus my question :)
<gchristensen> hmm I think it is fancy
* samueldr searches for the relevant file in nixpkgs
<evanjs> manveru: wow.... yep... was using the wrong credentials.... :D
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JvE2y
<{^_^}> [nixpkgs] @romildo merged pull request #80111 → yaru-theme: 19.10.5 -> 20.04.1 → https://git.io/JvlGr
<gchristensen> I think it is a cavium thunderx
<samueldr> this is the subset of rules that is being copied to stage-1
<gchristensen> hm!
<samueldr> I'm not udev-savvy enough to help you track which file is being used in the booted system
<samueldr> (assuming the booted system has the right links)
<Cadey> gchristensen: please don't make nix a lisp
<gchristensen> Cadey: what?
<gchristensen> samueldr: I'll have to get in to the system at stage-1 and try it out, probably not today -- great pointer though. I need to focus on this grub thing for now :)
<samueldr> gchristensen: for the grub thing, would installAsRemovable help in being more stable?
<samueldr> e.g. is systemd-boot stable?
<samueldr> IIRC our systemd-boot setup uses the fallback location
<gchristensen> hmmm good question, this makes me think maybe it isn't an ARM one since I think it is a bios boot not uefi
<gchristensen> how about this for useless :P
<{^_^}> [hydra] @dasJ opened pull request #719 → Show what type of path was found in search results → https://git.io/JvE2p
ATuin has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #80974 → [20.03] pythonPackages.mysql-connector: fix build for python != python3 → https://git.io/JvEuS
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/JvEae
chloekek has quit [Ping timeout: 272 seconds]
qubasa_ has quit [Ping timeout: 265 seconds]
qubasa has joined #nixos
<{^_^}> [nixpkgs] @sikmir closed pull request #80291 → cantata: 2.3.3 -> 2.4.0 → https://git.io/Jv8zY
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
pnobre has quit [Ping timeout: 258 seconds]
matthiaskrgr has joined #nixos
LouisDK has quit [Ping timeout: 272 seconds]
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @andir opened pull request #80978 → opensmtpd: 6.6.3p1 -> 6.6.4p1 → https://git.io/JvEa2
<{^_^}> [nixpkgs] @sikmir closed pull request #80033 → calibre: 4.8.0 -> 4.10.1 → https://git.io/JvWH9
niso__ has joined #nixos
ghasshee has quit [Ping timeout: 258 seconds]
<jared-w> gchristensen: Just out of curiosity, I've noticed that nixpkgs has a slowly ever growing amount of open PRs. Has there been any thought into systematic ways to fix that? Maybe auto merging stuff that passes tests? Idk. Just randomly noticed that and I think I remember that you have bors setup for nixpkgs so in theory it helps merge stuff in automatically?
<gchristensen> that number has remained pretty stable over 3 years, and I'm not sure merging all of them is a good goal. here is a 30 day diff: https://status.nixos.org/grafana/d/nUq1ufyZz/github-issues-and-prs-offset-diff?orgId=1&refresh=30s&from=now-7d&to=now
jackal_ has joined #nixos
<rycee> It's been noticed once or twice before 😉
<gchristensen> :P
<jared-w> ah nice, not too bad then. Looks like I coincidentally started paying attention right during an upswing of the PR number so that's why it looked monotonic to me :p
<gchristensen> :D
<jared-w> (would be nice to have it be roughly zero tho, just saying)
<{^_^}> [nixpkgs] @mkg20001 opened pull request #80979 → anydesk: add update script → https://git.io/JvEaQ
<jared-w> https://github.com/NixOS/nixpkgs/pull/80977 is a prime example of something that looks auto-mergeable.
<gchristensen> yeah, it'd be nice to close out PRs which aren't likey to merge any time soon
<{^_^}> #80977 (by r-ryantm, 53 minutes ago, open): quantum-espresso: 6.4.1 -> 6.5
<gchristensen> a bot merging another bot's PR is probably not a good idea
<gchristensen> yeah, it'd be nice to close out PRs which aren't likey to merge any time soon, though I doubt it'll ever be approximately zero -- we 1500+ prs a month
<cransom> that was one of the prequels that didn't get greenlit for the terminator franchise
<rycee> I've seen a few projects having a bot that comments on issues that haven't moved in some amount of time and if nobody answers the bot within some time limit then the issue is closed.
cosimone has joined #nixos
<jared-w> Sure; not saying to go crazy, but if they're super routine "bump the digits" PRs, it makes sense that there should be an equally minimal amount of work required for a human to merge it in. Even if they're just "rolled up" into a larger routine-updates style PR which then has less overhead for a human to approve
<gchristensen> rycee: yeah, I think that has been suggested by an RFC. I don't like that very much, because it means I get about a dozen emails every month where I just hav et ogo comment on an issue "this is still a bug" to keep it from closing
mexisme has quit [Quit: WeeChat 2.7]
<gchristensen> a roll-up is interesting
<rycee> gchristensen: Yeah, I would hope there is a way to tell the bot that "this issue should remain open and don't check it again"
<jared-w> Seems more like a mis-configured stale bot than anything else, tbh. Rust has used roll-ups to very high effectiveness. It's particularly powerful with drive-by PRs that touch different parts of the codebase in harmless ways
<AmandaC> Inactivity isn't a very good indicator of a bug's value, imho. There's nothing that frustrates me more than getting some error, googling it, and it's reported in some project, which then had their bot close the issue, obviously unresolved
<andi-> Yeah, I'd go as far as automate the "keep my tickets open" step because it is really discouraging of actually reporting a bug
jackal_ is now known as jackalxyz
<gchristensen> jared-w: for some context, take a look at debian's open bug count :)
<gchristensen> (on second thought, not even sure how to do that)
<jared-w> Or if anything, just mark the bug as "stale" or "unassigned" until it's been moved into an appropriate category. I'd imagine many of those stale bugs are just small things that get hidden beneath a growing pile of busywork; it's not surprising to see bugs that are duplicates, or were fixed ages ago but never identified appropriately
<jared-w> gchristensen: I'm sure it's worse :p https://wiki.debian.org/Statistics
<jared-w> Looks like just their release-critical bugs are about the same amount as *all* of nixpkgs's issues
<gchristensen> jared-w: I think my best recommendation for you is to just find peace in the fact that the PR number doesn't mean much
<gchristensen> and to try to review PRs to help get them merged
sbetrium has quit [Quit: sbetrium]
chagra has quit [Ping timeout: 255 seconds]
opthomasprime has left #nixos [#nixos]
philr has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #80980 → umoci: 0.4.4 -> 0.4.5 → https://git.io/JvEVK
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @mkg20001 to release-20.03 « ettercap: fix pango not finding hb.h from harfbuzz (#75789) »: https://git.io/JvEV6
<nilsirl[m]> How can I view the version of a package that is currently installed?
<AmandaC> nilsirl[m]: depends how it's installed. `nix-env -q <package-name>` -- not sure for a environment.systemPackages
<nilsirl[m]> AmandaC: I'm looking for packages installed via systemPackages :)
rail has joined #nixos
<AmandaC> nilsirl[m]: Hrm. You might be able to fanagle some stuff from /run/sw/current-system or wherever that is. IIRC it simply simlinks them, so if you readlink deep enough you'll find the /nix/store path which has it's version in it
<nilsirl[m]> ty, that works. Not perfect but good enough. (better than going on nixos.org and not even being sure the installed version is the same as on the website)
chimay has quit [Ping timeout: 255 seconds]
<AmandaC> If at all possible, I'd suggest doing something like `foo -v`, `foo --version`, `foo version` if the tool has it; for anything you'd share publically.
<{^_^}> [nixpkgs] @romildo merged pull request #80638 → mojave-gtk-theme: 2019-12-12 -> 2020-02-20 → https://git.io/JvBAi
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JvEVh
<nilsirl[m]> <AmandaC "If at all possible, I'd suggest "> yeah, unfortunately that's not always possible
rail has quit [Ping timeout: 240 seconds]
<pbb_> Hey, is there *any* way to specify a custom ssh port for Nix builders without modifying the global configuration?
<ikwildrpepper> pbb_: not sure, but I would think changing ssh_config might work?
<{^_^}> [nixpkgs] @romildo merged pull request #80717 → qogir-theme: 2019-10-25 -> 2020-02-20 → https://git.io/JvRE8
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JvEwU
<pbb_> Sure that works but it is a change in the global configuration
<ikwildrpepper> oh, you mean globally defined nix builders?
<pbb_> No, I want to be able to do a nix-build as a Nix trusted user without modifying anything in /etc.
zupo has joined #nixos
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JvEwk
<{^_^}> [nixpkgs] @romildo merged pull request #80720 → qogir-icon-theme: 2020-01-29 -> 2020-02-21 → https://git.io/JvREM
<pbb_> I tried specifying the port with "--builders ssh://foo@bar:1234", "--builders ssh://foo:bar?port=1234", I tried NIX_SSHOPTS, and then I even tried to put a wrapper for the ssh binary in the path which adds -p62954 and I built an FHSUserEnv containing an ssh_config file
<pbb_> None of those worked, because the daemon is reading the ssh_config file
<nilsirl[m]> For some reason, my `.profile` is no longer loaded/sourced anymore. That wasn't the case before. Is this related to NixOS? (I'm on nixos-unstable)
<LnL> pbb_: not that I know of
<{^_^}> [nixpkgs] @romildo merged pull request #80729 → nordic: 1.6.5 -> 1.8.1 → https://git.io/JvR2t
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JvEwt
<pbb_> That really makes me sad to be honest
wiml has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
Naptra has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @romildo merged pull request #80732 → nordic-polar: 1.5.0 -> 1.6.0 → https://git.io/JvR2X
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JvEwY
<LnL> I think it's pretty straightforward to add a port param tho
* LnL looks
<pbb_> I think there is an open issue
<{^_^}> [nixpkgs] @bachp opened pull request #80981 → nixos/nextcloud: prevent warning about missing X-Frame-Option → https://git.io/JvEw3
skorpy2009 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #80982 → various: use qt5's mkDerivation → https://git.io/JvEwZ
<{^_^}> nix#1994 (by volth, 1 year ago, open): support for custom ssh port in ssh:// urls
vidbina has joined #nixos
magnus1 has joined #nixos
magnus1 is now known as skorpy2009
shibboleth has joined #nixos
grumble has quit [Quit: Some software updates just make me want to cURL up in a corner and sob.]
grumble has joined #nixos
energizer` has joined #nixos
grumble has joined #nixos
grumble has quit [Changing host]
<{^_^}> [nixpkgs] @kalbasit merged pull request #80965 → hugo: 0.65.1 -> 0.65.3 → https://git.io/JvE47
<{^_^}> [nixpkgs] @kalbasit pushed commit from @Frostman to master « hugo: 0.65.1 -> 0.65.3 (#80965) »: https://git.io/JvEwH
<{^_^}> [nixpkgs] @B4dM4n opened pull request #80983 → seasocks: remove unneeded patch → https://git.io/JvEw7
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<energizer`> Is running `lorri shell` supposed to give the same environment as running `nix-shell`? It isn't doing so for me.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80983 → seasocks: remove unneeded patch → https://git.io/JvEw7
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvEwA
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @B4dM4n to release-20.03 « seasocks: remove unneeded patch »: https://git.io/JvEwh
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @primeos to release-20.03 « ettercap: Switch to OpenSSL 1.1.1 »: https://git.io/JvErv
<{^_^}> [nixpkgs] @yesbox opened pull request #80984 → nixos/upnp: NAT-PMP support and more → https://git.io/JvErf
philr has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ekleog merged pull request #80978 → opensmtpd: 6.6.3p1 -> 6.6.4p1 → https://git.io/JvEa2
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/JvErU
erictapen has quit [Ping timeout: 265 seconds]
tomberek has quit [Ping timeout: 258 seconds]
<leungbk> I've been trying to add an Emacs package to Nixpkgs,
<leungbk> rebuilding my installation of NixOS to use my modified branch of the
<leungbk> Nixpkgs repo, but my installation doesn't seem to detect the
<leungbk> package. Would anybody be able to help me diagnose this?
<leungbk>
jackalxyz has quit [Quit: Leaving]
<AmandaC> I feel like there should be a proper way to do this, but my old solution of `fetchTarBall` and then importing from that wasn't working anymore, what'd be the right way do pin this? https://gitlab.darkdna.net/amanda/nix/-/blob/master/nixos-common.nix#L23
fenedor has joined #nixos
<deni> in my configuration.nix if I have imports = [ ./mymodule.nix ] how do I pass parameters to it? imports = [ ./mymodule.nix { foo = bar;}] does not seem to work
<{^_^}> [nixpkgs] @worldofpeace opened pull request #80985 → perl-packages: don't use openssl_1_0_2 → https://git.io/JvEr8
<deni> the error I'm getting is that option foo defined in configuration.nix does not exist
<clever> deni: that is a list containing a path and a set, not the result of applying the set to a function
drakonis has quit [Ping timeout: 258 seconds]
<deni> clever: if mymodule.nix is expecting some inputs and I want to override foo how would I do that then?
Jackneill has joined #nixos
<v0|d> hello, is there a better way to set a static ether arp record besides networking.localCommands?
vidbina has quit [Ping timeout: 265 seconds]
<clever> deni: it would be best to make it into a normal nixos option
zupo has quit [Ping timeout: 255 seconds]
<deni> clever: hmmm....that makes total sense ... I don't know why I didn't think of that
<deni> thank you!
zupo has joined #nixos
fendor has quit [Read error: Connection reset by peer]
ATuin has quit [Quit: WeeChat 2.7]
drewr has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #80913 → Cozette: Init at 1.5.1 → https://git.io/Jv0As
<{^_^}> [nixpkgs] @rnhmjoj pushed 3 commits to master: https://git.io/JvEoJ
fenedor is now known as fendor
drakonis has joined #nixos
<energizer`> Where is the documention of users.users?
Jackneill has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #80986 → vde2: fix build with latest openssl → https://git.io/JvEok
erictapen has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #80987 → ipmitool: migrate to openssl 1.1 → https://git.io/JvEoq
smatting has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol_ has quit [Ping timeout: 258 seconds]
<worldofpeace> energizer`: https://nixos.org/nixos/options.html#users.users.%3Cname%3F%3E
shibboleth has quit [Quit: shibboleth]
<energizer`> worldofpeace: Thanks. Is there a way to query help from the nix CLI?
<worldofpeace> energizer`: I think there's a manual `man configuration.nix`. And if you're using a GUI you should have a NixOS manual you can view in a browser locally with all the options
linarcx has quit [Ping timeout: 255 seconds]
<deni> clever: what type does pkgs.writeScript return? It doesn't appear to be a path.
<deni> clever: I'm trying to write a config file and then I'm passing it to the module as a nixos option
<clever> deni: its a derivation that builds to a shell script
<clever> deni: note that it takes 2 params, a name and the script
<energizer`> Is https://github.com/github/hub on nixpkgs? I can't find it.
<deni> clever: so I'd need writeTextFile it seems?
<deni> since this is a config file and not a script
<clever> deni: do you want a file or a script?
<clever> yeah, writeTextFile is what you want then
<deni> clever: that said... I'm trying to pass the output of that function to a module as a nixos option. And I've defined the option as types.path.... and it's complaining that what I'm passing in isn't of types.path
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80938 → [20.03] pythonPackages.pyfribidi: fix build → https://git.io/JvEtx
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-20.03: https://git.io/JvEou
<clever> deni: "${that_drv}"
<deni> clever: I can never remember when I need to use the escape thingy and when not
gustavderdrache has quit [Quit: Leaving.]
cinimod_ has joined #nixos
<{^_^}> [nixpkgs] @grahamc opened pull request #80988 → Backport `expect` stty fix → https://git.io/JvEo6
<{^_^}> [nixpkgs] @snicket2100 opened pull request #80989 → siege: 4.0.4 -> 4.0.5 → https://git.io/JvEoP
<deni> ah it appears writeText is what I'm looking for actually...however when I pass that in to the module as "${that_drv}" I get an error saying cannot coerce a set to a string
<clever> deni: what is the definition of that_drv?
cinimod_ has quit [Client Quit]
<deni> I'm guessing I should somehow be returning the dnscrypt-config value?
<clever> one min
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<deni> hmm or I should call it like that_drv.dnscrypt-config actually
fendor has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
<clever> deni: yeah, that is a set, which containd dnscrypt-config, so you must do .dnscrypt-config
<ivegotasthma> hello, how do I work with haskell and stack on nixos?
<ivegotasthma> I have an env with stack in it, but whenever I create a project it wants to run stack init and can never build
<deni> clever: yep worked it out...had to do one final fix which was cast port to builtins.toString port
<deni> but it appears to be working
drakonis has quit [Ping timeout: 258 seconds]
__monty__ has quit [Quit: leaving]
vandenoever has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #80945 → python27Packages.gphoto2: 2.0.0 -> 2.1.0 → https://git.io/JvEO3
<growpotkin> Hey so I've made a million shells for dev environments; but how do I go about making one for running PHP? The usual searches didn't turn up anything directed at shells, I was almost considering using nixops and a VM; but I'm sure somebody here has an existing shell they could share.
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<{^_^}> [nixpkgs] @grahamc merged pull request #80988 → Backport `expect` stty fix → https://git.io/JvEo6
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to release-20.03: https://git.io/JvEKk
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80943 → python27Packages.datadog: 0.33.0 -> 0.34.1 → https://git.io/JvEYg
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvEKI
<leungbk> I've been trying to add an Emacs package to Nixpkgs, rebuilding my installation of NixOS to use my modified branch of the Nixpkgs repo, but my installation doesn't seem to detect the package. Would anybody be able to help me diagnose this? http://paste.debian.net/1131818/
drakonis1 has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @reardencode opened pull request #80990 → Add J-Link binary package for embedded debugging → https://git.io/JvEKn
eri451 has joined #nixos
tomberek has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80935 → [20.03] whitebox-tools: 0.16.0 -> 1.2.0 → https://git.io/JvEtt
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JvEKa
<{^_^}> [nixpkgs] @stigtsp opened pull request #80991 → perlPackages.MozillaCA: replace outdated cacert.pem with pkgs.cacert → https://git.io/JvEKr
maddo has quit [Quit: See ya]
<{^_^}> [nixpkgs] @jonringer opened pull request #80992 → dotnetCorePackages.{aspnetcore,netcore,sdk}*: bump → https://git.io/JvEKK
drakonis has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #80993 → [20.03] opensmtpd: bump to 6.6.4p1 → https://git.io/JvEKX
<gchristensen> LnL: how do you add secret providers to vault with nixos configs? seems the sha256 hashing is a bit annoying
nerdmaxx has quit [Quit: leaving]
<growpotkin> leungbk: hey I use Emacs/Spacemacs, maybe I can help
kahiru has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @wd15 opened pull request #80994 → pythonPackages.sfepy: 2019.2 -> 2019.4 → https://git.io/JvEKy
smatting has quit [Ping timeout: 260 seconds]
edwtjo has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @rycee pushed 3 commits to master: https://git.io/JvEK9
<deni> what is the difference between nixos-unstable and nixpkgs-unstable branches/channels?
<gchristensen> ,which-channel deni
<{^_^}> [nixpkgs] @zimbatm merged pull request #80903 → srcOnly: remove the ellipsis → https://git.io/Jv0HD
<{^_^}> [nixpkgs] @zimbatm pushed to master « srcOnly: remove the ellipsis (#80903) »: https://git.io/JvEKH
<{^_^}> [nixpkgs] @rycee closed pull request #78926 → Updating node packages and adding yaml-language-server → https://git.io/JvOd2
wolfshappen has joined #nixos
kahiru has joined #nixos
<deni> gchristensen: thank you! I guess it was confusing that I found the nixos-* branches in nixpkgs but as it turns out actually I should have been looking at the release-* branhces.
colemickens_ has joined #nixos
habbah has quit [Changing host]
habbah has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
hoppfull has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
Flambe has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
vidbina has joined #nixos
m0rphism has quit [Ping timeout: 252 seconds]
<hoppfull> How do you add extra paths to PATH in nixos?
o1lo01ol1o has quit [Ping timeout: 265 seconds]
rogue_koder has quit [Ping timeout: 240 seconds]
<hoppfull> Do I have to do it in configuration.nix or is it possible to tie it to my user in /home?
rogue_koder has joined #nixos
hoppfull has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 258 seconds]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<LnL> gchristensen: I've not really used those together yet
<gchristensen> I'm trying to build https://github.com/t0mk/vault-plugin-secrets-packet but for some reason buildGoModule isn't working. here is my expression: https://gist.github.com/grahamc/0b5b5e439bf1a74cad17ae5da4af1791 system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3.2, channels(root): "nixos-20.03beta216.d31e383c44e", channels(grahamc): "", nixpkgs:
<gchristensen> /nix/var/nix/profiles/per-user/root/channels/nixos any ideas why? I'm not very familiar with go's build tooling
<leungbk> growpotkin: Thanks for your response! Would you mind checking out this paste? http://paste.debian.net/1131818/
<turq> i have tried to install xmonad, but when i enter my password at the login screen i am only returned back to the login screen. how do i even begin to debug what's going on here?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9d0c560867c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
rail has joined #nixos
aaa_ has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
rail has quit [Ping timeout: 272 seconds]
cosimone has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvE6Q
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80985 → perl-packages: don't use openssl_1_0_2 → https://git.io/JvEr8
cosimone has joined #nixos
cosimone has quit [Client Quit]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #80995 → [20.03] perl-packages: don't use openssl_1_0_2 → https://git.io/JvE6x
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80993 → [20.03] opensmtpd: bump to 6.6.4p1 → https://git.io/JvEKX
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-20.03: https://git.io/JvE6j