<sneak>
if i have a .nix file that has a var from pkg.buildEnv in it, and that .nix file is on a git repo somewhere, how do i tell ~/.config/nixpkgs/config.nix to access that repo by URL?
aaabbbbbbbbbb has quit [Ping timeout: 256 seconds]
gustavderdrache has quit [Quit: Leaving.]
WitchKiwi is now known as DigitalKiWicked
<witchof0x20[m]>
Where should I start with debugging issues in initrd secrets? I cannot finish `nixos-rebuild switch` anymore because there appears to be a cumulative effect with previous config files, and something is causing `nixos-rebuild switch` to fail with `failed to create initrd secrets: No such file or directory`
supersandro2000 has quit [Ping timeout: 246 seconds]
<jtobin>
anyone know if there are any tricks to opening port 80 on nixos?
<witchof0x20[m]>
I was able to solve this once before: an old config pointed to a wrong file, so I added a dummy file, did a rebuild, then rebuilt with `--install-bootloader` which seemed to reset the accumulation. However on the machine I'm working with now, the error does not include a filename, so I'm stuck without any idea what is breaking. My current config should be valid.
jabster28 has quit [Ping timeout: 246 seconds]
<jtobin>
i have networking.firewall.allowedTCPPorts = [ 80 ]; set
Yaniel has joined #nixos
<jtobin>
ditto for allowedUDPPorts
<jtobin>
but nmap tells me that it's not open
foobar6809 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @aanderse opened pull request #101884 → composer2: init at 2.0.0 [20.09 backport] → https://git.io/JTPNm
<Akira[m]>
just making sure. if i want the swap used as rarely as possible, but still an option, I want `vm.swappiness` set low?
fendor_ has joined #nixos
fendor has quit [Ping timeout: 256 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<infinisil>
colemickens: (I commented in the issue)
ransom has joined #nixos
<gchristensen>
anyone have docs on chrooting in to an existing nixos installation? I'm trying to rescue a system, where the rescue environment is centos
<emmanuel_erc>
Does "nix copy" also copy over the closure of the store path you give it? Or do you have to manually compute the store path and then call "nix copy" on each path?
<{^_^}>
[nixpkgs] @jonringer opened pull request #101887 → nixos/docs/rl-2009.xml: grafana: description, example agreement → https://git.io/JTPhI
<{^_^}>
[nixpkgs] @andir pushed commit from Klemens Nanni to release-20.09 « steam: Do $PATH lookup in steam.desktop instead of hardcoding derivation »: https://git.io/JTPj4
jmsb has left #nixos ["ERC (IRC client for Emacs 27.1)"]
<slimep>
oh, seemingly it's just gitAndToos.pass-git-helper that's no longer building
<dstzd>
got an even weirder error on that one "bash: relocation error: /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/libpthread.so.0: symbol __write_nocancel version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference"
nuncanada has joined #nixos
<dstzd>
i guess the ld preload stuff is what it was. removing /etc/ld-nix.so.preload fixed it. thanks for the LD_ env hint..
m0rphism has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @andir pushed 2 commits to release-20.09: https://git.io/JTXvD
<ldlework>
If I don't use the nix server, well then jack tooling can modify configuration, but well, jack isn't available.
jabster28 has quit [Ping timeout: 272 seconds]
<ldlework>
Does NixOS have an official bountry program?
<ldlework>
bounty
<samueldr>
I don't know of any; you mean the bounties as in users pay (or promise to pay) for a feature, right?
<samueldr>
well, for work
<samueldr>
though there's not any for security bug bounties either I think
h0m1 has quit [Ping timeout: 272 seconds]
<ldlework>
samueldr: yeah a general bounty system
<ldlework>
I would like to throw loads of cash at this problem
<ldlework>
If I never have to fucking think about linux audio again, it'll be worth it lol
h0m1 has joined #nixos
<ldlework>
One has to wonder whether enabling the jackd service uses jack or jack2
<ldlework>
ah jack2
orbekk has quit [Ping timeout: 264 seconds]
kalbasit_ has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @jonringer opened pull request #101890 → nixos/docs/rl-2009.xml: grafana: description, example agreement → https://git.io/JTXIn
<ldlework>
Ah but if you don't use the jack service, you get none of the alsa and pulse integration.
<ldlework>
I should like, sit down and just read all the nix related to jack.
<ldlework>
Though, I desperately don't want to.
acarrico has quit [Ping timeout: 264 seconds]
<infinisil>
The NixOS 20.09 release is buried in https://news.ycombinator.com/newest at position 147 with 3 upvotes (not linking to it directly because I think HN detects this)
<ldlework>
Is there any way to restart the pulseaudio server? I'm not finding a systemd unit.
<KarlJoad>
Does anyone know just HOW broken sage and scilab are?
<ldlework>
:O audio playing over my USB mic
<ldlework>
holy shit it's a miracle
NicksOS has joined #nixos
<NicksOS>
heya
<NicksOS>
when I Sleep/Suspend to RAM and wake up I can't get wifi working again. IDK what's going wrong, don't know how to troubleshoot it, but I want to solve it. It's an HP Pavillion laptop, if that matters.
<samueldr>
and linuxPackages_5_9 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_5_9);
<samueldr>
I would assume something like your git repo isn't pulled all the way?
<danderson>
never mind, I'm an idiot. Was pulling from the wrong remote.
<samueldr>
:)
<danderson>
`origin` is my fork, `upstream` is upstream
<danderson>
doh.
<samueldr>
haha, I name _my_ forks with my github username, just to be sure
<danderson>
I think my rationale was not accidentally pushing to nixpkgs, if I ever got commit access. Admittedly an unlikely scenario in the first place :)
<samueldr>
you can set a push-url to something like "NOPE"
<nbathum>
want to package it from GitHub, like the suggestions in the PR
<nbathum>
seems not a simple as 'set format = "pyproject";' (possibly because the project does not include a 'setup.py' upstream? idk python very well)
danderson has quit [Remote host closed the connection]
<siraben>
nbathum: uh oh, this looks somewhat nasty to package
<siraben>
Hm, `setup.py` is not in the git repo, interesting.
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.snowflake-connector-python: 2.3.3 -> 2.3.4 »: https://git.io/JTXRU
cfricke has joined #nixos
palo1 has joined #nixos
<regnat>
colemickens: drvPath is an attribute added by the derivation builtin to every derivation. But it's indeed not documented anywhere and probably not guaranted to be stable
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<colemickens>
regnat: oh gee, that makes sense
<colemickens>
regnat: also, I was able to remove all knowledge of drvs from my script after all. thanks for the tip, nudge and now followup.
<colemickens>
I still have to do `nix copy --derivation` but I don't actually ever store a store path ending in ".drv" so that seems good in terms of avoiding relying on the exact mechanism.
<sephii>
Hello, I'm having the following error (libguestfs marked as broken) when trying to upgrade to 20.09: https://dpaste.com/AT8LTAM7F. According to the traceback it's because vagrant needs it, does in mean vagrant is broken in 20.09?
asheshambasta has joined #nixos
<regnat>
colemickens: Oh nice, I'd be interested in knowing how :)
<colemickens>
regnat: originally I was calling nix eval in one place to pass all my override-inputs, then carted that drv around. For the most part I can just either use the flake reference and nix handles building it, or I can throw --derivation in and it acts on the derivation behind the scenes. It was honestly rather easy, I feel kinda silly I hadn't already realized it and done it.
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.py-multibase: 1.0.1 -> 1.0.3 »: https://git.io/JTXE4
ishan has joined #nixos
<srhb>
sephii: es, it does.
jonringer has quit [Ping timeout: 260 seconds]
<srhb>
Erm, yes*
domogled has quit [Remote host closed the connection]
<ishan>
I am using flakes I wrote an overlay to get neovim from master. When I launch neovim it is unable to see my ~/.config/nvim/init.vim. Also my XDG_CONFIG_DIRS does not contain $HOME/.config . What's the problem here?
domogled has joined #nixos
alp has joined #nixos
aszlig has joined #nixos
develCuy has joined #nixos
mallox has joined #nixos
<srhb>
ishan: I don't think ~/.config is normally in XDG_CONFIG_DIRS, but in XDG_CONFIG_HOME
<srhb>
ishan: So that's probably not related.
<srhb>
ishan: What do you mean it cannot _see_ ~/.config/nvim/init.vim? :)
<ishan>
@srhb my config for nvim isn't loaded. Everytime a nvim launches it launches a default one.
<ishan>
@srhb actually XDG_CONFIG_HOME was also empty initially I had to set it manually in my configuration.
<qyliss>
programs that implement XDG Base Directories are supposed to use ~/.config by default if XDG_CONFIG_HOME is unset
<srhb>
ishan: And what is the value of XDG_CONFIG_HOME now? I ask because it sounds like you have fiddled with vars that, if set incorrectly, would produce the behaviour you're seeing.
<ishan>
@srhb /home/me/.config
<srhb>
According to your shell, not nix, right?
<ishan>
yes I used echo $XDG_CONFIG_HOME.
<srhb>
ishan: And nvim -u /home/me/.config/nvim/init.vim works fine?
<ishan>
@srhb yes I checked it works.
<srhb>
ishan: Time to pastebin your nix setup of nvim I guess :)
<sephii>
srhb: is there a way to know why it's broken? I see that it's been marked as broken in 1a1d940f07c70fe57b34bed7db86596dd052a0bf (the commit message being "treewide: initial mark broken for 20.09") but that's all the information there is. I tried building it and it built fine, so maybe it's a runtime problem?
<srhb>
sephii: That's usually done because the hydra build was failing just before release (where everything that doesn't build is marked broken)
<srhb>
sephii: If that was a transient error, it may be a mistake
<srhb>
sephii: Best way to figure out is to clone nixpkgs and remove the broken flag and test everything.
<typetetris>
Good Morning! Is there the possibility to have a custom x session (.xsession) and still be able to select different sessions in lightdm? (Naivly just creating .xsession results in selection in lightdm being ignored.)
jmeredith has quit [Quit: Connection closed for inactivity]
danderson has quit [Remote host closed the connection]
chipb has quit [Ping timeout: 272 seconds]
<colemickens>
I think this might've been why I was carrying the drv path around
<regnat>
colemickens: That seems to make sense to me, when you run nix build /nix/store/...dirty, Nix has no way to retrieve the derivation that should produce this output path
<regnat>
So it works if the path is already there or in a binary cache, but otherwise it will fail
danderson has joined #nixos
<colemickens>
I assumed it might be that, something like the overriden source doesn't actually get copied to the store unti lthe build?
Fare has quit [Ping timeout: 260 seconds]
<colemickens>
But for it to be able to evaluate it in the first place, doesn't it need the source in the store?
meatcar has joined #nixos
<regnat>
No, you have the same thing with a trivial Nix derivation. The path that nix eval outputs is the output path of the derivation, which doesn't make much sense until it is built
<jbo>
Hi there! I'm chrooted into my nixos install following the guide https://nixos.wiki/wiki/Change_root. When I run `nixos-rebuild switch --upgrade` though, I get "error: writing to file: Operation not permitted". Any advice?
<jmercouris>
"could not load the QT Platform plugin "xcb"
<fendor_>
how can I check where a certain dependency comes from? Just upgraded to nixos 20.09 and I can't rebuild user programs because of some depndency on libguestfs and I dont know what depends on that
<fendor_>
jophish, yeah, nix why-depends should work, too right? But I dont know who depends on it
<supersandro2000>
Is there a way I can cache nix-prefetch-url?
<supersandro2000>
I need it for my update script and the hashes won't change in the near future
<jophish>
fendor_: yeah, I can't remember why I made this instead of using that
<jophish>
I think that only workds on .drvs or something/
<niksnut>
jbo: it's not a good idea to disable sandboxing permanently, but it's okay to do it to finish the install
<roberth>
fendor_: I think you're looking for nix-store -q --referrers-closure $drv
<fendor_>
roberth, thanks! Just found the nix pills that references it
<jophish>
fendor_: Thanks for your hard work on HLS btw!
Neo-- has quit [Ping timeout: 264 seconds]
<jbo>
niksnut: this is trying to repair an existing install - if I run that install command, will it read my existing configuration.nix & not break the install further?
<boxscape>
I'm running Ubuntu inside WSL2, and if I use Ubuntu to install mesa-utils, glxinfo works fine. But if I run nix-shell -p glxinfo, and then run glxinfo, it tells me "couldn't find RGB GLX visual or fbconfig". I suspect the underlying error is also what's preventing me from running glx applications. Any idea what the problem here might be?
<colemickens>
boxscape: my understanding is that Nix apps that use GL don't work well on non-NixOS systems
<cosarara>
hi there! I upgraded today to 20.09 on plasma and networkmanager stopped letting me connect to wifi. It says "Secrets were required, but not provided". Tried both the plasma applet and nmtui, both give the same error :S
<boxscape>
Is ext4 or zfs the recommended file system for nixos these days?
domogled has quit [Ping timeout: 256 seconds]
domogled1 is now known as domogled
<simpson>
boxscape: I'm not sure that the question is NixOS-specific; Linux broadly recommends ext4 for general-purpose work.
<boxscape>
okay, thanks
<etu>
boxscape: ZFS for sure works well on NixOS, but I don't think we have a recommended filesystem. I'm not sure there ever will be any distro recommending ZFS as default due to licensing and the module not being mainline.
ManiacOfMadness has quit [Ping timeout: 272 seconds]
zupo has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
<supersandro2000>
to add a bit more clarity on which platform nixpkgs-review was run I did https://github.com/Mic92/nixpkgs-review/pull/142. Reviews welcome especially if some other infos are useful for reviewers/mergers
<{^_^}>
Mic92/nixpkgs-review#142 (by SuperSandro2000, 8 minutes ago, open): Add platform run on to report
<Mic92>
supersandro2000: or nix-instantiate --eval --json --expr 'builtins.currentSystem'
<supersandro2000>
Mic92: awesome. changing that
<supersandro2000>
okay which now?
<supersandro2000>
we probably want to know on which platform nix run and not python
cosimone has joined #nixos
<Mic92>
supersandro2000: I think we should go for nix: subprocess.check_output(["nix-instantiate", "--eval", "--json", "--expr", "builtins.currentSystem"], text=True).strip('"')
<Mic92>
You can add it and I fix the unit tests afterwards to include mocking for this command.
andreas303 has joined #nixos
<supersandro2000>
Mic92: done minus the mocking
<supersandro2000>
the mocking tests fail for me locally anyway..
<{^_^}>
[nixpkgs] @cstich opened pull request #101933 → julia: init at 1.5 → https://git.io/JT1Tb
lord| has quit [Ping timeout: 240 seconds]
werner292 has joined #nixos
zupo has joined #nixos
astylian has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<matthewkenigsber>
niksnut: hi, been trying to contribute to nix and was looking at toJSON functions because of https://github.com/NixOS/nix/pull/4182. Is it helpful to create PRs for kinda petty stuff like consistently capitalizing all toJSON functions (one of them is currently toJson) or is that needless churn?
<{^_^}>
nix#4182 (by mkenigs, 5 days ago, open): Print built derivations as json for build
<supersandro2000>
drakonis: I hope they are equal. If not matthewkenigsber probably shouldn't do it
<matthewkenigsber>
drakonis: don't see anything it would break
<drakonis>
in nixpkgs maybe?
<drakonis>
or anything outside of it?
Neo-- has joined #nixos
<matthewkenigsber>
The function I'm talking about is an internal c++ function in nix
<siraben>
matthewkenigsberg: if the change is toJson → toJSON for consistency that seems like a simple sed script to run, likely shouldn't break aynthing
<siraben>
s/aynthing/anything
acarrico has quit [Ping timeout: 240 seconds]
<siraben>
I did similar treewide changes (removing periods from end of packages) to nixpkgs
<bennofs>
can I rely on runtimeShell to be bash-compatible?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fadenb has quit [Quit: killed]
U-armin has quit [Quit: killed]
<hexa->
need to enable pipewire and the wlroots xdg-desktop-portal
domogled has quit [Quit: domogled]
erasmas has joined #nixos
<hexa->
the portal is there to offer a generic way to select a window/desktop/area AFAIU
domogled has joined #nixos
<nicolas[m]>
To enable screensharing you need `services.pipewire.enable = true` and an `xdg-desktop-portals`-{gtk,qt,wlr}
<hexa->
nicolas[m]: see the paste
<hexa->
i however cannot get firefox to use the portal
<hexa->
it still uses it's own dialog
zupo has joined #nixos
<hexa->
pretty sure colemickens is interested in this topic as well :)
<Reventlov>
hexa-: yeah I have something pretty similar…
lordcirth__ has left #nixos ["Leaving"]
seku has joined #nixos
<hexa->
apparently GTK_USE_PORTAL=1 was required at some point
<hexa->
but that doesn't do anything for me
<hexa->
(/nix/store/b0kbwlnack2r3v7ji5vbnjjgjff6gzd5-firefox-unwrapped-82.0/lib/firefox/firefox:29003): Gdk-WARNING **: 16:36:59.420: Settings portal not found: Could not connect: Connection refused
<hexa->
oh well
<hexa->
could that be it?
<{^_^}>
[nixpkgs] @lheckemann pushed 4 commits to release-20.09: https://git.io/JT1c5
<hexa->
fwiw: firefox can share my complete desktop on sway
jonringer has joined #nixos
<hexa->
i just cannot select particular windows
<nicolas[m]>
yes, this is expected
euandreh` has quit [Remote host closed the connection]
<Reventlov>
hexa-: oh it can ?
<Reventlov>
hmmm
cfricke has joined #nixos
<nicolas[m]>
IIRC emersion said that screensharing a specific window on wlroots would be too much of a performance hog so they wouldn't do it (at the moment?)
<supersandro2000>
Mic92: not sure if this helps you but according to my google foo LIBRARY_PATH does not point to the dir of crt1.so
<daGrevis>
hi! how can I avoid error when vboxsf fs is not found? currently it fails to boot, but I'd like it to still boot and work if it's not found.
<daGrevis>
I tried noCheck option, but that's not it.
<daGrevis>
okay, got it. I need to give `nofail` to fileSystem options and then it all works!
<justanotheruser>
what is the importance of the "programs" attribute set? It is a bit tough to google "nixos programs". Is there documentation on it? More specifically, why aren't things like emacs and firefox part of the `programs` attribute set?
selfsymmetric-mu has joined #nixos
CyberManifest has joined #nixos
<lordcirth_>
justanotheruser, IIRc, it's things that aren't just packages, because they change something, but also aren't services.
cosimone has quit [Remote host closed the connection]
<selfsymmetric-mu>
I'm having trouble testing a PR. It's just a simple version bump. I'd appreciate a look from someone who knows how to test PRs: https://github.com/NixOS/nixpkgs/pull/101948
<supersandro2000>
selfsymmetric-mu: I think you are missing a {} behind of those. Can't tell you where
<justanotheruser>
lordcirth_: hmm so it looks like `programs.gnometerminal` uses `dconfPath`. I suppose there is some system level path each derivation in `programs` modifies? That makes some sense
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<makefu>
selfsymmetric-mu: for testing a PR you can normally use nix-review (`nix-shell -p nix-review --run 'nix-review pr 101948'`)
alp has quit [Ping timeout: 272 seconds]
<makefu>
this will try to build all dependencies
<makefu>
or better, all the packages which depend on the changed package
CyberManifest has quit [Ping timeout: 265 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
sneak has joined #nixos
jabster28 has joined #nixos
julm has quit [Ping timeout: 265 seconds]
Maxdamantus has quit [Ping timeout: 246 seconds]
alp has joined #nixos
<{^_^}>
[nixpkgs] @jonringer opened pull request #101950 → libtensorflow: unmark as broken → https://git.io/JT1Rx
Fare has joined #nixos
julm has joined #nixos
<selfsymmetric-mu>
makefu: Oh thank you!!
Maxdamantus has joined #nixos
<drakonis>
20.09 is out, its time to update the topic
<makefu>
selfsymmetric-mu: also, when you want to test your derivation you can run `nix-build -A tdlib .` when in your checked out nixpkgs repo
<selfsymmetric-mu>
makefu: Oh, this is great, thank you. Looks like the build did in fact fail.
alp has quit [Ping timeout: 260 seconds]
<selfsymmetric-mu>
I think it's because tdlib 1.6.9 isn't an actual "release", despite being required as a minimum version by telega.
<makefu>
there is also a one-liner to directly test your derivation in when it is not currently part of nixpkgs: nix-build -E 'with import <nixpkgs> {};pkgs.callPackage ./default.nix {}'
cosimone has quit [Remote host closed the connection]
sulami has left #nixos ["ERC (IRC client for Emacs 27.1)"]
<selfsymmetric-mu>
Thinking about what to do here. I'm going to use the revision for now.
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.drf-yasg: 1.17.1 -> 1.20.0 »: https://git.io/JT1zD
<Mjiig>
Hi, I'm trying to install the obsidian package, but entering the command suggested on the nixos package search `nix-env -iA nixos.obsidian` gives the error "error: attribute 'nixos' in selection path 'nixos.obsidian' not found", and just using `nix-env -i obsidian` installs a different (dwarf fortress) package with the same name, any idea what I'm
<Mjiig>
doing wrong?
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}>
[nixpkgs] @jonringer pushed 2 commits to staging-20.09: https://git.io/JT1g1
<{^_^}>
[nixpkgs] @onsails opened pull request #101954 → buildkite-agent: 3.17.0 -> 3.25.0, use buildGoModule, add darwin to platforms → https://git.io/JT1gD
<Mjiig>
aasg Running `nix-channel --list` gives me `nixpkgs https://nixos.org/channels/nixpkgs-unstable` which I assumed meant I could install things if they showed up in the unstable search on the site?
jabster28 has joined #nixos
<Mjiig>
(I'm running nix on ubuntu, rather than nixos, not sure if that distinction matters)
<mudri>
I just noticed that https://github.com/NixOS/nixpkgs-channels is deprecated. What's the alternative for keeping my local nixpkgs clone (largely) in sync with nixos-unstable?
<gchristensen>
the nixos-* and nixpkgs-* branches of nixpkgs
lord| has joined #nixos
sss2 has quit [Read error: Connection reset by peer]
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<azazel>
yep, there are many issues, but most of them spur from the fact that the format of the mix.lock file isn't stable
<Raito_Bezarius>
I know that (a) builds.sr.ht requires more work (b) secrets management must be done in a proper way
<pinpox>
Raito_Bezarius: could we maybe merge the stuff that is already working?
<Raito_Bezarius>
azazel: ha, I read you as "I'm using"
<pinpox>
I'm mostly interested in the git stuff, builds is not that relevant to me
<Raito_Bezarius>
pinpox: you'd have to shepherd the pull request in order so that it can get merged :p
<Raito_Bezarius>
I can help you though
<Raito_Bezarius>
azazel: the discourse link is not working for some reason
<{^_^}>
[nixpkgs] @Ma27 pushed commit from @WilliButz to release-20.09 « grafana: 7.2.2 -> 7.3.0 »: https://git.io/JT1r8
<pinpox>
Raito_Bezarius: Sure. Is the secrets stuff required for other things except builds?
<Raito_Bezarius>
until it works, hm, so is there a proper tool azazel for packaging things?
<Raito_Bezarius>
pinpox: theorically speaking yes
ryantrinkle has quit [Ping timeout: 260 seconds]
<Raito_Bezarius>
because you have private keys in the config which will end up in the nix store
<azazel>
Raito_Bezarius: it's complicated, but not without solution ;-)
<Diana>
just so you know, as someone fighting a lot in the BEAM ecosystem in nix
<azazel>
Raito_Bezarius: that's why it's better that you read that thread to the end
<Diana>
there is still no good solutions to bring dependencies from mix or rebar in nix. Anything that depends on mix.lock will indeed have the problem that the format is not stable
<pinpox>
Raito_Bezarius: I see. That's the point I have no idea on how to proceed
<azazel>
ah Diana is the one that started that "status of the BEAM ecosystem thread" i linked here
<Diana>
indeed
<Raito_Bezarius>
i'm mostly interested into a one-shot solution
<Raito_Bezarius>
for a service which will remain mostly stable
<Raito_Bezarius>
the thing is nothing I tried worked so far
<Raito_Bezarius>
including hauleth's script which as far as I understand it just exploit fixed output derivation to use network access and get all those dependencies
<Diana>
That was the one i would advise
<azazel>
Raito_Bezarius: you should try the link now, the site is back online
<andi->
supersandro2000: I want the other way around. That project appears to target building images. I want to use a container during a nix-build as the setup isn't trivial and I'm unlikely to translate the build system into Nix ;)
<supersandro2000>
The only other thing I know is setting up nix in Docker
<andi->
I'm now running podman within runInLinuxVM to execute code inside a container as part of my build
<Fare>
wow, packaging a go program was much less painful than feared.
jabster28 has joined #nixos
acarrico has joined #nixos
zupo has joined #nixos
<pumpy>
about zfs can i rollback multiple datasets at once? like zfs rollback -r zroot/tmp@snp zroot/usr/home@snp zroot/var@snp?
<pumpy>
sorry if there's like #nixos-zfs?
mmohammadi9812 has quit [Read error: Connection reset by peer]
mmohammadi9812 has joined #nixos
<gchristensen>
there is a #zfsonlinux and #openzfs
<pumpy>
gchristensen++
<{^_^}>
gchristensen's karma got increased to 357
Diana has quit [Remote host closed the connection]
<supersandro2000>
Fare: with the new module (function, derivation?) it is very easy
jabster28 has quit [Ping timeout: 260 seconds]
<bqv>
julm/ju1m: bump 93659 maybe?
<Soft>
I am trying to upgrade my basic KDE desktop to 20.09 and I am running into problems because breeze-qt5-5.18.5 has been marked as broken: https://dpaste.org/NSvc#L
<Soft>
What I would like to understand why this specific version is being pulled in. I assume there is some non-broken version of breeze-qt5 available
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JT1yi
Reiser has quit [Changing host]
Reiser has joined #nixos
vesper11 has joined #nixos
nDuff has joined #nixos
vesper has joined #nixos
vesper11 has quit [Ping timeout: 272 seconds]
wjjunyor[m] has joined #nixos
<wjjunyor[m]>
Good afternoon guys.
<wjjunyor[m]>
Is it possible to use user names with dots like John.Doe ?
mallox has quit [Quit: WeeChat 2.9]
knupfer1 has joined #nixos
<clever>
wjjunyor[m]: it will probably work if you quote it
thc202 has quit [Ping timeout: 240 seconds]
<benny>
I upgraded to 20.09 and emacs has no working fonts. I don't know where to start to debug this issue.
knupfer1 has quit [Client Quit]
exco has joined #nixos
mananamenos has quit [Ping timeout: 240 seconds]
<nDuff>
What's nixpkgs' policy around kernel ABI compatibility? I'm trying to get someone with an Ubuntu Precise (12.04 LTS, long-out-of-support) system to install a modern GnuPG, and am trying to determine whether using Nix is an option for them, or if the packages coming out of Hydra won't be ABI-compatible with the 3.2.79 kernel it ships.
<gchristensen>
I guess linux only really promises forward compatibility
<{^_^}>
[nixpkgs] @RonanMacF opened pull request #101971 → update tmux-resurrect and tmux-continuum → https://git.io/JT1HM
<sphalerite>
Right, I've run into ACME problems with the 20.09 upgrade as well \o/ oddly enough I'm getting the account rate limit even though I'm using one email address for all the certs on this machine, and one of the cert services has successfully registered the account. Any ideas why this might be happening?
<jD91mZM2>
sphalerite: Crazy idea: Is the systemd job succeeding? Maybe it's set to restart on failure and fails shortly after making an API lookup
<sphalerite>
jD91mZM2: it's not, since that's exactly the sort of thing that makes you run into rate limits very quickly :D
<jD91mZM2>
Great, so you can see in the logs what the failure is?
<sphalerite>
just wanted to confirm that yeah, it used to be one account per certificate, or in other words it was 1:1 between security.acme.certs.<name> and accounts. Now it is 1:1 with email addresses as observed above.
<jD91mZM2>
sphalerite: Could you maybe use wireshark to inspect what account name it's trying (and failing) to register at that endpoint?
astylian_ has joined #nixos
<jD91mZM2>
Maybe it's something unexpected instead of your email, like issue #85861 when the dude had hostmaster@<one email per domain>, or just something else
<sphalerite>
no, it's definitely the same email address for all of them
<sphalerite>
and no, wireshark won't help since connections to let's encrypt are (surprise!) encrypted ;)
<sphalerite>
It also says in the log which address it's using, and that's the right one
astylian has quit [Ping timeout: 256 seconds]
enick_892 is now known as georgyo[m]
georgyo[m] is now known as Guest66142
<jD91mZM2>
Ok. I'll stop trying to go out of my depth :)
Guest66142 has joined #nixos
Guest66142 has quit [Changing host]
Guest66142 has joined #nixos
lunik1 has quit [Quit: :x]
ryantrinkle has joined #nixos
<benny>
is anyone on 20.09 or 20.03 and has more than 3 fonts in M-x list-fontsets RET with Emacs 27.1?
lifestronaut has joined #nixos
<lifestronaut>
I'm about to install nixos for the first time, using full disk encryption. A friend suggested I look into systemd-boot instead of grub. What kind of partition scheme should I be doing to use systemd-boot?
<samueldr>
benny: I *think* that was reported recently
<aasg>
Unrelated: is there a flag or config option to get build logs but no progress bar in `nix build`, `nix flake check` etc.? Those tend to pollute CI logs
<{^_^}>
[nixpkgs] @veprbl pushed commit from @rmcgibbo to master « bluejeans: 2.4.0 -> 2.17.0.11 (#101973) »: https://git.io/JT1dc
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
__monty__ has quit [Quit: leaving]
<dsx>
I'm trying to build 20.09 and get this:
<dsx>
/nix/store/pj0nkfr5x5nxrban9f4dw7zgxs4n0hbg-manual-combined/manual-combined.xml:11713: element xref: validity error : IDREF attribute linkend references an unknown ID "opt-home.file._name__.source"
<dsx>
Where did that came from?
<nicolas[m]>
Looks like an issue with building home-manager's manual
<dsx>
oh
<dsx>
I didn't know I'm building it
Rusty1 has joined #nixos
philr has joined #nixos
rawtaz has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<m1cr0man>
Hiyas. I was wondering if anyone knows how Gnome/other DEs find all the .desktop files on the system? I understand that derivations can create a share/applications/myapp.desktop file but I don't get how they are then discovered?
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<m1cr0man>
worldofpeace++ thanks, and I see that has a search function. So is there like an environment variable looked up or is Nix building some list of paths somewhere?
<{^_^}>
worldofpeace's karma got increased to 251
jabster28 has quit [Ping timeout: 240 seconds]
<supersandro2000>
teto: checkInputs ?
<teto>
supersandro2000: I tried without success either. I would like to see the overlay generated by poetry2nix but not sure how to.
gnidorah has quit [Quit: Connection closed for inactivity]
<worldofpeace>
m1cr0man: an application installs a desktop file to share/applications. every installed application in systemPackages gets added to an environment variable XDG_DATA_DIRS. all lookups in gio will use functions within that use that environment variable, for example GLib.Environment.get_system_data_dirs
<m1cr0man>
worldofpeace++ awesome that's _exactly_ what I was wondering :D thanks a million
<{^_^}>
worldofpeace's karma got increased to 252.00000000000003
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @lukegb to master « gopls: don't build integration tests or documentation generator (#101641) »: https://git.io/JT1AR
mikroskeem0 has joined #nixos
<sphalerite>
ooooh m1cr0man maybe you have an idea about my problem with acme above ;)
<{^_^}>
[nixpkgs] @zimbatm merged pull request #101954 → buildkite-agent: 3.17.0 -> 3.25.0, use buildGoModule, add darwin to platforms → https://git.io/JT1gD
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @onsails to master « buildkite-agent: 3.17.0 -> 3.25.0, use buildGoModule, add darwin to platforms (#101954) »: https://git.io/JT1Az
<m1cr0man>
sphalerite: ya probably :) lemme scroll
<m1cr0man>
sphalerite: Huh... so I think what might have happened is all your cert services ran at the same time, one (or more) of them succeeded in validation, and that may or may not have corrupted your accounts files
<sphalerite>
oooooooh
mikroskeem has quit [Ping timeout: 272 seconds]
<sphalerite>
that's… annoying, that that can happen >.<
<m1cr0man>
sphalerite: Try going to /var/lib/acme/.lego/accounts/aawuishfpiaubfpiud (aka some random hash) and see what's there
<m1cr0man>
yeah I think this may be bug-worthy, I might have to implement some form of lock
<m1cr0man>
_if_ that is the issue
<sphalerite>
that seems somewhat likely, since it was about 10 of them starting at once
<sphalerite>
restarting them one by one seems to work
<m1cr0man>
It's funny though because my own system has around 30 certs that share an address, but I know I haven't implemented anything to stop this happening
fendor has quit [Remote host closed the connection]
<m1cr0man>
sphalerite: It's worth noting that it really should only happen once, unless you change the email again. Renews don't request accounts, and the renew timer has a random skew for each cert. Also changing attributes of one cert will only renew that cert and not its account data
orivej has quit [Ping timeout: 265 seconds]
<sphalerite>
m1cr0man: yep, I was confused as to why all of them were trying to register accounts as well
mmohammadi9812 has joined #nixos
<m1cr0man>
If you get a chance, would you mind opening an issue and pinging @nixos/acme?
<sphalerite>
yep writing it right now :)
<m1cr0man>
Class thanks
<m1cr0man>
worldofpeace: Thanks for the link. All I'm looking to do is add my own application file to override an existing one. Knowing that it's built from systemPackages should get me going :)
justanotheruser has quit [Ping timeout: 240 seconds]
aaabbbbbbbbbb has quit [Ping timeout: 240 seconds]
<worldofpeace>
m1cr0man: oh, there's actually a couple ways to do that I think
<worldofpeace>
m1cr0man: you could do a symlinkJoin on the app and substitute the desktop file, that would be the cleanest way I think. there's other ways that the desktop file spec supports, the only one I recall is putting a modified version of the desktop file in .local/share/applications because those will take precedence
vk3wtf has quit [Quit: WeeChat 2.7.1]
<worldofpeace>
if u use home-manager I would suggest the second option, since there's a module to manage the home files
<m1cr0man>
worldofpeace: The symlinkJoin sounds interesting. I'm trying to change this for all users so home manager isn't ideal (otherwise I could just put it in ~/.local/share/applications anyway).
<worldofpeace>
m1cr0man: yeah, I personally use symlinkJoin and substitute on my machines 👍️
<worldofpeace>
u don't make it an overrride, though. you make another attribute like my-app-different-desktop-file = super.symlinkJoin ...
<worldofpeace>
and just install that one
<sphalerite>
m1cr0man: possibly also lib.hiPrio + makeDesktopItem
<m1cr0man>
Huh, interesting ok
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<sphalerite>
… but I should probably go to bed, the only reason I'm still here is because I wanted to check on the acme thing because I couldn't reach my home assistant to dim my lights because the cert was broken…
<sphalerite>
Ah, the joys of smart technology.
<sphalerite>
Thanks again, and good night!
<worldofpeace>
sphalerite: hmm, yeah if u need to construct an entirely new file
<colemickens>
but that's not the same as `nix profile ...` ?
<colemickens>
I am sort of curious what happens if I try to "nix profile install" something "into" the system profile?
<worldofpeace>
hmm, a good note is that nix profile doesn't support an important part of nix-env rollbacks and generations https://github.com/NixOS/nix/issues/3951
<worldofpeace>
oh, so it says "that it contains exactly the specified derivation, and nothing else" I guess that's useful if u want to have a set of profiles with exactly certain things and to switch between them?
<worldofpeace>
and nixos-rebuild just sets it to the default one
<colemickens>
worldofpeace: like nixos generations that are specially in the /nix/var/nix/profiles/system profile, if I understand it mostly correctly
<colemickens>
if I had to guess, `profile install` looks for a manifest.json in the existing profile and then "copy and updates" it...
<colemickens>
and since I didn't have a manifest.json, it effectively made a new profile, and then set my system to it. and then the bootloader generation process is going to be unable to make an entry for that generation.
<{^_^}>
[nixos-search] @garbas merged pull request #216 → Remove cleanUrl and fragment hack → https://git.io/JTPXL
<{^_^}>
[nixos-search] @garbas pushed commit from @turboMaCk to master « Remove cleanUrl and fragment hack (#216) »: https://git.io/JT1je
<{^_^}>
[nixos-search] @garbas pushed 0 commits to turboMaCk/avoid-fragment-hack: https://git.io/JT1jv
<worldofpeace>
mica: yay 💘
<worldofpeace>
colemickens: ooh sheesh. we shouldn't be able to do that 🤓
<supersandro2000>
is there a wrapper so that I can easily execute nix executables with sudo?
shibboleth has joined #nixos
<colemickens>
supersandro2000: I'm not sure I understand the question, is it not just sudo?
<{^_^}>
[nix] @stefanjaax opened pull request #4199 → Alter "wanted:" to "specified:" in hash mismatch output → https://git.io/JT1jE
<supersandro2000>
colemickens: example: I want to execute htop as sudo. I have it installed via home-manager
<supersandro2000>
right now I need to do `sudo $(which htop)`
<supersandro2000>
is there a better way?
<supersandro2000>
no NixOS
<colemickens>
supersandro2000: oh I see, I'm not sure. my first instinct is to say, "there must be a way to get sudo/PATH stuff to work the way you want", but I don't know. It "just works" on nixos.
<colemickens>
supersandro2000: definitely sounds kind of annoying though.
<supersandro2000>
I could forward PATH through sudo
<supersandro2000>
sudo -E PATH or so
<colemickens>
yeah I was wondering if that made sense to suggest or not
<supersandro2000>
but there needs to be a better way
<colemickens>
supersandro2000: are you on linux or darwin then?
* colemickens
should setup a couple test VMs sometime to experiment
<supersandro2000>
actually I a solution for Darwin, WSL and Linux would be nice
<colemickens>
supersandro2000: I was just wondering if maybe this was a documented issue/thing on whatever tool you're using
<nicolas[m]>
What is the Nix 2.4 equivalent to `nix-env -f <file> -i`?