worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
Graypup_ has joined #nixos
<{^_^}> [nixpkgs] @kmicklas opened pull request #94392 → [20.03] gplates: 2.0.0 -> 2.2.0, unbreak → https://git.io/JJaKX
pamplemousse has quit [Ping timeout: 265 seconds]
xelxebar has joined #nixos
drakonis has quit [Ping timeout: 246 seconds]
<evanjs> #94179 got me thinking about ovftool again
<{^_^}> https://github.com/NixOS/nixpkgs/pull/94179 (by evanjs, 2 days ago, open): pythonPackages.cot: init at 2.2.1
<evanjs> was wondering, though, what's our approach for EULA-based things? e.g. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vmware-ovftool#n48
<evanjs> I suppose it might need to be added to e.g. licenses.nix if it needs to be accepted in order to install a package?
<evanjs> wasn't sure when that is needed vs e.g. requireFile or etc
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #94392 → [20.03] gplates: 2.0.0 -> 2.2.0, unbreak → https://git.io/JJaKX
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-20.03: https://git.io/JJa6U
afreak has quit [Ping timeout: 240 seconds]
<ToxicFrog> Hrm
<ToxicFrog> I have a patch for the borgbackup module.
<ToxicFrog> I want to, if I can, copy the important parts of it into my /etc/nixos so that my local nixpkgs checkout is just for submitting patches and not what I'm routinely building the system against.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94393 → dolt: 0.18.0 -> 0.18.1 → https://git.io/JJa6s
<ToxicFrog> However, I can't just copy the module into /etc/nixos and import it because then it collides with the existing one in nixpkgs.
<ToxicFrog> Is there an equivalent to `overlays` for nixos modules that lets me patch the existing module? Failing that, is there a way to undeclare the existing module so I can replace it outright?
alp has quit [Ping timeout: 256 seconds]
<evanjs> Also, lol what is up with GH actions right now? Every time I comment on an issue I have open I get (two?) emails about failed jobs
<evanjs> Specifically on nixpkgs, I mean
m0rphism has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94394 → emplace: 0.3.5 -> 0.3.6 → https://git.io/JJa6o
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJa6K
<{^_^}> [nixpkgs] @kalbasit merged pull request #94391 → eksctl: 0.22.0 -> 0.24.0 → https://git.io/JJaKc
<{^_^}> [nixpkgs] @kalbasit pushed commit from @r-ryantm to master « eksctl: 0.22.0 -> 0.24.0 (#94391) »: https://git.io/JJa61
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94395 → dijo: 0.1.5 -> 0.2.2 → https://git.io/JJa6N
<iwq> is there any alternative for generating Nix code than just printing lines of text without any parser?
tobiasBora2 has joined #nixos
tobiasBora2 has quit [Ping timeout: 240 seconds]
Rusty1 has joined #nixos
<infinisil> iwq: Generate JSON, then import the json from Nix and transform it to what you need
philr_ has joined #nixos
<energizer> i need my derivation to have access to the `gatttool` binary. how do i provide that? i tried the new dependencyEnv, but `The command was not found or was not executable: gatttool.`. https://bpa.st/ZVAQ
kraeXen has joined #nixos
drakonis has joined #nixos
terribleArtist has joined #nixos
<evanjs> ,locate gatttool
<{^_^}> Couldn't find in any packages
<energizer> i defined it in that paste
o1lo01ol1o has joined #nixos
tobiasBora2 has joined #nixos
doyougnu has quit [Ping timeout: 240 seconds]
<siraben> Can someone merge? #94165 I think it's ready.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/94165 (by siraben, 2 days ago, open): scas: init at 0.4.6
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<ToxicFrog> Ok, new question: how do I change the arguments a package is called with?
<ToxicFrog> recoll is broken in unstable (it's missing a Qt dependency) but the dependency is for the GUI, which I don't need; building of the GUI is gated on the `withGui` argument to the package, but I can't see any way to change that short of modifying all-packages.nix
<infinisil> siraben: Left a small comment, but it looks good after that :)
<energizer> infinisil: oh i think dependencyEnv isnt what i want, but something's still wrong https://bpa.st/C5WQ
<{^_^}> [nixpkgs] @Infinisil merged pull request #94395 → dijo: 0.1.5 -> 0.2.2 → https://git.io/JJa6N
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JJaiA
<energizer> ToxicFrog: that's what .override {} is for
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ef818281436 (from 73 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<siraben> infinisil: How would I rebase the PR?
<siraben> I'm not familiar with rebasing
<energizer> siraben: you're familiar with merging?
<siraben> Yes
<infinisil> siraben: `git rebase -i HEAD~3` (the 3 because you currently have 3 commits). Then read what the buffer that opens says
<{^_^}> [nixpkgs] @bhipple merged pull request #94383 → ccache: 3.7.10 -> 3.7.11 → https://git.io/JJaal
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JJaij
<infinisil> You want to change that buffer to move the maintainer commit to the top and squashing the two others together
simba1 has joined #nixos
<infinisil> energizer: What's your pyproject.toml?
<siraben> infinisil: I think I did it
<energizer> infinisil: https://bpa.st/OGRQ
h0m1 has quit [Ping timeout: 260 seconds]
rajivr has joined #nixos
proofofkeags has joined #nixos
maier has joined #nixos
<infinisil> energizer: Check out the resulting btscale binary, it should contain a NIX_PYTHONPATH
h0m1 has joined #nixos
<energizer> infinisil: it doesnt
<infinisil> What's the wrapped binary look like?
<infinisil> energizer: Ah you have it double-wrapped
<infinisil> What does .btscale-wrapped contain?
<energizer> infinisil: https://bpa.st/MSSA
<infinisil> Oh, that's not double wrapped apparently
<infinisil> It should be though
maier has quit [Ping timeout: 256 seconds]
Emantor has quit [Quit: ZNC - http://znc.in]
<infinisil> energizer: What if you remove your custom override
<siraben> infinisil: After rebasing I did a git pull and git push, and merged it, does that sound right?
<infinisil> energizer: Does the wrapper then have NIX_PYTHONPATH set somewhere?
<infinisil> siraben: Ah no, you need to force push, no merging
Emantor has joined #nixos
<energizer> infinisil: then it does the pythonusersite thing so btscale module exists but i lose gatttool
<infinisil> siraben: So I see you rebased to commit 75efe4ce065, but that still contains 3 commits in total, 2 of which are for adding the package
<siraben> Hm, I'm unsure of what to do now.
<siraben> git rebase -i 5f5188706366c49ba956ac8d7cb777fda29acc98 ?
<infinisil> siraben: So I suggest doing: `git reset --hard 75efe4ce065` to undo the merge. Then `git rebase -i HEAD~3` to change history again. Then squash the last commit into the second last one (read instructions there)
<siraben> Ok
<infinisil> Then `git push -f`
<infinisil> When you `git log` there should only be 2 commits by you then
tobiasBora2 has quit [Ping timeout: 256 seconds]
<infinisil> This only runs *after* the fixup phase
<infinisil> And wrapPythonPrograms won't wrap your wrapper (probably because it doesn't use a python shebang)
<infinisil> energizer: So just do your additional wrapping in postFixup instead
<infinisil> Oh actually the problem is a bit different: You're not calling the postFixup hook in your fixupPhase
<infinisil> This is why you usually don't want to override phases themselves, but only their hooks
<infinisil> Anyways, using postFixup will work
<siraben> infinisil: Ok there are only two commits now
<infinisil> siraben: Nice, looking good, congrats on your first rebase :D
<siraben> infinisil: Hehe, thanks.
<siraben> So it's ok to force-push in Git? I thought that should be avoided.
<infinisil> force pushing in PRs is fine
<siraben> Ah.
<infinisil> force pushing on master isn't
<infinisil> (or any other branches used by many people)
bbennett371 has quit [Ping timeout: 272 seconds]
<ToxicFrog> energizer: thank you!
<{^_^}> [nixpkgs] @mcwitt opened pull request #94396 → vulture: init at 1.6 → https://git.io/JJaXg
<infinisil> siraben: We'll wait until ofborg shows success for merging, feel free to ping me when it's done and I don't think of it
bbennett371 has joined #nixos
lunatera has joined #nixos
<siraben> infinisil: I also have another PR, #94170, do I rebase there as well?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/94170 (by siraben, 2 days ago, open): the-powder-toy: 94.1 -> 95.0
<lunatera> *Is here just to show excitement for qt5 update*
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @Infinisil merged pull request #93232 → edukai: init at 4.0/edusong: init at 1.0/eduli: init at 3.0 → https://git.io/JJGaf
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/JJaXa
_deepfire has quit [Remote host closed the connection]
bbennett371 has quit [Ping timeout: 244 seconds]
<infinisil> siraben: Yeah, but let's wait until the first PR is merged, otherwise you'll have to rebase again because the maintainer commit will give a conflict
<siraben> infinisil: Thanks!
<{^_^}> [nixpkgs] @Infinisil merged pull request #94165 → scas: init at 0.4.6 → https://git.io/JJupj
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/JJaXi
<siraben> infinisil: Thanks for the merge, so what do I do about the other PR?
<infinisil> siraben: Alright, first PR merged, now ideally you'd rebase the second PR on top of latest master, such that you have the maintainer commit in your branch
<infinisil> siraben: I usually do it like this: git log to find out how many commits you added in your PR branch (say N), then `git fetch upstream` (or however your remote is named) to fetch new commits. Then rebase ontop of master with `git rebase --onto upstream/master HEAD~<N>` where N again is the number of commits you have
<infinisil> After that, do the rebase -i again to squash everything related into a single commit
stephaneyfx has quit [Read error: Connection reset by peer]
stephaneyfx has joined #nixos
user_0x58 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94397 → exoscale-cli: 1.14.0 -> 1.15.0 → https://git.io/JJa1O
WRMilling has joined #nixos
<WRMilling> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
<WRMilling> Hello all, I am attempting to add a deviceTree.overlay to my nix configuration, but it keeps giving me a file not found (with a path that I can verify actually exists), just a bit confused why nixos-rebuild can't seem to find it. I am hoping I am doing something silly and maybe someone can put me on the right track.
simba1 has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
sjkelly1 has quit [Remote host closed the connection]
<iwq> is there a manpage for the nix language?
bbennett371 has joined #nixos
evils has quit [Ping timeout: 260 seconds]
<energizer> infinisil: not quite yet https://bpa.st/PEDA
evils has joined #nixos
<energizer> pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: gatttool.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94398 → elementary-planner: 2.4.5 -> 2.4.6 → https://git.io/JJa1X
user_0x58 has joined #nixos
<infinisil> energizer: Should be --prefix PATH : ${gatttool}/bin
<infinisil> Without the binary name itself
<ToxicFrog> Why does `networking.hostName` no longer permit FQDNs?
<energizer> infinisil: ah right
<energizer> infinisil: perfect, thanks
patagonicus has joined #nixos
<infinisil> :)
<infinisil> WRMilling: Please show the code and error
<gchristensen> ToxicFrog: I'm trying to undo that in https://github.com/NixOS/nixpkgs/pull/94022
<{^_^}> #94022 (by grahamc, 4 days ago, open): Partial revert of #76542's strict hostname checks
bbennett371 has quit [Ping timeout: 272 seconds]
<WRMilling> infinisil: https://pastebin.com/PKaQwT7M
<WRMilling> Let me know if you would like to see anything else
<infinisil> WRMilling: Ah I see the problem, replace ./dtb-overlays/overclock.dtbo with "${./dtb-overlays/overclock.dtbo}"
<infinisil> This is a bug in nixpkgs
<WRMilling> Whats the difference? (or should there be a difference?)
<infinisil> The problem is that device-tree runs toString on the overlay paths
<infinisil> > toString ./some-path
<{^_^}> "/var/lib/nixbot/state/nixpkgs/some-path"
<WRMilling> Got a more relevant error (at least something I can dig farther one, FDT_ERR_NOT_FOUND)
<ToxicFrog> gchristensen: in the meantime, will setting `networking.domain` to the tail have a similar result?
<infinisil> And this turns the path into a path where the file directly is
<gchristensen> ToxicFrog: I'm not sure to be honest
<gchristensen> ToxicFrog: it depends on your use case
<ToxicFrog> Diffing implies that it probably will, but....
<infinisil> WRMilling: However since the path is needed during the build, which runs in a sandbox, it can't access that
<WRMilling> That makes sense.
<infinisil> WRMilling: By using "${./...}", this explicitly copies the file into the Nix store, which is accessible in the sandbox
<infinisil> iwq: No
mrosenbe_ has joined #nixos
mrosenbe has quit [Read error: Connection reset by peer]
<WRMilling> Thank you for the quick help infinisil
kraeXen has quit [Remote host closed the connection]
<infinisil> :)
<ToxicFrog> Hrm. /etc/hostname is going to end up as `ancilla` rather than `ancilla.ancilla.ca`, though. Not sure what that will break but it's probably going to be something.
gustavderdrache has joined #nixos
kraeXen has joined #nixos
<gchristensen> ToxicFrog: yes, the change is very heavy handed for a property which has no requirement to be so strict
orivej has quit [Quit: No Ping reply in 180 seconds.]
<ToxicFrog> Actually, it might be ok
proofofkeags has quit [Remote host closed the connection]
<ToxicFrog> Appropriate entries in the hosts file are still written, so gethostbyname should still do the right thing
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94399 → dnsdist: 1.4.0 -> 1.5.0 → https://git.io/JJaMT
proofofkeags has joined #nixos
<ToxicFrog> Ok, I think this is ready to go...oh right, I need to fix ACME because that patch still hasn't been merged upstream
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #nixos
<ToxicFrog> Argh
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/977000f149b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
bbennett371 has joined #nixos
<WRMilling> It looks like the overlay is trying to apply it to every dtb that exists in the kernel's dtbs directory, is that correct? (Which would be why it is failing with NOT_FOUND error)
o1lo01ol1o has joined #nixos
bbennett371 has quit [Ping timeout: 244 seconds]
user12345 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
kraeXen has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
bbennett371 has joined #nixos
stephaneyfx has quit [Remote host closed the connection]
stephaneyfx has joined #nixos
matthewcroughan has quit [Ping timeout: 240 seconds]
sigmundv has quit [Ping timeout: 265 seconds]
<infinisil> WRMilling: I'm just seeing https://github.com/NixOS/nixpkgs/pull/79370 which does some changes around device-tree, one of which is to add a filter, maybe that would work for you?
<{^_^}> #79370 (by sorki, 25 weeks ago, open): Improve device-tree overlay support
bbennett371 has quit [Ping timeout: 244 seconds]
<WRMilling> Reading now.
user12345 has quit [Quit: user12345]
<energizer> can i have systemd delay starting my service again depending on its exit code?
fresheyeball has joined #nixos
lambda-11235 has joined #nixos
Supersonic112 has joined #nixos
sigmundv has joined #nixos
maier has joined #nixos
tobiasBora2 has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
<danderson> no, systemd doesn't have sensible backoff built into it :(
<WRMilling> I am starting to think that having nix run a script to apply the patch might be easier right now (since the file location relative to the kernel will be known).
cole-h has joined #nixos
<{^_^}> [nixpkgs] @bbigras opened pull request #94400 → obs-wlrobs: 20200111 -> 20200622 → https://git.io/JJaDc
<energizer> is there a wrapper that i can put between systemd and my program to emulate backoff and stuff?
maier has quit [Ping timeout: 256 seconds]
<danderson> energizer: if you find one, let me know. I literally just had this discussion with the team at Tailscale about this
<danderson> and our conclusion was there's not much you can do reliably :/
<danderson> other than "send a PR to systemd to implement backoff"
<cole-h> What is backoff?
tarruda2 has quit [Ping timeout: 256 seconds]
<danderson> which would fix a relatively longstanding bug
<energizer> danderson: iirc it's the number one bug by thumbsups
sigmundv has quit [Ping timeout: 260 seconds]
<danderson> cole-h: if your service is crashing immediately on startup, wait longer and longer between restart attempts to avoid swamping the system
<{^_^}> systemd/systemd#6129 (by OlafvdSpek, 3 years ago, open): RFE: Exponentially increasing RestartSec=
waleee-cl has quit [Quit: Connection closed for inactivity]
<cole-h> Oh, got it.
<danderson> say, if the service crashes once, you restart afte 100ms
<danderson> if it crashes a bunch, you increase to 200ms, 500ms, 1s, 5s, ...
<cole-h> Kinda like how Nix has the same thing for failed downloads from the cache
<danderson> keep retrying, but don't blow up the machine doing so
<danderson> the only thing systemd has is a single "wait this long between restarts"
<danderson> so you can increase that but make *all* restarts slow
<danderson> or you can use the StartLimit stuff, which is described as a rate limiter in the docs but is actually a circuit breaker
<danderson> "if the service restarts more than 5 times in 10s, mark it failed and stop trying to restart it"
<danderson> which is generally not what you want either, because that requires sysadmin intervention to make it start again
<buckley310> do you just want to add a delay for a particular exit code?
<energizer> danderson: yeah i remember feeling like i was crazy until i figured that out
<energizer> buckley310: yes
<buckley310> you could try something like this (untested pseudocode)
<buckley310> systemd.services.<name>.script = ''/path/to/service; [ $? = 42] && sleep 30''
<danderson> that would do a static sleep, rather than backoff
<danderson> if you want to make it work exponentially, you need to retain state between runs, which you can't do
<danderson> either that, or add a wrapper program that runs your actual program and babysits it without ever exiting
<danderson> which works, but then breaks integration with systemd in various ways (e.g. you can't tell if your daemon actually restarted, because the various lifecycle events never happen in systemd, because from systemd's perspective your process monitor hasn't exited)
<danderson> another idea we had at tailscale was have the daemon keep its own backoff state on disk, and sleep during startup if it's been restarting a lot
<danderson> which works, except if the filesystem is read-only, or other weird problems that coincidentally would probably also cause a crash-loop in the first place
<gchristensen> nice idea for other less capable inits too
<danderson> so we concluded that if writing the restart state fails, to actually work right you have to be super conservative and sleep for your maximum backoff time
<danderson> ... which then leads to problems on stateless-ish systems that deliberately wipe /run and whatnot between executions
<danderson> because in those systems the filesystem looks like it's working, but then something external to the program is sabotaging you between runs
* gchristensen kicks dirt
<danderson> it just never ends, and would be solved trivially by having systemd just do it for us :/
<danderson> (this whole discussion was kicked off by just such a broken machine somehow losing its entire on-disk state between runs *and* also crashlooping rapidly, which generated a ton of noise and load on our servers)
<gchristensen> maybe there is a PR or issue about this
<danderson> (so it's not a hypothetical scenario, we were actually trying to figure out how to defend against a completely byzantine case we were seeing for real)
<danderson> there's a systemd issue, yes
<danderson> with lots of people saying they want it, and nobody offering a patch
<danderson> so, we get the init system we deserve :)
<gchristensen> :)
<danderson> (I expect it actually turns out to be kinda challenging to keep this state, for some reason, and that's why it's not been done)
<gchristensen> it would take 15 years for rhel/debian to take it anyway
<danderson> yup, and that's the other problem
<danderson> fixing it now means we can actually rely on it some time in 2030
<gchristensen> it'll be faster to wait for nixos to take ove
CodeSpelunker has joined #nixos
<danderson> heh
<danderson> another ridiculous idea we had was to ship a _second_ service
<danderson> whose only job is to sit there and keep track of how often the main one restarts
<danderson> and then tell it over a unix socket how long to sleep on startup
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JJaDw
<danderson> but at that point we're clearly 100% being ridiculous
<{^_^}> [nixpkgs] @ryantm closed pull request #91244 → i3ipc-autotiling: init at d521cd6 → https://git.io/JfN2U
<{^_^}> [nixpkgs] @ryantm merged pull request #94203 → autotiling: init at 1.1 → https://git.io/JJgUr
<{^_^}> [nixpkgs] @ryantm pushed 3 commits to master: https://git.io/JJaDX
<aaronjanse> I'm currently trying to deal with xorg infinite recursion in pkgsStatic:
<aaronjanse> $ echo '(import ./default.nix {}).pkgsStatic' | nix repl --show-trace
<aaronjanse> I'm doing it because Redox cross-compiling uses pkgsStatic
<aaronjanse> Is there a straightforward way to work around this? I'm fine with xorg not working; the problem is that I think the large number of recursion errors is causing issues
CodeSpelunker has quit [Quit: CodeSpelunker]
proofofkeags has quit [Remote host closed the connection]
<infinisil> WRMilling: If you have the time, it would be awesome if you could see if that PR works for you by applying it to your system, would help with getting that PR merged :)
<WRMilling> I was actually just typing to ask how to apply the PR
proofofkeags has joined #nixos
<WRMilling> (day 2 of using nixos)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94401 → dune_2: 2.6.1 -> 2.6.2 → https://git.io/JJaSs
<WRMilling> The filter does look like it would solve my problem.
sentinal8473 has joined #nixos
<infinisil> Oh welcome then!
<WRMilling> Danke, trying to get a full config working before I install to internal storage (running on SD card right now)
proofofkeags has quit [Ping timeout: 240 seconds]
<infinisil> To apply the PR you'll have to get a git checkout of nixpkgs, then check out the commit of your current system (nixos-version displays the git commit at the end of the version string), then fetch the PR branch and cherry-pick its commit on top. Finally you can use `nixos-rebuild switch -I nixpkgs=/path/to/nixpkgs` to make it use that nixpkgs
pjt_014 has joined #nixos
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<WRMilling> What would be the proper branch for 20.09pre236091.28fce082c8c ?
<WRMilling> Also, what a large repo
<infinisil> aaronjanse: Don't use nix repl for debugging, it can be very misleading because of its odd behavior in regards to caching and laziness. You can use `nix-instantiate --eval default.nix -A pkgsStatic.<TAB>` or so instead
proofofkeags has joined #nixos
<infinisil> WRMilling: The 28fce082c8c is the commit, branches are moving though so you can't really rely on those
<WRMilling> Makes sense
<infinisil> I guess you could just use the stable branch though
<infinisil> Which might make your system update by a bit
<infinisil> WRMilling: The stable branch would be nixos-20.03
<infinisil> Oh you're using 20.09 though (unstable)
<infinisil> No branch for that then :)
<infinisil> Oh wait no there is duh, it's nixos-unstable
<WRMilling> using a image overlay by samueldr for the pinebook pro, so far so good.
<WRMilling> Uses unstable by default. (better aarch64 support I think)
<infinisil> I see
<colemickens> How do Flakes work in terms of channels for regular users?
<colemickens> Is the idea that instead it's just flake urls that resolve via the registry?
<drakonis> colemickens: have you been checking out the other side of the fence?
<drakonis> oh my
<drakonis> flakes got finally merged
<drakonis> holy moly
<colemickens> Maybe? I've been "on" flakes for a while, but i still maintain my own nixpkgs so I don't care about channels normally.
<colemickens> But I'm trying to figure out how to do "cloud VM image" in a flakes world and an out-of-tree module.
<infinisil> drakonis: Experimental still though
<drakonis> i'm aware
oida has joined #nixos
<colemickens> Is it even clear what is laid down for a flake-based install?
<colemickens> Does it still just drop a configuration.nix ?
kalbasit has quit [Ping timeout: 240 seconds]
drakonis has quit [Quit: WeeChat 2.8]
<WRMilling> The PR seems to have worked (if my overlay dtbo is going to work, is another question)
o1lo01ol1o has joined #nixos
<aaronjanse> > holy moly
<aaronjanse> Holy cow
drakonis has joined #nixos
<{^_^}> undefined variable 'holy' at (string):318:1
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
drakonis has quit [Client Quit]
<WRMilling> Going to have to disconnect to test to update, wish me luck...
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<hsngrmpf[m]> I'm not sure right now if I remember correctly. But wasn't there a tool that shows me the version history of programs packaged in nixpkgs? Let's say I need an older version of some program and want to know which nixpkgs commit has this program version.
o1lo01ol1o has quit [Ping timeout: 240 seconds]
WRMilling has quit [Ping timeout: 245 seconds]
WRMilling has joined #nixos
<WRMilling> It worked, my max freqency is higher now (dtbo applied), but now I have a problem with it not taking all the frequency changes. The PR works well.
justanotheruser has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94402 → fwts: 20.06.01 -> 20.07.00 → https://git.io/JJa9n
Rusty1 has quit [Quit: WeeChat 2.3]
<WRMilling> Have to head out, thanks again for your help infinisil. I will try to get a comment on the PR tomorrow.
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f862ef5fe4e (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
turlando_ has quit [Ping timeout: 240 seconds]
vegai1 has left #nixos ["User left"]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94403 → fping: 4.3 -> 4.4 → https://git.io/JJa9a
WRMilling has quit [Ping timeout: 245 seconds]
bbennett371 has joined #nixos
gnidorah has joined #nixos
<{^_^}> #92284 (by gnidorah, 3 weeks ago, open): lazpaint: init at 7.1.3
bbennett371 has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6a84389afef (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94404 → git-quick-stats: 2.1.2 -> 2.1.3 → https://git.io/JJa9j
gustavderdrache has left #nixos [#nixos]
cole-h has quit [Quit: Goodbye]
pjt_014 has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @syberant opened pull request #94405 → openjump: 1.3.1 -> 1.15 → https://git.io/JJaHm
bbennett371 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94407 → gitAndTools.gitui: 0.8.1 -> 0.9.1 → https://git.io/JJaHC
turlando has joined #nixos
bbennett371 has quit [Ping timeout: 260 seconds]
maier has joined #nixos
terribleArtist has quit [Ping timeout: 240 seconds]
philr has joined #nixos
philr_ has quit [Ping timeout: 240 seconds]
maier has quit [Ping timeout: 265 seconds]
<hsngrmpf[m]> thx!
simba1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94408 → fwupd: 1.4.4 -> 1.4.5 → https://git.io/JJaHH
bbennett371 has joined #nixos
austin has joined #nixos
palo1 has joined #nixos
bbennett371 has quit [Ping timeout: 272 seconds]
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
orivej_ has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94409 → intel-gmmlib: 20.2.2 -> 20.2.3 → https://git.io/JJaQk
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5d93c173ab2 (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
endformationage has quit [Quit: WeeChat 2.7.1]
chimera has joined #nixos
chimera has left #nixos [#nixos]
mrosenbe_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94410 → gallery-dl: 1.14.2 -> 1.14.3 → https://git.io/JJaQC
cyphase has joined #nixos
turlando has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @lucperkins opened pull request #94412 → humioctl: 0.25.0 -> 0.26.0 → https://git.io/JJaQr
<{^_^}> [nixpkgs] @lucperkins opened pull request #94411 → humioctl: 0.25.0 -> 0.26.0 → https://git.io/JJaQo
justanotheruser has joined #nixos
turlando has joined #nixos
<{^_^}> [nixpkgs] @enolan opened pull request #94413 → parity: 3.0.0 -> 3.0.1 and rename it to openethereum → https://git.io/JJaQi
simba1 has quit [Ping timeout: 246 seconds]
lunatera has quit [Quit: Leaving]
efriendo has joined #nixos
efriendo is now known as efriend
emilsp has joined #nixos
cript0nauta has quit [Quit: Leaving]
wildsebastian has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #94220 → oneDNN: disable tests to avoid illegal instructions → https://git.io/JJgz8
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJaQN
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #94404 → git-quick-stats: 2.1.2 -> 2.1.3 → https://git.io/JJa9j
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJaQj
proofofkeags has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #94292 → lzfse: enable Darwin build → https://git.io/JJ2ra
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJa7v
penguwin has joined #nixos
alexherbo2_ has joined #nixos
<{^_^}> [nixpkgs] @kalbasit closed pull request #94412 → humioctl: 0.25.0 -> 0.26.0 → https://git.io/JJaQr
o1lo01ol1o has joined #nixos
higemaru has joined #nixos
orivej has joined #nixos
orivej_ has quit [Ping timeout: 264 seconds]
<aaronjanse> infinisil: I think the evaluation error was caused by recursion in `pkgs`
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<aaronjanse> I'm now trying to figure out how Hydra jobsets are created so that `hydra-eval-jobs` doesn't split out `buildPackages.buildPackages.buildPackages.buildPackages...`
<aaronjanse> *spit out
fresheyeball has quit [Quit: WeeChat 2.7.1]
pjt_tmp has joined #nixos
<{^_^}> [nixpkgs] @kasimon opened pull request #94414 → Fix typo in linkerd package name → https://git.io/JJa7t
<{^_^}> [nixpkgs] @danieldk merged pull request #94409 → intel-gmmlib: 20.2.2 -> 20.2.3 → https://git.io/JJaQk
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJa73
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #94403 → fping: 4.3 -> 4.4 → https://git.io/JJa9a
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJa7u
<{^_^}> [nixpkgs] @kalbasit merged pull request #94411 → humioctl: 0.25.0 -> 0.26.0 → https://git.io/JJaQo
<{^_^}> [nixpkgs] @kalbasit pushed commit from @lucperkins to master « humioctl: 0.25.0 -> 0.26.0 (#94411) »: https://git.io/JJa72
domogled has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94415 → giada: 0.16.3 -> 0.16.3.1 → https://git.io/JJa7A
domogled has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #94362 → broot: 0.18.1 -> 0.19.3 → https://git.io/JJalJ
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJa5U
<{^_^}> [nixpkgs] @kalbasit merged pull request #94393 → dolt: 0.18.0 -> 0.18.1 → https://git.io/JJa6s
<{^_^}> [nixpkgs] @kalbasit pushed commit from @r-ryantm to master « dolt: 0.18.0 -> 0.18.1 (#94393) »: https://git.io/JJa5q
<bbigras> can we patch one of the vendored dependency when using buildGoModule?
<{^_^}> [nixpkgs] @sarcasticadmin opened pull request #94416 → sd-mux-ctrl: init at 2020-02-17 → https://git.io/JJa5n
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94417 → flexibee: 2020.2.1.2 -> 2020.2.3.1 → https://git.io/JJa5c
<{^_^}> [nixpkgs] @danieldk merged pull request #94313 → shattered-pixel-dungeon: 0.8.1 -> 0.8.1a → https://git.io/JJ270
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJa54
kaliumxyz has quit [Ping timeout: 256 seconds]
alexherbo2_ has quit [Ping timeout: 256 seconds]
alexherbo2 has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/977000f149b (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f862ef5fe4e (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
maier has joined #nixos
kaliumxyz has joined #nixos
nerdypep- has joined #nixos
nerdypep- is now known as nerdypepper
maier has quit [Ping timeout: 260 seconds]
lambda-11235 has quit [Read error: Connection reset by peer]
fendor has joined #nixos
stephaneyfx has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94418 → geekbench: 5.2.1 -> 5.2.3 → https://git.io/JJa5Q
lambda-11235 has joined #nixos
austin has quit [Quit: austin]
user_0x58 has quit [Quit: Leaving]
rardiol has quit [Ping timeout: 240 seconds]
rardiol has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94419 → ghq: 1.1.2 -> 1.1.5 → https://git.io/JJadk
bbennett371 has joined #nixos
<raboof> hmm. it seems tensorflow 2.3.0 specifically requests bazel 3.1.0 to build, but we have 3.3.0. what would be the way to resolve that? create a derivation for bazel 3.1.0 or patch tensorflow to build with 3.3.0?
bbennett371 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #94420 → oneDNN: 1.5.1 -> 1.6.0 → https://git.io/JJadn
lambda-11235 has quit [Quit: Bye]
<Yaniel> probably create a derivation
<Yaniel> since bazel apparently always wants exactly the specific version mentioned in the build files
bbennett371 has joined #nixos
incognito9999 has quit [Ping timeout: 272 seconds]
bbennett371 has quit [Ping timeout: 244 seconds]
incognito9999 has joined #nixos
BjrnForsman[m] has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #94105 → inform6: init at 6.34-6.12.2 → https://git.io/JJunH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJadb
<{^_^}> [nixpkgs] @taku0 opened pull request #94421 → firefox: 78.0.2 -> 79.0, 68.10.0esr -> 68.11.0esr, 78.1.0esr [High security fixes] → https://git.io/JJadx
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94422 → gloox: 1.0.23 -> 1.0.24 → https://git.io/JJadj
<{^_^}> [nixpkgs] @vcunat pushed 11 commits to master: https://git.io/JJaFe
<{^_^}> [nixpkgs] @vcunat merged pull request #93227 → thunderbird, thunderbird-bin: 68.10.0 -> 78.0 [High security fixes] → https://git.io/JJG2q
inkbottle has joined #nixos
o1lo01ol1o has joined #nixos
zebrag has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @filalex77 merged pull request #94407 → gitAndTools.gitui: 0.8.1 -> 0.9.1 → https://git.io/JJaHC
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JJaFO
<{^_^}> [nixpkgs] @filalex77 merged pull request #94394 → emplace: 0.3.5 -> 0.3.6 → https://git.io/JJa6o
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JJaFG
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @filalex77 merged pull request #92576 → termius: 5.10.1 -> 6.1.1 → https://git.io/JJtcD
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JJaFB
ixxie has joined #nixos
c0c0 has joined #nixos
pjt_tmp has quit [Ping timeout: 246 seconds]
jhuizy has quit [Quit: Ping timeout (120 seconds)]
<{^_^}> [nixpkgs] @sikmir opened pull request #94423 → josm: 16731 -> 16812 → https://git.io/JJaF7
jhuizy has joined #nixos
o1lo01ol1o has joined #nixos
infinisil has joined #nixos
seanparsons has joined #nixos
buckley310 has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<c0c0> I'm having trouble setting up NixOS with i3 on a new machine. After booting, I see LightDM, but after typing in my credentials, I see "Failed to start session". Here are my configuration.nix, hardware-configuration.nix and home.nix (they are absolutely minimal) and the X.0.log: https://gist.github.com/corsinpfister/70f0e7bff46e90345aab9305916d8646 I'm relatively new to Nix(OS) and appreciate any
<c0c0> help!
<{^_^}> [nixpkgs] @ggreif closed pull request #94372 → ghc 8.8.3, 8.8.4, 8.10.1: disable profiled builds on aarch64 to avoid 2GB output limit (backport) → https://git.io/JJa00
nikita` has joined #nixos
tldr32 has quit [Ping timeout: 264 seconds]
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94424 → flyctl: 0.0.135 -> 0.0.137 → https://git.io/JJabH
cyphase has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #94425 → iana-etc: 20200407 -> 20200729 → https://git.io/JJabQ
<{^_^}> [nixpkgs] @thefloweringash opened pull request #94426 → stdenv/darwin: put compiler-rt into bootstrap tarball → https://git.io/JJabd
zupo has joined #nixos
arjen-jonathan has joined #nixos
cyphase has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #94427 → stdenv/darwin: assemble full clang toolchain → https://git.io/JJaNC
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94428 → gosec: 2.3.0 -> 2.4.0 → https://git.io/JJaNW
<{^_^}> [nixpkgs] @Mic92 closed pull request #90029 → maintainers: rename 1000101 to b1000101 → https://git.io/JfS3Z
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #89192 → gem: init at 2020-03-26 → https://git.io/JfKEY
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJaNp
<{^_^}> [nixpkgs] @Mic92 merged pull request #89794 → stdenv: set SOURCE_DATE_EPOCH to a value python supports → https://git.io/JfD0f
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/JJaAT
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #94389 → eprover: 2.4 -> 2.5 → https://git.io/JJao6
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JJaAl
knupfer1 is now known as knupfer
<{^_^}> [nixpkgs] @raboof opened pull request #94429 → bazel: add 3.1.0 → https://git.io/JJaAw
domogled has quit [Ping timeout: 256 seconds]
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/JJaA9
<{^_^}> [nixpkgs] @vcunat merged pull request #94425 → iana-etc: 20200407 -> 20200729 → https://git.io/JJabQ
<{^_^}> [nixpkgs] @Mic92 merged pull request #94064 → tlp: use structured config to fix cpu governor → https://git.io/JJEaT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJaAQ
euandreh has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
h0m1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0739f4b84f0 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
euandreh has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @ggreif opened pull request #94430 → ghc-{8.8.3, 8.8.4, 8.10.1}: fix typos → https://git.io/JJaxw
gthm has joined #nixos
cyphase has quit [Ping timeout: 264 seconds]
euandreh has joined #nixos
lsix has joined #nixos
ishan13 has joined #nixos
<aaronjanse> c0c0: maybe a window manager needs to be defined?
<aaronjanse> Tomorrow afternoon I'll be able to try out that config in a VM. It's almost 3 am for me, so I don't have the energy to do it tonight
turlando has quit [Quit: Leaving]
turlando has joined #nixos
octowan[m] has joined #nixos
bbennett371 has joined #nixos
cyphase has joined #nixos
domogled has joined #nixos
doyougnu has joined #nixos
bbennett371 has quit [Ping timeout: 244 seconds]
nature has joined #nixos
<nature> Hi from nixos :) (just finished installing it)
<aaronjanse> Congratulations, nature!
<TheSirC[m]> Glad you switched !
<nature> I really love it so far
<nature> I just have a little problem starting x (i am in the tty right now ^^')
__monty__ has joined #nixos
gthm has quit [Ping timeout: 240 seconds]
<aaronjanse> Oh ha. What's the problem?
<nature> Does any of you have some idea of what might be wrong ? I did setup a xinitrc, I enabled startx and xserver, bspwm (my wm) is setup correctly too but when I startx I have a black screen
<TheSirC[m]> nature: Oh wow, I am also troubleshooting a Xorg problem
domogled1 has joined #nixos
<nature> looking at the xorg.log I found that screen 0 is deleted because no matching config
<nature> oh really TheSirC[m] ? What's up with you ?
bbennett371 has joined #nixos
<TheSirC[m]> nature: SAME
<nature> okok, let's figure it out then :)
<TheSirC[m]> Fatal server error: [ 72.950] (EE) no screens found(EE)
domogled has quit [Ping timeout: 240 seconds]
domogled1 is now known as domogled
<nature> I suppose that there might be some config missing in /etc/X11/xorg.conf
<c0c0> aaronjanse: Thanks for the reply. I have 'xsession.windowManager.i3.enable = true;' in my home.nix (I'm using home-manager)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94431 → flow: 0.128.0 -> 0.130.0 → https://git.io/JJahI
<TheSirC[m]> nature: Question what video driver are you using ?
<nature> I haven't installed any explicitly yet...
<c0c0> nature TheSirC[m]: Same here
<TheSirC[m]> c0c0: What about you c0c0 ? What video drivers ?
bbennett371 has quit [Ping timeout: 272 seconds]
<TheSirC[m]> nature: So you did not use the option `services.xserver.videoDrivers` in your configuration ?
domogled1 has joined #nixos
<nature> TheSirC[m]: but I supposed when you do xservers.enable = true it gets the right ones no ?
<nature> TheSirC[m]: no I did not
<c0c0> TheSirC[m]: Nothing specified explicitly, see https://gist.github.com/corsinpfister/70f0e7bff46e90345aab9305916d8646
domogled has quit [Ping timeout: 265 seconds]
domogled1 is now known as domogled
<c0c0> I did not use `services.xserver.videoDrivers`. What procedure would help me to find out what driver to use?
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<TheSirC[m]> c0c0: What GPU are you using ?
<nature> Ok I looked, I might try with "intel" drivers
<nature> I am using a t460s btw
<c0c0> TheSirC[m]: I think it's an intel integrated graphics; i don't have a dedicated graphics card
<TheSirC[m]> c0c0: You should do the same and set the option to "intel"
<c0c0> will try
<nature> ok I tried
domogled has quit [Ping timeout: 260 seconds]
<nature> still nothing
<nature> should you reboot when changing the drivers lik this ?
<nature> or a nixos-rebuild switch is sufficient ?
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<nature> Also I thought that using the https://github.com/NixOS/nixos-hardware repo was suffificent to avoid those issues
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94432 → fswebcam: 20140113 -> 20200725 → https://git.io/JJaja
srgancap[m] has joined #nixos
<c0c0> I still get "Failed to start session" when I try to log in in LightDM (I'm trying to set up i3, see above)
<nature> c0c0: what if you look for "EE" in your xorg.log ?
ishan13 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kimat opened pull request #94433 → alacritty: 0.4.3 -> 0.5.0 → https://git.io/JJajK
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<TheSirC[m]> <nature "should you reboot when changing "> I think rebooting is the best option
knupfer1 has quit [Client Quit]
<c0c0> I don't have an (EE) in the X.0.log anymore after specifying the intel driver
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<nature> c0c0: me too it got replaced by another one ^^'
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<nature> failed to set backlight intel-backlight for output eDP1. disabling
<TheSirC[m]> You're both on the way to less issues then !
knupfer has joined #nixos
<nature> I may try to reboot after
<{^_^}> [nixpkgs] @Izorkin opened pull request #94434 → nixos/sshd: change authorizedKeysFiles → https://git.io/JJajp
knupfer has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
doyougnu has quit [Ping timeout: 256 seconds]
<nature> ok the EE came back...
<nature> I'll try to reboot
nature has left #nixos ["WeeChat 2.7.1"]
gv has quit [Remote host closed the connection]
nature has joined #nixos
gv has joined #nixos
<nature> Still not working, I really think I am missing a configuration in xorg.conf
<c0c0> "intel" video driver should be fine for Intel UHD Graphics 630?
<MichaelRaskin> As in X11 video driver?
<MichaelRaskin> You might want to use modesetting
<nature> what is that ?
<nature> I am actually looking at my xorg.conf and I see a lot of "Device" section and one had the modesetting driver
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<c0c0> MichaelRaskin: in services.xserver.videoDrivers
<c0c0> What is modesetting?
bukkitgerman8608 has quit [Ping timeout: 256 seconds]
<MichaelRaskin> Later kernels contain a more featureful i915 kernel video driver. Modesetting is an X11 video driver (and default for Intel GPUs for videoDrivers in the latest NixOS) that asks Kernel Mode Setting to do most of the configuration work, and packs less knowledge of GPU specifics
afreak has joined #nixos
<nature> MichaelRaskin: So it's simply more generic ?
siers has left #nixos ["WeeChat 2.7.1"]
<MichaelRaskin> More generic, and also more maintained
<MichaelRaskin> (upstream)
<exarkun> Having trouble getting virtualbox working. `VBoxManager start ...` fails with "VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine" and a dialog saying "Kernel driver not accessible"
<exarkun> my config is `virtualisation.virtualbox.host.enable = true;` and `users.users.exarkun.extraGroups = [ "vboxusers" ];`
<exarkun> and I rebooted after the new kernel/modules were built
<exarkun> anyone know how to fix this?
tldr32 has joined #nixos
mrosenbe has joined #nixos
tldr32 has quit [Client Quit]
<nature> OMG, it was my sxhkdrc file that was broken....
<nature> c0c0: Make sure that your wm (in your case i3) is ok
<nature> c0c0: in other words I had some commands in my xinitrc that would fail, make sure all the commands run in there are working
<c0c0> nature: I just use home-manager's `xsession.windowManager.i3.enable = true;`, so I don't think anything's broken there
mrosenbe has quit [Ping timeout: 240 seconds]
<nature> c0c0: what if you try another dm ?
<c0c0> "Failed to start session" from LightDM is not helpful. How would I set up X but have LightDM disabled, so I can see more output?
tldr32 has joined #nixos
<nature> c0c0: you have something like services.xserver.displayManager.sddn.enable = true
<nature> c0c0: this should change your dm
<c0c0> nature: I don't have lightdm in my configuration explicitly. Something sets it implicitly (maybe `xsession.enable = true;`?)
<nature> yeah I think lightdm is default
bukkitgerman8608 has joined #nixos
<c0c0> no, that option can't be it, as it's in my home.nix. Maybe it's `services.xserver.enable = true;` in configuration.nix
<nature> if you wanna go without dm like me you have to set services.xserver.displayManager.startx.enable = true
<nature> oh yeah I am speaking in configuration.nix
<nature> try to setup i3 from there
<nature> c0c0: are you familiar with xinitrc ?
<c0c0> nature: I used it under Arch
pareidolia has quit [Ping timeout: 244 seconds]
<nature> c0c0: haha a fellow ex-arch user, literally just switched yesterday
<nature> c0c0: then do that, setup your xinitrc to launch i3 and in your system's configuration.nix you do displayManager.startx.enable
<nature> you should then at least have some logs in ~/.xorg.log
nature has left #nixos ["brb"]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nature has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94435 → fluent-bit: 1.5.0 -> 1.5.2 → https://git.io/JJVfJ
jbgi_ has joined #nixos
cyphase has quit [Ping timeout: 240 seconds]
<c0c0> nature: In which way did you "set up" xinitrc? Just placed a file, or setting some more NixOS-like way?
o1lo01ol1o has joined #nixos
<nature> Just placed the file for now
<nature> I think there is more advanced nix way for doing this but I was pointed by people in this IRC a few days ago to a prettu nice way of handling dotfiles
<nature> The advised this over home-manager
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyphase has joined #nixos
zupo has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94436 → freerdp: 2.1.2 -> 2.2.0 → https://git.io/JJVf8
zupo has quit [Client Quit]
dermetfan has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
<nature> c0c0: if you're interested https://news.ycombinator.com/item?id=11071754
waleee-cl has joined #nixos
jbgi_ has quit [Ping timeout: 256 seconds]
<c0c0> nature: The idea I'm having for using NixOS and home-manager is to configure everything there, and not have additional configuration management systems aside
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
proofofkeags has joined #nixos
bbennett371 has joined #nixos
<nature> c0c0: I think it would be ideal to have everything configured in one place and I love NixOS for allowing you to do that, though I just saw a repo of a guy configuring everything in nix and this is his vimrc: https://github.com/jagajaga/my_configs/blob/master/.nixpkgs/vimrc.nix
<nature> c0c0: Like why not just have a normal vimrc then, so you at least have the syntax highlighting etc... ? And since you're probably gonna have a git with at least your nix file, why not just have a vimrc, xinitrc etc.. in there ?
maier has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94437 → flyway: 6.5.0 -> 6.5.3 → https://git.io/JJVfP
<nature> c0c0: At lease that's how I see it, leverage the power of nixos system-wise to easily configure, rollback etc.. and then still having a few dotfiles managed in a repo
<nature> c0c0: Did you get i3 working ?
bbennett371 has quit [Ping timeout: 260 seconds]
<c0c0> nature: For me the main point here is that I still want to manage generations of my whole config with NixOS / home-manager, and not use another tool to pull in files. If the files are more or less verbatim in the repo, that's fine, but I still want to be able to roll back everything in one shot
<nature> c0c0: okok I see, fair point
maier has quit [Ping timeout: 240 seconds]
<c0c0> nature: services.xserver.displayManager.startx.enable = true has the effect that X is started after login, but I haven't configured i3 yet
<nature> c0c0: But I also imagined that once I get more comfortable with nix I'll be able to do something like "fetchGit" on my dotfile repo and actually have everything managed through nix, without home-manager
<nature> c0c0: ok, so now X works at lease ?
<nature> *least
<c0c0> Yes, X seems to work
<nature> k great :)
mallox has joined #nixos
<nature> I really like that nix allows to adopt the nix way gradually, like you probably won't have too much trouble going from a startx setup to a more "nix way" of doing things
noonien has joined #nixos
markus1199 has quit [Ping timeout: 240 seconds]
<noonien> hello folks, is there any documentation for lib.makeScope? or commented examples of it beign used? i want to learn what it's for, and what it does
cyphase has quit [Ping timeout: 265 seconds]
bbennett371 has joined #nixos
zupo has joined #nixos
fendor_ has joined #nixos
cjpbirkbeck has joined #nixos
markus1189 has joined #nixos
fendor has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #94433 → alacritty: 0.4.3 -> 0.5.0 → https://git.io/JJajK
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJVJk
alekhine has joined #nixos
cyphase has joined #nixos
<davidv7> https://hastebin.com/icakuxoteb.cs i'm trying to get nerd-font version of fonts
<davidv7> this is my current font in configuration.nix
<alekhine> Hello everyone. I have a quick installation question: I'm trying to mount my filesystem, but I keep getting this output when running 'sudo mount /dev/sda2/NixOS/NixOS /mnt/nixos'
<alekhine> mount: /mnt/nixos: special device /dev/sda2/NixOS/NixOS does not exist (a path prefix is not a directory).
<alekhine> Sorry to be asking a basic question
<raboof> does it ever make sense for a nix-packaged python program to look at the user-supplied PYTHONPATH environment variable?
<davidv7> but there's some syntax issue or something with that and i can't find anywhere that helps me how to get a nerrd patched font overriden
<raboof> I have a case where one python app calls another, but the latter fails because it takes into account the PYTHONPATH inherited from the former. I wonder if I should just clear the PYTHONPATH in the wrapper for the latter.
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1526f4534d3 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<alekhine> Nevermind, I thought 'by-label' meant insert the disk label there.
<alekhine> All good now
<hexa-> ma27[m]: do you have synapse running with metrics exposed? if so, how?
alekhine has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94438 → istioctl: 1.6.5 -> 1.6.6 → https://git.io/JJVJ0
smatting_ has quit [Ping timeout: 272 seconds]
smatting_ has joined #nixos
BlessJah has joined #nixos
<hexa-> ma27[m]: nvm
<{^_^}> [nixpkgs] @prusnak opened pull request #94439 → gomp: init at 1.0.2 → https://git.io/JJVJ6
alp has joined #nixos
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @magnetophon opened pull request #94440 → ardour: 6.0 -> 6.2 → https://git.io/JJVU3
<ToxicFrog> Ok what nonsense is this
<ToxicFrog> I had /boot as part of / and /boot/efi as the ESP
<ToxicFrog> nixos no longer accepts this and accepts that /boot itself has to be the ESP
<ToxicFrog> Oh wait that might be user error, hang on
shibboleth has joined #nixos
<ToxicFrog> Ok, this is really weird.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94441 → i3: 4.18.1 -> 4.18.2 → https://git.io/JJVUQ
<ToxicFrog> `mount -t vfat /dev/disk/by-label/BOOT /boot` completes without error but the filesystem is not mounted and there are no messages about it in dmesg.
<{^_^}> [nixpkgs] @Atemu opened pull request #94442 → Introduce BuildFHSUserEnv with Bubblewrap as an alternative to chrootenv → https://git.io/JJVUj
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
v0|d has quit [Ping timeout: 246 seconds]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
gnidorah has quit [Quit: Connection closed for inactivity]
h0m1 has quit [Quit: WeeChat 2.9]
proofofkeags has quit [Ping timeout: 246 seconds]
<nature> Where do I find what are the overrides I can do to a packages, e.g. neovim
superherointj has joined #nixos
eoli3n has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #94349 → abcmidi: 2020.06.30 -> 2020.07.28 → https://git.io/JJasU
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « abcmidi: 2020.06.30 -> 2020.07.28 (#94349) »: https://git.io/JJVTF
orivej has quit [Ping timeout: 240 seconds]
<hexa-> also https://nixos.wiki/wiki/Vim is well worth the read
<nature> Thx :)
orivej has joined #nixos
<nature> Also qq, it is better to handle your vim config in configuration.nix or .nixpkgs/config.nix ?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arjen-jonathan has quit [Ping timeout: 272 seconds]
mrosenbe has joined #nixos
bbennett371 has quit [Ping timeout: 260 seconds]
bbennett371 has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
mrosenbe has quit [Ping timeout: 260 seconds]
bbennett371 has quit [Ping timeout: 272 seconds]
lsix has quit [Ping timeout: 244 seconds]
knupfer has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94445 → grml-zsh-config: 0.17.3 -> 0.17.4 → https://git.io/JJVI7
keving has left #nixos ["User left"]
superherointj has quit [Quit: Leaving]
rardiol has quit [Ping timeout: 256 seconds]
rardiol has joined #nixos
o1lo01ol1o has joined #nixos
proofofkeags has joined #nixos
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 246 seconds]
gthm has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94446 → imgproxy: 2.14.0 -> 2.14.1 → https://git.io/JJVLT
<{^_^}> [nixpkgs] @magnetophon opened pull request #94447 → bjumblr: 0.2 -> 1.4.0 → https://git.io/JJVL8
<{^_^}> [nixpkgs] @magnetophon opened pull request #94448 → sfizz: 0.3.2 -> 0.4.0 → https://git.io/JJVLR
<gthm> Is there a way of finding out what nix-daemon is up to? It's burning all my cpu on compiling a bunch of haskell, presumably during its daily system upgrade task, but I don't recall installing this much haskell and would like to find out which package it's compiling. journalctl is very quiet
davidv7 has quit [Ping timeout: 256 seconds]
<simpson> gthm: nix-top, available in nixpkgs, might help.
<gthm> thanks!
<gthm> it finished for now, though my fans are still going strong. I'll try it next time
never_released_ has quit [Read error: Connection reset by peer]
bbennett371 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94449 → hashcat: 6.0.0 -> 6.1.1 → https://git.io/JJVLi
tobiasBora2 has quit [Ping timeout: 256 seconds]
tobiasBora2 has joined #nixos
bbennett371 has quit [Ping timeout: 240 seconds]
Thra11 has joined #nixos
never_released has joined #nixos
<nature> Does anybody have ungoogled-chromium in their configuration.nix systemPackages ?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0f8eb0b8f2e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<nature> I have added the nixos-unstable channel and it appears when I do a nix-env -qa
<nature> but when I do a nixos-rebuild switch I have the error: error: undefined variable 'ungoogled-chromium' at /etc/nixos/configuration.nix:54:5
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94450 → jamulus: 3.5.8 -> 3.5.9 → https://git.io/JJVtJ
nature has quit [Quit: WeeChat 2.7.1]
nature has joined #nixos
<symphorien> nature: channels are per user, so maybe you added nixos-unstable to your user but not root
<symphorien> (nixos-rebuild uses root's channels)
maier has joined #nixos
<nature> symphorien: yes I took care of that
<nature> I did sudo nix-channel --add ...
<symphorien> you must nix-channel --update to make the changes have effect
<nature> still not working :(
<symphorien> can you paste you configuration.nix ?
<nature> sure give me a sec
afreakk has joined #nixos
afreak has quit [Quit: leaving]
<symphorien> so you must explicitely pull ungoogled-chromium from the channel you added
<nature> also another weird thing, maybe you know what's happening, I do the security.sudo and it still asks me for password
<symphorien> ((import <channel-name> {}).ungoogled-chromium)
gthm has quit [Ping timeout: 264 seconds]
<nature> symphorien: ooooh ok thank :)
davidv7 has joined #nixos
<symphorien> nature: did you check the resulting /etc/sudoers ?
<nature> symphorien: do you know also know why my sudoers file is not overriden and just appended ?
<nature> yes it contains the default config appended to the config in my configuration.nix
<symphorien> because you are supposed to use the options to change the rest of the config ;)
<symphorien> notably security.sudo.extraRules
<nature> ooh so I override it with "[]" correct ?
<nature> or I define my options in the extraRules instead of having a dumb file override ?
<symphorien> the second option
alp has quit [Ping timeout: 240 seconds]
cmk_zzz_ has joined #nixos
<nature> kk many thanks symphorien :)
<symphorien> always prefer structured config because if another module has something to change in /etc/sudo it will merge config better
<nature> got it, then may I ask you more general questions ?
<symphorien> yes ?
<symphorien> (don't ask to ask)
cmk_zzz has quit [Ping timeout: 264 seconds]
<nature> I just installed nixos and I am figuring out how to configure everything, I am trying to understand when should I use ~/.nixpkgs/config.nix and when I should use configuration.nix
<nature> like for instance, I want to configure neovim
<symphorien> configuration.nix is for everything that is systemwide, and everything that does not run as your user
<symphorien> everything that requires root privileges to be configured on traditional distros
<nature> okok
<symphorien> for user-wide configuration (that is, dotfiles mainly), I advise you to use home-manager
<nature> so I should do my neovim config in .nixpkgs/config.nix for instance ?
<nature> okok, what's the benefit of home-manager ?
<symphorien> .nixpkgs/config.nix does not do what you want. It's only the user-wide counterpart of https://nixos.org/nixos/options.html#nixpkgs.config
<nature> let's compared to a more traditional approache of having dotfiles in git ?
<symphorien> I only use it to enable unfree packages
<nature> okok
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94451 → jetty: 9.4.29.v20200521 -> 9.4.31.v20200723 → https://git.io/JJVti
<symphorien> home-manager is like configuration.nix but for dotfiles
<symphorien> but it can also install software (ie. replace nix-env, don't you nix-env if you can avoid)
<symphorien> and start systemd user services
<nature> okay thanks
<symphorien> it's unofficial but many people have been using it for quite a long time now
<symphorien> note that it's rather easy to only use configuration.nix for most of this if you only have one user
<symphorien> for example you can configure i3 with dotfiles or /etc/i3/config
<symphorien> it's a matter of personal preference
<nature> Yes got it, I like to do it by the book tho
<nature> so separating user and system concerns would be ideal :)
alp has joined #nixos
codezero has quit [Quit: Ping timeout (120 seconds)]
codezero has joined #nixos
h0m1 has joined #nixos
<avn> symphorien: btw, are possible to install part of home with system wide home-manager (bound to configuration.nix), and other part by local one?
lsix has joined #nixos
eoli3n has quit [Ping timeout: 240 seconds]
seku has joined #nixos
pareidolia has joined #nixos
<nature> Should you rather explicitely install a package via the systemPackages or implicity with for instance programs.zsh.enable ?
mog has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #94388 → perlPackages.CPANMini: init at 1.111016 → https://git.io/JJaoI
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JJVqR
<nature> And another question, how can you use nixos-unstable instead of the stable pkgs for the systemPackages ?
mog has joined #nixos
Rusty1 has joined #nixos
<nature> If I simply remove the stable channel will I achieve that ?
meh` has joined #nixos
<stigo> nature: yep, replace the stable channel with the unstable channel.
<lejonet> What is the easiest way to just append some commands to a service already existing ExecStartPre script? Just copy the script, do my additions and overwrite it with lib.mkForce or is there a way I can just append to it, so that if it gets changed by the module later, my additions will just be appended, instead of having to keep up with the changes in my conf?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5ad1cdafe15 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
smatting_ has quit [Ping timeout: 246 seconds]
smatting_ has joined #nixos
f0x1 has joined #nixos
f0x1 has quit [Client Quit]
f0x1 has joined #nixos
<Thra11> If a vim plugin relies on an external binary being in the path to work, should it depend on the binary, or is it the user's responsibility to install such dependencies?
<{^_^}> [nixpkgs] @domenkozar pushed to master « ghc 8.8.4/8.10.1: fix PEBKAC »: https://git.io/JJVmC
f0x1 is now known as f0x2
<lejonet> Essentially, ideally for me would be if there is some way to do += " extra string " to like preStart, and then be done with it
<Thra11> e.g. coc-nvim doesn't work unless nodejs is installed.
<lejonet> Thra11: logically, I would say that if you're installing it through a package manager, it should resolve all of its dependencies at install time, for example in this case I would say that the plugin should add nodejs to its path when being installed
<lejonet> If you're installing it outside a package manager, its up to the user to ensure it can access what it needs
<lejonet> But that is just my opinion
<nature> Should you rather explicitly install a package via the environment.systemPackages or implicity with for instance programs.zsh.enable ?
Neo--- has joined #nixos
<numkem> nature: if you have an option available, use the option. if there is a module for it, it means it requires more than just having the package in your PATH
<nature> same with wireguard as well, if you configure it, is it still advised to explicitely install in ?
<balsoft> lejonet: I think taking original contents, changing it and overriding is the best option. If the type were a concatenable one (e.g. lines), just assigning would concatenate, but that's not the case for ExecStart
<numkem> nature: not sure I understand your question for wiregard
<balsoft> nature: You shouldn't need to add stuff like that to environment.systemPackages
<lejonet> balsoft: yeah, and trying to "be smart" and do like preStart = preStart + " things" will ofc result in infinite recursion
<nature> okok, so the use of systempackage is just to put stuff in your PATH ?
lsix has quit [Quit: WeeChat 2.9]
<numkem> nature: pretty much yeah. Technically it modifies your profile but in the end that's pretty much it
<balsoft> lejonet: Hm, yes, true
<lejonet> balsoft: I found that preStart exists outside of serviceConfig, and that is "just" strings concatenated with "\n", so maybe just assigning to <service>.preStart will work?
<balsoft> lejonet: it depends on the type.
<balsoft> Let me check.
<balsoft> Yes, looks like it should work.
<lejonet> balsoft: https://nixos.org/nixos/options.html#prestart only lists "strings concatenated with "\n"", I haven't looked what the actual type is
<balsoft> But there's no guarantee that your changes are going to be appended _after_ what's already there for obvious reasons
<lejonet> balsoft: Well that doesn't matter for me, I only said append because that is what I want to do, if its done in the middle, before or such doesn't matter
<balsoft> type = types.lines;, so yes, it should work
<lejonet> Thanks for the help, I'll try that then :)
euandreh` has joined #nixos
<{^_^}> [nixpkgs] @jappeace closed pull request #94231 → nixos/postgres Add syslog option → https://git.io/JJg5I
bbennett371 has joined #nixos
euandreh has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #94450 → jamulus: 3.5.8 -> 3.5.9 → https://git.io/JJVtJ
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJVmN
mrosenbe has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #94431 → flow: 0.128.0 -> 0.130.0 → https://git.io/JJahI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJVYV
alp has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
alp has joined #nixos
mrosenbe has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @eyJhb opened pull request #94452 → androidenv.build-tools: add libc++ to enable buildToolsVersion 29.0.3 → https://git.io/JJVYd
o1lo01ol1o has quit [Ping timeout: 246 seconds]
noudle has joined #nixos
cosimone has joined #nixos
proofofkeags has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
<nature> Does anybody knows how to configure ungoogled-chromium via nix ?
<armin> nature: what do you mean by "configure"?
<nature> I saw that there exists nixos options for chromium
<Ke> isn't it just a set of patches
<nature> like setting up the extensions etc...
<Ke> or alternatively different source tree
<nature> I was wondering if you'd be able to do that for ungoogled-chromium
<nature> Ke: So no way to do what I am looking to do ?
<nature> maybe with something like ungoogled-chromium.override = {...} ?
teto has joined #nixos
<teto> I've just tried to use cabal new-build within a shellFor but I run into several issues. Any guide for it or people just use the v1-build ?
alp has quit [Ping timeout: 240 seconds]
matthewcroughan has joined #nixos
shibboleth has quit [Quit: shibboleth]
<infinisil> teto: Works for me, what problems do you have?
<teto> cabal configure returns "unknown package: mptcp-pm:c2hs:exe.c2hs" with this line in the cabal file ` Build-tool-depends: c2hs:c2hs`
<{^_^}> [nixpkgs] @zimbatm merged pull request #94449 → hashcat: 6.0.0 -> 6.1.1 → https://git.io/JJVLi
<{^_^}> [nixpkgs] @zimbatm pushed commit from @r-ryantm to master « hashcat: 6.0.0 -> 6.1.1 (#94449) »: https://git.io/JJV3z
orivej has joined #nixos
<infinisil> Hm haven't seen that error before
<numkem> is there a script that exists that clean up a s3 bucket used by hydra? everything hydra does gets copied to it and it's been accumulating
noudle has quit []
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94453 → amfora: 1.3.0 -> 1.4.0 → https://git.io/JJV3Q
symphorien has joined #nixos
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #94365 → liblinear: 2.40 -> 2.41 → https://git.io/JJa81
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJV3h
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
Izorkin has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #94164 → istioctl: bundle charts → https://git.io/JJux6
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JJVsm
<{^_^}> [nixpkgs] @aanderse opened pull request #94454 → nixos/postgresql: fix several issues → https://git.io/JJVsO
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94455 → appeditor: 1.1.0 -> 1.1.1 → https://git.io/JJVs3
<balsoft> nature: you can just override `chromium` with `ungoogled-chromium` in an overlay and then use `programs.chromium` option as usual
<balsoft> (At least I think so)
maier has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #94339 → batsignal: 1.0.0 -> 1.1.2 → https://git.io/JJaLU
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJVsR
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94456 → argbash: 2.8.1 -> 2.9.0 → https://git.io/JJVs0
<TheSirC[m]> Would anyone packaged `amdgpu-pro` in the past ?
sigmundv has joined #nixos
<TheSirC[m]> I am facing an issue while trying to package it. Reaching the buildPhase I get : `make[3]: *** No rule to make target '/build/amdgpu-pro-20.20-1098277-ubuntu-20.04/root/usr/src/amdgpu-5.6.0.15-1098277/amd/amdkcl/symbols.o', needed by '/build/amdgpu-pro-20.20-1098277-ubuntu-20.04/root/usr/src/amdgpu-5.6.0.15-1098277/amd/amdkcl/amdkcl.o'. Stop.`
simba1 has joined #nixos
domogled has joined #nixos
CodeSpelunker has joined #nixos
tarruda2 has joined #nixos
cole-h has joined #nixos
philr has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #93814 → coqPackages.bignums: init at 8.12.0 for Coq 8.12 → https://git.io/JJBq9
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.bignums: init at 8.12.0 for Coq 8.12 »: https://git.io/JJVso
<davidak[m]> TheSirC: it is packaged,but there where issues with it https://github.com/NixOS/nixpkgs/search?q=amdgpu-pro&unscoped_q=amdgpu-pro
<TheSirC[m]> davidak: I know : I have seen your issues and I am trying to package the version 20.20
<TheSirC[m]> I guess "package" is not the right verb. "Update" should be more appropriate
<davidak[m]> yes :D
<TheSirC[m]> But as you can see it does not go really well
acarrico has joined #nixos
stephaneyfx has joined #nixos
<davidak[m]> i haven't looked into it more since my problem is solved
mallox has quit [Quit: WeeChat 2.9]
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<davidak[m]> TheSirC: here are also people who try to update it https://github.com/NixOS/nixpkgs/issues/79562
<{^_^}> #79562 (by DieGoldeneEnte, 24 weeks ago, open): The package amdgpu-pro is packaged for any kernel version even though kernel version is fixed
meh` has quit [Quit: I don't want to live on this planet anymore.]
<davidak[m]> TheSirC: here is 20.20 packaged. might give some hint https://aur.archlinux.org/packages/opencl-amdgpu-pro-orca/
<TheSirC[m]> <davidak[m] "TheSirC: here are also people wh"> I have based my update in killercup's
<bqv> ,locate execline
<{^_^}> Found in packages: execline.dev, execline.doc
<TheSirC[m]> <davidak[m] "TheSirC: here is 20.20 packaged."> Yeah I was looking at the GitHub repo just now
<TheSirC[m]> I am not too familiar to Arch so it is a bit cryptic to me
symphorien has quit [Ping timeout: 244 seconds]
<bqv> ,locate bin execline
<TheSirC[m]> And it does not deal with the actual compiling which is even more mind-boggling to me
<{^_^}> Found in packages: execline.bin
<infinisil> Huh, weird that it didn't find the binary with just ,locate
malook has joined #nixos
<bqv> both responses were wrong
<davidak[m]> TheSirC: you can click on "View PKGBUILD" on the right and see the steps they are doing https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=amdgpu-pro-installer that's all i know :D but it helps a lot when starting to package somethink
fresheyeball has joined #nixos
<TheSirC[m]> davidak: That's exactly what I was doing but no call to make is made in the script
<davidak[m]> ok
<TheSirC[m]> That's so weird xD
<infinisil> ,locate execlineb
<{^_^}> Found in packages: execline.bin
<infinisil> Apparently that's the binary
<bqv> i get it now, you never actually have to use 'execline', you can use the tools direcly
symphorien has joined #nixos
malook has quit [Quit: ERC (IRC client for Emacs 26.3)]
<bqv> so execline doesnt exist
<bqv> execlineb is the script runner, so has to exist, i guess
<eyJhb> So.. If I have something that reads a json file in Nix, and I want to override a attribute from that file after it has been loaded
<eyJhb> Is that a good idea at all?
<bqv> seems harmless
<infinisil> Why would that be bad
<eyJhb> But the best would be to generate a .nix file instead of a .json file?
<infinisil> Nah json is preferred
<{^_^}> [nixpkgs] @dotlambda opened pull request #94457 → postfix: 3.5.4 -> 3.5.6 → https://git.io/JJVG3
<infinisil> Nix isn't good for generating or manipulating
<eyJhb> Because, I have this structure { "<name>": { "deps": [ {"id": "1234"} ] }}
<bqv> if it's data, use json, if it's not, use nix
<eyJhb> So if I want to override that id, then I have to search it all, or do so my deps are a dict instead. Is either preffered?
<bqv> could that not be replaced by a set
<bqv> if you need it by id, seems like it should be a set
<bqv> there's probably a jq script for that
<eyJhb> https://pastebin.com/c7hi14n6 is what I need to override, with a exec instead
<eyJhb> Or patch it?
<eyJhb> bin instead*
<eyJhb> But yeah, I would guess a set would be better to use
<eyJhb> No clue if I can manage that in Kotlin
<bqv> even if not, as long as you have some kind of id you can just pass it through a jq filter before you read it
<bqv> i mean, i reckon you could achieve that transform in pure nix too, actually
<eyJhb> True. You're thinking `cat file | jq <something> > final.json` ?
<bqv> but that's less tidy
<bqv> or, a matter of taste, at least
<bqv> (yes)
<eyJhb> Hmm, and then I guess it is just a matter of `//` ? Or, can I actually do a super/self on it, after it has read the data?
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #94458 → postfix: 3.4.14 -> 3.4.16 → https://git.io/JJVGP
<{^_^}> [nixpkgs] @vbgl opened pull request #94459 → ocamlPackages.lua-ml: 0.9 → 0.9.1 → https://git.io/JJVZv
teto has quit [Quit: WeeChat 2.9]
o1lo01ol1o has joined #nixos
<infinisil> eyJhb: You can use some fixed-point construct if you need it
<infinisil> Can use any nix functions to transform the data further really
orivej_ has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
<infinisil> There's lib.fix and lib.makeExtensible which you can use if you need it
<eyJhb> Hmm, I might have to try
<eyJhb> But it will end hideous! I have no clue, if there is a better way to do this
<eyJhb> As this will also silently fail, if the deps file is updated, and the dep is no longer there
<{^_^}> [nixpkgs] @ryantm closed pull request #94455 → appeditor: 1.1.0 -> 1.1.1 → https://git.io/JJVs3
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<infinisil> eyJhb: I don't have much of a clue what you're doing tbh
zebrag has quit [Quit: Konversation terminated!]
zupo has joined #nixos
CodeSpelunker has quit [Quit: CodeSpelunker]
<eyJhb> infinisil: I have this file - https://termbin.com/70zf that I use in a expression https://github.com/tadfisher/gradle2nix/blob/master/app/src/dist/share/gradle-env.nix#L238-L240 where I need to override the protoc with a nix binary instead, of the one it downloads
zebrag has joined #nixos
<evanjs> What's the laziest way to `nix search` on stuff that doesn't `recurseIntoAtrrs`?
a90c has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
cosimone has quit [Quit: Quit.]
a90c has left #nixos [#nixos]
<TheSirC[m]> How do you precent an install script from trying to create folders while building a derivation ?
<TheSirC[m]> prevent*
__monty__ has joined #nixos
<bbigras> can we patch one of the vendored dependency when using buildGoModule?
<infinisil> TheSirC[m]: Way too little info to help
user_0x58 has joined #nixos
<yurb> Is there a way to list / search nixos options locally (via command line or otherwise) like https://nixos.org/nixos/options.html ?
zebrag has quit [Ping timeout: 240 seconds]
zebrag has joined #nixos
<infinisil> bbigras: You can probably massage the vendor dir in postConfigure (though it's a symlink, so you need to copy it around first)
<hsngrmpf[m]> How can I check quickly if a certain store path is available from a binary cache?
<bbigras> infinisil: anything I need to do to populate the vendor dir? It didn't exist when I did tests last night.
metasyntactic has joined #nixos
<infinisil> bbigras: It should if you specified vendorSha256
<metasyntactic> I'm trying to write a package for a new VR remote desktop package that support linux - I'm having trouble with autopatchelf applying to some dynamic libs that the package drags along - can anyone help?
<infinisil> hsngrmpf[m]: For a path /nix/store/<hash>-<name>, do `curl -I https://<url>/<hash>.narinfo`
<TheSirC[m]> But anyway, that's not the dragon I should be slaying because the output of building (read `buildPhase`) the derivation reads : `checking whether the C compiler works... no` which is way worse
<{^_^}> [nixpkgs] @doronbehar opened pull request #94460 → restinio: init at 0.6.8.1 → https://git.io/JJVnW
matthewcroughan has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @zandroidius opened pull request #94461 → Mfcj835dw → https://git.io/JJVnM
matthewcroughan has joined #nixos
ogkloo has joined #nixos
<ogkloo> I can't seem to get nixos aarch64 to talk to HDMI on a raspi 3B. Do I have to do anything special to get it to do that? I know the pi is fine because it boots NOOBS without complaint.
zebrag has quit [Quit: Konversation terminated!]
<infinisil> yurb: `man configuration.nix`
zebrag has joined #nixos
alp has joined #nixos
cosimone has joined #nixos
<tldr32> ogkloo: I had to use older kernel 4.19 on 3B+ to be able to see anything beyond initrd. On 5.6 (I think) it booted but without a display .. was able to login through ssh
fresheyeball has quit [Quit: WeeChat 2.7.1]
<ogkloo> Oh, interesting. I'll try it without a display over ssh, since I don't really need a display for what I want.
<ogkloo> Would I just edit the configuration.nix in the sd card or something?
<ogkloo> If I did want to change the kernel versio
arjen-jonathan has quit [Ping timeout: 244 seconds]
<infinisil> metasyntactic: Why is there a .so in the bin folder
<ogkloo> Thanks, will give it a run.
<tldr32> ogkloo: gl
<bqv> does anyone have a tool to recursively map a deeply nested attrset
<bqv> i remember seeing one somewhere
<{^_^}> [nixpkgs] @FRidh pushed 317 commits to staging-next: https://git.io/JJVcn
<infinisil> bqv: lib.mapAttrsRecursive?
<{^_^}> [nixpkgs] @FRidh pushed 321 commits to staging: https://git.io/JJVcC
<bbigras> infinisil: it works. thank you very much
<bbigras> infinisil++
<{^_^}> infinisil's karma got increased to 325
<infinisil> :D
<bqv> infinisil: oh, yes! ty
<metasyntactic> infinisil: I think they were trying to ensure compatbility of libav versions? I dunno, it's the vendor's DEB
malook has joined #nixos
quinn has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @bbigras opened pull request #94462 → kopia: init at 0.5.2 → https://git.io/JJVcM
drakonis has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
mrosenbe has joined #nixos
o1lo01ol1o has joined #nixos
<infinisil> metasyntactic: I'd try making it use all the libraries from Nix
alp has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
maier has joined #nixos
mrosenbe has quit [Ping timeout: 264 seconds]
ddellacosta has joined #nixos
maier has quit [Ping timeout: 240 seconds]
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @ddelabru opened pull request #94463 → sfrotz: init at 2.52 → https://git.io/JJVCI
growpotkin has joined #nixos
ogkloo has quit [Ping timeout: 260 seconds]
<dmj`> anybody have a darwin cache handy
alp has joined #nixos
<{^_^}> [nixpkgs] @ddelabru opened pull request #94464 → frotz: 2.44 -> 2.52 → https://git.io/JJVCc
<{^_^}> [nixpkgs] @Mic92 opened pull request #94465 → opengrm-ngram: init at 1.3.11, phonetisaurus: init at 2020-07-31 → https://git.io/JJVCl
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<betaboon> is anyone using docker-buildx and can tell me if it is using qemu when building for the same architecture of the host ? oO
julm has quit [Ping timeout: 264 seconds]
julm has joined #nixos
kraeXen has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
ezemtsov has joined #nixos
cosimone has quit [Quit: Quit.]
metasyntactic has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @matthewmazzanti opened pull request #94466 → doc: Fix missing callout in go.xml → https://git.io/JJVWv
malook has left #nixos ["ERC (IRC client for Emacs 26.3)"]
kraeXen has quit [Ping timeout: 240 seconds]
kraeXen has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
Fare has quit [Ping timeout: 244 seconds]
drakonis has joined #nixos
julm has quit [Ping timeout: 256 seconds]
WRMilling has joined #nixos
<WRMilling> Hello everyone! Quick syntax check. If I want to add a patch to the kernel being built, would this statement work? https://dpaste.com/GLWRNX7JX (patching an overlay I am using)
<{^_^}> [nixpkgs] @pacien opened pull request #94467 → mautrix-telegram: add postgresql database driver → https://git.io/JJVWB
drakonis has quit [Quit: WeeChat 2.8]
julm has joined #nixos
<lb5tr> Hey, i'm struggling to understand one thing in repl
<lb5tr> how does :l relate to import?
<lb5tr> for example
<lb5tr> :l <nixpkgs>
<lb5tr> :b jq
<lb5tr> works just fine
<lb5tr> but if I do this
<lb5tr> pkgs = import <nixpkgs>;
<lb5tr> :b pkgs.jq
<lb5tr> it fails with error: value is a function while a set was expected, at (string):1:1
<lb5tr> pkgs = import <nixpkgs> <- this evals to a lambda
<lb5tr> but :l <nixpkgs> somehow evals that. how? what params are being passed?
<lb5tr> pkgs = import <nixpkgs> {} <- this works as expected hmm
<simpson> You just figured it out: `import` takes two arguments.
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
Thra11 has quit [Ping timeout: 256 seconds]
<lb5tr> simpson: so :l is not just an alias on import?
<simpson> I think it does something like use {} for the second argument.
<lb5tr> ack
<{^_^}> [nixpkgs] @oxalica opened pull request #94468 → osu-lazer: 2020.725.0 -> 2020.801.0 → https://git.io/JJVW5
drakonis has joined #nixos
daddy_james[m] has joined #nixos
jbgi_ has joined #nixos
WRMilling has quit [Ping timeout: 245 seconds]
lejonet has joined #nixos
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
nature has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
Thra11 has joined #nixos
jbgi_ has quit [Quit: WeeChat 2.7.1]
sangoma has joined #nixos
sangoma has quit [Client Quit]
<exarkun> Having trouble getting virtualbox working. `VBoxManager start ...` fails with "VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine" and a dialog saying "Kernel driver not accessible"
<exarkun> my config is `virtualisation.virtualbox.host.enable = true;` and `users.users.exarkun.extraGroups = [ "vboxusers" ];`
<exarkun> and I rebooted after the new kernel/modules were built
<exarkun> anyone know how to fix this?
sangoma has joined #nixos
arjen-jonathan has joined #nixos
metasyntactic has joined #nixos
CodeSpelunker has joined #nixos
<metasyntactic> infinisil: should I just delete the .so files in an earlier stage?
bdesham has joined #nixos
<bdesham> hello! is anyone able to merge this PR that has been approved for a while now? https://github.com/NixOS/nixpkgs/pull/89674
<{^_^}> #89674 (by bdesham, 8 weeks ago, open): handbrake: fix Darwin build
<aleph-> So question, got a nix module here I'm writing, I'm generating a yaml/json config file from nix expr lang and running into an issue with nested submodules. The submodules on lines 45, 115, 139 are causing me some issues. Setting them is supposed to give me a nested mapping underneath a higher mapping. However instead I just get a coercion error of the type "value is a string while a set was
<aleph-> expected" with a trace of: https://paste.rs/NMk So I'm wondering if I should be using a submodule type here given I expect the choices to be options, or maybe if there's something I should be using a attr set directly for? Module here: https://paste.rs/Vgh
<{^_^}> [nixpkgs] @cust0dian opened pull request #94469 → navi: init at 2.7.1 → https://git.io/JJVlP
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94470 → bazel-kazel: 0.0.7 -> 0.0.10 → https://git.io/JJVly
alp has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/43dd81b3fe8 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<duairc> aleph-: Do you need the submodules there? I'm not sure about this myself but I've only ever found it useful to do that when you using with listOf or attrsOf. If you take away the submodule bit and the 'options =' bit inside of that, does that give you what you want?
<duairc> aleph-: So basically you just define the authentication.type and authentication.second_factor modules directly without using submodules
LouisDK has joined #nixos
<metasyntactic> I'm trying to use patchelf on a 3rd party binary, and it appears to work, but then I get a bunch of "no version information available (required by.." errors when I try to run the patched binary. google says that means the library version are too old, but they don't appear to be - what am I doing wrong?
euandreh` has quit [Ping timeout: 272 seconds]
ezemtsov has quit [Remote host closed the connection]
<aleph-> duairc: Hmm, I guess I don't need options. I can still set a default value with an attr set right?
<aleph-> Because that is something I'd like.
o1lo01ol1o has joined #nixos
BaD_CrC has quit [Remote host closed the connection]
BaD_CrC has joined #nixos
<balsoft> exarkun: Are you running some other hypervisor? There can only be one.
<{^_^}> [nixpkgs] @mweinelt merged pull request #94465 → opengrm-ngram: init at 1.3.11, phonetisaurus: init at 2020-07-31 → https://git.io/JJVCl
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to master: https://git.io/JJV8u
<balsoft> exarkun: e.g. if you're running QEMU, you can't run VirtualBox (unless both are using libvirt)
v0|d has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<balsoft> aleph-: You can set type to attrs and set a default value, yes. However, it won't merge nicely.
<{^_^}> [nixpkgs] @Ma27 merged pull request #94467 → mautrix-telegram: add postgresql database driver → https://git.io/JJVWB
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJV82
sigmundv has quit [Ping timeout: 265 seconds]
<aleph-> Hmm.
<aleph-> balsoft: To be clear I meant the fields of the attr set. Although I guess that would be the same as just setting a default for the whole attr set.
<balsoft> E.g. if you set default to { foo = { bar = 10; }; goo = 20; } and then set smth like { foo.bar = 15; } in some other module, you'll get { foo.bar = 15; } as the final module (e.g. it overrides and not merges)
<balsoft> s/e.g./i.e./
<{^_^}> [nixpkgs] @Ralith closed pull request #94247 → vulkan-headers: 1.2.131.1 -> 1.2.148 → https://git.io/JJ2fj
<exarkun> balsoft: hm, I don't have any other `virtualisation` items enabled
<balsoft> Oh, btw, the error is not related at all
<exarkun> balsoft: but I think I have run some qemu vms at times, so I must have qemu enabled?
<balsoft> It's because you're calling mkEnableOption incorrectly
<aleph-> Got it. Hmm.
<balsoft> It wants a single string, not an attrset
<aleph-> Oh?
<balsoft> > lib.mkEnableOption "foo"
<{^_^}> { _type = "option"; default = false; description = <CODE>; example = true; type = { _type = "option-type"; check = <PRIMOP>; description = <CODE>; emptyValue = <CODE>; functor = <CODE>; getSubModules ...
<aleph-> Huh.
<balsoft> > lib.mkEnableOption {}
<{^_^}> { _type = "option"; default = false; description = <CODE>; example = true; type = { _type = "option-type"; check = <PRIMOP>; description = <CODE>; emptyValue = <CODE>; functor = <CODE>; getSubModules ...
<balsoft> Huh, interesting
<balsoft> > (lib.mkEnableOption {}).description
<{^_^}> cannot coerce a set to a string, at /var/lib/nixbot/nixpkgs/master/repo/lib/options.nix:68:20
<exarkun> oh
<exarkun> but I do have boot.kernelModules = [ "kvm-intel" ];
<exarkun> is that it?
<balsoft> exarkun: Nah, that's just a kernel module
<metasyntactic> can someone please help me figure out what I'm doing wrong with patchelf for a derivation? I'm pulling my hair out trying to figure it out - nix file and error output: https://gist.github.com/devzero/f65d9b070a91fa2b8aefbc827828a65b
<balsoft> exarkun: Can you ps -aux | grep qemu?
<aleph-> I'm only using mkEnableOption in one section however... for the initial top level enable of the entire module
<exarkun> balsoft: sure. only hit is the `grep qemu` process.
maier has joined #nixos
<balsoft> exarkun: Hmm, I'm puzzled then. I don't use VBox, so maybe someone more knowledgable can help.
<exarkun> okay, thanks
<balsoft> aleph-: Yeah, fix it and see what fails next
<exarkun> I'd be happy to use libvirt or qemu instead but I have a virtualbox image :/ maybe there's some way to convert it, though
<exarkun> or maybe something else can run a vmdk,I can't remember how this stuff works
<bqv> exarkun: vboxmanage can convert those, iirc
<metasyntactic> is there a better place I should go for help making derrivations?
<balsoft> metasyntactic: nah, this channel is fine, just not enough volonteers to help everybody
<duairc>
<duairc> oops
<{^_^}> [nixpkgs] @mweinelt merged pull request #94458 → postfix: 3.4.14 -> 3.4.16 → https://git.io/JJVGP
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to release-20.03: https://git.io/JJV85
<balsoft> metasyntactic: are you sure the RPATH is empty before you override it?
maier has quit [Ping timeout: 240 seconds]
eoli3n has joined #nixos
<balsoft> metasyntactic: oh, it's a deb package. Maybe you need to add the /lib or /usr/lib or whatever of that package to RPATH too
<metasyntactic> balsoft: I looked at the original binaries from the .deb with readelf -d and they didn't have a RPATH in them originally
shibboleth has joined #nixos
<duairc> aleph-: Maybe I didn't explain myself very well, but try this out and see if it does what you want: https://paste.rs/Jzv
<balsoft> metasyntactic: maybe there are some libraries that come with the package? If that's the case, you have to make sure the binary finds them by adding their location to RPATH
CodeSpelunker has quit [Quit: CodeSpelunker]
<aleph-> duairc: Ahhhh, got it. So with that patch I get "attribute 'name' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:532:12"
andreas303 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #94471 → wayland-utils: init at 1.0.0 → https://git.io/JJV4U
<aleph-> duairc: Might just try setting the embedded submodules as attr sets only I think
andreas303 has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #93821 → python3Packages.pyfritzhome: init at 0.4.2 → https://git.io/JJBO5
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JJV4O
malik has joined #nixos
<balsoft> aleph-: Sorry, I can't access what duairc posted for some reason, so here's my (superficial) rewrite: http://ix.io/2sTE
<balsoft> I'm not sure it evals, but it might.
alp has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 6 commits to master: https://git.io/JJV4C
<{^_^}> [nixpkgs] @vcunat merged pull request #94421 → firefox: 78.0.2 -> 79.0, 68.10.0esr -> 68.11.0esr, 78.1.0esr [High security fixes] → https://git.io/JJadx
<{^_^}> [nixpkgs] @romildo opened pull request #94472 → xfce.xfwm4: 4.14.2 -> 4.14.4 → https://git.io/JJV4Q
<{^_^}> [nixpkgs] @lopsided98 opened pull request #94473 → nixos/wpa_supplicant: add configFile option → https://git.io/JJV45
<metasyntactic> balsoft: I don't see the libraries that are included with the package mentioned in the ELF header, so I'm assuming that they are loaded dynamically?
eoli3n has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @wkral opened pull request #94474 → wayland-utils: init at 1.0.0 → https://git.io/JJVBf
<aleph-> balsoft: Yeah that worked. Guess I'll go without submodules when generating nested config file options
<balsoft> metasyntactic: in order to load libraries dynamically, dynamic linker must know where to find them.
<balsoft> On "traditional" distros, that's usually somewhere in LD_LIBRARY_PATH, which is /lib:/usr/lib or something like that.
eoli3n has joined #nixos
<balsoft> metasyntactic: On NixOS, LD_LIBRARY_PATH is empty, and everything is hardcoded into RPATH. That might upset some Debian packages.
<metasyntactic> it's relative to the executable? I tried modifying the patchelf line as follows but it didn't change the rpath in the resulting binary: patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath "${libPath}:$out/bin/immersed-res/va1/:$out/bin/immersed-res/va2/" $out/bin/Immersed
<balsoft> metasyntactic: Did that work?
<balsoft> aleph-: nice
<metasyntactic> balsoft: nope, didn't change the rpath line in the elf header either, which baffles me
<{^_^}> [nixpkgs] @mweinelt opened pull request #94475 → homeassistant: 0.113.0 -> 0.113.3 → https://git.io/JJVBL
<balsoft> metasyntactic: Hmm.
<aleph-> Thanks for the help. :) You too duairc
<balsoft> metasyntactic: Are you sure you're actually rebuilding the package? :P That happened to me a couple of times
<metasyntactic> balsoft: it created a different dir in /nix/store?
<balsoft> metasyntactic: ok, so it did get rebuilt. Interesting.
malik has quit [Remote host closed the connection]
CodeSpelunker has joined #nixos
<metasyntactic> balsoft: I tried using autopatchelf too, but that fails to build because of the included .so files, which is really confusing as well - would you like to see that version?
CodeSpelunker has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/840c782d507 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<balsoft> metasyntactic: Yeah, sure
<balsoft> I don't have the best internet connection. Is that immersed.deb thing big?
<balsoft> If so, could you tree its contents for me?
<metasyntactic> balsoft: 21M? treeing now
<{^_^}> [nixpkgs] @wkral closed pull request #94474 → wayland-utils: init at 1.0.0 → https://git.io/JJVBf
<balsoft> metasyntactic: huh, yeah, I guess I could've curl -I it, but whatever. I think 21MB is fine, it shouldn't take too long
<metasyntactic> balsoft: here's the tree and the autopatchelf version: https://gist.github.com/devzero/d7813505090732f11f78f73ab8db3eb9
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94476 → cargo-tarpaulin: 0.14.0 -> 0.14.2 → https://git.io/JJVBR
<{^_^}> [nixpkgs] @romildo opened pull request #94477 → xfce.xfce4-timer-plugin: 1.7.0 -> 1.7.1 → https://git.io/JJVBE
<balsoft> metasyntactic: Ah, I see now. autopatchelf probably fails because it tries to patchelf so files themselves, which doesn't make sense here.
<metasyntactic> well they do have unresolved dependencies, but as far as I can tell, the libs they're complaining about are libav, which is part of the specified dependencies
<lordcirth__> In Nix, how can I have a function take an argument (a username) and return a config with users.users.$username = thing? That is, how do I use a variable as a set key?
<balsoft> metasyntactic: please wait while I download this thing to play with it
<balsoft> lordcirth_: You're pretty close
<metasyntactic> balsoft: will do - I appreciate your help
<balsoft> > { foo.${"bar" + "baz"} = 10; }
<{^_^}> { foo = <CODE>; }
<{^_^}> [nixpkgs] @Ma27 merged pull request #94390 → eternal-terminal: 6.0.7 -> 6.0.9 → https://git.io/JJaob
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJVBo
<balsoft> argh
<balsoft> > { ${"foo" + "bar"} = 10; }
<{^_^}> { foobar = 10; }
<balsoft> lordcirth_: ^
<{^_^}> [nix] @Ma27 closed pull request #3760 → nix/*: Add `-h`-shortcut for `--help` to display helptext → https://git.io/JJvHf
<balsoft> So, username: { users.users.${username} = "thing"; }
<{^_^}> [nixpkgs] @mweinelt opened pull request #94478 → mopidy-tunein: init at 1.0.0 → https://git.io/JJVBX
<{^_^}> [nixpkgs] @Ma27 merged pull request #94363 → checkstyle: 8.34 -> 8.35 → https://git.io/JJalY
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJVBD
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
noudle has joined #nixos
LouisDK has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #90593 → elinks: bump to newest version, thereby making it usable again → https://git.io/Jf5cB
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJVBF
<balsoft> metasyntactic: Ok, so I got it to fail with ./result/bin/Immersed: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
<metasyntactic> balsoft: weird, I haven't gotten that error before on my system
<balsoft> nix-locate suggests that there is no derivation for that lib specifically
<metasyntactic> balsoft: really? I have a bunch of them on my system. e.g.: /nix/store/hqhimaamycxwl7lsxssnbj24p6xibpld-curl-7.68.0/lib/libcurl-gnutls.so.4
<balsoft> Huh, it's a bug in nix-locate
<metasyntactic> balsoft: i tend to use ls /nix/store/*/lib/lib...
<balsoft> Hmm
malik has joined #nixos
<balsoft> I don't have libcurl-gnutls in my curl.out
<balsoft> What nixpkgs version are you on?
<balsoft> release-20.03?
<metasyntactic> weird... unstable vs stable difference?
<balsoft> Yeah, maybe
<metasyntactic> I'm on 20.03 but I also install a handful of packages from unstable or master
<balsoft> In any case, try this: https://0x0.st/ixUw.txt
<balsoft> Whoops, forgot to change license back :P
alp has quit [Ping timeout: 260 seconds]
<metasyntactic> balsoft: huh... nix/store/imr3zcvxcpzdcrd5jc48y8n9mwpppn4x-immersed-2.1-0/bin/Immersed: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
<balsoft> Uh-huh
<balsoft> Can you see if ls $(nix eval nixpkgs.curl.out)/lib contains libcurl-gnutls?
<balsoft> (that's why nix-locate is better than ls /nix/store/... btw)
<{^_^}> [nixpkgs] @romildo opened pull request #94479 → xfce.xfce4-whiskermenu-plugin: 2.4.4 -> 2.4.6 → https://git.io/JJVRU
<balsoft> Actually if you're on latest release-20.03, it won't
<metasyntactic> balsoft: if I change curl.out to curl, it builds
<balsoft> Oh, so it's my fault then :P
<metasyntactic> balsoft: but it still complains the lib isn't there.. nvmind
<balsoft> It will stop building after you update
<balsoft> Welp
<balsoft> You can probably do something hacky and symlink libcurl-gnutls.so.4 to libcurl.so.4
<balsoft> But I have no idea how bad this is
<metasyntactic> balsoft: weird nix eval doesn't work - it errors out on my box
<{^_^}> [nixpkgs] @Ma27 merged pull request #94369 → nixos/systemd-networkd-vrf: implement working TCP test on a 5.x kernel → https://git.io/JJaBs
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJVRL
<metasyntactic> balsoft: I got the same error on two of my boxen: https://gist.github.com/devzero/7e40b790b2375b2e53b8edb64a9cc60a
<balsoft> metasyntactic: ah, yeah, try nix eval nixpkgs.curl.out --raw
<balsoft> It tries to evaluate curl.out recursively, evaluating all of nixpkgs as a result
<{^_^}> [nixpkgs] @ryantm merged pull request #94290 → openxr-loader: 1.0.9 -> 1.0.10 → https://git.io/JJ2Vd
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJVRG
<balsoft> metasyntactic: Looks related https://github.com/NixOS/nixpkgs/issues/39208
<{^_^}> #39208 (by rvolosatovs, 2 years ago, closed): Spotify is broken
<balsoft> OMG I'm dumb
<balsoft> Still fails tho
<balsoft> Oh, it segfaults now. Hooray, I guess?
<balsoft> It sounds like this is because libcurl-gnutls it was linked against is older than the version nixos ships with
<metasyntactic> I get the gnutls error and a coredump
<balsoft> Is there a source available for this thing? It comes with debug symbols
<metasyntactic> nope, it's a proprietary binary - it's the server side component to let you remote into your X server in VR
<metasyntactic> I am on the beta list and in their linux beta users' discord tho
<balsoft> Ok, so if you could get the sources that would be awesome
<metasyntactic> but the linux maintainer doesn't work weekend
<metasyntactic> I probably can't, but I can ask them questions
<metasyntactic> I can look at it in ghidra, it is crazy that they shipped it with symbols
<{^_^}> [nixpkgs] @prusnak opened pull request #94480 → bitcoin: 0.20.0 -> 0.20.1 → https://git.io/JJVRg
<balsoft> Idunno, maybe I'm crazy, but GDB loads symbols and complains it can't find src/client/linux/handler/exception_handler.cc
<{^_^}> [nixpkgs] @primeos merged pull request #94471 → wayland-utils: init at 1.0.0 → https://git.io/JJV4U
<{^_^}> [nixpkgs] @primeos pushed to master « wayland-utils: init at 1.0.0 (#94471) »: https://git.io/JJVRw
cosimone has joined #nixos
sangoma has quit [Ping timeout: 260 seconds]
<metasyntactic> I could send them a corefile I guess...
<clever> balsoft: i think the working dir needs to be within the source, so that relative path exists
maier has joined #nixos
<balsoft> clever: we don't have the source :(
<{^_^}> [nixpkgs] @veprbl opened pull request #94481 → texlive: disable revisioned tarballs for now → https://git.io/JJVRo
<balsoft> But yeah, the fact that they shipped with -g tells me something about maintenance quality
LouisDK has joined #nixos
malik has left #nixos ["ERC (IRC client for Emacs 26.3)"]
nikita` has quit [Quit: leaving]
<balsoft> Hmm, so interestingly it segfaults before the entry point
<LouisDK> I'm patching a package which needs "libpthread.so". Apparently adding "ln -s ${stdenv.cc.libc}/lib/libpthread.so.0 $out/lib/libpthread.so.0" to the installphase does not solve it: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/libhdhomerun/default.nix
<balsoft> LouisDK: What's the issue?
<clever> balsoft: dont have source for what?
<balsoft> clever: for the software in question, Immersed.
<clever> balsoft: the filename looks like chromium/electron to me
<balsoft> clever: Huh
<balsoft> clever: I wonder if it's an electron app?
<clever> balsoft: what files is it shipping?
<balsoft> Here's the debug symbol listing for the binary: https://0x0.st/ixUk.txt
<clever> which is googles library for collecting coredumps and shipping them home automatically
<LouisDK> balsoft: The software needs libpthread.so.0 in order to be able to find tv tuners on the network.
maier has quit [Ping timeout: 265 seconds]
<balsoft> LouisDK: Ok, so what happens if you just try patching it? What's the error?
<clever> balsoft: if breakpad is setup correctly (by the original creator of the app), it should have already sent the core file back to them
<balsoft> clever: that sounds scary
arjen-jonathan has quit [Ping timeout: 260 seconds]
<clever> balsoft: its likely in the EULA you agreed to when downloading the app
<clever> you did read that, right? :P
<balsoft> clever: that makes me want to run everything in network-isolated containers even more
<balsoft> I guess it's about time I continue that project
<LouisDK> balsoft: If the lib is not found the program is unable to find any tuners.
<balsoft> LouisDK: And you are implying that the lib is not found?
<evanjs> anybody know if there are any skeleton files for e.g. nix modules for emacs or vim? On a related note.... is there an idiomatic way to add such files via my config? (NixOS _or_ home-manager)
<duairc> infinisil: builtins.unsafeDiscardOutputDependency was what I needed the other day
<evanjs> Or would I be adding them like I would add typical vi/emacs packages/plugins, etc?
<LouisDK> balsoft: That stated when running the program with "strace".
<LouisDK> *that's
<balsoft> clever: BTW, would it work in this case? The program doesn't even reach the entrypoint
<infinisil> duairc: Oh damn, didn't know this existed!
<balsoft> LouisDK: strace is a bad way to debug such things. What does ldd ./your_program say?
<{^_^}> [nixpkgs] @xeji merged pull request #94341 → enlightenment.efl: do not default to openjpeg 1 → https://git.io/JJaLF
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJVRN
<clever> balsoft: if your seeing breakpad, then it must have reached main() i think, and setup the breakpad exception handlers
<infinisil> duairc: What's the full code now?
proofofkeags has joined #nixos
<clever> balsoft: but it may be failing too bad to phone home, and might be failing within breakpad's own coredump generation
<balsoft> clever: I'm only seeing breakpad in the debug symbols, not in any output. If I gdb it, break on the entrypoint and start, it fails before the breakpoint.
<clever> ah
<balsoft> So I doubt it has time to phone home. If it does, that's some impressive levels of invasive telemetry
<clever> whats the backtrace upon failure?
<{^_^}> [nixpkgs] @Ma27 merged pull request #94377 → zfs: backport linux 5.8 compatibility patch to 0.8.4 release → https://git.io/JJauG
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJVRh
<duairc> infinisil: Basically I make a systemd service that runs `nix-store --realise ${unsafeDiscardOutputDependency derivation.drvPath}`; the drv is included in the closure but not the out
<clever> balsoft: i think on its own, breakpad just allows coredumping with metadata about when/how, and listing those coredumps
<balsoft> clever: https://0x0.st/ix0s.txt
<clever> balsoft: and the app then has to list them, and upload, when its functioning normally
<infinisil> duairc: Is the whole drv tree included?
<{^_^}> [nixpkgs] @xeji merged pull request #94422 → gloox: 1.0.23 -> 1.0.24 → https://git.io/JJadj
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gloox: 1.0.23 -> 1.0.24 »: https://git.io/JJV0e
<clever> balsoft: try `frame 1` then `d` to disassemble the function, what does it show?
<clever> balsoft: you may need `d WebRTCFFmpegEncoder::WebRTCFFmpegEncoder()`
<balsoft> clever: oh, hm, that's interesting. It's surely reaching main in the backtrace
<{^_^}> [nixpkgs] @mweinelt opened pull request #94483 → python3Packages.pyHS100: init at 0.3.5.1 → https://git.io/JJV0f
<balsoft> clever: sorry for being a GDB noob, but how do I see the disassembled listing?
<clever> balsoft: with the `d` command
<balsoft> TBF I should know this, I used to use GDB all the time some years ago
<balsoft> clever: it doesn't output anything
<evanjs> infinisil: maybe it's a good thing we don't know which unsafe functions exist :P reminds me of the "nomicon" for Rust lol
<clever> balsoft: what about `d WebRTCFFmpegEncoder::WebRTCFFmpegEncoder()`?
proofofkeags has quit [Ping timeout: 246 seconds]
<balsoft> clever: nothing too
<clever> ,exec evanjs
<{^_^}> evanjs: builtins.exec i̢s a ͡h͞ìd̢d́e̢n͡ ̕u̢n̢safe̷ i̛m͠pu̴r̡e ̶Nix ̴2̛.0 ̡f̀ea͡t͜ure to ͢e̷x̧ecut͏e ̧ar̴b͟itŕary ̷c͡omm̨and̴s d̵u͟ri͡ng҉ ͡Ni҉x e̢val̶u͜a͞ti͞on̡. Doņ'̕t̕ use̸ it̴!͟ E̴n̵ab͠l̛e ̕wi̶t͏h̛ ̛` `--option allow-unsafe-native-code-during-evaluation true`,͜ M̡o͝re͡ ͜inf͜ò: https://github.com/NixOS/nix/commit/0bb8db25
bbennett371 has quit [Ping timeout: 272 seconds]
<infinisil> Lol
<clever> infinisil: has that text gotten more corrupted since i last saw it? :D
<duairc> infinisil: As far as I can see, yes, but I haven't tested it with any non-trivial derivations yet
<clever> balsoft: not sure then
<balsoft> clever: ok, thanks for your help anyways!
<infinisil> clever: It spreads slowly!
<balsoft> clever: also, maybe you could help exarkun with their VirtualBox issue?
<clever> balsoft: got a pastebin with an error?
<balsoft> 22:11 <exarkun> Having trouble getting virtualbox working. VBoxManager start ... fails with "VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine" and a dialog saying "Kernel driver not accessible"
bbennett371 has joined #nixos
<clever> balsoft: is the kernel module loaded? (check lsmod), how was virtualbox enabled and installed?
<balsoft> clever: oh, also, disassemble did disassemble the function, I'll look into it
<LouisDK> balsoft: It states that the lib is found, so the issue has to with some other error. hdhomerun_config should find a network-based tv tuner on the local network but finds nothing. Browsing the tuners ip address from the same machine works so the ip is reachable.
<clever> balsoft: the disassembly should have an arrow in it, what is the opcodes around the arrow?
<balsoft> clever: it's not my issue, it's exakrun 's :)
<{^_^}> [nixpkgs] @mweinelt opened pull request #94484 → nixos/tests/postfix: migrate test to use tlsTrustedAuthorities → https://git.io/JJV0t
<clever> exarkun: ^^
<balsoft> clever: re disassembly, https://0x0.st/ix0H.txt
<balsoft> Oh
simba1 has quit [Ping timeout: 244 seconds]
<clever> balsoft: it tried to call a c++ function, log_set_level
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/fb378d52a97 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<clever> [nix-shell:~]# c++filt _ZN8immersed17av_log_set_level_E
<clever> immersed::av_log_set_level_
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94485 → cldr-emoji-annotation: 37.0_13.0_0_1 -> 37.0_13.0_0_2 → https://git.io/JJV0O
<clever> balsoft: this util from gcc can un-mangle the symbol
<clever> balsoft: try to disassemble that one next, and pastebin the whole body
bbennett371 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #94486 → environment.noXlibs: disable X11 support in cairo → https://git.io/JJV0G
<balsoft> Hmm, no symbol
<clever> balsoft: try using the addr in the previous paste
<clever> balsoft: we know its at 0x15e3510
<balsoft> clever: ^
o1lo01ol1o has joined #nixos
<balsoft> That doesn't help much does it
noudle has quit []
<clever> balsoft: that looks like garbage data, that might be where the problem is
<clever> you may need to repeat these steps on another distro, and see how the output differs
<clever> with unpatched binaries
<balsoft> For context, here's the expression: https://0x0.st/ix0K.txt
Fare has joined #nixos
ogkloo has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #93538 → nixos/tinc: allow configuration of RSA private key file → https://git.io/JJCmw
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJV00
<balsoft> LouisDK: that's better.
o1lo01ol1o has quit [Ping timeout: 240 seconds]
ixxie has quit [Remote host closed the connection]
<balsoft> metasyntactic: So probably the best option is to send the coredump to the devs and wait until they have something to say.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c62ae96beb7 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
__monty__ has quit [Quit: leaving]
<balsoft> LouisDK: can you post some logs that may be relevant? I have no idea what hdhomerun is or how it's supposed to work
arjen-jonathan has joined #nixos
LouisDK has quit [Ping timeout: 245 seconds]
asymptotically has quit [Quit: Leaving]
seku has quit [Ping timeout: 256 seconds]
<evanjs> clever: omg why XD
<evanjs> did not know that was a thing ;_;
<evanjs> zalgol he comes
<clever> evanjs: i have even used buitins.exec, its pure evil :P
<ogkloo> I'm back again trying to get nixos to work on this pi3, I got it to give me HDMI output, but the only output I seem to get is a rainbow screen. I'm using the configuration.nix from here https://discourse.nixos.org/t/cant-boot-into-new-configuration-after-nix-rebuild-raspberry-pi3-b/7812/3, but another failed as well.
<clever> ogkloo: you need the right kernel modules loaded for linux to take over the video after booting
<clever> ogkloo: ssh can still work, so try to grab a lsmod and see whats going on
<ogkloo> got it
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #94414 → linkerd: fix typo in package name → https://git.io/JJa7t
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JJV0Q
<armin> is command-not-found currently in a weird state in nixos?
<armin> i get not installed hints *sometimes*
<evanjs> clever: seems to be how exec/eval is usually described in my experience :P
<{^_^}> [nixpkgs] @mweinelt opened pull request #94487 → Async upnp client → https://git.io/JJV0A
proofofkeags has joined #nixos
LouisDK has joined #nixos
<LouisDK> balsoft: The only relevant log I can think of posting is from running the program strace. It works as expected under Arch Linux? I don't know if any sort of comparison would help?
<bqv> armin: it depends on a database that isn't guaranteed to exist, iirc, so ymmv
<balsoft> LouisDK: yeah, that would be a good start
<infinisil> armin: Yeah I investigated this with jlv recently, and it seems that the database that comes with channels doesn't contain everything it should anymore
<infinisil> Didn't get to the cause
proofofkeags has quit [Ping timeout: 256 seconds]
<ogkloo> clever it doesn't even seem to be connecting over an ethernet connection
titano has quit [Ping timeout: 240 seconds]
<clever> ogkloo: do you have a serial adapter for the pi?
<ogkloo> I don't
<clever> ogkloo: no other pi's either?
<ogkloo> unfortunately not, I bought it secondhand to play around with
<ogkloo> it doesn't seem to be dead, but now that I think about it I haven't ruled out that part of the networking on it just doesn't work at all
<ogkloo> the guy I bought it off of had an ancient NOOBS installation on it, so I figured it was that
<clever> ogkloo: try mounting the rootfs on the sd card, do you see anything new under var/log/journal/ ?
arjen-jonathan has quit [Ping timeout: 272 seconds]
<ogkloo> If I mount the SD card I just see /etc, /nix, and /boot, I assume I'm missing a step?
<LouisDK> balsoft strace output: http://ix.io/2sU9 - hope it helps. Should I do the same thing under Arch where the application works?
<balsoft> LouisDK: Arch version would probably be a good thing, yes
<clever> okif /var is missing, then it likely didnt get very far in booting, which model of pi? what image did you flash to it?
<clever> ogkloo: ^
andymandias has joined #nixos
<ogkloo> It's a pi 3B, or at least I'm pretty sure by looking at the ports. The image is from aarch64, I think 3 or 4 builds back from: https://hydra.nixos.org/job/nixos/release-20.03/nixos.sd_image.aarch64-linux
<ogkloo> er, 3B+
<clever> ogkloo: try one of the 32bit images?
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
titano has joined #nixos
titano has quit [Client Quit]
<clever> > The Raspberry Pi 3 Family is only supported as AArch64. Use as armv7 is community supported
<{^_^}> undefined variable 'The' at (string):318:1
<clever> ack!
titano has joined #nixos
<clever> ogkloo: i'm thinking try the official raspbian image, to confirm the hardware is all good, then we can try to debug the nixos builds more
<ogkloo> The NOOBS installer booted, although couldn't install as the sd card is only 8gb. Maybe I just need to buy a larger sd card and try?
<clever> ogkloo: the official raspbian image should fit on 8gig just fine
<ogkloo> Got it, I'll try that
<ogkloo> ty for the help, I'm like a bad hardware luck magnet lately
<LouisDK> balsof: Here you go: ix.io/2sUd
<exarkun> clever: re VirtualBox: `vboxdrv` is loaded, yes
<LouisDK> balsoft as you can see the tuner is found under arch.
<balsoft> Ok, so looking at it I don't see any major difference.
<balsoft> clever: Could you please help LouisDK with this? (sorry for pinging you so much today)
bbennett371 has joined #nixos
<clever> exarkun: what does `type VirtualBox` return?
<clever> LouisDK: i'm not that familiar with hdhomerun hw
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94488 → drawio: 13.5.1 -> 13.5.7 → https://git.io/JJVuc
<LouisDK> clever: I'll research this tomorrow as it's getting late for me. But thanks for reaching out.
<{^_^}> [nixpkgs] @mweinelt opened pull request #94489 → python3Packages.pyipp: init at 0.10.1 → https://git.io/JJVuW
bbennett371 has quit [Ping timeout: 272 seconds]
bbennett371 has joined #nixos
<evanjs> bah. y shellHook no `ln -s` something for me
<clever> evanjs: set -x
cole-h has joined #nixos
LouisDK has quit [Ping timeout: 245 seconds]
bbennett371 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @mweinelt opened pull request #94490 → python3Packages.openwebifpy: init at 3.1.1 → https://git.io/JJVu2
<evanjs> clever: there's sooooo much here tho x_x
<clever> evanjs: are you actually running nix-shell on the right derivation?
<evanjs> *goes into plain bash* okay that's better. nah, lorri.... oh
<clever> lorri may not run the shellHook
<evanjs> lol I forgot it doesn't do that, even with mkShell
<evanjs> Profpatsch: any way to get lorri to run shellHooks or etc?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94491 → dua: 2.8.1 -> 2.10.2 → https://git.io/JJVuK
Thra11 has quit [Quit: WeeChat 2.8]
`slikts has joined #nixos
taika has joined #nixos
<taika> Hello! Is there a way to override package, which is enabled not with pkgs, but as a part of "programs.xxx.eanble"?
<clever> taika: read the nixos module for it, and then use an overlay to change that attr of pkgs
eoli3n has quit [Ping timeout: 240 seconds]
maier has joined #nixos
<taika> clever: Thanks. But can I just pass my <nixpkgs> rep into that package's definition? I just need newest version (nixpkgs one) of it.
<clever> taika: you can do that in the overlay, foo = (import /path/to/unstable {}).foo;
aaronjanse has left #nixos ["The Lounge - https://thelounge.chat"]
aaronjanse has joined #nixos
maier has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
tobiasBora2 has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
tobiasBora2 has joined #nixos
<{^_^}> [nixpkgs] @aanderse closed pull request #89323 → nixos/nslcd: pull in network-online.target → https://git.io/JfiGM
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94492 → ettercap: 0.8.3 -> 0.8.3.1 → https://git.io/JJVzo
mbrgm_ has joined #nixos
cosimone has quit [Quit: Quit.]
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fb378d52a97 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<exarkun> clever: `VirtualBox is /nix/store/adjfi9y725952cf8vk5kcqnwih2f3zv8-virtualbox-6.0.14/bin/VirtualBox`
<clever> exarkun: are you in a nix-shell?
<exarkun> clever: yes
<clever> exarkun: with virtualbox in the inputs?
<exarkun> yes
<clever> thats your problem
<clever> the vbox client and kernel module are non-compatible versions
<clever> you must use the VirtualBox binary from the host
<exarkun> Ah
<{^_^}> [nixpkgs] @zowoq opened pull request #94493 → podman: 2.0.3 -> 2.0.4 → https://git.io/JJVgO
<{^_^}> [nixpkgs] @zowoq opened pull request #94494 → buildah: 1.15.0 -> 1.15.1 → https://git.io/JJVg3
<{^_^}> [nixpkgs] @zowoq merged pull request #94466 → doc: Fix missing callout in go.xml → https://git.io/JJVWv
<{^_^}> [nixpkgs] @zowoq pushed commit from @matthewmazzanti to master « doc: Fix missing callout in go.xml »: https://git.io/JJVgs
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
taika has quit [Quit: WeeChat 2.8]
<exarkun> is there a straightforward way to figure out what version of the kernel module I have?
<exarkun> I put virtualbox into environment.systemPackages and redeployed and it fails the same way
<exarkun> so I guess my configuration is messed up in some weird way that results in conflicting versions?
<exarkun> I guess modinfo tells me some stuff
<clever> exarkun: you must also never put virtualbox into systemPackages
<clever> the enable flag in the nixos module installs the correct version for you
<exarkun> oh, ok
* exarkun tries again
<clever> you may also need to reboot if you changed nixpkgs
<clever> since the binary updates, but the kernel changes are delayed
<exarkun> what is the nixos option? virtualisation.virtualbox.host.enable ?
<clever> yeah
<clever> exarkun: https://nixos.org/nixos/options.html#virtualisation.virtualbox.host.enable
<clever> then click "declared in"
<exarkun> okay it started up this time
<clever> exarkun: line 90 puts the right version into systemPackages, and line 89 puts the kernel modules into extraModulePackages
<exarkun> good to know
<clever> exarkun: line 13-15 will grab the kernel virtualbox from your chosen kernel, and use .override to force it to use the virtualbox from line 8
<exarkun> I had that turned on but I _also_ installed virtualbox, clobbering the working thing with a broken thing, yay :(
<clever> exarkun: and 8-11, will respect virtualisation.virtualbox.host.package if you want to change the versions
Henson has joined #nixos
<exarkun> got it, thank you very much
<Henson> hi everyone, in a NixOS configuration, say I have a NixOS option that is a list and it's defined in multiple files. NixOS will merge those lists by concatenating them. I'm trying to figure out how to prevent the concatenation, and make one entry THE entry that is used. Will mkForce do this?
Fare has quit [Ping timeout: 244 seconds]
<clever> Henson: if you use mkForce, then it will still merge, but it will only merge the values you used mkForce on
tobiasBora2 has quit [Ping timeout: 260 seconds]
<clever> Henson: so if you set it 3 times, to [1], mkForce [2], and mkForce [3], you will get [2 3] out at the end
tobiasBora2 has joined #nixos
orivej_ has quit [Ping timeout: 240 seconds]
<Henson> clever: ok, that makes sense. How about if I used mkOverride with different priorities. Will the end result be the merge of the highest priorities that are all equal?
<clever> Henson: yep
<clever> there is a default priority for when you dont set one, mkDefault/mkForce then just set things to be lower/higher then that main default
orivej has joined #nixos
kraeXen has quit [Ping timeout: 244 seconds]
<Henson> clever: ok, thank you very much
tobiasBora2 has quit [Ping timeout: 246 seconds]
smatting_ has quit [Ping timeout: 260 seconds]
tobiasBora2 has joined #nixos
proofofkeags has joined #nixos