worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #96223 → Make pkgsStatic set "static" argument to true → https://git.io/JUJCZ
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JUmT5
Graypup_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
Graypup_ has joined #nixos
<pjt_tmp> vldn: dpkg is available as a nix package
vldn has quit [Remote host closed the connection]
teto has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @jonringer merged pull request #96231 → cockroachdb: 20.1.3 -> 20.1.4 → https://git.io/JUJ4x
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « cockroachdb: 20.1.3 -> 20.1.4 »: https://git.io/JUmke
<pjt_tmp> bruh
mariatsji has quit [Ping timeout: 244 seconds]
allgreed has joined #nixos
<Raito_Bezarius> why does pygobject3 pulls wayland?
<{^_^}> [nixpkgs] @jonringer merged pull request #96429 → pcl: 1.11.0 -> 1.11.1 → https://git.io/JUkPj
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « pcl: 1.11.0 -> 1.11.1 »: https://git.io/JUmkY
<simpson> Raito_Bezarius: Does it? I can't reproduce; what did you try?
<adisbladis> simpson: The dev output does
<{^_^}> [nixpkgs] @romildo opened pull request #96879 → deepin: register removal in release notes, aliases and module list → https://git.io/JUmkw
<{^_^}> [nixpkgs] @marsam merged pull request #96721 → vault: 1.5.2 -> 1.5.3 → https://git.io/JUqqq
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JUmkr
<{^_^}> [nixpkgs] @jonringer merged pull request #96332 → goffice: 0.10.47 -> 0.10.48 → https://git.io/JUTvP
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JUmk1
Acou_Bass has quit [Ping timeout: 246 seconds]
GolDDranks has joined #nixos
<{^_^}> [nixpkgs] @marsam closed pull request #96518 → terraform: 0.13.0 -> 0.13.1 → https://git.io/JUIVW
<Raito_Bezarius> adisbladis: ha
<GolDDranks> Any ideas how to get this merged quicker so that it makes it to the 20.09 release? https://github.com/NixOS/nixpkgs/pull/91295#issuecomment-684114723
<{^_^}> [nixpkgs] @jonringer merged pull request #96227 → ayatana-ido: 0.4.90 -> 0.8.0 → https://git.io/JUJlp
<Raito_Bezarius> I'm using as a Python3 module simpson / adisbladis
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « ayatana-ido: 0.4.90 -> 0.8.0 »: https://git.io/JUmkQ
<Raito_Bezarius> any idea to reduce this effect?
<{^_^}> [nixpkgs] @jonringer merged pull request #96165 → tikzit: 2.1.5 -> 2.1.6 → https://git.io/JUf7K
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « tikzit: 2.1.5 -> 2.1.6 »: https://git.io/JUmk7
<{^_^}> [nixpkgs] @marsam merged pull request #96742 → wolfssl: 4.4.0 -> 4.5.0 → https://git.io/JUq8f
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUmkd
<{^_^}> [nixpkgs] @zowoq opened pull request #96880 → etcd: 3.3.22 -> 3.3.25 → https://git.io/JUmkN
<{^_^}> [nixpkgs] @aanderse merged pull request #96711 → solr: 8.5.2 -> 8.6.1 → https://git.io/JUqU6
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JUmkA
<{^_^}> [nixpkgs] @jonringer merged pull request #96167 → tilt: 0.17.0 -> 0.17.2 → https://git.io/JUf7N
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « tilt: 0.17.0 -> 0.17.2 »: https://git.io/JUmkj
<{^_^}> [nixpkgs] @marsam merged pull request #96737 → wgetpaste: 2.29 -> 2.30 → https://git.io/JUqZr
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUmIT
<{^_^}> [nixpkgs] @jonringer merged pull request #96363 → metabase: 0.36.2 -> 0.36.4 → https://git.io/JUTCb
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « metabase: 0.36.2 -> 0.36.4 »: https://git.io/JUmII
<{^_^}> [nixpkgs] @marsam merged pull request #96736 → wcslib: 7.3 -> 7.3.1 → https://git.io/JUqGH
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUmIt
<{^_^}> [nixpkgs] @jonringer merged pull request #96100 → openhantek6022: 3.1.1 -> 3.1.2 → https://git.io/JUfY4
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « openhantek6022: 3.1.1 -> 3.1.2 »: https://git.io/JUmI3
<{^_^}> [nixpkgs] @marsam merged pull request #96756 → xlockmore: 5.64 -> 5.65 → https://git.io/JUqgO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUmIs
<{^_^}> [nixpkgs] @aanderse opened pull request #96881 → solr: 8.4.1 -> 8.6.1 [20.03 backport] → https://git.io/JUmIn
<{^_^}> [nixpkgs] @marsam merged pull request #96710 → speechd: 0.9.1 -> 0.10.1 → https://git.io/JUqUn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUmIC
<{^_^}> [nixpkgs] @marsam merged pull request #96722 → todo-txt-cli: 2.11.0 -> 2.12.0 → https://git.io/JUqqO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUmI0
<{^_^}> [nixpkgs] @jonringer merged pull request #96354 → libfilezilla: 0.23.0 -> 0.24.0 → https://git.io/JUTsi
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « libfilezilla: 0.23.0 -> 0.24.0 »: https://git.io/JUmIw
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JUmIo
<{^_^}> [nixpkgs] @marsam merged pull request #96848 → ameba: 0.13.1 -> 0.13.2 → https://git.io/JUq5Z
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUmIX
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #96746 → vim: 8.2.1123 -> 8.2.1522 → https://git.io/JUqR2
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to staging « vim: 8.2.1123 -> 8.2.1522 »: https://git.io/JUmIH
maier has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #96064 → minder: 1.9.1 -> 1.9.2 → https://git.io/JUvdP
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JUmIQ
<{^_^}> [nixpkgs] @marsam merged pull request #96444 → pounce: 1.3p1 -> 1.4p2 → https://git.io/JUk9M
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUmIb
maier has quit [Ping timeout: 258 seconds]
tsujp has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #96723 → teamviewer: 15.5.6 -> 15.8.3 → https://git.io/JUqqV
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « teamviewer: 15.5.6 -> 15.8.3 »: https://git.io/JUmLw
cript0nauta has quit [Ping timeout: 265 seconds]
kreyren has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #96605 → zabbix: 4.0.20 -> 4.0.24, 5.0.2 -> 5.0.3 → https://git.io/JUL1I
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/JUmL1
GolDDranks has quit [Remote host closed the connection]
<cole-h> Third time's the charm -- any committers wanna merge a firefox-beta-bin bump so I can stop using the impure overlay (for now)? https://github.com/NixOS/nixpkgs/pull/96447 ❤️
<{^_^}> #96447 (by cole-h, 4 days ago, open): firefox-beta-bin: 80.0b8 -> 81.0b4
pr06lefs has quit [Ping timeout: 244 seconds]
Acou_Bass has joined #nixos
Acou_Bass has quit [Ping timeout: 258 seconds]
<Raito_Bezarius> is there any file I can read to know if I am in a NixOS installer / live CD?
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #96144 → rust-cbindgen: 0.14.3 -> 0.14.4 → https://git.io/JUfiy
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « rust-cbindgen: 0.14.3 -> 0.14.4 »: https://git.io/JUmtK
<{^_^}> [nixpkgs] @cab404 opened pull request #96882 → super-slicer: init at 2.2.53.1 → https://git.io/JUmty
gustavderdrache has joined #nixos
<pjt_tmp> Raito_Bezarius: you could look at df to see if there's any permanent storage attached maybe?
<pjt_tmp> wait
<pjt_tmp> the motd is different for the install isos
<pjt_tmp> that'd be better
<pjt_tmp> don't know where it's stored though
<Raito_Bezarius> i'd prefer to avoid parsing :P
<Raito_Bezarius> it'd be nice if there was some "test -e /etc/.livecd" or whatever
<pjt_tmp> closest thing to that I can think of is /etc/os-release :L
<pjt_tmp> I'll poke around in /etc tho
<roconnor> Is the proper way to select the make target during the BuildPhase to set a buildFlag value?
werner291 has quit [Quit: werner291]
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 244 seconds]
<cole-h> roconnor: `buildTarget = "app1";` should work, I think.
Acou_Bass has joined #nixos
{`-`} has joined #nixos
{`-`} has joined #nixos
dbmikus has quit [Ping timeout: 258 seconds]
{`-`} has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #96741 → xapian: 1.4.16 -> 1.4.17 → https://git.io/JUqlW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUmYq
<{^_^}> [nixpkgs] @marsam merged pull request #96740 → xfractint: 20.04p15 -> 20.04p16 → https://git.io/JUqcb
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUmYO
cript0nauta has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #96878 → itk: 5.1.0 -> 5.1.1 → https://git.io/JUmUM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUmY6
<roconnor> cole-h: that's what I thought too, but I didn't see `buildTarget` in the manual.
h0m1 has quit [Ping timeout: 244 seconds]
<cole-h> There are a lot of things that aren't in the manual... ;)
<{^_^}> [nixpkgs] @drewrisinger opened pull request #96883 → python3Packages.cirq: unbreak → https://git.io/JUmY9
amfl has joined #nixos
h0m1 has joined #nixos
<aranea> Is there a way to get the nix daemon to perform one particular build in a different place than /tmp?
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
<aranea> My /tmp is a tmpfs, and normally I'm happy to build there, but right now I'm building an exceptionally large package and find myself running out of space.
knerten2 has joined #nixos
dbmikus has joined #nixos
knerten1 has quit [Ping timeout: 240 seconds]
gustavderdrache has quit [Quit: Leaving.]
<roconnor> man nix-store suggests:
<roconnor> TMPDIR
<roconnor> Use the specified directory to store temporary files. In particular, this includes temporary build directories; these can take up substantial amounts of disk space. The default is /tmp.
<roconnor> man nix-store suggest setting TMPDIR environment variable.
rajivr has joined #nixos
buckley310 has joined #nixos
<aranea> I already tried setting TMPDIR in nix-build's environment; it indeed placed some temporary files there, but the build directory itself stayed in /tmp.
<aranea> I'd probably need to pass a TMPDIR variable to nix-daemon itself, but I don't want to make global changes for a temporary workaround.
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/2847777ec7e (from 2 days ago, history: https://channels.nix.gsc.io/nixos-20.03)
<cole-h> You could try to mount a not-tmpfs over /tmp
<aranea> That's also a global change, and a rather destructive one -- there are some running daemons that are keeping temporary data in /tmp. :)
evils has quit [Ping timeout: 240 seconds]
cript0nauta has quit [Ping timeout: 256 seconds]
evils has joined #nixos
<cole-h> Just giving suggestions, sorry they aren't to your liking.
maier has joined #nixos
<aranea> Sure, I'm grateful for that. :)
<aranea> I was just wondering if there's a nicer way.
devalot has quit [Quit: ZNC - http://znc.in]
maier has quit [Ping timeout: 260 seconds]
dbmikus has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #96606 → sparsehash: 2.0.3 -> 2.0.4 → https://git.io/JULMt
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « sparsehash: 2.0.3 -> 2.0.4 »: https://git.io/JUms6
cript0nauta has joined #nixos
zupo has joined #nixos
growpotk- has joined #nixos
metreo has quit [Quit: Leaving.]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUmGZ
zuserm has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Ping timeout: 244 seconds]
sarcasticadmin has quit [Ping timeout: 258 seconds]
aaronjanse has quit [Quit: The Lounge - https://thelounge.chat]
zuserm has joined #nixos
xcmw has joined #nixos
sarcasticadmin has joined #nixos
dbmikus has joined #nixos
sarcasticadmin has quit [Client Quit]
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 is now known as Supersonic
dbmikus has quit [Ping timeout: 240 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<bqv> aranea: any of the above, and also disable the daemon for the build ( by using sudo -E NIX_REMOTE=local )
nullheroes has joined #nixos
<{^_^}> [nixpkgs] @ryneeverett opened pull request #96884 → [20.03] firejail: add patches to fix CVE-2020-17367 and CVE-2020-17368 → https://git.io/JUmnk
xcmw has quit [Read error: Connection reset by peer]
xcmw has joined #nixos
<{^_^}> [nix-pills] @wathiede opened pull request #152 → Update anchor to `recursive sets` in nix manual. → https://git.io/JUmn5
veleiro has joined #nixos
gueorgui_ has quit [Ping timeout: 258 seconds]
Maxdamantus has quit [Ping timeout: 258 seconds]
Maxdamantus has joined #nixos
nixy has quit [Ping timeout: 260 seconds]
growpotk- has quit [Ping timeout: 260 seconds]
domogled has joined #nixos
nixy has joined #nixos
maier has joined #nixos
endformationage has quit [Quit: WeeChat 2.9]
maier has quit [Ping timeout: 265 seconds]
<zuserm> steam is marked as broken :(
<bqv> > nixos-20_03.steam.meta.broken
<{^_^}> false
<bqv> Not here
<bqv> > nixos-unstable.steam.meta.broken
<{^_^}> false
<samueldr> might be a transitive dependency
<bqv> Or here..
<bqv> Mm
<zuserm> hmm, let me try it without the pkg override I was trying
<zuserm> it's working, so it was something in the override
<zuserm> error message was confusing
<bqv> S
<zuserm> S?
Rusty1 has quit [Quit: WeeChat 2.3]
<zuserm> so, it looks like nativeOnly = true, is what's breaking
domogled has quit [Quit: domogled]
ahciada has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e7acfe332dc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
palo1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @bbigras opened pull request #96885 → nixos/tests/sssd-ldap: init → https://git.io/JUmCz
<evanjs> Soooo are environment variables automatically propagated to the cargo build phase for buildRustPackage
<evanjs> ?
<evanjs> I would imagine not _every_ env variable bubbles up automatically. Anyway, trying to grab an env variable during build, and it doesn't seem to be picking it up from my environmeny
<{^_^}> [nix] @lf- closed pull request #3912 → Add builtins.unsafeGetLambdaPos → https://git.io/JJXXM
<evanjs> nvm am being dumb lol
<evanjs> I am using fetchGit but also trying to include a file with a relative path that is _not_ in the repo :D
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<pjt_tmp> ,locate gettext
<{^_^}> Found in packages: glib, ibus, grocy, gnulib, polkit, tt-rss, scribus, shaarli, glib.dev, gtk3-x11, appstream, limesurvey, boost-build, appstream-qt, deepin.go-lib, logstash6-oss, logstash7-oss, appstream-glib, gnome_doc_utils, scribusUnstable, gettextWithExpat, libaccounts-glib, ibus-with-plugins, rubyPackages.i18n, gettextWithExpat.doc, rubyPackages_2_5.i18n, rubyPackages_2_7.i18n, python37Packages.sphinx, python38Packages.sphinx, and 4 more
<pjt_tmp> oooooooh
<pjt_tmp> thats why >_<
<evanjs> I typically try `nix-locate -w1` if I need to filter out all the "probably not"s :P
<evanjs> Also wondering what issue you encountered based on that response tho lol
moet has joined #nixos
SanchayanMaity has joined #nixos
<pjt_tmp> evanjs: tryna build an armv6l install iso
<pjt_tmp> and gettext is a PAIN to get to compile
<evanjs> based on my limited experience with nixos on arm... I'm sorry lol
<pjt_tmp> eh, it's not bad when it works
<evanjs> Yeah, depends on your hardware and etc, I guess
<pjt_tmp> there's this real fun problem with child processes where sometimes one of them will just....hang. Like indefinitely.
<pjt_tmp> I think it's a bug
<pjt_tmp> I can *sometimes* 'fix' it
<evanjs> I was trying to get it working on a wandboard before. And they're pretty flaky when it comes to support re "what driver am I supposed to use" and etc
<pjt_tmp> by sending the process a sighup
<evanjs> though it might more be my particular use case (WiFi in master mode), but whatever
<pjt_tmp> never tried one o' those before
<pjt_tmp> pi zero and 3b over here
maier has joined #nixos
<pjt_tmp> evanjs: think I could reliably automate the signal sending part and get any benefitout of it?
<pjt_tmp> I only gotta do this once, then I'm pinning gettext till the end of linear time
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/ff6a070b4ef (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<pjt_tmp> ...yeah this is sounding really hard in my head
<pjt_tmp> "find the deepest nested child of this process and send sighup if the time spent is over a threshhold"
<Miyu-saki> Uhh
<Miyu-saki> If I build something directly, it's already built
<Miyu-saki> If I build something which depends on said package, the said package rebuilds
<Miyu-saki> `nix-build /nix/store/foo.drv -> /nix/store/path`
<Miyu-saki> `nix-build /nix/store/another.drv` -> `building: /nix/store/foo.drv`
<Miyu-saki> Any ideas what's happening?
dbmikus has joined #nixos
<cole-h> Without knowing the exact "somethings" involved, only a guess: one was modified locally or is otherwise not cached, while the other is cached.
<Miyu-saki> cole-h: The specifics are in the gist.
<cole-h> (Which you posted milliseconds before I responded; looking.)
<Miyu-saki> (I run a patched Linux, so I know that this is not available on any substituter)
moet has quit [Quit: leaving]
<cole-h> I have two guesses. 1) You previously built Linux 5.7.14, and thus it's already in the store. 2) anbox-modules isn't a default kernel module and thus still needs to be built.
zuserm has quit [Ping timeout: 244 seconds]
<pjt_tmp> Miyu-saki: you sure it's exactly the same? hashes match?
<Miyu-saki> Yeah, you can highlight over the `/nix/store/path.drv` and then find it in the page
<Miyu-saki> Or even
<cole-h> Hashes look the same to me (at least the one for `linux-5.7.14`)
<cole-h> And obviously the anbox-modules hash will be the same because only the drvs are printed (and not the final outpath)
dbmikus has quit [Ping timeout: 258 seconds]
<Miyu-saki> I'm wondering if my /nix/store's metadata broke?
<Miyu-saki> I have a feeling if I remove my /run/current-system link, I'll be forced to rebuild linux again
<cole-h> Definitely don't do that
<Miyu-saki> And I'd rather not do that, since it takes ~2 hours.
<cole-h> Your system itself will probably break
ahciada has quit [Quit: Smell ya later]
<cole-h> `which nixos-rebuild` -> /run/current-system/sw/bin/nixos-rebuild
<cole-h> So, yeah, don't do that.
ahciada has joined #nixos
ahciada has quit [Remote host closed the connection]
<Miyu-saki> Hm
mariatsji has joined #nixos
ahciada has joined #nixos
<Miyu-saki> [myrl@myrl-thinkpad:~]$ nix-build '<nixpkgs/nixos>' -A config.boot.kernelPackages.kernel
<Miyu-saki> /nix/store/yl92rc6087y6fc39wynjfbhfgqr6my10-linux-5.7.14
<Miyu-saki> Okay
<Miyu-saki> I got to make a minimum reproducible(for me)
<Miyu-saki> `nix-build -E 'with import <nixpkgs/nixos> {}; pkgs.mkShell { name="bleh"; buildInputs = [config.boot.kernelPackages.kernel]; }'`
<Miyu-saki> This one also causes a rebuild of the kernel
<cole-h> Miyu-saki: So, what's the actual problem? Tbh, that all seems fine to me... If your kernel is customized, you'll obviously need to build kernel modules to match your changes
vv has joined #nixos
<Miyu-saki> cole-h: The problem is that /nix/store/10ag6plmx44bfdlab72gx62db9wvp3bm-linux-5.7.14.drv is already built, but if I build a package depending on it, /nix/store/10ag6plmx44bfdlab72gx62db9wvp3bm-linux-5.7.14.drv gets rebuilt
<cole-h> Does it actually get rebuilt, though?
<Miyu-saki> Yeah, what I sent recently spits out a huge log
<Miyu-saki> The (mkShell one)
<cole-h> I more meant the `nix-build /nix/store/....-anbox-modules....drv` command
<Miyu-saki> Yeah, that should be the same thing.
mariatsji has quit [Ping timeout: 240 seconds]
<Miyu-saki> Actually, I know something which causes it to rebuild.
<Miyu-saki> If I change my /etc/nixos/configuration.nix to *anything*
<Miyu-saki> It will cause a rebuild
<cole-h> what
<Miyu-saki> Of the kernel
<cole-h> Sounds like you have some impurity then
<cole-h> That shouldn't happen, I don't think.
<Miyu-saki> Hm
zuserm has joined #nixos
<Miyu-saki> I can't exactly `nix-store --delete --force` the kernel either lol
<Miyu-saki> This is
<Miyu-saki> a bit confusing
<clever> Miyu-saki: --force has major side-effects, avoid it whenever possible
<Miyu-saki> Yeah
<Miyu-saki> I once accidentally fubar'd my system, luckily it's easy to recover with the livecd.
<dsal> What's the easiest way to run a really dumb web server? I feel like I might need to write one. :/
<clever> dsal: services.nginx.enable = true;
<Miyu-saki> dsal: There's a python runnable module to just host static files
<Miyu-saki> python -m http.server IIRC?
<Miyu-saki> clever: Any thought on my gist? Linux should already be built. If I use the kernel as a buildInput, same thing.
<pjt_tmp> dsal: pshs?
<dsal> Miyu-saki: Yeah, I do that on the commandline sometimes. I just need a dumb service.
<clever> Miyu-saki: what was the error?
night has quit [Ping timeout: 240 seconds]
<Miyu-saki> clever: No error. linux.drv has already been built. If I build something which directly depends on linux.drv, linux.drv is forced to rebuild.
<Miyu-saki> I don't think this is __impure related either, because linux.drv would be rebuilt if I call `nix-build` on it
<clever> Miyu-saki: was linux.drv based on an override?
<Miyu-saki> I haven't tried letting the full build process go, because it'd take ~2 hours.
<Miyu-saki> clever: I used ` kernelPatches = [{name = "Add fan control for the L440"; patch = ./L440-fan-control.patch;}]; `
<Miyu-saki> boot.kernelPatches
<clever> Miyu-saki: you probably garbage collected one of the outputs of the kernel
<clever> and the new drv needs that output
<Miyu-saki> Ah
<clever> and the cache doesnt have it
<Miyu-saki> Yeah, that makes sense.
<clever> so nix has to rebuild all outputs
zuserm has quit [Remote host closed the connection]
<Miyu-saki> Since I just recently garbage collected
<Miyu-saki> Yeah, thanks. That's 100% it.
<Miyu-saki> `nix-build` only builds the first output, right?
<clever> it builds all i believe
<Miyu-saki> Hm
NightA has joined #nixos
sangoma has joined #nixos
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUmlv
spudly has quit [Ping timeout: 264 seconds]
spudly- is now known as spudly
NightA is now known as night
<{^_^}> [nixpkgs] @danieldk merged pull request #96714 → libgnomeui: Update patch URL. → https://git.io/JUqTJ
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JUmlT
<{^_^}> [nixpkgs] @danieldk pushed 0 commits to kevincox-libgnomeui-patch: https://git.io/JUmlk
justanotheruser has quit [Ping timeout: 256 seconds]
<dsal> Is there any way to change the listen port for nginx?
<dsal> It looks like this pshs thing might do what I want.
<dsal> Hmm... I was digging through that. I'm trying to do the dumbest possible thing.
orivej has quit [Ping timeout: 256 seconds]
confusus has joined #nixos
<confusus> Hi guys!
<confusus> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
<dsal> clever: thanks. I got it working.
<drakonis> how's f2fs support these days?
<{^_^}> [nixpkgs] @doronbehar opened pull request #96886 → beets: Fix wavpack mediafile test → https://git.io/JUmly
confusus19 has joined #nixos
confusus19 has quit [Remote host closed the connection]
jonringer has quit [Ping timeout: 244 seconds]
justanotheruser has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @danieldk opened pull request #96887 → adobe-reader: add knownVulnerabilities → https://git.io/JUm8C
SanchayanMaity has quit [Ping timeout: 256 seconds]
SanchayanMaity has joined #nixos
Extends has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JUm8o
<{^_^}> [nixpkgs] @vcunat closed pull request #96020 → unbound: disable lto on static builds → https://git.io/JUvRb
<{^_^}> [nixpkgs] @danieldk closed pull request #96547 → python3Packages.tldextract: fix build → https://git.io/JUIjl
<{^_^}> [nixpkgs] @vcunat closed pull request #96012 → pciutils: fixup musl support → https://git.io/JUvBb
<{^_^}> [nixpkgs] @danieldk merged pull request #96525 → python3Packages.catalogue: 2.0.0 -> 2.0.1 → https://git.io/JUIXT
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JUm8d
<{^_^}> [nixpkgs] @vbgl opened pull request #96889 → ocamlPackages.labltk: init at 8.06.9 for OCaml 4.11 → https://git.io/JUm8F
<{^_^}> [nixpkgs] @danieldk merged pull request #96339 → fossil: install man page and bash shell completions, use system sqlite → https://git.io/JUTkF
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to staging: https://git.io/JUm8b
<{^_^}> [nixpkgs] @vbgl merged pull request #96239 → coqPackages.dpdgraph: init at 0.6.8 for Coq 8.12 → https://git.io/JUJE5
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.dpdgraph: init at 0.6.8 for Coq 8.12 »: https://git.io/JUm8A
<{^_^}> [nixpkgs] @danieldk merged pull request #96025 → postgresqlPackages.age: init at 0.2.0 → https://git.io/JUvEk
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JUm4U
<{^_^}> [nixpkgs] @vbgl merged pull request #96434 → satysfi: 0.0.4 → 0.0.5 → https://git.io/JUkDK
<{^_^}> [nixpkgs] @vbgl pushed to master « satysfi: 0.0.4 → 0.0.5 »: https://git.io/JUm4k
sascha has joined #nixos
sascha is now known as Guest66578
confusus has quit [Remote host closed the connection]
Guest66578 has quit [Client Quit]
sgrunert has joined #nixos
stiell has quit [Ping timeout: 264 seconds]
stiell has joined #nixos
Sanchayan has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #96890 → Rust: add 1.46.0 → https://git.io/JUm4N
SanchayanMaity has quit [Ping timeout: 240 seconds]
buckley310 has quit [Quit: Connection closed for inactivity]
mallox has joined #nixos
Sanchayan has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7bc3a08d3a4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
cole-h has quit [Quit: Goodbye]
cr4y1_ has joined #nixos
h0m1 has quit [Quit: WeeChat 2.9]
alp has joined #nixos
Sanchayan has joined #nixos
stiell has quit [Ping timeout: 258 seconds]
confusus has joined #nixos
stiell has joined #nixos
gueorgui_ has joined #nixos
<{^_^}> [nixpkgs] @AluisioASG opened pull request #96891 → ipfs-cluster: pin to go 1.14 → https://git.io/JUmBQ
stiell has quit [Ping timeout: 265 seconds]
dbmikus has joined #nixos
kahiru has quit [Ping timeout: 240 seconds]
dbmikus has quit [Ping timeout: 256 seconds]
stiell has joined #nixos
kahiru has joined #nixos
Maxdamantus has quit [Ping timeout: 240 seconds]
Maxdamantus has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #96892 → oci-seccomp-bpf-hook: move to linuxPackages → https://git.io/JUmR8
stiell has quit [Ping timeout: 240 seconds]
stiell has joined #nixos
D_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #96887 → adobe-reader: add knownVulnerabilities → https://git.io/JUm8C
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JUm0v
<{^_^}> [nixpkgs] @danieldk opened pull request #96893 → [20.03] adobe-reader: add knownVulnerabilities → https://git.io/JUm0I
alp has quit [Ping timeout: 240 seconds]
philr has quit [Ping timeout: 260 seconds]
marsh has joined #nixos
<{^_^}> [nixpkgs] @zowoq merged pull request #96891 → ipfs-cluster: pin to go 1.14 → https://git.io/JUmBQ
<{^_^}> [nixpkgs] @zowoq pushed commit from @AluisioASG to master « ipfs-cluster: pin to go 1.14 »: https://git.io/JUm0G
<{^_^}> [nixpkgs] @zowoq merged pull request #96837 → nixos/cri-o: unset hooks dir to avoid dir creation on startup → https://git.io/JUqXS
<{^_^}> [nixpkgs] @zowoq pushed commit from @saschagrunert to master « nixos/cri-o: unset hooks dir to avoid dir creation on startup »: https://git.io/JUm0C
cfricke has joined #nixos
sgrunert has quit [Remote host closed the connection]
sgrunert has joined #nixos
timonat has joined #nixos
alp has joined #nixos
mzumquadrat has joined #nixos
arjen-jonathan has joined #nixos
D_ has joined #nixos
timonat has left #nixos [#nixos]
orivej has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3857 → Convert manual to Markdown → https://git.io/JJ4cR
<{^_^}> [nix] @edolstra pushed 64 commits to master: https://git.io/JUmEu
thc202 has joined #nixos
confusus has quit [Remote host closed the connection]
trulsa has joined #nixos
trulsa has quit [Remote host closed the connection]
trulsa has joined #nixos
pjt_tmp has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #96328 → ocamlPackages.merlin: 3.3.6 -> 3.3.8 → https://git.io/JUUpF
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « ocamlPackages.merlin: 3.3.6 -> 3.3.8 »: https://git.io/JUmuT
ris has quit [Ping timeout: 246 seconds]
lopsided98 has joined #nixos
<Reventlov> Hey there.
n1tsu has quit [Ping timeout: 256 seconds]
mariatsji has joined #nixos
<Reventlov> What would be the best way to give access to a nginx directory to another user? Right now, I add the other user into the nginx group, and do a preStart with a chmod g+rwx on the directory (which is not too deep, thanksfully). Is there a cleaner method ?
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JUmzf
manu12[m] has quit [Quit: Idle for 30+ days]
srgancap[m] has quit [Quit: Idle for 30+ days]
octowan[m] has quit [Quit: Idle for 30+ days]
fendor has joined #nixos
keving has quit [Quit: Idle for 30+ days]
teto has joined #nixos
captn3m0 has quit [Ping timeout: 240 seconds]
ml| has quit [Ping timeout: 240 seconds]
captn3m0 has joined #nixos
Guest29480 has quit [Ping timeout: 244 seconds]
eri451 has joined #nixos
sputny has joined #nixos
sangoma has quit [Ping timeout: 264 seconds]
leotaku_ has joined #nixos
D_ has quit [Ping timeout: 240 seconds]
leotaku has quit [Ping timeout: 240 seconds]
sangoma has joined #nixos
D_ has joined #nixos
<{^_^}> [nixpkgs] @oyren opened pull request #96894 → portfolio: 0.47.0 -> 0.48.0 → https://git.io/JUmz9
<teto> Upon running 'nix shell poetry#poetry', I get cannot write modified lock file of flake 'flake:poetry' (use '--no-write-lock-file' to ignore) . Adding --no-write-lock-file does solve the issue but why does nix want to modify the lock file ?
ml| has joined #nixos
<bqv> > lib.makeBinPath [ pkgs.hello pkgs.nix ]
<{^_^}> "/nix/store/bilnrj3wpw3rgmh4ag0gvywhgyxk7rs5-hello-2.10/bin:/nix/store/qfn1sc2giaka6gzms3j77g8wp9k1wld2-nix-2.3.7/bin"
<bqv> mmm
<niksnut> teto: because the repo doesn't contain a "flake.lock"
mananamenos has joined #nixos
sangoma has quit [Ping timeout: 260 seconds]
cjpbirkbeck has quit [Read error: Connection reset by peer]
D_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JUmgz
D_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #96010 → thin-provisioning-tools: 0.7.6 -> 0.9.0 → https://git.io/JUvBM
mananamenos has quit [Quit: Leaving]
<teto> niksnut: ok thanks.
mananamenos has joined #nixos
sangoma has joined #nixos
mananamenos has quit [Client Quit]
mananamenos has joined #nixos
mananamenos has quit [Client Quit]
werner291 has joined #nixos
h0m1 has joined #nixos
h0m1 has quit [Client Quit]
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #96895 → lyrebird: init at 1.1.0 → https://git.io/JUm2e
dbmikus has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @kampka opened pull request #96896 → hspell: fix cross-platform build issues → https://git.io/JUm25
h0m1 has joined #nixos
Sanchayan has quit [Ping timeout: 240 seconds]
superherointj has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @baloo to master « libpwquality: fixup static build »: https://git.io/JUmaz
<{^_^}> [nixpkgs] @vcunat closed pull request #96023 → libpwquality: fixup static build → https://git.io/JUv0I
<superherointj> Hello. How do I configure a set up like this? LUKS -> LVM -> LUKS. Basically I need to open a LUKS encrypted disk but to not mount it and keep order of actions.
fendor has quit [Remote host closed the connection]
mariatsji has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @primeos merged pull request #96874 → Update/android studio beta → https://git.io/JUmv4
<{^_^}> [nixpkgs] @primeos pushed 3 commits to master: https://git.io/JUmVO
mniip has quit [Ping timeout: 608 seconds]
fendor has joined #nixos
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
D_ has quit [Ping timeout: 244 seconds]
D_ has joined #nixos
mniip has joined #nixos
<Ke> you can write arbitrary services for systemd with arbitrary deps
<Ke> normally what is generated from crypttab etc. is anyway systemd services, so you can copy the structure
Havvy has quit [Ping timeout: 246 seconds]
Havvy has joined #nixos
<Mic92> superherointj: noauto as mount option should do the trick.
<Ke> so reducing your nixos problem to a systemd problem is trivial, you just need to read up on systemd dependencies
<chiiba> To any Hashicorp Vault gurus here: Can I create a policy to allow reading a specific secret engine path? Or do I have to create new secret engine and seperate secrets between engines to mangage ACLs?
<Ke> like requires, after, wants, before
<superherointj> Mic92, what is the full option name?
<Ke> noauto is just added to mount ops
<superherointj> Option. Got it.
<superherointj> Thanks for all the ideas!
<Ke> without noauto systemd implies wantedby to local disks target
<Ke> for mount units
kreyren has joined #nixos
h0m1 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @roberth merged pull request #95894 → Agda: add release notes → https://git.io/JJj3F
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JUmwT
nckx has quit [Quit: Updating my Guix System — https://guix.gnu.org]
wfranzini has joined #nixos
superherointj has quit [Quit: Leaving]
h0m1 has joined #nixos
h0m1 has quit [Client Quit]
nckx has joined #nixos
<chiiba> Nevermind, I found out that it's possible, I just have to use `metadata` and `data` sub-paths. Ref: https://discuss.hashicorp.com/t/not-understanding-vault-policies-for-secret-paths/9387/4
superherointj has joined #nixos
malook has joined #nixos
cosimone has joined #nixos
D_ has quit [Ping timeout: 244 seconds]
philr has joined #nixos
<superherointj> Tried option `noauto` and did not decrypt the volume. Then tried to mount it as test errored as `mount: /mnt/crypt_aux_ssd: unknown filesystem type 'crypto_LUKS'` (makes sense). What I might be looking for is the equivalent of crypttab in NixOS.
D_ has joined #nixos
cosimone_ has joined #nixos
cosimone has quit [Read error: Connection reset by peer]
Extends has quit [Ping timeout: 264 seconds]
sangoma has quit [Ping timeout: 240 seconds]
<Raito_Bezarius> I present this pile of broken code to this channel: https://github.com/RaitoBezarius/nixops-proxmox
<Raito_Bezarius> (well not that broken because it did deploy a node on my Proxmox cluster \o/)
stteevveen has joined #nixos
<Raito_Bezarius> Thanks to everyone I pestered with my questions
<arianvp> sgrunert: I have a question about cri-o
<arianvp> Why is conmon a thing? Why do podman and cri-o use it to double fork and monitor the cgroup; instead of just running "systemd-run <command here>" to hook it into systemd's cgroup hierarchy directly?
cosimone_ has quit [Remote host closed the connection]
<arianvp> It seems like a reinvention of something that is already shipped in systemd anyway. and then we don't need to jump through hoops when running podman in a systemd service because we can just use Type=simple no?
cosimone_ has joined #nixos
<arianvp> i've been trying to look for an answer for this; or a motivation; but i cant find it
<stteevveen> Hi! Not really a Nix question, although I need this for trying to package an app. Do you know how to access the list of archives exposed by github ? Either by browser and/or commandline ? I succeed doing wget -O - https://github.com/project/user/tarball/master | tar xz so as to get the latest, but I have not found how to list everything in
<stteevveen> https://github.com/root-project/cling/archive . I may be interested in older versions.
<sgrunert> arianvp, I'm not that familiar with systemd-run. I know the initial plan for conmon was to keep it very light, and only keep track of the running process.
<arianvp> systemd-run basically creates a temporary systemd service; and then systemd monitors the cgroup and the process
<sgrunert> I'm not sure if it was just a decision about having the flexiblity to change it in an easy way, or if there were other technical aspects. I'll raise the question to the Red Hat friends in the Kubernetes slack.
<arianvp> (But yeh; it does require you to run systemd; so I guess that'd be a good argument to not use it in some cases; but I think having more tight systemd integration is very useful from a system-administrator perspective)
D_ has quit [Ping timeout: 240 seconds]
<sgrunert> arianvp, OTOH we recommend to use the systemd cgroup driver (instead of cgroupfs), the same applies to the Kubelet. So having "no need for systemd" is not that valid argument any more.
dsg has quit [Ping timeout: 260 seconds]
<arianvp> yeh that was my exact thought. if you're requiring the systemd cgroup driver anyway; why not let systemd monitor the process directly; instead of conmon. cut out the middleman
<arianvp> I might give a shot at comming up with a PR for CRI-O to see if it's a feasible idea
<sgrunert> Sounds like a plan, thank you arianvp. If we look at the sources of conmon we have to admit that the complexity increased over time…
D_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/JUmo6
<{^_^}> [nixpkgs] @vcunat merged pull request #96868 → p11-kit: Add libtasn1 to nativeBuildInputs → https://git.io/JUqxr
wfranzini has quit [Quit: wfranzini]
ManiacOfMadness` has quit [Read error: Connection reset by peer]
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @saschagrunert closed pull request #96556 → libseccomp: enable static library build → https://git.io/JULtx
cjpbirkbeck has joined #nixos
ManiacOfMadness has joined #nixos
sangoma has joined #nixos
cosimone has joined #nixos
cosimone_ has quit [Ping timeout: 240 seconds]
RN1986239 has joined #nixos
alp has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
drgbr has quit [Ping timeout: 260 seconds]
<stteevveen> Self-answering my question, in anycase someone is interested in how to do this: https://api.github.com/repos/project/user/releases will return a JSON with all available releases. Consequently It can be retrieved with curl, or wget on the command line. Adding a jq filter may help to get just the needed information.
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JUmKY
<{^_^}> [nixpkgs] @mweinelt merged pull request #96894 → portfolio: 0.47.0 -> 0.48.0 → https://git.io/JUmz9
<{^_^}> [nixpkgs] @vcunat merged pull request #96447 → firefox-beta-bin: 80.0b8 -> 81.0b4 → https://git.io/JUkHX
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JUmKs
<{^_^}> [nixpkgs] @danieldk merged pull request #96750 → zotero: 5.0.88 -> 5.0.89 → https://git.io/JUqEv
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JUmKG
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #96898 → fcft: 2.2.6 → 2.2.7 → https://git.io/JUmKR
zupo has joined #nixos
drgbr has joined #nixos
civodul has joined #nixos
cosimone has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @Luflosi opened pull request #96899 → kakoune: 2020.08.04 -> 2020.09.01 → https://git.io/JUmKi
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #96900 → zotero: fix reliance on coreutils being in PATH → https://git.io/JUmKH
Darkmatter66 has joined #nixos
cosimone has quit [Remote host closed the connection]
Darkmatter66_ has quit [Ping timeout: 264 seconds]
dbmikus has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
kreyren_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kreyren has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #96488 → libtorch-bin: init at 1.6.0 → https://git.io/JUIGR
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JUm6S
<{^_^}> [nix] @edolstra pushed 67 commits to configs: https://git.io/JUm6H
kreyren_ has quit [Remote host closed the connection]
kreyren has joined #nixos
criptonauta_ has joined #nixos
zupo has joined #nixos
cript0nauta has quit [Read error: Connection reset by peer]
Blackraider has joined #nixos
Thra11 has quit [Ping timeout: 240 seconds]
Blackraider has quit [Remote host closed the connection]
D_ has quit [Ping timeout: 240 seconds]
<gentauro> is it possible to `hot swap` the Linux kernel in NixOS (in other words, swap kernel without rebooting)?
<symphorien[m]> short answer: no. Long answer: there is kexec, but it is not much better than rebooting.
D_ has joined #nixos
<gentauro> symphorien[m]: roger that. thx.
dsg has joined #nixos
Extends has joined #nixos
<Ke> in general nixos is quite the same as other distros in this regard, there are some hotpatch solutions that create loadable modules or kprobes or whatever that change kernel behaviour on the fly to fix problems or similar
mniip has quit [Quit: This page is intentionally left blank.]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @kevincox pushed 2 commits to kevincox-phodav-udev: https://git.io/JUmP3
mniip has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #96293 → wasabiwallet: 1.1.11.1 -> 1.1.12 → https://git.io/JUUPX
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JUmPn
metreo has joined #nixos
superherointj has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @kampka opened pull request #96903 → gamin: Fix cross compiling issues → https://git.io/JUmPw
Extends has quit [Ping timeout: 258 seconds]
ingenieroariel has joined #nixos
malook has quit [Remote host closed the connection]
ottidmes has quit [Ping timeout: 256 seconds]
ottidmes has joined #nixos
<edcragg> unstable has been blocked for... 11 days? :s
<ingenieroariel> Hi, does anyone know if it is possible to download an statically compiled Nix binary on a predictable place with flakes enabled?
Maxdamantus has quit [Ping timeout: 240 seconds]
vykook has quit [Ping timeout: 256 seconds]
<ingenieroariel> I want to open up a WSL2 VM and do: wget http...nix; ./nix build github.com:myuser/mypackage
Maxdamantus has joined #nixos
<ingenieroariel> I am aware of https://matthewbauer.us/blog/static-nix.html - matthewbauer, do you think it would be possible to add the flakes flag to your build?
Rusty1 has joined #nixos
<Mic92> ingenieroariel: would nix-bundle fit your use case as well?
<georgyo[m]> ingenieroariel: You may want to look at https://github.com/catern/nix-utils specifically the tarball. It creates a self-extracting nix install.
vykook has joined #nixos
<georgyo[m]> catern: you really need to write a blog post (or some docs) about your magical install anywhere nix installer.
stteevveen has quit [Remote host closed the connection]
vykook has quit [Ping timeout: 260 seconds]
c4droid has joined #nixos
Extends has joined #nixos
<steveeJ> does someone happen to know how to fix this bazel issue? https://www.irccloud.com/pastebin/ONEGvHVL/
malook has joined #nixos
<c4droid> Hi, I added gnome-tweaks to my system packages, when I execute `nixos-rebuild switch' give the undefined variable 'gnome-tweaks' error. `nix search' can search that package, just in reconfigure system report that.
<steveeJ> c4droid: you probably missed the "gnome3". it's in <nixpkgs>.gnome3.gnome-tweaks
<Extends> the package is located in gnome3.gnome-tweaks
<{^_^}> [nixpkgs] @danieldk opened pull request #96904 → _1password-gui: 0.8.3-1 -> 0.8.4 → https://git.io/JUm1E
<c4droid> Why not just simplified name to gnome-tweaks
<c4droid> For compatible old version?
cfricke has quit [Quit: WeeChat 2.9]
lawr3nce has joined #nixos
domogled has joined #nixos
<Extends> I don't think we actually have another version of gnome-tweaks other than gnome3
<dminuoso> Hiya. Im getting some error " called with unexpected argument 'nativeBuildInputs'" in this attempt to overrideCabal: https://gist.github.com/dminuoso/12c160b4fb0f57ea9577e5beaab135f0
<etu> c4droid: Probably because how the gnome packages are bundled together in a big attribute set in nixpkgs
<etu> c4droid: And gnome-tweaks is part of those
waleee-cl has joined #nixos
ddellacosta has joined #nixos
<c4droid> etu: That's why I like dwm... gnome is too big..
<ingenieroariel> thanks Mic92 and georgyo[m]
drewr has quit [Ping timeout: 240 seconds]
truby has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #94031 → qdirstat: 1.6.1 -> 1.7 → https://git.io/JJEkC
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/JUmMc
<truby> I'm having trouble with steam, it starts fine but can't connect to the steam network. anyone else seeing this issue? Steam from flatpak works fine weirdly
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nix] @edolstra pushed to master « github: Use access token when calling .../commits API »: https://git.io/JUmMa
<pheoxy> so I'm trying to build a raspberry pi image and I keep getting "error: Package ‘raspberrypi-firmware-1.20190925’ in /nix/store/5q1ss9jz0b10kvgmcpf75ahbsabncvjq-nixos-20.03.2868.ff6a070b4ef/nixos/pkgs/os-specific/linux/firmware/raspberrypi/default.nix:20 is not supported on ‘x86_64-linux’, refusing to evaluate."
<{^_^}> [nixpkgs] @marsam opened pull request #96905 → ncspot: 0.2.1 -> 0.2.2 → https://git.io/JUmMD
<pheoxy> I have "nixpkgs.config.allowUnsupportedSystem = true;
<pheoxy> boot.binfmt.emulatedSystems = [ "aarch64-linux" ];" set in configuration.nix
<pheoxy> I'm running "nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./sd-image.nix"
<truby> hmm. Steam has let me on now after a few hours of trying. No idea what is going on or if it will fail again with the same error :')
<ingenieroariel> pheoxy it looks like this line would allow your system to cross-compile, which is good: boot.binfmt.emulatedSystems = [ "aarch64-linux" ];" s
<ingenieroariel> but I am not sure this line "nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./sd-image.nix" is telling nix-build to cross-compile
<pheoxy> ingenieroariel: do I need to define the emu system somewhere?
zupo has joined #nixos
<ingenieroariel> do you have this line: <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix> in your configuration.nix ?
<ingenieroariel> err - sd-image.nix
<pheoxy> no
<pheoxy> got it
<pheoxy> missing arg
<ingenieroariel> ok, next I was going to suggest was --argstr system aarch64-linux
<pheoxy> "--argstr system aarch64-linux"
<ingenieroariel> ha
<pheoxy> thanks ingenieroariel
<pheoxy> nice
dbmikus has joined #nixos
c4droid has left #nixos ["ERC (IRC client for Emacs 27.1)"]
<ingenieroariel> as you add packages, notice that some will not cross compile correctly, even though they will build fine on native compilation
<ingenieroariel> so try to use established branches to make it more likely that you can just download the artifacts for most aarch64 packages
<ingenieroariel> if you go crazy with a custom nixpkgs, then try to just compile the minimum and finish on the target system
orivej has quit [Ping timeout: 260 seconds]
<pheoxy> weird, why's that
zupo has quit [Ping timeout: 240 seconds]
<evanjs> Anybody have an idea as to why nixUnstable is printing some items twice?
<evanjs> This is basically the command I'm using: `nix run nixpkgs.nixUnstable --command nix-build -E "(with import <nixpkgs> { overlays = [ (import /home/<path>/nixos/overlay/overlay.nix ) ]; }; callPackage ./"${nix_file}" {$args} )" --show-trace`
zupo has joined #nixos
<evanjs> For some reason, various commands are printed twice
dbmikus has quit [Ping timeout: 265 seconds]
<evanjs> Well, messages, whatever
kayg04 has joined #nixos
fnlaai has joined #nixos
<evanjs> e.g. "Compiling zip v0.5.6" (in the context of `cargo build`)
<{^_^}> #96675 (by fnlaai, 2 days ago, open): Make slstatus able to patch from diff
<evanjs> I should really check issues before posting lol
<{^_^}> nix#3556 (by Ma27, 17 weeks ago, open): `nix build -L` prints each log-line twice when using a `ssh-ng` store.
<evanjs> > Yep, have also observed this. It never bothered me enough to make an issue for it 😅
<pheoxy> ingenieroariel: thanks, just gotta wait now :D
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):321:4
<evanjs> Well at least I'm not alone lol
<{^_^}> [nixpkgs] @kampka opened pull request #96906 → gts: Fix cross compilation → https://git.io/JUmDR
<{^_^}> #96675 (by fnlaai, 2 days ago, open): Make slstatus able to patch from diff
<fnlaai> { stdenv, fetchgit, pkgconfig, writeText, libX11, conf ? null, patches ? [] }:with stdenv.lib;stdenv.mkDerivation rec { pname = "slstatus"; version = "unstable-2019-02-16"; src = fetchgit { url = "https://git.suckless.org/slstatus"; rev = "b14e039639ed28005fbb8bddeb5b5fa0c93475ac"; sha256 =
<fnlaai> "0kayyhpmppybhwndxgabw48wsk9v8x9xdb05xrly9szkw3jbvgw4"; }; configFile = optionalString (conf!=null) (writeText "config.def.h" conf); preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h"; inherit patches; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ libX11 ]; installFlags = [ "PREFIX=$(out)" ]; meta = { homepage =
<fnlaai> "https://tools.suckless.org/slstatus/"; description = "status monitor for window managers that use WM_NAME like dwm"; license = licenses.isc; maintainers = with maintainers; [ oxzi ]; platforms = platforms.linux; };}
<fnlaai> how to build this derivation on my own ?
<fnlaai> without pullilng from nixpkgs?
<{^_^}> [nixpkgs] @danieldk opened pull request #96907 → python3Packages.transformers: 3.0.2 -> 3.1.0 → https://git.io/JUmD7
vv has quit [Remote host closed the connection]
kahiru has quit [Ping timeout: 260 seconds]
kahiru has joined #nixos
romildo has joined #nixos
romildo has left #nixos [#nixos]
ingenieroariel has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2020-08-28 -> 2020-08-31 »: https://git.io/JUmys
fnlaai has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @aanderse opened pull request #96909 → nixos/beanstalkd: add openFirewall option → https://git.io/JUmy6
cjpbirkb1 has joined #nixos
malook has quit [Quit: malook]
cjpbirkbeck has quit [Ping timeout: 240 seconds]
amir has quit [Read error: Connection reset by peer]
amir has joined #nixos
is_null has quit [Remote host closed the connection]
cmk_zzz_ has joined #nixos
cmk_zzz has quit [Ping timeout: 240 seconds]
domogled has quit [Quit: domogled]
domogled1 has joined #nixos
amir has quit [Read error: Connection reset by peer]
domogled1 is now known as domogled
amir has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
codezero has quit [Read error: Connection reset by peer]
codezero has joined #nixos
trulsa_ has joined #nixos
RN1986239_ has joined #nixos
kreyren_ has joined #nixos
kreyren has quit [Ping timeout: 240 seconds]
trulsa has quit [Remote host closed the connection]
RN1986239 has quit [Quit: bye]
devalot has joined #nixos
trulsa_ is now known as trulsa
<{^_^}> [nixpkgs] @mohe2015 opened pull request #96910 → Wordpress improvements → https://git.io/JUmHI
philr has quit [Ping timeout: 265 seconds]
philr has joined #nixos
teto has quit [Quit: WeeChat 2.9]
<allgreed> howdy, I'm trying to use nix in an unprivilaged containerized CI environemnt and have some trouble with the generated docker image (via `dockerTools.buildImage`) - I cannot simply do `docker load` since the container doesn't have required privilages (namely cannot create mount namespaces, but guess that's just the latest error and if I solved that
<allgreed> there would be more). But I can do `docker build`. Is there an easy way for nix to generate a Dockerfile instead of producing the image? Or maybe you use nix in a similar environment and have a workaround for the `load` problem ;)
lawr3nce has quit [Remote host closed the connection]
lawr3nce has joined #nixos
gustavderdrache has joined #nixos
<steveeJ> allgreed: are you sure the mount namespace is the issue? you can verify that with `unshare -m`
<{^_^}> [nixos-search] @garbas pushed to add-suffix-search « add suffix search (or reverse prefix) »: https://git.io/JUmHb
<{^_^}> [nixos-search] @garbas opened pull request #176 → add suffix search (or reverse prefix) → https://git.io/JUmHN
<allgreed> steveeJ: I got this error message "Error processing tar file(exit status 1): Error creating mount namespace before pivot: operation not permitted" when attempting to load, so pretty sure
criptonauta_ has quit [Ping timeout: 240 seconds]
<allgreed> and as I've mentioned it's not just the mount ns - I'm atemtping to run docker in docker without the `--privilaged` flag or mounting the socket and afaik that's a no-go
cript0nauta has joined #nixos
<steveeJ> I've not tested any of that. could you try podman instead?
jumper149 has joined #nixos
lawr3nce has quit [Ping timeout: 240 seconds]
zuserm has joined #nixos
<zuserm> does anyone know where I can get the command "sftp-server"? It's expected by a fork of proton I'm trying to build, and google is unhelpful
erasmas has joined #nixos
<infinisil> ,locate bin sftp-server
<{^_^}> Found in packages: lsh
<zuserm> thanks!
<infinisil> > :p lsh.meta
<{^_^}> { available = true; description = "GPL'd implementation of the SSH protocol"; homepage = "http://www.lysator.liu.se/~nisse/lsh/"; license = { fullName = "GNU General Public License v2.0 or later"; sho...
<infinisil> Hmm
<maralorn> Is there a a time of day when the branch-off will happen on friday?
<allgreed> sure, I haven't actually thought of podman - will do that later in the evening :D Not gettings my hopes high though: https://github.com/containers/podman/issues/4131
<{^_^}> containers/podman#4131 (by johanbrandhorst, 48 weeks ago, open): Support running podman containers inside unprivileged (docker) container
maier has quit [Ping timeout: 260 seconds]
philr has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-search] @garbas merged pull request #176 → add suffix search (or reverse prefix) → https://git.io/JUmHN
<{^_^}> [nixos-search] @garbas pushed to master « add suffix search (or reverse prefix) (#176) »: https://git.io/JUmQS
<{^_^}> [nixos-search] @garbas pushed 0 commits to add-suffix-search: https://git.io/JUmQH
<{^_^}> [nixpkgs] @kampka opened pull request #96911 → glibmm: Add glib to nativeBuildInputs → https://git.io/JUmQj
<{^_^}> [hydra] @grahamc opened pull request #802 → Development-time improvements → https://git.io/JUm7I
<{^_^}> [nixpkgs] @atlaua opened pull request #96912 → nixos/qemu-vm: Fix and update system.requiredKernelConfig entries → https://git.io/JUm73
ingenieroariel has joined #nixos
sangoma has quit [Ping timeout: 256 seconds]
<numkem> Are systemd units unable to reach the nix store? I want to do a `docker load` on start through a oneshot service and I'm getting a `no such file or directory` while the path in the nix-store does exists
hiro99 has joined #nixos
jonringer has joined #nixos
dbmikus has joined #nixos
<makefu> numkem: could you run `ls -la` instead of `docker load` for debugging? normally /nix/store is available to all services so my guess would be that what you think is an image is actually a directory or that the systemd service is somewhat restricted to access the store
dbmikus has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7ebcaec02f2 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<gleber> Found an interesting research project: https://sci-hub.tw/10.1007/978-3-030-00244-2_16 . Using Nix there would have saved them a lot of effort, but their idea of using whole-program optimization for libs/bins placed into a container.
<gleber> *their idea of ... is interesting one
<{^_^}> [nixpkgs] @atopuzov opened pull request #96913 → python3Packages.solo-python: 0.0.23 -> 0.0.26 → https://git.io/JUm7j
hiro99 has quit [Remote host closed the connection]
hiro99 has joined #nixos
evelyn has joined #nixos
<evelyn> Hi
<evelyn> I'm having a really hard time trying to work out how I can get sox to build with LAME support on my system.
<evelyn> I have sox installed as a system package. I would like to install it with MP3 support; there's enableLame in the buildInputs in the expression, but I am not sure how to get this into my system's configuration.nix
<evelyn> The cheat sheet isn't very helpful in this respect. Does anybody know?
<{^_^}> [nix] @domenkozar opened pull request #3981 → Allow HTTP binary cache to request absolute uris → https://git.io/JUm5C
<simpson> evelyn: Currently seeing if `sox.override (_: { enableLame = true; })` will work.
civodul has quit [Ping timeout: 244 seconds]
<simpson> (There does appear to be one example of using `override` in https://nixos.wiki/wiki/Cheatsheet but it's buried deep and not obvious.
<simpson> Ugh, stupid OCD.)
<ToxicFrog> I think .override just takes a map, unlike .overrideAttrs which takes a function? So something like
<ToxicFrog> environment.systemPackages = [ (pkgs.sox.override { enableLame = true; }) ]
<ToxicFrog> (or possibly it belongs in overlays rather than in systemPackages)
<numkem> makefu: they do have access, it was some bad copy/paste on my part. Thanks for you help! makefu++
<{^_^}> makefu's karma got increased to 6
<simpson> evelyn: Finished the build. The resulting /bin/sox does indeed link against libmp3lame.so.
<evelyn> I had to use the second example with the brackets round it... but yeah, that's really helpful! Thanks so much.
<evelyn> thanks ToxicFrog simpson <3
acarrico has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jonringer has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
bqv has quit [Quit: WeeChat 2.9]
growpotkin has joined #nixos
bqv has joined #nixos
<{^_^}> [nixpkgs] @juliendehos opened pull request #96915 → lingot: add jackSupport option → https://git.io/JUmd0
<{^_^}> [nixpkgs] @kevincox merged pull request #96875 → sparkleshare: init at 3.28 → https://git.io/JUmJz
<{^_^}> [nixpkgs] @kevincox pushed 4 commits to master: https://git.io/JUmdg
<{^_^}> [nixpkgs] @kevincox pushed 0 commits to kevincox-sparkleshare: https://git.io/JUmd2
loooph has joined #nixos
ScottHDev has left #nixos ["The Lounge - https://thelounge.chat"]
<zuserm> so, I noticed that nixpkgs has 2.2k pull reqs, whic makes me wonder how long it usually takes to get a pull req merged?
superherointj has joined #nixos
alp has quit [Ping timeout: 246 seconds]
<Raito_Bezarius> Is there a recent docs on how to set up remote building on non-NixOS machines?
sgrunert has quit [Remote host closed the connection]
<maralorn> zuserm: That depends a lot on the PR. If it's complex and touches a part that no one feels really responsible for, it might take quite a while. If it is simple and or touches a part that people that have time care about it can go very quickly. On average the high number of PRs is more caused by a lot of PRs, most of them get dealt with quickly.
quinn has joined #nixos
jonringer has joined #nixos
<evanjs> jonringer: finally we can bug you for PRs here lol
o1lo01ol1o has joined #nixos
<ingenieroariel> zuserm as an outsider I think nixpkgs is a lot easier to get things into than other distros, here are some of my experiences:
<ingenieroariel> tegola: a simple golang app with no other dependencies, accepted without changes, very fast (days turnaround)
<simpson> zuserm: I have a graph that I like to show folks for this. Imagine that the number of open PRs scales with the number of packages that we have. We have more packages than other ports trees: https://repology.org/graph/map_repo_size_fresh.svg
dbmikus has joined #nixos
<ingenieroariel> hydra (an OAUTH library with massive dependencies in golang) was rejected becasue it was too big and of limited use (in a few days too)
<zuserm> nice
<ingenieroariel> apache airflow (took a couple of weeks and a ton of work, then went in and broke several times over the next months causing several people to step in, because it has a massive number of python dependencies)
<ingenieroariel> so zuserm i'd say if you are asking because you have a specific package, not all PRs are created equal zuserm and what simpson said
MtotheM1 has joined #nixos
<zuserm> I don't have a specific package, I'm just getting into nixos, and I've been trying to convince a friend to join me, so I was curious.
waleee-cl has quit [Quit: Connection closed for inactivity]
alp has joined #nixos
ingenieroariel has quit [Ping timeout: 245 seconds]
<evanjs> any rust peoples here: is there some weird behavior when building projects with include_bytes!() ? It's almost like it's trying to parse the file, as if I had used include!() or something
werner291 has quit [Ping timeout: 246 seconds]
mariatsji has quit [Remote host closed the connection]
<evanjs> not found"e.g. I'll get messages like: "/nix/store/cnyylxxm43dajck44dagpaiba89vj6sp-rust-1.46.0-2020-08-24-04488afe3/bin/cargo: 1: ELF
MtotheM1 has quit [Quit: Leaving]
<evanjs> omg weechat lol
mariatsji has joined #nixos
mariatsj_ has joined #nixos
mariatsji has quit [Remote host closed the connection]
leibniz[m] has joined #nixos
bqv has quit [Quit: WeeChat 2.9]
<leibniz[m]> Can I use NixOS as an unbreakable source-based distro? (So I could have the latest versions of the few apps I use?)
<jumper149> leibniz[m]: I guess yes, but what exactly do you mean with latest version?
bqv has joined #nixos
sascha has joined #nixos
sascha is now known as Guest48841
<leibniz[m]> jumper149: In source-based distros like Gentoo, I can just compile the app myself. But in Ubuntus, people say that doing this would mess with OS libraries
Guest48841 has quit [Client Quit]
<jumper149> Because nixpkgs-unstable is a rolling release channel and updates are quick.
orivej has joined #nixos
<evanjs> mmkay, note to self, consider rust via nix on WSL1 unstable lol
<leibniz[m]> jumper149: So I would still need to wait for nixpkgs-unstable to provide packages?
<jumper149> leibniz[m]: You don't need to use only one channel. You can use multiple channels and use whatever you want from anywhere.
<jumper149> Nix will install different versions of dependencies.
<leibniz[m]> jumper149: so nixos is not a source-based distro?
dbmikus has quit [Ping timeout: 265 seconds]
<jumper149> Packages with the nix package manager are source based. They are instructions how to compile the package.
<jumper149> You can either download them from a binary cache or build them yourself when needed.
<V> leibniz[m]: yes, it doesn't mess with the 'OS libraries' because everything is kept separate from each other
<V> it's a source-based distro, yes
<V> although there's a binary cache
<V> all the most common package configurations have prebuilt binaries so people don't have to build them themselves
cole-h has joined #nixos
<evanjs> Yeah, the rust expression I was having issues with compiles fine on Nix. I need to make a note of when I switch machines to do things lol
<evanjs> **on NixOS
<leibniz[m]> V: What took Linux distros so long to separate each library? I mean why couldn't we had NixOS in the 90s or 2000s?
<V> linux was only invented 30 years ago
<V> tech is a very young field
jonringer has quit [Ping timeout: 240 seconds]
<alp> NixOS did come to life in the2000s
<V> Nix itself was invented in 2006
<cole-h> We did have NixOS in the 2000s ;)
<simpson> leibniz[m]: From the philosophical side of things, folks weren't ready for capability-oriented security models in the 90s.
<cole-h> "NixOS for x86_64" was a news item on 23 Feb 2007
<V> oh, 2006 was the thesis
dbmikus has joined #nixos
<V> but it's such a huge leap from what previously existed
<V> the closest thing that existed to this is probably gobolinux
<leibniz[m]> hah..I thought is was a 2015s thing
<V> which was released in 2003
<leibniz[m]> So NixOS kinda solves the need for things like docker...if everyone was using Nix
<cole-h> I wish everyone was using Nix :P Makes a lot of things loads easier.
<leibniz[m]> Doesn't this "separation of libraries", slow down the apps?
<V> leibniz[m]: nah, but it only started to take off in the last 10 years
<V> why would it do that
<manveru> leibniz[m]: nix would solve the need for `docker build`, but it's not providing runtime isolation
<leibniz[m]> I guess snap and flatpaks also contain each apps dependencies
<V> nix doesn't do that
loooph has quit [Ping timeout: 245 seconds]
<V> dependencies can be shared
mariatsj_ has quit [Remote host closed the connection]
<simpson> leibniz[m]: Libraries are only in different directories. It's no slower than when one has libraries in both /usr/lib and /usr/local/lib.
xcmw has joined #nixos
<V> It's probably faster in a bunch of cases since there's more hardcoding going on here
mariatsji has joined #nixos
<jumper149> In fact as long as you stick to a single channel you will have dependencies shared across all applications.
<leibniz[m]> Can I have Nix Package manager in Ubuntu?
<jumper149> Yes.
<cole-h> Yep.
<simpson> V: Uh? How would that work? The libraries are still dynamically linked, and the actual loading and runtime linking of code objects is what is slow, not checking (cached) inodes.
<jumper149> leibniz[m]: https://nixos.org/download.html
<V> simpson: a lot of places use hardcoded paths instead of looking up stuff in $PATH
<leibniz[m]> jumper149: So why everyone is using snaps, appimage, etc?
kuznero has joined #nixos
<leibniz[m]> I mean what's the catch? Is it hard to set up?
<simpson> V: I'd have to see measurements to be convinced, sorry. But it's a fun idea for designing an experiment.
<cole-h> The opposite. Snaps is probably easier to setup than Nix or NixOS.
<jumper149> leibniz[m]: They just got popular. Why are so many people using Windows?
<V> simpson: I doubt it makes much of a difference in practice
orivej has quit [Ping timeout: 240 seconds]
mariatsji has quit [Read error: Connection reset by peer]
mariatsji has joined #nixos
<kuznero> Hi all! Where can I check why latest vscode 1.48.2 is not getting landed into stable? It is about 6 days passed since it was merged. Normally things go slightly faster...
veleiro has quit [Ping timeout: 240 seconds]
vv has joined #nixos
<kuznero> Or unstable ...
bennofs_ has joined #nixos
<V> nixos-unstable is currently blocked
<{^_^}> #96479 (by doronbehar, 5 days ago, open): nixos-unstable is blocked because of failing luks-format1 test
<kuznero> I see, thanks
bennofs__ has quit [Ping timeout: 260 seconds]
<immae> Is there a "zfs mount -a" or equivalent executed automatically during boot? I heard about such thing but I cannot see anything that confirms it in stage 1 or stage 2 scripts
maier has joined #nixos
<immae> (I’m thinking of "non-legacy" mounts here, legacy mounts are correctly declared in the fstab)
smyds has quit [Remote host closed the connection]
<kuznero> But if it is blocked, does it make sense to not to upgrade that luks-format1 thingy?
<V> kuznero: that's already in master, there's a proposed PR to revert the offending commit
<kuznero> Super! Thanks!
<V> hydra builds happen after merges here .-.
<V> so master can be broken
<V> having master broken for up to ~2 weeks is not uncommon
maier has quit [Ping timeout: 240 seconds]
<ToxicFrog> immae: it's meant to, but as a systemd unit, not as part of the boot scripts
<immae> ah!
<immae> I was looking at the wrong place, thanks!
<evanjs> Yeesh, I guess the problem might be bigger than I initially expected/perceived https://github.com/rust-lang/rust/issues/75075
<{^_^}> rust-lang/rust#75075 (by Shnatsel, 4 weeks ago, open): There is no cross-platform way to use `include_bytes!`
<ToxicFrog> in my experience this happens too late, so I have a snippet in `boot.postBootCommands` that deletes all the stuff the activation script created in not-yet-mounted mountpoints, then does `zpool import` and `zfs mount`
<ToxicFrog> (I wrote this a while ago; it's possible that the activation script stuff that creates directories wrong has been fixed by now)
<immae> ToxicFrog: Yes I saw that kind of warning in the wiki, I’m just trying to get a grasp about how things are organized for now rather than trying to make things work correctly ;)
rgrau has joined #nixos
<cole-h> If you add `neededForBoot = true;` to the filesystem you want mounted at boot in your hardware-configuration.nix, it will indeed be mounted at boot
<{^_^}> [nixpkgs] @saschagrunert opened pull request #96917 → go: 1.15 -> 1.15.1 → https://git.io/JUmAY
<immae> cole-h: Ah nice
<Extends> with the new flake system in home-manager, how does one rebuild the configuration ?
<ToxicFrog> cole-h: the problem is that if you have a lot of zfs datasets you need to manually set each one to legacy mounting and configure it there rather than trusting `zfs mount -a` to do the right thing
<cole-h> ¯\_(ツ)_/¯
<cole-h> I don't see a problem with that (because I had NixOS in mind when I set up ZFS, and thus created all my datasets with legacy mounting).
<immae> ToxicFrog: my end goal is to put a RequiresMount dependency on the service that needs its dataset mounted
hiro99 has quit [Quit: hiro99]
<immae> (still not exactly clear if it’s workable or not so I’m doing tests)
<immae> so I’d only have "critical" ones in fstab and let the other ones get mounted later by zfs mount -a
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0a64ff8152b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @aanderse merged pull request #96909 → nixos/beanstalkd: add openFirewall option → https://git.io/JUmy6
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JUmAo
<immae> (Also I don’t know how smart systemd will be about that RequiresMount dependency, since he wouldn’t know from the top that "later" a mount will appear under that tree)
<{^_^}> [nixpkgs] @jonringer merged pull request #96907 → python3Packages.transformers: 3.0.2 -> 3.1.0 → https://git.io/JUmD7
<{^_^}> [nixpkgs] @jonringer pushed commit from @danieldk to master « python3Packages.transformers: 3.0.2 -> 3.1.0 »: https://git.io/JUmAM
<{^_^}> [nixpkgs] @jonringer merged pull request #96913 → python3Packages.solo-python: 0.0.23 -> 0.0.26 → https://git.io/JUm7j
<{^_^}> [nixpkgs] @jonringer pushed commit from @atopuzov to master « python3Packages.solo-python: 0.0.23 -> 0.0.26 »: https://git.io/JUmAD
zupo has joined #nixos
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @Lassulus merged pull request #96462 → texstudio: 2.12.22 -> 3.0.0 → https://git.io/JUkjM
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUmAp
<buffet> hey, i have an attrsOf option somewhere, and im trying to generate a bunch of systemd services from it. how can change the attribute name (systemd.services.???) without resorting to something like fromJSON?
kuznero has quit [Quit: leaving]
werner291 has joined #nixos
cole-h has quit [*.net *.split]
gustavderdrache has quit [*.net *.split]
domogled has quit [*.net *.split]
kahiru has quit [*.net *.split]
Darkmatter66 has quit [*.net *.split]
devalot has quit [*.net *.split]
gueorgui_ has quit [*.net *.split]
ahciada has quit [*.net *.split]
evils has quit [*.net *.split]
Graypup_ has quit [*.net *.split]
sigtrm has quit [*.net *.split]
barm has quit [*.net *.split]
mightybyte has quit [*.net *.split]
gentauro has quit [*.net *.split]
kaivai has quit [*.net *.split]
LunarLambda has quit [*.net *.split]
kwork has quit [*.net *.split]
clever has quit [*.net *.split]
EsperLily has quit [*.net *.split]
akaWolf has quit [*.net *.split]
dramaturg has quit [*.net *.split]
zaeph has quit [*.net *.split]
simukis_ has quit [*.net *.split]
fps has quit [*.net *.split]
drakonis has quit [*.net *.split]
mzan has quit [*.net *.split]
alexbakker has quit [*.net *.split]
orbekk has quit [*.net *.split]
mupf has quit [*.net *.split]
nisstyre has quit [*.net *.split]
orcus has quit [*.net *.split]
lassulus has quit [*.net *.split]
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
cole-h has joined #nixos
devalot has joined #nixos
gustavderdrache has joined #nixos
Darkmatter66 has joined #nixos
ahciada has joined #nixos
gentauro has joined #nixos
mightybyte has joined #nixos
orcus has joined #nixos
gueorgui_ has joined #nixos
dramaturg has joined #nixos
kahiru has joined #nixos
domogled has joined #nixos
akaWolf has joined #nixos
kaivai has joined #nixos
sigtrm has joined #nixos
evils has joined #nixos
lassulus has joined #nixos
drakonis has joined #nixos
mzan has joined #nixos
simukis_ has joined #nixos
barm has joined #nixos
clever has joined #nixos
mupf has joined #nixos
zaeph has joined #nixos
orbekk has joined #nixos
Graypup_ has joined #nixos
EsperLily has joined #nixos
nisstyre has joined #nixos
alexbakker has joined #nixos
LunarLambda has joined #nixos
fps has joined #nixos
kwork has joined #nixos
evanjs has joined #nixos
kreyren__ has joined #nixos
<{^_^}> [nixpkgs] @lucperkins opened pull request #96918 → doppler: 3.10.1 -> 3.10.3 → https://git.io/JUmxP
<{^_^}> [nixpkgs] @saschagrunert opened pull request #96919 → podman: 2.0.5 -> 2.0.6 → https://git.io/JUmxM
kreyren_ has quit [Ping timeout: 240 seconds]
ris has joined #nixos
sangoma has joined #nixos
cosimone has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
lordcirth has joined #nixos
spudly- has joined #nixos
alp has quit [Ping timeout: 272 seconds]
spudly has quit [Ping timeout: 260 seconds]
spudly- is now known as spudly
endformationage has joined #nixos
Bino[m] has joined #nixos
alp has joined #nixos
alp_ has joined #nixos
cosimone has quit [Remote host closed the connection]
alp has quit [Ping timeout: 260 seconds]
gustavderdrache has quit [Quit: Leaving.]
<aranea> buffet: Depends on what exactly you want to do, but one useful tool for this is the mapAttrs' function.
domogled has quit [Quit: domogled]
<numkem> is there a script to clean up an s3 bucket used by hydra? it keeps increasing and it's probably full of unrelated packages now
lordcirth_ has joined #nixos
<cole-h> numkem: Maybe there's something in here: https://github.com/NixOS/nixos-channel-scripts
justanotheruser has quit [Ping timeout: 265 seconds]
lordcirth has quit [Ping timeout: 260 seconds]
<numkem> cole-h: I use minio, but this seems pretty useful, thanks! cole-h++
<{^_^}> cole-h's karma got increased to 86
davidv7_ has joined #nixos
davidv7 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @kalbasit opened pull request #96920 → pgformatter: 4.3 -> 4.4 → https://git.io/JUYfD
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @risicle merged pull request #95297 → abcmidi: 2020.07.28 -> 2020.08.09 → https://git.io/JJ9PO
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JUYJJ
<buffet> aranea, i was working with map and listToAttrs rn, thanks for the recommendation ill check it out
Maxdamantus has quit [Ping timeout: 246 seconds]
tsujp has quit [Ping timeout: 264 seconds]
civodul has joined #nixos
nature has joined #nixos
Maxdamantus has joined #nixos
<cole-h> infinisil: Nah, second one doesn't change `is deprecated` to `has been removed` for ease of applying the uncontroversial (IMO) part of the suggestion.
evelyn has left #nixos ["Guidheam ort droch bhreitheanas nuair thig ort latha na fìrinn."]
<cole-h> ;)
cosimone has joined #nixos
<infinisil> Ah sorry :)
<cole-h> Extends: Some software doesn't play nice with parallel building IIRC
<Extends> yes but this line is basically saying enableParallelBuilding = true or true
pjt_tmp has joined #nixos
<cole-h> Ah
<cole-h> `? true` was probably added later :)
eoli3n_ has joined #nixos
adam_ has joined #nixos
<cole-h> jk
<cole-h> Looks like it was added at the same time. Probably a leftover. But it doesn't hurt, som meh.
<cole-h> s/som/so,?
<cole-h> fjdklsa
<adam_> how do you specify the url that buildPythohPackages will use?
<Extends> yeah, funny though haha
<adam_> I've specified python = "cp38" and platform = "manylinux2010_x86_64"
<adam_> but how do I turn cp38-none-manylinux2010_x86_64 to cp-38-cp38-manylinux2010_x86_64
<amanjeev> Is it just me or is the search on nixos.org returning 404 quite often, no matter what https://search.nixos.org/packages?query=tox&from=0&size=30&sort=relevance&channel=nixos-20.03
<samueldr> amanjeev: looks like there's a (transient~ish?) issue with the backend
<amanjeev> ah I see thank you samueldr
<adam_> how do you all typically find out what options I can pass to something?
<amanjeev> I have been seeing this more often so asked here
<adam_> for example fetchPypi? is the only option to check the source? is there documentation somewhere
<samueldr> amanjeev: no, something else, click on the channel name, it seems your url (the channel name) is in a weird state
<samueldr> it shouldn't be "nixos-20.03", but "20.03"
<amanjeev> ah! I see thank you
<amanjeev> apologies for false alarm
noudle has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nix] @cole-h opened pull request #3982 → Minor docs updates → https://git.io/JUYU6
pbb has joined #nixos
mariatsji has quit [Remote host closed the connection]
<{^_^}> [hydra] @cransom opened pull request #803 → Remove image dependency on hydra.nixos.org → https://git.io/JUYUS
maier has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee-cl has joined #nixos
maier has quit [Ping timeout: 260 seconds]
stephaneyfx has joined #nixos
bdju has quit [Read error: Connection reset by peer]
bdju has joined #nixos
arjen-jonathan has quit [Ping timeout: 260 seconds]
winny has joined #nixos
<winny> is it safe to delete these symlinks in my homedir in the format of marathon-N-link ?
<cole-h> I'd personally just unlink them.
<{^_^}> [hydra] @grahamc merged pull request #803 → Remove image dependency on hydra.nixos.org → https://git.io/JUYUS
<{^_^}> [hydra] @grahamc pushed 2 commits to master: https://git.io/JUYTs
xensky has joined #nixos
<winny> yep, i'll just rm them :-)
burningserenity has joined #nixos
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 240 seconds]
<buffet> when i run `${pkgs.rclone}/bin/rclone mount` it errors as fusermount isnt found in PATH, is that something that should be fixed in nixpkgs?
<buffet> or should i somehow write my service file differently
burningserenity has quit [Quit: The Lounge - https://thelounge.chat]
<cole-h> Huh, what's with the color difference here (emacs-pgtk vs allegro)? https://i.imgur.com/P8k7DFo.png
<cole-h> Using `nix build -L`
<{^_^}> [nixpkgs] @primeos opened pull request #96922 → chromium: Prefix $PATH with xdg_utils → https://git.io/JUYTN
sangoma has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-homepage] @samueldr merged pull request #507 → Implement base JS + responsive menu → https://git.io/JUI22
<{^_^}> [nixos-homepage] @samueldr pushed 20 commits to feature/2020-redesign: https://git.io/JUYkv
<{^_^}> [nixos-homepage] @samueldr pushed 0 commits to feature/2020-r/base-js: https://git.io/JUYkf
mallox has quit [Quit: WeeChat 2.9]
orivej has joined #nixos
xcmw has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4aa5466cbc7 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
adam_ has quit [Quit: Lost terminal]
mariatsji has joined #nixos
gustavderdrache has joined #nixos
mariatsji has quit [Ping timeout: 240 seconds]
cr4y1_ has quit [Remote host closed the connection]
cr4y1_ has joined #nixos
sangoma has joined #nixos
<{^_^}> [nixpkgs] @mohe2015 opened pull request #96923 → Bugfix in apache httpd → https://git.io/JUYk0
shibboleth has joined #nixos
xensky has quit [Quit: No Ping reply in 180 seconds.]
xensky has joined #nixos
shibboleth has quit [Quit: shibboleth]
<jared-w_> Extends: wouldn't setting args.enableParallelBuilding explicitly to false not trigger the `or true`? The `?` bit only happens if the property doesn't exist in args, iirc.
nature has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #96924 → python39: 3.9.0b5 -> 3.9.0rc1 → https://git.io/JUYk5
<{^_^}> [nixpkgs] @jtojnar opened pull request #96925 → nixos/gpaste: return sessionPath → https://git.io/JUYkF
cosimone has quit [Quit: Quit.]
sputny has quit [Remote host closed the connection]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kreyren__ has quit [Ping timeout: 240 seconds]
kaliumxyz has joined #nixos
<{^_^}> [nixpkgs] @davidak opened pull request #96926 → limesurvey: 3.17.12+190823 -> 3.23.0+200813 → https://git.io/JUYIY
sangoma has quit [Quit: WeeChat 2.9]
<Extends> jared-w_: I think that the `or` does that, like, if the value in the set is absent, then the value of the or will be taken, which is why it's kind of weird, as ? true already set enableParallelBuilding to true, and if enableParallelBuilding isn't present, then its value will also be set to true, although not sure about that
noonien has joined #nixos
<noonien> hello folks!
<noonien> i'm trying to update a package using an overlay, this is how i'm doing it in the overlay: http://ix.io/2vUq
<noonien> the problem is that i'm getting this error: http://ix.io/2vUv and i'm unsure how to fix it
<noonien> i've tried settings verifyCargoDeps to false, and cargoSha256 to unset
<noonien> but, i'm unsure what the real problem is
<V> you put verifyCargoDeos, not verifyCargoDeps
<noonien> argh!
<noonien> the problem seems to persist
<V> have you tried doing what the error tells you to
<noonien> i even tried setting cargoSha256 to all 0s, i get the exact same error
<noonien> i'm unsure what cargoSha256 has to do with anything, as far as i can tell, the error is triggered by a diff
<V> currently waiting on LLVM to download
<noonien> ^_^
<noonien> this line should cause that check to run or not run
<noonien> but, setting cargoSha256 to unset doesn't work either
<V> wanted: sha256:0000000000000000000000000000000000000000000000000000
<V> got: sha256:1ix8qhcl2d84zafyyjcjjpvk1f6fgf9s3m2w4f1srsqs2wfpnrw4
cr4y1 has joined #nixos
eoli3n_ has quit [Ping timeout: 256 seconds]
<noonien> hmm, is there a way to print the nixpkgs version i'm using for a specific channel?
cr4y1_ has quit [Remote host closed the connection]
lsix has joined #nixos
<jared-w_> Extends: I think you're right. My inclination is that the ? true is intended to make enableParallelBuilding something that must be explicitly opted out of (by setting it to false) rather than letting it default to missing/false
<noonien> unstable = nixos-unstable-20.09pre239318.c59ea8b8a0e
<V> noonien: setting cargoSha256 to "1ix8qhcl2d84zafyyjcjjpvk1f6fgf9s3m2w4f1srsqs2wfpnrw4" works, I think
<V> I'm on that exact version of nixpkgs
<V> It's currently on "Compiling kak-lsp v8.0.0-snapshot (/build/source)"
<V> so presumably it's past the point where it would have failed
<V> perhaps not
<{^_^}> [nixpkgs] @jonringer opened pull request #96927 → python3Packages.hypothesis: 5.11.0 -> 5.30.0 → https://git.io/JUYLq
<noonien> hmm, setting that cargoSha256 doesn't work either, have you set that in an overlay, or created a separate package?
<V> oh, whoops. I have patches for kak-lsp
<V> set cargoSha256 to lib.fakeSha256
maier has joined #nixos
<V> nix-repl> :b rustPlatform.buildRustPackage { pname = "kak-lsp"; version = "v8.0.0-dev"; src = fetchFromGitHub { owner = "ul"; repo = "kak-lsp"; rev = "f325bacc7fb595f971d7b8a9aca3e5b8d3b
<V> 0a22d"; sha256 = "190x4ca28vzwby7d9g20q090c3kmxv7am0d5k4z96ylzdxva1cqj"; }; cargoSha256 = lib.fakeSha256; }
<noonien> same issue, there might be something wrong with me setting up the overlay, i'll try to setup a different .nix file and nix-build it, if that works, there's something wrong in my overlay
cjpbirkb1 has quit [Quit: Goodbye, take care]
superherointj has quit [Quit: Leaving]
<V> v@february ~> /nix/store/p10xsc6zb8yj6s71pdkfybvxm7j358hh-kak-lsp-v8.0.0-dev/bin/kak-lsp --version
<V> out -> /nix/store/p10xsc6zb8yj6s71pdkfybvxm7j358hh-kak-lsp-v8.0.0-dev
<V> kak-lsp 8.0.0-snapshot
<V> this derivation produced the following outputs:
cjpbirkbeck has joined #nixos
<V> I'm curious how you have 'unstable' pointing to the unstable nixpkgs
<V> is this using channels?
<noonien> unstable = import <nixos-unstable> { config = self.config; };
<noonien> in my overlay
<V> Ah
<noonien> hmm, it seems that you are building a brand new package
<noonien> i'm using overrideAttrs on the old one
<V> The overrideAttrs call looks fine
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maier has quit [Ping timeout: 240 seconds]
<V> Oh, I see. Very unhelpful error message
<V> That might be a bug
dbmikus has quit [Ping timeout: 240 seconds]
<V> yeah, the shasum I used that previously worked doesn't now
<noonien> using nix-build on this triggers the same error: http://ix.io/2vUA
<noonien> so, perhaps the error is indeed related to overrideAttrs
xcmw has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #96929 → [staging] python3Packages.pywbem: restore → https://git.io/JUYL2
<noonien> i think the attrs to `stdenv.mkDerivation` are being modified, not to `rustPlatform.buildRustPackage`
gustavderdrache has quit [Quit: Leaving.]
<V> yes, that's my suspicion
<noonien> and, since cargoSha256 isn't anywhere in the derivation, overriding it does nothing
<V> yeah
<noonien> hmm, i'm guessing nothing can be done, except just copying the kak-lsp nix package completely
<{^_^}> [nixpkgs] @jtojnar merged pull request #94318 → suitesparse-graphblas: 3.3.0 -> 3.3.3 → https://git.io/JJ2bm
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « suitesparse-graphblas: 3.3.0 -> 3.3.3 »: https://git.io/JUYLr
RN1986239_ has quit [Quit: bye]
RN1986239 has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #96930 → go_1_14: 1.14.7 -> 1.14.8 → https://git.io/JUYLK
<{^_^}> [nixpkgs] @zowoq merged pull request #96919 → podman: 2.0.5 -> 2.0.6 → https://git.io/JUmxM
<{^_^}> [nixpkgs] @zowoq pushed commit from @saschagrunert to master « podman: 2.0.5 -> 2.0.6 »: https://git.io/JUYL6
<{^_^}> [nixpkgs] @jtojnar merged pull request #94308 → rpm-ostree: 2020.2 -> 2020.4 → https://git.io/JJ29P
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « rpm-ostree: 2020.2 -> 2020.4 »: https://git.io/JUYLi
Extends has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zowoq merged pull request #96917 → go: 1.15 -> 1.15.1 → https://git.io/JUmAY
<{^_^}> [nixpkgs] @zowoq pushed commit from @saschagrunert to master « go: 1.15 -> 1.15.1 »: https://git.io/JUYLM
<{^_^}> [nixpkgs] @jonringer merged pull request #96929 → [staging] python3Packages.pywbem: restore → https://git.io/JUYL2
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to staging: https://git.io/JUYLy
<V> noonien: rustPlatform.buildRustPackage (kak-lsp.drvAttrs // { src = fetchFromGitHub { owner = "ul"; repo = "kak-lsp"; rev = "f325bacc7fb595f971d7b8a9aca3e5b8d3b0a22d"; sha256 = "190x4ca28vzwby7d9g20q090c3kmxv7am0d5k4z96ylzdxva1cqj"; }; cargoSha256 = "1ix8qhcl2d84zafyyjcjjpvk1f6fgf9s3m2w4f1srsqs2wfpnrw4"; })
<{^_^}> [nixpkgs] @zowoq merged pull request #96880 → etcd: 3.3.22 -> 3.3.25 → https://git.io/JUmkN
<{^_^}> [nixpkgs] @zowoq pushed to master « etcd: 3.3.22 -> 3.3.25 »: https://git.io/JUYLS
<noonien> V: eh, i went without kak-lsp.drvAttrs, since that doesn't really do much on this case. might even do bad
<noonien> thanks for the help though!
vv has quit [Ping timeout: 245 seconds]
<V> if you're on macOS it'll make a difference, since that has buildInputs you need to care about
<V> otherwise it just sets meta for that package
rkallos has quit [Quit: connection reset by purr]
lsix has quit [Quit: WeeChat 2.9]
<V> this is horribly messy though
<V> Making a fresh package is probably the simpler thing to do
krasnij has joined #nixos
<noonien> i'm on nixos. yeah that's what i went with. kak-lsp doesn't seem to have any special arguments to buildRustPackage, and i don't want any stray drv attrs ending up as special buildRustPackage arguments by mistake :D
zettabyte has joined #nixos
<V> probably wise
<V> I'm not sure I know of a nicer way of doing this
<{^_^}> [nixpkgs] @jtojnar merged pull request #94485 → cldr-emoji-annotation: 37.0_13.0_0_1 -> 37.0_13.0_0_2 → https://git.io/JJV0O
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « cldr-emoji-annotation: 37.0_13.0_0_1 -> 37.0_13.0_0_2 »: https://git.io/JUYL7
<zettabyte> is there a way to declaratively specify a service to be installed but disabled by default (service is fully configured but can be manually started with systemctl start <service>)
<{^_^}> [nixpkgs] @jtojnar merged pull request #93802 → libraw: 0.19.5 -> 0.20.0 → https://git.io/JJBJc
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JUYLd
<V> zettabyte: don't have a wantedBy
<zettabyte> how do you accomplish that with e.g. httpd
<{^_^}> [nixpkgs] @asbachb opened pull request #96931 → netbeans: 12.0 -> 12.1 → https://git.io/JUYLN
dbmikus has joined #nixos
<V> zettabyte: systemd.services.httpd.wantedBy = lib.mkForce []
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @chkno opened pull request #96932 → gtg: Run tests → https://git.io/JUYLh
<zettabyte> V: ok, that works, thank you
zettabyte has quit [Quit: Connection closed]
<V> np
rgrau has quit [Ping timeout: 265 seconds]
<V> noonien: BTW, if what you want is a specific patch for kak-lsp, and not just the latest version, you can always overrideAttrs with patches set
<V> I have a few of those
<noonien> i haven't thought of doing that, thanks for the tip!
<V> and that works fine, since patches is used by stdenv.mkDerivation
<noonien> i don't mind just using master though
<noonien> also, i believe the patches shouldn't modify dependencies, that would change the cargoSha256
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<V> mm
<{^_^}> [nixpkgs] @risicle merged pull request #95030 → certbot: 1.6.0 -> 1.7.0 → https://git.io/JJMam
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JUYtG
xelxebar has quit [Ping timeout: 240 seconds]
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #96933 → linux_zen: 5.8.1 -> 5.8.5 → https://git.io/JUYtl
<buffet> hey, say i need `su` in a systemd preStart thingie, where do i get it from?
<buffet> its not in path
<V> ,locate su
<{^_^}> Found in packages: ping, vocal, cipher, hashit, shadow, toybox, busybox, bookworm, ideogram, logcheck, sequeler, tuxpaint, formatter, shadow.su, terminator, torrential, regextester, akira-unstable, pantheon.granite, elementary-planner, pantheon.wingpanel, pantheon.switchboard, pantheon.elementary-code, pantheon.elementary-files, pantheon.elementary-music, python27Packages.mwlib-rl, pantheon.elementary-photos, pantheon.elementary-videos, and 34 more
<V> shadow.su, presumably
<buffet> alright thanks
<V> however, I'm not sure whether it'll work from within there
<V> What do you need it for? There's probably a better way of doing what you want to accomplish
<buffet> the exact usecase is trying to work around https://github.com/NixOS/nixpkgs/issues/96928 in a way that i learn something
<{^_^}> #96928 (by buffet, 49 minutes ago, open): rclone: fusermount not in PATH
<V> it's a suid binary, so you can't just magic yourself up privilege escalation
<buffet> > su: must be run from a terminal
<{^_^}> <LAMBDA>
<buffet> oops
<buffet> basically i wanna set the suid thing on something
<V> take a look at security.wrappers
<buffet> will do, thanks
<V> I'm confused though, there's a wrapper for fusermount
o1lo01ol1o has quit [Remote host closed the connection]
<buffet> any great ways to add that to the path of rclone?
o1lo01ol1o has joined #nixos
<buffet> i was mosty playing around as i dont really have a solution, so dont expect any great ideas there
erasmas has quit [Quit: leaving]
<buffet> i tried to symlinkJoin the two packages (fuse3 and rclone), but 1. missing suid, 2. fuse3 only ships fusermount3 not fusermount, and i kinda got sidetracked at that point
o1lo01ol1o has quit [Ping timeout: 246 seconds]
cr4y1 has quit [Remote host closed the connection]
fendor has quit [Read error: Connection reset by peer]
<V> buffet: what's the easiest way of testing rclone? does it support ssh, etc?
<V> oh, 'sftp'
<buffet> my issue specifically is with `rclone mount`
<V> I can't mount anything unless I configure it
<buffet> should also support sftp though
dansho has joined #nixos
<buffet> there is rclone config, which takes you through the steps, so thats pretty quick, but yeah it needs a config
<V> made a 'local' remote
<V> get the same error
<V> buffet: add /run/wrappers/bin to $PATH
<V> probably using makeWrapper
<V> (or wrapProgram)
xcmw has joined #nixos
<{^_^}> [nixpkgs] @bcdarwin opened pull request #96934 → f3d: init at 1.0.1 → https://git.io/JUYtx
noudle has quit []
<buffet> ok so that seems to work, but i somehow created a folder with ????? owned by ?:? so lemme fix that rq
<buffet> before i know if it actually worked
<buffet> ok so root has permissions denied, thats likely bad, and it reoccurs so i blame fuse not working
<V> buffet: does this work in a pure nix shell
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #96935 → ioquake3: 2019-05-29 -> 2020-02-11 → https://git.io/JUYqe
thc202 has quit [Ping timeout: 240 seconds]
ManiacOfMadness has quit [Ping timeout: 260 seconds]
ManiacOfMadness has joined #nixos
nealean[m] has joined #nixos
<buffet> V, yes, works
<V> whee
<buffet> is that good or bad?
<V> presumably it working is good?
<buffet> aight
<buffet> "whee" is just hard to tell whether its a "woohoo" or a harsh sigh
<buffet> thanks for the help
<V> Ah, I was contemplating putting \o/ instead but I wasn't in a good enough mood :p
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
Maxdamantus has quit [Ping timeout: 265 seconds]
Reventlov has quit [Ping timeout: 244 seconds]
Maxdamantus has joined #nixos
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
jumper149 has quit [Quit: WeeChat 2.9]
Church- has quit [Ping timeout: 265 seconds]
werner291 has quit [Quit: werner291]
lurpahi has joined #nixos
zuserm has left #nixos [#nixos]
<lurpahi> I switched out 19.03 for 20.03 and `nixos-rebuild switch`d and now GRUB is giving me problems. 🤔
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #nixos
<infinisil> ,dnw lurpahi
<{^_^}> lurpahi: Provide as much info as possible on problems. What specifically doesn't work? What command did you run? What's in the relevant files? What's the error? This makes debugging easier and helps getting faster responses
philr has joined #nixos
gustavderdrache has joined #nixos
<lurpahi> I meant to do that at that moment, but I got pulled away after I sent that message.
<lurpahi> .… but what's 'dnw' stand for?
maier has joined #nixos
<buffet> i assume "does not work"
maier has quit [Ping timeout: 260 seconds]
<lurpahi> I have had this problem before—as evidenced by browser history—but I'm not sure what I did to fix it before. It's not unlikely that I just gave up and undid whatever made it start happening.
<samueldr> lurpahi: not that this points to a solution, but some assumptions: you are booting using legacy bios boot, rather than uefi, right?
<lurpahi> Probably. I'm not completely certain.
<lurpahi> I haven't really gone into anything in years, so I don't remember my own setup too well.
<samueldr> if you have /sys/firmware/efi/efivars and files under there you're booted as UEFI
<lurpahi> There is no `/sys/firmware/efi`.
<samueldr> then that's as I assumes because of the output; knowing this is helpful
<samueldr> next: "installing the GRUB 2 boot loader on …..." what is it that you ellipsized?
<samueldr> a partition or a block device?
<lurpahi> I don't think I ever really figured out the difference between UEFI and whatever else.
<lurpahi> `/dev/disk/by-label/nixossd`
<samueldr> right, then this means it's the partition
<lurpahi> There's just one partition on that drive.
<samueldr> the difference between legacy bios boot and UEFI is how the "bios" of your machine decides what to boot; the legacy boot option starts whatever program is embedded into the MBR, while UEFI has some more configuration options and start a program that is found as a file in a partition
<lurpahi> For some reason, `/dev/sdc1` is my root drive.
<samueldr> having only one partition is likely fine
<samueldr> usually, grub is installed to the MBR, rather than being installed to a partition, do you know if there is a reason which made you install it to the partition?
<samueldr> it could be because of dual (or more) boot
<lurpahi> I've abandoned every other operating system I've installed on any of three drives presently in this computer; this instance of NixOS is all I've got now.
<lurpahi> I don't know if it being on an SSD—as implied by the name `nixossd`—is relevant. 🤔
<samueldr> shouldn't matter
<samueldr> instead of configuring the installation to install to the partition you should be able to switch it to install to the disk
<lurpahi> In `configuration.nix`, I do seem to have configured `boot.loader.grub.device` to be `/dev/disk/by-label/nixossd`.
<samueldr> though you might want to have a usb drive with the nixos installer handy just in case
<samueldr> you can identify a "stable" path name for the hard drive
<samueldr> $ ls -l /dev/disk/by-id/ | grep /sdc$
<samueldr> e.g. for me I see two entries
<samueldr> lrwxrwxrwx 1 root root 9 Aug 6 20:08 wwn-0x5000c5006cfa4e8d -> ../../sdc
<samueldr> lrwxrwxrwx 1 root root 9 Aug 6 20:08 ata-ST500DM002-1BD142_S2AMP3HF -> ../../sdc
<samueldr> both are unique identifiers for the disk
<lurpahi> I don't have a flash drive handy that I could do that with; I gave one that I had with NixOS on it to my brother last night, knowing his intent to format it if he used it.
<lurpahi> And he's asleep now.
<lurpahi> I have too many non-functioning flash drives.
<samueldr> though I assume the risk is slim, anything touching the boot configuration like that has intrinsic risks
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JUYmW
<lurpahi> So, should I see what happens when I replace `/dev/disk/by-label/…` with `/dev/disk/by-id/wwn-…`? 🤔
<lurpahi> If it doesn't work, I'll call it time for a fresh installation of whatever Linux distribution I feel like trying. Probably NixOS again but possibly something else with Nix on top.
Aliexpguy has joined #nixos
<Aliexpguy> HI, check Aliexpress for great deals, coupons, 50%-90 off.. https://a.aliexpress.com/_mt36w6T get 20USD
Aliexpguy has quit [K-Lined]
<samueldr> lurpahi: that would be the first thing I'd try
<lurpahi> > Installation finished. No error reported.
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):322:1
<lurpahi> Now, do I dare to restart, or do I ride with 24/7 uptime as long as I can and worry about potential problems later?
<infinisil> I usually reboot in such cases with the thought "Eh what could go wrong"
<infinisil> 50% of the time it works every time :)
Aliexpreguy has joined #nixos
Aliexpreguy has quit [K-Lined]
<lurpahi> It worked.
<lurpahi> And the drawing tablet that I did the update for Just Works™ too, now.
<lurpahi> Thanks.
<lurpahi> I wonder if this might have fixed mpv too. 🤔
<lurpahi> … it did not.
trulsa has quit [Quit: ZNC - http://znc.in]
<samueldr> lurpahi: so, to confirm, that was the solution?
<lurpahi> It would seem so.
<samueldr> nice, glad it helped
<lurpahi> Switched `by-label` that pointed to a partition, with `by-id` that pointed to a disk.
mbrgm_ has joined #nixos
<nbathum> If you're interested in nixcon, please visit this and give the organizers some planning fodder: https://nixcon.limequery.org/332392?lang=en
<samueldr> if you want the explanation, you'll have to read through the grub manual, or ressources, about the difference when you install to a disk compared to a partition
<lurpahi> It intuitively 'makes sense' to a degree, but I feel like installing it to a partition just shouldn't work at all, in the general case.
<samueldr> actually, that's the annoying part, you likely had a valid mbr program that knew to look at partition to continue booting, which hid part of the situation
<samueldr> and grub grew since 19.03 just enough to not fit in whatever scheme it uses
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<hexa-> > This survey is anonymous.
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):322:1
<hexa-> First name:
<hexa-> Last name:
<hexa-> hmm
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a092c1ece74 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> hexa-: It's optional, but yeah I got confused too
<hexa-> "This survey is anonymized. Please do not enter personally identifiable or private information into this survey. "
<hexa-> :D
<infinisil> nbathum: Can you still change it/redo it to not even ask for a name? Or ideally not even an email?
<nbathum> infinisil: yes possibly. is registering an account on limesurvey.org considered not ideal?
<nbathum> I agree it is confusing
<infinisil> It can hardly be anonymous when you have to give an email (and name optionally), even if you yourself don't get that data (I feel like limesurvey could get it if they wanted)