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
<Cadey> gchristensen: who should i thank for lorri? it's fundamentally changed the way i build software for the better
justanotheruser has joined #nixos
<gchristensen> Cadey: Profpatsch and I did a good bit of the dev, and Target / shlevy let us do that :)
<{^_^}> [nixpkgs] @veprbl merged pull request #84978 → mame: 0.219 -> 0.220 → https://git.io/Jvh2H
<{^_^}> [nixpkgs] @veprbl pushed commit from @gnidorah to master « mame: 0.219 -> 0.220 (#84978) »: https://git.io/JfeO4
qrnteen has quit [Quit: Leaving]
<energizer> is there any effort toward standardizing names like fetchFromGitHub vs fetchPypi and mkFoo vs buildFoo vs createFoo?
MightyJoe has joined #nixos
cyraxjoe has quit [Ping timeout: 256 seconds]
bbarker_away has quit [Quit: Leaving]
<bqv> lol, there isn't eve na
bbarker has joined #nixos
<bqv> lol, there isn't even a standard between fetchFromGitHub and fetchFromGithub
<bqv> of course not
<worldofpeace> gchristensen: hmm, I think I merged a modemmanager update to release-20.03
jasom has joined #nixos
<gchristensen> worldofpeace: it looks like an llvm build failed, and then restarted and succeeded -- and the channel advanced despite a bunch of failed builds. no worries, I restarted them
jgeerds_ has quit [Ping timeout: 258 seconds]
<bbarker> say I have `deps = (import deps.nix);` in a shell.nix file, and in that shell.nix file, I want to somehow inherit deps.env (inherit implying i do want to make some changes or additions at least) - how do I do this?
<{^_^}> #79877 (by Infinisil, 8 weeks ago, open): Improve callPackage error message!
<bqv> heh
<bqv> +1
<ottidmes> infinisil: Any reason not to proxy pass to ZNC like so: https://gist.github.com/alyssais/e756e730426a8b74664877c459ddaf45#file-znc-nix-L11-L22
<aanderse> are there any lutris users here? i'm wondering what the state of lutris is. today i installed it and tried to get it to install a game and it said something about can't find ssl something or other, so can't download my game
<aanderse> seemed like a pretty basic thing that should work, so i wonder if lutris isn't in a good state yet. i'm running 20.03 beta btw
reallymemorable has quit [Quit: reallymemorable]
<worldofpeace> that sounds like the glib-networking error
<worldofpeace> aaron: maybe try services.gnome3.glib-networking.enable as a workaround (maybe)
cyraxjoe has joined #nixos
<aanderse> oh also when i start up it says "lutris was unable to detect vulkan support for the i386 and x86_64 archicecture" which seemed bad
<aanderse> worldofpeace: thanks, will look now
<aanderse> worldofpeace: exactly right: "TLS/SSL support not available; install glib-networking"
MightyJoe has quit [Ping timeout: 264 seconds]
<aanderse> trying now
<gchristensen> twemoji is so big lol
reallymemorable has joined #nixos
<gchristensen> honestly I've compiled pulseaudio alacritty and emacs in less time
<infinisil> ottidmes: Didn't even think of doing that, but I guess since the standard setup works (assuming the acme thing can be niceified) I'll stick to that
<aanderse> worldofpeace: unfortunately that did not solve the problem :(
m0rphism has quit [Ping timeout: 240 seconds]
rogue_koder has quit [Ping timeout: 258 seconds]
<worldofpeace> aaron: if you rebuild switched you probably should log out and log in
<gchristensen> though you might try systemctl --user daemon-reload
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/21750051b26 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
morgrimm has joined #nixos
erictapen has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jfe34
broccoli has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9f0f06ac8be (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f5867d86fef (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixos-homepage] @garbas merged pull request #393 → indentation fix → https://git.io/Jfemy
<{^_^}> [nixos-homepage] @garbas pushed to master « indentation fix (#393) »: https://git.io/Jfe3u
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to small-indent-fix: https://git.io/Jfe3z
rogue_koder has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to plasma5-rename: https://git.io/Jfe3g
<vika_nezrimaya> Using Nix to build FHS-compatible Golang binaries: is it possible?
sigmundv_ has quit [Read error: Connection reset by peer]
<aanderse> worldofpeace (@worldofpeace:matrix.org): thanks, I'll give that a try
sigmundv_ has joined #nixos
<vika_nezrimaya> Environment: Gitlab CI. Objective: build a combined package of Node.js website embedded in a Go binary that could run on a FHS-compatible Linux OS (i.e. ubuntu docker container). Can use Nix in container, cannot depend on Nix or anything in /nix/store outside of build process - all paths need to emulate a FHS system. Can it be done using virtual FHS environments that Nix provides for wrapping proprietary binaries?
<{^_^}> [nixos-homepage] @garbas pushed to plasma5-rename « revert formatting changes of news.xml »: https://git.io/Jfe36
CrazyMind102 has joined #nixos
<CrazyMind102> Hi.
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
<bqv> vika_nezrimaya: why not build an FHS env and then include go binaries, and build within that
<{^_^}> [nixos-homepage] @garbas pushed commit from @zarelit to 370_fix_null_in_examples « Handle null values in attrsets option examples »: https://github.com/NixOS/nixos-homepage/commit/bcc43dd6c056
<vika_nezrimaya> bqv: so use FHS go in a FHS env?
<vika_nezrimaya> foreign go
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to 370_fix_null_in_examples: https://github.com/NixOS/nixos-homepage/compare/bcc43dd6c056...000000000000
<vika_nezrimaya> could actually work!
<bqv> yep :p
<{^_^}> [nixos-homepage] @garbas merged pull request #371 → Handle null values in attrsets option examples → https://github.com/NixOS/nixos-homepage/pull/371
<{^_^}> [nixos-homepage] @garbas pushed commit from @zarelit to master « Handle null values in attrsets option examples (#371) »: https://github.com/NixOS/nixos-homepage/compare/b1f7b3ba0970...071356066efd
<{^_^}> [nixos-homepage] @garbas closed pull request #300 → [WIP] Adds unfree software (hidden by default) → https://git.io/fjxaU
<ottidmes> infinisil: Looking at the capabilities used on the config I base my weechat config on, is see this used: [ "account-notify" "away-notify" "cap-notify" "multi-prefix" "server-time" "znc.in/server-time-iso" "znc.in/self-message" "znc.in/playback" ] do you have it similarly?
CrazyMind102 has left #nixos [#nixos]
drakonis has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed 5 commits to landing-page: https://github.com/NixOS/nixos-homepage/compare/6d85b4763ff1...e388a7c0509d
<{^_^}> [nixos-homepage] @garbas closed pull request #228 → add coqPackages, idrisPackages, nodePackages, quicklispPackages to package list → https://github.com/NixOS/nixos-homepage/pull/228
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
MightyJoe has joined #nixos
cyraxjoe has quit [Ping timeout: 258 seconds]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 260 seconds]
cyraxjoe has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
<infinisil> ottidmes: Yeah I have account-notify,away-notify,cap-notify,multi-prefix,server-time,znc.in/self-message,znc.in/server-time-iso,znc.in/playback
erictapen has quit [Quit: leaving]
<infinisil> Under irc.server_default.capabilities
MightyJoe has quit [Ping timeout: 250 seconds]
h0m1 has joined #nixos
bhipple has quit [Ping timeout: 264 seconds]
drakonis has joined #nixos
growpotkin has quit [Ping timeout: 260 seconds]
<ottidmes> infinisil: Thanks! After I mimick the declerative generation of a script that sets weechat options, I should be ready to test it all out
bhipple has joined #nixos
<colemickens> Hm, every once in a while it seems like my icons disappear in Fractal (under sway)
<monokrome> ,locate graph2dot
CptCaptain has quit [Ping timeout: 260 seconds]
<{^_^}> Found in packages: libav.bin, libav_12.bin, libav_0_8.bin
drakonis_ has quit [Ping timeout: 256 seconds]
sigmundv_ has quit [Ping timeout: 256 seconds]
thc202 has quit [Ping timeout: 260 seconds]
reallymemorable has quit [Quit: reallymemorable]
bhipple has quit [Ping timeout: 264 seconds]
bhipple has joined #nixos
evertedsphere has joined #nixos
dansho has joined #nixos
zebrag has joined #nixos
drakonis_ has joined #nixos
inkbottle has quit [Ping timeout: 258 seconds]
drakonis has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Ping timeout: 256 seconds]
chagra_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « liburing: 0.4pre514_2454d630 -> 0.6pre600 »: https://github.com/NixOS/nixpkgs/compare/171e99adb204...7b235b02e4dd
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<lovesegfault> Does anyone have unbound with DNSSEC working?
cosimone has quit [Excess Flood]
<lovesegfault> unclear why it complains about that root key
cosimone has joined #nixos
m1cr0man has quit [Ping timeout: 240 seconds]
wgreenhouse has left #nixos [#nixos]
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 260 seconds]
reallymemorable has joined #nixos
<est31> lovesegfault: probably because it expects the file to be present at the path but not inside the nix store?
reallymemorable has quit [Client Quit]
ottidmes_ has joined #nixos
ottidmes_ has quit [Remote host closed the connection]
<evertedsphere> does anyone know what could be responsible for this error? https://github.com/edwinb/Idris2/issues/17
<{^_^}> edwinb/Idris2#17 (by shmish111, 39 weeks ago, closed): weird error when trying to build
bhipple has quit [Ping timeout: 264 seconds]
<evertedsphere> basically, the current nixos-unstable idris1 is broken. if one manually fetchFromGithub-s the latest version, it compiles fine.
<evertedsphere> but this can't build idris2 because of the error in the issue. :(
reallymemorable has joined #nixos
<evertedsphere> i can only imagine it's because of some weird thing to do with the idris stdlibs being picked up when they shouldn't, conflicting with the identifiers/types in the idris2 source
bhipple has joined #nixos
<est31> lovesegfault: the DNS root key story is funny... originally they intended it to never change
<est31> if it's super secure, why change it?
<est31> so implementations hardcoded it in their source
<est31> very convenient
<est31> however, soon they realized that it's basic crypto best practice to have key agility
<est31> and they announced to rotate the key
<est31> so now all implementations had to edit their source and add some level of agility
cosimone_ has quit [Quit: Quit.]
xO1 has quit [Ping timeout: 240 seconds]
<evertedsphere> (cc clever because we spoke about the manual overriding of the idris1 derivation yesterday)
heath has quit [Ping timeout: 268 seconds]
heath has joined #nixos
<dsal> Can't you just edit the source periodically when new keys come out?
morgrimm has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bhipple merged pull request #84965 → qimgv: enable video support → https://github.com/NixOS/nixpkgs/pull/84965
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://github.com/NixOS/nixpkgs/compare/7b235b02e4dd...3988732856b0
felixfoertsch23 has joined #nixos
<est31> dsal: if the deployment schedules of your software allow for it, yes
<est31> but not always the cas
ottidmes_ has joined #nixos
<dsal> Oh, so debian can't do DNS?
<est31> lol
ottidmes has quit [Quit: Leaving]
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://github.com/NixOS/nixpkgs/compare/3988732856b0...40000ebb4bc1
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #84531 → LLVM: Always pass host/target info to compiler-rt/libstdcxxClang → https://github.com/NixOS/nixpkgs/pull/84531
<{^_^}> [nixpkgs] @Ericson2314 pushed 62 commits to staging: https://github.com/NixOS/nixpkgs/compare/cff16451b172...c8a6ea516140
mmlb has quit [Remote host closed the connection]
hmpffff_ has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #83905 → ursadb: init at v1.2.0 → https://github.com/NixOS/nixpkgs/pull/83905
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://github.com/NixOS/nixpkgs/compare/40000ebb4bc1...1ca2475b0ca6
hmpffff has quit [Ping timeout: 265 seconds]
mmlb has joined #nixos
mmlb has quit [Client Quit]
MightyJoe has joined #nixos
mmlb has joined #nixos
cyraxjoe has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #85189 → C/C++ compilers: Be sane with standard libraries → https://git.io/JfeZ0
waleee-cl has quit [Quit: Connection closed for inactivity]
ottidmes has joined #nixos
<est31> is it normal that when I do sudo nixos-rebuild switch --upgrade it tries to compile stuff?
szicari has quit [Ping timeout: 246 seconds]
<est31> because that's what happens
szicari has joined #nixos
CMCDragonkai1 has joined #nixos
<est31> it seems that hydra is .... pretty busy now?
ottidmes has quit [Client Quit]
KILL_DOZER has joined #nixos
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #85190 → fwupdate: Clean up -I flags → https://git.io/JfeZa
aleph- has quit [Ping timeout: 264 seconds]
evertedsphere has quit [Ping timeout: 258 seconds]
<KILL_DOZER> You are invited to attend a lecture and chat with Dr Gamme Martin @ irc.butt.es #GAMME https://imgur.com/a/RRqPUPf
<danderson> aww, a spammer! How quaint
<globin> Ericson2314: making my merging life hard again :>
<Ericson2314> globin: hey now, I did that `builtins.toString` on the flags list just for you :D
<globin> <3 Ericson2314
<{^_^}> Ericson2314's karma got increased to 5
<globin> Ericson2314: I'm making progress!
<Ericson2314> nice!
<Ericson2314> do you have a sense of how much is left vs already done?
<dsal> What does it mean for a package to be marked as broken?
<globin> largest issue for me is fixing nix-shell -A, haven't looked at that part of the nix code a lot yet, but looking forward to diving into that
<globin> the rest is fixing up a number of quoting issues, which is rather trivial
<Ericson2314> oh yeah ugh nix-shell is so nasty
<globin> and then everything related to passAsFile
<Ericson2314> i wish it just would read the bash script out of some magic attribute
<Ericson2314> rather than make assumptions
<globin> which is proving to be a bit annoying as I need jq for that really early for runCommand
<Ericson2314> oh woah
<Ericson2314> that sounds like jq on bootstrap tools territory, not gonna lile
<globin> yeah I know..
<Ericson2314> what exactly needs it?
<Ericson2314> or how?
<globin> currently trying to build it without deps
domogled has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<lovesegfault> est31: Hey, still around?
aw has joined #nixos
<est31> yes
<est31> hi
<globin> Ericson2314: source <(jq -r <.attrs.json '.buildCommand') in runCommand'
<globin> Ericson2314: currently trying to build a minimal jq without deps, that could work
<lovesegfault> est31: So, why does it expect the root key in /root.key?
spacefrogg has joined #nixos
<Ericson2314> globin: is the env var run command all messed up?
<Ericson2314> *env var buildCommand
<est31> lovesegfault: DNSSEC uses signing keys for DNS entries
<lovesegfault> Oh, I see it /nix/store/3qbka7pi7ckxghz4dlrjffdx4b1z3dj4-dns-root-data-2019-01-11/root.key
<lovesegfault> hmm
<est31> lovesegfault: each top level domain has its own signing key
<est31> lovesegfault: and signs the domains
<est31> lovesegfault: and the top level domain keys are signed by the root key
<globin> Ericson2314: well there is no passAsFile support with __structuredAttrs=true, probably eelco's reasoning was that it is already included in .attrs.json
<est31> all that DNSSEC resolver is doing is verification of that chain
<globin> Ericson2314: probably didn't anticipate that we'd need to read it this early
<{^_^}> [nixops] @kisik21 opened pull request #1280 → Added a keyCmd option for fetching a key from local command → https://github.com/NixOS/nixops/pull/1280
<{^_^}> [nixpkgs] @globin pushed 6 commits to structured-attrs: https://github.com/NixOS/nixpkgs/compare/daaffb152eb3...5428f06b9eaa
<Ericson2314> globin: Well if you tell Eelco it's that or jq in the boostrap tools he might change his mind :)
aleph- has joined #nixos
<Ericson2314> but maybe not
mmlb has quit [Quit: The Lounge - https://thelounge.github.io]
<globin> Ericson2314: i'd actually prefer removing passAsFile
<Ericson2314> maybe jq in the bootstrap tools isn't so bad
<vika_nezrimaya> My first pull request to NixOps, yay! And it got a pretty issue number
<globin> Ericson2314: I think we could manage an early jq, that is non-bootstrap-tools
<Ericson2314> I suppose I did want lua stdenv
<vika_nezrimaya> haven't tested this yet but it should work?
<Ericson2314> globin: well, and this is a separate project so I should just shut up, I wanted to move towards only commands and no libraries in the bootstrap tools (i.e. everything statically linked)
<lovesegfault> est31: Hmm
<Ericson2314> and I think runCommand is probably needed before libc or whatever is built
<Ericson2314> still, this is fine, can always rotate things in and out later
<globin> Ericson2314: I'll see in a moment :)
<lovesegfault> I wonder if these cli things just don't work well on NixOS
* Ericson2314 🤞
<est31> lovesegfault: I guess it needs some patching of some kind, not sure what the best way is
<est31> maybe if you are lucky the path can be specified in the config file
<lovesegfault> Oh
<lovesegfault> With dig apparently it does work
<lovesegfault> Nice
KILL_DOZER has quit [Read error: Connection reset by peer]
<cole-h> infinisil: ping
KILL_DOZER has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « lib/options: Relax showOption quoting »: https://github.com/NixOS/nixpkgs/compare/1ca2475b0ca6...c652b64a2621
evertedsphere has joined #nixos
<cole-h> jtojnar++ Wow, just as I got around to bisecting that exact issue (and why I just pinged infin*sil lol). Confirmed fixes the manual build for me, thanks!
<{^_^}> jtojnar's karma got increased to 39
<est31> how can I list os generations?
<est31> nix-env --list-generations shows me the generations of the user environment
aleph- has quit [Ping timeout: 256 seconds]
KILL_DOZER has quit [Remote host closed the connection]
<lovesegfault> Wow, unbound is _way_ better than systemd-resolved
<lovesegfault> resolved is kind of trash compared
aleph- has joined #nixos
mmlb has joined #nixos
WinchellsM has quit [Quit: Lost terminal]
MatrixBridge has joined #nixos
MatrixBridge has left #nixos ["User left"]
aleph- has quit [Ping timeout: 258 seconds]
zaeph1 has joined #nixos
<jtojnar> cole-h it is pretty ugly, we need escapeNixAttrName instead of escapeNixIdentifier, and the placeholders are just super terrible (no way to distinguish them from real options named like that)
<{^_^}> [mobile-nixos] @samueldr opened pull request #130 → google-walleye: Misc. updates and polishing → https://github.com/NixOS/mobile-nixos/pull/130
zaeph has quit [Ping timeout: 256 seconds]
<cole-h> jtojnar: It can (probably) be dealt with later. I'm just happy that I can build my ISO again
aleph- has joined #nixos
aleph- has quit [Ping timeout: 256 seconds]
mumuluxi has quit [Quit: ZNC 1.7.5 - https://znc.in]
wucke13 has quit [Quit: ZNC 1.7.5 - https://znc.in]
mumuluxi has joined #nixos
wucke13 has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker merged pull request #83930 → modules/virtualisation: add hyperv-image → https://github.com/NixOS/nixpkgs/pull/83930
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://github.com/NixOS/nixpkgs/compare/c652b64a2621...de6891ffd030
<globin> Ericson2314: hackity-hack: $ patchelf --print-rpath /nix/store/yim73liva3vng9qp5vm1rdi0z7wn0j0i-jq-1.6/bin/jq
<globin> /nix/store/yim73liva3vng9qp5vm1rdi0z7wn0j0i-jq-1.6/lib:/nix/store/810a84sj9q1g74469xlh1rm1s32rzvz4-bootstrap-stage0-glibc/lib
captjakk has quit [Remote host closed the connection]
<globin> Ericson2314: doesn't have regex support, but that's fine for what we're using it for
henry__ has joined #nixos
captjakk has joined #nixos
aleph- has joined #nixos
iqubic` has joined #nixos
iqubic` has quit [Client Quit]
henry_ has quit [Ping timeout: 265 seconds]
<globin> Ericson2314: and that means time for bed, while my poor build host is building stdenv once more
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 260 seconds]
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker closed pull request #75507 → k3s: init at 1.0.0 → https://github.com/NixOS/nixpkgs/pull/75507
iqubic has joined #nixos
<vika_nezrimaya> i can't believe my eyes
<vika_nezrimaya> I found out that one of my machines is running NixOS 18.09
<vika_nezrimaya> I wonder how long did it stay without updates...
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
teto has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @xrelkd opened pull request #85191 → tokei: 11.0.0 -> 11.1.0 → https://github.com/NixOS/nixpkgs/pull/85191
rogue_koder has quit [Ping timeout: 250 seconds]
<colemickens> vika_nezrimaya: scary and exciting, happy upgrade to you
reallymemorable has quit [Quit: reallymemorable]
<vika_nezrimaya> thank you very much :3
<vika_nezrimaya> the upgrade could wait tho, the machine isn't exposed to outer access
i_run_out_of_use has joined #nixos
<vika_nezrimaya> and I need to get NixOps running and doing some cool stuff
<jackdk> speaking of exciting, is there an ETA on 20.03?
<cole-h> Yes. 2020 :)
domogled has quit [Quit: domogled]
<energizer> what are the new features of 20.03 that people are excited about?
rnmhdn has joined #nixos
rogue_koder has joined #nixos
<Ericson2314> globin: may you sleep as well as your build host doesn't!
morgrimm has quit [Ping timeout: 260 seconds]
<cole-h> What's the difference between `pkgs.buildPackages.sudo` and `pkgs.sudo`?
Emantor has quit [Quit: ZNC - http://znc.in]
<energizer> cole-h: they look the same to me
<{^_^}> [nixpkgs] @matthewess opened pull request #85192 → dotty: 0.20.0-RC1 -> 0.23.0-RC1 → https://github.com/NixOS/nixpkgs/pull/85192
<energizer> check them in the repl
Emantor has joined #nixos
<evils> > pkgs.sudo == pkgs.buildPackages.sudo
<{^_^}> true
<samueldr> cole-h: related to cross-compilation
<samueldr> buildPackages is the package set for the system the build is happening on
<Nazral> Since I switched to unstable, alacritty is telling me "Error creating GL context; Could not create EGL display object", and Firefox struggles with playing youtube videos, yet glxgears works
<Nazral> any idea what can have caused this ?
<samueldr> > pkgsCross.aarch64-multiplatform.sudo == pkgsCross.aarch64-multiplatform.buildPackages.sudo # cole-h
<{^_^}> false
<cole-h> samueldr: Is there a reason the sudo nixos module uses `pkgs.buildPackages.sudo`'s visudo to check the validity of the sudoers file?
<cole-h> Line ~226 of nixos/modules/security/sudo.nix
<samueldr> if you were cross-compiling for aarch64, you couldn't run the target sudo on your machine to verify the validity of the sudoers file
<samueldr> as it would be an ELF for aarch64-linux!
<cole-h> OK, that's what I thought; thank you. samueldr++
<{^_^}> samueldr's karma got increased to 207
nino34 has joined #nixos
LysergicDreams has quit [Ping timeout: 256 seconds]
<angerman> What's the best way to figure out why some derivation depends on another?
<evils> `nix why-depends`
<{^_^}> [nixpkgs] @alexanderwatanabe opened pull request #85193 → Enabled CUDA support option → https://github.com/NixOS/nixpkgs/pull/85193
<angerman> My issue is that I can see that my ghc cross compiler depends on the native bash, and subsequently corefoundation, which populates the TARGET_CFLAGS with `-iframework` entries, and thus cause the compiler to trip.
<angerman> evils: but I can't feed that one with .drv's right? hmm...
<evils> angerman: yes you can
LysergicDreams has joined #nixos
<angerman> Ahh, but it needs both derivations to be built.
nino35 has joined #nixos
nino34 has quit [Read error: Connection reset by peer]
nino35 is now known as nino34
endformationage has quit [Quit: WeeChat 2.6]
<angerman> evils: sorry for bugging you again. How do I find the derivatian for a store path?
xO1 has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #84691 → ocamlPackages.dns-client: init at 4.4.1 → https://github.com/NixOS/nixpkgs/pull/84691
<{^_^}> [nixpkgs] @vbgl pushed 10 commits to master: https://github.com/NixOS/nixpkgs/compare/de6891ffd030...f9c31303b276
nino34 has quit [Read error: Connection reset by peer]
nino34 has joined #nixos
morgrimm has joined #nixos
<evils> angerman: `nix show-derivation` will show you the entire derivation for it, including the .drv path, not the neatest answer though
penguwin7 has joined #nixos
zeta_0 has joined #nixos
MasseR7 has joined #nixos
ZeDestructor_ has joined #nixos
efriendo has joined #nixos
phI||Ip_Alternat has joined #nixos
lpsmith_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #85182 → python27Packages.swagger-ui-bundle: 0.0.5 -> 0.0.6 → https://github.com/NixOS/nixpkgs/pull/85182
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.swagger-ui-bundle: 0.0.5 -> 0.0.6 »: https://github.com/NixOS/nixpkgs/compare/f9c31303b276...7c309eceebfd
<zeta_0> in this shell.nix, for some reason ghcide is not recognizing the haskell packages when i try to import their modules? https://dpaste.org/yhZq
ornxka_ has joined #nixos
migy_ has joined #nixos
danderso1 has joined #nixos
barrucad1 has joined #nixos
barrucad1 has joined #nixos
barrucad1 has quit [Changing host]
mightyby1e has joined #nixos
j4m3s2 has joined #nixos
MarcWebe3 has joined #nixos
lvmond__ has joined #nixos
sveitser2 has joined #nixos
rixed_ has joined #nixos
morgrimm has quit [Ping timeout: 265 seconds]
oznt_ has joined #nixos
awaz_ has joined #nixos
mfernandez has joined #nixos
puffnfresh_ has joined #nixos
eri has joined #nixos
acertain- has joined #nixos
Mateon3 has joined #nixos
clever_ has joined #nixos
statusbot has quit [*.net *.split]
ornxka has quit [*.net *.split]
barrucadu has quit [*.net *.split]
sveitser1 has quit [*.net *.split]
MasseR has quit [*.net *.split]
penguwin has quit [*.net *.split]
MarcWebe1 has quit [*.net *.split]
danderson has quit [*.net *.split]
stree has quit [*.net *.split]
eri451 has quit [*.net *.split]
clever has quit [*.net *.split]
oznt has quit [*.net *.split]
migy has quit [*.net *.split]
makefu has quit [*.net *.split]
j4m3s__ has quit [*.net *.split]
ZeDestructor has quit [*.net *.split]
efriend has quit [*.net *.split]
puffnfresh has quit [*.net *.split]
awaz has quit [*.net *.split]
dbe has quit [*.net *.split]
rixed has quit [*.net *.split]
lvmond has quit [*.net *.split]
skatista has quit [*.net *.split]
lpsmith has quit [*.net *.split]
acertain has quit [*.net *.split]
phI||Ip has quit [*.net *.split]
mightybyte has quit [*.net *.split]
penguwin7 is now known as penguwin
efriendo is now known as efriend
ZeDestructor_ is now known as ZeDestructor
nino34 has quit [Read error: Connection reset by peer]
Mateon1 has quit [Ping timeout: 260 seconds]
Mateon3 is now known as Mateon1
nino34 has joined #nixos
cjpbirkbeck has quit [Quit: cjpbirkbeck]
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
drainful has joined #nixos
barrucad1 is now known as barrucadu
gambpang has quit [Ping timeout: 264 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<{^_^}> [nixpkgs] @veprbl merged pull request #85187 → miniserve: build on darwin → https://github.com/NixOS/nixpkgs/pull/85187
<{^_^}> [nixpkgs] @veprbl pushed commit from @zowoq to master « miniserve: build on darwin (#85187) »: https://github.com/NixOS/nixpkgs/compare/7c309eceebfd...1a3d41d41223
<{^_^}> [nixpkgs] @vbgl merged pull request #85161 → ocamlPackages.irmin*: 2.0.0 -> 2.1.0, add ppx_irmin, ocaml-syntax-shims, index: 1.0.1 -> 1.2.0 → https://github.com/NixOS/nixpkgs/pull/85161
<{^_^}> [nixpkgs] @vbgl pushed 5 commits to master: https://github.com/NixOS/nixpkgs/compare/1a3d41d41223...ef8ea1e55629
nino34 has quit [Client Quit]
cyraxjoe has joined #nixos
gambpang has joined #nixos
stree has joined #nixos
MightyJoe has quit [Ping timeout: 260 seconds]
makefu has joined #nixos
dbe has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.8]
MasseR7 is now known as MasseR
morgrimm has joined #nixos
bhipple has quit [Remote host closed the connection]
palo1 has joined #nixos
rail_ has quit [Quit: gone...]
morgrimm has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #nixos
rail_ has joined #nixos
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
selfsymmetric-mu has joined #nixos
alexherbo21 has joined #nixos
<selfsymmetric-mu> How often should I expect to rebuild the linux derivation by default? say, `nix-build-linux-5.4.31.drv`? Seems like it shows up in `nix-top` a lot?
alexherbo2 has quit [Ping timeout: 250 seconds]
alexherbo21 is now known as alexherbo2
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
linarcx has joined #nixos
iqubic` has joined #nixos
<srhb> selfsymmetric-mu: That's basically impossible to answer without knowing more about your system. If you have custom options set, then almost every time the kernel is bumped, which is.. What, every 14 days? Every week?
<srhb> selfsymmetric-mu: If you're entirely stock, then never.
iqubic has quit [Ping timeout: 260 seconds]
captjakk has quit [Ping timeout: 265 seconds]
<selfsymmetric-mu> srhb: Thanks! Yeah, I have `boot.extraModulePackages = [ config.boot.kernelPackages.exfat-nofuse ];`. That might be poking it.
<srhb> selfsymmetric-mu: You can try nix-diffing the upstream kernel drv with the one you have for a given nixpkgs commit
evertedsphere has quit [Ping timeout: 240 seconds]
<selfsymmetric-mu> srhb: Good idea, thank you!
<selfsymmetric-mu> srhb++
<{^_^}> srhb's karma got increased to 99
zaeph1 is now known as zaeph
henry__ has quit [Quit: henry__]
ararouge has joined #nixos
<DamienCassou> I'm on nixos. My network-manager keeps forgetting the wifi passwords I set (through nmtui). When I try to pass password through the command line (`nmcli d w connect my-ap password my-password`), I get an error that no password were provided
<sphalerite> DamienCassou: maybe you want "psk" instead of "password", I think password might be only for WPA-EAP
rnmhdn has quit [Quit: WeeChat 2.8]
<DamienCassou> sphalerite: I remember I used `password` in the past for this access point with no problem but I will try `psk`. Still, `nmtui` manages to connect me to the access point but won't remember the password
<sphalerite> DamienCassou: hm ok. I'm not sure, sorry
<DamienCassou> thanks
<{^_^}> [nixpkgs] @vbgl opened pull request #85194 → ocamlPackages.alcotest: 0.8.5 → 1.0.1 → https://github.com/NixOS/nixpkgs/pull/85194
oleks has quit [Quit: leaving]
oleks has joined #nixos
puffnfresh_ is now known as puffnfresh
<srhb> DamienCassou: I vaguely remember that some setups need to manually ensure there's a libsecret backend in order for that functionality to work. So maybe look into checking whether your keyring works?
<srhb> Shot in the dark.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85195 → backintime-common: 1.1.24 -> 1.2.1 → https://git.io/Jfecd
ararouge has quit [Quit: leaving]
<etu> DamienCassou: Do you have files showing up in /etc/NetworkManager/system-connections/ ?
freeman42xx has quit [Quit: Leaving]
<DamienCassou> etu: there is my access point in there
<DamienCassou> srhb: any idea how to do that?
<DamienCassou> srhb: I'm using lightdm+i3
<etu> DamienCassou: Does it contain the password?
<DamienCassou> it doesn't
<DamienCassou> etu: ^
iqubic` has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
<etu> Then it use the keyring or something of the user, I usually check a box named "available to all users" or something like that, that makes it store the password in that file.
<srhb> DamienCassou: Looking into it some more, are you selecting "available to all users" when you edit the connection in nmtui?
<srhb> DamienCassou: Apparently, that will rely on eg. gnome-keyring being enabled.
<srhb> Er, if you *don't* set that.
<DamienCassou> etu: I checked this box in nmtui
<srhb> Ah, etu was faster than me :)
<DamienCassou> srhb: I did check that box
<DamienCassou> I haven't installed anything for gnome-keyring to work
zupo has joined #nixos
<srhb> OK, that's the extent of my knowledge. I would try with the keyring and saving just for your user, and see if that works.
<srhb> DamienCassou: With that box checked it should _not_ use the keyring
freeman42x has quit [Ping timeout: 265 seconds]
<DamienCassou> srhb: where should the password go if this box is checked? To the connection file?
<etu> yes
<DamienCassou> I will first try to delete the connection file in /etc. Then set it again from scratch and checking the "all users" checkbox in the hope that the password is stored there
<etu> It's usually placed in the [wifi-security] section and named "psk"
eoli3n__ has joined #nixos
zaeph has quit [Read error: Connection reset by peer]
zaeph has joined #nixos
mallox has joined #nixos
<DamienCassou> etu: the password is still not saved. I see instead `psk-flags=1` in the connection file. According to the doc, this means "agent-owned: a user-session secret agent is responsible for providing and storing this secret; when it is required, agents will be asked to provide it."
orivej has joined #nixos
eoli3n__ has quit [Ping timeout: 258 seconds]
joebobjo1 has joined #nixos
asheshambasta has joined #nixos
dansho has quit [Ping timeout: 265 seconds]
<asheshambasta> how does one go from a list of derivations, such as [ pkgs.zlib pkgs.gnutar ] to an attribute set like { zlib = pkgs.zlib; gnutar = pkgs.gnutar; } ?
<asheshambasta> there seems to be a builtins.listToAttrs but that doesn't seem like what I'm looking for.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85196 → blugon: 1.12.0 -> 1.12.1 → https://git.io/JfeCs
<{^_^}> [nixpkgs] @offlinehacker opened pull request #85197 → chromium: build chromiumOzone → https://github.com/NixOS/nixpkgs/pull/85197
<edef> asheshambasta: what would you want to key that on, the .name?
<edef> asheshambasta: because that's often not anywhere near the attribute name
<asheshambasta> correct
<asheshambasta> I guess the better way is to have an attribute set to begin with and do builtins.attrValues
<edef> > lib.genAttrs [ "zlib" "gnutar" ] (p: pkgs.${p})
<{^_^}> { gnutar = <CODE>; zlib = <CODE>; }
<asheshambasta> nice
<edef> or in point-free style
<edef> > with lib; genAttrs [ "zlib" "gnutar" ] (flip getAttr pkgs)
<{^_^}> { gnutar = <CODE>; zlib = <CODE>; }
<asheshambasta> I'm a beginner so I probably prefer the former.
mikethecreator has joined #nixos
<DamienCassou> etu: srhb I added the gnome-keyring service, deleted the connection and created one from scratch. I'm happy to report that my wifi password is now saved properly. Thank you both
<mikethecreator> hello
<mikethecreator> im new to nix
phreedom has quit [Ping timeout: 240 seconds]
<mikethecreator> just got it in a virtualbox machine
<mikethecreator> what do you all like the most about it
<DamienCassou> mikethecreator: nix or nixos?
<mikethecreator> nixos
<mikethecreator> and I guess subsequently nix
<srhb> DamienCassou: nice :)
<etu> DamienCassou: woo :)
<srhb> mikethecreator: Reproducibility, purity... Basically the increased expressivity and control that I get over my system.
phreedom has joined #nixos
<DamienCassou> I like so many things about it :-). Finally a package manager that is not just a patched version of an old broken stuff. You get for free what others struggle to get: rollback, installing multiple versions of something, no root required to install stuff, reproducibility
<srhb> mikethecreator: The fact that I can create services so trivially... And share configs across machines, or with other people. It's difficult to choose to be honest, there's so much.
<mikethecreator> this is interesting
<DamienCassou> and this is only for nix. With nixos, you also get your whole system described in a file so you can replicate it easily
<mikethecreator> I cant wait to experiment
<mikethecreator> wow almost sounds like some sort of dockerfile
<DamienCassou> then don't :-)
<srhb> mikethecreator: Yeah, definitely, enjoy. And don't be scared, the learning curve is steep. :)
<srhb> mikethecreator: It's way better than docker files.
<DamienCassou> except it's better than Docker
<mikethecreator> Im not scared
cole-h has quit [Quit: Goodbye]
<mikethecreator> ooo elaborate further please
<mikethecreator> can you point me to some cool resources?
<mikethecreator> or like a favorite post about nix
<srhb> mikethecreator: Docker tends to solve "runs for me" but not "builds for me"
<mikethecreator> and nixos
<srhb> mikethecreator: Nix solves both (and can even make docker images for you)
<etu> mikethecreator: It's kinda fullfilling the idea of what people want the dockerfile to be, but it actually does it properly, for installed operatingsystems as well
<{^_^}> [nixpkgs] @offlinehacker opened pull request #85198 → pasystray: add patch to fix crash when running under wayland → https://git.io/JfeCQ
<mikethecreator> do you guys think Nixos and nix will take over in popularity
<mikethecreator> I know it is not super well known right now
<srhb> Not really..
dermetfan has joined #nixos
* etu had a docker incident just the other week, we had a `COPY` in a dockerfile of a removed file, and docker did build it fine because it was cached
<Ashy> mikethecreator: the other weekend while trying to debug a lenovo thunderbolt dock (unsuccessfully due to lenovo firmware :/), i upgrade and downgraded the kernel between 5.5, 5.4 and 4.19 and also took my whole system from nixos-unstable (20.04-beta) back to nixos-19.09 and back again all in the space of about 30 mins completely without fear
<srhb> etu: What is reproducibility even :-)
<Ashy> knowing that even if it didnt boot i could just choose a slightly older config generation in the grub boot screen and boot a working config
<etu> srhb: I don't know, checking if files are changed or exists maybe?
<mikethecreator> thats freaking awesome
<energizer> mikethecreator: i dont think it will because learning it requires a lot of work
Naptra has joined #nixos
<Ashy> mikethecreator: that's without messing around with btrfs snapshots or anything else
peelz has joined #nixos
peelz_ has joined #nixos
<mikethecreator> well arch is a little more complex than a standard ubuntu distro and seems to be taking off more and more
<srhb> etu: Sounds like a lot of effort. ;-)
<etu> srhb: :D
rauno has joined #nixos
peelz has quit [Client Quit]
<mikethecreator> This is awesome. Kind of reminds me of freebsd with boot environment manager and zfs
<mikethecreator> but a lot cleaner actually
peelz_ has quit [Client Quit]
peelz has joined #nixos
<mikethecreator> you all are really selling me on nix
<mikethecreator> and the OS
<etu> Yep, you can do it all on ext4 or xfs if you want
<mikethecreator> now I gotta figure out how to install it in virtualbox lol
Cale has quit [Ping timeout: 260 seconds]
<etu> ZFS tend to be fairly popular on NixOS as well though, but not for rollback reasons :)
<mikethecreator> If I love it I will dedicate one of my thinkpads to it
<etu> Actually, NixOS is one of few distros where I would use ZFS as rootfs. Because it's one of few distros where I would trust to upgrade kernels and *know* that I get a ZFS kernel module that works. :)
<Ashy> i like to think: What git did for version control, nix and nixos are doing for package management and a whole distro
<energizer> Ashy: can you spell out that analogy
<peelz> how deep do properties (e.g. `mkIf`) get evaluated? could I have an mkIf statement in a list for example?
<mikethecreator> I must admit I really dont know enough about package management to know what was wrong with it before
<mikethecreator> but what you all are saying sounds cool
<mikethecreator> like being able to rollback very eaily
<mikethecreator> becauase I have broken things before
<etu> mikethecreator: Have you experienced package version conflicts or circular dependencies at some point? :)
<mikethecreator> are you saying you avoid all of this with nix?
<Ashy> energizer: not direct technical mappings but as a vaguely similar analogy
<energizer> Ashy: i don't see it at all :-)
<etu> mikethecreator: Those problems don't exist on nixos though :p
statusbot has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 260 seconds]
<mikethecreator> this intrigues me so much
<mikethecreator> watch its gonna end up one of my favorites lol
linarcx has quit [Quit: WeeChat 2.8]
<energizer> haha i have package version conflicts on nix all the time
<mikethecreator> @energizer now im getting conflicting info
<Ashy> energizer: i guess it's a poorly thought out analogy
<mikethecreator> what do you mean
<etu> energizer: Sure, but it's usually not a problem. And not what I meant probably. Many distros can have issues of different versions of the same library. Nix doesn't :)
<energizer> Ashy: it happens haha :)
<energizer> etu: that's one of the worst "features" of nix imo
<energizer> if i want a version other than the *one* in nixpkgs i have to build it myself :(
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85199 → carla: 2.0.0 -> 2.1 → https://github.com/NixOS/nixpkgs/pull/85199
<srhb> energizer: Do you mean because other distros can just provide whatever versions and not care that its dependencies may be incompatible?
selfsymmetric-mu has joined #nixos
<betaboon> i got a question regarding the nixops-container backend: can we get it to have the same capabilities as the containers in nixos? eg capabilities, alloweddevices etc ?
<srhb> energizer: (As in, just drop the .so wherever and hope for the best?)
<energizer> srhb: yes
<srhb> And I for one think the analogy is very fitting. I see my system as mostly analogous to one commit, which is what /run/current-system points to at any time.
<energizer> srhb: that's what version control was already, not what git added to it
zupo has quit [Ping timeout: 256 seconds]
<srhb> energizer: Oh, I didn't understand that that was your complaint about the analogy.
zupo has joined #nixos
<srhb> Dunno, from my perspective git certainly brought VCS to the masses, but sure. Anyway, this is veering off-topic (there's nixos-chat for that)
<energizer> srhb: anyway, because two compatible builds of the same package will have different hashes, nix will complain about a conflict
<energizer> whereas, say, dpkg won't even notice
<srhb> energizer: How is that preferable?
<srhb> Like, who wins?
<srhb> I think you're talking about buildEnv conflicts, is that right? And surely it's sensible to say: "Uh, you asked me to place two files with the exact same names in the exact same path. Which one did you want?"
<energizer> srhb: well, it depends. if they really are compatible, it's preferrable because i have a working system and dont have to deal with fixing an error. if they're not compatible, i like the warning.
<energizer> part of this will be solved with the intensional store i guess
<joebobjo1> how come every time my mac update nix gets hosed bc /etc/zprofile gets replaced
<joebobjo1> which the nix installer edits to install nix
<energizer> like, iiuc atm nix will complain about putting two files with the same content (!) in the same place
<srhb> energizer: Ah, understood. Yes, that is unnecessary and solveable.
dermetfan has quit [Ping timeout: 265 seconds]
<srhb> (Theoretically, at least. :))
<energizer> haha :)
mallox has quit [Quit: WeeChat 2.8]
Cale has joined #nixos
<energizer> mikethecreator: that being said, nixos is really neat
<energizer> it's my daily driver
<peelz> how deep do properties (e.g. `mkIf`) get evaluated? could I have an mkIf statement in a list for example?
<mikethecreator> so if im understanding correctly from context
<mikethecreator> you have like a main config file that you edit for your build
<energizer> yes
<mikethecreator> neat
<energizer> it can import other nix files, so it's easy to have some parts that you use on different machines, and some parts that are specific to each machine
<mikethecreator> so dope. can you separate that via like a mac address
<mikethecreator> so you can like push your build to machines on your network and it just configures itself for your certain machines
<srhb> mikethecreator: Yes. The "configuration" language is a programming language in its own right, so you can do all sorts of logic in it.
<srhb> mikethecreator: However, you'd have to probably specify the mac addresses itself. This is all build time, not runtime
<srhb> mikethecreator: So usually^tm your config cannot refer to eg. machine data.
<srhb> mikethecreator: Think of it like this: The entire system must essentially buildable on any machine. But this is perhaps a bit too abstract currently. It's easier to talk about once you've encountered it.
<srhb> must essentially be*
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mikethecreator> ok I will try tomorrow when after work
<mikethecreator> thank you guys for hyping me
<mikethecreator> I know that it must be really exciting and cool for you guys to talk about it this way
<mikethecreator> and very useful once you get used to it
<energizer> is it just me, it feels backwards that configuration.nix imports hardware-configuration.nix
<energizer> normally the more stateful piece of a system does the importing
arjen-jonathan has joined #nixos
<srhb> energizer: Doesn't feel wrong to me.
<srhb> energizer: I like the approach of: Generate system specific config (eg. collect hardware info, mac addresses, ...), commit it, import it.
<energizer> srhb: i'm just saying i want the hardware file to import the config, not the other way around
mikethecreator has quit [Remote host closed the connection]
<srhb> energizer: Ah. Yes, I suppose that's what most people do with multi system setups
<srhb> energizer: eg. one top-level per-machine config file that imports whatever else.
<energizer> srhb: yeah exactly
<srhb> energizer: I suppose it's just that way because it's convenient for single systems, in order to (re-)generate hw-config
<energizer> srhb: yeah, tho the generated file could have `imports = [./system-configuration.nix];` or whatever
<energizer> system-configuration being the shared config stuff
<srhb> energizer: I suppose yeah. That might make it more obvious what the "right" multi-system approach is. However, the documentation cost of changing all that... :-)
lsix has joined #nixos
<energizer> srhb: haha indeed
zeenk has joined #nixos
zupo has joined #nixos
dermetfan has joined #nixos
morgrimm has joined #nixos
opthomasprime has joined #nixos
drakonis has joined #nixos
danderso1 is now known as danderson
drakonis_ has quit [Ping timeout: 256 seconds]
morgrimm has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #83276 → pythonPackages.py-multibase: init at 1.0.1 → https://github.com/NixOS/nixpkgs/pull/83276
<{^_^}> [nixpkgs] @jonringer pushed commit from Rakesh Gupta to master « pythonPackages.py-multibase: init at 1.0.1 »: https://github.com/NixOS/nixpkgs/compare/ef8ea1e55629...90c140696438
<{^_^}> [nixpkgs] @jonringer merged pull request #85180 → python37Packages.sphinxcontrib-katex: 0.5.1 -> 0.6.0 → https://github.com/NixOS/nixpkgs/pull/85180
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.sphinxcontrib-katex: 0.5.1 -> 0.6.0 »: https://github.com/NixOS/nixpkgs/compare/90c140696438...dee5dcbfb584
dermetfan1 has joined #nixos
<{^_^}> [nixpkgs] @Elyhaka opened pull request #85200 → starship: 0.40.0 -> 0.40.1 → https://github.com/NixOS/nixpkgs/pull/85200
dermetfan has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/21750051b26 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<DamienCassou> I have 2 couchdb containers described in my configuration.nix. They have 2 different ports configured. Unfortunately, only one works at a time: the first one I start works but the second one doesn't.
<DamienCassou> if I stop the one that works, this does not make the other one working. I have to restart the one not working for it to start working
rardiol has quit [Ping timeout: 250 seconds]
nschoe has joined #nixos
bastion-tester has quit [Ping timeout: 250 seconds]
Baughn has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @saschagrunert opened pull request #85201 → cri-o: 1.17.1 -> 1.17.3 → https://github.com/NixOS/nixpkgs/pull/85201
Baughn has joined #nixos
civodul has joined #nixos
hmpffff has joined #nixos
hmpffff_ has quit [Ping timeout: 272 seconds]
superbaloo has joined #nixos
maddo has joined #nixos
opthomasprime has left #nixos [#nixos]
vidbina_ has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8686922e68d (from 20 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
bahamas has joined #nixos
<{^_^}> [nixpkgs] @nschoe opened pull request #85202 → module/xss-lock: add package to systemPackages when the module is ena… → https://git.io/Jfe80
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis_ has joined #nixos
snicket has joined #nixos
drakonis has quit [Ping timeout: 246 seconds]
hmpffff_ has joined #nixos
nschoe has quit [Ping timeout: 258 seconds]
hmpffff has quit [Ping timeout: 240 seconds]
<energizer> why are there keys in /etc/ssh/ ?
<edef> where are you expecting them to be?
<energizer> i mean why do they exist at all
<energizer> like, why does services.openssh have default keys
<edef> so it… works?
<edef> they're generated on first boot/activation
m0rphism has joined #nixos
<edef> you can turn off key generation if you want, services.openssh.hostKeys = lib.mkForce [];
<energizer> what are they used for?
<edef> they're SSH host keys
<edef> they're for authenticating the server to clients
<edef> if you don't have host keys, SSH won't work
<edef> but if you want the SSH server not to work, services.openssh.enable = false will do that
<edef> (turning off key generation will also leave it broken)
<Yaniel> how do I make a service defined in nixpkgs/modules start automatocally when enabled?
<Yaniel> it shows up in systemctl but only as loaded (dead)
<edef> Yaniel: for a systemd service, wantedBy = [ "multi-user.target" ];
<edef> Yaniel: ie systemd.services.*.wantedBy
jgeerds_ has joined #nixos
<sshow> energizer: I reacted to the id_charon_vpn key being there from start too.
<sshow> seemed strange
<edef> charon = nixops
<Yaniel> in this case the service file is provided by a package
<Yaniel> via systemd.packages
<edef> Yaniel: i think it'll generate a systemd drop-in and be fine
<edef> Yaniel: if you set systemd.services.*.wantedBy
<Yaniel> does it need to be patched in the service file upstream or can I add it in the service?
<Yaniel> okay
<{^_^}> [nixpkgs] @adisbladis pushed 8 commits to master: https://github.com/NixOS/nixpkgs/compare/dee5dcbfb584...2ac39a1ec6d6
<DamienCassou> it seems some older versions of ocaml have disappeared from nixpkgs. I need a version 3.10. Can I install a version of a package that was present in an old nixpkgs?
sigmundv_ has joined #nixos
<etu> DamienCassou: I have this in a let-in block in my config: http://ix.io/2hY6/nix then I can reference pkgs1909.attribute-name in that file
<etu> DamienCassou: http://ix.io/2hY7
CptCaptain has joined #nixos
<DamienCassou> apparently, there is still a 3.10.0.nix file in the ocaml folder on recent nixpkgs. I just can't make use of it yet
mounty has quit [Quit: Konversation terminated!]
<energizer> gchristensen: hey the blog post has `mkdir -p /persist/etc/ssh` but then `path = "/persist/ssh/` i figure that's a typo
<{^_^}> [nixpkgs] @jtojnar merged pull request #85184 → inkscape: 0.92.4 → 0.92.5 → https://github.com/NixOS/nixpkgs/pull/85184
<{^_^}> [nixpkgs] @jtojnar pushed 5 commits to master: https://github.com/NixOS/nixpkgs/compare/2ac39a1ec6d6...0995d779a350
Jackneill has quit [Ping timeout: 260 seconds]
__monty__ has joined #nixos
jgeerds_ has quit [Ping timeout: 250 seconds]
maxpackets has joined #nixos
Darkmatter66 has joined #nixos
joebobjo1 has quit [Quit: Lost terminal]
pjan has quit [Remote host closed the connection]
<maxpackets> Ciao, I am using the mozilla overlay (https://github.com/mozilla/nixpkgs-mozilla) in my default.nix, and I’m wondering how I could add more targets for cross compiling. Any rust ppl have pointers on how to do that nicely with nix?
Darkmatter66_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @fgaz opened pull request #85203 → audiality2 and koboredux: init → https://github.com/NixOS/nixpkgs/pull/85203
bricewge has quit [Quit: killed]
Valodim[m] has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
thequux[m] has quit [Quit: killed]
MilkManzJourDadd has quit [Quit: killed]
pheoxy has quit [Quit: killed]
mmatthieu has quit [Quit: killed]
jtojnar has quit [Quit: killed]
tbenst[m] has quit [Quit: killed]
hiroshi[m] has quit [Quit: killed]
unclechu has quit [Quit: killed]
ryanmaclean[m] has quit [Quit: killed]
domenkozar[m] has quit [Quit: killed]
siraben has quit [Quit: killed]
mt[m] has quit [Quit: killed]
philipp[m] has quit [Quit: killed]
Irenes[m] has quit [Quit: killed]
layus[m] has quit [Quit: killed]
schmittlauch[m] has quit [Quit: killed]
leons has quit [Quit: killed]
DamienCassou has quit [Quit: killed]
kyren has quit [Quit: killed]
colemickens has quit [Quit: killed]
tlater[m] has quit [Quit: killed]
timokau[m] has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
watzon has quit [Quit: killed]
rycee has quit [Quit: killed]
arcnmx has quit [Quit: killed]
worldofpeace has quit [Quit: killed]
puzzlewolf has quit [Quit: killed]
yangm has quit [Quit: killed]
david-sawatzke[m has quit [Quit: killed]
eddyb has quit [Quit: killed]
nilsirl[m] has quit [Quit: killed]
wak-work has quit [Quit: killed]
davidak[m] has quit [Quit: killed]
dtz has quit [Quit: killed]
aterius has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
contrun[m] has quit [Quit: killed]
tokudan[m] has quit [Quit: killed]
mykiwi has quit [Quit: killed]
simbergm has quit [Quit: killed]
vaibhavsagar has quit [Quit: killed]
danielrf[m] has quit [Quit: killed]
shizonic has quit [Quit: killed]
jamiemagee has quit [Quit: killed]
sigwinch28 has quit [Quit: killed]
Minijackson[m] has quit [Quit: killed]
dpc has quit [Quit: killed]
Gaz[m]1 has quit [Quit: killed]
aanderse has quit [Quit: killed]
grin[m] has quit [Quit: killed]
petersjt014[m] has quit [Quit: killed]
arturo[m] has quit [Quit: killed]
veleiro has quit [Quit: killed]
Pasha[m] has quit [Quit: killed]
rnhmjoj has quit [Quit: killed]
tyrion-mx has quit [Quit: killed]
psiperator[m] has quit [Quit: killed]
Nyanloutre[m] has quit [Quit: killed]
wjjunyor[m] has quit [Quit: killed]
pingveno[m] has quit [Quit: killed]
mkg20001 has quit [Quit: killed]
blitzclone_ has quit [Quit: killed]
hpfr[m] has quit [Quit: killed]
alienpirate5 has quit [Quit: killed]
srxl[m] has quit [Quit: killed]
Poscat[m] has quit [Quit: killed]
ndreas[m] has quit [Quit: killed]
nikola[m]1 has quit [Quit: killed]
aditsachde has quit [Quit: killed]
chris| has quit [Quit: killed]
tamwile[m] has quit [Quit: killed]
arianvp[m] has quit [Quit: killed]
dyon[m] has quit [Quit: killed]
Florian[m]1 has quit [Quit: killed]
GerdFlaig[m] has quit [Quit: killed]
Grauwolf[m] has quit [Quit: killed]
jschievink has quit [Quit: killed]
deepchange[m] has quit [Quit: killed]
killercup[m] has quit [Quit: killed]
jgarte[m] has quit [Quit: killed]
bqv[m] has quit [Quit: killed]
slabity has quit [Quit: killed]
jorge-jbs has quit [Quit: killed]
michaelpj has quit [Quit: killed]
korrosive[m] has quit [Quit: killed]
atemu12[m] has quit [Quit: killed]
alexfmpe[m] has quit [Quit: killed]
mindtree[m] has quit [Quit: killed]
theduke[m] has quit [Quit: killed]
ianmjones[m] has quit [Quit: killed]
cornu has quit [Quit: killed]
hsngrmpf[m] has quit [Quit: killed]
TheSirC[m] has quit [Quit: killed]
OJ[m] has quit [Quit: killed]
sshow[m] has quit [Quit: killed]
brococoli[m] has quit [Quit: killed]
alj[m] has quit [Quit: killed]
infinisil-m has quit [Quit: killed]
freeman42x[m] has quit [Quit: killed]
xavierm02 has quit [Quit: killed]
dittofan[m] has quit [Quit: killed]
init_6[m] has quit [Quit: killed]
ecou[m] has quit [Quit: killed]
virtusviri7321[m has quit [Quit: killed]
phirsch has quit [Quit: killed]
pkmxtw[m] has quit [Quit: killed]
sabbot[m] has quit [Quit: killed]
jordandoyle has quit [Quit: killed]
tuxisgr8[m] has quit [Quit: killed]
marius851000[m] has quit [Quit: killed]
Null_A[m] has quit [Quit: killed]
gcoakes[m] has quit [Quit: killed]
wangoe[m] has quit [Quit: killed]
edomfjp[m] has quit [Quit: killed]
leonardp has quit [Quit: killed]
das-g[m]1 has quit [Quit: killed]
shu9[m] has quit [Quit: killed]
gutibo[m] has quit [Quit: killed]
rsynnest[m] has quit [Quit: killed]
dwagenk[m] has quit [Quit: killed]
awatanabe[m] has quit [Quit: killed]
emmanuelrosa[m] has quit [Quit: killed]
fgaz has quit [Quit: killed]
Dandellion has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
goibhniu has quit [Quit: killed]
Notkea[m] has quit [Quit: killed]
quiet_laika[m] has quit [Quit: killed]
Guest7156 has quit [Quit: killed]
nolan_d has quit [Quit: killed]
bachp has quit [Quit: killed]
exprez135[m] has quit [Quit: killed]
abbradar[m] has quit [Quit: killed]
ZerataX has quit [Quit: killed]
rgb[m] has quit [Quit: killed]
chvp has quit [Quit: killed]
imj[m] has quit [Quit: killed]
jonreeve[m] has quit [Quit: killed]
mica[m] has quit [Quit: killed]
matthewbauer has quit [Quit: killed]
roberth has quit [Quit: killed]
tpmadz[m] has quit [Quit: killed]
boogiewoogie[m] has quit [Quit: killed]
Keith[m] has quit [Quit: killed]
M4cheese[m] has quit [Quit: killed]
Smith[m] has quit [Quit: killed]
xa0[m] has quit [Quit: killed]
wildtrees[m] has quit [Quit: killed]
fasd has quit [Quit: killed]
gudea[m] has quit [Quit: killed]
ukazka[m] has quit [Quit: killed]
evanjs[m] has quit [Quit: killed]
Amit[m] has quit [Quit: killed]
emily has quit [Quit: killed]
notapache[m] has quit [Quit: killed]
ggpeti[m]2 has quit [Quit: killed]
icetan has quit [Quit: killed]
Elorm[m] has quit [Quit: killed]
ongy[m] has quit [Quit: killed]
gnxlxnxx[m] has quit [Quit: killed]
rendeko[m] has quit [Quit: killed]
i_run_out_of_use has quit [Quit: killed]
Leira[m] has quit [Quit: killed]
jwaksbaum[m] has quit [Quit: killed]
Albakham[m] has quit [Quit: killed]
maralorn has quit [Quit: killed]
BenSima[m] has quit [Quit: killed]
softinio[m] has quit [Quit: killed]
interro[m] has quit [Quit: killed]
the_pumpkin_man[ has quit [Quit: killed]
bendlas has quit [Quit: killed]
Fafnir[m] has quit [Quit: killed]
JJJollyjim has quit [Quit: killed]
alvaro121[m] has quit [Quit: killed]
kaushikc has quit [Quit: killed]
pamplemousse[m] has quit [Quit: killed]
likivik[m] has quit [Quit: killed]
mnm[m] has quit [Quit: killed]
plzbo[m] has quit [Quit: killed]
sonercirit[m] has quit [Quit: killed]
bennofs[m] has quit [Quit: killed]
keithy[m] has quit [Quit: killed]
florianjacob has quit [Quit: killed]
alexarice[m] has quit [Quit: killed]
wedens[m] has quit [Quit: killed]
cyberwolf[m] has quit [Quit: killed]
balsoft has quit [Quit: killed]
bohan[m] has quit [Quit: killed]
fsmnarmosta[m] has quit [Quit: killed]
noonereally[m] has quit [Quit: killed]
bserckx[m] has quit [Quit: killed]
makaveli[m] has quit [Quit: killed]
f0i[m] has quit [Quit: killed]
pkolloch[m] has quit [Quit: killed]
sputny[m] has quit [Quit: killed]
Jank[m] has quit [Quit: killed]
kdedev[m] has quit [Quit: killed]
JosW has quit [Quit: killed]
jjwatt[m] has quit [Quit: killed]
loyon[m] has quit [Quit: killed]
phittacus has quit [Quit: killed]
aparkerdavid has quit [Quit: killed]
NobbZ[m] has quit [Quit: killed]
cab404[m] has quit [Quit: killed]
ma27[m] has quit [Quit: killed]
aniketd[m] has quit [Quit: killed]
smgb66[m] has quit [Quit: killed]
rihardsk[m] has quit [Quit: killed]
M0x0120f[m] has quit [Quit: killed]
SumnerEvans[m] has quit [Quit: killed]
dadada[m] has quit [Quit: killed]
nedfro[m] has quit [Quit: killed]
mlatus[m] has quit [Quit: killed]
wheatdog[m] has quit [Quit: killed]
musicmatze[m] has quit [Quit: killed]
kelop[m]10 has quit [Quit: killed]
kcin[m] has quit [Quit: killed]
nocent has quit [Quit: killed]
thc202 has joined #nixos
Jackneill has joined #nixos
nckx has quit [Ping timeout: 264 seconds]
thc202 has quit [Max SendQ exceeded]
nckx has joined #nixos
thc202 has joined #nixos
thibm has joined #nixos
pjan has joined #nixos
broccoli has joined #nixos
cmacrae has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
ATuin has joined #nixos
CptCaptain has quit [Quit: WeeChat 2.7.1]
seku has joined #nixos
morgrimm has joined #nixos
sogatori has joined #nixos
morgrimm has quit [Ping timeout: 246 seconds]
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #84822 → subsurface: 4.8.2 -> 4.9.3 → https://github.com/NixOS/nixpkgs/pull/84822
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://github.com/NixOS/nixpkgs/compare/0995d779a350...46f06e083bd2
zupo has joined #nixos
Ox4A6F has joined #nixos
cornu has joined #nixos
DamienCassou has joined #nixos
Ericson2314 has joined #nixos
Minijackson[m] has joined #nixos
MilkManzJourDadd has joined #nixos
Valodim[m] has joined #nixos
abbradar[m] has joined #nixos
aanderse has joined #nixos
alexarice[m] has joined #nixos
alienpirate5 has joined #nixos
arcnmx has joined #nixos
aterius has joined #nixos
bachp has joined #nixos
aparkerdavid has joined #nixos
Guest215 has joined #nixos
bennofs[m] has joined #nixos
bohan[m] has joined #nixos
blitzclone_ has joined #nixos
chvp has joined #nixos
Amit[m] has joined #nixos
colemickens has joined #nixos
Dandellion has joined #nixos
cyberwolf[m] has joined #nixos
david-sawatzke[m has joined #nixos
bserckx[m] has joined #nixos
deepchange[m] has joined #nixos
davidak[m] has joined #nixos
dpc has joined #nixos
domenkozar[m] has joined #nixos
dittofan[m] has joined #nixos
dtz has joined #nixos
eddyb has joined #nixos
edomfjp[m]1 has joined #nixos
emily has joined #nixos
f0i[m] has joined #nixos
bserckx[m] is now known as denbrahe[m]
freeman42x[m] has joined #nixos
fgaz has joined #nixos
bqv[m] has joined #nixos
fsmnarmosta[m] has joined #nixos
Gaz[m]1 has joined #nixos
gnxlxnxx[m] has joined #nixos
Grauwolf[m] has joined #nixos
goibhniu has joined #nixos
grin[m] has joined #nixos
hpfr[m] has joined #nixos
hiroshi[m] has joined #nixos
i_run_out_of_use has joined #nixos
icetan has joined #nixos
Irenes[m] has joined #nixos
jamiemagee has joined #nixos
Null_A[m] has joined #nixos
sigwinch28 has joined #nixos
jonge[m] has joined #nixos
jschievink has joined #nixos
jtojnar has joined #nixos
kaushikc has joined #nixos
kaychaks_riot has joined #nixos
killercup[m] has joined #nixos
keithy[m] has joined #nixos
leonardp has joined #nixos
bricewge has joined #nixos
leons has joined #nixos
NobbZ[m] has joined #nixos
Albakham[m] has joined #nixos
Elorm[m] has joined #nixos
M0x0120f[m] has joined #nixos
M4cheese[m] has joined #nixos
aniketd[m] has joined #nixos
loyon[m] has joined #nixos
maxdeviant1 has joined #nixos
michaelpj has joined #nixos
mkg20001 has joined #nixos
mmatthieu has joined #nixos
mt[m] has joined #nixos
musicmatze[m] has joined #nixos
atemu12[m] has joined #nixos
simbergm has joined #nixos
alvaro121[m] has joined #nixos
danielrf[m] has joined #nixos
alj[m] has joined #nixos
arianvp[m] has joined #nixos
balsoft has joined #nixos
das-g[m] has joined #nixos
brococoli[m] has joined #nixos
exprez135[m] has joined #nixos
mykiwi has joined #nixos
BenSima[m] has joined #nixos
phittacus has joined #nixos
nocent has joined #nixos
nilsirl[m] has joined #nixos
nolan_d has joined #nixos
cab404[m] has joined #nixos
ongy[m] has joined #nixos
Notkea[m] has joined #nixos
chris| has joined #nixos
mica[m] has joined #nixos
bendlas has joined #nixos
fasd has joined #nixos
philipp[m] has joined #nixos
pheoxy has joined #nixos
dyon[m] has joined #nixos
Fafnir[m] has joined #nixos
ecou[m] has joined #nixos
Poscat[m] has joined #nixos
qy[m]1 has joined #nixos
rendeko[m] has joined #nixos
rgb[m] has joined #nixos
rnhmjoj has joined #nixos
evanjs[m] has joined #nixos
dwagenk[m] has joined #nixos
roberth has joined #nixos
srxl[m] has joined #nixos
Pasha[m] has joined #nixos
geemili has joined #nixos
hsngrmpf[m] has joined #nixos
ryanmaclean[m] has joined #nixos
rycee has joined #nixos
schmittlauch[m] has joined #nixos
puzzlewolf has joined #nixos
shizonic has joined #nixos
siraben has joined #nixos
slabity has joined #nixos
gudea[m] has joined #nixos
GerdFlaig[m] has joined #nixos
jonreeve[m] has joined #nixos
tokudan[m] has joined #nixos
ianmjones[m] has joined #nixos
infinisil-m has joined #nixos
tbenst[m] has joined #nixos
thefloweringash has joined #nixos
thequux[m] has joined #nixos
timokau[m] has joined #nixos
imj[m] has joined #nixos
jgarte[m] has joined #nixos
jordandoyle has joined #nixos
kriteus[m] has joined #nixos
kdedev[m] has joined #nixos
korrosive[m] has joined #nixos
interro[m] has joined #nixos
JJJollyjim has joined #nixos
jjwatt[m] has joined #nixos
contrun[m] has joined #nixos
unclechu has joined #nixos
vaibhavsagar has joined #nixos
wak-work has joined #nixos
virtusviri7321[m has joined #nixos
watzon has joined #nixos
worldofpeace has joined #nixos
ZerataX has joined #nixos
yangm has joined #nixos
xavierm02 has joined #nixos
jwaksbaum[m] has joined #nixos
Leira[m] has joined #nixos
layus[m] has joined #nixos
ma27[m] has joined #nixos
LinuxHackerman has joined #nixos
makaveli[m] has joined #nixos
matthewbauer has joined #nixos
maralorn has joined #nixos
likivik[m] has joined #nixos
mindtree[m] has joined #nixos
mlatus[m] has joined #nixos
Nyanloutre[m] has joined #nixos
nikola[m]1 has joined #nixos
ndreas[m] has joined #nixos
kcin[m] has joined #nixos
OJ[m] has joined #nixos
pamplemousse[m] has joined #nixos
notapache[m] has joined #nixos
petersjt014[m] has joined #nixos
noonereally[m] has joined #nixos
phirsch has joined #nixos
quiet_laika[m] has joined #nixos
pkmxtw[m] has joined #nixos
pkolloch[m] has joined #nixos
rihardsk[m] has joined #nixos
rsynnest[m] has joined #nixos
sonercirit[m] has joined #nixos
Florian[m]1 has joined #nixos
softinio[m] has joined #nixos
Smith[m] has joined #nixos
sputny[m] has joined #nixos
sshow[m] has joined #nixos
shu9[m] has joined #nixos
tamwile[m] has joined #nixos
theduke[m] has joined #nixos
tpmadz[m] has joined #nixos
tuxisgr8[m] has joined #nixos
ukazka[m] has joined #nixos
tlater[m] has joined #nixos
the_pumpkin_man[ has joined #nixos
tyrion-mx has joined #nixos
wedens[m] has joined #nixos
wheatdog[m] has joined #nixos
veleiro has joined #nixos
wjjunyor[m] has joined #nixos
wildtrees[m] has joined #nixos
Jackneill has joined #nixos
morgrimm has quit [Ping timeout: 246 seconds]
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #85205 → [20.03] mkl: 2020.0.166 -> 2020.1.217 → https://github.com/NixOS/nixpkgs/pull/85205
<thequux[m]> Is there a way to get a list of files that could be installed through nixpkgs? I've noticed that there are a lot of packages with broken cmake *Config.cmake files (boost, aws-sdk-cpp, etc) and I'd like to see about fixing them en masse
<{^_^}> [nixpkgs] @Mic92 merged pull request #77752 → rust-analyzer: init at unstable-2020-03-09 → https://github.com/NixOS/nixpkgs/pull/77752
<{^_^}> [nixpkgs] @Mic92 pushed 12 commits to master: https://github.com/NixOS/nixpkgs/compare/46f06e083bd2...418b24b13376
<evils> thequux[m]: it's maybe not the most direct method, but nix-locate (from nix-index) could find packages that install a file
knupfer has joined #nixos
ATuin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « inkscape: drop redundant enableParallelBuilding »: https://git.io/Jfeur
<__monty__> Otoh, if you want to edit the files anyway a find/fd on the repo is probably the simplest way?
<{^_^}> [nixpkgs] @monacoremo opened pull request #85206 → haskellPackages.hasql-pool: unbreak → https://git.io/JfeuS
lledtok has joined #nixos
<energizer> nixos-rebuild is stuck at "setting up tracefiles". i straced it, and it says the process is using "/run/systemd/ask-password"
<lledtok> hello everybody, I have a very specific use case that is not sure if possible: I import a 3rd party custom nixpkgs kind of repository and I would like to force usage of my own rust channel to compile one of their package
<energizer> i guess that means it's prompting for my password somewhere that i can't see
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<lledtok> is there a wy how to override this? I mean their package have like buildInputs a list of packages long with rustChannelOfTargets
<lledtok> and I want to rewrite only that one
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #85207 → ocamlPackages.cow: 2.2.0 -> 2.4.0 → https://github.com/NixOS/nixpkgs/pull/85207
<{^_^}> [nixpkgs] @dywedir merged pull request #85191 → tokei: 11.0.0 -> 11.1.0 → https://github.com/NixOS/nixpkgs/pull/85191
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://github.com/NixOS/nixpkgs/compare/a725962ae9d7...23584117d443
emilsp has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #85208 → ocamlPackages.angstrom: 0.12.1 -> 0.13.0 → https://git.io/JfezT
KeiraT has quit [Ping timeout: 240 seconds]
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #85209 → openmpt123: 0.4.11 -> 0.4.12 → https://git.io/Jfezt
fendor has joined #nixos
m1cr0man has joined #nixos
<thequux[m]> <__monty__ "Otoh, if you want to edit the fi"> The problem is that usually the files are generated by cmake, possibly from templates in the source tarball, and so I actually would need to do my find over the *outputs* of the derivations. Inbiously, I don't have the time or space to actually build them all
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @prusnak opened pull request #85210 → gtk-mac-integration: 2.0.8 -> 2.1.3 → https://git.io/JfezO
Izorkin has joined #nixos
<infinisil> lledtok: Nobody can say without seeing the code
<MichaelRaskin> thequux: nix-index database could help then
Izorkin has quit [Client Quit]
thibm has quit [Quit: WeeChat 2.6]
Izorkin has joined #nixos
<thequux[m]> <lledtok "and I want to rewrite only that "> You might be able to get away with something like:
<thequux[m]> Yeah, it looks like the nix-index database is the tool of choice.
gausby_ is now known as gausby
nschoe has joined #nixos
m1cr0man has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.eqaf: 0.5 -> 0.6 »: https://git.io/Jfez0
__monty__ has quit [Read error: Connection reset by peer]
__monty__ has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
knupfer1 is now known as knupfer
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.eqaf: enable cstruct and bigarray modules »: https://git.io/JfezX
ZoomZoomZoom has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #85211 → wpsoffice: 11.1.0.9080 -> 11.1.0.9505 → https://git.io/JfezM
knupfer has quit [Ping timeout: 240 seconds]
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dywedir merged pull request #85200 → starship: 0.40.0 -> 0.40.1 → https://git.io/JfezH
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JfezQ
KeiraT has joined #nixos
<{^_^}> [nixpkgs] @jlesquembre opened pull request #85212 → terminus: 1.0.0-alpha.42 -> 1.0.106 → https://git.io/JfezN
m1cr0man has joined #nixos
awatanabe[m] has joined #nixos
lledtok has quit [Remote host closed the connection]
vidbina_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @leenaars opened pull request #85213 → Sylk: 2.5.0 -> 2.6.1 → https://git.io/Jfegk
sogatori has quit [Remote host closed the connection]
<ZoomZoomZoom> Hi. I'm trying to set memlock limit for the Syncthing (due to that bug https://github.com/golang/go/issues/37436), the service.syncthing.user= my main user, and ulimit -l reports unlimited, but Syncthing still fails with "mlock of signal stack failed: 12"
<{^_^}> golang/go#37436 (by karalabe, 6 weeks ago, closed): runtime: mlock of signal stack failed: 12
<{^_^}> [nixpkgs] @Mic92 opened pull request #85214 → stdenv: parallel xz → https://git.io/Jfeg3
<{^_^}> [nixpkgs] @alexanderwatanabe closed pull request #85193 → Enabled CUDA support option → https://git.io/Jfegl
nschoe has quit [Ping timeout: 240 seconds]
morgrimm has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
LysergicDreams has quit [Ping timeout: 250 seconds]
<virtusviri7321[m> Hmm guys , sddm doesn't start after NixOS install . I've followed all the steps
<{^_^}> [nixpkgs] @markuskowa opened pull request #85215 → globalarrays: 5.7 -> 5.7.1 → https://git.io/JfegH
<betaboon> is it possible to define aliases in shellHook when using lorri?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85216 → libqalculate: 3.8.0 -> 3.9.0 → https://git.io/Jfeg7
<woffs> hmm, nixos-rebuild -p does not work as expected anymore?!
<infinisil> betaboon: I don't think so. A simple reason for this is that aliases are shell-specific (bash/zsh/fish), whereas env vars aren't
<betaboon> infinisil: thanks
<infinisil> betaboon: Which is why direnv and lorri too i believe use env vars only
<betaboon> infinisil: so i guess best course of action would be: define it in script, export that to path ?
ottidmes_ has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<infinisil> Yeah that sounds good
<betaboon> might try that then :)
iyzsong has joined #nixos
luc65r has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
ottidmes has joined #nixos
CptCaptain has joined #nixos
jb55 has joined #nixos
luc65r has quit [Client Quit]
luc65r has joined #nixos
<{^_^}> [nixpkgs] @megheaiulian opened pull request #85218 → tig: fix tig-completion's dependency on __git_complete → https://git.io/Jfe24
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
arjen-jonathan has quit [Ping timeout: 246 seconds]
glowpelt has quit [Max SendQ exceeded]
glowpelt has joined #nixos
waleee-cl has joined #nixos
morgrimm has joined #nixos
teto has joined #nixos
ottidmes_ has joined #nixos
chagra_ has joined #nixos
<ottidmes_> I am trying to setup ZNC, I think I have configured it properly, it runs on my server without reporting anything strange, and I have setup a nginx proxy to the ZNC server. When I connect though, I can see the properties of my SSL certificate, which are all in order, then I get: Connected. Now logging in. Disconnected (Remote host closed socket)
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #85219 → electrum-personal-server: init at 0.2.0 → https://git.io/JfeaY
<{^_^}> [nix] @edolstra pushed 13 commits to flakes: https://git.io/Jfea3
vidbina_ has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
morgrimm has quit [Ping timeout: 256 seconds]
magnetophon has quit [Remote host closed the connection]
<virtusviri7321[m> Have I done a fault why sddm isn't starting after NixOS install
KeiraT has joined #nixos
ottidmes has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
ottidmes has joined #nixos
ottidmes_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @rnhmjoj closed pull request #81013 → nixosTests.networking: disable virtual test with networkd → https://git.io/JvEbO
<virtusviri7321[m> Sddm is enabled
invra has quit [Quit: WeeChat 2.3]
lord| has quit [Read error: Connection reset by peer]
<gchristensen> ah thanks energizer
lord| has joined #nixos
leotaku has quit [Ping timeout: 264 seconds]
invra has joined #nixos
<ottidmes> To answer my own question, which admittedly was hard to answer for others without extra info, if I do not put the proxy in front and let it use a self-signed cert, it works fine. So I think it comes down to not being able to proxy forward a SSL encrypted connection, because the ZNC service sets up SSL with a selfsigned cert by default.
magnetophon has joined #nixos
ornxka_ is now known as ornxka
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teto has quit [Ping timeout: 246 seconds]
KeiraT has quit [Quit: KeiraT]
KeiraT has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #85220 → home-assistant: 0.108.2 -> 0.108.4 → https://git.io/Jfea7
zupo has joined #nixos
ottidmes has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
LysergicDreams has joined #nixos
teto has joined #nixos
philr has quit [Ping timeout: 240 seconds]
LysergicDreams has quit [Ping timeout: 256 seconds]
7YSAAISIH has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<worldofpeace> virtusviri7321: what is in the logs for display-manager.service?
arjen-jonathan has joined #nixos
nschoe has joined #nixos
LysergicDreams has joined #nixos
luc65r has quit [Ping timeout: 272 seconds]
reallymemorable has joined #nixos
alexherbo24 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #85215 → globalarrays: 5.7 -> 5.7.1 → https://git.io/JfegH
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JfeVC
kaliumxyz has joined #nixos
alexherbo2 has quit [Ping timeout: 250 seconds]
alexherbo24 is now known as alexherbo2
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
pingiun[m] has joined #nixos
pingiun has joined #nixos
<siers> I'm on t490s and my wifi isn't working.
chagra_ has quit [Ping timeout: 264 seconds]
lsix has quit [Quit: WeeChat 2.7.1]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85125 → iodine: improve test in view of #58806 → https://git.io/Jvjr3
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfeV2
o1lo01ol1o has joined #nixos
luc65r has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84898 → jitsi-meet-electron: init at 2.0.0 → https://git.io/JvphR
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfeVr
lsix has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #85185 → acme: share accounts between certificates → https://git.io/JfeY8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfeVH
zupo has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @m1cr0man to release-20.03 « acme: share accounts between certificates »: https://git.io/JfeV5
<Izorkin> How to correct write code - ReadWritePaths = [ "${cfg.stateDir}" "${cfg.logDir}" ] ++ optionalAttrs (cfg.sandboxWriteDir != []) [ "${concatStringsSep " " cfg.sandboxWriteDir}" ];
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84927 → ethminer: mark as broken → https://git.io/JvhOQ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfeVp
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @bhipple to release-20.03 « ethminer: mark as broken »: https://git.io/Jfewf
o1lo01ol1o has quit [Remote host closed the connection]
<immae> Izorkin: is it a question? you may simplify it a bit, like `[ cfg.stateDir cfg.logDir ] ++ cfg.sandboxWriteDir` and it should have the exact same effect, no?
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ef8ea1e5562 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #85170 → nixos/networking: fix setting MAC Address and MTU in networkd, fix tests → https://git.io/Jvjjl
<{^_^}> [nixpkgs] @rnhmjoj pushed 7 commits to master: https://git.io/JfewG
cosimone has joined #nixos
<b42> also optionalAttrs evaluates to attrset, you probably want just "optional" which evaluates to list
bukkitgerman8608 has quit [Ping timeout: 258 seconds]
<b42> (if what immae says doesn't work for you, which it should)
eoli3n__ has joined #nixos
<Izorkin> immae: thanks, worked
maxpackets has quit [Quit: Connection closed for inactivity]
<immae> cool
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to release-20.03: https://git.io/JfewE
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84431 → [20.03] ceph 14.2.6 -> 14.2.8 → https://git.io/JvN1c
o1lo01ol1o has quit [Remote host closed the connection]
bukkitgerman8608 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #85221 → gitAndTools.git-trim: 0.2.4 -> 0.3.1 → https://git.io/JfewM
<{^_^}> [nixpkgs] @svanderburg pushed 2 commits to master: https://git.io/Jfewy
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84361 → luminance-hdr: use Qt5's mkDerivation → https://git.io/JvNWv
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfewS
chagra_ has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #85222 → nixos/libinput: refer to libinput manual → https://git.io/JfewQ
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @dominikh to release-20.03 « luminance-hdr: use Qt5's mkDerivation »: https://git.io/JfewA
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @dominikh to release-19.09 « luminance-hdr: use Qt5's mkDerivation »: https://git.io/Jfewp
<{^_^}> [nixpkgs] @rnhmjoj pushed commit from @flokli to release-20.03 « nixosTests.networking.virtual: fix with networkd »: https://git.io/Jferv
romildo has joined #nixos
hax404 has quit [Ping timeout: 246 seconds]
alexherbo21 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84255 → lightdm-mini-greeter: 0.3.4 -> 0.4.0 → https://git.io/Jvb6r
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Jferm
cfricke has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #84220 → hack: invoke wrapper hook manually → https://git.io/JvbCd
<infinisil> To everybody seeking help here: If you want to get responses, formulate a good question, with as much info on the problem as possible. This includes errors, logs, what commands you used, what things you tried, what you expect it to do, etc.
ixxie has joined #nixos
alexherbo2 has quit [Ping timeout: 265 seconds]
<gchristensen> ,smart-questions everyone
alexherbo21 is now known as alexherbo2
<{^_^}> everyone: How to get better and faster answers to your questions: https://www.mikeash.com/getting_answers.html
<infinisil> +1
luc65r has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84648 → nixos: kafka test: fix building for other arches → https://git.io/JvAb6
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JferY
reallymemorable has quit [Quit: reallymemorable]
vidbina_ has quit [Ping timeout: 264 seconds]
luc65r has joined #nixos
reallymemorable has joined #nixos
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @svanderburg pushed 2 commits to release-20.03: https://git.io/Jfer4
xkapastel has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84101 → calibre: install desktop items → https://git.io/JvFTq
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jfera
jeromelanteri has joined #nixos
<jeromelanteri> the_pumpkin_man[, i have a video i make on nixos, would you like to look at the french video and tell me if it is ok ?
vidbina_ has joined #nixos
nixandemacs has joined #nixos
luc65r has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #83867 → franz: 5.4.1 -> 5.5.0-beta.1 → https://git.io/Jv54V
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #85206 → haskellPackages.hasql-pool: unbreak → https://git.io/JfeuS
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jfeof
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84162 → xonotic: use svg icons → https://git.io/JvFym
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfeoU
o1lo01ol1o has joined #nixos
morgrimm has quit [Ping timeout: 260 seconds]
pbogdan has joined #nixos
ottidmes has joined #nixos
morgrimm has joined #nixos
<ottidmes> infinisil: Thanks for your help yesterday! Got ZNC working properly :)
<ottidmes> infinisil++
<{^_^}> infinisil's karma got increased to 254
<{^_^}> [nixpkgs] @arianvp opened pull request #85223 → nixos/acme: Fix ordering of certificate requests (#81482) → https://git.io/Jfeo4
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jeromelanteri> and you can have a look to this file (in english) i would like to go with to remember nixos concept and commands to use... https://github.com/jerome-diver/nixos-own-documentations
<jeromelanteri> fell free to correct me
<jeromelanteri> feel
luc65r has joined #nixos
evertedsphere has joined #nixos
<infinisil> ottidmes: Nice!
<evertedsphere> so i've successfully made a share to my lxcontainer but my host (non-root) user, who is in the lxd group, can't write to it
<qyliss> ottidmes: where did you find that old gist of mine, btw?
<niso> is it possible to "merge" the deployed configuration (via nixops) with a local /etc/nixos/configuration?
<qyliss> (the ZNC behind nginx one)
<evertedsphere> it seems it's owned by 1001:dialout, should i add myself to the dialout group so i can write to it...?
<ottidmes> qyliss++ Have to thank you to, used quite a bit of your config too
<{^_^}> qyliss's karma got increased to 49
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83808 → cairo: pass --disable-xlib to config if no x11 → https://git.io/Jv7x6
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/Jfeog
vidbina_ has quit [Ping timeout: 264 seconds]
<ottidmes> qyliss: somewhere in 2018 you gave it XD had it stowed away in my TODO somewhere, and when someone said, ow I thought you had ZNC, I thought... right, was supposed to set that up, so I looked up my notes on it again
dermetfan1 has quit [Ping timeout: 265 seconds]
<niso> also: assuming a nixpkgs package was refactored from nixpkgs.foo to nixpkgs.foo.server and nixpkgs.foo.client, is it prefered to be pushed like that (breaking backwards compatibility) or should it be rewritten to nixpkgs.foo-client and nixpkgs.foo-server?
gustavderdrache has joined #nixos
<qyliss> oh wow
clever_ has quit [Changing host]
clever_ has joined #nixos
clever_ is now known as clever
<niso> (note dhat foo-server and foo-client only differ in a couple of build flags)
<niso> *that
<ottidmes> qyliss: I tried your setup BTW, but it seems to fail for me, causing immediately disconnect from socket, which I think is caused by it using a self-signed SSL cert by default (guess you can configure it to not do that and it might work), not sure how you make it work, but I might not have all your config
<evertedsphere> so how do i manage perms on an lxc share between a host non-root user and a user in the container?
<{^_^}> [nixpkgs] @etu opened pull request #85224 → phpc(bf|s): 3.5.3 -> 3.5.4 → https://git.io/JfeoQ
<evertedsphere> i made a new share and ls -la inside the guest shows my host user's uid as being the owning uid
hax404 has joined #nixos
<evertedsphere> is there some way to "map" uids to each other?
<virtusviri7321[m> @worldofpeace:matrix.org: How to check?
<{^_^}> [nixpkgs] @Izorkin opened pull request #85225 → nixos/unit: update service configuration → https://git.io/JfeKU
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85051 → libwacom: 1.1 -> 1.3 → https://git.io/JvjJ7
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to staging: https://git.io/JfeKI
<{^_^}> [nixpkgs] @marsam merged pull request #85175 → zenith: 0.8.1 -> 0.8.2 → https://git.io/JfeJ4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfeKL
<{^_^}> [nixpkgs] @marsam merged pull request #85201 → cri-o: 1.17.1 -> 1.17.3 → https://git.io/JfeKm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfeKY
<ottidmes> jeromelanteri: Might I suggest putting it in Markdown/HTML, that will make it more accessible for most. Other than that I would suggest linking to the official docs and manpages where possible, but it is nice to have an index, e.g. some of the programs are hidden away in the docs or only mentioned in release notes, so its nice to have a list of them
arjen-jonathan has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @etu opened pull request #85226 → php.packages.phpstan: 0.12.14 -> 0.12.18 → https://git.io/JfeKs
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
nschoe has quit [Ping timeout: 256 seconds]
<ZoomZoomZoom> Ok, I'm not sure how I can reforulate my question to be smart, but I can try. If I've successfully set security.pam.loginLimits for my user, and the limit in qustion (checked by `ulimit -l`) shows "unlimited", why does the service (Syncthing) failing with "mlock of signal stack failed: 12", even though it was set up to be run as the same user?
<ZoomZoomZoom> Launching Syncthing directly with the same config works, but Systemd service fails
<{^_^}> [nixpkgs] @ryantm merged pull request #85199 → carla: 2.0.0 -> 2.1 → https://git.io/JfeKl
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfeK4
troydm has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zimbatm merged pull request #85213 → Sylk: 2.5.0 -> 2.6.1 → https://git.io/Jfegk
<{^_^}> [nixpkgs] @zimbatm pushed commit from @leenaars to master « Sylk: 2.5.0 -> 2.6.1 (#85213) »: https://git.io/JfeKz
<ottidmes> ZoomZoomZoom: I am not too sure, I have been using this config and ever since I never had any limits issue: https://gist.github.com/msteen/685e129cd7e4344036827451ec3faa68
<ottidmes> ZoomZoomZoom: I am using Syncthing too BTW, so is likely to work for you too
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
Thra11 has joined #nixos
<ZoomZoomZoom> ottidmes, Thanks, but I already use the same thing to lower memlock limit.
<evertedsphere> okay i worked around the lxc share problem by giving the guest user the same uid as my local user
<evertedsphere> hackerman
sigmundv_ has quit [Read error: Connection reset by peer]
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #85227 → testssl: 3.0rc6 -> 3.0 → https://git.io/JfeKp
zupo_ has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #85228 → sequeler: 0.7.4 -> 0.7.9 → https://git.io/Jfe6l
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85222 → nixos/libinput: refer to libinput manual → https://git.io/JfewQ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jfe64
zupo_ has quit [Client Quit]
vidbina_ has joined #nixos
romildo has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @lheckemann to release-20.03 « nixos/libinput: refer to libinput manual »: https://git.io/Jfe6g
<ottidmes> Can having a sudomain SSL cert e.g. wordpress.example.com, lead to later https://example.com being redirect to https://wordpress.example.com? I checked my NixOS configuration and static nginx config, but all redirects I have are from www.example.com to example.com and http://example.com to https://example.com, so I am at a loss
CMCDragonkai1 has quit [Ping timeout: 265 seconds]
<jeromelanteri> ottidmes, yes, correct. The first iudea is to not write something wrong, and to increase the "first concept to learn and to manage". And then, to next make in form. Content first...
<simpson> ottidmes: Use your Web browser's network debugger, or curl's -v flags, to get more information and confirm that those are the only ones.
<{^_^}> [nixpkgs] @talyz merged pull request #85224 → php.packages.phpc(bf|s): 3.5.3 -> 3.5.4 → https://git.io/JfeoQ
<{^_^}> [nixpkgs] @talyz pushed 3 commits to master: https://git.io/Jfe6P
<immae> ottidmes: do you have a fallback vhost in nginx non-ssl that redirects to https://wordpress.example.com maybe? (the equivalent in apache is "the first vhost matching will be taken", I don’t know how it is in nginx)
reallymemorable has quit [Quit: reallymemorable]
Ariakenom has joined #nixos
<niso> where can i find the machine declaration of a machine which was set up with nixops?
cvlad- has quit [Ping timeout: 240 seconds]
christiaanb has quit [Ping timeout: 240 seconds]
blackriversoftwa has quit [Ping timeout: 240 seconds]
ocharles has quit [Ping timeout: 240 seconds]
Shados_ has joined #nixos
sorear has quit [Ping timeout: 240 seconds]
etrepum has quit [Ping timeout: 240 seconds]
jeregrine has quit [Ping timeout: 240 seconds]
dermetfan1 has joined #nixos
ocharles has joined #nixos
jeregrine has joined #nixos
blackriversoftwa has joined #nixos
christiaanb has joined #nixos
etrepum has joined #nixos
Shados has quit [Read error: Connection reset by peer]
cvlad- has joined #nixos
sorear has joined #nixos
<ottidmes> simpson: Thanks for the tip, I see that it definitely is a 301, http://example.com -301-> https://example.com --> https://wordpress.example.com, and I see location https://wordpress.example.com, so it must be the wordpress configuration doing the redirection
<{^_^}> [nixpkgs] @Ma27 merged pull request #84551 → treewide: Fix types of stripDebugList attrs (and fix doc) → https://git.io/JvAcu
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/Jfe6A
domogled has joined #nixos
<ottidmes> Makes me happy that it is just a Location header, cause I got rather paranoid with using 301 redirects after making a mistake once causing a client not being able to access their website and having tons of trouble getting it to work again
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JfeiJ
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85140 → jellyfin: 10.5.3 -> 10.5.4, add link to nixos test → https://git.io/JvjMS
reallymemorable has joined #nixos
leotaku has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #85177 → sslscan: enabling scanning for sslv3 → https://git.io/JfeJN
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfeiL
romildo has joined #nixos
cr4y1 has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84546 → rs: init at 20200313 → https://git.io/JvAne
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jfeiu
pbogdan has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #85165 → prometheus/alertmanager: implement HA clustering support → https://git.io/JvjxK
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfeiX
<{^_^}> [nixpkgs] @romildo opened pull request #85229 → tree-wide: add missing parent icon themes → https://git.io/JfePT
arjen-jonathan has joined #nixos
captjakk has joined #nixos
romildo has quit [Quit: Leaving]
ZoomZoomZoom has quit [Quit: Leaving]
drakonis_ has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f6c1d3b113c (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
drakonis_ has joined #nixos
acarrico has quit [Quit: Leaving.]
vidbina_ has quit [Ping timeout: 264 seconds]
captjakk has quit [Ping timeout: 260 seconds]
drakonis1 has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
jakobrs has joined #nixos
<jakobrs> Is there anybody working on getting jami-daemon to work in nixpkgs?
drakonis1 has quit [Ping timeout: 246 seconds]
pbogdan has joined #nixos
<{^_^}> [nixpkgs] @talyz merged pull request #85226 → php.packages.phpstan: 0.12.14 -> 0.12.18 → https://git.io/JfeKs
<{^_^}> [nixpkgs] @talyz pushed 2 commits to master: https://git.io/JfePA
arjen-jonathan has quit [Ping timeout: 272 seconds]
nschoe has joined #nixos
fenedor has joined #nixos
duckfullstop has quit [Quit: Why do you need...?]
fendor has quit [Ping timeout: 265 seconds]
captjakk has joined #nixos
clever has quit [Ping timeout: 260 seconds]
drakonis_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
duckfullstop has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
arjen-jonathan has joined #nixos
pingiun has quit [Read error: Connection reset by peer]
clever has joined #nixos
clever has joined #nixos
clever has quit [Changing host]
fenedor is now known as fendor
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6fd93c33899 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
nobrak has joined #nixos
jakobrs has quit [Quit: WeeChat 2.8]
johnjay has quit [Ping timeout: 240 seconds]
jgeerds_ has joined #nixos
<{^_^}> [nixpkgs] @monacoremo opened pull request #85230 → haskellPackages.postgrest: unbreak → https://git.io/JfeXp
<nobrak> Hey folks, curious the best way to go about installing this: https://github.com/sbstp/kubie. They have a binary that could be downloaded from their releases, and also is a rust package that can be built with cargo. But unfamiliar there as well. So looking to see what's the best option for getting this in my nixos config via home manager
lordcirth has joined #nixos
johnjay has joined #nixos
turion has joined #nixos
zaeph1 has joined #nixos
<ottidmes> nobrak: You will still have to patch the binary for it to work, which might be just as much work as getting the from source build to work in this case, and besides, if you want to make it available to nixpkgs, it will have to be from source anyways
jgeerds_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixos-homepage] @edolstra pushed to master « linux -> Linux »: https://git.io/Jfe1E
zaeph has quit [Ping timeout: 264 seconds]
aveltras has joined #nixos
shabius has quit [Quit: Leaving]
nschoe has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<wip_> hi, im trying to build syslog-ng with --enable-java-modules. this seems to require gradle and log4j-1.2.16. it seems i got log4j to build but im unable to get gradle to find it. instead it tries to download it from the sandbox, which fails. what am i missing here? http://dpaste.com/03WSYXK
rardiol has joined #nixos
shabius has joined #nixos
o1lo01ol1o has joined #nixos
pamplemousse has joined #nixos
erasmas has joined #nixos
Naptra has quit [Remote host closed the connection]
LysergicDreams has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @edolstra pushed to flakes « Make Registry::read() more robust »: https://git.io/JfeMt
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<teto> so running vim/update.py script now autocommits ?
<teto> heresy !!
LysergicDreams has joined #nixos
rauno has quit [Remote host closed the connection]
noudle has joined #nixos
chloekek has joined #nixos
zaeph1 is now known as zaeph
justanotheruser has joined #nixos
growpotkin has joined #nixos
cole-h has joined #nixos
zustalo has joined #nixos
Shados_ has quit [Quit: Shados_]
Shados has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zustalo> how to properly check if attribute is set?
<zustalo> when I'm doing if myattrive.bla.bla then else;
<zustalo> I get "error attribute missing" when it is not set
<zustalo> but works fine when it is set to false/true
<srk> > builtins.hasAttr
<{^_^}> <PRIMOP>
<adisbladis> > builtins.hasAttr "x" {x=1;}
<{^_^}> true
drakonis_ has joined #nixos
zupo has joined #nixos
<b42> > { x = 1; } ? x
<{^_^}> true
<ikwildrpepper> zustalo: you can also use this, in case you have some idea of default value: myattrive.bla.bla or "default-value"
<zustalo> but how do I get a query that if HAS attr and is true?
<adisbladis> b42: That actually has one advantage. It works on deeper structures.
<adisbladis> > { x = {y=1;}; } ? x.y
<{^_^}> true
<zustalo> yes, it's true / false;
drakonis has quit [Ping timeout: 256 seconds]
<zustalo> I have value config.myapp.use-nginx = true;
drakonis has joined #nixos
<zustalo> but I don't have to set it
<b42> adisbladis: TIL
<ikwildrpepper> zustalo: you could do: config.myapp.use-nginx or false
<zustalo> but when I do that, I get "use-nginx" attribute is missing
<zustalo> when doing "if then else"
drakonis1 has joined #nixos
foomanchoo has joined #nixos
chloekek has quit [Quit: WeeChat 2.7]
zupo has quit [Ping timeout: 250 seconds]
<zustalo> ah wait
<zustalo> it now says undefined variable
nobrak` has joined #nixos
captjakk has quit [Read error: Connection reset by peer]
captjakk has joined #nixos
<zustalo> sorry, I think I'm doing something wrong so to summary: I have config.myapp.use-nginx and I somethings set it as true, but often it is not even defined
<zustalo> and I want to if on it
<zustalo> myflag = if config.myapp.use-nginx then "bla" else "boo" ;
<jluttine> I'm running `startx /run/current-system/sw/bin/i3` from a tty while display-manager is stopped. My computer just freezes. Black screen, mouse cursor in the middle but nothing works. Not Ctrl+Alt+F1 nor any number, not mouse, nothing. Just completely black and frozen. Any ideas how I could start i3 from tty?
drakonis2 has joined #nixos
drakonis_ has quit [Ping timeout: 272 seconds]
jgeerds_ has joined #nixos
captjakk has quit [Remote host closed the connection]
nobrak has quit [Ping timeout: 256 seconds]
<foomanchoo> Im a bit of a nix noob, so please forgive my ignorance. I have a dev environment that is working great using `nix-shell`. Im on OSX, and I want to enable some services via `launchd`. I was hoping to utilize nix-darwin's launchd module. I was trying something like `import <darwin/modules/launchd> { inherit config lib pkgs;};` but it wasn't working
<foomanchoo> as expected. Am I importing that incorrectly?
<jluttine> Hmm.. actkbd key bindings still work, so it's not completely dead.
drakonis1 has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 256 seconds]
nobrak`` has joined #nixos
<niso> zustalo: maybe you could use mkIf?
<zustalo> oh I don't know that one
captjakk has joined #nixos
o1lo01ol1o has joined #nixos
drakonis2 has quit [Read error: Connection reset by peer]
drakonis_ has quit [Read error: Connection reset by peer]
nobrak` has quit [Ping timeout: 256 seconds]
<zustalo> niso: how can I do else with it?
drakonis_ has joined #nixos
cfricke has quit [Ping timeout: 256 seconds]
<niso> zustalo: oh, you wouldn't use else with it - but use-nginx sounded like you wanted infact a boolean?
<zustalo> yes
<zustalo> but I need else too
LysergicDreams has quit [Ping timeout: 258 seconds]
<zustalo> I need to use something or something else if that is set
<niso> zustalo: and why not the standard nix if-then-else?
<qy[m]1> is there a way to get the date of a git commit from a fetched repo
<zustalo> because that variable is not defined all the time
<zustalo> and when I try to if it and is not defied it says it is not a variable
captjakk has quit [Ping timeout: 265 seconds]
<niso> qy[m]1: check the git log?
<evanjs> man, rclone seems like it'd be a good candidate for a nix/hm module (https://rclone.org/ -- https://github.com/rclone/rclone)
<niso> zustalo: and why not set a default value? e.g. null?
<evanjs> It looks like it is in tree, but the configuration looks like it could benefit from some configuration abstraction, etc
turion has quit [Quit: Leaving.]
<foomanchoo> I love rclone, and I agree, would be an awesome module.
<zustalo> niso: because people are using it as import an I don't have control over it
<zustalo> so I'm not sure if people are using it or not
<zustalo> but I want people be able to just set it to true if needed
<zustalo> or if there a way to set a value to a variable if it is not set?
foomanchoo has quit [Remote host closed the connection]
<zustalo> like, if this variable doens't exist set it to false?
<niso> zustalo: like {arg1 ? null}: ?
thibm has joined #nixos
LysergicDreams has joined #nixos
<ottidmes> zustalo: I see you use config.myapp.use-nginx, so I assume its an option rather than an argument, in that case you just set default = false; in the mkOption, or you could assign it mkDefault false in your config
<zustalo> ottidmes: it is not a service sadly
o1lo01ol1o has quit [Remote host closed the connection]
<zustalo> people are settings that int hei own config.nix files
<zustalo> and that is used as a function, not as a module
<ottidmes> Well then it is like niso said
<zustalo> niso: I think that is how I want it, but how do I set it?
<zustalo> in nixpkgs I see it setting on the first line, but that is not my case
ddellacosta has joined #nixos
<ottidmes> zustalo: ah, you pass it as a whole and just want this one thing to have a default? If so, you could just do: { arg = false; } // args
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
jakobrs has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #85233 → humanity-icon-theme: init at 0.6.15 → https://git.io/JfeDF
<jakobrs> Is there any simple command to list all available vc fonts?
<jakobrs> The "simplest" I've got is
<jakobrs> ls $(nix-store -qR /run/current-system | grep console-env)/share/consolefonts
<jakobrs> but that feels very unidiomatic.
<niso> zustalo: what ottidmes said - i mostly merge the userinput with a default set
knupfer1 is now known as knupfer
zupo has joined #nixos
bahamas has quit [Quit: leaving]
<jakobrs> The problem is that `consoleEnv` is only used inside of nixos/modules/config/console.nix and isn't available outside of it.
captjakk has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « mirage-crypto{,-rng,-pk}: init at 0.6.2 »: https://git.io/Jfeyq
<yangm> is this a sane way to build OCI images from a nix derivation? https://grahamc.com/blog/nix-and-layered-docker-images
jjakob has quit [Quit: No Ping reply in 180 seconds.]
chagra_ has quit [Ping timeout: 256 seconds]
dansho has joined #nixos
<ottidmes> infinisil: I seem to be marked as unregistered with my ZNC setup, so I am guessing I am not properly authenticating at freenode, do you do this? https://wiki.znc.in/Sasl
jjakob has joined #nixos
<infinisil> ottidmes: Oh yeah, that's one thing the znc module doesn't do yet
o1lo01ol1o has joined #nixos
<infinisil> I think I manually configure the sasl module
nobrak`` has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.mirage-clock-unix: init at 3.0.1 »: https://git.io/Jfeyn
<ottidmes> infinisil: I don't see anything mentioned about it on the wiki other than that SASL page, guess I will just try that manually as well
freeman42x has joined #nixos
<infinisil> ottidmes: /query *sasl
<infinisil> then type `help`
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « treewide: fix passAsFile occurences »: https://git.io/JfeyB
dansho has quit [Client Quit]
<globin> Ericson2314:^
arjen-jonathan has quit [Ping timeout: 246 seconds]
<ottidmes> https://nixos.wiki/wiki/ZNC I see it now at the end under Networks, either nickserv or use *sasl like you mention, thanks :)
KeiraT has quit [Remote host closed the connection]
jakobrs has left #nixos ["WeeChat 2.8"]
<Ericson2314> globin woo!!
KeiraT has joined #nixos
gulkbag has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.mirage-flow-unix/-combinators: init at 2.0.1 »: https://git.io/JfeyV
eoli3n__ has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jb55 has quit [Remote host closed the connection]
nschoe has joined #nixos
<qy[m]1> <niso "qy: check the git log?"> the problem is, nix strips that :p
<qy[m]1> i'm wondering if nix keeps it somewhere, as part of the src derivation
<niso> qy[m]1: oh, no idea, i lookup stuff like that on a local clone
<qy[m]1> yeah, i want it as part of a derivation
<qy[m]1> bleh
rardiol has quit [Ping timeout: 260 seconds]
<cole-h> `leaveDotGit` maybe?
rardiol has joined #nixos
arjen-jonathan has joined #nixos
<qy[m]1> well, i was trying to avoid that
<qy[m]1> if that's the only solution i just won't bother
chloekek has joined #nixos
KeiraT has quit [Remote host closed the connection]
yuuki__ has joined #nixos
KeiraT has joined #nixos
chagra_ has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @raboof opened pull request #85234 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/Jfeyj
<cole-h> lol ^
<{^_^}> [nixpkgs] @raboof closed pull request #84906 → mastodon-bot: init at 2020-03-22 → https://git.io/JvhvL
<raboof> cole-h: not the first time I made that mistake either :D
drakonis_ has quit [Ping timeout: 272 seconds]
<cole-h> Hehe
jb55 has joined #nixos
zupo has joined #nixos
* infinisil is thinking to remove that banner again, just because it's kind of annoying when you make a PR
<infinisil> But then again I guess that's kind of the point :P
<raboof> saving a commit without entering a commit message title will abort commiting, but saving a PR without entering a PR title (in the 'hub' cli tool) will just take the first non-empty line of the PR...
vidbina_ has joined #nixos
<cole-h> Would be nice if hub did what the web interface does: take the commit title if only 1, or the branch name if more than 1 commit
<raboof> infinisil: I think it's kinda nice. An improvement would be to make it more 'actionable', it's not *that* obvious how you can contribute usefully to the reviewing process as an 'outsider', the docs can be a bit overwhelming
<cole-h> infinisil: Honestly, it wouldn't be that bad if GitHub just expanded the text box to its entire height immediately
<yuuki__> Quick question about weird behavior with regards to neovim: plugins are installed just fine, except color schemes. None of them work. I've tried stable channel, unstable channel, I've tried everything from neovim 3xx to 4xx to the 0.5.0 which I'm usually on (new NixOS user).
<yuuki__> https://pastebin.com/gTRqR8su the relevant overlay
CptCaptain has quit [Ping timeout: 256 seconds]
rogue_koder has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @teto merged pull request #85221 → gitAndTools.git-trim: 0.2.4 -> 0.3.1 → https://git.io/JfewM
<{^_^}> [nixpkgs] @teto pushed commit from @marsam to master « gitAndTools.git-trim: 0.2.4 -> 0.3.1 »: https://git.io/JfeSu
rogue_koder has joined #nixos
zeta_0 has joined #nixos
<emilsp> I presume this whole global pandemic thing will delay the release of 20.04 ? Is there a way to try using the 20.03 channel already in a way that would allow me to seamlessly upgrade to 20.03 when the time comes?
<gchristensen> 20.03 will be out quite soon :)
<emilsp> yay! then I'll hold off for a bit. Really looking forward to the newer AMD drivers. Seemingly, my 5700xt doesn't work even with the newer kernels on 19.09.
<cole-h> Might be our first 50th March release, but it'll happen
<emilsp> march is always a relative term
<m1cr0man> Hey folks anyone know an alternative to http://howoldis.herokuapp.com/ ? It seems to be broke :P
<zeta_0> hey everyone, i got these 2 generic shell.nix's to work in a nix-shell, but for some reason ghcide is not recognizing the haskell pkgs/modules? https://dpaste.org/gkiS https://dpaste.org/Bs9N
<ottidmes> emilsp: Did you check out the various issues/topics on it, there are a bunch of NixOS'ers with that card, including me, and I have it working without issue
henry_ has joined #nixos
<emilsp> ottidmes: I did, maybe I should verify that it actually works with a different OS. My screen just freezes after amdgpu is loaded
<zeta_0> i'm able to go into a nix-shell without any errors, so i'm assuming that those environment variables are correct, so i have no idea what is wrong
kleisli_ has quit [Ping timeout: 256 seconds]
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @mdlayher opened pull request #85236 → corerad: 0.2.2 -> 0.2.3 → https://git.io/JfeS1
henry__ has joined #nixos
<cole-h> env vars won't cause errors unless the command being substituted errors
henry_ has quit [Ping timeout: 256 seconds]
cmacrae has quit [Quit: ERC (IRC client for Emacs 26.3)]
s1341 has quit [Quit: Connection closed for inactivity]
<ottidmes> emilsp: I think your motherboard and the PCIE version support for it matter quite a bit. I heard people with recent AMD CPUs having more troubles, ironically enough, since their motherboards support version 4, which is rather recent
<tbenst[m]> I'm trying to update to release-20.03 and getting a funky error: `Package ‘openssl-1.0.2u’ in /Computer/nixpkgs/pkgs/development/libraries/openssl/default.nix:132 is marked as insecure, refusing to evaluate.` Stacktrace indicates that vscode is at fault, but I can't any use of openssl in any of the vscode/extension derivations. Any idea where this might come from?
yuuki__ has quit [Ping timeout: 240 seconds]
<ottidmes> mongodb
CptCaptain has joined #nixos
<zeta_0> cole-h: so then, why do you think ghcide is not recognizing my haskell pkgs/modules ?
<ottidmes> tbenst[m]: All cases I have seen were mongodb using the old version
<cole-h> ¯\_(ツ)_/¯
<zeta_0> that's a bummer
<tbenst[m]> ottidmes: hm, thanks, I don't have mongodb explicitly installed but seems like it's used all over my nix store...
drakonis1 has joined #nixos
<ottidmes> tbenst[m]: easy way to figure it out is: nix-store --query --tree /run/current-system, and then /openssl-1.0.2u (i.e. search for openssl-1.0.2u)
snicket has quit [Remote host closed the connection]
<ottidmes> or rather than /run/current-system the drv of the build
snicket has joined #nixos
rogue_koder has quit [Ping timeout: 264 seconds]
<ottidmes> tbenst[m]: nix-store --query --tree $(nix-instantiate '<nixpkgs/nixos>' -A system)
o1lo01ol1o has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
zustalo has quit [Remote host closed the connection]
<emilsp> ottidmes: that might be it then, as I'm technically following everything listed here - https://discourse.nixos.org/t/getting-plasma5-running/6280 and I am running a x570 motherboard with a PCI-Ev4 slot
reallymemorable has joined #nixos
noudle has quit []
o1lo01ol1o has quit [Remote host closed the connection]
rogue_koder has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
vidbina_ has quit [Ping timeout: 260 seconds]
<sphalerite> ottidmes: since that error prevents evaluation, there won't be any drv to get info about
knupfer has quit [Ping timeout: 256 seconds]
linarcx has joined #nixos
<tbenst[m]> ottidmes: know how I do that for a local nixpkgs (`/Computer/nixpkgs`)? Looked at man page & manual but couldn't figure out the equivalent of `-I nixpkgs=.`
kleisli_ has joined #nixos
<linarcx> Guys, why this package doesn't exists in repo? `gtk3-widget-factory`
<sphalerite> tbenst[m]: it won't work for the reason above
<sphalerite> tbenst[m]: but it's odd, if I try to evaluate vscode from the current nixos-20.03 beta it works
<sphalerite> tbenst[m]: are you sure you're using the right nixpkgs version for whatever is giving youthis error?
drakonis is now known as drakonis_
drakonis1 is now known as drakonis
<tbenst[m]> sphalerite: I checked out `release-20.03` branch of NixOS/nixpkgs
<sphalerite> tbenst[m]: have you pulled?
arstneio has joined #nixos
<ottidmes> sphalerite: you are completely right, but that should be easy enough to fix, I think, let me check, also the fact that the warning is produced seems to indicate that 20.03 is indeed correctly pulled
<ottidmes> tbenst[m]: how do you install vscode, do you get it from a unstable branch perhaps like I have?
<tbenst[m]> ottidmes: I have it installed through home-manager
<tbenst[m]> sphalerite: yes, recent commit. Going to try commenting out extensions...
<sphalerite> tbenst[m]: then your home-manager probably isn't using the right nixpkgs
<sphalerite> tbenst[m]: `nix-env -f /Computer/nixpkgs -iA vscode` will probably work
<tbenst[m]> sphalerite: no, fails with same error
arstneio has quit [Remote host closed the connection]
<sphalerite> \:| what about `nix eval -f /Computer/nixpkgs lib.version`?
endformationage has joined #nixos
ATuin has joined #nixos
<tbenst[m]> sphalerite: 20.03.git.21750051b26
<ottidmes> tbenst[m]: nix-store --query --tree $(nix-instantiate --expr 'with import <nixpkgs/nixos> { configuration = { imports = [ <nixos-config> { nixpkgs.config.permittedInsecurePackages = [ "openssl-1.0.2u" ]; } ]; }; }; system')
<tbenst[m]> ottidmes: executes but pattern not found for openssl-1.0.2u
<tbenst[m]> but I don't think that's executing my release-20.03 branch
<ottidmes> tbenst[m]: then you have definite answer that its not in your NixOS system, but in HM, assuming you run HM outside of your NixOS system
<sphalerite> tbenst[m]: I'm very confused, on that exact commit I can evaluate vscode fine. Have you got any overlays or relevant config?
<tbenst[m]> sphalerite: yes, have overlays, will try clobbering them..
<tbenst[m]> sphalerite: setting `export NIX_PATH=nixpkgs-overlays=/var/empty:$NIX_PATH` allowed me to build vscode, nice catch! now to find the problem overlay...
<tbenst[m]> doh!
<ottidmes> tbenst[m]: to answer your question about a local nixpkgs, I assumed NIX_PATH already had nixpkgs point to that local nixpkgs, if not, -I should indeed work by adding it to the nix-instantiate call, but the most straightforward way would be to just replace <nixpkgs/nixos> for /my/nixpkgs/nixos
<tbenst[m]> ottidmes: ah, thank you! makes sense. didin't realize <.../something> mapped to path directly
<tbenst[m]> ottidmes: sphalerite: I'm an idiot. I had an overlay that explicitly added openssl_1_0_2 to vscode and missed it
<{^_^}> [nixos-homepage] @edolstra pushed to remove-azure « Remove Azure image tab »: https://git.io/JfeH3
<tbenst[m]> thank you very much for your well-principled debugging help!
<sphalerite> ^^ happens to everyone
<{^_^}> [nixos-homepage] @edolstra opened pull request #394 → Remove Azure image tab → https://git.io/JfeHs
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tbenst[m]> :D
Darkmatter66_ has joined #nixos
vidbina_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 250 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
KeiraT has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
kaliumxyz has quit [Quit: leaving]
asheshambasta has quit [Ping timeout: 246 seconds]
linarcx has quit [Ping timeout: 264 seconds]
<__monty__> When systemctl asks for authentication it always offers to identify as root or my user, is there a way to have it default to identifying with my user?
drakonis has joined #nixos
cfricke has joined #nixos
<{^_^}> [nixos-homepage] @edolstra pushed to remove-azure « Also remove GCE images »: https://git.io/JfeH7
cjpbirkbeck has joined #nixos
ottidmes has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
ottidmes has joined #nixos
nixandemacs has quit [Ping timeout: 240 seconds]
<rnhmjoj> monty: i believe that problem has been fixed starting with nixos 20.03. from now on it should directly ask your password because root is no longer in the admin group (or whatever it's called) of polkit
o1lo01ol1o has joined #nixos
<rnhmjoj> __monty__: ^
<{^_^}> [nixpkgs] @ryantm opened pull request #85238 → pythonPackages.linode-cli: init at 2.14.1 → https://git.io/JfeQt
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
rogue_koder_ has joined #nixos
rogue_koder has quit [Remote host closed the connection]
<__monty__> rnhmjoj: Ah, thanks.
Ariakenom has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @nomeata opened pull request #85239 → wasmtime: Do not prefix version with `v` → https://git.io/JfeQV
knupfer has joined #nixos
ottidmes has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
laval[m] has joined #nixos
ottidmes has joined #nixos
knupfer has quit [Client Quit]
knupfer1 has joined #nixos
<ottidmes> infinisil: BTW I tried using nickserv, just to see whether it would work, did it exactly like the wiki, but it did not work for me, I was still unregistered. After a nice chat with *sasl its working fine though, which I should be using anyway.
rogue_koder_ has quit [Ping timeout: 250 seconds]
<infinisil> Not sure how using nickserv would work for that. Some action by the IRC client is required to send the password somehow
knupfer1 is now known as knupfer
rogue_koder_ has joined #nixos
nopsled has joined #nixos
zeenk has quit [Quit: Konversation terminated!]
<nopsled> hello; im trying to run aqemu, but i keep getting the following error:
<nopsled> qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
<nopsled> This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
<nopsled> There is no nixos option to enable aqemu
<nopsled> and I couldn't find any xcb plugin for qt5 in the nixpkgs repository
risson has quit [Quit: pouet]
<{^_^}> #54525 (by ttuegel, 1 year ago, merged): Wrap Qt applications
<nopsled> so the problem is that aqemu doesnt use "wrapQtAppsHook"?
<infinisil> Yeah that's usually the problem
<infinisil> With such an error
<nopsled> is there a quick and dirty fix so i can run the program in a throwaway shell?
<infinisil> nopsled: Ideally it would be fixed in nixpkgs so other people can get the fix
<{^_^}> [nixpkgs] @teto merged pull request #85119 → linux: Enable `CONFIG_NET_DROP_MONITOR` by default → https://git.io/Jvjax
<{^_^}> [nixpkgs] @teto pushed commit from @nh2 to staging « linux: Enable `CONFIG_NET_DROP_MONITOR` by default. »: https://git.io/Jfe7E
rogue_koder_ has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f6c1d3b113c (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
o1lo01ol1o has quit [Remote host closed the connection]
linarcx has joined #nixos
<dsal> I don't quite understand the nix config language. I'm cargo-culting pretty heavily. `with pkgs; [ x ]` seems to be the equivalent of `[ pkgs.x ]` is this right?
<infinisil> dsal: Yup!
<infinisil> Well
<dsal> The semicolon is a bit distracting.
<infinisil> Actually it depends on context
<infinisil> But yeah for simplicity, those are the same usually
risson has joined #nixos
<nopsled> "with" just implicity prefixes everything in the [] with the parameter (in this case "pkgs"), right?
<infinisil> nopsled: Nah
<infinisil> with adds its argument to the scope of the expression after it
<infinisil> So `with { x = 10; }; x` works too and evaluates to just `10`
<nopsled> whats an example of something where "with a; [ b ]" is != to "[ a.b ]"
<thefloweringash> > let b = “hi”; a = {}; in with a; [ b ]
<{^_^}> error: syntax error, unexpected $undefined, at (string):296:9
<infinisil> > with {}; [ "foo" ]
<{^_^}> [ "foo" ]
<infinisil> Hehe had the same idea as thefloweringash
<nopsled> b42: thanks
<thefloweringash> Aw no, foiled by smart quotes
ottidmes has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<kalbasit> has anyone attempted to import a set of modules (say nix-darwin) under a namespace in another set of modules?
rardiol has quit [Ping timeout: 265 seconds]
ottidmes has joined #nixos
rardiol has joined #nixos
<kalbasit> can a submodule be used for this?
<{^_^}> [nixpkgs] @Lassulus merged pull request #83738 → hcxdumptool: init at 6.0.5 → https://git.io/Jv7C6
<{^_^}> [nixpkgs] @Lassulus pushed commit from @danielfullmer to master « hcxdumptool: init at 6.0.5 »: https://git.io/Jfe5v
<nopsled> b42: i keep getting "error: cannot auto-call a function that has an argument without a default value ('mkDerivation')"
<nopsled> b42: i just made a default.nix in an empty directory and am running nix-build in there
<clever> ,callPackage nopsled
<{^_^}> nopsled: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
shibboleth has joined #nixos
<nopsled> ok
<b42> well, nix-build -E '(import <nixpkgs> {}).libsForQt5.callPackage ./default.nix {}' in this case
zupo has joined #nixos
<infinisil> nopsled: Although you most likely want to use `nix-build -A aqemu` in the nixpkgs root
<infinisil> Or whatever you're building
<nopsled> what does -A do? it built successfully with the previous suggestion
marsh has quit [Ping timeout: 265 seconds]
<infinisil> The nix-build thing there uses <nixpkgs>, which is not deterministic, can vary from user to user
<infinisil> If you use `nix-build -A <attribute>` in nixpkgs it uses the nixpkgs you're currently in
rogue_koder_ has joined #nixos
<b42> nopsled: if you want a throwaway shell and don't mind dependencies from unstable then try nix-shell -I nixpkgs=https://github.com/mmilata/nixpkgs/archive/qt5-mkDerivation-stdenv.tar.gz -p aqemu
<lovesegfault> Still amazed by how bad systemd-resolved is compared to unbound
<lovesegfault> since switching yesterday my DNS just... works?
orivej has joined #nixos
dkibi has quit [Quit: leaving]
<sshow> unbound is awesome, indeed
dkibi has joined #nixos
OrangeTetra has joined #nixos
<infinisil> ,callPackage = If you're updating a package file in nixpkgs that starts with something like `{ stdenv, cmake }:`, use `nix-build -A the-package-attribute` in the nixpkgs root with the corresponding package attribute to build it. The mapping from package attributes to package files is in pkgs/top-level/all-packages.nix
<{^_^}> callpackage redefined, was defined as If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<energizer> how do i nixos rollback to a specific generation?
<infinisil> There, fixed ,callPackage to reflect what most people should do instead
marsh has joined #nixos
rogue_koder_ has quit [Ping timeout: 256 seconds]
gentauro has quit [Read error: Connection reset by peer]
<infinisil> energizer: Is there something specific about rollbacks you want to know more about? Or the general process?
j4m3s2 has quit [Quit: WeeChat 2.5]
gentauro has joined #nixos
<energizer> infinisil: nixos-rebuild switch --rollback doesnt take an argument, so i have to do it n times to get back to a generation from last week
<clever> energizer: you can use `nix-env --profile ... --rollback` instead
<clever> [root@amd-nixos:~]# nix-env --profile /nix/var/nix/profiles/system --list-generations 559 2019-11-25 08:31:04 560 2019-11-27 12:12:00
<infinisil> clever: That won't call the activation script though
<clever> `man nix-env` -> nix-env {--switch-generation | -G} {generation}
<clever> infinisil: and then you can manually run the switch, `/nix/var/nix/profiles/system/bin/switch-to-configuration switch`
<infinisil> Yup yup
<infinisil> energizer: ^
romildo has joined #nixos
<clever> you can also skip the rollback/switch-generation step if you want
<clever> and just run the switch-to-configuration from the right generation
<thequux[m]> Can I reasonably assume that, on all platforms that Nix supports, static libraries end with `.a`, or do we think that we might at some point want to support mingw?
<clever> thequux[m]: i think it always ends in .a, since its just an ar(chive) of .o files
<{^_^}> [nixpkgs] @danielfullmer opened pull request #85240 → wifite2: 2.2.5 -> 2.5.2 → https://git.io/Jfe57
<thequux[m]> On all the unices that I know of (including OSX), yes. On Windows, it's `.lib`
<energizer> clever: you mean `sudo /nix/var/nix/profiles/system-35-link/bin/switch-to-configuration`?
<clever> energizer: yep
<energizer> ok
<clever> energizer: that will just immediately switch to generation 35, without doing any rollbacks
<clever> energizer: the default on boot may not be changed
<energizer> clever: what's the differrence between switching and rollbacking?
o1lo01ol1o has joined #nixos
<infinisil> thequux[m]: Check out https://github.com/NixOS/nixpkgs/blob/1c951b1484ebf0efc2024dc5fad252bcefe5369b/lib/systems/default.nix#L44-L52, you could probably PR `staticLibrary` there if you don't want to hardcode this
<nopsled> would a rollback delete the generation you rolled from?
<clever> nopsled: nope
<cole-h> clever: Is there a downside if you skip the rollback and just switch-to-configuration?
<thequux[m]> infinisil: Ah, perfect. Thanks!
<clever> energizer: the rollback just changes what nixos-rebuild and the bootloader stuff thinks is "current"
<{^_^}> [nixpkgs] @LnL7 opened pull request #85241 → Show option → https://git.io/Jfe5b
<energizer> clever: whereas switch
oranginal has joined #nixos
<cole-h> clever: Ah, so if you just switch-to-configuration, it only takes effect for the current boot, while --rollback + switch-to-configuration would switch current boot and all subsequent boots?
<clever> cole-h: i think the "switch" arg you pass to it, will also update the bootloader, and make it the default, not entirely sure
OrangeTetra has quit [Ping timeout: 256 seconds]
<pie_[bnc]> recurring question: anyone know how to get GL/gl.h ?
<clever> behind the scenes, nixos-rebuild will run switch-to-configuration (switch|test|boot)
<clever> ,locate GL/gl.h
<{^_^}> Found in packages: ogre, root5, nxproxy, ogre1_9, ogre1_10, emscripten, mesa_noglu.dev, libGLU_combined, driversi686Linux.mesa.dev
<clever> pie_[bnc]: probably mesa_noglu?
<pie_[bnc]> i looked at that??? *looks again*
<pie_[bnc]> oh no i looked at libGLU_combined. man what is my brain doing
<pie_[bnc]> also that lidint list libglvnd
<pie_[bnc]> weird
<pie_[bnc]> is there a limit to the number of results?
<cole-h> What's the difference between mesa and mesa_noglu?
<pie_[bnc]> infinisil: might want to indicate that there are additional results for ,locate if they get cut off
<energizer> my display manager provides a list of sessions (or something) that can be started, and iirc xterm used to be in my list but it is now gone, and now i can't log in graphically. i'm trying to remember what setting caused xterm to appear in that list. any ideas?
<infinisil> pie_[bnc]: It does
<clever> cole-h: i think noglu lacks the userland libraries for driving a lot of open-source drivers
<infinisil> ,locate cc
<clever> cole-h: but it still has enough headers to link to libGL at runtime
<{^_^}> Found in packages: eli, gcc, gcj, kea, atom, dirt, gcc5, gcc6, gcc7, gcc8, gcc9, clang, gcc48, gcc49, gccgo, moodle, povray, screen, clang_4, clang_5, clang_6, clang_8, coq_8_5, coq_8_6, coq_8_7, coq_8_8, scribus, clang_35, clang_39, coq_8_10, gap-full, gfortran, atom-beta, gcc_debug, gcc_multi, gfortran5, gfortran6, gfortran8, linux.dev, gfortran48, gfortran49, clang-polly, clang_multi, go_bootstrap, ccacheWrapper, distccWrapper, and 25 more
<infinisil> pie_[bnc]: ^
<pie_[bnc]> oh huh
<pie_[bnc]> dunno why it doesnt see libglvnd then
<infinisil> The nix-locate database isn't up-to-date
<cole-h> I see. Curious what the point of that is, but meh
<infinisil> Maybe that's it
<pie_[bnc]> maybe
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @chkno closed pull request #79181 → seabios: Update src URL → https://git.io/JvGkm
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6fd93c33899 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<oranginal> How does one report bugs with the unstable branch?
<gchristensen> github.com/nixos/nixpkgs and create a new issue
<{^_^}> [nix] @cleverca22 opened pull request #3494 → log all ifd → https://git.io/Jfed6
<clever> gchristensen: do you think ^ needs some docs added to it?
o1lo01ol1o has joined #nixos
nobrak has joined #nixos
<gchristensen> clever: yeah, should have docs on the new option for sure :)
<{^_^}> [nixpkgs] @oxalica opened pull request #85243 → rust-analyzer: 2020-04-06 -> 2020-04-13 → https://git.io/Jfed7
relaxmax has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
nopsled has quit [Quit: Connection closed]
kiwi_40 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kiwi_40 has quit [Client Quit]
o1lo01ol1o has joined #nixos
thibm has quit [Quit: WeeChat 2.6]
kiwi_40 has joined #nixos
<clever> gchristensen: the printInfo is updated
kiwi_40 is now known as nopsled
horek has joined #nixos
<{^_^}> [nixpkgs] @tomberek opened pull request #85244 → amazon-init: add xz to PATH → https://git.io/JfeF4
zupo has joined #nixos
maddo has quit [Quit: See ya]
maddo has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « wf-recorder: 0.2 -> 0.2.1 »: https://git.io/JfeF0
cfricke has quit [Quit: WeeChat 2.8]
pamplemousse has quit [Ping timeout: 256 seconds]
<clever> gchristensen: got the 2nd review bit, and working on docs...
<gchristensen> nice
<energizer> in a display manager like lightdm, there's supposed to be a menu of sessions to choose from, right?
<energizer> (or sddm or gdm)
<duairc> Has anyone managed to fonts (including the stuff generated by fontconfig) inside a buildFHSUserEnv?
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #85245 → openttd: 1.10.0 -> 1.10.1 → https://git.io/JfeF1
<{^_^}> [nixpkgs] @Lassulus merged pull request #85240 → wifite2: 2.2.5 -> 2.5.2 → https://git.io/Jfe57
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/JfeFM
<energizer> on my system atm, sddm's session list is *empty* and lightdm only offers "Other", but neither lets me actually log in. i can't find the logs of either one
<{^_^}> [nixpkgs] @matthewbauer opened pull request #85246 → python.pkgs.grpcio: use system openssl, zlib, and c-ares → https://git.io/JfeFD
justanotheruser has quit [Ping timeout: 250 seconds]
justanotheruser has joined #nixos
<dsal> I don't quite understand why including zlib as a package in my stack.yaml is required to build successfully.
<dsal> Maybe I've not tested this well enough lately. I'm confused by a couple things around my build processes currently. I know how to make them work, but I don't completely understand why.
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
James[m]7 has joined #nixos
virus_dave has joined #nixos
<DamienCassou> I've added a few Emacs packages to my Emacs configuration using emacsWithPackages. My `load-path` contains the packages, that's good. But how do I make Emacs to load the autoload file of each package?
ntqz has joined #nixos
<energizer> DamienCassou: you can do (require 'foo) or use use-package
<virus_dave> heyas folks! qq: I'd like to chown a mounted filesystem automatically. Tried doing this via activationScripts and userActivationScripts, but both run before the mount step apparentlty. Mount type is nfs4, which doesn't support the uid= and gid= options. What's the canonical way to do this (chown foo /mnt) correctly after it's been mounted?
abathur has joined #nixos
<clever> virus_dave: when you mount nfs, it will inherit the uid/gid of the dir, on the remote end
<clever> virus_dave: so if you chown it once, it should persist
<DamienCassou> energizer: using autoload.el means to defer requiring the packages until first use, so I explicitely don't want to use `require`. `use-package` doesn't do anything with the autoload files provided by the packages
<virus_dave> @clever ya ok, but what's the correct way to do it that one time? "just SSH into the machine and do it by hand" is what i want to avoid
ntqz has quit [Client Quit]
<dsal> Is there magic in nix.packages [zlib] in stack.yaml that you don't get from installing zlib? Or is the magic just in enabling nix support in stack?
<dsal> (otherwise, zlib.h isn't found)
ntqz has joined #nixos
<clever> virus_dave: a systemd service that depends on the fs being mounted, i guess
<clever> dsal: installing zlib wont put zlib.h into gcc's search path
<clever> ,libraries dsal
<{^_^}> dsal: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<clever> dsal: you must tell stack to add zlib to the requirements in nix-shell
<dsal> Is there a thing that will? I don't see myself writing anything with zlib in c directly, but I don't quite understand the nodel.
danielrf[m] has quit [Quit: authenticating]
ntqz has quit [Client Quit]
danielrf[m] has joined #nixos
<symphorien> how can I get a nix repl with the evaluation of configuration.nix ?
<clever> symphorien: nix repl '<nixpkgs/nixos>'
pi123 has joined #nixos
johnjay has quit [Ping timeout: 264 seconds]
ntqz has joined #nixos
codygman has quit [Ping timeout: 256 seconds]
ntqz has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7e822660c66 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ntqz has joined #nixos
<symphorien> thanks
<clever> gchristensen: hows the PR look now?
<gchristensen> clever: looks great, one last comment
codygman has joined #nixos
nobrak` has joined #nixos
<clever> gchristensen: sounds like a good idea
Dagger has quit [Quit: Quitting]
nobrak has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7f9c1d0ec3c (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<clever> gchristensen: updated!
<gchristensen> clever: lgtm, I'm going to leave it up to niksnut, though, to do a final pass :) there are some tricky things in the evaluator around blowing up the stack
<gchristensen> clever: ping me when the CI has turned all green?
<gchristensen> oh oops some failures. fix those first =)
<clever> manual failure
<clever> gchristensen: a <nixpkgs> caused problems due to a lack of </nixpkgs>
Dagger2 has joined #nixos
<noonien> i'm trying to run `designer` from qt5.qttools, i'm getting this error: `qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""`
<noonien> is this a packaging error? or am i doing something wrong?
<noonien> i got qttools from running nix-shell -p qt5.qttools
<gchristensen> clever: lol
<clever> gchristensen: i believe &lt;nixpkgs&gt; will fix it
<gchristensen> yeah
linarcx has quit [Ping timeout: 256 seconds]
<Neo--> is it possible to patch LD_LIBRARY_PATH on-the-fly or do I need to recompile the package? One of node modules needs libuuid and if I do overrideAttr and wrap it up it works, but it's kind of messy :/
<{^_^}> [nixpkgs] @grahamc opened pull request #85247 → Maintainer team → https://git.io/JfeNm
nopsled has left #nixos [#nixos]
OrangeTetra has joined #nixos
<clever> gchristensen: CI is green!
oranginal has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #83362 → nixos/boinc: simplify setup of boinc service → https://git.io/JvS2h
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/JfeN6
oranginal has joined #nixos
<energizer> `nixos-option nix` says " nixos-config was not found in the nix search path, add it using -I or NIX_PATH" and aborts. it works if i pass -I nixos-config=/path/to/my/config but i dont think thats normal. how am i supposed to do this?
<infinisil> energizer: Normally NIX_PATH should include a value for nixos-config by default already
<infinisil> Did you perhaps assign nix.nixPath manually in configuration.nix and not add such an entry?
<ornxka> energizer: oh hey i had that problem
<ornxka> i ended up just passing -I nixos-config=blahblah in the end but i also have nix.nixPath set somewhere
<energizer> infinisil: i dont see nix.nixPath anywhere in my config
OrangeTetra has quit [Ping timeout: 250 seconds]
<infinisil> energizer: What's `nix-instantiate --eval --strict '<nixpkgs/nixos>' -A config.nix.nixPath`?
seku has quit [Quit: Connection closed]
<energizer> infinisil: file nixos-config was not found in the nix search path ...
<infinisil> Oh
<infinisil> Heh
pamplemousse has joined #nixos
<infinisil> Add -I nixos-config=/path/to/my/config to that command too
numkem has joined #nixos
<energizer> infinisil: [ "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos" "nixos-config=/etc/nixos/configuration.nix" "/nix/var/nix/profiles/per-user/root/channels" ]
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
thibm has joined #nixos
<infinisil> That shows that nixos-config *should* be set in NIX_PATH
<infinisil> You sure you activated that system config?
Izorkin has joined #nixos
<energizer> i just ran `sudo nixos-rebuild switch`, if that's what you mean
<{^_^}> [nixpkgs] @primeos merged pull request #84713 → [20.03] gn: 20190403 -> 2020-03-09 (backport) → https://git.io/Jvx09
<{^_^}> [nixpkgs] @primeos pushed 4 commits to staging-20.03: https://git.io/JfeAY
plutes has quit [Ping timeout: 260 seconds]
<qyliss> I think my big GC lock is stuck. What do I do?
<energizer> when i rebuild it says "somethings wrong at /nix/store/...-setup-etc.pl line 120
<clever> qyliss: ls -l /proc/*/fd/* | grep gc
<infinisil> energizer: Hm, what's `echo $NIXOS_CONFIG` and `echo $NIX_PATH`?
<infinisil> Oh and full logs for that failure would be nice
<qyliss> clever: nothing
<clever> qyliss: as root?
<energizer> infinisil: $NIXOS_CONFIG is empty and $NIX_PATH is /home/energizer/.nix-defexpr/channels
<clever> qyliss: sudo wont work
<qyliss> (except some errors about processes that presumably stopped existing between the globbing and the ls-ing)
<qyliss> oh yes of course it won't
<MichaelRaskin> What nix- processes do you have running?
<qyliss> clever: the daemon has the lock, it appears
<ornxka> ive lost way more time to sudo globbing errors than id like to admit
<qyliss> lrwx------ 1 root root 64 Apr 14 20:10 /proc/20093/fd/21 -> /nix/var/nix/gc.lock
<qyliss> lrwx------ 1 root root 64 Apr 14 19:52 /proc/6659/fd/7 -> /nix/var/nix/gc.lock
<qyliss> The first process is the daemon, the second is nix-store --serve --write, which is waiting on the lock
<clever> qyliss: try `strace -p 20093`
<qyliss> looks like it's just blocking
<qyliss> futex(0x13bcb58, FUTEX_WAIT_PRIVATE, 2, NULL
<MichaelRaskin> And 6659?
<qyliss> flock(7, LOCK_SH
<clever> qyliss: try `kill 20093` ?
<MichaelRaskin> And strace -p 20093 -f
morgrimm has quit [Ping timeout: 260 seconds]
<energizer> infinisil: which logs would be helpful?
<infinisil> energizer: The ones around that error you mentioned
<qyliss> [pid 29499] poll([{fd=12, events=POLLIN}], 1, 10000
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @primeos pushed to master « lf: Install the shell completions »: https://git.io/JfeA0
<thibm> cole-h: I think to other reviewer on #84853 has not been active on nixpkgs since 2018 (and never responded to several mentions in the last year), but he has been assigned to review it. I'm not sure if we need to bother
<{^_^}> https://github.com/NixOS/nixpkgs/pull/84853 (by ThibautMarty, 4 days ago, open): herbstluftwm: 0.7.2 -> 0.8.0
<{^_^}> [nixos-homepage] @edolstra merged pull request #394 → Remove Azure/GCE image tabs → https://git.io/JfeHs
<{^_^}> [nixos-homepage] @edolstra pushed 3 commits to master: https://git.io/JfeAu
<{^_^}> [nixos-homepage] @edolstra pushed 0 commits to remove-azure: https://git.io/JfeAz
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<dsal> I'm running 20.03, which is allegedly unstable, but it's been a very stable introduction. I feel misled.
<infinisil> Oh no! I think somebody accidentally removed the thing that makes unstable crash at random times
morgrimm has joined #nixos
* infinisil adds it back
Izorkin has joined #nixos
<MichaelRaskin> See, that's what unstable is about
<MichaelRaskin> Npt about any specific moment, but about allowing changes that break it!
<energizer> infinisil: http://termbin.com/0ciz
mitsuhiko has quit [Read error: Connection reset by peer]
<energizer> infinisil: looks like this error only happens in a tty
jared-w has quit [Ping timeout: 260 seconds]
<infinisil> energizer: I mean the "somethings wrong at /nix/store/...-setup-etc.pl line 120" error
oranginal has quit [Ping timeout: 260 seconds]
<qyliss> clever: doesn't seem to have responded to the kill
mitsuhiko has joined #nixos
thibm has quit [Quit: WeeChat 2.6]
<clever> qyliss: try a -9 to the head then
Izorkin has quit [Client Quit]
<qyliss> Was hoping to not have to do that :)
ctp has quit [Ping timeout: 256 seconds]
Izorkin has joined #nixos
<MichaelRaskin> There are intermediate options
<energizer> infinisil: oh i know what that is, i was trying grahamc's networkmanager /persist symlink
<MichaelRaskin> -quit
<MichaelRaskin> -pipe, -abrt
<qy[m]1> does anyone here use ccache system-wide
<qyliss> clever: hah! the reason it didn't kill was that I was still stracing, lol
<qy[m]1> or even on a few packages
jared-w has joined #nixos
ctp has joined #nixos
cosimone has joined #nixos
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<infinisil> energizer: What's your configuration.nix now?
Izorkin has quit [Client Quit]
<energizer> infinisil: it's distributed across a lot of files
<infinisil> Any non-standard stuff? Maybe a different shell? I'd also see if /run/current-system/etc/set-environment exports NIX_PATH
numkem has quit [Ping timeout: 256 seconds]
Izorkin has joined #nixos
<energizer> infinisil: shell is zsh configured by home-manager. that file conditionally exports NIX_PATH, if [ -e $HOME/.nix-defexpr/channels
<infinisil> No unconditional NIX_PATH export?
<infinisil> Should be earlier
<energizer> oh you're right yes
reallymemorable has quit [Quit: reallymemorable]
Izorkin has quit [Client Quit]
<infinisil> Okay, my next suspicion is home-manager, I'd check with it disabled, such that only nixos runs shell init scripts
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/f6c1d3b113c (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
Izorkin has joined #nixos
virus_dave has quit [Quit: virus_dave]
<infinisil> energizer: Or check `zsh -o sourcetrace` and see if any of the files it outputs reset NIX_PATH
<{^_^}> [nixpkgs] @HugoReeves opened pull request #85248 → joplin-desktop: 1.0.179 -> 1.0.200 → https://git.io/Jfex8
Thra11 has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @kuznero opened pull request #85249 → vscode: 1.44.0 -> 1.44.1 → https://git.io/JfexB
reallymemorable has joined #nixos
AmandaC_ has joined #nixos
<energizer> infinisil: yes, i had an old NIX_PATH assignment in .zprofile. removing that restored nixos-option functionality
<energizer> infinisil: thanksk
<energizer> infinisil: thanks
<infinisil> Phew
AmandaC has quit [Ping timeout: 240 seconds]
ATuin has quit [Quit: WeeChat 2.7.1]
oranginal has joined #nixos
freeman42x has quit [Quit: Leaving]
<energizer> is there a way to check configuration values that are set, distinct from the ones that would be set if i rebuilt right now?
<energizer> (which of those does nixos-option do?)
<infinisil> Nope
<infinisil> Once a configuration.nix is turned into a derivation/build, there's no way to get back to the expression
freeman42x has joined #nixos
linarcx has joined #nixos
<infinisil> Though you can inspect what was generated from the expressions and from that infer things about the expressions
hr[m] has joined #nixos
<infinisil> Or you could track your configuration.nix in git
<{^_^}> [nixos-hardware] @DamienCassou opened pull request #153 → Remove problematic options on t460s → https://git.io/Jfex5
<qy[m]1> i keep the configuration tree as part of the system
<hr[m]> I just submitted a PR for joplin desktop 1.0.179 -> 1.0.200, if some others on Linux could test building and execution that would be very helpful. https://github.com/NixOS/nixpkgs/pull/85248
<{^_^}> #85248 (by HugoReeves, 10 minutes ago, open): joplin-desktop: 1.0.179 -> 1.0.200
<qy[m]1> a-la system.copySystemConfiguration, but slightly differently
<hr[m]> I have already tested build and execution on NixOS
<qy[m]1> that way if i can see a system build, i can also see it's configuration. makes no sense not to
ixxie has quit [Quit: Lost terminal]
bqv has quit [Remote host closed the connection]
hr[m] has quit [Quit: authenticating]
hr[m] has joined #nixos
bqv has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
chloekek has quit [Ping timeout: 250 seconds]
evertedsphere has quit [Ping timeout: 265 seconds]
relaxmax has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @chkno opened pull request #85251 → libaio: 0.3.110 -> 0.3.111 & update source url from fedorahosted to pagure → https://git.io/JfepV
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
matthuszagh has joined #nixos
<matthuszagh> hello, how do I work with a package that expects a configuration file in /etc? specifically, i'm looking at btrbk
<matthuszagh> this is in nixpkgs
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7f9c1d0ec3c (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthuszagh> i could use on overlay on the package expression that includes the contents of my configuration file and writes it to $out/etc
<matthuszagh> but then everyone who used this package would need to write an overlay for it, which seems like there must be a better way
<cole-h> `environment.etc."filename".source = /path/to/file` or `.txt = ''some lines'';` should work, I think
<qy[m]1> provide the file it expects, or make it not expect it
<matthuszagh> cole-h: cool thanks i'll try that out
linarcx has quit [Quit: WeeChat 2.8]
<matthuszagh> qy[m]1: via environment.etc?
dermetfan1 has quit [Ping timeout: 246 seconds]
lovesegfault has quit [Quit: WeeChat 2.8]
reallymemorable has quit [Quit: reallymemorable]
<qy[m]1> if the former, yeah
<matthuszagh> ok cool thanks
reallymemorable has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
plutes has joined #nixos
plutes has quit [Max SendQ exceeded]
<energizer> is there a nixpkgs manpage?
plutes has joined #nixos
shyim has quit [Quit: Ping timeout (120 seconds)]
shyim has joined #nixos
<cole-h> Are you talking about https://nixos.org/nixpkgs/manual/ but in your terminal?
systo has quit [Quit: .]
plutes has quit [Remote host closed the connection]
<cole-h> 99% sure -> no
systo has joined #nixos
rardiol has quit [Quit: No Ping reply in 180 seconds.]
arjen-jonathan has quit [Ping timeout: 240 seconds]
gxt has quit [Remote host closed the connection]
<energizer> that is what i mean yes
plutes has joined #nixos
gxt has joined #nixos
rardiol has joined #nixos
cr4y1 has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
freepotion has joined #nixos
freepotion has left #nixos [#nixos]
<energizer> what's the function like mapAttrs but that alters the keys instead of the values?
gulkbag has quit [Remote host closed the connection]
lovesegfault has joined #nixos
maxdeviant1 has left #nixos ["Kicked by @appservice-irc:matrix.org : issued !quit command"]
morgrimm has quit [Ping timeout: 256 seconds]
henry__ has quit [Quit: henry__]
<energizer> like, what's the equivalent of python's {k.upper(): v for k, v in d.items()}
luc65r has quit [Read error: Connection reset by peer]
rardiol has quit [Ping timeout: 265 seconds]
rardiol has joined #nixos
morgrimm has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
<energizer> oh! lib.attrsets.mapAttrs'
<mdash> yeah it's mapattrs
<mdash> heh right, haskell style names
maxdeviant has joined #nixos
epl692 has left #nixos ["The bravest thing I have is hope."]
erasmas has quit [Quit: leaving]
gustavderdrache has quit [Quit: Leaving.]
iceypoi has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #85252 → nixosTests.flannel: port to python, unbreak → https://git.io/JfejI
<vika_nezrimaya> Reading some of gchristensen's posts, I'm becoming interested in ZFS on NixOS. Currently I'm on LVM using a rotational storage media - unfortunately, I forgot to encrypt it which I would like to rectify in the future. (But I have some experience running NixOS of LUKS+LVM - it's fine) How does LUKS+ZFS compare to LUKS+LVM? Will ZFS work fine on a budget laptop in terms of performance? Is it memory-hungry if you don't use replication? And
<vika_nezrimaya> most importantly... I see a lot of stuff about subvolumes and their relative independence from each other... Can they grow organically like folders on your hard drive or is their size fixed but expandable like an LVM partition? Can I make sure that, e.g. /home can take some free space from / if it needs to without resizing both ad-hoc?
nschoe has quit [Ping timeout: 256 seconds]
<vika_nezrimaya> and yes I'm a ZFS noob so forgive me if some of those questions are better answered in some sort of documentation
<gchristensen> vika_nezrimaya: s/if you don't use replication/if you don't use deduplication/
<iceypoi> zfs does its own encryption
<gchristensen> datasets grow independently yeah, but you can set limits or reservations
<vika_nezrimaya> gchristensen: perfect :3
<vika_nezrimaya> iceypoi: how does it compare to LUKS? is it more robust? is it somehow more secure or metadata-aware?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1c951b1484e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/171e99adb20 (from 22 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<iceypoi> sorry, dunno. But it's built-in
<iceypoi> so i'd expect it to be a nice experience
<iceypoi> and quite uniform with the rest of zfs tooling
<vika_nezrimaya> If it doesn't use dm (LUKS does), then it also should be a little bit faster
aveltras has quit [Quit: Connection closed for inactivity]
<gchristensen> ZFS' encryption leaks some metadata, like dataset names, and ZFS can work fine on top of LUKS (I do it that way, though mostly because I installed before encryption was stable)
<iceypoi> i'm not 100% certain, but I'd guess they use their own implementation because it's cross-platform
<vika_nezrimaya> dataset names? it's not like I name my dataset "super-secret-data-i-could-go-in-jail-for"
peelz has quit [Remote host closed the connection]
<vika_nezrimaya> or "hack-this-first"
<iceypoi> I love "hack-this-first" :D
peelz has joined #nixos
<vika_nezrimaya> could be a nice way to end up in trouble on the US border though, I heard that they sometimes demand encryption keys from people when they see laptops encrypted
<vika_nezrimaya> and that will definitely be a red flag :3
<iceypoi> ya, technically you're not required to comply
<iceypoi> but at the same time they can lock you up for 3 days or something without a reason
<vika_nezrimaya> and I've heard stories of laptops being stolen on borders
<vika_nezrimaya> presumably for "inspection"
<vika_nezrimaya> that's off-topic tho
<iceypoi> in general encryption is a good thing
<iceypoi> but that doesn't mean you need to carry tons of data on it
<iceypoi> you might keep data in the cloud, for instance
horek has quit [Quit: Leaving]
orivej has quit [Ping timeout: 256 seconds]
peelz has quit [Remote host closed the connection]
<iceypoi> test - is this visible?
<vika_nezrimaya> it is
peelz has joined #nixos
<iceypoi> thx
<vika_nezrimaya> iceypoi: about the cloud: I have a RasPi that could be useful as a personal cloud but I've downloaded a lot of videos on it and now its primary data storage is full
<vika_nezrimaya> so I'll need a new hard drive for making a cloud but I'm broke rn
<qy[m]1> i heard people do the thing where drives have a proper decryption key, and a duress key
<qy[m]1> so when governments ask for a key, you can give them the harmless one
reallymemorable has quit [Quit: reallymemorable]
philr has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #85253 → chromium: Build with VA-API but disable it by default → https://git.io/JfejA
peelz has quit [Remote host closed the connection]
peelz has joined #nixos
<vika_nezrimaya> qy[m]1: yea but what if they suspect the existence of a second key? They would act the same way people act when confronted about deniability of existence of a god
<vika_nezrimaya> which means you may still end up behind the bars
morgrimm has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @thequux opened pull request #85254 → Cmake paths 1 → https://git.io/JfveU
steevveen has joined #nixos
<thequux[m]> \o/ My first nixpkgs PR! This means it's beer time.
<gchristensen> thequux[m]: congratulations! :D
CptCaptain has quit [Quit: WeeChat 2.7.1]
leotaku has quit [Ping timeout: 250 seconds]
peelz has quit [Remote host closed the connection]
<steevveen> Hi! I'm trying to mix C++ and Python, and I need access to the header Python.h . with locate I see that it is indeed in /nix/store/hash.....-python3-3.x.x/include/python3.7m/Python.h But even if I put python3Full in propagateBuildINputs and buildInputs, my $PATH only contains the bins in /nix/store/myhash....-python/bin . Any idea how to
<steevveen> have the /include directory also ?
o1lo01ol1o has quit [Remote host closed the connection]
<symphorien> include dirs don't go to $PATH but $NIX_CFLAGS_COMPILE
peelz has joined #nixos
henry_ has joined #nixos
<steevveen> symphorien got it . thanks!
leotaku has joined #nixos
<thequux[m]> The gcc wrapper should also automatically apply the necessary `-I` and `-L` flags for you, if you're building within nix.
<thequux[m]> (it gets them from $NIX_CFLAGS_COMPILE etc)
__monty__ has quit [Quit: leaving]
peelz has quit [Remote host closed the connection]
peelz has joined #nixos
xO1 has quit [Ping timeout: 265 seconds]
henry__ has joined #nixos
<thequux[m]> Is there any reference to what the automaticly-applied labels on github mean?
o1lo01ol1o has joined #nixos
morgrimm has joined #nixos
<gchristensen> thequux[m]: is there a specific few which you're unclear on?
henry_ has quit [Ping timeout: 258 seconds]
<thequux[m]> mostly I'm wondering what the numbers on rebuild-linux refer to
<thequux[m]> My PR got tagged with rebuild-linux and rebuild-darwin, both with 11-100
<gchristensen> that is the number of things which depend on the packages you changed
<gchristensen> so if that merges, 11 to 100 packages will have to be rebuilt
<thequux[m]> <100? I'm surprised; I changed boost, which I'd expect everything and their cow to use.
<MichaelRaskin> There are many boost versions!
<gchristensen> if you click the Details link next to ^.^! you'll see a list of things that will rebuild
<thequux[m]> Fair; I only changed 1.70+
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> I should go ahead and change those to use the Checks tab, that'll be a lot more user friendly
<cole-h> +100
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<energizer> i want to define a script with some nonalpha characters in the name. "Path names are alphanumeric and can include the symbols +-._?= and must not begin with a period. " what should I do?
<MichaelRaskin> Could we just have editable comments?
<gchristensen> MichaelRaskin: no, much harder
<MichaelRaskin> Pity
<cole-h> Editable comments, as in editing your comment doesn't make ofborg redo whatever you pinged it with?
<gchristensen> cole-h: making ofborg edit a comment in place
<infinisil> > lib.sanitizeDerivationName "this is an invalid name ]+[g{}]+}"
<{^_^}> attribute 'sanitizeDerivationName' missing, at (string):296:1
invra has left #nixos ["WeeChat 2.3"]
<infinisil> Hey, that should be there
<vika_nezrimaya> > (builtins.getFlake "nixpkgs").lib.sanitizeDerivationName
<infinisil> > lib.strings.sanitizeDerivationName "this is an invalid name ]+[g{}]+}"
<gchristensen> cole-h: would you like to make that change? =)
<{^_^}> attribute 'getFlake' missing, at (string):296:2
<{^_^}> "this-is-an-invalid-name-+-g-+-"
<cole-h> Oh. When does ofborg make comments? @_@
<gchristensen> it doesn't
<gchristensen> but it used to
<infinisil> > lib.strings.sanitizeDerivationName "this is an invalid name ]+[g{}]+}" # <- energizer
<{^_^}> "this-is-an-invalid-name-+-g-+-"
lsix has quit [Quit: WeeChat 2.7.1]
<gchristensen> it used to leave hundreds and hundreds of comments
<cole-h> Heh
<gchristensen> you'd rebase and get 5 new comments
<gchristensen> comments everywhere
<vika_nezrimaya> looks like the cutie bot doesn't support flakes yet
<vika_nezrimaya> sad
<infinisil> Hmm I could update it to use a newer nix version
xkapastel has joined #nixos
<infinisil> But it's running in read only mode + restricted eval anyways
<infinisil> I don't think flakes could work in there
alexherbo25 has joined #nixos
<energizer> infinisil: not sure how to use that. i want `pkgs.writeShellScriptBin ",hello" "echo hello world"`
<vika_nezrimaya> infinisil: what is restricted eval?
<energizer> infinisil: i want the script to actually be called ,hello not hello
<infinisil> energizer: Ah, then I don't think you can use writeShellScriptBin directly (as of now anyways, I think that could be fixed)
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo25 is now known as alexherbo2
<clever> energizer: using writeText, you should be able to name the derivation hello, but the file $out/bin/,hello
henry_ has joined #nixos
magnetophon has quit [Ping timeout: 250 seconds]
henry__ has quit [Ping timeout: 256 seconds]
evanjs- has joined #nixos
alexherbo2 has quit [Remote host closed the connection]
evanjs has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Infinisil opened pull request #85255 → trivial-builders: Sanitize derivation name → https://git.io/Jfvvq
<infinisil> energizer: Just opened ^ to support file names that would be invalid as derivation names
<energizer> pkgs.writeTextFile {name = "hello"; executable= true; text = "echo hello world"; destination = "$out/bin/,hello";}; it builds, but doesn't end up on my path for some reason
henry__ has joined #nixos
peelz_ has joined #nixos
henry_ has quit [Ping timeout: 256 seconds]
peelz has quit [Ping timeout: 264 seconds]
pbb has joined #nixos
domogled has joined #nixos
henry__ has quit [Ping timeout: 258 seconds]
<steevveen> thequux[m] is there an equivalent of $NIX_CFLAGS_COMPILE that contains include dirs, but for libs *.so ?
<thequux[m]> $NIX_LDFLAGS
justanotheruser has joined #nixos
<thequux[m]> TBH, though, this should all be invisible to you. While I understand the pathological need to look behind the curtain and see how the rabbit ended up in the hat, the only reason I needed to find that out was to rule it out in the process of debugging something else.
<thequux[m]> So what, precisely, are you trying to do?
<steevveen> trying to compile code that include "Python.h" , I don't know the .so file to include
<steevveen> not to include, to build with
<thequux[m]> As a nix derivation, or from outside nix?
fendor has quit [Quit: Leaving]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/9f0f06ac8be (from 28 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<steevveen> for the moment it is just a makefile , oh no just a .sh file building with g++
<thequux[m]> OK, so try running `nix-shell -p nixpkgs.stdenv -p nixpkgs.python37 --command "make"`
<thequux[m]> This will set up the environment with all of the libraries involved in python3.7 available, along with make and the usual set of compilers
<energizer> could someone repost {^_^}'s link about invalid derivation names
cosimone has quit [Quit: Quit.]
<energizer> {^_^}: what did you just say
<thequux[m]> Alternatively, you could write a simple derivation. Assuming your makefile has an install target, the derivation should be simple. I'll give you a basic one in just a second after I repaste the link for energizer
<thequux[m]> energizer: Is this the link you're looking for? https://git.io/Jfvvq (that's the one to the pull request)
<energizer> thequux[m]: yeah thanks
henry_ has joined #nixos
<thequux[m]> np
oranginal has quit [Ping timeout: 264 seconds]
<thequux[m]> With that in default.nix, you should be able to run `nix build` and have your program be built.
<bdju> not sure if there's an issue about it yet but the gtk file picker seems to crash firefox pretty often these da ys
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfvvS
<{^_^}> [nixpkgs] @jtojnar merged pull request #85239 → wasmtime: Do not prefix version with `v` → https://git.io/JfeQV
shibboleth has quit [Ping timeout: 240 seconds]
<steevveen> thequux[m] thx, got to learn the nix way :-)
janneke has quit [Remote host closed the connection]
janneke has joined #nixos
asbachb has joined #nixos
<thequux[m]> Your first bit of nix is the hardest part; once you understand that, everything else becomes simple.
<asbachb> Somebody have setup a remote builder? I wonder if how the user setup look like.
pbogdan has quit [Ping timeout: 240 seconds]
<thequux[m]> I did once, long, long ago, and I no longer have access to the config files on the build client (for exactly the same reason I now have nix on my workstation, in fact). However, I remember that it was reasonably well-documented on the wiki.
<energizer> asbachb: the surprising thing for me was that you need to put ssh creds and config in /root/.ssh/ , your user's ~/.ssh/ won't work even if your user is trusted
<asbachb> energizer: Does it mean you ssh with root into your host?
<asbachb> or builder
matthuszagh has quit [Read error: Connection reset by peer]
<energizer> asbachb: nix-daemon runs under root and it does ssh
matthuszagh has joined #nixos
<energizer> i find this unintuitive, but it is how it is
<asbachb> Yeah. But I wonder which user is used on builder site root too?
matthuszagh has left #nixos [#nixos]
<energizer> i think that'll depend on your ssh config
<asbachb> I'd try to prevent opening root access via ssh.
steevveen has quit [Remote host closed the connection]
<energizer> it's a good question though. do people create a new remote user specifically for running builds?
<bqv> oh, idiot. if i want to build mobile-nixos i have to have my system able to cross aarch64
<energizer> you're gonna run nixos on a phone?
<asbachb> Currently I've setup like asbachbh (host) -> ssh -> asbachbb (builder). The connection seems to be fine. But I'm getting `error: cannot add path '/nix/store/0panr3rq66h32ayxr1k02b6zym8npzkj-fstrcmp-0.7-man' because it lacks a valid signature`.
<bqv> #nixos-aarch64
<asbachb> My pinephone was rejected by customs -.-
<energizer> bqv: it doesnt have android apps does it? my phone would be ill suited to running a desktop ui
<gchristensen> I think samueldr hadtrouble with that too
<bqv> it doesn't by default, but once it's stable enough, you could use anbox to run android apps
<bqv> like ubuntu touch does
<bqv> ubuntu touch worked quite nicely on my test phone
<asbachb> gchristensen: I guess I ordered in november.
<bqv> gchristensen: turns out it is enabled as a binfmt... have you seen this error before?:
<bqv> error: path '/nix/store/g5yqbbd67bjl9rm3vh86i98ccqi516cx-extra-utils-oneplus-oneplus3-extra-utils-aarch64-unknown-linux-gnu/bin/sh' is not in the Nix store
<bqv> (that path actually is in the nix store, and points to busybox in the same directory
<bqv> )
<asbachb> Entire log for the signature stuff: https://gist.github.com/asbachb/2cb048d3d0553a42cda7dd03140730c5 . From my understanding the ssh connection is working.
maddo has quit [Quit: See ya]
<ornxka> in nixos initramfs i do cryptsetup luksOpen and it fails with "Command failed with code -1 (wrong or missing paramters).
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> Calling `callHackage "stack2cabal" "1.0.6" { }` throws `stack2cabal.cabal: Not found in archive`. Why is that?
<selfsymmetric-mu> 1.0.6 clearly exists: http://hackage.haskell.org/package/stack2cabal
<ornxka> uuuughhh it doesnt like my crypto algorithm
<selfsymmetric-mu> And a cabal file for it exists too: https://gitlab.com/tseenshe/stack2cabal/-/blob/master/stack2cabal.cabal
<ornxka> thats why it fails but keeps asking my password
<ornxka> ive lost hours to this
Zer000 has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « nodePackages: fix build »: https://git.io/Jfvfa
<Zer000> Does anyone else's firefox v75 randomly freeze at the address bar for a brief period of time? This started to happen after an update (not sure what version I had before)
<ornxka> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/luksroot.nix#L186 cryptsetup helpfully returns -1 and does not print an error message in the case of missing crypto algorithm kernel module
<Yaniel> no freezing but it's not respecting my primary selection anymore
<ornxka> the result being that it will repeatedly ask you for your password and not tell you it is missing a kernel module
<Zer000> Yaniel, what's a primary selection?
<ornxka> i guess this is a cryptsetup bug?
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<Yaniel> of the address bar
<ornxka> i knew i was entering it in right
<Yaniel> it "selects" everything on click but when I middleclick it has not actually put anything in the clipboard
<asbachb> Sometimes firefox cannot use network when my wlan rconnects.
mbrgm has quit [Ping timeout: 246 seconds]
<Zer000> lol middle click is super inconsistent on my system. Between xterm, firefox and gtk+ programs I never know what's going to work
leotaku has quit [Ping timeout: 256 seconds]
<ornxka> (i guess also it would be nice if nixos-generate-config could figure out if you need special kernel modules on boot for luks devices but that sounds like a lot of work)
mbrgm has joined #nixos
<Yaniel> works perfectly in alacritty and qt applications
reallymemorable has joined #nixos
<bqv> can anyone at least point me in the right direction with this: https://ipfs.io/ipfs/QmQXYa3wAqLj6et3NJF7TrjDwEKXF3YLBrZjRocX6seVTH that path IS in the nix store, and is a symlink to busybox in the same directory
leotaku has joined #nixos
<energizer> can someone on nixos tell me if you have /var/lib/cups ?
<ornxka> yes
<ornxka> it has a bunch of .conf files in it
<energizer> ornxka: do you also have /etc/cups ?
<bqv> services.printing.enable
<ornxka> etc
<ornxka> er, yes*
<ornxka> /etc/cups is a symlink to /etc/static/cups which is a symlink to /var/lib/cups, which is full of symlinks to the nix store
snicket has quit [Ping timeout: 240 seconds]
leotaku has quit [Ping timeout: 250 seconds]
<energizer> ah i see
leotaku has joined #nixos
<bqv> interesting. disabling the nix daemon and using non-flakey nix fixed it.
pamplemousse has quit [Ping timeout: 256 seconds]
vika_nez` has joined #nixos
vika_nezrimaya has quit [Read error: Connection reset by peer]