worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
<colemickens> Is it expected that `nix build /nix/store/foo.drv` doesn't build the derivation? (nix-build does...)
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<infinisil> nix-build's interface is rather overloaded, I'm not surprised to see some things not being implemented (yet?) for nix build
<colemickens> infinisil: what's the recommended way of achieving this goal in `nix` though?
<colemickens> infinisil: I took to using `nix show-derivation` and piping to jq to read outputs.out.path and that doesn't feel great.
<infinisil> colemickens: Well, `nix build ....drv` works for me
<infinisil> Maybe you're using an older version?
orivej has quit [Ping timeout: 246 seconds]
orivej_ has joined #nixos-dev
<colemickens> > nix-build /nix/store/0qv4qcxgcmigg8s8fqs7c6l2yqnrjrs7-nixos-version.drv
<colemickens> /nix/store/8flc61l030gw732wp897gf7jzqgy5xfw-nixos-version
<{^_^}> undefined variable 'nix-build' at (string):318:1
<colemickens> > nix build /nix/store/0qv4qcxgcmigg8s8fqs7c6l2yqnrjrs7-nixos-version.drv; readlink -f result
<colemickens> /nix/store/0qv4qcxgcmigg8s8fqs7c6l2yqnrjrs7-nixos-version.drv
<{^_^}> error: syntax error, unexpected ';', expecting ')', at (string):318:72
<colemickens> It just returns the drv back to me. This is on stable and nixFlakes versions.
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
<infinisil> colemickens: Yeah but is the derivation not built?
<infinisil> I checked with `nix-store -q --outputs /nix/store/....drv` to get the output, then seeing if the path exists before and after `nix build`
<infinisil> Calling `nix build` on the drv makes the path be built
<infinisil> (./result just gets pointed to the drv too though)
<colemickens> infinisil: oh! interesting. I'm trying with pre-built drvs so I hadn't actually noticed this detail.
<colemickens> I still find it a bit surprising.
<colemickens> I'll see if I can emulate the nix-store invocation in `nix` too, would be nice to avoid jq and also try to dogfood v2-only...
ris has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-dev
cole-h has joined #nixos-dev
cole-h has quit [Client Quit]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
das_j has quit [Quit: killed]
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
ajs124 has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
das_j has joined #nixos-dev
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
cole-h has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
rajivr has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.8]
FRidh has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
ixxie has joined #nixos-dev
FRidh has quit [Ping timeout: 260 seconds]
FRidh has joined #nixos-dev
gilligan1 has quit [Quit: WeeChat 2.7.1]
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
cole-h has quit [Quit: Goodbye]
ixxie has quit [Ping timeout: 246 seconds]
<manveru> i really wish nixos-rebuild didn't insist on the flakeAttr being in `nixosConfigurations`...
orivej has joined #nixos-dev
Jackneill has quit [Read error: Connection reset by peer]
Jackneilll has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-dev
<gchristensen> Mic92: that was a pretty funny reply to Michael Dexter :'D. I've been whispering about Nix in his ear for a while now.
<FRidh> using nix dev-shell I get derivation '/nix/store/lxkiicrxvf4fxad3w5ixac4wqwqsqbz7-python3.8-pyacodb-dev-env.drv' has incorrect output '/nix/store/kxlsxgxnp9x49bh8zk6dwi6fdc2xk7lv-python3.8-pyacodb-dev-doc', should be '/nix/store/hbln0va6p7mbi0xa2mdb8nqi2y4a0pi6-python3.8-pyacodb-dev-env-doc'
<FRidh> flakes bug?
orivej_ has quit [Ping timeout: 258 seconds]
phreedom_ has joined #nixos-dev
orivej has joined #nixos-dev
<FRidh> using only a single output "out" bypasses the issue
phreedom has quit [Ping timeout: 240 seconds]
raboof has quit [Ping timeout: 260 seconds]
raboof has joined #nixos-dev
<Mic92> gchristensen: have you used freebsd?
<gchristensen> no and I don't ever plan on it
<gchristensen> is it nice? :)
<gchristensen> (I don't mean to say I'm avoiding it or won't use it, I just have no plan to do so)
<evax> FRidh: are you using mkShell? if so I've had a similar issue last week and worked around it using symlinkJoin instead
<FRidh> evax: this is with buildPythonPackage
<FRidh> evax: you did not have multiple outputs then I suppose?
<Mic92> gchristensen: I am not super convinced by it. It seemed to be stuck in the past. Their configuration basically consists of shell scripts, the POSIX one without at least some basic data structure. Writing rc.d scripts is not exactly a pleasure. For long time they did not had a proper package manager. They bring up arguments like zfs and dtrace, but now we have in Linux the same or aquivalents
<Mic92> that are at least as good.
<gchristensen> I agree
<gchristensen> my real motivation is to tempt him to try NixOS :P
<{^_^}> nix#3770 (by FRidh, 45 seconds ago, open): nix develop: derivation ... has incorect output ..., should be ...
<Mic92> They claim that userspace and kernelspace are better integrated since they are developed by the same team. However the loosley coupling is what made things like docker possible. In FreeBSD jails have to be updated with every sysupgrade or else the userland might not work anymore.
<gchristensen> oof
<qyliss> The most interesting thing about FreeBSD for me is Capsicum
<qyliss> Which doesn't seem to be going anywhere (or an equivalent) on Linux
<qyliss> it's the least interesting of the BSDs though imo
<Mic92> I don't much about capsium. At least we can part of it with systemd hardening options from the sounds of it: https://www.cl.cam.ac.uk/research/security/capsicum/freebsd.html
<qyliss> Not at all. Capsicum is proper capabilities. Hardening is trying to restrict what a process does one thing at a time and hoping you don't break anything.
<Mic92> What are the pratical implications?
<qyliss> It's much for likely for a process to have the minimal capabilities it needs to be able to do its job, and therefore less likely to be able to be exploited
<qyliss> With Linux/systemd, for example, you can either grant CAP_NET_ADMIN to a service, or you can not. But the surface area of CAP_NET_ADMIN is huge and dangerous, especially considering the relative safety of some operations it's required for.
<Mic92> I would became more granular. Systemd also has now BPF filter to restrict socket operations further
<marek> what is going on here, how is this possible? updated merged, but not in master anymore? what am I missing? https://github.com/NixOS/nixpkgs/pull/91429 https://github.com/NixOS/nixpkgs/pull/91429
<{^_^}> #91429 (by nyanloutre, 6 days ago, merged): ledger-live-desktop: 2.3.2 -> 2.6.0
<marek> someone forced pushed to master?
<qyliss> I think master can't be force pushed to
<evax> FRidh: I was building a python environment, but using a single output
<marek> qyliss: I think it is protected, but the owner can do it anyway, not sure how to explain it otherwise
<Mic92> marek: I would say the branch owner did a rebase. Github has this usuability bug that somethings are marked as merged also they have not been.
<qyliss> It's in master!
<marek> Mic92: that commit is in nixpkgs-unstable, but not in master
<qyliss> > mmahut merged commit 1ed94fe into NixOS:master
<{^_^}> undefined variable 'mmahut' at (string):318:1
<marek> yeah, but can you see the change there? :)
<qyliss> git branch -r --contains 1ed94fe
<Mic92> I can see it too
<marek> hrm, I wonder why it says there is no conflict?
<gchristensen> where does it say no conflict?
<{^_^}> firing: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
<marek> it says that my commit, which is just a PR and not merged is the change in master
<marek> ok, it's definetly a github bug, I just did a refresh and it's different now :) nevermind
<gchristensen> oh github
<gchristensen> quality software
<Mic92> Eventually consistency
<gchristensen> (btw even administrators cannot force push, and the audit log doesn't record anything like changing those restrictions)
teto has quit [Quit: WeeChat 2.8]
FRidh has quit [Ping timeout: 265 seconds]
FRidh has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
teto has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
<urkk> autoPatchelfHook is trying to patch a .dbg file with an ELF header but fails with "strange: no string table"
<urkk> didn't find any exclude file list in auto-patchelf.sh
<urkk> also non executable but valid ELF files are added for patching
<urkk> why so?
bennofs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
<gchristensen> domenkozar[m]: really good work to you and ben on these errors
<domenkozar[m]> \o/
<gchristensen> colemickens reminded me of this dream I had: https://gsc.io/snaps/79736cd8-73a2-4b26-a171-1da9aba858c3.png
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej_ has joined #nixos-dev
<domenkozar[m]> I'm getting annoyed by firefox again not resolving websites
<domenkozar[m]> anyone else experiencing that?
orivej has quit [Ping timeout: 265 seconds]
<ajs124> domenkozar[m]: have you tried restarting it and nscd?
<domenkozar[m]> yes
<ajs124> also, re firefox: I could use some help with #91746, if anyone has some time.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/91746 (by ajs124, 2 days ago, open): nss: 3.52.1 -> 3.54
<LnL> I had weird issues recently but that had nothing to do with firefox
<LnL> somehow ended up with an ipv6 only connection and unlike a few years ago many things still worked :D
<timokau[m]> gchristensen++ that looks great. Its probably just a hand-written design and not actually implemented in any way right?
<{^_^}> gchristensen's karma got increased to 325
<gchristensen> yeah I made that in a google doc :P
<timokau[m]> Ah, that's a shame :D Still a good start, maybe somebody will work on this. I've wanted something like that for a while too.
__monty__ has joined #nixos-dev
<timokau[m]> At that point you'd probably have to launch a proper TUI to get full control of the "screen" and the ability to redraw not only the last line. Then you could also add the last line of every running build by default, instead of squishing it all into one line.
<gchristensen> yeah exactly
<{^_^}> resolved: RootPartitionLowInodes: https://status.nixos.org/prometheus/alerts
Scriptkiddi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
das_j has joined #nixos-dev
bennofs has joined #nixos-dev
<ajs124> domenkozar[m]: ah, and for firefox networking problems there's always about:networking. It has a dns section, as well.
<teto> ajs124: damn that's cool, I have the firefox issue from times to times next time i will check that section
FRidh has quit [Ping timeout: 260 seconds]
FRidh has joined #nixos-dev
evanjs has quit [Quit: ZNC 1.8.0 - https://znc.in]
evanjs has joined #nixos-dev
FRidh has quit [Ping timeout: 256 seconds]
FRidh has joined #nixos-dev
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos-dev
justanotheruser has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
ericnoan has quit [*.net *.split]
ryantm_ has quit [*.net *.split]
notgne2 has quit [*.net *.split]
marek has quit [*.net *.split]
evax has quit [*.net *.split]
arianvp has quit [*.net *.split]
ericnoan has joined #nixos-dev
marek has joined #nixos-dev
notgne2 has joined #nixos-dev
ryantm_ has joined #nixos-dev
evax has joined #nixos-dev
justanotheruser has quit [*.net *.split]
xwvvvvwx has quit [*.net *.split]
xwvvvvwx has joined #nixos-dev
justanotheruser has joined #nixos-dev
arianvp has joined #nixos-dev
justanotheruser has quit [Max SendQ exceeded]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
justanotheruser has joined #nixos-dev
ris has joined #nixos-dev
* colemickens wants magic tooling to split apart a PR based on attributes/paths.
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-dev
bennofs_ has joined #nixos-dev
bennofs has quit [Ping timeout: 256 seconds]
globin has quit [Ping timeout: 272 seconds]
globin has joined #nixos-dev
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
cole-h has joined #nixos-dev
<kloenk> The hash of a nix store path, in what format is it? where does the base32 alphabet comes from? does it have an standart?
<niksnut> no it's not standard
<kloenk> niksnut: any reason for this alphabet? just curios
<cole-h> I've read in the past that some characters were removed to prevent accidental swearing, offensive terms, etc., from showing up in hashes. Don't know how accurate that is, though. Might be covered in the paper?
michaelpj has quit [*.net *.split]
<qyliss> it's in the paper (and that's correct)
michaelpj has joined #nixos-dev
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos-dev
phreedom_ has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 246 seconds]
* colemickens 's mind is blown
orivej has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
<clever> colemickens: you could mkForce it, but then you loose the automatic values based on fileSystems.*.type, so you have to be more careful
<clever> oops, mixing rooms up, lol
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos-dev
__monty__ has quit [Quit: leaving]
<manveru> <3 the new errors :)
<gchristensen> they're so good!
<infinisil> New errors?
<infinisil> Oh the Nix improved error proposal thing?
<manveru> some of that was recently merged :)
<infinisil> Oh neat
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 265 seconds]
justanotheruser has joined #nixos-dev
teto has quit [Quit: WeeChat 2.8]
<ajs124> They look really nice, but now we've got evals failing on our (private) hydra, with "error: --- SQLiteBusy --- nix-daemon" -.-