worldofpeace 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
wildtrees has quit [Quit: Leaving]
<jlv> infinisil: that doesn't seem to match what I can add to `config` while importing `nixpkgs`. I don't see options like `allowUnfree` and `sandbox` is an option there.
<infinisil> Ahhh right, sorry that's something completely different
<{^_^}> [nixpkgs] @jonringer pushed to python-unstable « pythonPackages.astor: fix packaging »: https://git.io/Je475
<jlv> np
<infinisil> jlv: For nixpkgs config there isn't really a list anywhere. It's an open attribute set if you will, where any package can read any key they want and users can set any value they want
toppler has quit [Ping timeout: 240 seconds]
mexisme_ has quit [Ping timeout: 268 seconds]
<gchristensen> nix run nixpkgs.nikscape ... I'm poisoned by niksnut
<jlv> infinisil: I see. That makes sense. I was wondering why there weren't errors for unknown options, like with most nix option sets.
<infinisil> #57123 is there to get rid of this though and replace it with a properly typed and structured value
<{^_^}> https://github.com/NixOS/nixpkgs/pull/57123 (by oxij, 31 weeks ago, open): Typed `nixpkgs.config` married to NixOS
<infinisil> (and for the time not erroring for unknown keys)
mexisme_ has joined #nixos
<infinisil> gchristensen: Haha
<jlv> infinisil: That sounds good. It would have definitly made my last hour easier.
ddellacosta has quit [Ping timeout: 276 seconds]
mexisme_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/Je45v
liamdiprose has quit [Remote host closed the connection]
doublex has joined #nixos
bigvalen has joined #nixos
toppler has joined #nixos
judson__ has quit [Ping timeout: 240 seconds]
doublex has quit [Ping timeout: 240 seconds]
Neo-- has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @thorstenweber83 opened pull request #71304 → Update aqbanking → https://git.io/Je45Y
jlv has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je45E
strobelight has quit [Ping timeout: 250 seconds]
<exarkun> uhh "udev-rules' is not allowed to refer to the following paths"? https://gist.github.com/exarkun/3c49abb6debdf23a9c15ad6799b30888
<{^_^}> [nixpkgs] @aanderse merged pull request #71268 → oracle-instantclient: Fix path for darwin downloads → https://git.io/Je44a
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Je45w
toppler has joined #nixos
doublex has joined #nixos
ericsagnes has joined #nixos
doublex has quit [Ping timeout: 250 seconds]
ris has quit [Ping timeout: 258 seconds]
Rusty1 has joined #nixos
<craige> Is there any doco lurking about on packagin nodjs apps with NixOS?
<craige> (my Google foo is failing me)
<simpson> craige: https://nixos.org/nixpkgs/manual/#node.js-packages
<craige> Tanks simpson - no idea how I didn't find that.
<craige> simpson++
<{^_^}> simpson's karma got increased to 13
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixpkgs-19.09-darwin: https://git.io/Je470
drakonis has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/dbcc3937208 (from 73 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
toppler has quit [Ping timeout: 265 seconds]
mexisme_ has joined #nixos
toppler has joined #nixos
bigvalen has quit [Ping timeout: 240 seconds]
bigvalen_ has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/Je470
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/dbcc3937208 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
bigvalen_ has quit [Ping timeout: 268 seconds]
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
lord| has quit [Ping timeout: 268 seconds]
toppler has quit [Ping timeout: 240 seconds]
hinkornl has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 5 commits to nixos-unstable-small: https://git.io/Je4d6
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2bd4f8023bf (from 76 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
toppler has joined #nixos
lord| has joined #nixos
hinkornl has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 265 seconds]
Soo_Slow has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #71306 → prometheus: 2.13.0 -> 2.13.1 → https://git.io/Je4Fe
drakonis has joined #nixos
skitz0_ has joined #nixos
toppler has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
bigvalen has joined #nixos
<drakonis> is it normal for firefox to break when dealing with updates?
<mdash> break in what way
<drakonis> Sorry. We just need to do one small thing to keep going.Firefox has just been updated in the background. Click Restart Firefox to complete the update.We will restore all your pages, windows and tabs afterwards, so you can be on your way quickly.
<drakonis> hmm
<{^_^}> [nixpkgs] @marsam opened pull request #71307 → terraform: 0.12.10 -> 0.12.11 → https://git.io/Je4FY
drakonis has quit [Quit: WeeChat 2.6]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 276 seconds]
toppler has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
wormwood has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #71308 → qgroundcontrol: 3.3.0 -> 3.5.4, fix build → https://git.io/Je4Fz
spacekookie has quit [Quit: No Ping reply in 60 seconds.]
spacekookie has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #71309 → dumb-init: init at 1.2.2 → https://git.io/Je4Fb
tsrt^ has quit []
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
maralorn has quit [Quit: WeeChat 2.4]
maralorn has joined #nixos
toppler has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
abathur has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #71310 → snore: init at 0.1 → https://git.io/Je4b1
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
monotux has quit [Quit: WeeChat 2.4]
monotux has joined #nixos
toppler has joined #nixos
sellout- has quit [Ping timeout: 240 seconds]
sellout- has joined #nixos
selfsymmetric-mu has joined #nixos
<ZerataX> yeah that's normal
Zer0xp has quit [Quit: Bye!]
mexisme_ has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @dylex opened pull request #71312 → pythonPackages.netcdf4: fix hdf5 dependency → https://git.io/Je4NE
toppler has joined #nixos
<wedens[m]> where can I read about autopatchelf?
boxscape has quit [Ping timeout: 268 seconds]
drakonis has quit [Quit: WeeChat 2.6]
toppler has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
toppler has joined #nixos
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
mexisme_ has joined #nixos
<mla> defined an extra custom package in an overlay and set nixpkgs.overlays = [ (import /path/to/myoverlay.nix) ]; in my /etc/nixos/configuration.nix issue now is i want to use the same overlay for nix-shell, it seems like i can't just nix-shell -p mycustompackage though; any tips?
<mla> or is there a better way to have a package that i can both install globally with configuration.nix for nixos and debug w/ nix-shell?
toppler has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
fusion809 has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 240 seconds]
cjpbirkbeck has joined #nixos
mexisme_ has quit [Ping timeout: 240 seconds]
fling has quit [Ping timeout: 240 seconds]
fling has joined #nixos
toppler has joined #nixos
growpotkin has quit [Ping timeout: 240 seconds]
wfranzini has quit [Remote host closed the connection]
skitz0_ has quit [Read error: Connection reset by peer]
<tdeo> mla: what i do is make a symlink to it in ~/.config/nixpkgs/overlays/
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 250 seconds]
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
gxt_ has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 240 seconds]
endformationage has quit [Ping timeout: 268 seconds]
abathur has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 268 seconds]
palo1 has joined #nixos
<ivan> Sigma: is pkgs/servers/dgraph/deps.nix generated with go2nix or something else?
<infinisil> ivan: Yup
<infinisil> (go2nix)
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<contrun[m]> What is the best way to install a cargo (or npm, or stack) package which is not available on nixpkgs? runCommand works, but I need a way to wrap the installed binary to nix store.
<ivan> infinisil: thanks
toppler has joined #nixos
doooode20000[m] has joined #nixos
<wedens[m]> mla: there is also overlays-compat hack
<wedens[m]> https://nixos.wiki/wiki/Overlays#Using_nixpkgs.overlays_from_configuration.nix_as_.3Cnixpkgs-overlays.3E_in_your_NIX_PATH
doooode20000[m] has left #nixos [#nixos]
<{^_^}> [nixpkgs] @vbgl merged pull request #70955 → ocamlPackages.bigstringaf: 0.3.0 → 0.6.0 → https://git.io/Jelcf
<{^_^}> [nixpkgs] @vbgl pushed 3 commits to master: https://git.io/Je4x6
toppler has quit [Ping timeout: 250 seconds]
bahamas has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #71243 → prometheus-blackbox-exporter: coercing cfg to path → https://git.io/Je4Ci
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/Je4x5
toppler has joined #nixos
zupo has joined #nixos
marusich has joined #nixos
Lears has quit [Remote host closed the connection]
Lears has joined #nixos
<contrun[m]> Adding `lib = { myTest = "123"; }; ` to configuration.nix does not seem to work. I ran `nix repl '<nixpkgs>'`, lib.myTest told me `error: attribute 'myTest' missing, at (string):1:1`
<contrun[m]> What is the correct way to add a constant to lib?
<{^_^}> [nixpkgs] @vbgl opened pull request #71313 → ocamlPackages.ppx_tools: enable at 5.3+4.08.0 for OCaml 4.09 → https://git.io/Je4pt
cinimod`` has joined #nixos
cinimod` has quit [Ping timeout: 276 seconds]
growpotkin has joined #nixos
m0rphism has joined #nixos
gxt_ has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
cinimod`` has quit [Remote host closed the connection]
Okinan has joined #nixos
cinimod`` has joined #nixos
<edef> contrun[m]: you'll want to make an overlay
toppler has joined #nixos
<edef> i'd swear we have decent docs for overlays somewhere but i can't remember where
<contrun[m]> edef: It is not ideal for me to create a derivation for every package I want to install.
<eyJhb> edef: I have never found decent docs for overlays :/
cinimod`` has quit [Ping timeout: 250 seconds]
<edef> contrun[m]: ?
<edef> contrun[m]: that's … that's how you use Nix
<edef> runCommand should not have network access but might have it in unsandboxed Nix setups
<edef> it will create non-reproducible packages if you do access the network in it
<contrun[m]> edef: Let's say I want to install elba and ugdb. I can do that with cargo install elba and cargo install ugdb. If I am to use overlay for that, I need create two derivations. You concern is valid. But I am a little bit lazy.
<edef> i'm not sure how this relates to your question about adding a lib attribute
<edef> but generally, doing non-reproducible things like that will have unpredictable results
<edef> you don't control the version of the package installed
<contrun[m]> edef: That is a separated question. I think https://nixos.org/nixos/options.html#useractivationscripts is what I need for my system setup.
<edef> i think we're pretty far XY problem'd on something but it's hard to tell what from here
wfranzini has joined #nixos
<edef> what's the thing you're actually trying to accomplish
toppler has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @WilliButz pushed commit from @d-goldin to release-19.09 « prometheus-blackbox-exporter: fixing path issue »: https://git.io/Je4pd
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
vika_nezrimaya has joined #nixos
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
Heirlung has joined #nixos
wfranzini has quit [Read error: Connection reset by peer]
wfranzini has joined #nixos
nikivi has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @anton-dessiatov opened pull request #71314 → tilt: 0.10.4 -> 0.10.13 → https://git.io/Je4hf
Ariakenom has joined #nixos
toppler has joined #nixos
mexisme_ has joined #nixos
schjetne has joined #nixos
sigmundv has joined #nixos
inkbottle has quit [Ping timeout: 240 seconds]
inkbottle has joined #nixos
wfranzini has quit [Quit: wfranzini]
hyper_ch2 has joined #nixos
<mla> wedens: thx
<edef> contrun[m]: elba is a little trickier because it wants nightly Rust
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<contrun[m]> edef: Thanks. I actually used https://github.com/nix-community/nur-combined/blob/e3bef41498c51caaf05f982ebab8d47380934177/repos/yurrriq/pkgs/development/tools/elba/default.nix for elba. There are just examples. There are always packages that I want to install with a vanilla `cargo install`. userActivationScripts works great in my case. I do not want to worry about the nix expression, especially when I need to update
<contrun[m]> versions manually. Everytime when a new version is released, I need to update the nix file. It is too tedious for me.
<contrun[m]> s/There are just examples/These are just examples/
<edef> i guess
<edef> userActivationScripts seems like the cleanest solution then, yeah
toppler has quit [Ping timeout: 268 seconds]
gkmngrgn has joined #nixos
<edef> ugdb seems useful, i might PR it into nixpkgs
philr has joined #nixos
<contrun[m]> edef: That is great. Thanks.
Tucky has joined #nixos
<bahamas> django has a command called `collectstatic`. it collects static files from all its apps and places it in a directory specified in settings. I've set this directory to be in my project "$PROJECT/static_all". is there a way to run this command with Nix before the actual build? I tried to do it in preBuild, but Nix tries to run that command inside the nix store. of course it fails, because Django is not
<bahamas> allowed to write there
chkno has quit [Ping timeout: 245 seconds]
<bahamas> does nix copy everything to the store first? if that's the case, I will need to run the command outside of nix
lukash_|away is now known as lukash_
<{^_^}> [nixpkgs] @peti merged pull request #71230 → dnsutils: add 'delv' binary, remove obsolete sigchase → https://git.io/Je4ON
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/Je4hy
exfalso has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
toppler has joined #nixos
<sphalerite> bahamas: it does, but collectstatic would be allowed to write to $out
<sphalerite> so if you can convince it to do that, that might be a good option
<exfalso> Hi, I'm packaging up a kernel module for Intel SGX, but I can't get it to load or to even appear in current-system. The .ko is building fine, it's copied into $out/lib/modules/... fine, I added an .enable option which adds the package to systemPackages.environment as well as the module to boot.kernelModules. When I deploy this the module is copied over (it's in /nix/store/), however it's not available in
<exfalso> /run/current-system/kernel-modules. Does anyone know what I'm missing?
<sphalerite> exfalso: put it in boot.extraModulePackages
qubasa has quit [Remote host closed the connection]
<sphalerite> exfalso: you probably don't actually need it in systemPackages
<sphalerite> (unless there's some relevant user-space stuff in its /bin
chkno has joined #nixos
qubasa has joined #nixos
<exfalso> sphalerite: thank you! it's now available, I can modprobe it
<exfalso> but it didn't load automagically
<bahamas> sphalerite: what would $out be?
<sphalerite> exfalso: yeah, if it's in boot.kernelModules it will be loaded at boot, but it won't be loaded by nixos-rebuild switch I think
<sphalerite> bahamas: the environment variable named out :)
<bahamas> sphalerite: ok. I will rephrase :)
<exfalso> sphalerite: is there any way I can set that up?
<bahamas> sphalerite: I assume $out specifies where nix will write files at install time, right?
<exfalso> yes, $out is that hashed /nix/store path the package files go to
<exfalso> *derivation
<sphalerite> bahamas: the django settings thing is a python script, right? You can maybe use os.getenv("out") or something in your settings
vika_nezrimaya has quit [Remote host closed the connection]
schjetne has quit [Remote host closed the connection]
cfricke has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
<bahamas> sphalerite: yes, it's a python script, but I'm also confused about when I should run collectstatic
<bahamas> should I do it in postBuild?
marcusr has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed 284 commits to python-unstable: https://git.io/Je4jU
marcusr has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #71222 → Python: package set updates primarily for Python 3.8 support → https://git.io/Je4qH
<{^_^}> [nixpkgs] @FRidh pushed 285 commits to staging: https://git.io/Je4jT
hyper_ch2 has joined #nixos
Jackneill has joined #nixos
toppler has joined #nixos
ng0 has joined #nixos
peanutbutter144 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<edef> bahamas: they all run in the same environment, it's just a convenient system for slotting together various parts
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<edef> bahamas: i can find two examples in nixpkgs of collectstatic, but both are in modules running it as part of a service rather than at build time :(
nikivi has quit [Read error: Connection reset by peer]
hyper_ch2 has quit [Remote host closed the connection]
nikivi has joined #nixos
<bahamas> edef: maybe that's what I should do instead then
gila has joined #nixos
<bahamas> at what point are they running the command?
<bahamas> in preStart?
<edef> i think so, sec
<{^_^}> [nixpkgs] @nomeata opened pull request #71316 → wasmtime: 20190521 -> 20191018 → https://git.io/Je4jC
<edef> yeah, graphite-web is doing it in preStart
<edef> mailman-web is doing it in the start script
<edef> this is overall a fairly suboptimal solution
<bahamas> edef: you mean running in preStart or also doing it at build time?
<edef> doing it at build time would be nice, because then we could just do an atomic symlink swap
<edef> whereas these are `rm -rf`ing a directory and recreating it
<bahamas> oh, you mean running collectstatic directly won't do
toppler has quit [Ping timeout: 268 seconds]
<edef> they try to check if the version changed and only run collectstatic then
<bahamas> I see. I guess they do that with `migrate` as well then
<edef> i assume migrate runs DB migrations?
<bahamas> correct
<edef> i *think* running collectstatic with STATIC_ROOT set should work
<edef> idk if django picks that stuff up from env vars by default
<edef> it sounds like we'd have to do some kind of settings.py thing
<bahamas> edef: you mean setting STATIC_ROOT to $out?
toppler has joined #nixos
<edef> yeah
<edef> i'm giving that a shot now
<adisbladis> I'm doing something interesting for nixcon :)
<adisbladis> We're doing collectstatic in the build instead
<edef> cool, i'm trying to do that right now
<bahamas> edef: I tried it but there's a glitch. I'm actually building a complete python env. collectstatic copies the files to /nix/store/python3.7-my-project/static_all, while the django project is copied to /nix/store/python-3.7-my-project/lib/python3.7/site-package/
<edef> both the mailman and graphite modules could use some love of this variety
thc202 has joined #nixos
<edef> mm, i was trying to shovel it into the mailman-web build itself, this seems cleaner though
<bahamas> adisbladis: I'm assuming you're not building a Python env like I am, right?
<adisbladis> bahamas: Hm?
<adisbladis> Not sure what you mean by that
<edef> buildPythonEnv, i assume
<edef> or … whatever that function is called. ugh
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71241 → oxipng: 2.2.2 -> 2.3.0 → https://git.io/Je4CR
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je4j5
<bahamas> adisbladis: this is my default.nix https://bpaste.net/show/qE64 which I import inside my service.nix
civodul has joined #nixos
<edef> so the django apps i looked at so far just do that, and add a django-admin wrapper named after the package
nikivi has joined #nixos
<bahamas> edef: what are they doing exactly?
nikivi has quit [Read error: Connection reset by peer]
nikivi has joined #nixos
__monty__ has joined #nixos
<edef> i forgot to take the meds that give me an attention span and working memory so i'll have to go refind it, but i think i spotted a withPackages that includes just the app's package
<edef> but there's some cleverness involved to jam a settings.py in
<bahamas> edef: yes, that's what I do. but I also specify my manage.py in setup.py. because I'm using django-configurations, I can't run django-admin directly
<edef> and propagates all the deps
<edef> er, passes the app as propagated deps
cfricke has quit [Quit: WeeChat 2.6]
toppler has quit [Ping timeout: 268 seconds]
<edef> and adds the django-admin wrapper
<bahamas> ok. I'll have to study these
<edef> adisbladis probably has the cleaner setup here, the way mailman is set up feels kind of messy
<bahamas> I'll study that as well. I don't know how he does it without creating the python env
gkmn1 has joined #nixos
gkmngrgn has quit [Disconnected by services]
gkmn1 is now known as gkmngrgn
dm9 has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @arthurl opened pull request #71317 → wt: Permit overriding of optional libraries → https://git.io/JeBeZ
exfalso has left #nixos [#nixos]
<adisbladis> bahamas: I've created a `pretix` "binary" that wraps all deps
<adisbladis> It _is_ already an env
gkmngrgn has quit [Quit: WeeChat 2.3]
<adisbladis> The mailman service is indeed quite messy
thc202 has quit [Ping timeout: 250 seconds]
tilpner_ is now known as tilpner
thc202 has joined #nixos
lassulus has quit [Quit: WeeChat 2.4]
gkmngrgn has joined #nixos
qubasa has quit [Remote host closed the connection]
talqu has joined #nixos
qubasa has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<bahamas> adisbladis: ok. I will look at that repo for ideas on how to do stuff
Synthetica has joined #nixos
abbiya has joined #nixos
abbiya has quit [Remote host closed the connection]
<bahamas> can I get the outPath of a package from the commandline? currently I'm using the nix repl
<sphalerite> bahamas: nix eval nixpkgs.hello.outPath
<sphalerite> possibly with --raw if you want it without the quotes
<{^_^}> [nixpkgs] @etu merged pull request #71280 → ephemeral: 5.4.0 -> 6.0.0 → https://git.io/Je42K
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/JeBe9
<bahamas> sphalerite: great. thanks!
alexherbo2 has joined #nixos
toppler has joined #nixos
<bahamas> sphalerite: it's complaining about not finding nixpkgs. but it works to load <nixpkgs> in the repl
<clever> bahamas: what is the exact error msg?
<bahamas> sphalerite: nix channel --list doesn't output anything. this is inside a fresh install of NixOS in the VM
<{^_^}> [nixpkgs] @tricktron opened pull request #71318 → openconnect: Add darwin support → https://git.io/JeBeA
<bahamas> sphalerite: error: attribute 'nixpkgs' in selection path 'nixpkgs.gdal.outPath' not found
<clever> bahamas: nixpkgs is not an attribute that is loaded by default
<clever> bahamas: you must first import <nixpkgs>
<clever> [clever@amd-nixos:~]$ nix-instantiate '<nixpkgs>' -A hello.outPath --eval
<clever> "/nix/store/rr3y0c6zyk7kjjl8y19s4lsrhn4aiq1z-hello-2.10"
<clever> [clever@amd-nixos:~]$ nix-instantiate --eval -E 'with import <nixpkgs> {}; hello.outPath'
<clever> "/nix/store/rr3y0c6zyk7kjjl8y19s4lsrhn4aiq1z-hello-2.10"
<sphalerite> bahamas: that's very odd, nix eval should search on NIX_PATH just as well
<sphalerite> clever: in `nix *`'s case, that's not true
cjpbirkbeck has quit [Quit: Quitting now.]
<sphalerite> $ nix eval nixpkgs.gdal.outPath
<sphalerite> "/nix/store/n9q08j2p0wlcn3wqkjmah3k19v7rh335-gdal-3.0.1"
<clever> sphalerite: ah, didnt read the full backlog
<clever> bahamas: what does `echo $NIX_PATH` report?
<sphalerite> bahamas: works for me ^ what's your NIX_PATH?
<bahamas> sphalerite: NIX_PATH=/nix/var/nix/profiles/per-user/root/channels/nixos:/nix/var/nix/profiles/per-user/root/channels:nixos-config=/etc/nixos/configuration.nix
<clever> bahamas: the nixpkgs= part is missing
<clever> /home/clever/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<clever> [clever@amd-nixos:~]$ echo $NIX_PATH
<bahamas> yeah, I don't know why. this is an image from flyingcircus
<bahamas> anyway. at least nix-instantiate works
<sphalerite> bahamas: nix eval nixos.gdal.name might work in your case
<{^_^}> nix#3140 (by Ninlives, 6 days ago, open): `nix run` crash in 2.3.1
<edef> oof
<bahamas> sphalerite: it doesn't. it complains in the same way
<clever> sphalerite: i believe the bug, is that `nix run` and `nix eval` can only see things that are explicitely in NIX_PATH, with an =
<edef> i've noticed that without nixpkgs= it indeed doesn't create the attr
<bahamas> nix-instantiate '<nixpkgs>' -A hello.outPath --eval works though
<clever> sphalerite: it was then updated to recursve into channels, but then that caused the above bug
<edef> nix run -I nixpkgs=/does/not/exist works fine though
<edef> because then it actually bothers to create the attr
<edef> cool, i'll cherry-pick that then
<clever> edef: but if you have more channels then elements in NIX_PATH, it will fail hard, 100% of the time
<edef> i have no channels!
<clever> edef: and it only fixes it by parsing the channel metadata
<edef> oh, oof
<edef> [edef@platypus:~]$ echo $NIX_PATH
<edef> /home/.nix-defexpr/channels:nixpkgs=/etc/nix/path/nixpkgs:/etc/nix/path
<edef> (getting rid of the defexpr bit is a todo)
<clever> edef: you can also make your own defexprs
<clever> import /home/clever/apps/nixpkgs
<clever> [clever@amd-nixos:~]$ cat .nix-defexpr/test/foo/default.nix
<edef> mm
<clever> edef: nix-env -iA foo.hello will now work
<edef> (qyliss and i use git subtree for managing our nixpkgs, so we don't use channels directly)
<clever> but you can still point a defexpr to that subtree, so nix-env can find it easily
<edef> yeah
<edef> `ln -s /etc/nix/path .nix-defexpr` seems to do the trick
<clever> and then create an entity named foo
<clever> the exact also, is that nix-env will recursively search ~/.nix-defexpr/ until it either finds foo/default.nix or foo.nix
<edef> fairly tempted to just patch nix-env to not look at ~
<clever> s/also/algo/
bahamas has quit [Ping timeout: 265 seconds]
<edef> would be dope to just default to <nix-defexpr> or sth
<edef> but i guess we're abolishing nix-env soon enough that it isn't worth doing that upstream
<clever> don't know how to build these paths: /nix/store/5ygl2l9m8h30p2ysc4p2alf5dv6spzp8-time-units-1.0.0-lib-time-units-doc
<clever> sphalerite: any idea how i can get this, after doing a `nix-build` on a nix expr?
<sphalerite> nope
roconnor has quit [Ping timeout: 250 seconds]
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @talyz opened pull request #71319 → Revert "nixos/gitlab: properly clear out initializers" → https://git.io/JeBv0
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
gila has joined #nixos
<xwvvvvwx> Is there a command I can use to query the store and find every package that depends on another package?
asymptotically has quit [Remote host closed the connection]
<clever> xwvvvvwx: the sub-commands of `nix-store --query`, which are all in the man page
MarcWeber has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @arthurl opened pull request #71320 → Add pstreams library → https://git.io/JeBva
tilpner has quit [Quit: tilpner]
<clever> sphalerite: i think its something wonky with my binary cache, either cachecache or binary-cache-v6.sqlite, restarting and deleting them fixes it
<xwvvvvwx> clever: thanks!
<{^_^}> [nixpkgs] @talyz opened pull request #71321 → Revert "nixos/gitlab: properly clear out initializers" → https://git.io/JeBvw
<tyrion-mx> Hola, I am trying to install nixos on a new machine using an encrypted root. The problem I am encountering is that apparently grub does not get installed correctly. It tries to unlock a non-existent device. Can I force nixos to reinstall grub somehow?
<clever> tyrion-mx: do you have a non-encrypted /boot ?
<tyrion-mx> everything encrypted
<clever> tyrion-mx: any lvm in the mix?
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
xkapastel has quit [Quit: Connection closed for inactivity]
<tyrion-mx> also, I am using the same configuration.nix as my laptop, so I think it should work. Instead grub is not even asking me the password to unlock /boot. It is trying to use a non-existent device and then fails
<clever> tyrion-mx: ive seen others having trouble with luks + lvm for /boot/
orivej has joined #nixos
<clever> tyrion-mx: and if you need a plaintext for /boot/efi, you might as well just make /boot plaintext
<clever> just mount nvme0n1p1 to /boot instead of /boot/efi, and remove efiSysMountPoint from the config, and it should work
nikivi has joined #nixos
<clever> tyrion-mx: also, you would remove the whole initrd.keys.gz part, because /boot is now plaintext, and there is only one pw prompt to deal with
toppler has quit [Ping timeout: 240 seconds]
Zer0xp_ has joined #nixos
<tyrion-mx> I used bootinfoscript ( https://github.com/arvidjaar/bootinfoscript ) to see what is going on. And on my laptop it shows that grub is unlocking the correct device and using cryptomount. On this other one it is totally different, so I suspect that it is not overriding the previous grub. Is that possible?
<tyrion-mx> clever: I am using an msdos partition table without uefi
<clever> tyrion-mx: boot.loader.grub.device must be pointing to the device you want grub installed on
<tyrion-mx> Anyway the same thing is working perfectly on my laptop
<clever> tyrion-mx: if its set to "nodev" then it wont update the MBR
<tyrion-mx> clever: yes, I checked that. I put /dev/sda, it also says that it is installing grub in /dev/sda but apparently it is not working
lassulus has joined #nixos
<tyrion-mx> so before giving up I wanted to try to erase grub or force a reinstall somehow
<clever> tyrion-mx: its probably a bug in grub-install then, generating the wrong commands for grub to run on bootup
<clever> tyrion-mx: when you run nixos-install, it always forces the bootloader to install
<clever> tyrion-mx: and you can just mount everything to the right place again, and re-run nixos-install, to repeat that
<tyrion-mx> Ok, I will try to update my installation image and see if it fixes the problem then
<tyrion-mx> otherwise I will try with the previous stable if it is still possible to get it, because that worked fine with the laptop
<tyrion-mx> thanks for the help
__Sander__ has joined #nixos
<clever> tyrion-mx: and now that ive poked around at the bootinfo script you linked, i notice, my nixos was configured to overwrite the windows MBR with grub!
<tyrion-mx> (that script is very nice)
<tyrion-mx> clever: isn't that how it is supposed to be?
<clever> tyrion-mx: nixos has its own dedicated disk
<clever> so i was trying to keep the windows disk un-mutilated
<clever> and just chainload the windows mbr via grub
jgt has joined #nixos
toppler has joined #nixos
<tyrion-mx> ah, ok
<clever> but this system has gone thru several major config changes, and things are a bit of a mess at the partition level
cosimone has joined #nixos
<jgt> what is the correct way to dump a postgres database on a NixOS machine? I have the following in a Makefile, and the file I get appears to be an old version. Does NixOS cache the result of pg_dump? I also noticed that if I first remove that file, then nixops scp can't find the file after I dump it: http://ix.io/1Z41
<clever> tyrion-mx: ah, on closer inspection, sda isnt windows, i think its a data disk with some nfts on it
<clever> jgt: the > gets ran on the client side, not the server side
<clever> jgt: so pg_dump will stream the entire dump over ssh, and write it to /tmp/foo.sql on the local machine
<clever> scp then tries to copy /tmp/foo.sql from remote (doesnt get touched) to local
<jgt> clever: …ohhhhh. Facepalm. Would this have been different if I had quoted the entire SSH command?
<{^_^}> [nixpkgs] @flokli opened pull request #71322 → nixos/networkmanager: use tmpfiles to setup state directories → https://git.io/JeBfm
<clever> jgt: yeah, if you quote the command, including the >, it will run remotely instead
<jgt> well aren't I a dummy. Thanks clever!
<clever> but the problem is already solved without quoting, so your best off just deleting the scp
<jgt> yeah, I agree
<clever> similar problems come up when people try to `sudo echo foo > /bar`
* jgt is super excited to visit Brno next week
<clever> i should probably not put off packing too much longer....
lassulus has quit [Quit: WeeChat 2.6]
<Taneb> Is there anyone online who knows much about the internals of buildRustCrate? There's something that I'm confused about which I'd like to query
lassulus has joined #nixos
<Taneb> Sorry, that's a working file rather than a bash variable
ericsagnes has quit [Ping timeout: 250 seconds]
<Taneb> This happens if there's no extraLinkFlags set in Nix but the build.rs emits cargo:rustc-link-lib lines
<tyrion-mx> clever: this is how it looks on my laptop: https://gist.github.com/tyrion/92a20570ce6605a5189aee41fdeba96e
<tyrion-mx> It looks for the correct volumegroup/volume and unlocks the disk with cryptomount
<clever> tyrion-mx: and then for the new install, what does it say?
live_ has joined #nixos
<tyrion-mx> clever: missing the cryptomount part and unlocking a volumegroup (which I even have to verify it is the correct one). I will upgrade the installation image and try that
Zer0xp_ has quit [Ping timeout: 240 seconds]
Zer0xp has joined #nixos
mrCyborg has joined #nixos
<{^_^}> [nixpkgs] @d-goldin opened pull request #71323 → samba3, fusesmb: removing → https://git.io/JeBfC
tmaekawa has joined #nixos
<live_> hi has anyone tried installing guix on nix, perhaps side by side or working together (wishfully thinking)
statusfailed has quit [Quit: bai]
statusfailed has joined #nixos
<{^_^}> [nixpkgs] @peanutbutter144 closed pull request #70030 → gtk3-nocsd: init at 3.0.1 → https://git.io/Jeneg
<live_> i experienced few installation issues with nix, but already the tools I installed didnt always work (missing/unfindable libs - perhaps because nix strays from FHS?)
<{^_^}> [nixpkgs] @adisbladis opened pull request #71324 → boulder: init at release-2019-10-13 → https://git.io/JeBfg
gxt_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 134 commits to staging-next: https://git.io/JeBfV
<{^_^}> [nixpkgs] @FRidh pushed 135 commits to staging: https://git.io/JeBfo
<{^_^}> [nixpkgs] @hedning opened pull request #71325 → gtk3: temporarily disable stalled theme genaration → https://git.io/JeBfX
mgdm has left #nixos ["WeeChat 1.4"]
<{^_^}> [nixpkgs] @hedning closed pull request #71325 → gtk3: temporarily disable stalled theme genaration → https://git.io/JeBfX
<{^_^}> [nixpkgs] @Taneb opened pull request #71326 → buildRustCrate: fix linking problems → https://git.io/JeBfD
Havvy has quit [Ping timeout: 240 seconds]
tilpner has joined #nixos
Havvy has joined #nixos
<{^_^}> [nixpkgs] @tsusanka opened pull request #71327 → python.pkgs.pip: 19.2.3 -> 19.3.1 → https://git.io/JeBfA
<{^_^}> [nixpkgs] @FRidh closed pull request #71327 → python.pkgs.pip: 19.2.3 -> 19.3.1 → https://git.io/JeBfA
toppler has quit [Ping timeout: 250 seconds]
ubert has joined #nixos
<{^_^}> [nixpkgs] @xwvvvvwx opened pull request #71328 → nixos/containers: custom network namespaces → https://git.io/JeBJk
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JeBJL
<{^_^}> [nixpkgs] @tilpner opened pull request #71329 → nixos/cadvisor: don't enable docker → https://git.io/JeBJt
isHavvy has joined #nixos
toppler has joined #nixos
rayascott has joined #nixos
Zer0xp has quit [Ping timeout: 245 seconds]
hyper_ch2 has joined #nixos
Havvy has quit [Ping timeout: 268 seconds]
isHavvy has quit [Read error: Connection reset by peer]
hyper_ch2 has quit [Remote host closed the connection]
Havvy has joined #nixos
hyper_ch2 has joined #nixos
psyanticy has joined #nixos
<rayascott> Hi, is Nix still supported on the new macOS Catalina release? I'm not able to install Nix via the official documentation, because Catalina's system volume is now. read-only. Anyone else run into this issue?
<tilpner> nix#2925
<{^_^}> https://github.com/NixOS/nix/issues/2925 (by mroi, 19 weeks ago, open): /nix will not be writable on macOS Catalina
isHavvy has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « python: flake8: 3.7.7 -> 3.7.8 »: https://git.io/JeBJC
Havvy has quit [Ping timeout: 240 seconds]
<rayascott> Thanks for the links everyone. I guess it's not a good time to be a macOS nix newbie. :-/
Havvy has joined #nixos
<FRidh> rayascott: there's breakage on every osx release
<rayascott> FRidh really? Hrrmm, and I'm part of the macOS Beta testing program. Ouch.
isHavvy has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 268 seconds]
<jgt> I'm a long-time Apple user, and tbqh Catalina sounds like hot garbage so far. Luckily I'm not looking to move from my current (running Sierra) at least until next year when they bring out the new machines with the non-broken keyboards.
<{^_^}> [nixpkgs] @emilazy opened pull request #71332 → haskellPackages.clash-{ghc,lib,prelude}: mark unbroken → https://git.io/JeBJ9
<rayascott> jgt it's been a very bumpy iteration.
toppler has joined #nixos
cswl has joined #nixos
rayascott has left #nixos [#nixos]
hc has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
toppler has joined #nixos
gxt_ has joined #nixos
isHavvy has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
Havvy has quit [Ping timeout: 265 seconds]
gila has joined #nixos
exarkun has quit [Remote host closed the connection]
<eyJhb> Can I do in-line stuff in packages, so that if option X is set in a module, then it should add X package? But there is already ABC packages added
<clever> eyJhb: packages cant access nixos options, only other nixos modules can read them
<eyJhb> clever: I have module X, which has 1,2,3 options. If Module 1 is enabled, then I would like package X to be included in the packages that it already includs
<eyJhb> Basically takes base in etu's https://github.com/etu/nixconfig/tree/master/modules
<clever> eyJhb: in general, all modules should always be in imports, and the config block should use mkIf to turn itself on/off
mexisme_ has quit [Ping timeout: 276 seconds]
<eyJhb> Yes, but this is not a global thing clever , https://github.com/etu/nixconfig/blob/master/modules/my-user.nix#L52 I just want to have multiple systempackages, or have a inline declation
<eyJhb> inline if, inside systempackages
<clever> eyJhb: then you want either lib.optional or mkMerge + mkIf
<clever> > lib.optional false "foo"
<{^_^}> [ ]
<clever> > lib.optional true "foo"
<{^_^}> [ "foo" ]
<clever> possibly optionals
<eyJhb> But can I do that inline inside the systempackges?
<clever> > lib.optionals true [ "foo" "bar" ]
<{^_^}> [ "foo" "bar" ]
<{^_^}> [nixpkgs] @edef1c opened pull request #71333 → kak-lsp: 6.2.1 -> 7.0.0 → https://git.io/JeBUx
tmaekawa has quit [Quit: tmaekawa]
<clever> eyJhb: systemPackages = [ "always" ] ++ (lib.optionals true [ "sometimes" ]);
<eyJhb> Keep forgetting all the basics, thanks clever ! :)
<eyJhb> Now I am just wondering if I finished my update last time, so I don't have to wait for the rebuild again
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @edef1c opened pull request #71334 → Clean up git-series packaging, use OpenSSL 1.1 → https://git.io/JeBTT
toppler has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @edef1c opened pull request #71335 → Add missing Plover deps → https://git.io/JeBTq
<{^_^}> [nixpkgs] @edef1c opened pull request #71336 → pypi2nix: add missing setuptools dependency → https://git.io/JeBTs
<{^_^}> [nixpkgs] @flokli opened pull request #71337 → nixos/networkmanager: remove networking.networkmanager.dynamicHosts → https://git.io/JeBTZ
dm9 has quit [Quit: WeeChat 2.6]
<edef> damn, flokli, breaking my streak q=
<gchristensen> lol
captn3m0 has quit [Ping timeout: 250 seconds]
<flokli> sorry edef
<edef> (is a joke, dw <3)
<edef> i cooked up a little perl script to make submitting patches from ~/src/nixpkgs/outbox and it's working surprisingly well
<gchristensen> neato
<tyrion-mx> clever: anyway it is not setting up the cryptosetup part. That is the only issue. I think it might be a problem with the new nixos release. I am going to try with the old one if possible
<etu> Hmm, I believe we should merge more PR's rather than creating them :D
<gchristensen> eh, a little bit of one, a little bit of the other
<gchristensen> gotta be zen about the PRs
knupfer has quit [Read error: Connection reset by peer]
<eyJhb> Lets reach 0 open PRs! ;)
<edef> hey, i was gonna merge most of these straight to master
<edef> but then people got annoyed with me and argued we should open PRs even for small changes, so i'm complying
<edef> most of these i will probably merge if they get no response after a week, they're tested changes
<eyJhb> edef: what kind of things are they?
<gchristensen> edef: <3 thank you :)
<{^_^}> [nixpkgs] @edef1c opened pull request #71338 → nixos/nix-daemon: don't refer to deprecated option aliases → https://git.io/JeBTr
<edef> missing deps, packaging cleanups
<edef> i have them merged into my personal tree already
argc_ has joined #nixos
<argc_> How does one convert a char (singleton string) to its decimal ascii value in the Nix language? I couldn't find anything in lib/strings.nix etc.
<edef> i'm very curous what your use case is
<argc_> generating port names for services from a short description string
<argc_> port numbers*
toppler has quit [Ping timeout: 245 seconds]
<edef> neat
<argc_> i mean, i can handroll atoi w/ a lookup table or something but i figured i'd find something laying around somewhere that i could use
<{^_^}> [nixpkgs] @edef1c opened pull request #71339 → i3blocks: handle multiple XDG_CONFIG_DIRS elements correctly → https://git.io/JeBTD
strobelight has joined #nixos
strobelight_ has joined #nixos
strobelight is now known as Guest80372
romildo has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @edef1c opened pull request #71340 → pythonPackages.pgsanity: add missing postgresql checkInput → https://git.io/JeBTj
strobelight_ is now known as strobelight
<{^_^}> [nixpkgs] @edef1c opened pull request #71341 → nixos/rabbitmq: use a literalExample for example configItems → https://git.io/JeBkT
Guest80372 has quit [Ping timeout: 240 seconds]
<edef> well, that concludes everything i had queued for nixpkgs master
nikivi has quit [Ping timeout: 264 seconds]
inkbottle has quit [Ping timeout: 265 seconds]
<gchristensen> edef: you using rmq?
<edef> i have to use it for some customer stuff
<gchristensen> ah
<edef> i feel like we're lacking good user handling for it
<edef> i'm tempted to give the HTTP auth backend a shot or something
<edef> and build a little declarative backend for it
inkbottle has joined #nixos
<gchristensen> that would be cute
<gchristensen> although, vault's rabbitmq support is nice
<edef> oh, i should consider that for sure
<edef> i really need to see if i can configure vault with terraform or sth
<edef> it's a horrible piece of software to configure
<edef> i have a fairly neat auto-ACME'd vault setup i should really share
toppler has joined #nixos
<edef> i ran into some issues with our ACME stuff when trying to get nginx to only run while ACME validation is happening
<edef> it would just hang badly
Havvy has joined #nixos
<mdash> i've been trying to decide if i need something like vault
<mdash> ultimately it seemed like getting secrets out of the nix store first was a better investment of my time and i haven't even done that yet
isHavvy has quit [Ping timeout: 268 seconds]
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
hyper_ch has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
wormwood has joined #nixos
nikivi has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #71310 → snore: init at 0.1 → https://git.io/Je4b1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeBku
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #71314 → tilt: 0.10.4 -> 0.10.13 → https://git.io/Je4hf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeBk6
<{^_^}> [nixpkgs] @fpletz closed pull request #62283 → simp_le: 0.9.0 -> 0.14.0 → https://git.io/fj0HI
<{^_^}> [nixpkgs] @volth opened pull request #71343 → oraclejdk8: remove waring → https://git.io/JeBki
captn3m0 has joined #nixos
gkmn1 has joined #nixos
toppler has joined #nixos
FRidh has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dylex closed pull request #71312 → pythonPackages.netcdf4: fix hdf5 dependency → https://git.io/Je4NE
gkmngrgn has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #71261 → golangci-lint: 1.20.0 -> 1.21.0 → https://git.io/Je481
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeBkD
captn3m0 has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos
philr has quit [Quit: WeeChat 2.6]
<tyrion-mx> Any idea how to debug the grub install process? My cryptodisk is not being enabled even if I put everything in place. I tried with both 19.03 and 19.09. I used to be able to make this work (on my laptop it is currently working)
<cab404[m]> <tyrion-mx "Any idea how to debug the grub i"> config?
<tyrion-mx> sure, just a sec
<{^_^}> [nixpkgs] @marsam merged pull request #71229 → spotify-tui: 0.5.0 -> 0.6.2 → https://git.io/Je4Or
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeBIT
<Squarism> Google doesnt give an obvious answer to how to use nix-build when offline?
<tilpner> Squarism: --option substituters "" or --option substitute false
gxt_ is now known as gxt
<tilpner> Squarism: You may need to disable remote builders as well
<tyrion-mx> cab404: https://pastebin.com/ETncqHaW
<Squarism> tilpner, ok, ill try that
<tyrion-mx> cab404: basically copied from here: https://gist.github.com/ladinu/bfebdd90a5afd45dec811296016b2a3f (just not using UEFI)
toppler has quit [Ping timeout: 240 seconds]
<cab404[m]> <tyrion-mx "cab404: basically copied from he"> Pls just copy or photo yours.
hyper_ch2 has quit [Remote host closed the connection]
<tyrion-mx> I did, sent you the link before that one :D
<tyrion-mx> cab404: here it is again: https://pastebin.com/ETncqHaW
<cab404[m]> <tyrion-mx "cab404: basically copied from he"> Pls just copy or photo yours.
<cab404[m]> I really don't want to debug a guide)
<{^_^}> [nixpkgs] @ryanfitzsimon opened pull request #71344 → rrsync: Make perl a run-time dependency → https://git.io/JeBIg
toppler has joined #nixos
<tyrion-mx> cab404: maybe your irc client is not working properly, please have a look at the logs of the channel. I sent the link to pastebin with my config already twice
FRidh has quit [Ping timeout: 276 seconds]
exfalso has joined #nixos
<exfalso> Hi, I'm packaging up a systemd service from a .deb that already has a .service file defined. Is there any way I can reuse that service file, or do I need to translate it into a nix expr for systemd.services.*?
<edef> yes, we can use those
<exfalso> to be clear, that file is already set up to work with /nix/store
ddellacosta has joined #nixos
<edef> systemd.packages = [ pkg ]; will pick that up
<edef> first example that comes to mind is gnupg's user services
<exfalso> edef: ah sweet, so as long as 'pkg' sets up the service file in /etc/systemd it works?
<edef> it looks at $out/lib/systemd/*.service
<exfalso> awesome, i'll take a look, thank you!!
<edef> generally packages ship stuff in lib/systemd so that should pretty much work out of the box
<edef> not sure how one packages deb stuff, but i can take a look at a derivation if you have one ready
argc_ has quit [Remote host closed the connection]
<exfalso> I literally unpack the .deb and rewire it for /nix
exarkun_ has joined #nixos
exarkun_ has quit [Client Quit]
hyper_ch2 has joined #nixos
<tyrion-mx> Ok, I managed to find the problem: grub does not support LUKS2 and LUKS2 is not the default on the cryptsetup bundled in the installation media. There is also an issue open: https://github.com/NixOS/nixpkgs/issues/65375
exarkun_ has joined #nixos
<{^_^}> #65375 (by deliciouslytyped, 12 weeks ago, open): GRUB silently generates wrong config (cryptsetup default is now LUKS2)
toppler has quit [Ping timeout: 240 seconds]
<hyper_ch2> tyrion-mx: what are you trying to accomplish?
<tyrion-mx> hyper_ch2: having an encrypted system with nixos (by following this guide, which worked perfectly in the past, https://gist.github.com/ladinu/bfebdd90a5afd45dec811296016b2a3f )
<tyrion-mx> Now you have to be careful when creating the encrypted drive not to use the (now default) LUKS2, otherwise grub will not be able to boot it
exarkun_ is now known as exarkun
<chris|> I have a question about the rust build support: I am trying to override the version of a rust package (alacritty) which uses buildRustPackage. The build fails however when it tries to fetch new versions of dependencies via cargo. How do I get buildRustPackage to handle the Cargo.lock correctly?
<tilpner> chris|: Change cargoSha256
<chris|> tilpner: my override currently looks like this: https://privatebin.net/?ed0270309fd064a4#6ikdy4Nx9UWUQchS7bD5rKk3DpMynQnHkueoc27ZTwkz
<chris|> I would have assumed that this will fail because of the sha missmatch. Instead, cargo tries to download deps from the internet and fails: https://privatebin.net/?3ed6006fd7852231#C2Z2otBtRfk17nzd4vexiQa3MDjS6uayu5UHoFUzGj4D
civodul has joined #nixos
toppler has joined #nixos
<exarkun> are you sure the Cargo.lock in the repo is correct?
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
brnzz has joined #nixos
<tilpner> chris|: I don't know if git dependencies are supported
<tilpner> chris|: It seems reasonable that it has to vendor the dependencies before hashing them (and thus before failing with a hash mismatch)
glittershark has joined #nixos
cswl has quit [Quit: Connection closed for inactivity]
glittershark has quit [Client Quit]
gkmn1 is now known as gkmngrgn
ericsagnes has joined #nixos
<chris|> tilpner: tilpner: I guess I'll go back to the 18.09 version then, sadly the 19.09 version has a couple of bugs that make it unusable for me
<tilpner> chris|: There are also 19.03 and unstable
<tilpner> chris|: And by that you just mean you'll use the 18.09 alacritty, right?
<tilpner> chris|: (You're not downgrading your entire system?)
<chris|> no, just the package
toppler has quit [Ping timeout: 268 seconds]
<chris|> sadly unstable has the same version as 19.09 and there is no newer version release yet
iyzsong has joined #nixos
<gchristensen> chris|: what are you trying to fix about alacritty?
<chris|> gchristensen: the current version has some issues when copy/pasting with wayland and also the gnome window management does not quite work
<gchristensen> what sort of issues?
<gchristensen> (with copy/paste?)
<chris|> pasting basically does not work
<gchristensen> hmm
<gchristensen> that is strange, because I fixed that myself: https://github.com/NixOS/nixpkgs/commit/97b15a4b4aeeb959c761269f4e6ddfff51607a61
<chris|> not sure how that helps me pasting into VIM for example
<{^_^}> [nixpkgs] @juselius closed pull request #55835 → Add tokenTtl option to kubernetes-dashboard. → https://git.io/fh7jx
<gchristensen> can you describe in detail what you do, what you expect, and what actually happens when you try to paste in vim?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71217 → xournalpp: 1.0.12 -> 1.0.15 → https://git.io/Je4kp
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeBLN
glittershark has joined #nixos
toppler has joined #nixos
<glittershark> Hey all - asked about this yesterday but didn't get an answer - I'm trying to compile a C library with nix and cmake is failing with "undefined reference to `__libc_csu_init'"
<glittershark> some googling about this points at a misconfigured glibc, but that doesn't sound right to me
<chris|> gchristensen: open firefox, copy any text, open nvim in alacritty, ctrl+shift+v, see text appear :)
<glittershark> the library I'm trying to compile is https://github.com/uber/h3
<clever> glittershark: are you using nix-shell?
<chris|> sorry, out of time for today, I'll try to look into it on the weekend. works with 0.2.9 but not 0.3.3
<glittershark> clever: This is during the build of the package
<glittershark> from any method - :b in nix repl, :s in nix repl, nix-shell
<glittershark> etc
kl3 has joined #nixos
<gchristensen> chris|: oh I think I know what is wrong
<clever> glittershark: can you pastebin the current nix expr your using?
<glittershark> yeah
<gchristensen> chris|: your override, where you set `postPatch` is deleting the override I added to nixpkgs
<kl3> when running -unstable, how can i get the nixpkgs commit id that corresponds to the currently used generation?
<gchristensen> chris|: and your override is wrong for the newer version of alacritty
<kl3> curl -L https://nixos.org/channels/nixos-unstable says nixos-20.03pre196836.1c40ee6fc44 so I assume 1c40ee6fc44, but is that correct? is thee a better way to get this information?
<gchristensen> run `nixos-version --hash`
<glittershark> clever: https://pastebin.com/d84NfGNC reproduces the issue
sigmundv__ has joined #nixos
<clever> glittershark: why is musl in the buildInputs?
<glittershark> it's listed by github.com/uber/h3 as a build dependency, I sorta threw it in there blindly
<clever> glittershark: what happens if you remove it?
<glittershark> gah
<glittershark> lol
<glittershark> well that fixes it
<AmandaC> It's listed as a dependency for alpine
<clever> glittershark: you where providing 2 libc's, muslc and glibc
<AmandaC> which uses musl for it's libc implementation
<glittershark> ahhh
<clever> glittershark: so it probably compiled for one, then linked to the other
<glittershark> spent like 3 hours on this yesterday lol
sigmundv has quit [Ping timeout: 240 seconds]
<glittershark> thanks for the help
<clever> glittershark: if you want proper musl, you must use pkgsCross.musl64 and pkgsCross.musl64.stdenv
<glittershark> I don't even... really know what musl is
<glittershark> besides now knowing it's a libc :P
<clever> glittershark: a libc speciallised for static linking
<glittershark> cool
<glittershark> well thanks again for the help
<clever> yep
<glittershark> next time I will start with 0 buildInputs and add them rather than the other way around
stzsch has quit [Ping timeout: 276 seconds]
<clever> glittershark: i do the same, start with nothing, then fix each error as they happen
endformationage has joined #nixos
kri404 has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #71345 → ncspot: init at 2019-10-12 → https://git.io/JeBt1
<{^_^}> [nixpkgs] @xwvvvvwx opened pull request #71346 → automake-1.15: support SOURCE_DATE_EPOCH in help2man → https://git.io/JeBty
<glittershark> is there some way to get :s in nix repl to make a pure/sandboxed shell?
<gchristensen> WOW cool PR from xwvvvvwx!
<qyliss> xwvvvvwx++
<{^_^}> xwvvvvwx's karma got increased to 1
<gchristensen> xwvvvvwx++
<{^_^}> xwvvvvwx's karma got increased to 2
<simpson> xwvvvvwx++
<{^_^}> xwvvvvwx's karma got increased to 3
<tilpner> gchristensen: Related: #70500
<{^_^}> https://github.com/NixOS/nixpkgs/pull/70500 (by tilpner, 1 week ago, open): groff: 1.22.3 -> 1.22.4
das_j has quit [Remote host closed the connection]
<gchristensen> :O :O :O
<tilpner> groff learned how to SOURCE_DATE_EPOCH
<gchristensen> okay okay I'll get r13y.com updating again :)
<gchristensen> (the problem is my home system is not healthy enough to do it anymore)
<tilpner> I asked you about that in #nixos-chat
<gchristensen> (I know, following up on that here)
<tilpner> So it was your hardware problem?
das_j has joined #nixos
<gchristensen> yeah :(
toppler has joined #nixos
<gchristensen> I'm thinking I'll bring up a big server every day (or once a week?) to run it
<gchristensen> ,staging
<tilpner> I've had some thoughts about uncoordinated crowd-sourced r13y
<gchristensen> I would _love_ to do that
<tilpner> But I'm not sure it's worth the effort
<tilpner> It forces end users to do a lot of deciding about how to weigh their trust
<tilpner> It's a lot of complexity for something many people presumably don't really care about
<tilpner> Just to remove trust from hydra (without removing trust from GH or committers!)
<tilpner> I was going to bring it up to you after you merge my r13y PR c.c
<niksnut> it would be great to have other people verify hydra builds
<niksnut> so if hydra gets pwned, we find out about it
<gchristensen> +1
<tilpner> I guess I should write up my initial design
<tilpner> (With plenty of holes)
<edef> i've been thinking about that
<tilpner> Oh!
<xwvvvvwx> I have also been thinking about that! :) :) :)
<gchristensen> so has adisbladis@
<gchristensen> !
* adisbladis has even started :O
<xwvvvvwx> Is there a branch somewhere?
<duairc> Has anybody managed to create an Azure VM running NixOS any time recently? Nothing seems to work
<tilpner> Someone create a channel, I want to hear more!
<adisbladis> xwvvvvwx: It's private so far
<adisbladis> But maybe it's time to open the floodgates
<duairc> colemickens: You seem to be the person who has gotten the closest in recent times
<adisbladis> xwvvvvwx: tilpner: #untrustix
<xwvvvvwx> adisbladis: I am very interested in making nixos reproducible and removing hydra as a single point of trust / failure
<{^_^}> [rfcs] @e-user closed pull request #41 → [RFC 0041] SELinux Support → https://git.io/fhhh4
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
<elvishjerricco> I installed NixOS in a VirtualBox to test some stuff out, but it doesn't seem to want to resize the display to fill the VBox window
<AmandaC> Did you install the virtualbox guest additions? ( or rather, did you remove those from the generated hardware-configuration.nix )
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #71129 → Execline replace bash wrapper → https://git.io/Je8RD
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to master: https://git.io/JeBqX
<elvishjerricco> AmandaC: Nope. `hardware-configuration.nix` still has `virtualisation.virtualbox.guest.enable = true;`
freeman42x has joined #nixos
<colemickens> I built the most ideal version of it and couldn't get it to work because their APIs were so unreliable that it just never worked e2e a single time without retrying steps. I'll keep trying every few weeks, but its unrewarding. If you're willing to dive in, I have a branch somewhere that should in theory work but probably needs to be troubleshooted if you want to run it currently. But yeah, it's more than capable of producing a
<colemickens> working vhd and he rest of my scripts set it up as a user image with automatic replication, etc.
hyper_ch2 has quit [Remote host closed the connection]
<duairc> colemickens: I've gone down that rabbit hole already :) The images produced by your branch, I can get them onto managed disks (and thus images), but the VMs always get stuck on "creating"
Tucky has quit [Quit: WeeChat 2.6]
toppler has quit [Ping timeout: 268 seconds]
<colemickens> It depends on what branch you're using. It seems often people try with the wrong one. The PR is not the active branch
<exarkun> Trying to upgrade nixpkgs to get a working openssl_1_1 and hitting this other weird error in my system tests: https://gist.github.com/exarkun/e6cb3edbb6569d0bab6b708dadfc7795
<exarkun> Did I pick a revision with a broken udev expression or something?
<duairc> colemickens: I'm using the azure branch of colemickens/nixpkgs, is that correct?
<colemickens> Anyway, I've been booting and using VMs in the past few months with it, and when the failures are retried was working consistently. Honestly the tree at head should produce a working image, it's just not necessarily easy to know how to use it unless you know Azure. And there's some oddities around sudo not being enabled password-less, etc I guess.
<colemickens> If you shoot me an email I can send along other details if you want to carry it over the line.
<colemickens> Idk, I think there's a newer azure-pr branch that I was working to get perfect before pushing to the PR branch
waleee-cl has joined #nixos
<duairc> Okay, thanks, I'll have a look at that. I appreciate your input. I might shoot you an email if I can't figure it out.
ixxie has joined #nixos
roconnor has joined #nixos
<roconnor> Hi all. On my Battery and Brightness menu there is no longer a brightness slider. Any tips on troubleshooting this?
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
toppler has joined #nixos
gila has joined #nixos
sigmundv__ has quit [Ping timeout: 246 seconds]
<andi-> roconnor: what menus are you talking about? What kind of environment are you using? What version of NixOS?
* andi- doesn't use any of the traidtional DEs
<roconnor> KDE menu bar, the battery icon (power management IIUC) on nixos-20.03pre193701.262b328b0ba
captn3m0 has joined #nixos
growpotkin has joined #nixos
knupfer has joined #nixos
<{^_^}> [cabal2nix] @Ericson2314 opened pull request #432 → Do the write thing for 32-bit android → https://git.io/JeBYe
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70742 → python37Packages.maxminddb: 1.4.1 -> 1.5.1 → https://git.io/JeW3M
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « python37Packages.maxminddb: 1.4.1 -> 1.5.1 (#70742) »: https://git.io/JeBYI
AluisioASG has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
isHavvy has joined #nixos
toppler has joined #nixos
AluisioASG has joined #nixos
Havvy has quit [Ping timeout: 265 seconds]
ubert has quit [Quit: Leaving]
roconnor has quit [Quit: Konversation terminated!]
leah2 has quit [Ping timeout: 250 seconds]
leah2 has joined #nixos
erasmas has joined #nixos
nikola_i has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #69964 → symengine: 0.4.1 -> 0.5.0 → https://git.io/JeZ7O
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeBYM
nikola_i has quit [Client Quit]
nikola_i has joined #nixos
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #70656 → libwhereami: 0.2.2 -> 0.3.0 → https://git.io/JeCAO
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « libwhereami: 0.2.2 -> 0.3.0 »: https://git.io/JeBYb
toppler has quit [Ping timeout: 265 seconds]
drakonis1 has joined #nixos
boxscape has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #71347 → emacsPackages.vterm: fix dynamic library and autoloaders → https://git.io/JeBOs
jollyjester has joined #nixos
<jollyjester> getting this error when running sudo nixos-rebuild switch
Ariakenom has quit [Quit: WeeChat 2.6]
cosimone has quit [Quit: Terminated!]
alexherbo24 has joined #nixos
zupo has joined #nixos
alexherbo2 has quit [Ping timeout: 245 seconds]
bahamas has joined #nixos
toppler has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
<infinisil> jollyjester: "The message has either been read/expired/deleted or this URL is invalid."
<infinisil> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
hyper_ch has joined #nixos
hyper_ch has quit [Remote host closed the connection]
cosimone has joined #nixos
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
zupo has quit [Ping timeout: 276 seconds]
<jollyjester> infinisil:
<infinisil> jollyjester: You didn't paste the actual error, which would be earlier in the logs
hyper_ch has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #69783 → python37Packages.gsd: 1.7.0 -> 1.8.1 → https://git.io/JeZgj
<{^_^}> [nixpkgs] @jonringer merged pull request #70064 → python3Packages.gsd: 1.7.0 -> 1.9.1 → https://git.io/JennY
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JeBO2
Synthetica has quit [Quit: Connection closed for inactivity]
lord| has quit [Ping timeout: 268 seconds]
ntqz has joined #nixos
<jollyjester> infinisil:
<jollyjester> hope this is ok
<{^_^}> [nixpkgs] @flokli merged pull request #71322 → nixos/networkmanager: use tmpfiles to setup state directories → https://git.io/JeBfm
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeBOK
toppler has quit [Ping timeout: 240 seconds]
<infinisil> Oh there's not more to the error :(
<infinisil> jollyjester: Since when did this start happening?
__Sander__ has quit [Quit: Konversation terminated!]
<jollyjester> infinisil: i don't really know but probably ever since i tried installing chromium
<jollyjester> and it returned an error
lord| has joined #nixos
<infinisil> jollyjester: You installed chromium through configuration.nix then?
<jollyjester> no
<jollyjester> through home-manager
<infinisil> jollyjester: Then this shouldn't have any influence on what nixos-rebuild does
<infinisil> Would be really good to know what caused this to start happening, then you could try to undo that change to see if it stops happening
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71299 → gtk-doc: fix on darwin → https://git.io/Je4HG
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging-next: https://git.io/JeBOM
<jollyjester> infinisil: i did
<jollyjester> did not reverse it
<jollyjester> i installed chromium through home-manager again
<jollyjester> here's the error
<jollyjester> /nix/store/iiham7sfavdv7sai1d439n5vwqz06azr-chromium-unwrapped-77.0.3865.120/libexec/chromium/chromium: error while loading shared libraries: /nix/store/mvxmrsc3lhdlxmkhcaix01da5rqnimc5-libopus-1.3.1/lib/libopus.so.0: invalid ELF header
<infinisil> jollyjester: Unless you're using home-managers nixos module, this has nothing to do with the first error
jD91mZM2 has quit [Quit: ZNC 1.7.3 - https://znc.in]
lord| has quit [Ping timeout: 240 seconds]
bahamas has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Profpatsch opened pull request #71348 → lib/trivial: add `pipe` function → https://git.io/JeBO7
jD91mZM2 has joined #nixos
<duairc> colemickens: I got it working for what it's worth! I actually have no idea why it works now and not before. You're right that the tools are flaky and crap. Thanks for the work you did on that branch, and generally all the things you've posted in different places about your efforts, I couldn't have done this without that.
<duairc> colemickens++
<{^_^}> colemickens's karma got increased to 9
<silver_hook_> Has anyone experienced any issues when updating to 19.09?
lord| has joined #nixos
toppler has joined #nixos
jreed has joined #nixos
<exarkun> silver_hook_: Of course.
<exarkun> silver_hook_: But you may want to try a more specific question.
<Taneb> silver_hook_: some people have had issues with timesyncd, due to changing the system.stateVersion to "19.09" (please leave it at "19.03" whne you upgrade)
jb551 has quit [Remote host closed the connection]
<exarkun> What are the `nixos-19.09` and `release-19.09` branches? And how are they different from each other?
knupfer has quit [Ping timeout: 264 seconds]
<gchristensen> nixos-* is the channel state, release-19.09 is where commitsare made against
jb551 has joined #nixos
<Taneb> exarkun: roughly, nixos-19.09 is the latest commit of release-19.09 that has passed some tests
<silver_hook_> exarkun: It’s hard to specifically predict which potential issues I might encounter when I upgrade. If I had such a crystal ball, I woudn’t be asking ;) Which is why I’m asking if it’s a smooth update or are there things to be extra aware of
<exarkun> gchristensen, Taneb: thanks
qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<tokudan> do the changes in https://github.com/NixOS/nixpkgs/pull/71302/files look sane, i.e. is it ok to just remove the default dependencies from rngd? and is the conditional dependency from swap to rngd sane or is there a better way?
qubasa has joined #nixos
<gchristensen> why privatetmp?
<tokudan> gchristensen, with privatetmp there is a circular dependency on swap, so i have to remove that
<gchristensen> mind documenting that in the code?
<tokudan> sure, will do that
drakonis has quit [Ping timeout: 240 seconds]
drakonis1 has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos
ntqz has quit []
drakonis1 has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « liburing: 0.2pre246_08bd8151 -> 0.2pre252_a9bb08db »: https://git.io/JeB3n
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71294 → gitkraken: 6.2.1 -> 6.3.0 → https://git.io/Je4MD
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @evanjs to master « gitkraken: 6.2.1 -> 6.3.0 (#71294) »: https://git.io/JeB3c
<tokudan> gchristensen, done
<{^_^}> [nixpkgs] @c0bw3b merged pull request #69718 → odamex: 0.7.0 -> 0.8.1 → https://git.io/JeZBH
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « odamex: 0.7.0 -> 0.8.1 (#69718) »: https://git.io/JeB3l
jreed has quit [Ping timeout: 250 seconds]
Havvy has joined #nixos
isHavvy has quit [Ping timeout: 240 seconds]
kl3 has left #nixos [#nixos]
romildo has quit [Quit: Leaving]
drakonis1 has quit [Quit: WeeChat 2.6]
justanotheruser has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to master: https://git.io/JeB3a
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-19.03: https://git.io/JeB3w
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.09: https://git.io/JeB3r
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #71349 → codeowners: add jonringer as python packages codeowner → https://git.io/JeB3i
drakonis1 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<dhess> Hi all, it's dumb question time!
<dhess> Can minikube run docker containers?
lawlesseel has joined #nixos
drakonis has quit [Ping timeout: 268 seconds]
<dhess> Basically, I don't like Docker, but I want to run Docker containers locally.
Ariakenom has joined #nixos
<dhess> and it's not clear to me whether minikube subsumes Docker capabilities, in terms of being able to launch and manage them locally.
<dhess> (I assume minikube it can't package containers, but I don't care about that bit.)
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
<das_j> how do I override packages in a scope? I have gnustep (pkgs/desktops/gnustep/default.nix) and I'd like to override libobjc
justanotheruser has joined #nixos
<Shell> dhess: pretty sure the default container runtime for minikube is Docker
<gchristensen> I think minikube needs docker installed already though?
drakonis1 has quit [Ping timeout: 246 seconds]
<dhess> yeah, what gchristensen said. That's what I'm trying to figure out.
<dhess> Can I run Docker containers on Minikube without having Docker installed.
<adisbladis> Minikube spins up a vm with docker, no?
fendor has joined #nixos
dycan has joined #nixos
nikola_i has quit [Ping timeout: 250 seconds]
jollyjester has quit [Ping timeout: 240 seconds]
<dhess> In fact I'd be happy to use cri-o rather than Docker as long as cri-o on minikube can run/covert an existing docker container
jollyjester has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<Shell> dhess: apparently cri-o can do that, as Docker's registry adheres to the right open spec and Docker's images do too.
<dhess> Shell: cool, I guess I'll try that
<dhess> now to get minikube running on macOS with nixpkgs :O
captn3m0- has joined #nixos
<dhess> argh why is minikube only 1.2 in nixpkgs when 1.4 is available
captn3m0 has quit [Ping timeout: 276 seconds]
<gchristensen> it has been waiting for you to come by ^.^
<dhess> hahahaha
<{^_^}> #66578 (by AtkinsChang, 9 weeks ago, open): minikube: 1.2.0 -> 1.3.1
<dhess> nice, that PR builds docker-machine-hyperkit as well
toppler has joined #nixos
jollyjester has quit [Quit: leaving]
<wedens[m]> dhess: have you tried podman?
* adisbladis has about a year ago
<wedens[m]> also, IIRC you can run extracted docker container using systemd-nspawn
t58 has joined #nixos
<{^_^}> [nixpkgs] @va1entin opened pull request #71350 → pythonPackages.geographiclib: init at 1.50 → https://git.io/JeBsC
<ajs124> I'm trying to get nix to fetch from cache.nixos.org by default instead of my own binary cache, by setting Priority in nix-cache-info, but it still fetches from my own cache. Any ideas what I might be doing wrong?
<gchristensen> I think there might be something to the ordering in the substituters list
<infinisil> ajs124: Do both caches have the derivation you're requesting?
<ajs124> Yes
<dhess> wedens: I just found out about podman, but I need to do this from macOS.
<infinisil> ajs124: And what value did you set your cache to?
<ajs124> First my cache and then cache.nixos.org. For no real reason, though, that's just how it came out of my nixos config.
gxt has quit [Ping timeout: 260 seconds]
<Shell> dhess: personally I'd spin up a VM and use https://github.com/containers/skopeo for interacting with registries + railcar or similar for running containers. alias railcar to ssh user@vm railcar on your host if you like.
silver has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #71351 → emacsPackages.evil-escape: fix build → https://git.io/JeBsu
toppler has quit [Ping timeout: 265 seconds]
MichaelRaskin has joined #nixos
<dhess> Shell: yeah I can do all of this remotely on one of several NixOS build machines. I'm just trying to make it more convenient to do from the Mac.
<dhess> it's honestly probably more trouble than it's worth. It's not something I need to do very often.
alexherbo24 has quit [Ping timeout: 240 seconds]
alexherbo24 has joined #nixos
toppler has joined #nixos
lukash_ is now known as lukash_|away
<dhess> Anyone here using BuildKite?
* gchristensen raises hand
<dhess> gchristensen: opinions?
<gchristensen> I like it a lot and the team is great
<{^_^}> [nixpkgs] @flokli merged pull request #71247 → atheme: init at 7.2.10-r2 → https://git.io/Je4Wd
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeBsH
<gchristensen> I would like to use it for some nixos foundation things, but am aware there are people who'd not like that, since it isn't foss (however, I'm not going to run Jenkins so ...)
<dhess> gchristensen: Where are build products stored?
<gchristensen> like `buildkite artifact`?
<dhess> sure
<gchristensen> they upload to S3 (you can use your own bucket if you want)
<gchristensen> dhess: https://buildkite.com/grahamc/packet-nix-builder for example
<dhess> Hmm. If you use your own bucket, who holds the creds? (Assuming your build host isn't an EC2 instance.)
<gchristensen> you do
<dhess> so they go in ~buildkite-user/.aws/credentials or whatever?
<m1cr0m4n> Hey folks. I just managed to get percona 8 to build on nixos. I have built the derivation by overrideAttrs on mysql8 package. If I'm going to contribute it back, should I make a standalone derivation or is it fine to base it off mysql8's? They are so similar I don't see the point copying everything.
shibboleth has joined #nixos
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<dhess> thanks for the pointer
<dhess> gchristensen: have you played with GitLab CI?
<gchristensen> no
<dhess> ok thanks for the info!
<gchristensen> yep!
<{^_^}> [nixpkgs] @primeos opened pull request #71352 → python37Packages.cryptography: 2.7 -> 2.8 → https://git.io/JeBsb
<ajs124> infinisil: I changed the order. It still pulls from my cache >.<
<infinisil> ajs124: What are the priorities though?
rauno has quit [Ping timeout: 250 seconds]
<ajs124> Mine has 50, nixos.org has 40. Mine used to have 30. From what I understand lower is higher.
<infinisil> Yeah lower is higher
<infinisil> ajs124: Can you confirm that `curl -I https://cachix.nixos.org/<the hash>.narinfo` and the same for your cache return 200?
jgt has quit [Quit: WeeChat 2.4]
<ajs124> infinisil: they do both return 200, but the contents differ slightly. My cache doesn't compress. Wait, I'll paste a diff.
<xwvvvvwx> s/*.py/*.pyc
dycan has quit [Remote host closed the connection]
<tilpner> ajs124: IME it may require nuking /root/.cache/nix
ris has joined #nixos
<ajs124> tilpner: ... ok, but why?
<tilpner> ajs124: Because it caches /nix-cache-info
<freeman42x> how can I disable a keyboard key on NixOS? it's automatically pressing itself
<tilpner> ajs124: And that's the cache directory the daemon uses
<ajs124> tilpner: so... what happens if I don't delete that?
gxt has joined #nixos
<ajs124> The priority can never change?
<tilpner> If you're lucky, the cache expires
toppler has quit [Ping timeout: 240 seconds]
<tilpner> I don't know that it does, or what the TTL is
wildtrees has joined #nixos
<tilpner> ajs124: sqlite3 /root/.cache/nix/binary-cache-v6.sqlite 'select url, priority from binarycaches'
<tilpner> If those values differ from what you think they should be, try deleting the cache
wildtrees has quit [Max SendQ exceeded]
<wedens[m]> is emacs-overlay cached? /cc adisbladis
<adisbladis> No
live_ has quit [Ping timeout: 265 seconds]
softinio has joined #nixos
wildtrees has joined #nixos
<ajs124> tilpner: thanks. I'll keep that in mind. One more question though. Is any of this documented anywhere?
<softinio> Hi All
<softinio> Whats Nix like on new MacOS Catalina?
<tilpner> ajs124: I don't know, but I wouldn't bet on it
<infinisil> ajs124: Did that solve it then?
<exarkun> Why does `nix-build -I nixpkgs=url ...` do something different than `nix-build -I nixpkgs=./nixpkgs.nix ...` where `./nixpkgs.nix` contains `import (builtins.fetchTarball { url = same-url; sha256 = good-sha256; })`?
<exarkun> softinio: There's some bumps, https://github.com/NixOS/nix/issues/2925
<{^_^}> nix#2925 (by mroi, 19 weeks ago, open): /nix will not be writable on macOS Catalina
<infinisil> exarkun: With a fixed hash it always uses that one if it's cached, doesn't try to download it anew
<ajs124> infinisil: I think that did it, yes. Although I kind of don't want to have to nuke that on all my hosts, but that's another problem for another day.
<tilpner> ajs124: It might expire, check nix source if it's important to you
<exarkun> infinisil: Okay. If I take the sha256 out it the behavior is unchanged, though.
<infinisil> tilpner: Kinda surprised to see cachix caches using priority 41
live_ has joined #nixos
<exarkun> So same question, less the sha256 attr.
<infinisil> exarkun: How does behavior differ?
<dhess> softinio: Migrating from a previous macOS is painful (see issue referenced above) but after that it works great.
<tilpner> ajs124: There's a purgeInterval of 1 day in nar-info-disk-cache.cc
peanutbutter144 has joined #nixos
<exarkun> infinisil: The former finds a previous success in the store and succeeds without building anything. The latter doesn't, tries to do a build, fails (in a way that might mean it's not using the specified nixpkgs but I'm not really sure).
<dhess> softinio: if you have specific questions you should probably visit #nix-darwin
<tilpner> ajs124: I don't know that it applies to cache priority though
toppler has joined #nixos
<exarkun> They seem to be operating on the same nixpkgs sources, but not the same nixpkgs inputs :/ That makes sense as an explanation for why one of them does a build and the other does. Doesn't make sense as an explanation for why the build fails. :/
exfalso has quit [Ping timeout: 268 seconds]
noudle has joined #nixos
<das_j> is there any doc on newScope?
<das_j> and the splicing in general?
<dhess> OK, anyone here use podman with NixOS?
<qyliss> I do
toppler has quit [Ping timeout: 250 seconds]
<dhess> qyliss: does it need a module, so that it can get the registries etc?
captn3m0- has quit [Ping timeout: 240 seconds]
<dhess> I'm just trying to run it in nix-shell but first thing it does is complain that no registries exist in /etc/podman/whatever
<qyliss> Well, you need to set up its config files somehow
<dhess> /etc/containers
<qyliss> Either in /etc or XDG_CONFIG_HOME
<qyliss> I can share my module with you...
<dhess> qyliss: looks like there's no module in nixpkgs?
<qyliss> no, there's not
<qyliss> That's what I use
<dhess> I'm happy to use ~/.config,
<dhess> ok thanks!
<qyliss> The xdg. thing is custom, but you can use the home-manager equivalent or whatever
<qyliss> It's a pain if you don't generate it with Nix, though, because you need store paths
orivej has quit [Ping timeout: 240 seconds]
live_ has quit [Remote host closed the connection]
<dhess> qyliss: does buildah need a config as well, or does that just get told what to do by podman?
<qyliss> I haven't configured anything for it
<qyliss> That's all I needed to get podman working
<dhess> great, thank you
captn3m0 has joined #nixos
gkmngrgn has quit [Ping timeout: 240 seconds]
lawlesseel has quit [Remote host closed the connection]
lawlesseel has joined #nixos
toppler has joined #nixos
cosimone has quit [Quit: Terminated!]
<{^_^}> [nixpkgs] @c0bw3b closed pull request #60137 → chromaprint: 1.3.2 -> 1.4.3 → https://git.io/fj3Fs
worldofpeace_ has joined #nixos
<worldofpeace_> it's alive
<worldofpeace_> ahhh
<worldofpeace_> worldofpeace alt coming at ya
<{^_^}> [nixpkgs] @dywedir opened pull request #71353 → exiftool: 11.50 -> 11.70 → https://git.io/JeBZk
* edef waves
Havvy has quit [Ping timeout: 240 seconds]
thc202 has quit [Ping timeout: 264 seconds]
thc202 has joined #nixos
gila has joined #nixos
softinio has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @aanderse opened pull request #71354 → zabbix: 4.2.6 -> 4.2.7, 4.0.12 -> 4.0.13 → https://git.io/JeBZl
<evelyn> How can one get a NixOS/user cloak?
<qyliss> Ask gchristensen
Heirlung has quit [Ping timeout: 245 seconds]
toppler has quit [Ping timeout: 240 seconds]
Guanin has joined #nixos
worldofpeace_ has quit [Quit: worldofpeace_]
<ravndal> is it expected that `nix search anything` shows duplicates in the form of nixos.result and nixpkgs.result?
<{^_^}> [nixpkgs] @chkno opened pull request #71355 → nixos/make-iso9660-image: Fix storeContents documentation → https://git.io/JeBZr
slack1256 has joined #nixos
worldofpeace_ has joined #nixos
toppler has joined #nixos
<worldofpeace_> Hello everyone in the channel, NixOS Office Hours will be starting in about 5 min. Join on zoom with https://zoom.us/j/120295959 or view it on youtube https://www.youtube.com/channel/UC3vIimi9q4AT8EgxYp_dWIw
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #71290 → python3Packages.trezor_agent: fix startup error → https://git.io/Je4PY
<{^_^}> [nixpkgs] @jonringer pushed commit from @alanpearce to master « python3.7-trezor_agent: fix startup error »: https://git.io/JeBZ9
shibboleth has quit [Quit: shibboleth]
mexisme_ has quit [Ping timeout: 276 seconds]
exfalso has joined #nixos
m1cr0m4n has quit [Quit: '\\//,' - Spock]
m1cr0man has joined #nixos
<ma27[m]> gchristensen: so apparently wayland doesn't like zoom, will be back in a minute %)
toppler has quit [Ping timeout: 240 seconds]
freeman42x has quit [Ping timeout: 252 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @adisbladis closed pull request #71324 → boulder: init at release-2019-10-13 → https://git.io/JeBfg
alexherbo24 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @jonringer opened pull request #71356 → python38Packages.cython: fix build → https://git.io/JeBnT
alexherbo2 has joined #nixos
Heirlung has joined #nixos
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
attero[m] has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Profpatsch opened pull request #71357 → execlineb: change execlineb wrapper to C script → https://git.io/JeBnZ
attero[m] is now known as attero
toppler has joined #nixos
cosimone has joined #nixos
noogie has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JeBnR
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2019-10-17T23:44:51Z »: https://git.io/JeBno
drakonis_ has joined #nixos
softinio has joined #nixos
kri404 has quit [Quit: Leaving]
kri404 has joined #nixos
<softinio> dhess: exarkun thanks
<softinio> dhess: it will actually be on a new laptop but I have one old one that I may have to in future
kri404 has quit [Remote host closed the connection]
kri404 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-uri-bytestring: drop obsolete patch to fix the build »: https://git.io/JeBn1
<hyper_ch> eyJhb: howdy
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71336 → pypi2nix: add missing setuptools dependency → https://git.io/JeBTs
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeBnM
alkeryn has joined #nixos
mgdm has joined #nixos
lord| has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @eadwu opened pull request #71358 → nvidia_x11_beta: stable -> 440.26 → https://git.io/JeBnF
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @edef1c to release-19.09 « pypi2nix: add missing setuptools dependency »: https://git.io/JeBnb
<{^_^}> [nixpkgs] @eadwu opened pull request #71359 → vscode: 1.39.2 → https://git.io/JeBnN
toppler has quit [Ping timeout: 240 seconds]
lord| has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71340 → pythonPackages.pgsanity: add missing postgresql checkInput → https://git.io/JeBTj
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JeBck
<gchristensen> if you're interested in haskell packaging, check out peti's live stream where he works on and fixes haskell packages! https://www.twitch.tv/peti343
<{^_^}> [nixpkgs] @peti merged pull request #71094 → universum 1.6.0 is no longer broken → https://git.io/Je8up
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JeBcY
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/JeBcO
<{^_^}> [nixpkgs] @peti merged pull request #71332 → haskellPackages.clash-{ghc,lib,prelude}: mark unbroken → https://git.io/JeBJ9
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JeBc3
leotaku has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #71360 → matrix-synapse: 1.4.0 -> 1.4.1 → https://git.io/JeBcW
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #71361 → configuration-ghc-8.8.nix: fix overrides → https://git.io/JeBc0
toppler has joined #nixos
Zer0xp has joined #nixos
alkeryn has left #nixos ["WeeChat 2.6"]
psyanticy has quit [Quit: Connection closed for inactivity]
zupo has joined #nixos
softinio has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-generics-sop: use the latest version when building with ghc-8.8.x »: https://git.io/JeBcM
orivej has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeBcD
leotaku has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
lopsided98 has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
Havvy has joined #nixos
gkmngrgn has joined #nixos
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71339 → i3blocks: handle multiple XDG_CONFIG_DIRS elements correctly → https://git.io/JeBTD
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeBcx
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-rank2classes: disable test suite to fix the build »: https://git.io/JeBCv
toppler has joined #nixos
drewr has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed to haskell-updates « haskellPackages.nix-tools: Fix build »: https://git.io/JeBCt
<mrSpec> Hi! I managed o configure br0 finally (samba was somehow messing). But I'm stuck step later - as only br0 is configured and gets IP, I also dont have eth0 configured at initrd. My current config: https://paste.q3k.org/paste/q1GMeBpC#gUOxqpMlhm1UElqd2NOExuSDKw+kpAF-O3qtOowsDh3
<mrSpec> Can I somehow configure br0 or eth0 in boot.initrd.network?
<mrSpec> Is it good solution?
<{^_^}> [nixpkgs] @peti merged pull request #71361 → configuration-ghc-8.8.nix: fix overrides → https://git.io/JeBc0
<{^_^}> [nixpkgs] @peti pushed 2 commits to release-19.09: https://git.io/JeBCm
drakonis_ has joined #nixos
<eyJhb> hyper_ch: sup!
horner has joined #nixos
drakonis has quit [Ping timeout: 245 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 27 commits to haskell-updates: https://git.io/JeBCs
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @peti pushed 19 commits to haskell-updates: https://git.io/JeBCZ
<NinjaTrappeur> Hey, I have a workflow-related question. I am fixing a nixos test on master involving some modifications in nixpkgs. This nixos test is depending on a lot of packages that did not hit the nixos cache yet. Is there a trick to leverage the cache at least to some extent?
wormwood has joined #nixos
wormwood has quit [Changing host]
<NinjaTrappeur> And avoid my poor 6 YO computer to painfully rebuild the whole world?
<edef> you can cherry-pick onto latest nixos-unstable
<edef> or nixos-unstable-small
<NinjaTrappeur> Right
softinio has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 19 commits to master: https://git.io/JeBCW
<ashkitten> wish there was a better way to cherry-pick commits to nixpkgs than maintaining my own repo
<ashkitten> sorta
jlv has joined #nixos
<tokudan> ashkitten, you can override packages and replace modules
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @edef1c closed pull request #66039 → [WIP] pgcli: 2.0.2 -> 2.1.1 → https://git.io/fjHHP
<ashkitten> anyways, is there a command to get the current nixos generation?
<tokudan> ashkitten, nixos-version ?
<ashkitten> oh, okay lol
<gchristensen> `nixos-version --hash` might be useful too
<ashkitten> wait, no
<tokudan> though technically that's not the generation
<ashkitten> i want the current system generation number
<ashkitten> so i can take a zfs snapshot of all my datasets before the switch
<edef> you can just readlink the profile
<edef> edef@platypus ~> readlink /nix/var/nix/profiles/system
<edef> system-243-link
horner has quit [Quit: zzZzZzZzZZZzzz…]
<tokudan> edef, is that the latest built version or the actual running generation?
<edef> it's the one that will be booted to
<edef> `nixos-rebuild boot` sets that one. `nixos-rebuild test` only sets /run/current-system. `nixos-rebuild switch` sets both
<tokudan> ashkitten, the current running generation is /run/current-system, you can maybe compare that with the links in /nix/var/nix/profiles/system*
kri404 has quit [Quit: Leaving]
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
exfalso has quit [Ping timeout: 268 seconds]
Izorkin has quit [Client Quit]
glittershark has quit [Ping timeout: 246 seconds]
Izorkin has joined #nixos
<edef> edef@platypus ~> perl -e 'foreach (glob "/nix/var/nix/profiles/system-*-link") { print s/^.*-(\d+)-link$/$1\n/r if readlink($_) eq readlink("/run/current-system"); }'
<edef> 243
drakonis has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71341 → nixos/rabbitmq: use a literalExample for example configItems → https://git.io/JeBkT
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeBCV
<edef> (you should probably use something more sensible than my thirty second perl fever dream)
<edef> (but it works)
toppler has joined #nixos
<dhess> gchristensen: in your repo here: https://github.com/grahamc/packet-nix-builder I assume that buildkite.yml is the BuildKite pipeline and since this runs on an agent on a NixOS box, nix takes care of installing all the dependencies needed for the build?
slack1256 has quit [Ping timeout: 240 seconds]
<gchristensen> dhess: yeah, my buildkite builders have a few deps preinstalled but I think this one is 100% self-contained minus creds
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70658 → chromaprint: 1.3.2 -> 1.4.3 → https://git.io/JeCAP
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/JeBC1
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<dhess> gchristensen: it looks like non-Nixpkgs folk use Buildkite plugins for things like "build a Python project with setup.py" etc. ?
<gchristensen> I imagine
<gchristensen> I couldn't possibly do that myself though :)
fendor has quit [Quit: Leaving]
<dhess> hehehe no doubt
laalf has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
laalf has quit [Client Quit]
laalf has joined #nixos
Okinan has joined #nixos
<pikajude> is nixpkgs support for developing rust packages usable?
<gchristensen> I use the mozilla overlay to get rust and clippy
<pikajude> mozilla overlay, ok
<pikajude> hmm it lists firefox here, this is a headless server i'm installing stuff on
softinio has quit [Remote host closed the connection]
<pikajude> still looks useful, i'll try it
toppler has quit [Ping timeout: 265 seconds]
Shouou has joined #nixos
CSP-GLOBAL has joined #nixos
<pikajude> gchristensen: do you have cargo manage dependencies, or can nix satisfactorily do it as with haskell?
<gchristensen> I use cargo
<gchristensen> cargo does a nice job
<pikajude> nice
<Ericson2314> tetdim: how's it going?
toppler has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #71363 → zabbix: 4.2.6 -> 4.2.7, 4.0.12 -> 4.0.13 [19.09 backport] → https://git.io/JeBWv
exfalso has joined #nixos
knupfer has joined #nixos
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
laalf has joined #nixos
exfalso has left #nixos [#nixos]
laalf has quit [Client Quit]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71334 → Clean up git-series packaging, use OpenSSL 1.1 → https://git.io/JeBTT
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to master: https://git.io/JeBWt
abathur has joined #nixos
laalf has joined #nixos
acarrico has quit [Ping timeout: 250 seconds]
softinio has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71355 → nixos/make-iso9660-image: Fix storeContents documentation → https://git.io/JeBZr
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JeBWs
realrokka has quit [Quit: rip]
realrokka has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #71364 → wireguard-tools: 0.0.20190913 -> 0.0.20191012 → https://git.io/JeBWg
alexherbo20 has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
justanotheruser has quit [Ping timeout: 276 seconds]
hexa- is now known as hex404
hex404 is now known as hexa-
<{^_^}> [nixpkgs] @lilyball closed pull request #66161 → setup.sh: rewrite stripHash → https://git.io/fjQqI
<jlv> Who should I notify to review pull requests for `nodePackages`? (#71215)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/71215 (by JustinLovinger, 2 days ago, open): nodePackages.purescript-language-server: init at 0.12.7
gkmngrgn has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71149 → [19.09] ocrmypdf: 8.2.3 -> 9.0.3 → https://git.io/Je8Vw
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/JeBWX
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freeman42x has quit [Remote host closed the connection]
abathur has quit [Ping timeout: 276 seconds]
kleisli has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos
drakonis__ has joined #nixos
boxscape has quit [Ping timeout: 240 seconds]
drakonis__ has quit [Client Quit]
toppler has quit [Ping timeout: 240 seconds]
erasmas has quit [Quit: leaving]
acarrico has joined #nixos
toppler has joined #nixos
softinio has quit [Ping timeout: 240 seconds]
worldofpeace_ has quit [Quit: worldofpeace_]
<{^_^}> [nixpkgs] @samhug opened pull request #71365 → dhcpcd: 8.0.6 -> 8.1.1 → https://git.io/JeBlU
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
wormwood has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 250 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
toppler has joined #nixos
nDuff has joined #nixos
realrokka has quit [Read error: Connection reset by peer]
realrokka_ has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #71366 → [19.09] nm-fortisslvpn: create the local state directory → https://git.io/JeBlw
cosimone has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @thorstenweber83 opened pull request #71367 → kazam: fix package → https://git.io/JeBli
<{^_^}> [nixpkgs] @aanderse opened pull request #71368 → wordpress: 5.2.3 -> 5.2.4 → https://git.io/JeBl7
CSP-GLOBAL has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
nDuff has quit [Quit: zzz]
eraserhd has quit [Quit: WeeChat 2.6]
toppler has quit [Ping timeout: 240 seconds]
eraserhd has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #71369 → mediawiki: 1.33.0 -> 1.33.1 → https://git.io/JeBlj
ddellacosta has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71333 → kak-lsp: 6.2.1 -> 7.0.0 → https://git.io/JeBUx
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeB8q
mbrgm_ has joined #nixos
acarrico has quit [Ping timeout: 268 seconds]
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
drakonis1 has joined #nixos
orivej has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71367 → kazam: fix package → https://git.io/JeBli
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeB88
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @thorstenweber83 to release-19.09 « kazam: fix »: https://git.io/JeB84
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71298 → networkmanager-fortisslvpn: create the local state directory → https://git.io/Je4HJ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeB8R
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71366 → [19.09] networkmanager-fortisslvpn: create the local state directory → https://git.io/JeBlw
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/JeB80
lordcirth_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71353 → exiftool: 11.50 -> 11.70 → https://git.io/JeBZk
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeB8u
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71210 → nixos/gnome3: fix gnome-flashback → https://git.io/Je8jy
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JeB8g
fling has quit [Ping timeout: 265 seconds]
drakonis_ has joined #nixos
fling has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71163 → networkmanager: enable polkit_agent → https://git.io/Je86n
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/JeB8a