worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || 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-inf
<{^_^}> [nixpkgs] @jbedo opened pull request #102198 → last: 1066 -> 1133 → https://git.io/JT9ch
<rnhmjoj> tpw_rules supersandro2000: i have tried with a .WAV file, it could be firefox doesn't like it
<tpw_rules> yeah for whatever reason it's mp3 only
<tpw_rules> or at least certainly not wav. just tested in macos
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
<rnhmjoj> yeah, it's wav. i tried with .oga and it does play
<rnhmjoj> this is nice because i can use the sounds from sound-theme-freedesktop
<lukegb> oh hey, a tpw_rules, that's a name I haven't heard in a while
seku has quit [Quit: Connection closed]
selfsymmetric-mu has quit [Ping timeout: 264 seconds]
lejonet has joined #nixos
<{^_^}> [nixpkgs] @evalexpr opened pull request #102199 → i3status-rust: 0.14.1 -> 0.14.2 → https://git.io/JT9C7
rgoswami has joined #nixos
lunik15 has joined #nixos
<{^_^}> [nixpkgs] @hjones2199 opened pull request #102200 → phd2: init at 2.6.9dev1 → https://git.io/JT9CF
m0rphism has quit [Ping timeout: 256 seconds]
lunik1 has quit [Ping timeout: 246 seconds]
lunik15 is now known as lunik1
<tpw_rules> lukegb: wow, same
rgoswami has quit [Quit: rgoswami]
bennofs1 has quit [Quit: WeeChat 2.9]
<lukegb> :p
<evalexpr> I'm trying to contribute an upgrade to a package in nixpkgs, when I run nix-prefetch-git to fetch the new sha256 value, I get something different than when I deliberately set the hash to 0000.., and run `nix-env -f . -iA package` this output seems shorter, how do I make it show the correct sha256 value?
<evalexpr> when I deliberately set it to 0000... I get wanted: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=, got: sha256-aS2KIclwCbsOxkU0qIv+fPm7YIzpq21S4Q/NH9bbL7g=
rnea has joined #nixos
<demostanis[m]> I'm still reading about NixOS, and I've came across Home Manager and its ability to install firefox extensions, however, it requires them to be on the NUR. Can't https://github.com/demostanis/InstallFirefoxAddon be used? Is it worth to open an issue for something I've never used (yet)?
astronavt has quit [Quit: Leaving]
<lukegb> evalexpr: I think in nixpkgs master either will work; the "AAAAA..." format is base64, whereas the other format is the older base32 format
<lukegb> if you use "nix to-base32" it should convert the latter into the former
shibboleth has quit [Quit: shibboleth]
<clever> you can also just do `sha256 = "sha256-aS2KIclwCbsOxkU0qIv+fPm7YIzpq21S4Q/NH9bbL7g=";`
<lukegb> right, yeah, you should probably just use the base64 version
<demostanis[m]> * I'm still reading about NixOS, and I've come across Home Manager and its ability to install firefox extensions, however, it requires them to be on the NUR. Can't https://github.com/demostanis/InstallFirefoxAddon be used? Is it worth to open an issue for something I've never used (yet)?
<evalexpr> lukegb: clever: is there any convention for what is preferred in nixpkgs?
<infinisil> demostanis[m]: Nope that won't work
<evalexpr> base32 or I think the other is base16?
<infinisil> demostanis[m]: Nix requires pretty much everything to be written with Nix in mind to work
<demostanis[m]> <infinisil "demostanis: Nix requires pretty "> And would a rewrite in Nix of my Python program be possible? It simply fetches and parses data from Mozilla addons page
<infinisil> That might be possible yeah
<lukegb> evalexpr: basically... not really? the base64 format is newer, may as well use that. e.g. android-studio is using it here: https://github.com/NixOS/nixpkgs/pull/96874
<{^_^}> #96874 (by meutraa, 8 weeks ago, merged): Update/android studio beta
<infinisil> demostanis[m]: Actually, there is a nixpkgs PR which I think adds arbitrary add-on support
<infinisil> Lemme try to find it..
<lukegb> in general my policy with these hashes has basically been "eh, whatever nix outputs I guess"
<{^_^}> #91724 (by Luis-Hebendanz, 17 weeks ago, open): Firefox nix addon support
<evalexpr> lukegb: ok, will go with the newer format thanks
selfsymmetric-mu has joined #nixos
<demostanis[m]> <infinisil "demostanis: https://github.com/N"> Not merged?
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<demostanis[m]> Also it looks like most of it is bash? Why wouldn't a Python script do the trick?
<DigitalKiWicked> because then you have two problems
jbox has quit [Quit: going home for the day o/]
mzcore_ has quit [Ping timeout: 240 seconds]
civodul has quit [Ping timeout: 264 seconds]
dbmikus has quit [Ping timeout: 264 seconds]
<bqv> rnhmjoj: wonderful suggestion, thank you
<bqv> rnhmjoj++
<{^_^}> rnhmjoj's karma got increased to 13
<rnhmjoj> bqv: did you use build-vm?
<bqv> clever: you don't need the "sha256-" part, fwiw
<bqv> rnhmjoj: no i used system.build.vm directly, i'm a flakey person
<clever> bqv: i think thats only needed when using the newer outputHash syntax, where the outputHashAlgo is absent
teto has quit [Ping timeout: 264 seconds]
<bqv> huh. fair enough
<supersandro2000> Anyone knows how to install pip extras with setuptools for a derivation?
<supersandro2000> figured out it uses pip install. I can probably just add it to the pipInstallFlags
<supersandro2000> nope...
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}> [nixpkgs] @danderson opened pull request #102201 → nixos/tailscale: add tailscale to environment.systemPackages. → https://git.io/JT94c
codygman has quit [Ping timeout: 240 seconds]
andi- has quit [Ping timeout: 240 seconds]
codygman has joined #nixos
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
andi- has joined #nixos
johnny101 has quit [Quit: ZNC 1.7.5 - https://znc.in]
medvid has quit [Ping timeout: 264 seconds]
<__red__> I don't, sorry
johnny101 has joined #nixos
medvid has joined #nixos
codygman has quit [Ping timeout: 264 seconds]
heywoodlh has quit [Quit: ZNC 1.8.2 - https://znc.in]
heywoodlh has joined #nixos
andi- has quit [Ping timeout: 268 seconds]
dbmikus has joined #nixos
codygman has joined #nixos
andi- has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #102201 → nixos/tailscale: add tailscale to environment.systemPackages. → https://git.io/JT94c
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JT9Bz
<{^_^}> [nixpkgs] @danderson opened pull request #102202 → nixos/tailscale: add post-stop cleanup operation. → https://git.io/JT9Ba
rajivr has joined #nixos
<siraben> Looks like `nix build` doesn't have an `-E` flag like `nix-build` does.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JT9RI
MmeQuignon has quit [Ping timeout: 240 seconds]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<Akira[m]> I think latest Steam proton is just borked
<{^_^}> #100655 (by nyanloutre, 2 weeks ago, open): steam: Proton 5.13 does not launch because of steam runtime
<Akira[m]> I'll wait a bit b4 playing my games ^^
vika_nezrimaya has joined #nixos
<vika_nezrimaya> I found what might be one of the most interesting and challenging issues on the NixOS bug tracker: #21315
<{^_^}> https://github.com/NixOS/nixpkgs/issues/21315 (by copumpkin, 3 years ago, open): Bundle an expression that produces the smallest viable NixOS image
<vika_nezrimaya> I feel like I won't be able to sleep at night if I can't solve it :3
<vika_nezrimaya> it feels like a challenge
<lukegb> I disagree with the premise: I actually want an even more minimal image
<vika_nezrimaya> elaborate
<lukegb> i.e. one that does not include Nix
<vika_nezrimaya> That's a good one
<vika_nezrimaya> That kind of image would be "permanently sealed" and unable to modify itself
<vika_nezrimaya> question for Nix gurus: does `nix copy --to ssh://machine` use Nix on the other machine?
<lukegb> siraben: yeah, I have something similar but still systemd-based
<lukegb> Not quite as small though
<siraben> There's a subset of Linux users that despise systemd, I wonder if eventually NixOS's init system could be swapped out
<lukegb> I use it for building RPi/other misc appliance systems where I know I'm just going to replace the entire storage anyway
<lukegb> So I'm optimizing for image write time :p
<Yaniel> siraben: there is a subset of NixOS users who are trying to achieve just that
<lukegb> (netboot is... tricky in that environment)
<siraben> Yaniel: oh cool, is there a thread with their ongoing process?
<siraben> lukegb: Nix can also generate docker images, but I'm not sure about generating ISOs for other distros
<Yaniel> idk beyond the occasional related issue on github
<Yaniel> systemd is quite deeply integrated in the nixos module system though so it's quite a bit of work
<siraben> Is another alternative to use a very minimal non-systemd distro and use Nix on top?
<siraben> But that isn't really the same as NixOS I suppose
<notgne2> siraben (chat.freenode.net): you could write a replacment to the systemd implementation on nixos which makes the options instead apply using a shim to another service manager
<notgne2> though the right solution is making a higher level interface to nixos for services to use instead of systemd options, which is useful even to systemd users, but involves getting nixpkgs to accept such a thing
johnny101 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<tpw_rules> is there a way to do nix-copy-closure type things but to a file? i'd like to use it in scenarios where it's not possible to know what the other computer has installed or access it before computing what needs to be transferred. but a delta mode would be nice if i can say that i know it has this closure
<ejpcmac> Hi! Is there a way to know the NixOS version from a channel without building a system from it and running `nixos-version` ?
codygman has quit [Ping timeout: 246 seconds]
<notgne2> ejpcmac: `builtins.readFile <nixpkgs/.version>`?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/38bff9a5ed2 (from 31 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
johnny101 has joined #nixos
codygman has joined #nixos
alp_ has quit [Ping timeout: 260 seconds]
<Yaniel> siraben: as far as I know you can use nix on void linux, yes
<vika_nezrimaya> oh wow we got a channel advance
<vika_nezrimaya> oh nevermind it's nixpkgs-unstable
ryantrinkle has quit [Ping timeout: 268 seconds]
<vika_nezrimaya> ugh!
<Yaniel> what, a channel advance? how outra- oh nevermind
<vika_nezrimaya> the struggle of living on nixos-unstable: constantly waiting for Hydra to become green on the commit you desperately need to see in your system
<{^_^}> [nixpkgs] @danderson opened pull request #102204 → nixos/transmission: point at the settings dir in cfg.home. → https://git.io/JT9Eg
<vika_nezrimaya> i mean I could just rewind my flake to master and try to live with it in the meantime but it requires me to consciously pin the revision that contains everything that's NOT HORRIBLY BROKEN
h0m1 has quit [Ping timeout: 264 seconds]
<energizer> tpw_rules: i'm sure there's a better way, but `nix path-info -r /nix/store/foo | tar cfz foo.tar.gz -T -` ?
h0m1 has joined #nixos
<DigitalKiWicked> vika_nezrimaya: git master ;D
<tpw_rules> energizer: how do i get it back into the other machine's store? i thought in addition to just extracting it you had to modify the database
<vika_nezrimaya> DigitalKiWicked: just what I said
<vika_nezrimaya> and right now nixpkgs/master is hell of a gamble in terms of being broken or not
<vika_nezrimaya> I lived like that before I migrated to flakes
<vika_nezrimaya> now I'm not even required to maintain a checkout, I just specify the rev directly
<{^_^}> [nixpkgs] @Pacman99 opened pull request #102205 → nixos/jitsi-meet: add nat configuration in the documentation → https://git.io/JT9ES
<danderson> anyone for a trivial review/merge? https://github.com/NixOS/nixpkgs/pull/102204
<{^_^}> #102204 (by danderson, 5 minutes ago, open): nixos/transmission: point at the settings dir in cfg.home.
<danderson> I would add the maintainer, but github won't let me.
ryantrinkle has joined #nixos
<Reiser> Oh man, I'm sorry if this has already been asked a lot, it seems like it might've been but I'm just arriving on a lot of nixpkgs issues with no resolution. I'm trying to build something with cargo (caveat: latest in nix-unstable), I'm running into a GLIBC 2.13 build issue. `<snip>/libc.so.6: version `GLIBC_2.32' not found (required by
<Reiser> <snip>/deps/libproc)`
Emantor has quit [Quit: ZNC - http://znc.in]
<Reiser> Anyone run into this at all?
<ejpcmac> notgne2: I’d like the full version number, like 20.09.1234.xxxxxxxxx
<gchristensen> > lib.nixpkgsVersion + " ejpcmac "
<{^_^}> "21.03pre-git ejpcmac "
Emantor has joined #nixos
sigmundv has joined #nixos
ryantrinkle has quit [Ping timeout: 264 seconds]
<tpw_rules> energizer: ah neat, thank you
<Reiser> Seeing something super bizarre, any idea why this might happen? This is in the output of `ldd $(which cargo)` on the latest cargo:
<Reiser> `/nix/store/bpgdx6qqqzzi3szb0y3di3j3660f3wkj-glibc-2.31/lib/ld-linux-x86-64.so.2 => /nix/store/bdf8iipzya03h2amgfncqpclf6bmy3a1-glibc-2.32/lib64/ld-linux-x86-64.so.2`
<Reiser> 2.31 linking to 2.32?
<vika_nezrimaya> sounds very familliar
<vika_nezrimaya> but it's stuck on the tip of my tongue
LnL has quit [Ping timeout: 258 seconds]
<vika_nezrimaya> anyway it's an impurity of some sort that somehow crawled in
<vika_nezrimaya> at least if I remember it correctly
<vika_nezrimaya> try rebuilding the package?
LnL has joined #nixos
<Reiser> Interesting, what's the best way to build? I'm guessing `nix-env -e <pkg> && nix-env -iA <pkg>` won't do it
<Reiser> rebuild*
<vika_nezrimaya> it'll do if you do nix-collect-garbage after that and nothing else requires this package
<ejpcmac> Oh, thanks gchristensen ! I still don’t have the reflex to use lib in the repl…
<vika_nezrimaya> also maybe try `nix build --rebuild nixpkgs#cargo`? assuming you use flakes
<ejpcmac> (I thought of the repl, but not lib)
<vika_nezrimaya> which you probably don't judging by your nix-env usage
<vika_nezrimaya> nix-store --repair-path /nix/store/... can also work
<vika_nezrimaya> it'll try to substitute the package from cache.nixos.org - if it's not there, it'll fail though
<Reiser> vika_nezrimaya, you set me on the right path, which cargo still finding a linked binary in my profile even without cargo installed
<Reiser> Something went wrong somewhere, this seems to be it
sigmundv has quit [Ping timeout: 265 seconds]
<Reiser> I wonder how it happened
<vika_nezrimaya> no idea
<cole-h> supersandro2000++ Thanks for the darwin testing. It's much needed these days.
<{^_^}> supersandro2000's karma got increased to 8
<{^_^}> [nixpkgs] @omasanori opened pull request #102206 → kmscon: add omasanori as a maintainer → https://git.io/JT9zB
<supersandro2000> cole-h: no problem
<supersandro2000> I am just a bit worried why my nixpkgs-review is sometimes failing for no good reason. Do you know if I need to adjust nix.conf to have lower TTLs?
<cole-h> ¯\_(ツ)_/¯
<cole-h> Sorry
<supersandro2000> I just keep asking until someone knows something
<cole-h> Me too
<cole-h> :P
<supersandro2000> pyobjc has so many modules...
<samueldr> maybe if you shared the actual error rather than vague "no good reason"
<supersandro2000> yeah you are right. https://hastebin.com/unaniwalut.sql
<cole-h> That just seems like it's inheriting the exit code
<samueldr> >> error: undefined variable 'eyewitness' at /home/hotpi/.cache/nixpkgs-review/pr-102027-1/shell.nix:6:5
<samueldr> definitely not Nix
<cole-h> and that
<{^_^}> [nixpkgs] @ajs124 merged pull request #102164 → skype_call_recorder: drop → https://git.io/JTSw2
<{^_^}> [nixpkgs] @ajs124 pushed 2 commits to master: https://git.io/JT9z7
ris has quit [Ping timeout: 268 seconds]
hamishmack has quit [Ping timeout: 240 seconds]
acertain has quit [Ping timeout: 264 seconds]
gluegadget has quit [Ping timeout: 264 seconds]
robmyers has quit [Ping timeout: 264 seconds]
steveeJ has quit [Ping timeout: 240 seconds]
visl has quit [Read error: Connection reset by peer]
pittma has quit [Read error: Connection reset by peer]
jmercouris has quit [Read error: Connection reset by peer]
nick_h has quit [Ping timeout: 268 seconds]
chrisaw has quit [Ping timeout: 268 seconds]
raboof has quit [Read error: Connection reset by peer]
dmj` has quit [Read error: Connection reset by peer]
nand0p has quit [Read error: Connection reset by peer]
scoates has quit [Ping timeout: 240 seconds]
pittma has joined #nixos
zmacs has joined #nixos
rolodex________ has quit [Read error: Connection reset by peer]
mpickering has joined #nixos
steveeJ has joined #nixos
hamishmack has joined #nixos
acertain has joined #nixos
chrisaw has joined #nixos
gluegadget has joined #nixos
rolodex________ has joined #nixos
zot has quit [Ping timeout: 240 seconds]
robmyers has joined #nixos
nand0p has joined #nixos
raboof has joined #nixos
thoughtpolice has quit [Ping timeout: 264 seconds]
davidtwco has quit [Ping timeout: 264 seconds]
jmercouris has joined #nixos
scoates has joined #nixos
visl has joined #nixos
dmj` has joined #nixos
orbekk has quit [Ping timeout: 256 seconds]
thoughtpolice has joined #nixos
nick_h has joined #nixos
davidtwco has joined #nixos
Tritlo has joined #nixos
zot has joined #nixos
orbekk has joined #nixos
growpotk- has joined #nixos
<elvishjerricco> So I am SSH'd into a NixOS server, trying to use my GPG key to decrypt something, but I'm getting this: `gpg: public key decryption failed: No pinentry`
<elvishjerricco> After running this: `echo hi | gpg --encrypt -r elvishjerricco@gmail.com | gpg --decrypt`
<elvishjerricco> I'm pretty sure I've used GPG on this box before. What's going on?
davidv7 has quit [Ping timeout: 240 seconds]
ilmu has quit [Ping timeout: 268 seconds]
ilmu has joined #nixos
<elvishjerricco> I can use gpg on another machine of mine through ssh, so I don't know what's different
cjpbirkbeck has joined #nixos
cjpbirkb1 has quit [Ping timeout: 260 seconds]
<__red__> the problem is that gpg doesn't let you enter passwords using stdin
cjpbirkb1 has joined #nixos
<__red__> pinentry is an api which is used to allow you to pass your pin / password in
<__red__> elvishjerricco: did you install nixpkgs.pinentry?
<cole-h> worldofpeace: OK, #100136 LGTM. On my laptop I tried adding a file, referencing it, and got "access to path ... is forbidden in restricted mode", but it kept going a little further with `--impure`
<{^_^}> https://github.com/NixOS/nixpkgs/pull/100136 (by xaverdh, 2 weeks ago, open): nixos-install: pass through impure flag
cjpbirkbeck has quit [Ping timeout: 240 seconds]
cjpbirkb2 has joined #nixos
<elvishjerricco> __red__: No, and I also did not with the system where it *is* working.
whatisRT has joined #nixos
<cole-h> elvishjerricco: You didn't even enable `programs.gnupg.agent`?
<__red__> okay - I'm crashing after 48 hours of neing awake
<__red__> nite
<elvishjerricco> cole-h: I do have that enabled on both machines
cjpbirkb1 has quit [Ping timeout: 258 seconds]
<cole-h> Have you tried `gpg-connect-agent updatestartuptty /bye`?
<cole-h> And what is your pinentry flavor? I've found that gnome3 doesn't have a TTY fallback, but gtk2 does.
<elvishjerricco> cole-h: I have tried that. I have not configured pinentry flavor on either system. GPG falls back to TTY on the working machine when I'm using it over SSH
cjpbirkbeck has joined #nixos
<cole-h> Does it work if you do configure the pinentry? (Sorry, just spitballing things. Don't actually know what could be going on.)
dbmikus has joined #nixos
<elvishjerricco> cole-h: Unfortunately, I can't exactly test that because my frankenstein system uses this: https://elvishjerricco.github.io/2018/06/24/secure-declarative-key-management.html
<elvishjerricco> So I can't deploy a new nixos config because pass breaks and I can't evaluate my keys :P
growpotk- has quit [Quit: ZNC 1.8.2 - https://znc.in]
cjpbirkb2 has quit [Ping timeout: 260 seconds]
<elvishjerricco> Oh wait, backup plan: I can import the nixops config to the working system and deploy *from* there!
cjpbirkb1 has joined #nixos
cjpbirkbeck has quit [Ping timeout: 264 seconds]
growpotk- has joined #nixos
dbmikus has quit [Ping timeout: 268 seconds]
cjpbirkbeck has joined #nixos
da_dada has joined #nixos
cjpbirkb1 has quit [Ping timeout: 264 seconds]
dadada_ has quit [Ping timeout: 264 seconds]
johnny101 has quit [Quit: ZNC 1.8.1 - https://znc.in]
whatisRT has quit [Quit: ZNC 1.7.5 - https://znc.in]
cjpbirkb1 has joined #nixos
johnny101 has joined #nixos
cjpbirkbeck has quit [Ping timeout: 260 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
tsmanner has quit [Remote host closed the connection]
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
rgoswami has joined #nixos
veleiro` has quit [Ping timeout: 258 seconds]
johnny101 has quit [Quit: ZNC 1.8.1 - https://znc.in]
johnny101 has joined #nixos
quinn has joined #nixos
Dotz0cat has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/56e5f2a3518 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<elvishjerricco> So I'm trying to get a server to run over https using `services.nginx.virtualHosts.<name>.{enableACME,forceSSL} = true;` and `locations."/".proxyPass = "http://localhost:30000";`, but it's not allowing WebSocket connections.
<elvishjerricco> I have `proxyWebsockets = true;` but it didn't fix it
<Dotz0cat> I just got nixos installed in a kvm. it has nothing installed other than the extreme basics. what is the quickest way I can get the system up to the point it is graphical and I can do packaging?
z9004158 has joined #nixos
LnL- has joined #nixos
LnL- has quit [Changing host]
LnL- has joined #nixos
<z9004158> I have what is probably a really stupid question, please forgive my naivety. I would like to try and use nixos (the new release piqued my interest). I like to use 2bwm which requires editing it's config.h to one's liking. On another linux system, I can clone it from github, modify the file and make/install. But if I understand correctly, the file
<z9004158> structure of nixos is differnt. I see that 2bwm is in the community repo, if I install from there how may I edit the config.h?
<z9004158> Thank you in advance for any help.
LnL has quit [Ping timeout: 260 seconds]
rnea has quit [Ping timeout: 260 seconds]
<Dotz0cat> also to add I have never used nix or nixos until today
<jonringer> services.xserver.desktopManager.plasma5.enable = true; will get you setup up with a bunch of kdeApplications and plasma
<jonringer> there should be a commented-out line with the option in most base installs
<z9004158> DavHau[m]1Thank you so much for the prompt reply. I will work on this weekend.
<{^_^}> [nixpkgs] @Frostman opened pull request #102207 → hugo: 0.76.5 -> 0.77.0 → https://git.io/JT96v
<DavHau[m]1> Is there a way to generate a docker image with multiple services running inside? something like nixos-container but as a standalone docker image? I know arion, but arion isn't really standalone. It requires nix and a /nix/store on the host
johnny101 has quit [Quit: ZNC 1.8.1 - https://znc.in]
johnny101 has joined #nixos
ddellacosta has quit [Ping timeout: 264 seconds]
<elvishjerricco> Huh, even just forgoing nginx and pointing the original server at port 80 is blocking websockets.
<elvishjerricco> Does my router need to be forwarding a particular port?
Supersonic112 has joined #nixos
ryantrinkle has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
vika_nezrimaya has quit [Remote host closed the connection]
<elvishjerricco> Oh, no I think it's just operating unbearably slowly, so the ws connections timed out. It got there this time though.... But nothing seems to be the bottleneck. CPU is low, disk IO is low, network traffic is low.
<elvishjerricco> Client metrics are low as well
<{^_^}> [nixpkgs] @bhipple merged pull request #102198 → last: 1066 -> 1133 → https://git.io/JT9ch
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JT9i4
<{^_^}> [nixpkgs] @bhipple merged pull request #102197 → topgrade: 5.7.0 -> 5.8.1 → https://git.io/JT9nh
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JT9i0
ryantrinkle has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #102208 → linux: add flavor metadata → https://git.io/JT9ia
<{^_^}> [nixpkgs] @bhipple merged pull request #102183 → python-miio: fix → https://git.io/JT9IR
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JT9iQ
gnidorah has joined #nixos
<{^_^}> #100485 (by gnidorah, 2 weeks ago, open): iortcw: init at 1.51c
lordcirth has joined #nixos
<lordcirth> What's the best way to inject a secretfile into a nixos-container? Just cp it into the directory from the host?
Dotz0cat_ has joined #nixos
Dotz0cat has quit [Ping timeout: 240 seconds]
ryantrinkle has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #102206 → kmscon: add omasanori as a maintainer → https://git.io/JT9zB
<{^_^}> [nixpkgs] @veprbl pushed commit from @omasanori to master « kmscon: add omasanori as a maintainer (#102206) »: https://git.io/JT9PR
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos
ryantrinkle has quit [Ping timeout: 260 seconds]
Rusty1 has quit [Quit: WeeChat 2.3]
berberman has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @jonringer merged pull request #102208 → [20.09] linux: add flavor metadata → https://git.io/JT9ia
<{^_^}> [nixpkgs] @jonringer pushed to release-20.09 « linux: add flavor metadata »: https://git.io/JT9Pj
berberman has joined #nixos
rgoswami has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #100136 → nixos-install: pass through impure flag → https://git.io/JTfjd
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JT9X0
<cole-h> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 256
sangoma has joined #nixos
dbmikus has joined #nixos
ryantrinkle has joined #nixos
dbmikus has quit [Ping timeout: 264 seconds]
LnL- has quit [Quit: exit 1]
LnL has joined #nixos
Emantor has quit [Quit: ZNC - http://znc.in]
ryantrinkle has quit [Ping timeout: 264 seconds]
ldlework has quit [Ping timeout: 265 seconds]
Emantor has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
sss2 has quit [Quit: Leaving]
dramforever has joined #nixos
dramforever has joined #nixos
dramforever has quit [Changing host]
vonfry has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #101967 → buildFHSUserEnvBubblewrap: fix whitespace with root directories → https://git.io/JT1Du
<{^_^}> [nixpkgs] @jonringer pushed to master « buildFHSUserEnvBubblewrap: fix whitespace with root directories »: https://git.io/JT9Mr
<Dotz0cat_> well x is kicking me right now. I will get it working later today. I am gonna go to bed
<emily> I forget, does hydra build `unfreeRedistributable` packages?
<Mic92> hexa-: we do use the sandbox.
<{^_^}> [nixpkgs] @jonringer opened pull request #102209 → treewide: mark failing kernel modules broken → https://git.io/JT9M9
ldlework has joined #nixos
z9004158 has quit [Ping timeout: 245 seconds]
<worldofpeace> emily: doesn't seem like it
<emily> yeah, only firmware I guess
<{^_^}> [nixpkgs] @flyfloh opened pull request #102210 → [20.09] python-miio: fix → https://git.io/JT9Da
<{^_^}> [nixpkgs] @jonringer merged pull request #101003 → python3Packages.datasette: minimize test time → https://git.io/JTlur
<{^_^}> [nixpkgs] @jonringer pushed to release-20.09 « python3Packages.datasette: minimize test time »: https://git.io/JT9Do
<{^_^}> [nixpkgs] @jonringer merged pull request #101188 → python3Packages.tensorflow: break if gast not correct → https://git.io/JT0fx
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.tensorflow: break if gast not correct »: https://git.io/JT9DM
<{^_^}> [nixpkgs] @jonringer merged pull request #101812 → scripts/mark-broken: improve → https://git.io/JT6F5
<{^_^}> [nixpkgs] @jonringer pushed to master « scripts/mark-broken: improve »: https://git.io/JT9D9
growpotk- has quit [Ping timeout: 240 seconds]
drakonis has quit [Quit: ZNC 1.8.2 - https://znc.in]
kwork has quit [Remote host closed the connection]
multun_ has joined #nixos
multun has quit [Ping timeout: 272 seconds]
tcunha has quit [Ping timeout: 272 seconds]
tcunha_ has joined #nixos
drakonis has joined #nixos
kwork has joined #nixos
rotaerk has quit [Ping timeout: 272 seconds]
LnL has quit [Ping timeout: 240 seconds]
LnL- has joined #nixos
LnL- has quit [Changing host]
LnL- has joined #nixos
zupo has joined #nixos
<siraben> I'm not a cmake expert but this seems to cause linking issues when cross compiling for me https://github.com/NixOS/nixpkgs/blob/0544a7f672749c88b7569f49b33ed5f2437a2e15/pkgs/development/tools/build-managers/cmake/search-path.patch#L61
endformationage has quit [Ping timeout: 258 seconds]
<siraben> The commit responsible is https://github.com/NixOS/nixpkgs/commit/3a57356721f44b8369c09e54ccad97857fa593d4 which got rid of _cmake_sysroot_compile
Maxdamantus has quit [Quit: Lost terminal]
ilmu has quit [Ping timeout: 240 seconds]
ilmu has joined #nixos
nixnoob has joined #nixos
<nixnoob> is it possible to multi boot different linux OSs on different logical volumes on the same physical LVM partition?
palo1 has joined #nixos
cole-h has quit [Ping timeout: 272 seconds]
<jophish> Hi all
lerhyd has joined #nixos
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
<lerhyd> Hello. Could you help with a problem? I installed NixOS. To do this, I created 3 partitions: boot, swap, root. After the reboot, when I boot the system, I have this problem. Job is running until timeout and that's it. The system is no longer loading.
<Mic92> siraben: I don't see the issue yet in your build but if you set NIX_DEBUG=1 in your derivation than you get more output i.e. which compiler commands are run
rotaerk has joined #nixos
<siraben> Mic92: http://ix.io/2Cyx
<siraben> interestingly if I overrideAttrs with `NIX_DEBUG=1` then it builds
orivej has joined #nixos
<nixnoob> Can multiple distros be installed on different logical partitions of the same LVM primary partition?
callahad87074 has quit [Ping timeout: 260 seconds]
<Mic92> siraben: this error can h
<Mic92> can happen if you mess up linking arguments for example
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<Mic92> you might be interested in https://www.twitch.tv/videos/786561720 where we deep dived into stdenv
<Mic92> and it's compiling infrastructure
sb0_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/800ebd4561d (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<siraben> Mic92: cool, i'll bookmark
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/88480118e3e (from 62 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<sb0_> hi. nixos 20.09 doesn't seem to have binary substitutes for thunderbird and libreoffice, and compiling them takes a lot of resources. could the channel advance only when these packages are available in binary form?
<siraben> How do I take away a buildInput using overrideAttrs?
<Mic92> siraben: there might be something to filter list, but the easiest way is probably to just replace the old list with a new one.
<ar> nixnoob: yes
<siraben> Mic92: I don't understand why the build succeeds with NIX_DEBUG=1 but fails otherwise
<Mic92> siraben: me neither. you could use execsnoop from bpftrace to see if it changes arguments passed to ld: https://github.com/iovisor/bpftrace/blob/master/tools/execsnoop.bt
<siraben> Oh I just had to override `buildInputs = [];`, interesting
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ebe09a7ccc6 (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<nixnoob> ar thanks. and how about multibooting mixed os on the same LVM primary volume? eg, multibooting mac windows and linuxes on the logical volume. looks like it's possible.
<nixnoob> @ar thanks. and how about multibooting mixed os on the same LVM primary volume? eg, multibooting mac windows and linuxes on different logical volumes of the same LVM primary partition. looks like it's possible.
lerhyd has quit [Remote host closed the connection]
vonfry` has joined #nixos
vonfry has quit [Ping timeout: 268 seconds]
<nixnoob> of course, with gpt+uefi
sangoma has quit [Ping timeout: 256 seconds]
<siraben> Is it still a good idea to use NixOS/nix-channels for pinning?
McSinyx[m] has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #97622 → nixos/postgresql: fix inaccurate docs for authentication → https://git.io/JUCmT
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @lf- to master « nixos/postgresql: fix inaccurate docs for authentication (#97622) »: https://git.io/JT9Q5
nixnoob has quit [Ping timeout: 245 seconds]
<McSinyx[m]> I'm sorry if this is obvious in the docs, but how do I install nonfree firmware for my wifi on the installation live media?
<ar> nicolas[m]: windows and macos don't support lvm
CMCDragonkai1 has joined #nixos
<ar> erm
<ar> oh, nixnoob left
<ar> nicolas[m]: sorry, tabfail
<McSinyx[m]> let me phrase it differently, how do install intel2200BGFirmware on a nixos system that the only data transfer I have is another flash drive?
mzcore_ has joined #nixos
sb0_ has quit [Quit: Leaving]
<etu> siraben: For old things, sure it doesn't matter. For new things, no, because it doesn't update.
<siraben> I chose the latest commit from https://status.nixos.org/ , is that good?
<siraben> The wiki says the cache populates too
<etu> That's fine, because that means it passed the tests
<siraben> Great
<siraben> What kinds of tests? It's not the case that every package succeeds
<Jezhehim[m]> So the database that gets used by [{^_^}](https://matrix.to/#/@freenode_{^_^}:matrix.org) when I do something like ",locate ping"...
<etu> siraben: it depends if it's a nixos-* or nixpkgs-* channel. A nixos-* channel perform tests for important operating system functions, like bootloaders, etc. The other one is just a bunch of packages. Then it should also attempt to build all packages.
teto has joined #nixos
<siraben> I see
<{^_^}> [nixpkgs] @worldofpeace merged pull request #101438 → graalvm8-ee, graalvm11-ee: 20.0.0 -> 20.2.1 → https://git.io/JT2qY
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JT95C
alp_ has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #101972 → Revert #101058 coq: propagate and install ocaml and findlib → https://git.io/JT1Qr
<{^_^}> [nixpkgs] @vbgl pushed to master « Revert "coq: propagate and install ocaml and findlib" »: https://git.io/JT95D
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
<McSinyx[m]> I don't have ethernet if that's what you mean
mzcore_ has quit [Remote host closed the connection]
<McSinyx[m]> also it's i686 and the laptop I'm using right now is amd64, and I'm willing to build an image for the i686 machine if that's possible
mzcore_ has joined #nixos
alp_ has quit [Ping timeout: 268 seconds]
<worldofpeace> infinisil: explain to me what this is https://github.com/Infinisil/nixexprs/blob/inf1/default.nix#L2 ? I see other code referencing nixexprsLib, but I don't see what that is...
<worldofpeace> (also forgive me for being a code stalker in this moment, this repo on my github TL was interesting)
alp_ has joined #nixos
mvnetbiz_9 has quit [Ping timeout: 260 seconds]
mvnetbiz_9 has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
sangoma has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #102212 → ocamlPackages.mirage-profile: init at 0.9.1 → https://git.io/JT9dD
jonringer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @nlewo opened pull request #102213 → Support journal gatewayd → https://git.io/JT9dp
zupo has joined #nixos
<matthewcroughan_> colemickens: you mentioned you don't like the format you give git urls in to flakes.
<matthewcroughan_> Well, the actual git config works like this.
meatcar has quit [Quit: bye bye.]
<matthewcroughan_> any .git/config shows `url = git@github.com:username/repo.git`
meatcar has joined #nixos
mananamenos has joined #nixos
<colemickens> Huh?
jonbryan has quit [Quit: WeeChat 1.9.1]
ghasshee[m] has quit [Quit: Idle for 30+ days]
mkg20001 has quit [Quit: Idle for 30+ days]
cab404[m] has quit [Quit: Idle for 30+ days]
bjtitus[m] has quit [Quit: Idle for 30+ days]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/88480118e3e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<colemickens> The format flakes and git uses are not the same?
codygman has quit [Read error: Connection reset by peer]
alp_ has quit [Ping timeout: 264 seconds]
davidv7 has joined #nixos
<siraben> Anyone managed to get https://github.com/nix-community/linuxkit-nix to work on macOS Catalina and up
<siraben> ?
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
amfl_ has joined #nixos
amfl has quit [Ping timeout: 264 seconds]
amfl_ is now known as amfl
eoli3n has quit [Ping timeout: 265 seconds]
dramforever has quit [Quit: Leaving]
sevenfourk has joined #nixos
solene has quit [Remote host closed the connection]
solene has joined #nixos
eoli3n has joined #nixos
<siraben> Got it to work, had to `sudo mkdir /etc/nix`, this should be in the readme somehow
<{^_^}> [nixpkgs] @jtojnar pushed 0 commits to gnome-3.38: https://git.io/JUERz
<{^_^}> [nixpkgs] @jtojnar reopened pull request #101537 → gtk3: Use tracker3 for search → https://git.io/JTVi2
kreyren has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar reopened pull request #99188 → Giara init → https://git.io/JUyvb
<{^_^}> [nixpkgs] @jtojnar pushed 0 commits to gnome-3.38: https://git.io/JTr3z
sss2 has joined #nixos
nschoe has joined #nixos
kreyren has joined #nixos
dbmikus has joined #nixos
<{^_^}> [nixos-hardware] @sevenfourk opened pull request #201 → macbook-pro/12-1: added link → https://git.io/JT9Ap
<bqv> colemickens: strong support for native-pgtk. i was torn between the two forks, and picked native-comp, until i found that repo
dbmikus has quit [Ping timeout: 264 seconds]
vonfry` has quit [Quit: ERC (IRC client for Emacs 27.1)]
<nschoe> Hi all!
<nschoe> I'm trying to use the latest 'st' version (0.8.4) and they seem to have added the "universalscroll" plugin, which seems to require 'scroll' AFAIU.
<nschoe> but I can't seem to find 'scroll' in nixos, am I missing it?
<{^_^}> [nixos-hardware] @sevenfourk closed pull request #201 → macbook-pro/12-1: added link → https://git.io/JT9Ap
andi- has quit [Ping timeout: 260 seconds]
fendor has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
m0rphism has joined #nixos
andi- has joined #nixos
<{^_^}> [nixpkgs] @Atemu opened pull request #102215 → undervolt: expose power limits as Nixopts → https://git.io/JT9x9
<{^_^}> [nixpkgs] @gebner opened pull request #102216 → qt5: 5.15.0 -> 5.15.1 → https://git.io/JT9xb
sevenfourk has quit [Remote host closed the connection]
<{^_^}> [nixos-hardware] @sevenfourk opened pull request #202 → macbook: added option for swapped cmd and opt → https://git.io/JT9pn
rprije has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #99929 → slack: 4.9.0 -> 4.10.3 → https://git.io/JUxrh
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JT9pu
<{^_^}> [nixpkgs] @mmahut merged pull request #102152 → ledger-live-desktop: 2.14.0 -> 2.15.0 → https://git.io/JTScA
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JT9p2
<{^_^}> [nixpkgs] @pkern opened pull request #102217 → exim: unconditionally build with dsearch lookups enabled → https://git.io/JT9p9
cjpbirkb1 has quit [Quit: Goodbye, take care]
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @ehmry opened pull request #102218 → tup: 0.7.9 -> 0.7.10 → https://git.io/JT9h6
<Taneb> I guess no-one much cares these days about things being a little broken in 18.09
<hexa-> yeah, that's a bit old
<Taneb> I should really get this system upgraded
<infinisil> worldofpeace: Hehe, I can't tell you that atm, but you'll know eventually :)
civodul has joined #nixos
gthm has quit [Ping timeout: 264 seconds]
<betawaffle> any idea what might be going on with this? https://paste.sr.ht/~betawaffle/90c501a0683d5a90c2c74eacd6ced111b173061a
<betawaffle> it's still running 19.09.1590.d85e435b7bd
dansho has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #102199 → i3status-rust: 0.14.1 -> 0.14.2 → https://git.io/JT9C7
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JT9jQ
ris has joined #nixos
mananamenos has quit [Ping timeout: 260 seconds]
nschoe has quit [Ping timeout: 240 seconds]
nschoe has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #102219 → vgrep: 2.4.0 -> 2.5.0 → https://git.io/JTHvL
<supersandro2000> betawaffle: I guess it is missing a directory
<supersandro2000> Failed at step NAMESPACE spawning /nix/store/x58q7zabmnkq0qall5d72d396fxmz8cd-systemd-243.3/lib/systemd/systemd-resolved: No such file or directory
<betawaffle> i think it was out of disk space (oops)
<betawaffle> i turned on auto updates, but think i forgot auto gc
dansho has quit [Ping timeout: 260 seconds]
<supersandro2000> you could also turn on auto symlinking
<nschoe> Wow, I just discovered 'nix edit -f "<nixpkgs>" pkg-name'. That's a time saver:)
<{^_^}> [nixpkgs] @Uthar opened pull request #102221 → nixos/fossil-server: init → https://git.io/JTHfT
<supersandro2000> I wish it could cache the file location or somehow work if the file is not valid nix
sss2 has quit [Quit: Leaving]
<nschoe> supersandro2000: oh?
stevenleiva has joined #nixos
ardumont has quit [Ping timeout: 260 seconds]
<stevenleiva> Hi everyone. I installed nix by using "sh <(curl -L https://nixos.org/nix/install) --daemon", but I was a bit distracted when doing so. I think it completely successfully, but I know there are some instructions that I had to follow to make `niv-env` and other binaries available in my $PATH.
stevenleiva is now known as stevenxl
<{^_^}> [nixpkgs] @zimbatm opened pull request #102222 → pythonPackages.pip: make reproducible → https://git.io/JTHfB
<stevenxl> Does anyone know what the instructions at the end are?
<stevenxl> I don't have any of the `.nix` directories that I was expecting to see (/home/steven/.nix-profile /home/steven/.nix-defexpr /home/steven/.nix-channels), but maybe these are created later on.
stevenxl has quit [Quit: leaving]
__monty__ has joined #nixos
<nschoe> steve[m]: I think it's explained in one of the earlier nix pills here: https://nixos.org/guides/nix-pills/index.html
<{^_^}> [nixpkgs] @flyfloh opened pull request #102223 → lexicon: 3.4.3 -> 3.4.4 → https://git.io/JTHJL
<solene> I'm trying to compile a simple C program only requiring ncurses lib, should I lurk where ncurses is in /nix/store and pass it to -I flag or is there a better way?
ardumont has joined #nixos
<solene> nix-shell -p ncurses <3
<{^_^}> [nixpkgs] @zowoq merged pull request #102219 → vgrep: 2.4.0 -> 2.5.0 → https://git.io/JTHvL
<{^_^}> [nixpkgs] @zowoq pushed to master « vgrep: 2.4.0 -> 2.5.0 »: https://git.io/JTHJg
<{^_^}> [nixpkgs] @Uthar opened pull request #102224 → Add services.murmur options: iniPath, config, user, group → https://git.io/JTHJ2
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b52da4e6410 (from 19 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
hjarvard has joined #nixos
<__monty__> solene: The "proper" way would be to write an expression that has ncurses in the buildInputs.
seku has joined #nixos
<solene> __monty__: indeed but I thought there was a simpler way for such a situation
<LnL-> that's what -p does
<LnL-> but building stuff using nix-shell dependencies does have the caveat that nix won't know the dependencies are needed by the resulting binary
<__monty__> Nothing wrong with a quick one-off nix-shell. It's just that it often turns out you'll end up reusing that one-off bunches of times and then you've ended up without a paper trail and no effort spared.
LnL- is now known as LnL
<nschoe> Hey everyone, I've got a quick question: I want to use an older (different) version of a program in my environementPkgs (it's st).
<nschoe> - using an overlay
<nschoe> - using st.overrideAttrs and change the src attribute
<nschoe> - cloning the repo and using callPackage to it (inside my systemPackages)
<nschoe> I'm pondering the "best", "correct" way of doing so, I've thought about:
gnidorah has quit [Quit: Connection closed for inactivity]
<nschoe> I've been reading the overlay manual page, and some posts about it. I'm not sure what they would bring on top of simply using overrideAttrs. Except that, if done properly, the modified package can be "broadcast" to the rest of the nix tools.
<nschoe> But essentially, from what I can read, inside overlys we use .override or .overrideAttrs. So I was wondeing about the difference :/
<roberth> nschoe: sounds like you understand overlays. .override changes the inputs to a package, whereas .overrideAttrs changes the output, the derivation directly
dansho has joined #nixos
<roberth> nschoe: I don't think you need an overlay for this, because you have a single place where you want to use it, which is easy to set in your configuration.nix
<roberth> as opposed to an override to a library for example
<nschoe> roberth: oh I would not dream of saying that I "understand overlays". But this overlay vs packageOverride vs .override vs ... had been bugging me for a logn time. So I finally took the tiem to read a bit more about them.
<nschoe> From what I can read, and from this talk (https://www.youtube.com/watch?v=W85mF1zWA2o) which I only started to watch, it seeems overlays are the nw and correct way of doing things.
<__monty__> Yes, overlays compose while overrides don't.
<nschoe> roberth: okay so basically it makes sense to simplye have something like (st.overrideAttrs {...}) in my systemPackages rather than an overlay because it's just about installing st and it's unlikely st will be used as input for any other derivation. But if it was a library, then it would make more sense. Am I correct?
<nschoe> (Sorry trying to make sure I'm not mistken)
<nschoe> __monty__: just ot make sure, when you say "overrides", you're talking about doing 'pkg.override' and/or 'pkgs.overrideAttrs', right?
<siraben> solene: you can easily write a short derivation for your C program
<nschoe> Oh there's this 'overrides' (with an 's' at the end) which I came across sometimes, and still don';t understand.
<roberth> nschoe: that's right. That way you don't have to think about overlays and you won't accidentally affect other parts of your system (which could be good or bad)
<__monty__> Mostly the former. You're right though that for things you won't compose anyway that it doesn't matter much. I'm not even sure you can do overrideAttrs with an overlay.
<roberth> nschoe: perhaps you're thinking of packageOverrides? That's an old thing, basically a single overlay
<{^_^}> [nixpkgs] @poscat0x04 closed pull request #81876 → fix #81873: xsession file generated for xmonad blocks on xmonad if the configuration is set → https://git.io/Jvwm4
<nschoe> roberth: https://nixos.wiki/wiki/Overlays says you can (see example of "Overriding a version")
<nschoe> roberth: maybe. Okay so I can forget about packageOverrides. Good.
<nschoe> roberth: what if (as it's the case with 'st') I need both to change an input ('patches' in my case) and attributes ('src')?
<solene> siraben: I'll look, it's a good exercise
<{^_^}> [nixpkgs] @luc65r opened pull request #102225 → Add fetcher: fetchFromSourcehut → https://git.io/JTHTa
<roberth> nschoe: .override first, because that will return a package with the same "interface". I don't think the result of .overrideAttrs supports .override, but I may be wrong about that
luc65r has joined #nixos
<nschoe> roberth: okay. And is that 'normal' practise/
<nschoe> ?
<roberth> nschoe: so you'll have (st.override f).overrideAttrs g
<roberth> nschoe: as normal as it gets ;)
<nschoe> So I'm not the only oen doign this, and I'm not messing up ?^^
<siraben> solene: good luck, ping me if you have ant questions
<siraben> any*
<roberth> if you do have ant questions, I guess there's #nixos-jvm ;)
dansho has quit [Ping timeout: 265 seconds]
<nschoe> -jvm ?
<roberth> it's a channel for nix + the java ecosystem. ant is a build tool for java
<roberth> nschoe: the overrides will do their thing and the most likely way it will fail is a build error because a patch didn't apply or the expression in Nixpkgs has become incompatible with your src version. The kind of thing that requires manual intervention anyway
<nschoe> roberth: okay, so if there's manual intervention, then it's repo-cloning, manual patch aplpying and then calling callPackages, right?
<{^_^}> [nixpkgs] @Atemu opened pull request #102226 → mlterm: darwin support → https://git.io/JTHkL
<roberth> nschoe: yeah you'd have to fix your patch that way
<roberth> nschoe: I assumed you want the base version to be from Nixpkgs, but you could also just maintain your own fork in git
<NinjaTrappeur> 0/ I'm trying to run obs studio on Sway (wayland). I currently cannot see any videofeed. The obs documentation is specifying the program is not compatible with wayland. I'd like to force it to use the x11 backend (through xwayland). I there a specific Qt env variable to set to do that?
<nschoe> roberth: well I wanted to keep the base version in nix indeed...
<{^_^}> [nixpkgs] @tuxinaut opened pull request #102227 → vimPlugins: update → https://git.io/JTHkM
<nschoe> Well I'll see. Thansk for the help:)
<NinjaTrappeur> cc colemickens ^ (saw your name on the obs issuetracker)
<NinjaTrappeur> Answering my own question: QT_QPA_PLATFORM=xcb
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #102228 → rubocop: 0.77.0 -> 1.1.0 → https://git.io/JTHIL
<{^_^}> [nixpkgs] @jtojnar pushed to staging-next « libical: skip timezone tests »: https://git.io/JTHIm
<{^_^}> [nixpkgs] @Ma27 pushed commit from @evalexpr to release-20.09 « i3status-rust: 0.14.1 -> 0.14.2 »: https://git.io/JTHLY
rnea has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #101970 → [20.09] zfs-replicate: 1.1.14 -> 1.2.3 → https://git.io/JT1yE
<{^_^}> [nixpkgs] @srhb pushed 3 commits to release-20.09: https://git.io/JTHLz
emmanuel_erc has quit [Ping timeout: 272 seconds]
rgoswami has joined #nixos
<{^_^}> [nixpkgs] @tuxinaut opened pull request #102229 → vimPlugins.SudoEdit-vim: init at 2020-02-27 → https://git.io/JTHtV
justanotheruser has joined #nixos
nschoe has quit [Ping timeout: 258 seconds]
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @AluisioASG opened pull request #102230 → libretro.mame*: fix build on Darwin → https://git.io/JTHqY
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 2.4.4 -> 2.4.5 »: https://git.io/JTHq6
nschoe has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #102231 → neovim: revert change to extraMakeWrapperArgs → https://git.io/JTHmq
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Chiliparrot has joined #nixos
nschoe has quit [Ping timeout: 240 seconds]
nwspk has quit [Quit: nwspk]
<{^_^}> [nixpkgs] @vcunat pushed 854 commits to staging-next: https://git.io/JTHYC
nwspk has joined #nixos
nwspk has quit [Client Quit]
nwspk has joined #nixos
nwspk has quit [Client Quit]
alexherbo2 has joined #nixos
gerschtli has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nix-mode] @TristanCacqueray opened pull request #114 → nix-shell: skip non-default packages integration → https://git.io/JTHYx
gerschtli has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2da96f3f9c4 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nwspk has joined #nixos
nwspk has quit [Client Quit]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nwspk has joined #nixos
ddellacosta has joined #nixos
is_null has joined #nixos
nschoe has joined #nixos
alexherbo2 has quit [Ping timeout: 272 seconds]
Dmac has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102232 → exodus: 20.8.28 -> 20.10.23 → https://git.io/JTHG4
Dmac has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm merged pull request #90322 → zplugin: init at 2.3 → https://git.io/JfQPr
<{^_^}> [nixpkgs] @ryantm pushed 3 commits to master: https://git.io/JTHGD
jabster28 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102233 → dgraph: 20.07.1 -> 20.07.2 → https://git.io/JTHGb
rgoswami has quit [Ping timeout: 260 seconds]
bennofs1 has joined #nixos
emmanuel_erc has joined #nixos
<emmanuel_erc> Hello there. I want to know if this is risky or not. I'm currently using an amazon ec2 instance but I'd like to host "/nix" on a separate volume (namely an EBS volume).
alexherbo2 has joined #nixos
<emmanuel_erc> Would it be advised for me to simply mount the drive at "/nix" (even if there is stuff already there?)
tenniscp25 has joined #nixos
gthm has joined #nixos
endformationage has joined #nixos
Chiliparrot has joined #nixos
whatisRT has joined #nixos
rgoswami has joined #nixos
gthm has quit [Ping timeout: 260 seconds]
sangoma has quit [Read error: Connection reset by peer]
xwvvvvwx has quit [Quit: ZNC 1.8.2 - https://znc.in]
xwvvvvwx has joined #nixos
sangoma has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « packer: 1.6.4 -> 1.6.5 »: https://git.io/JTHn0
Acou_Bass has quit [Ping timeout: 240 seconds]
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @zimbatm opened pull request #102234 → nixos/manual: make reproducible → https://git.io/JTHn7
Acou_Bass has joined #nixos
ManiacOfMadness has quit [Ping timeout: 268 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
jabster28 has quit [Ping timeout: 260 seconds]
<siraben> How do I output multiple binaries with https://nix.dev/tutorials/continuous-integration-github-actions.html ?
veleiro has joined #nixos
katrin has quit [Quit: mewp]
jabster28 has joined #nixos
<crazazy[m]> You can build an attribute set of derivations, which will then make nix build multiple binaries. For reference I'm personally doing that here: https://github.com/crazazy/nixos-config/blob/master/.github/workflows/cachix.yml. note that nix wont evaluate attribute sets within your attribute set however
<{^_^}> [nixpkgs] @symphorien opened pull request #102235 → WIP: Paperwork 2.0 → https://git.io/JTHCq
tcunha_ is now known as tcunha
nschoe has joined #nixos
pbb has quit [Remote host closed the connection]
waleee-cl has joined #nixos
kloenk has joined #nixos
pbb has joined #nixos
<{^_^}> [nixos-hardware] @oxzi opened pull request #203 → lenovo/thinkpad/x260: use services.tlp.settings → https://git.io/JTHCS
<{^_^}> [nixos-hardware] @oxzi opened pull request #204 → lenovo/thinkpad/x260: i915.enable_psr=0 parameter → https://git.io/JTHCQ
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.09 « packer: 1.6.4 -> 1.6.5 »: https://git.io/JTHCx
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/eea96e1139b (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<siraben> crazazy: thanks, i'll take a look
<{^_^}> [nixpkgs] @Ma27 merged pull request #102228 → rubocop: 0.77.0 -> 1.1.0 → https://git.io/JTHIL
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JTHWL
stree has quit [Quit: Caught exception]
stree has joined #nixos
symphorien[m] has joined #nixos
<siraben> As in, will `run: nix build --arg release true -f . -L foo bar baz` also push it to cachix?
<{^_^}> [nixpkgs] @Izorkin opened pull request #102236 → nftables: 0.9.6 -> 0.9.7 → https://git.io/JTHWj
jabster28 has quit [Ping timeout: 246 seconds]
<emmanuel_erc> Ok, so I found this page https://nixos.wiki/wiki/Storage_optimization . There is a section called "Moving the store". I think this is what I want. However, I don't follow what they mean in steps 3 and 7.
ManiacOfMadness has joined #nixos
<emmanuel_erc> Can anyone care to clarify these points. I'm miffed.
jabster28 has joined #nixos
mananamenos has joined #nixos
stree has quit [Quit: Caught exception]
<crazazy[m]> siraben: yea that seems to work out, I think
stree has joined #nixos
<{^_^}> [nixpkgs] @oxzi opened pull request #102237 → nixos/tlp: Fix deprecation hint → https://git.io/JTHll
<{^_^}> [nixpkgs] @oxzi opened pull request #102238 → platformio: 5.0.1 -> 5.0.2 → https://git.io/JTHl8
<{^_^}> [nixpkgs] @oxzi opened pull request #102239 → golangci-lint: 1.32.0 -> 1.32.1 → https://git.io/JTHl4
<siraben> crazazy: Ok. Will the build times improve after the first one? Presumably the cache would be updated
<sorear> emmanuel_erc: look up "bind mount", i.e. "mount --bind /mnt /nix" "mount --bind / /old_root"
jabster28_ has joined #nixos
<siraben> Looks like GH actions is currently rebuilding the cross-compilers
jabster28 has quit [Ping timeout: 258 seconds]
<sorear> although the instructions could be simplified with unshare
<supersandro2000> siraben: I think that can take a while
<siraben> Should probably go to bed and check in the morning then, thanks all!
<Akira[m]> can i circumvent a nix-shell deprecated error?
<infinisil> nix-shell is deprecated?
<Akira[m]> no lol
<Akira[m]> my ruby version is
<Akira[m]> ruby_2_4
<infinisil> Gotta be specific!
<Akira[m]> sorreh >_>
<{^_^}> [nixpkgs] @Izorkin opened pull request #102240 → unit: 1.19.0 -> 1.20.0 → https://git.io/JTHlS
<infinisil> Akira[m]: Can you not use a newer one?
<Akira[m]> do I have to...?
<infinisil> No, but that is the recommended way
cyraxjoe has joined #nixos
<infinisil> If you really have to use an older deprecated version, the best way is to use an older nixpkgs version
<Akira[m]> hmmm
<Akira[m]> ok
whatisRT has quit [Read error: Connection reset by peer]
MightyJoe has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #102241 → emacs: make ImageMagick dependency optional in Emacs≥27 → https://git.io/JTH8C
kevincox[m] has quit [Quit: Idle for 30+ days]
<symphorien[m]> how can I run the editorcheck CI run locally ?
<symphorien[m]> I think the one you use was removed
<siraben> Anyone here dual boot with NixOS and other distro/macOS and managed to get a shared Nix store to work?
<siraben> Is it possible?
xelxebar has quit [Ping timeout: 240 seconds]
<infinisil> siraben: I don't do that myself, but there's no reason it shouldn't work
ManiacOfMadness` has joined #nixos
<infinisil> Just use the same /nix or /nix/store partition in both distros
<siraben> I wonder if garbage collecting will screw things up though
<siraben> And is there a requirement on the filesystem of `/nix`?
<siraben> exFAT should work, for instance?
<infinisil> Yeah so it should be a shared /nix
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JTH8b
ManiacOfMadness has quit [Ping timeout: 240 seconds]
<infinisil> Because gc roots are in /nix/var/nix/gcroots
jabster28_ has quit [Ping timeout: 260 seconds]
<infinisil> Can be any filesystem
ManiacOfMadness` has quit [Client Quit]
<roberth> siraben: infinisil : indirect gc roots will break though
<infinisil> Oh good point
<siraben> Hm, and given Nix's space usage this will quickly fill up over time
<siraben> I currently have macOS and NixOS dual booted
<roberth> nah it will break in the other direction, of having too little rather than too much
<infinisil> roberth: Though, indirect gc roots are mostly temporary anyways, probably not abig problem
<supersandro2000> symphorien[m]: https://github.com/nektos/act
<{^_^}> [nixpkgs] @luc65r opened pull request #102242 → Pkg/greetd → https://git.io/JTH4v
rgoswami has quit [Ping timeout: 264 seconds]
<roberth> infinisil: depends on your workflow I guess
xelxebar has joined #nixos
* infinisil nods
<symphorien[m]> is docker really required, supersandro2000 ?
<siraben> How does the GC work internally? Any sort of "reference counting" in the store?
<MichaelRaskin> I guess one could also share a directory that is divided in different container\s
<supersandro2000> symphorien[m]: if you want to run the exact check but you could also dig up how that github action works
<MichaelRaskin> containers' personal spaces for gcroots?
<supersandro2000> and yeah, github actions uses containers
<symphorien[m]> I think I use the new cgroupv2 hierarchy
<supersandro2000> *docker
ManiacOfMadness has joined #nixos
justanotheruser has quit [Ping timeout: 264 seconds]
davidv7 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @KaiHa opened pull request #102243 → git-mediate: remove broken → https://git.io/JTH4o
philr has quit [Ping timeout: 272 seconds]
mschwaig has quit [Read error: Connection reset by peer]
mschwaig has joined #nixos
veleiro has quit [Ping timeout: 246 seconds]
<nschoe> Sorry guys, quick question, just to make sure, what would one usually put in "~/.zshrc" goes into 'programs.zsh.interactiveShellInit' options, right? (Except aliases which go inso shellAliases).
<nschoe> For for instance, I'm looking to put 'eval $(dircolors ~/.dir_colors)'. It's the right nixos optiosn?
jonringer has joined #nixos
<qyliss> nschoe: yeah I think that's right
<qyliss> zshrc is the file that's loaded iff the shell is interactive
<nschoe> qyliss: thanks.
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @nlewo closed pull request #102213 → Support journal gatewayd → https://git.io/JT9dp
<{^_^}> [nixpkgs] @marsam merged pull request #101986 → grafana-loki: 1.6.1 -> 2.0.0 → https://git.io/JTMvo
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTHB8
aleph- has quit [Ping timeout: 260 seconds]
aleph- has joined #nixos
ManiacOfMadness has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #102207 → hugo: 0.76.5 -> 0.77.0 → https://git.io/JT96v
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JTHB6
<ejpcmac> Hi! I’m just updating a workstation to nixos-20.09, and there are some huge applications to compile (like LibreOffice, Thunderbird and so). Is this normal on the full channel?
<{^_^}> [nixpkgs] @Uthar closed pull request #102224 → nixos/murmur: add iniPath, config, user, group options → https://git.io/JTHJ2
<ejpcmac> I mean, on the -small one, this is expected, but these apps should be in the Hydra job for the full channel, aren’t they?
<MichaelRaskin> Not normal in general, can happen under some circumstances, known problem this time
alexherbo24 has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo24 is now known as alexherbo2
rnea has quit [Ping timeout: 264 seconds]
<ejpcmac> Mmm. And what’s the cause?
<ejpcmac> Hydra overload?
<MichaelRaskin> Basically, there are packages where build has to end but it doesn't matter what's the outcome, channel will advance
<MichaelRaskin> And apparently there was an infrastructure problem
<MichaelRaskin> And many jobs ended up aborted
<ejpcmac> I see. And this time the whole channel takes more time to compile.
<ejpcmac> Ok.
<ejpcmac> Thanks for the explanation :)
<nschoe> I've tried this on a running shell and it works okay.
<nschoe> Hum, anyidea why 'test -r ~/.config/.dir_colors && eval $(dircolors ~/.config/.dir_colors)' doesn't work when I put it inside programs.zsh.interactiveShellInit?
<nschoe> I've also replaced the 'test ... && eval $(...' by just the 'eval $(...)' part, and it doesn't work either.
<nschoe> Is it the '$(' syntax, causign issues?
<MichaelRaskin> nschoe: I would start by reading the generated file
<luc65r> nschoe: you need double quotes
<nschoe> MichaelRaskin: ah, good idea. How can I get its path?
<nschoe> luc65r: I currently have this is two single quotes.
<MichaelRaskin> I would just look for anything starting with z in /etc
<luc65r> nschoe: in single quotes $() doesn't expand
asbachb has joined #nixos
<nschoe> MichaelRaskin: thanks, found it.
<nschoe> luc65r: okay I'm tryign now :)
<nschoe> luc65r: it doesn't work either.
<nschoe> But I guess it makes sense: I don't need to $() to be expanded in nixworld: I just need this to be written in the /etc/zshrc file.
<nschoe> Because that's zsh which will execute this.
<{^_^}> [nixpkgs] @nlewo opened pull request #102244 → Re-enable the Systemd remote support → https://git.io/JTHRo
cole-h has joined #nixos
<asbachb> Hi. Which hydra job is refelctin nixos-unstable channel?
<{^_^}> [nixpkgs] @badmutex opened pull request #102245 → vivaldi: 3.3.2022.47-1 -> 3.4.2066.90-1 → https://git.io/JTH0C
<supersandro2000> ashkitten: I guess the last successful in https://hydra.nixos.org/jobset/nixpkgs/trunk
<supersandro2000> that should be the staging branch which is for big rebuilds which could break things
<asbachb> supersandro2000 I'm a little bit puzzled why unstable is trying to build ffmpeg.
<asbachb> + it seems that it does not contain that patch: https://github.com/NixOS/nixpkgs/pull/101994
<{^_^}> #101994 (by peterhoeg, 2 days ago, merged): ffmpeg-full: patch for libsrt deprecated API
<supersandro2000> Build Status for nixpkgs.ffmpeg.x86_64-linux on unstable
<supersandro2000> ✔ ffmpeg-4.3.1 from 2020-10-22 - https://hydra.nixos.org/build/128855444
<supersandro2000> it shouldn't
<{^_^}> [nixpkgs] @jonringer merged pull request #101363 → pythonPackages.toolz: 0.10.0 -> 0.11.1 → https://git.io/JTgfW
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JTH0i
growpotkin has joined #nixos
<supersandro2000> that might be because it isn't advanced yet
<supersandro2000> but I forgot where to check that
<supersandro2000> which is 5 days old
<{^_^}> [nixpkgs] @jonringer merged pull request #102227 → vimPlugins: update → https://git.io/JTHkM
<{^_^}> [nixpkgs] @jonringer pushed commit from @tuxinaut to master « vimPlugins: update »: https://git.io/JTHE3
<asbachb> supersandro2000 can you tell me in which case changes are merged into nixos-unstable?
<bqv> if i eval config.systemd.services.nix-daemon, there is nothing in script or ExecStart, because it's all an actual .service file
<bqv> funny, because i remember just last night seeing a reddit post where someone asserted that nixpkgs doesn't use .service files
<bqv> except for at least, y'know, nix itself
<bqv> :D
<bqv> now excuse me while i figure out how to import a nix file
<{^_^}> [nixpkgs] @prusnak opened pull request #102247 → uutils-coreutils: Use Python3 sphinx for docs → https://git.io/JTHEr
<supersandro2000> asbachb: I think we the hydra builds successful. At around midnight there is sometimes a message here when it advanced
<supersandro2000> did so last night for 20.09 IIRC
m3thos has quit [Remote host closed the connection]
malook has joined #nixos
<siraben> How do I check if the cachix push suceeded?
<asbachb> supersandro2000 https://status.nixos.org/ is mentioning "Build problem"
ManiacOfMadness has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #102248 → ndn-cxx: 0.6.3 -> 0.7.1 → https://git.io/JTHu3
<supersandro2000> asbachb: that we already know or otherwise it would have advanced in the last days
<asbachb> supersandro2000 What I don't understand why nixos-unstable is on a state where a package is unable to build. Shouldn't a broken build prevent from beeing merged into nixos-unstable?
<supersandro2000> asbachb: is it unfree?
Dotz0cat_ has quit [Ping timeout: 272 seconds]
<qyliss> asbachb: sometimes packages can be broken because a dependency updates
<qyliss> and testing every dependent of packages with a lot of them isn't feasible
<bqv> this one's a pain to search. is there a preferred way to import an ini file into nix?
rgoswami has joined #nixos
<qyliss> builtins.fromTOML, if it's valid TOML
<qyliss> otherwise it might be difficult
<bqv> wait, ini is a toml subset?
<asbachb> supersandro2000 I'm unsure if it's unfree.
ManiacOfMadness has quit [Ping timeout: 265 seconds]
<asbachb> qyliss: Ah in case an ffmpeg dependency is updated that change does not trigger ffmpeg to rebuild.
<{^_^}> [nixpkgs] @nh2 merged pull request #97512 → nixos/modules: fix systemd start rate-limits → https://git.io/JUcnx
<{^_^}> [nixpkgs] @nh2 pushed 5 commits to master: https://git.io/JTHzv
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/eea96e1139b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<supersandro2000> nvm ffmpeg should be free. Already dropt that context.
<bqv> qyliss: i don't suppose there's a common and more reliable way
<qyliss> don't believe so
<qyliss> ini isn't really a well-defined format
<bqv> darn
<qyliss> and without IFD you need to parse strings in Nix, which is very slow, or use a builtin
<qyliss> so in practice your options for importing into Nix are only JSON and TOML
<qyliss> ffmpeg can be non-free, I believe
<bqv> i'm not bothered by IFD, so i guess it's yq time
<qyliss> ffmpeg-full.override { nonfreeLicensing = true; } is unfree
<qyliss> although ffmpeg proper can't be
Fare has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
asbachb has quit [Remote host closed the connection]
nschoe has quit [Remote host closed the connection]
<siraben> How do I `nix-env -iA pkgs.hello` but from a different target?
<siraben> e.g. if I wanted to get the darwin hello on linux
<cole-h> Pretty sure you can't.
<cole-h> At least not with nix-env
<cole-h> ?
<siraben> Hm. So I have these builds that should be uploaded in cachix, how could I access the results then?
<cole-h> Maybe `--argstr system x86_64-darwin`...
<siraben> Looks like GitHub actions is not producing artifacts
nschoe has joined #nixos
lejonet has quit [Ping timeout: 264 seconds]
<cole-h> siraben: You could try something like https://github.com/Infinisil/all-hies/blob/d80d040ecc685a1d3bba2d727106e06d94b91f42/check-cache.sh if you know the store paths of the thing you want to check
lejonet has joined #nixos
<siraben> cole-h: I see. However I don't know the store paths
<siraben> Here is the GH action succeeding https://github.com/siraben/nix-remarkable/runs/1336392685
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pr06lefs has joined #nixos
ManiacOfMadness has joined #nixos
<cole-h> domenkozar[m]: A nice feature of Cachix would be the ability to see all the storepaths of a specific cache by clicking on it, rather than through the garbage collection page (which lists all caches)...
<siraben> cole-h: oh, can http://nix-remarkable.cachix.org/ be inspected then?
<cole-h> If you own the cache, you can see all the paths via https://app.cachix.org/garbage-collection
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
whatisRT has joined #nixos
<cole-h> (This includes the paths of every cache, though)
<cole-h> (and only the N oldest)
dbmikus has joined #nixos
<siraben> ugh, I can't copy the hash because it appears on hover
rgoswami has quit [Ping timeout: 258 seconds]
<cole-h> domenkozar[m]: Another thing that should be fixed ;)
<cole-h> siraben: You can inspect element it
<siraben> Yay `nix-env -i /nix/store/nhd7hj1sa9yj4qn2ac438p8qhfwqw7a2-git-2.28.0` seems to be downloading from the caches
<siraben> Yep, did that.
<pr06lefs> I'm writing a nix package - my makefile doesn't have an install phase, so it fails. I'm writing the makefile solely to support this being nix package, so I guess I could do whatever. Or override the installPhase to I guess copy the executable to $out.
<siraben> cole-h: is it possible to just fetch it into the current folder?
<pr06lefs> I did the override thing, but then my app isn't available from the console after.
orbekk has quit [Ping timeout: 264 seconds]
<pr06lefs> maybe it needs to be $(out)/usr/bin/myapp ?
<pr06lefs> or something?
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #102249 → nixos/tests/firefox: add audio subtest → https://git.io/JTH2V
<cole-h> siraben: s@/nix/store@https://[cache].cachix.org@ and curl that, maybe
* bqv went the string parsing route instead
orbekk has joined #nixos
<supersandro2000> pr06lefs: mv myapp $out/bin/myapp
hjarvard has quit [Ping timeout: 268 seconds]
dbmikus has quit [Ping timeout: 240 seconds]
<pr06lefs> Thx! Will try.
<m1cr0man> Heyos. Does anyone know any, uh, no-op FUSE filesystems? I am trying to spoof an NFS mount as totally-not-NFS so that Wine doesn't pick it up as a network drive. I can use overlayfs to do it but ideally I just want the writes to go back to the NFS.
whatisRT has quit [Ping timeout: 260 seconds]
<fendor> firefox can't open the zoom app from an invite link. Can I fix that somehow?
<{^_^}> [nixpkgs] @Ma27 merged pull request #102177 → matrix-synapse: 1.22.0 -> 1.22.1 → https://git.io/JTSxz
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JTHaG
alexherbo2 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @prusnak opened pull request #102250 → python3Packages.ovito: 3.0.0 -> 3.3.1 → https://git.io/JTHal
<pr06lefs> supersandro2000: worked great.
<supersandro2000> install-info: Cannot allocate memory for gzip -d
<supersandro2000> Is the nixos test flaky or wrong or do I need more than 10GB?
<supersandro2000> *RAM
<cole-h> Which test?
<bigvalen> Is mksquashfs using all processors a new thing in nixos 20.09 ?
<supersandro2000> wanted to test https://github.com/NixOS/nixpkgs/pull/102249
<{^_^}> #102249 (by rnhmjoj, 11 minutes ago, open): nixos/tests/firefox: add audio subtest
<supersandro2000> fendor: do you have a log? Does it use xdg-open?
<{^_^}> [nixpkgs] @andir opened pull request #102251 → WIP: introduce -frandom-seed in stdenv → https://git.io/JTHar
<fendor> supersandro2000, I have, unfortunately, no idea. Zoom opens a link with a "Launch Meeting" button, but clicking that does nothing. On chromium, it works, and on other OS's, firefox works, too
<supersandro2000> fendor: I suspect that it tries to open something which is not available in firefox like maybe xdg-open
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #102170 → bdf2psf: 1.197 -> 1.198 → https://git.io/JTSMo
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JTHaS
<siraben> fendor: I have been able to open the Zoom app from an invite link in Firefox in NixOS
<fendor> that's bad then
<siraben> Actually I don't think it was always the case, a few months ago I don't think I could
<siraben> So maybe try updating your packages?
<fendor> siraben, I switched to 20.09, so should be up-to-date
<V> fendor: do you have xdg-utils installed?
<fendor> supersandro2000, think so, too, from cli, I can open via xdg-open 'zoom...', once I can grab the link itself
<supersandro2000> Do the nixos tests use VirtualBox?
<cole-h> supersandro2000: Does it happen if you run it again? I just ran it no problem.
nixnewbie has joined #nixos
<cole-h> supersandro2000: No, they use qemu
<supersandro2000> happens with other tests, too
<DigitalKiWicked> this is why you have to have kvm support to run tests i think
<cole-h> FWIW, I ran the test just fine.
<fendor> V, not explicitly, I think, Ill try
<siraben> fendor: and these packages are installed declaratively right?
<supersandro2000> I have a qemu kvm open currently so that works
<fendor> siraben, yes, via lnl-overlay stuff
<fendor> V, did not work
<V> RIP
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102252 → enet: 1.3.15 -> 1.3.16 → https://git.io/JTHVO
<nixnewbie> hello, I want to override xrandr version. I created an overlay https://dpaste.org/zf7T but I still have xrandr 1.5.0 after rebuild, what am I doing wrong?
<supersandro2000> nixnewbie: home-manager?
<worldofpeace> infinisil: lol, a secret project
<siraben> fendor: Hm, I'm not familiar with this overlay
<siraben> Seems to act like home-manager
<worldofpeace> infinisil: it sure seems, hmm, slightly overlapping with another feature...
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.09 « matrix-synapse: 1.22.0 -> 1.22.1 »: https://git.io/JTHVG
jonringer has quit [Ping timeout: 264 seconds]
<nixnewbie> supersandro2000 what is home-manager? I was reading manuals and source and tried to reproduce
<fendor> siraben, it is basically just nix-env, nothing special in particular
<supersandro2000> nixnewbie: nixos package for user enviroments
<nixnewbie> I want to override it as a system-package, not as user
<{^_^}> [nixpkgs] @rnhmjoj pushed commit from @S-NA to release-20.09 « firefox: place alsaLib in lib search patch »: https://git.io/JTHVB
Fare has quit [Ping timeout: 260 seconds]
<supersandro2000> ~/.config/nixpkgs/overlays/mosh.nix https://termbin.com/tjtf
<fendor> clicking on the "launch meeting" button definitely sends a request and I get a response, afaict
<nixnewbie> How can one override system package?
<sphalerite> nixnewbie: did you intentionally call the new attribute "xorgn" instead of "xorg"?
<DigitalKiWicked> xorgn + 1
<nixnewbie> sphalerite no, it was xorg before, and it wasn't working as expected, so I began changing more
ddellacosta has joined #nixos
<Reventlov> Hi
<Reventlov> Is there some nix option to access usb devices as a normal user ?
<sphalerite> nixnewbie: hm ok. I'm not too familiar with overrideScope stuff, so I can't say for sure. But do you actually need to use an overlay for a particular reason, or would building your system from a nixpkgs checkout with your changes also do?
<sphalerite> Reventlov: on NixOS? You can make udev rules like on other distros using services.udev.extraRules
<bqv> the string 'mdadm-grow-continue@' is not allowed to refer to a store path (such as '!out!/nix/store/h1gkj2m1s289ynmgvkfwpxmydisrsbgp-mdadm-4.1.drv')
<bqv> so that's bizarre...
<bqv> do i have to unsafeDiscardStringContext
<bqv> I'd rather not
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102254 → datovka: 4.15.2 -> 4.15.5 → https://git.io/JTHV9
<nixnewbie> sphalerite I just wanted to use new xrandr, because it has filter nearest. I don't know how, but now it is working, sorry for being a bother. Is there an option to override package version easier?
<sphalerite> nixnewbie: yeah, there are several easier ways — if you just want it in systemPackages, you can directly put environment.systemPackages = [(pkgs.xorg.xrandr.overrideAttrs (attrs: {…}))];
<Reventlov> sphalerite: yeah, I'm trying to be able to access pretty much any usb device, as my own user
<nixnewbie> sphalerite thank you!
<sphalerite> nixnewbie: but you can also take a nixpkgs checkout, modify it there, and build your system from it by passing -I nixpkgs=path/to/your/nixpkgs to nixos-rebuild
<sphalerite> nixnewbie: the latter approach is also more useful if you want to contribute the change upstream
<nixnewbie> sphalerite I wanted to do this, but there is a PR already https://github.com/NixOS/nixpkgs/pull/100334/
<sphalerite> Reventlov: That doesn't sound like a good idea tbh, I have for example services.udev.extraRules = ''SUBSYSTEM=="usb",ATTRS{idVendor}=="1050",ATTRS{idProduct}=="0405",OWNER="linus"''; to give my user access to my yubikey based on the vendor/product ids
<nixnewbie> I hope, that there will be 1.5.1 soon, as it has nearest scaling mode and it works like a charm in my setup
astronavt has joined #nixos
<sphalerite> Reventlov: you _can_ allow your user access to all usb devices by removing the two ATTRS conditions, but I don't recommend it.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102255 → drumkv1: 0.9.16 -> 0.9.18 → https://git.io/JTHwI
justanotheruser has joined #nixos
zeta_0 has joined #nixos
<nixnewbie> on a side note: can one view the current https://nixos.org/manual/nixos/stable/options.html which are true for system?
<dutchie> you can use `nixos-option`
jumper149 has joined #nixos
<zeta_0> hello there, does home-manager now have a 20.09 nix channel? all i see currently is 20.03 and unstable.
<infinisil> nixnewbie: `man configuration.nix`
<scott> is there any way to use nix-collect-garbage without deleting things i've used in `nix-shell -p` or `nix run` in the past week or two (which will generally be unrooted)?
<sphalerite> scott: unfortunately not
<scott> ok, thanks for the confirmation
<dutchie> you can use lorri to autocreate gc roots for nix-shell environments
<scott> i will definitely check out lorri and possibly put together something of my own for making temporary roots
<zeta_0> cole-h: sweet, thanks for link?
<supersandro2000> Can I run tests with nix or do I need nixos?
<sphalerite> that's the one! I had completely forgotten the name but wanted to suggest it :D
Fare has joined #nixos
<nixnewbie> infinisil yes, but there are many options which are false, I only want to get which are true | can be overrided, without having to read though all of them by hand
<zeta_0> cole-h: woops i accidentally put a question mark
<sphalerite> supersandro2000: you do need to be on a linux with KVM support in the kernel, but that should be enough to run the NixOS tests.
<sphalerite> actually not sure kvm support is even needed, though they'll probably be horrendously slow without.
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « matrix-synapse: 1.22.0 -> 1.22.1 »: https://git.io/JTHwP
<sphalerite> nixnewbie: you can set all/any of the options listed in configuration.nix.
<zeta_0> i was having a couple of issues with lorri and decided to switch to nix-direnv, so far i really like it, have any of you tried out nix-direnv?
<zeta_0> i don't understand flakes, but i have them enabled for the nix tools that support them, like nix-direnv.
<nixnewbie> sphalerite yes, I understand that, but I want to know which options are true now. so I can edit the current state and reduce it
tenniscp25 has quit [Remote host closed the connection]
tenniscp25 has joined #nixos
tenniscp25 has quit [Ping timeout: 258 seconds]
<bqv> oh, i get it.
<bqv> if anyone's interested, i think the issue is that attrnames can't have contexts
<supersandro2000> elvishjerricco: did you solve the `Cannot allocate memory for gzip -d` error with the sandbox enabled?
mschwaig has quit [Read error: Connection reset by peer]
<bqv> but in my case i can just remove it from the attrname because the value has the same context anyway
mschwaig has joined #nixos
<zeta_0> i just want to say thanks to the nix community for developing these amazing tools, they've helped me a lot!
<zeta_0> oh, before i forget, does nix work on windows or will i need to put windows on a virtual machine instead? i was lucky enough to land a job as a software engineer, but everyone at my work uses Windows 10.
<energizer> What is the downside of using buildFHSUserEnv?
<cole-h> Nix does not (yet) support Windows.
<zeta_0> and can i build software on nixos that can run on Windows 10? i should probably ask these questions on reddit as well!
<DigitalKiWicked> there's some support or at least work being done to support mingw cross compilation
whatisRT has joined #nixos
<cole-h> Possibly. We do have `pkgsCross.mingwW64`
<{^_^}> [nixpkgs] @teto merged pull request #102231 → neovim: revert change to extraMakeWrapperArgs → https://git.io/JTHmq
mschwaig has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/JTHr6
<{^_^}> [nixpkgs] @rnhmjoj pushed commit from @S-NA to release-20.03 « firefox: place alsaLib in lib search patch »: https://git.io/JTHrP
mschwaig has joined #nixos
<zeta_0> thanks, i'll look at pkgsCross.mingwW64, my boss does not understand linux, much less an archane linux distro like nixos.
mschwaig has quit [Read error: Connection reset by peer]
zupo has joined #nixos
mschwaig has joined #nixos
<cole-h> tbh you'd probably be better off running Windows than trying to fit NixOS into your work.
<simpson> "everyone at my work uses Windows 10" => "I work at a Windows shop", so it doesn't really make sense to consider NixOS.
<elvishjerricco> supersandro2000: I did not, unfortunately
nullheroes has quit [Quit: WeeChat 2.9]
<zeta_0> cole-h: would running Windows 10 in virtualbox on top of my nixos machine be a good idea?
<cole-h> simpson: Exactly my thinking.
<siraben> How do I produce GitHub artifacts using Nix?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102257 → gensio: 2.1.4 -> 2.1.7 → https://git.io/JTHoZ
<cole-h> Nothing's stopping you from running it at home, but if it's work-critical I wouldn't want to tempt fate...
<Jezhehim[m]> Does that include nixos not working on WSL?
<zeta_0> simpson: that's why i was thinking to either develop windows applications on nixos, or install nix on Windows(which i guess cannot work at the moment)
knupfer1 has joined #nixos
<simpson> zeta_0: Is that a thing that Windows shops do? Doesn't sound like my experience.
<DigitalKiWicked> i can't test because my windows 10 refuses to update to the version with wsl2 :<
knupfer1 is now known as knupfer
knupfer has quit [Remote host closed the connection]
<supersandro2000> Jezhehim[m]: Maybe it can work with WSL 2 but on 1 only nix works
<zeta_0> cole-h: could you paste the link to the pkgsCross.mingwW64 docs, i can't seem to find it with manix.
alexherbo2 has joined #nixos
<supersandro2000> I have a KVM VM running but nix-build tests/... still shows me: Could not access KVM kernel module: Permission denied
<zeta_0> i just started using manix, so i'm still getting the hang of it, i setup that nix language server protocol, which is really nice.
<supersandro2000> I also have the kvm group and tried it with sudo
<DigitalKiWicked> https://github.com/obsidiansystems/obelisk might work on windows?
<nixnewbie> has anyone seen oxij recently?
<bqv> i'm extremely interested in nix-processmgmt, but the use i'd have for it is not implemented :|
<bqv> and yes, i know, i could implement it myself, but i'm already doing that separately
<zeta_0> well, i would at least like to write some python code on nixos, and generate python exes that can run on Windows.
astronavt has quit [Quit: Leaving]
<zeta_0> DigitalKiWicked: i decided to go with miso instead of obelisk, i prefer the elm like experience, because it's simpler.
<DigitalKiWicked> i have nothing nice to say about elm sooo i'll shutup
<zeta_0> DigitalKiWicked: miso is basically an elm dsl in haskell, you don't like that either?
<simpson> zeta_0: Elm's type system is a little restricted. For Python executables, I think that you'll want to look at https://www.pyinstaller.org/
<DigitalKiWicked> i haven't used miso
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102258 → fwts: 20.08.00 -> 20.09.00 → https://git.io/JTHK3
alexherbo2 has quit [Ping timeout: 260 seconds]
<bqv> infinisil: this seems up your alley. how could i fetch the submodule of an option from options, to reuse in another option? i'm peeking into type.functor.wrapped.functor.payload and seeing something promising (for an attrsOf submodule)
berberman_ has joined #nixos
berberman has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #101897 → ocamlPackages.hex: 1.3.0 → 1.4.0 → https://git.io/JTXC7
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JTHKg
<bqv> actually nevermind, i think that does work, i've misinterpreted my error
<infinisil> Yee
tenniscp25 has joined #nixos
jumper149 has quit [Quit: WeeChat 2.9]
<zeta_0> simpson: thanks, that pyinstaller looks like just what i need, and ya, i know elm's type system is restricted but the experience felt so much better than using yesod(weird verbose template languages) to develop web applications, but with miso, i also have access haskell as well.
<DigitalKiWicked> i also avoid yesod lol
<simpson> zeta_0: As a fun puzzle to imagine how to free your mind from type systems, imagine using e.g. Haskell's `cereal` or `binary` across a network. How can a type system span multiple computers?
tenniscp25 has quit [Ping timeout: 260 seconds]
<cole-h> zeta_0: It probably doesn't have any docs. I only know about it because I used `nix repl ~/nixpkgs` and used the tabcompletion
<supersandro2000> Does tab completion in 2.X need rl-wrap or was that previous command?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sphalerite is now known as spookyscarysphal
cjpbirkbeck has joined #nixos
<zeta_0> simpson: uhh, i don't know
hnOsmium0001 has joined #nixos
<zeta_0> simpson: so are you implying that type-systems have limitations?
<simpson> zeta_0: IMO it *cannot*. Other folks have other opinions. Type systems are restrictive; they protect us from making mistakes but also constrain us from certain possibilities.
astronavt has joined #nixos
cole-h has quit [Ping timeout: 264 seconds]
<zeta_0> simpson: ya that makes sense, i get that experience switching back and forth between python and haskell.
<DigitalKiWicked> simpson: akka?
<DigitalKiWicked> assuming you don't just use Any >.>
<zeta_0> currently, i prefer haskell, but i decided to use python instead for developing on Windows, my boss only understands object-oriented languages, he gave me a weird look when i brought up functional programming.
scott has quit [Quit: bye]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #100520 → nixos-install: add passthrough --keep-going flag → https://git.io/JTOqU
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JTH6G
<simpson> DigitalKiWicked: We do. Communicating over the network requires that messages be in a uniform format and that they can be given to any object. So, regardless of choice of type system, it's only at runtime that the message can be rejected.
nixy has joined #nixos
lcvass has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102259 → fio: 3.22 -> 3.23 → https://git.io/JTH6n
scott has joined #nixos
lcvass has joined #nixos
whatisRT has quit [Ping timeout: 260 seconds]
<tpw_rules> how is that any different from the message simply being corrupt?
alexherbo2 has joined #nixos
<simpson> It's not corruption. Imagine e.g. that we try to make `cereal` network-safe by wrapping each message with a representation of its type, and letting types be rebuilt by the receiver to do type-checking. The receiver is now *closed*, limited in its possible behaviors by the type of messages. But this contradicts the idea that the receiving computer is an opaque black box.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #101239 → [20.03] backport yed updates → https://git.io/JTE0t
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-20.03: https://git.io/JTH69
<{^_^}> [nixpkgs] @worldofpeace merged pull request #99911 → [20.03] zoneminder: fix CVE-2020-25729 → https://git.io/JUAhI
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JTH67
gthm has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102260 → faad2: 2.9.2 -> 2.10.0 → https://git.io/JTH6p
<nixnewbie> one more question: how do I export config, extraArgs, options, pkgs to file? https://dpaste.org/g1yg
<symphorien[m]> what do you want to do ?
nixy has quit [Quit: ZNC 1.8.1 - https://znc.in]
<nixnewbie> I want to print config, extraArgs, options, pkgs to file from the result of this function
<spookyscarysphal> that's not really possible, since especially options and pkgs contain a lot of values that can't be printed
<symphorien[m]> yes but what for ?
<symphorien[m]> ,xy
<{^_^}> xyproblem is when you want to do X, and you think Y is how, so you ask about Y instead of X. See <http://www.perlmonks.org/index.pl?node_id=542341> or <http://mywiki.wooledge.org/XyProblem>
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102261 → frostwire-bin: 6.8.5 -> 6.8.7 → https://git.io/JTHiB
nixy has joined #nixos
* etu notices that ryantm's bot is awake and hopes for some php packages updates this time around
<nixnewbie> I can : p res.config, how do I use f.e. builtins.toJSON on it and export this to file?
<etu> nixnewbie: But your config is already a nix file? Isn't that enough?
<nixnewbie> nevertheless...
nixy37179 has joined #nixos
<spookyscarysphal> nixnewbie: you can use pkgs.writeText "filename.json" (builtins.toJSON …) to construct a derivation that will write the stuff to a file in the store.
<spookyscarysphal> (build that by using `:b` on it)
<nixnewbie> ty!
<spookyscarysphal> but it may well not be possible since the values can't all be evaluated fully.
<etu> nixnewbie: If you have any form of "advanced" data in your nix file, such as a function. There's no "good" way to print that in a json file. Nix is a programming language, json is not. But if one has simple nix data it's easy to export it in a realized form to json.
<nixnewbie> json was an example, not a requirement. even simple redirection to stdout works
<nixnewbie> s/works/works for me/g
alexherbo21 has joined #nixos
brettgilio has joined #nixos
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo21 is now known as alexherbo2
<symphorien[m]> nixnewbie: nixos-option can do a best effort to print options vales
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102262 → fetchmail: 6.4.12 -> 6.4.13 → https://git.io/JTHi5
<symphorien[m]> but again, you don't disclose your final goal
<nixnewbie> symphorien[m] I disclosed it earlier. I want to list all options which are now true. some of them are default ones and I want to change them accordingly
<symphorien[m]> everything that you set explicitely is described in configuration.nix
endformationage has quit [Quit: WeeChat 2.9]
<nixnewbie> one more time: I want to list what has _default_ true now. not what I enabled, but hidden ones
endformationage has joined #nixos
<{^_^}> [nixpkgs] @Thra11 opened pull request #102263 → julius: 1.4.1 -> 1.5.1 → https://git.io/JTHPO
<symphorien[m]> why true ? it does not really make sense. What if the option "noXlibs" is true ?
<nixnewbie> I want to see the full picture, not only what I enabled manually.
<symphorien[m]> it's a negative option, so making it true actually disables something
<{^_^}> [nixpkgs] @WilliButz merged pull request #97933 → nixos/prometheus: Support environmentFile → https://git.io/JU8Ev
<{^_^}> [nixpkgs] @WilliButz pushed commit from @pkern to master « nixos/prometheus: Support environmentFile (#97933) »: https://git.io/JTHPn
<{^_^}> [nixpkgs] @freezeboy opened pull request #102264 → wal_e: 0.6.10 -> 1.1.1 → https://git.io/JTHPc
<nixnewbie> symphorien[m] let me give an example: now there is lvm in my system, but I really don't need it. So I want to see, what is enabled by default with my config and fix those in my config
<symphorien[m]> so your final goal is: remove bloat from nixos
urkk has left #nixos [#nixos]
<symphorien[m]> right ?
<nixnewbie> and I don't want to go through every option by hand, this is insane
<nixnewbie> symphorien[m] close, remove bloat, override some packages
<symphorien[m]> ok, now that the xy problem is explained, let us start over
mmohammadi9812 has quit [Ping timeout: 268 seconds]
<symphorien[m]> I don't know how to list options which create bloat, but you should probably use some disk usage utility to see what are the big items in the system closure
<symphorien[m]> like /run/current-system
<symphorien[m]> you can do it with nix-store --qR and clever pipes to du with xargs
<nixnewbie> bloat != big
<symphorien[m]> or you can use nix-du or nixdu
<nixnewbie> bloat is useless (for me) software
<symphorien[m]> for bloat as in "runtime daemons" or things like that, no idea
<{^_^}> [nixpkgs] @bburdette opened pull request #102265 → Timekeeper gtk app → https://git.io/JTHPX
<clever> [root@nas:~]# du -hsc $(nix-store -qR /run/current-system) | sort -h
<{^_^}> [nixpkgs] @andir opened pull request #102266 → firefox{,-bin}: 80.0 -> 80.0.2 → https://git.io/JTHPD
<nixnewbie> also I want to understand system, and in order to do this I want to understand some of the evaluations and internals. as my final goal was to migrate to libressl, and make some of my system static. after that I want to look at what was proposed in RFCs and try to simulate useflags. yes, i want to build nix from scratch and use it like better
<{^_^}> [nixpkgs] @andir pushed 2 commits to firefox-82.02: https://git.io/JTHPy
<nixnewbie> gentoo|exherbo because it is better in my setup
<nixnewbie> f.e. I haven't found yet: is it possible using leaps timezone?
<symphorien[m]> what is it ?
<zeta_0> does `nixos-rebuild switch --upgrade-all` upgrade all of the root and user channels? i just heard of the -all option recently!
deltahotel has joined #nixos
<symphorien[m]> only root's I think
<MichaelRaskin> Oooh, leaps timezone is indeed a nice thing, although I guess it needs ntpd support because now NTP server time is not true time?
v0|d has joined #nixos
<zeta_0> symphorien[m]: thanks, that's good to know, i think that i'll just have all of my nix-channels placed in root, that way i can upgrade all of my nix-channels at once.
<MichaelRaskin> In general I would say nixpkgs leans pro-bloat until closure size grows too much
urkk has joined #nixos
<symphorien[m]> and not all of this bloat is accessible in terms of nixos-options
<aasg> nixnewbie (IRC): I think what you'd need is a way to list every option that was evaluated to produce the system. I don't know if we have that.
<symphorien[m]> a lot of this is just "all optional dependencies are passed to the build, and if you really don't want them, override them with null"
<nixnewbie> aasg bullseye!
__red__ has left #nixos [#nixos]
urkk has quit [Client Quit]
<zeta_0> thanks for the help, i have to go now, later!
<nixnewbie> symphorien[m] and I will do this, but I need to understand the full picture. then I can go through every package (I think I'll write something for this as it is easier to use software for this)
urkk has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<symphorien[m]> maybe your best bet is to remove the file in nixpgks which includes all modules by default, and then only add modules you use explicitely
<symphorien[m]> then you can use man configuration.nix as the set of options of the modules you use
<nixnewbie> it's better than nothing but still I won't get the whole picture
<symphorien[m]> I quicly checked, apparently nixos-option does not have a recursive model
<symphorien[m]> s/model/mode/
<symphorien[m]> I don't get what you mean by whole picture
katrin has joined #nixos
<nixnewbie> list every option that was evaluated to produce the system. like aasg said
malook has quit [Quit: malook]
<nixnewbie> When the system is a blackbox it's really difficult to navigate
<MichaelRaskin> If you only include the modules you use, isn't their set of options that list by definition?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102267 → ginac: 1.7.9 -> 1.8.0 → https://git.io/JTHX4
magnetophon has joined #nixos
<simpson> That sounds like more XY thinking. Knowing how Gentoo's stage1/stage2 is produced will not help you control your actual userspace. Instead, try out clever's one-liner to look for packages that are big, and then you could `nix why-depends` or similar to figure out how to remove that package.
zupo has joined #nixos
<aasg> Not really, if you have `services.someService.enable = false`, usually none of their other options are even evaluated
<Taneb> I would like there to be programs.ssh.knownHosts.<name>.extraConfig
<MichaelRaskin> aasg: yes, but we were talking about removing the unsued modules from include list
<{^_^}> [nixpkgs] @SuperPaintman opened pull request #102268 → 1password: add shell completion → https://git.io/JTHX2
<nixnewbie> Still I want to understand nix better. f.e. I want to add x32 cross option and I've read through some of the sources in order to get this done
<nixnewbie> yep, super obscure arches
<{^_^}> [nixpkgs] @zimbatm merged pull request #102156 → nss: make reproducible → https://git.io/JTS8d
<{^_^}> [nixpkgs] @zimbatm pushed to staging « nss: make reproducible (#102156) »: https://git.io/JTHXr
<simpson> x32 isn't obscure, although IIRC support for it is no longer upstream, so you'll have to pick versions carefully. Good luck.
<{^_^}> [nixpkgs] @zimbatm merged pull request #102234 → nixos/manual: make reproducible → https://git.io/JTHn7
<{^_^}> [nixpkgs] @zimbatm pushed to master « nixos/manual: make reproducible (#102234) »: https://git.io/JTHXK
urkk has left #nixos [#nixos]
<nixnewbie> simpson no, it still works with gcc|musl|glibc|linux-kernel
<nixnewbie> clang is broken though
<simpson> Ah, I see, removal from Linux was considered but nobody followed through.
<{^_^}> [nixpkgs] @pkern opened pull request #102269 → terraria-server: 1.4.0.5 -> 1.4.1.1 → https://git.io/JTHXS
alexherbo25 has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #102249 → nixos/tests/firefox: add audio subtest → https://git.io/JTH2V
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JTHXb
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo25 is now known as alexherbo2
<{^_^}> [nixpkgs] @zimbatm merged pull request #102222 → pythonPackages.pip: make reproducible → https://git.io/JTHfB
<{^_^}> [nixpkgs] @zimbatm pushed to staging « pythonPackages.pip: make reproducible (#102222) »: https://git.io/JTHXx
amir has quit [Quit: No Ping reply in 180 seconds.]
amir has joined #nixos
deltahotel has quit [Quit: Best 73's]
mmohammadi9812 has joined #nixos
<elvishjerricco> So I have a windows program I'm trying to run with wine, but I'm getting this error: `This program can only be installed on versions of windows designed for the following processor architectures: x64` Is this a wine problem or a nixos problem?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/680d3201230 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e09c7f0b1f8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9bf04bc90bf (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/680d3201230 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<MichaelRaskin> More like using 32-bit wine instead of wineWow
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @andir opened pull request #102270 → [20.09] firefox{,-bin}: 82.0 -> 82.0.2 → https://git.io/JTH1i
<MichaelRaskin> wineWowPackages.wine is probably what you want
rprije has joined #nixos
ddellacosta has quit [Ping timeout: 264 seconds]
magnetophon has joined #nixos
<elvishjerricco> MichaelRaskin: Oh, didn't realize wineFull wasn't 64bit
<{^_^}> [nixpkgs] @symphorien opened pull request #102271 → check_systemd: init at 2.2.1 → https://git.io/JTH1H
<MichaelRaskin> Apparently this has changed over time…
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
katrin has quit [Quit: ZNC 1.7.5 - https://znc.in]
katrin has joined #nixos
<{^_^}> [nixpkgs] @bennyandresen opened pull request #102272 → clojure: 1.10.1.645 -> 1.10.1.727 → https://git.io/JTHMW
<ornxka> how do i use nix-shell with eshell
<ornxka> there is nix-eshell but it asks for me an attr and im not sure what to put
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #102273 → nixos/bluetooth: disable restart on unit changes → https://git.io/JTHMS
<{^_^}> [nixpkgs] @evils opened pull request #102274 → Tuptime: 5.0.0 -> 5.0.1 and correct meta.license → https://git.io/JTHM5
katrin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e09c7f0b1f8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
katrin has joined #nixos
nixnewbie has quit [Remote host closed the connection]
<danderson> Flake question: is there a way for flake.nix to include derivations that use source from the same git repo as the flake?
<danderson> I'd like to add a flake.nix to a repo that contains the source for a program. Ideally, I'd like to be able to specify to the derivation "just pull from the same place you got flake.nix from" and skip having to provide hashes and whatnot - since the pointer to the flake should fully identify the code I'm building from.
<danderson> I suspect this isn't possible, and so if I want to make a change I have to first commit to the code, then make a second commit to flake.nix to update the derivation to use the source at HEAD^. Am I missing something?
<notgne2> why does your code need to be a flake input?
<{^_^}> [nixpkgs] @gilligan opened pull request #102276 → upterm: init at 0.4.6 → https://git.io/JTHDV
scott has quit [Quit: bye]
scott has joined #nixos
katrin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<danderson> notgne2: the flake is providing derivations and nixos modules to build and run that code. What else would it be?
katrin has joined #nixos
<danderson> my aim is to avoid having to update flake.nix every time the code changes (which requires a separate commit), when the git revision of flake.nix is sufficient to fully describe the source in the first place.
<tpw_rules> danderson: is your project public? i think i want to do something similar
<nicolas[m]> danderson: self?
<danderson> tpw_rules: yes, https://github.com/tailscale/tailscale. But There's no flake.nix yet, since I'm trying to figure out how to make it work :)
<danderson> nicolas[m]: I don't think I can get at the repo's source with that, can I?
<nicolas[m]> I don't remember all the attributes exposed in `self` but I think it could work
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102277 → flexibee: 2020.2.3.1 -> 2020.2.6 → https://git.io/JTHDb
<nicolas[m]> IIRC `self` contains the current git revision if available (if the worktree is not dirty)
<nicolas[m]> And most likely the path to itself, since I think it's added to the store
<danderson> hmm, interesting...
<danderson> Where would I find a list of what's in self? I'm guessing that'd be in the nix C++ source?
<nicolas[m]> I would evaluate a dummy flake where I call `builtins.attrNames self`
<nicolas[m]> https://zimbatm.com/NixFlakes/ doesn't document the format of inputs
<danderson> ah, good trick. Cheers.
scott has quit [Quit: bye]
scott has joined #nixos
<zimbatm> the inputs are an attrset with a __toString functor attached to them
<zimbatm> `toString self` will get you the store path to the source
<zimbatm> otherwise, self will give you access to the flake outputs
<zimbatm> so self.overlay for example
<danderson> does the flake source include the entire git repo flake.nix came from?
morr has joined #nixos
<zimbatm> pretty much
<zimbatm> it's more like a git clone
<zimbatm> that's why it fails if you don't add a file to the staging area
<zimbatm> so if the flake.nix references a file in the repo, just `git add` that file
scott has quit [Client Quit]
n9nes has quit [Ping timeout: 240 seconds]
scott has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #102278 → pantalaimon, matrix-nio: update → https://git.io/JTHSJ
scott has quit [Client Quit]
scott has joined #nixos
bennofs1 has quit [Quit: WeeChat 2.9]
Mouton has joined #nixos
Mouton has quit [Remote host closed the connection]
n9nes has joined #nixos
<danderson> ah, excellent. Thanks for the wisdom folks
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Acou_Bass has quit [Ping timeout: 260 seconds]
mzan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102279 → ffsend: 0.2.65 -> 0.2.68 → https://git.io/JTH9J
Acou_Bass has joined #nixos
euandreh has quit [Ping timeout: 264 seconds]
corpix has joined #nixos
corpix has quit [Client Quit]
tenniscp25 has joined #nixos
tenniscp25 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @zimbatm opened pull request #102280 → autogen: make reproducible → https://git.io/JTH9A
<{^_^}> [nixpkgs] @freezeboy opened pull request #102282 → check-esxi-hardware: refactor from python2 to python3 → https://git.io/JTHH0
h0m1 has quit [Quit: WeeChat 2.9]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102283 → geekbench: 5.2.3 -> 5.2.5 → https://git.io/JTHHV
pta2002 has joined #nixos
<pta2002> Hello
<pta2002> I just installed nixos on a raspberry pi
<pta2002> Is it normal that nix-env -i takes so long?
<pta2002> I ran it with -v and it seems to be evaluating every single package
urkk has joined #nixos
<simpson> nix-env is a memory hog, and on low-memory systems it may be impractical.
<pta2002> (as far as I can tell that's how I can get it to install everything i set up in .config/nixpkgs
<dutchie> this is probably when you want to run -iA and give an attribute
<dutchie> oh
<pta2002> no i declared some vim configurations on .config
<pta2002> as far as i know nix-env -iA is for installing a specific package right?
<pta2002> but i run it with -v and now it seems to be evaluating everything under /nix/store/.../nixos/pkgs
<{^_^}> [nixpkgs] @freezeboy opened pull request #102284 → Refactor google to python3 → https://git.io/JTHHQ
<pta2002> which is the entire nixpkgs repo...?
<pta2002> not sure, but seems like it
<nicolas[m]> You want the `-A` flag in most cases
<nicolas[m]> unless you don't know the package name
<samueldr> nix has to evaluate Nixpkgs to be able to work with Nixpkgs :)
<pta2002> does it evaluate all of nixpkgs every time?
<pta2002> because this has been going on for at least 5 minutes now
<pta2002> jsut to install neovim
<pta2002> or is this just the first time
<samueldr> but yes, if you were doing -i (which is not the case here, other readers) -A would be helpful in not getting an additional cost at working over every name attributes
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<samueldr> I don't think there is a cache [yet]
<pta2002> hm
<pta2002> what is the right command to run though
<pta2002> to get it to evaluate my configuration and do what i specified there
mananamenos has quit [Ping timeout: 240 seconds]
<samueldr> which Raspberry Pi is it?
<pta2002> 3
<pta2002> B
<samueldr> right, just checking
<pta2002> it's officially supported, installed without much issue
<samueldr> yeah, I know :) and good to hear the "without much issue"
<pta2002> just some issue with wifi but that was solved by enabling the firmware
<pta2002> had to dig around for that one
<pta2002> was missing the wifi drives
<pta2002> drivers*
<samueldr> I'm really not sure about that nix-env thing
<samueldr> or, let me rephrase, I really don't know
<samueldr> I wonder if it is made worse by slow I/O (SD card I presume)
<pta2002> hm
<pta2002> yeah it's an sd card, not that fast
<pta2002> still, nixos-rebuild was not that slow
<samueldr> yeah, that's what confuses me a little
<samueldr> what is the exact `nix-env` invocation you used?
<pta2002> i just did nix-env -i
<pta2002> im not sure what i should run
<pta2002> i just want to reload the nixpkgs config
urkk has left #nixos [#nixos]
<pta2002> i put somethings in .config/nixpkgs/config.nix
<pta2002> and wanted that to come into effect
<samueldr> for all the time I've been using Nix and Nixpkgs I've never used declarative nix-env (and been staying away from installing anything elsewhere than systemPackages), so uh weird
<samueldr> I can't seem to find, in the man page, what `nix-env -i` (without further args) really should be doing
<pta2002> im not sure this is supposed to be done with nix-env
seku has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102285 → flmsg: 4.0.14 -> 4.0.17 → https://git.io/JTHQS
Acou_Bass has quit [Ping timeout: 240 seconds]
bennofs1 has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #102280 → autogen: make reproducible → https://git.io/JTH9A
<{^_^}> [nixpkgs] @zimbatm pushed to staging « autogen: make reproducible (#102280) »: https://git.io/JTH7a
Neo-- has quit [Ping timeout: 272 seconds]
Acou_Bass has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9bf04bc90bf (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @dbirks opened pull request #102286 → material-shell: 8 -> 9 → https://git.io/JTH5o
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102287 → tridactyl-native: 1.20.1 -> 1.20.2 → https://git.io/JTHdf
davidv7 has joined #nixos
sangoma has quit [Quit: WeeChat 2.9]
Rusty1 has quit [Quit: Konversation terminated!]
__monty__ has quit [Quit: leaving]
Acou_Bass has quit [Ping timeout: 246 seconds]
luc65r has quit [Quit: WeeChat 2.9]
DarkTrancer[m] has joined #nixos
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102288 → fet-sh: 1.7 -> 1.8 → https://git.io/JTHF3
Dotz0cat has joined #nixos
<{^_^}> [nix] @roberth opened pull request #4209 → Restore RestrictedStore.addToStoreFromDump implementation → https://git.io/JTHFo
jhuizy has quit [Quit: Ping timeout (120 seconds)]
jhuizy has joined #nixos
Reiser has quit [Quit: Ping timeout (120 seconds)]
daGrevis has quit [Quit: Ping timeout (120 seconds)]
Reiser has joined #nixos
daGrevis has joined #nixos
joko has quit [Quit: WeeChat 2.7.1]
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
mzan has joined #nixos
<colemickens> NinjaTrappeur: you can use obs-studio from nixpkgs-wayland, I build the wayland-patched version
<colemickens> NinjaTrappeur: or you can set QT_QPA_PLATFORM=xcb to maybe use x11
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102289 → fnotifystat: 0.02.06 -> 0.02.07 → https://git.io/JTHNm
Jonathan74 has joined #nixos
<Jonathan74> Hey. I am trying to build a library which depends on a `.so`.
<Jonathan74> I created a `shell.nix` which depends on what should be the right package.
<Jonathan74> The build tool is failing to find the `.so`?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102290 → filebot: 4.9.1 -> 4.9.2 → https://git.io/JTHN1
<{^_^}> [nix] @grahamc merged pull request #4209 → Restore RestrictedStore.addToStoreFromDump implementation → https://git.io/JTHFo
<{^_^}> [nix] @grahamc pushed 2 commits to master: https://git.io/JTHNM
Jae[m] has joined #nixos
<Jonathan74> Is there an easy way to look at the install files of a package to see if it has the `.so` I need?
<pumpy> is sudo included by default?
<pumpy> i use security.sudo.extraRules = ... and it works.. but i just realized i dont have sudo listed in systemPackages?
<Jonathan74> pumpy, installed in the system? Yeah, it should.
<Jonathan74> pumpy, I never explicitly enabled sudo, and I defiantly use it...
<Jae[m]> Hey, anyone knows why Nix is trying to compile Thunderbird on the 20.09 channel?
<Jae[m]> Thanks!
<Jae[m]> My config is located there https://forge.tedomum.net/jae/nixos-configs
<{^_^}> [nixpkgs] @marsam merged pull request #102180 → zoxide: 0.4.3 -> 0.5.0 → https://git.io/JT9eN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTHAk
konsolechka1 has joined #nixos
<pumpy> coolio ty
<pumpy> Jonathan74++
<{^_^}> Jonathan74's karma got increased to 1
<Jonathan74> At one point I needed to add the lib folder to the LD_LIBRARY_PATH in the shell.nix.
hmpffff has joined #nixos
pushqrdx has joined #nixos
<pushqrdx> hi there
<pushqrdx> i am having two issue and would love if anyone can help with them
<Jonathan74> I think it may not be LD though.
<Jonathan74> Can I change the path without clearing it? `PATH = "$PATH...` is clearing the old path?
<pushqrdx> my onboard audio creative ca0132 needs 2 firmware bin files that i need to put into us/lib/firmware normally (otherwise my audio is completely broken)
<pushqrdx> idk where should i add that in nix
ddellacosta has quit [Ping timeout: 260 seconds]
<Jae[m]> OK, for some reason, Nix is trying to build Libreoffice and doesn't try to pull it from the cache. Here is the output of the diagnosis script http://ix.io/2CDM
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102291 → facter: 3.14.13 -> 3.14.14 → https://git.io/JTHAV
<Jonathan74> Jae[m]: have you update the nix-channel recently?
<Jae[m]> Yes, I went from 20.03 -> 20.09 and I did 'nix-channel --update' before rebuilding (with the --upgrade switch)
<Jonathan74> pushqrdx: that is above m head, maybe try again some other time when someone else is one.
<Jonathan74> Jae[m]: normally when I have a problem like that it is because my channel is old.
<Jonathan74> Are you on unstable?
<pushqrdx> alright onto the second issue then, i installed the pantheon desktop and i am sure saw `elementary-wallpapers` package being downloaded during system installation, However after booting to the system there's no wallpapers there
<Jae[m]> No, on basic 20.09
<Jonathan74> Jae[m] I'd not expect hydra to not have it built then, I don't know.
<Jonathan74> pushqrdx: have you looked at how to configure `elementary-wallpapers`? Should it have something by default?
<pushqrdx> in the nix docs it said in order to use Pantheon desktop all you have to do is to specify it under desktop managers, nothing more as it's a meta package with all the needed stuff
<pushqrdx> and it is. it installed everything, but for some reason no wallpapers (even though i saw the package downloaded)
<Jae[m]> Changed to `libreoffice-fresh` and it seems to work
<Jonathan74> Jea[m]: I am glad you found a solution.
<Jonathan74> pushqrdx, is there a settings app in Pantheon?
<Jae[m]> Not gonna lie, It's kinda ridiculous xD
<Jonathan74> pushqrdx: Will it show a wall paper when you try reconfiguring it?
kirc has joined #nixos
<pushqrdx> yes there's a setting but if i go in settings>desktop>wallpaper there's nothing
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102292 → flyway: 6.5.5 -> 7.1.1 → https://git.io/JTHxK
<Jonathan74> pushqrdx: Um, like totally blank, or just no default wallpapers?
Jae[m] has left #nixos ["User left"]
<pushqrdx> has only 1 (solid black) wallpaper
kirc has quit [Remote host closed the connection]
<pushqrdx> as if elementary-wallpapers is not installed or correctly configured
<Jonathan74> pushqrdx: I may be going down a rabbit trail without a solution... but, can you send a screenshot?
<Jonathan74> Ah, does `Import Photo...` work?
fendor has quit [Remote host closed the connection]
<pushqrdx> it opens the dialog if that is what you are asking, but default wallpapers should be there by default. also idk where they are anyway
Acou_Bass has quit [Ping timeout: 258 seconds]
<pushqrdx> there was even a default nix wallpaper set when i first booted but now it's gone
<Jonathan74> It looks like the problem is just that the standard defaults are either not working and non existent for some reason.
<notgne2> I don't know anything about pantheon, but a lot of problems like this come from hardcoded paths to dead nix store locations
<Jonathan74> I was thinking it may probably related to nix's store locations.
<notgne2> some config might have auto generated itself with `stockWallpapers = /nix/store/blah-blah-blah`, then pantheon updated and now the store path is dead
<Jonathan74> pushqrdx: try running `nix-env -iA nixos.pantheon.elementary-wallpapers`.