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
codygman has quit [Ping timeout: 264 seconds]
codygman has joined #nixos
lafa has quit [Remote host closed the connection]
<ToxicFrog> does copyPathToStore work on directories?
mariatsji has joined #nixos
fendor has quit [Remote host closed the connection]
mariatsji has quit [Ping timeout: 240 seconds]
D_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #98243 → lxd: 4.5 -> 4.6 → https://git.io/JUEex
<ToxicFrog> Ok, here's a question
<ToxicFrog> In configuration.nix, I can just do whatever = ./foo/bar; and once built that will refer to an in-store copy of ./foo/bar
<ToxicFrog> How do I get a trailing slash on that?
<ToxicFrog> Because if I do `whatever = ./foo/bar/;` the build fails complaining about the trailing slash, but for nginx, rsync, and some other things the presence or absence of a trailing slash is significant.
<infinisil> ToxicFrog: Whether ./path imports the path into the store depends on how it's used
<infinisil> By the module that reads the variable
<infinisil> E.g. if it does `toString` on it, it turns into the path directly:
<infinisil> > toString ./.
<{^_^}> "/var/lib/nixbot/state/nixpkgs"
<infinisil> While if it is interpolated, it's copied to the store:
<infinisil> > "${./lib}"
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs/lib' is forbidden in restricted mode
rajivr has joined #nixos
<infinisil> Well, it would be anyways
<infinisil> ToxicFrog: So what you can do is to explicitly copy it to the store by interpolating
<infinisil> And then it's just a normal string
<ToxicFrog> Aha
<ToxicFrog> So I can do "${./foo/bar}/" to get the trailing slash
<ToxicFrog> Thank you!
<{^_^}> [nixpkgs] @mweinelt opened pull request #98244 → nixosTests.magnetico: wait for open port and make curl actually fail → https://git.io/JUEvT
<infinisil> :)
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}> [nixpkgs] @hongchangwu opened pull request #98246 → tmuxPlugins.nord: init at 0.3.0 → https://git.io/JUEvs
<lejonet> Hmm, any reason why I'm getting "failed to create initrd secrets: No such file or directory" when I have no initrd secrets defined? doing a lib.mkForce {} doesn't help either
<lejonet> (nixos-option boot.initrd.secrets also return {})
<lejonet> it is seemingly blocking me from switching to a new generation
sangoma has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @mweinelt opened pull request #98247 → batman-adv: 2019.5 -> 2020.3 → https://git.io/JUEvn
<infinisil> lejonet: Full error context?
<lejonet> infinisil: thats it sadly
<infinisil> I mean the full rebuild logs
<lejonet> https://dpaste.com/2QDWQ99QQ like I said, trying to get it to switch just fails with tat
<lejonet> that*
<infinisil> Hm I see
<lejonet> I'm on nixos-20.09 (as in the git branch nixos-20.09)
<hexa-> initrd ssh hostkeys?
<lejonet> They'd would have to be added automagically by some default value, because I don't have any type of SSH, knowingly, enabled for my initrd
<infinisil> lejonet: Try `nixos-rebuild build; bash -x result/append-initrd-secrets out`
<infinisil> What does that print/return?
<lejonet> https://dpaste.com/DBX2V9YFL ignore my fatfingered password :P
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/985047d3c9f (from 23 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @mweinelt opened pull request #98248 → pythonPackages.irc: add toml build time dependency → https://git.io/JUEvw
<infinisil> lejonet: How about `sudo strace -e trace=file -f -v result/bin/switch-to-configuration boot`
<{^_^}> [nixpkgs] @mweinelt closed pull request #98248 → pythonPackages.irc: add toml build time dependency → https://git.io/JUEvw
<lejonet> uh, that segfaulted O.o
<lejonet> yep, I have a whoooole bunch of segfaults in dmesg
<{^_^}> [nixpkgs] @jonringer opened pull request #98249 → python2Packages.hickle: disable → https://git.io/JUEv6
<lejonet> I am just going to blame my RAM, I'm so sick and tired of it lol, I want to nuke it from orbit just to be sure that its BS doesn't haunt anyone else... I am gonna order new RAM next week
nullheroes has quit [Quit: WeeChat 2.9]
<lejonet> because apparently file is just consistently segfaulting
<{^_^}> [nixpkgs] @jonringer merged pull request #98063 → python3Packages.runway-python: add missing deps → https://git.io/JUBOk
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.runway-python: add missing deps »: https://git.io/JUEvM
<lejonet> error 4, so some null pointer deref most likely
hoxtonhopper has quit [Ping timeout: 272 seconds]
Mirrexagon has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #98250 → truvari: fix build → https://git.io/JUEfI
<{^_^}> [nixpkgs] @mcwitt opened pull request #98251 → vscode-extensions.haskell.haskell: init at 1.1.0 → https://git.io/JUEfm
Emantor has quit [Quit: ZNC - http://znc.in]
<matthewcroughan> Heyo guys
<matthewcroughan> Back again!
<matthewcroughan> If I do `nix search dolphin-emu` I see that there are two options. nixpkgs.dolphinEmu nixpkgs.dolphinEmuMaster`
<matthewcroughan> both have the name in brackets (dolphin-emu)
<matthewcroughan> how do I install dolphinEmuMaster with nix-env?
<clever> matthewcroughan: nix-env -iA nixos.dolphinEmuMaster
<matthewcroughan> I only want this temporarily, as a matter of fact, so I am aware that I would usually put this in my config
<matthewcroughan> clever: I do not understand the explanation in the man page.
<clever> matthewcroughan: nix-shell -p dolphinEmuMaster
Emantor has joined #nixos
<hexa-> matthewcroughan: temporary nix run nixpkgs.dolphinEmumaster
<matthewcroughan> -A says it will "Select an attribute from the top-level Nix expression"
<matthewcroughan> How is something.something.something an "expression"?
<clever> matthewcroughan: nix-env loads the default expression in ~/.nix-defexpr/ by default
<matthewcroughan> I thought this was a "method" in a traditional programming language?
<clever> matthewcroughan: that creates a set containing each channel
<clever> matthewcroughan: so the -A nixos.dolphinEmuMaster goes into the channel called nixos, then gets .dolphinEmuMaster from it
<infinisil> lejonet: Reproducibly?
<{^_^}> [nixpkgs] @risicle merged pull request #98236 → [20.09] python3Packages.irc: fix build → https://git.io/JU0pE
<{^_^}> [nixpkgs] @risicle pushed 2 commits to release-20.09: https://git.io/JUEf4
<matthewcroughan> clever: oh.. dolphinEmuMaster seems to be disgustingly out of date :D
<matthewcroughan> It's a lie! Damnit
<matthewcroughan> "replacing old dolphin-emu-5.0-11824" "installing dolphin-emu-5.0-11824" noooooo
<matthewcroughan> it's not the master, at all
<matthewcroughan> That is months out of date in fact.
<clever> matthewcroughan: nothing in nix can ever track master fully
<matthewcroughan> so unlike the AUR which has `something-git` packages, nix cannot do this?
<matthewcroughan> Why?
<clever> matthewcroughan: because nix wants to know the hash of the source
<clever> you would need to update the nix expr on every push, or use the import builtins.fetchGit
<clever> dolphinEmu just uses a branch called "5.0" while dolphinEmuMaster uses 1b97f081b8eff9012132a4124537968bdb0e03e0
h0m1 has quit [Ping timeout: 244 seconds]
<clever> `nix edit -f '<nixpkgs>' dolphinEmu` vs `nix edit -f '<nixpkgs>' dolphinEmuMaster` to see the difference
<matthewcroughan> clever: Is there a way I can do this in a one-shot command?
<matthewcroughan> like replace its hash
<clever> matthewcroughan: you also have to update the rev as well
Fare has quit [Ping timeout: 244 seconds]
<matthewcroughan> 1. Go to GH and find hash 2. nix-env -iA nixpkgs.dolphinEmu --hash <updated_hash>
<matthewcroughan> that would be my desired workflow
<matthewcroughan> substitute or override the hash
<clever> matthewcroughan: you need both the sha1 of a commit, and the sha256 of its contents
h0m1 has joined #nixos
<matthewcroughan> how do I get the sha256 of contents?
<clever> matthewcroughan: nix-prefetch-github
<clever> ,tofu matthewcroughan
<{^_^}> matthewcroughan: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000), then replace it with the correct hash Nix expected. For inserting 52 0's in vim: <esc>52i0<esc>
<clever> or that
<matthewcroughan> I'm a bit confused
Fare has joined #nixos
<matthewcroughan> I am just going to git clone, compile, and be done with it
<matthewcroughan> then remove the directory later
<matthewcroughan> nix-env is not useful in this context, I think
<clever> matthewcroughan: you still want nix to compile it, `make install` is just wrong on nix
<matthewcroughan> ?
<matthewcroughan> I simply want to run dolphin-emu, yet nix-env has complicated matters.
<clever> nix-build -E 'with import <nixpkgs> {}; dolphinEmuMaster.overrideAttrs (old: { src = ./.; })'
<clever> matthewcroughan: clone dolphin, then run that, and it will build it from the current dir
<matthewcroughan> I have got literally no idea how to parse that line with my brain, I'm afraid
<matthewcroughan> I am not there yet, so I have to git clone and make it
<matthewcroughan> I am not yet versed enough in nix to understand the syntax of that line.
<clever> matthewcroughan: that above line will build it for you
<clever> just clone, and run it
berberman_ has joined #nixos
justanotheruser has joined #nixos
berberman has quit [Ping timeout: 244 seconds]
dermetfan has quit [Ping timeout: 260 seconds]
<matthewcroughan> so clone this hash
<clever> yeah
Pwnna has quit [Quit: Bye]
Pwnna has joined #nixos
<matthewcroughan> clever: Now, I cd into that dir and run your nix-build command?
<clever> matthewcroughan: yep
<matthewcroughan> Alright, it's ran. So, what is it that we've done here?
<clever> matthewcroughan: build dolphin
<matthewcroughan> It's overriding the attributes of dolphinEmuMaster with the `./` dir
<matthewcroughan> and what are those attrs?
<clever> yeah, it sets the src to that directory
<clever> so it wont use the fetchFromGitHub in the nix expr
<matthewcroughan> Hmmmmmmm that's really quite amazing
<clever> it will use the src in .
<matthewcroughan> I don't get the syntax of (old: { src = ./;})
<clever> `old: ...` is a function
<clever> it takes a set containing the old attrs, and returns something else
<matthewcroughan> a function in what?
<matthewcroughan> nix-build?
<clever> in this case, a set containing just src
<matthewcroughan> Do you not see how this complicates things massively for a normal user?
<clever> `(old: { src = ./.; })` is a function, that takes anything, and then returns a set containing one key/valye pair, src and ./.
<matthewcroughan> In fact, it complicates things no matter who you are. It's inferior.
<matthewcroughan> I simply want to track and build the latest dolphin in my config.nix.
<matthewcroughan> Now, I cannot do this with nix, without massive complication.
<clever> then you want builtins.fetchGit instead
<clever> 2020-09-18 22:26:20 < clever> you would need to update the nix expr on every push, or use the import builtins.fetchGit
<matthewcroughan> the dolphinEmu package in Nix is useless.
<matthewcroughan> Dolphin is a project that deprecates old versions with every release. master is table.
<matthewcroughan> stable*
<clever> nix-build -E 'with import <nixpkgs> {}; dolphinEmuMaster.overrideAttrs (old: { src = builtins.fetchGit "https://github.com/dolphin-emu/dolphin"; })'
<matthewcroughan> It's just one of those things.
<clever> this will fetch the default branch from github, and built it
<matthewcroughan> So why doesn't the official nixpkg do this?
<clever> because thats not pure, and youll get a different thing every time you do it
<simpson> matthewcroughan: I strongly doubt that; I'm not an expert on Dolphin in particular, but emulators tend to be stable WRT their past history; if it builds, it should run. So "useless" is probably wrong.
<clever> the whole point of nix, is to make things predictable
<simpson> Indeed part of the power of Nix is that it should still build, for years to decades, as long as upstream tarballs are not changed.
<matthewcroughan> simpson: nobody wants, in any case, a version older than the latest commit of Dolphin
<matthewcroughan> The project is structured such that the latest commit *is* the desirable state.
<colemickens> lol
<simpson> matthewcroughan: That is a common sentiment/boast of many projects; nonetheless it is not part of our ethos. Instead, we value *reproducibility*.
boxscape has joined #nixos
<matthewcroughan> I do appreciate that command clever
<matthewcroughan> it is very good, and it proves anything can be overriden at the cost of what you're calling purity, which I haven't read enough about yet
<matthewcroughan> If I want to play with my friends, I have to have the latest commit of dolphin simpson
<matthewcroughan> The reason for this is the determinism of Dolphin's JIT
<{^_^}> [nixpkgs] @jonringer merged pull request #98249 → [20.09] python2Packages.hickle: disable → https://git.io/JUEv6
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to release-20.09: https://git.io/JUEf1
<simpson> clever's commands do not sacrifice purity at all. You are free to do whatever you like with your local nixpkgs, including overrides.
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
<clever> matthewcroughan: if you want multi-player, i think its more important that you both run the same version
<matthewcroughan> We all have to be running the same, latest version of Dolphin.
<clever> matthewcroughan: and thats where reproducibility comes into advantage
<matthewcroughan> latest, because my friend devs, so he's always on latest, forcing me to be on latest
<simpson> matthewcroughan: Or, rather, the *indeterminism*. (I understand the latency constraints and the resulting preference to version netcode based on the JIT's output, but let's be clear about it.)
<clever> matthewcroughan: so you can both run the same version, without the risk of one of you being 5 minutes newer
bvdw has joined #nixos
<matthewcroughan> additionally, the dolphin website gives you the latest version, and encourages you to download the latest
<matthewcroughan> within 1 week, everyone would or could have latest versions, so you just get the latest and play
<matthewcroughan> could or would have different*
<{^_^}> [nixpkgs] @jonringer opened pull request #98252 → python3Packages.runway-python: add missing deps → https://git.io/JUEfD
<matthewcroughan> We can do this any number of ways, but the point is that it's easiest and best to be on latest. Which the nixpkg itself can't do.
<simpson> Just do it yourself. nixpkgs isn't magic; it's a git repository. I bump my local nixpkgs in order to pick up same-day releases of youtube-dl, for example. It's a common thing to do.
<{^_^}> [nixpkgs] @jonringer merged pull request #98065 → python3Packages.lightparam: fix source and deps → https://git.io/JUBOQ
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.lightparam: fix source and deps »: https://git.io/JUEfy
<matthewcroughan> simpson: Yeah that's another thing. Things that rely on latest api changes.
<{^_^}> [nixpkgs] @jonringer merged pull request #98252 → python3Packages.runway-python: add missing deps → https://git.io/JUEfD
<{^_^}> [nixpkgs] @jonringer pushed to release-20.09 « python3Packages.runway-python: add missing deps »: https://git.io/JUEfS
<matthewcroughan> Such as an unofficial client for a service like youtube or discord.
meh` has quit [Ping timeout: 260 seconds]
<matthewcroughan> you're saying this goes against Nix' ethos?
<simpson> matthewcroughan: I've already used all my backchannels at YT and Discord to argue that they should open up the APIs. I tried, but they wouldn't budge.
<matthewcroughan> So Nix doesn't support things that work or are architected like this? They are anti-nix?
<matthewcroughan> Nix rubs against "latest" ?
<simpson> Yes. Or, rather, "latest" rubs up against capability-security theory, and Nix treats packages as capabilities.
<matthewcroughan> clever: It seems your command didn't work?
<matthewcroughan> my dolphin version is still 5.0-11824, despite doing all the building
<clever> matthewcroughan: did it fail? what was the error?
<matthewcroughan> no it ran fine
<clever> matthewcroughan: did you use the copy of dolphin in the result dir?
<matthewcroughan> maybe it's my shell? logout login?
<clever> matthewcroughan: nix-build doesnt add it to $PATH
<clever> no amount of logging out will make it appear in $PATH with only nix-build
<matthewcroughan> ah, I thought it would because it was using a nixpkg
kenran has joined #nixos
<clever> you want result/bin/something
<{^_^}> [nixpkgs] @mweinelt opened pull request #98253 → pythonPackages.junos_eznc: fix build by packaging missing dependencies → https://git.io/JUEfd
<matthewcroughan> hmm, so how *do* I make nix-build treat this like a package that I want on the path?
<clever> matthewcroughan: you use nix-env instead
<clever> matthewcroughan: nix-build only builds, it does not install
<clever> matthewcroughan: nix-env -i -E '_: with import <nixpkgs> {}; dolphinEmuMaster.overrideAttrs (old: { src = builtins.fetchGit "https://github.com/dolphin-emu/dolphin"; })'
<matthewcroughan> God that's messy syntax :D
<matthewcroughan> I'm going to have to get used to that, like I got used to bash syntax and pipes and stuff of that nature
<matthewcroughan> but it is very different
<clever> it gets much simpler if you use a config.nix or overlays
<simpson> Why would you ever actually run that, though? It's how to do what you asked, but what you asked for is probably not what you wanted.
<matthewcroughan> simpson: Why would I ever run it?
<simpson> With emulators or tools like youtube-dl, I use nix-shell to summon the desired packages to a temporary environment, and direnv for environment management.
<matthewcroughan> simpson: Well, I want Dolphin, as a one-off.
LnL has quit [Ping timeout: 260 seconds]
<matthewcroughan> docker would be simpler in this context
<matthewcroughan> for example, I run kubectl like this
<matthewcroughan> alias kubectl='docker run --rm --name kubectl bitnami/kubectl:1.17'
Daniel[m] has joined #nixos
<clever> nix-shell -p 'dolphinEmuMaster.overrideAttrs (old: { src = builtins.fetchGit "https://github.com/dolphin-emu/dolphin"; })'
LnL has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
<clever> matthewcroughan: this would use nix-shell to shove a build of master into $PATH, without ever installing it
<clever> so once you exit the shell, its basically gone
<matthewcroughan> that's pretty much lovely
<matthewcroughan> that's essentially exactly what I want
<matthewcroughan> this would be *much nicer* if dolphinEmuMaster didn't need its src to be overriden
<matthewcroughan> don't you think we should have -master packages that are impure for this convenience?
kenran has quit [Ping timeout: 272 seconds]
<matthewcroughan> why does dolphinEmuMaster exist? It is a lie, isn't it?
<matthewcroughan> dolphinEmuMaster *should* be impure and fetch from latest, then I wouldn't have this issue :D
<infinisil> matthewcroughan: One of the main benifits of nix is reproducibility
<infinisil> And you don't have that if you always make it fetch latest
<clever> 2020-09-18 22:26:57 < clever> dolphinEmu just uses a branch called "5.0" while dolphinEmuMaster uses 1b97f081b8eff9012132a4124537968bdb0e03e0
<clever> matthewcroughan: they are using different versions
<clever> matthewcroughan: dolphinEmuMaster likely was master at one time
<matthewcroughan> oh yeah, so reproducible :D
<simpson> Although I can agree with something like `dolphinEmuGit = dolphinEmuMaster; # better name`
<matthewcroughan> it ain't producing master, it's producing old
<matthewcroughan> so it's not doing what it should, by its package name
<infinisil> matthewcroughan: Nix is going to become fully-reproducible (at least evaluation) soonish
<matthewcroughan> why wouldn't impure packageName-master packages fix this issue?
<infinisil> You can pass --pure-eval to get a taste
<matthewcroughan> what is the thing about purity that matters here?
<nbathum> nobody likes surprises maybe you could document it?
<infinisil> Things like fetching from master won't be allowed then
<matthewcroughan> Well why can't we have a solution here?
<infinisil> matthewcroughan: If you have purity/reproducibility, you can e.g. tell somebody else "this is how you can reproduce my issue"
<matthewcroughan> I don't care what the solution is, I don't care about purity, I want a distro that can do it all
<matthewcroughan> I don't want a distro for embedded devices only
<matthewcroughan> I want a distro for my laptop
<matthewcroughan> can we please have both?
<infinisil> Well so, only Nix expressions themselves should be pure
<infinisil> But you can wrap/update these expressions however impurely you want
<nbathum> depends on your definition of 'all'
<infinisil> E.g. there's a NixOS option that automatically upgrades your system by updating the nixpkgs expression regularly
<{^_^}> [nixpkgs] @Mathnerd314 opened pull request #98254 → [20.09] unnethack: 5.2.0 -> 5.3.2, fix build → https://git.io/JUEJY
<infinisil> Or there's things like `niv` or `flakes` which can update rev and sha256's via a CLI, which you can then call automatically
<infinisil> (rev/sha256's make Nix expressions pure)
<simpson> matthewcroughan: We already have both; I'm currently on a NixOS laptop. There's no real problems here; everything you're struggling against is imagined barriers.
<simpson> Well, no, I suppose that there's the real problem of `dolphinEmuMaster` being a poor name. But aside from that, I'm not sure what's wrong, exactly. The power here is that `nix-shell -p /nix/store/6px17dxc49zqp1qdm40xbjipm5aax706-dolphin-emu-5.0` isn't going to change which package is being referred to.
<matthewcroughan> simpson: yes, with the downside of there being no nixic methodology for tracking master git repos officially without a verbose command the user must learn
<matthewcroughan> `yay -S dolphin-emu-git` on Arch will dot his
<matthewcroughan> do this*
<matthewcroughan> I want -git style packages for nix, officially, I thought that's what dolphinEmuMaster was going to be
<matthewcroughan> the details don't matter, it can be as separate from nixpkgs as it wants to be, I just want to be able to track master without replacing attributes
<matthewcroughan> aka packages that have done it for me
<simpson> matthewcroughan: That's not a downside to me. The main use of dolphinEmuMaster is likely that it can be run on a local git checkout of Dolphin itself, for *developing* Dolphin and having easy access to Nix's build environment.
<simpson> As a package maintainer, I do *not* want users to be empowered to choose arbitrary versions from Last Thursday without some hassle; this sort of thing bogs down the issue trackers of Gentoo and Arch.
<energizer> i'm on nixos-unstable, and nixpkgs.julia tries to build rather than downloading from cache. how can i diagnose?
<clever> energizer: does the build pass or fail?
<{^_^}> [nixpkgs] @mweinelt opened pull request #98255 → pythonPackages.sslyze: downgrade cryptography to 2.9 → https://git.io/JUEJC
* energizer waits to find out
<clever> energizer: its possible that the build fails, so hydra cant cache it
ydlr has quit [Read error: Connection reset by peer]
ydlr has joined #nixos
<{^_^}> [nixpkgs] @mweinelt closed pull request #98255 → pythonPackages.sslyze: downgrade cryptography to 2.9 → https://git.io/JUEJC
bdju has quit [Read error: Connection reset by peer]
<matthewcroughan> simpson: I ended up with *not* master
<matthewcroughan> I ended up with 11824 lol
bdju has joined #nixos
<matthewcroughan> sigh
<clever> matthewcroughan: what command did you run?
<matthewcroughan> exactly what you gave me
<clever> matthewcroughan: that command doesnt change the version in the name
<clever> matthewcroughan: so its really master, but it claims to be 11825
<clever> 4*
<clever> nix-shell -p 'dolphinEmuMaster.overrideAttrs (old: { src = builtins.fetchGit "https://github.com/dolphin-emu/dolphin"; name = "dolphin-really-master"; })'
<clever> that will update the name as well
<matthewcroughan> No, I mean I launch dolphin, and its version is wrong
<clever> but due to how the cmakeFlags are set, its not easy to update the version that gets embedded into the binary
<clever> 52 "-DDOLPHIN_WC_DESCRIBE=${version}"
<clever> what i just said
<clever> the old version# is passed into cmake, and it isnt easily updated
<matthewcroughan> Oh wow!
<clever> nix-shell -p 'dolphinEmuMaster.overrideAttrs (old: { src = builtins.fetchGit "https://github.com/dolphin-emu/dolphin"; version = "dolphin-really-master"; cmakeFlags = [ "-DUSE_SHARED_ENET=ON" "-DENABLE_LTO=ON" "-DDOLPHIN_WC_REVISION=really-master" "-DDOLPHIN_WC_DESCRIBE=really-master" "-DDOLPHIN_WC_BRANCH=master" ]; })'
<matthewcroughan> So I have to just git clone, and make it myself instead of using this convoluted package?
<clever> you have to reproduce the cmakeFlags if you want to override it
patagonicus13 has joined #nixos
<{^_^}> [nix-mode] @rossabaker closed pull request #108 → Check for liveness of process on nix-repl completions → https://git.io/JUCb9
knerten2 has joined #nixos
<clever> 2020-09-18 22:49:36 < clever> it gets much simpler if you use a config.nix or overlays
<matthewcroughan> clever: Is that cmd going to be multithreaded?
<matthewcroughan> No cache either btw?
<clever> 33 enableParallelBuilding = true;
<clever> the expression already said to use multiple cores for building
<nbathum> anyone have experience or thoughts deploying private packages?
<clever> and it wont be cached, because your making changed hydra hasnt pre-built
<matthewcroughan> clever: I mean cached from my last build I did with nix-env
<clever> matthewcroughan: if you changed the cmakeFlags, then it has to rebuild the whole thing
jumper149 has quit [Quit: WeeChat 2.9]
patagonicus13 is now known as patagonicus1
patagonicus1 has quit [Ping timeout: 272 seconds]
knerten1 has quit [Ping timeout: 260 seconds]
<matthewcroughan> clever: I really do appreciate you, a lot :d
<matthewcroughan> :D
<matthewcroughan> clever: What will that nix-shell command do exactly?
<matthewcroughan> It will build and **run** the latest dolphin?
<matthewcroughan> Or it will provide it to me in the current shell only on my path?
<clever> it will build dolphin from master, and put it into the $PATH of a shell
ScottPuopolo has joined #nixos
ydlr has quit [Remote host closed the connection]
ydlr has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<matthewcroughan> clever: Looks like dolphin can't get at any of my hardware devices
<matthewcroughan> unsure why
<matthewcroughan> running as root fixes, but then no audio for obvious reasons
<clever> which device is it failing to access?
<matthewcroughan> anything but the nipple on my thinkpad
<matthewcroughan> [ 5173.423445] hid-generic 0003:057E:0337.0003: hiddev96,hidraw0: USB HID v1.10 Device [Nintendo WUP-028] on usb-0000:00:14.0-2/input0
<matthewcroughan> permission denied
<clever> you must be in the input group to open things in /dev/input/
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<energizer> error: Package ‘qtwebkit-5.212.0-alpha4’ in /nix/store/6h4j4nh2z6ibl6cx5flnyqj00r0cb1ip-nixos-21.03pre243690.441a7da8080/nixos/pkgs/development/libraries/qt-5/qtModule.nix:54 is marked as broken, refusing to evaluate.
aw has joined #nixos
<energizer> from nixos-rebuild. how do i find out why that package is trying to be built?
<clever> energizer: --show-trace
spacefrogg has joined #nixos
<matthewcroughan> clever: there is no input group
<matthewcroughan> clever never mind it does exist
<matthewcroughan> but sudo usermod -a -G input username DOESN@T WORK
<energizer> +1 clever
<clever> matthewcroughan: you must change groups with configuration.nix
ydlr has quit [Ping timeout: 272 seconds]
<clever> matthewcroughan: users.extraUsers.clever.extraGroups = [ "input" ];
<matthewcroughan> there are no groups in my configuration.nix clever
<clever> then add it
ericsagnes has quit [Ping timeout: 272 seconds]
<matthewcroughan> clever: I didn't add --upgrade to nixos-rebuild switch
<matthewcroughan> yet it is doing an absolute crap ton of things that I do not want it to do
<matthewcroughan> so to change my user groups, it has upgraded my entire system
<clever> such as?
<matthewcroughan> Every single thing in the system
<matthewcroughan> pixman, ninja, wlroots
<matthewcroughan> alsa
<matthewcroughan> libc
<clever> is it actually building them, or just listing paths?
<matthewcroughan> building
<clever> what does it say?
<ToxicFrog> Did you manually nix-channel --update, or did you have autoupdates enabled?
<matthewcroughan> all I did was nixos-rebuild switch
<matthewcroughan> it is spamming my terminal
<matthewcroughan> ToxicFrog: I don't know what an auto update is
<clever> copy/paste one line
<matthewcroughan> cannot, do not have irc on this sytem
<matthewcroughan> Option buildtype is: plain [default]
<matthewcroughan> idk what you want to know, it's building everything
<matthewcroughan> all I want to do is add my user to a group
<matthewcroughan> it's rebuilding colemickens nixpkgs
<matthewcroughan> so all the wayland crap
ScottPuopolo has quit [Quit: Vision[0.10.3]: i've been blurred!]
<matthewcroughan> why
<clever> matthewcroughan: did you change something involving that?
<matthewcroughan> My friends are just gonna have to play without me
<simpson> I bet something else was changed. Maybe channels got updated.
<matthewcroughan> Maybe it was
<matthewcroughan> simpson: the channels did get updated
<matthewcroughan> but I didn't say update
<ToxicFrog> matthewcroughan: `nixos-rebuild` rebuilds every part of the system configuration that has changed. If you've been updating the channels, or if you have them configured to automatically update, that means it's going to rebuild all your updated packages.
<matthewcroughan> I told you, I didn't say --upgrade
<simpson> Okay, we found the root of the problem! Next time make sure your workstation's set up before committing to multiplayer gaming.
<matthewcroughan> The channels updated by themselves, and started building
<clever> matthewcroughan: one sec
<ToxicFrog> --upgrade just says "automatically run nix-channel --update first"
<clever> [root@system76:~]# nix-env --list-generations --profile /nix/var/nix/profiles/per-user/root/channels
<matthewcroughan> Why would all of this happen automatically?
<ToxicFrog> If the channels have been updated by some other mechanism like automatic updates, that odesn't matter
<clever> matthewcroughan: what does this say?
<matthewcroughan> https://termbin.com/ccmcd
<matthewcroughan> simpson: it's not simple to commit to changing your user groups on nixos lol
<matthewcroughan> that's the issue here
<clever> matthewcroughan: that says that you last updated your channels 12 days ago
<matthewcroughan> I can't change one thing without it auto updating my wayland channels, and rebuilding my entire system
nckx has quit [Quit: Updating my Guix System — https://guix.gnu.org]
<matthewcroughan> clever: It completed
<clever> matthewcroughan: what does `echo $NIX_PATH` say?
<matthewcroughan> it completed, I don't care
<matthewcroughan> but my user is NOT in the input group
nckx has joined #nixos
sputny has quit [Quit: sputny]
sputny1 is now known as sputny
<clever> matthewcroughan: you have to logout and login for any group changes to take effect, same as every other linux distro
sputny1 has joined #nixos
<matthewcroughan> which means I need to rebuild dolphin clever ?
<matthewcroughan> I need to rebuild dolphin right? because that was done in a nix-shell
<clever> matthewcroughan: if master has changed, yes
<matthewcroughan> master hasn't changed
<clever> matthewcroughan: if master hasnt changed, it will reuse the old build
<simpson> matthewcroughan: You'll have to build up a sense of when you've changed configuration.nix or when you've updated channels. I'm confident, though, that you requested the change which resulted in the mass rebuild.
<matthewcroughan> gr8
<matthewcroughan> clever: I still have insufficient perms
<matthewcroughan> again, this works fine in sudo, but not as a user
<matthewcroughan> I am a member of the input group, yet dolphin cannot access my hardware outside of sudo
<clever> matthewcroughan: what device is it trying to open? strace -f -e open,openat dolphin-emu
<matthewcroughan> I gave you the dmesg of the device
<clever> but dmesg doesnt say what dolphin tried to actually open
<matthewcroughan> [ 6214.866550] hid-generic 0003:057E:0337.0004: hiddev96,hidraw0: USB HID v1.10 Device [Nintendo WUP-028] on usb-0000:00:14.0-2/input0
<matthewcroughan> [ 6214.868926] usb 1-2: usbfs: process 7172 (GC Adapter Scan) did not claim interface 0 before use
<clever> but dmesg doesnt say what dolphin tried to actually open
aleph- has quit [Quit: WeeChat info:version]
<clever> strace -f -e open,openat dolphin-emu
<energizer> i just rebuilt on nixos-unstable, and it disconnected my wifi. nmcli d wifi c mywifi ... says Connection mywifi is not availalbe on device wlan0 because device is strictly unmanaged
waleee-cl has quit [Quit: Connection closed for inactivity]
<matthewcroughan> clever: /dev/bus/usb/001/008
ericsagnes has joined #nixos
<clever> matthewcroughan: ls -l /dev/bus/usb/001/008
<clever> what group owns that?
<matthewcroughan> root
<matthewcroughan> how do udev rules work on nix?
<matthewcroughan> You're supposed to do this on a normal distro
<clever> services.udev.extraRules = ''ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", RUN+="${clearYubikeyUser}"'';
kleisli_ has joined #nixos
<matthewcroughan> services.udev.extraRules = SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="XXXX", MODE="0666";
<matthewcroughan> correct?
<clever> the quotes are missing
<clever> it must be ''double single quoted''
<clever> you also need to fill in the correct vendor and product id
<matthewcroughan> weird
<matthewcroughan> yeah I filled that in
kleisli__ has quit [Ping timeout: 260 seconds]
<matthewcroughan> still getting access denied
<matthewcroughan> rebuilt switched
stoile has quit [Ping timeout: 240 seconds]
<clever> you have to unplug and replug the usb device, for the udev rule to apply
<clever> same as any other linux distro
sigmundv_ has joined #nixos
aleph- has joined #nixos
sigmundv__ has quit [Ping timeout: 258 seconds]
boxscape19 has joined #nixos
stoile has joined #nixos
boxscape has quit [Ping timeout: 260 seconds]
boxscape has joined #nixos
seku has quit [Ping timeout: 260 seconds]
<energizer> rebooted, working now
boxscape19 has quit [Ping timeout: 256 seconds]
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos
<matthewcroughan> clever: Whatever you gave me earlier made our versions differ
<matthewcroughan> so we got all the way up to the point of trying to play and now they're pissed that they restarted for me
<matthewcroughan> really-master screwed it
<clever> as i said
<clever> if you use master directly, you run the risk of somebody being 5 minutes newer then the others
<matthewcroughan> ?
<clever> because you ran the command at different times, and somebody pushed between the 2 of you starting
<matthewcroughan> No, master hasn't been edited forever
ericsagnes has quit [Ping timeout: 260 seconds]
<matthewcroughan> I told you, dolphin is structured so that master is stable
<matthewcroughan> master hasn't been edited for a day
<matthewcroughan> they're all on that hash
<clever> ah, maybe its that...
<matthewcroughan> what?
<clever> "-DDOLPHIN_WC_REVISION=really-master"
<matthewcroughan> yes?
<matthewcroughan> so what is that supposed to be?
<clever> that revision, must match the actual git revision you fetched
<matthewcroughan> the latest commit hash
<matthewcroughan> ?
<matthewcroughan> I haven't fetched any git revisions
<clever> and dolphin then shares that with the multi-player members
<matthewcroughan> I'm conufsed
Supersonic112 has joined #nixos
<clever> nix fetched, when you used builtins.fetchGit
<clever> one second
<matthewcroughan> what is the git revision in that command you gave me
<matthewcroughan> Man, this could have been over HOURS ago if I just made it without any nix commands :D
Supersonic has quit [Ping timeout: 244 seconds]
Supersonic112 is now known as Supersonic
<matthewcroughan> Please tell me, what is "version =" doing?
<matthewcroughan> you've set it to dolphin-really-master. What should it be?
<clever> nix-shell -p 'dolphinEmuMaster.overrideAttrs (old: rec { src = builtins.fetchGit "https://github.com/dolphin-emu/dolphin"; version = "dolphin-really-master"; cmakeFlags = [ "-DUSE_SHARED_ENET=ON" "-DENABLE_LTO=ON" "-DDOLPHIN_WC_REVISION=${src.rev}" "-DDOLPHIN_WC_DESCRIBE=really-master" "-DDOLPHIN_WC_BRANCH=master" ]; })'
<clever> the version= isnt the problem
<clever> its the DDOLPHIN_WC_REVISION=
<clever> internally, dolphin bakes DOLPHIN_WC_REVISION into its binary, and then shares that with the other multi-player members
<clever> and if that string doesnt match, it assumes your not compatible
ydlr has joined #nixos
<clever> so you must set that to the revision your actually building from
<kini> It sounds like it's probably a good idea to make a derivation that's parametrized by a git commit hash, and plug that into the expression wherever appropriate
<clever> kini: yeah, that would make the override much simpler then what i gave above
<matthewcroughan> damnit, I have to rebuild the whole thing again now? clever
<matthewcroughan> no caching?
<clever> matthewcroughan: correct
<matthewcroughan> I value reproducibility too, but this is all very very very stupid
<clever> matthewcroughan: nix only has derivation level caching
<matthewcroughan> have you ever used yocto?
<matthewcroughan> Yocto's SSTATE cache blows this silly process that you've just given me out of the water :D
<matthewcroughan> Not that I would want to use yocto for other reasons, but the lack of caching here is really annoying me
<clever> matthewcroughan: nix's purity is based on hashing every input to a build, and redoing the build if any input has changed
<clever> matthewcroughan: having something like ccache involved would poison it all
<clever> matthewcroughan: if the inputs to a derivation havent changed, nix can reuse the entire output, as a cached build
<clever> but your changing the cmakeFlags input
<matthewcroughan> What is the benefit of this purity?
<simpson> (Languages with proper modules *could* integrate on an incremental per-module basis with Nix; I've done it out-of-tree for Monte. But the effort-to-payoff ratio doesn't seem attractive to folks.)
<matthewcroughan> How is yocto *not* deterministic?
<matthewcroughan> I do not understand how yocto is "poisoning" its cache
<clever> matthewcroughan: it solves the nasty problem of things like `docker build` can just grab whatever it wants over the network, and you get a different version every time you build
<matthewcroughan> Yocto and Nix are comparable, they essentially do mostly the same thing, yet one has caching that works like this, without the downsides you're proposing
<clever> matthewcroughan: nix disables the network, and hashes every single input, so if any input changes, nix redoes the build
<simpson> "Build Systems ala Carte" https://www.microsoft.com/en-us/research/uploads/prod/2018/03/build-systems.pdf makes the comparison you're trying to make, but explicitly and formally.
<simpson> Personally I'm kind of surprised that anybody could like Yocto, but everybody's entitled to their own opinion.
<matthewcroughan> simpson: I don't, I'm just prodding to see what the differences are :D
<matthewcroughan> thank you for that link simpson
<energizer> to have module-level caching in nix would be really nice, i waste a lot of time waiting for the first 90% of a thing to build repeatedly
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e81788363d8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<energizer> more incremental like integrating https://blog.rust-lang.org/2016/09/08/incremental.html with nix
ericsagnes has joined #nixos
mmohammadi9812 has joined #nixos
mmohammadi98126 has joined #nixos
mmohammadi9812 has quit [Ping timeout: 246 seconds]
mmohammadi98126 is now known as mmohammadi9812
<drakonis> hmm
<drakonis> isnt dolphin stable enough that it should be safe for everyone to use the same version?
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #93082 → singularity-tools: Check for /bin/sh existence before symlink → https://git.io/JJ33r
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUET3
nckx has quit [Quit: Updating my Guix System — https://guix.gnu.org]
nckx has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #98254 → [20.09] unnethack: 5.2.0 -> 5.3.2, fix build → https://git.io/JUEJY
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to release-20.09: https://git.io/JUETG
<kini> matthewcroughan said the friend he plays with is a dolphin dev and insists on using master, so I guess it's a kind of special case
<clever> drakonis: the developers encourage you to constantly update to latest, and the emulator itself enforces that everybody in multiplayer has a matching gitrev
<drakonis> i see
boxscape has quit [Quit: Connection closed]
<kini> Maybe the right approach for something like this is to have an overlay repo somewhere which has an always up to date version of `dolphin-emu/master.nix`? Someone would have to set up a cron job somewhere to update it, though.
kenran has joined #nixos
Miyu-saki has joined #nixos
Miyu-saki is now known as Guest82457
<kini> clever: why is `-DDOLPHIN_WC_DESCRIBE=really-master` necessary in your expression? Could you get away with not overriding `cmakeFlags` at all? That might make the expression a little easier to understand.
Guest82457 has quit [Changing host]
Guest82457 has joined #nixos
Guest82457 is now known as Miyu-saki
<matthewcroughan> clever: When I restart my laptop, nix-shell and nix-env stuff is going to be available still
<clever> kini: because the original expression is using cmakeFlags to set the version based on the original git rev
<matthewcroughan> how do I make it so my entire laptop is *ONLY* what is in configuration.conf
<clever> kini: and the override can only update that if it changes all of the cmakeFlags
<clever> matthewcroughan: nix-shell based stuff wont persist across a reboot
<matthewcroughan> alright, well nix-env definitely does
<clever> matthewcroughan: then use nix-env -e to uninstall things, and `nix-env -q` to list them
<matthewcroughan> I think it was in here somewhere that I heard about it
<clever> matthewcroughan: thats more extreme, it wipes everything
<matthewcroughan> yeah that's what I want
<clever> matthewcroughan: not even files in / will persist
<matthewcroughan> wipe everything except what I've made persist
<matthewcroughan> I want ONLY things I've managed to be true
<clever> matthewcroughan: youll also want an overlay then, to be able to get dolphin master from configuration.nix
kenran has quit [Ping timeout: 264 seconds]
<Miyu-saki> Hm, is the only way to get the NixOps private key still using raw sqlite?
<Miyu-saki> I want to nuke a NixOps machine, but I'm keeping a snapshot just in case I forgot to transfer something
<Miyu-saki> And want to make sure I get to connect to it
<clever> Miyu-saki: if you have your own keys in /root/.ssh/authorized_keys then you can get in anyways
<clever> matthewcroughan: https://gist.github.com/cleverca22/5c0d36889c72e1da61cfac42c3c64 and then do `imports = [ ./dolphin-module.nix ];` in configuration.nix
<Miyu-saki> Hmmm, true.
<Miyu-saki> I didn't actually think about using ssh-copy-id lmao
<clever> matthewcroughan: that will install dolphin from master, but every time you nixos-rebuild, it will check if master has changed, and may cause a surprise rebuild if master has changed
<Miyu-saki> Yeah, I think that's a much more robust solution than extracting the NixOps key. Thanks.
<clever> Miyu-saki: depending on which backend your using, the nixops key itself may also be in /root/.ssh/authorized_keys
<matthewcroughan> clever: page not found
<Miyu-saki> I'm using DO, because it's straight up the most accessible one
<clever> matthewcroughan: cut a few digits off by accident
<clever> Miyu-saki: dont remember off-hand what the DO backend does with its own keys
<Miyu-saki> Hmmm
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
inkbottle has joined #nixos
<Miyu-saki> Yeah, I think it keeps it in the NixOps sqlite
<Miyu-saki> [myrl@myrl-thinkpad:~/Development]$ ssh root@206.189.33.221
<Miyu-saki> Password:
<matthewcroughan> We're all on thinkpads here huh? :D
<Miyu-saki> I'm stupid, I pasted that on a scratch buffer so that I can delete the IP, then did everything except delete the IP.
zebrag has quit [Ping timeout: 264 seconds]
<Miyu-saki> Welps, /shrug
<clever> Miyu-saki: ssh -v, to see what pubkeys it tried
<Miyu-saki> Oh cool, didn't know you can do that.
<Miyu-saki> Interesting, if I use `nixops ssh -d deployment machine -v` it doesn't mention "Trying private key"
<Miyu-saki> Oh
rprije has joined #nixos
<Miyu-saki> > debug1: Will attempt key: /tmp/nixops-tmpEuDKQc/id_nixops-midori
<{^_^}> error: syntax error, unexpected ':', expecting ')', at (string):323:25
<clever> Miyu-saki: you can maybe also steal the privkey from that path, while the ssh session is open
mir100 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #98257 → nixos/activation: fix type for activationScripts and userActivationScripts → https://git.io/JUETr
<colemickens> I have a few repos now that basically just ver bump + lock for use with flakes. I should maybe genericize it (for a certain emulator, for examle)
<colemickens> yes, I said genericize instead of generalize. it's been a day.
<Miyu-saki> clever: Ohhh, nice idea. Thanks.
stiell has quit [Ping timeout: 265 seconds]
heavengin7 has joined #nixos
<clever> Miyu-saki: oh, and nixops export dumps the full state including privkey as json
<clever> Miyu-saki: then jq to select it out
colmeka has joined #nixos
heavengin7 has quit [Quit: Hi. If you wanna buy selected item on Amazonian pls click here > http://amazonian2.000webhostapp.com/]
ddellacosta has quit [Ping timeout: 240 seconds]
sigmundv_ has quit [Ping timeout: 260 seconds]
stiell has joined #nixos
mariatsji has joined #nixos
mariatsji has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #98213 → lazygit: 0.22.1 -> 0.22.8 → https://git.io/JU0wj
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUEkT
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #98194 → idea: 2020.2.1 -> 2020.2.2 → https://git.io/JU0Y3
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUEkI
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #98183 → discocss: init at 0.1.0 → https://git.io/JU0TK
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUEkm
<{^_^}> [nixpkgs] @marsam merged pull request #98150 → mmc-utils: 2018-12-14 -> 2019-10-04 → https://git.io/JUR4w
<{^_^}> [nixpkgs] @marsam pushed commit from @wamserma to master « mmc-utils: 2018-12-14 -> 2019-10-04 (#98150) »: https://git.io/JUEkW
<{^_^}> [nixpkgs] @marsam merged pull request #98206 → linux_zen: 5.8.7 -> 5.8.10 → https://git.io/JU0zT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUEk4
<{^_^}> [nixpkgs] @marsam merged pull request #98198 → mongodb-compass: 1.17.0 -> 1.22.1 → https://git.io/JU0CS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUEkR
<{^_^}> [nixpkgs] @ryantm opened pull request #98258 → modules/heyefi: remove module and package → https://git.io/JUEkr
justanotheruser has quit [Ping timeout: 272 seconds]
Rusty1 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @ryantm pushed to revert-87553-enhancing-monit-module « Revert "nixos/monit: Allow splitting the config in multiple files" »: https://git.io/JUEkM
<{^_^}> [nixpkgs] @ryantm opened pull request #98259 → Revert "nixos/monit: Allow splitting the config in multiple files" → https://git.io/JUEkD
Sanchayan has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #98259 → Revert "nixos/monit: Allow splitting the config in multiple files" → https://git.io/JUEkD
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JUEkS
sputny has quit [Remote host closed the connection]
sputny1 is now known as sputny
<{^_^}> [nixpkgs] @ryantm opened pull request #98260 → Revert "nixos/monit: Allow splitting the config in multiple files" → https://git.io/JUEkd
stiell has quit [Ping timeout: 272 seconds]
tsrt^ has quit []
<{^_^}> [nixpkgs] @ryantm opened pull request #98261 → nixos/monit: add ryantm as maintainer → https://git.io/JUEkx
mariatsji has joined #nixos
ntwoaaci^ has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
hart111 has joined #nixos
<hart111> Hey folks, I have a question. So in nixpkgs/top-level/lua-packages.nix, we have buildLuarocksPackage
<hart111> However I cannot for the life of me figure out how to use that in my configuration.nix
<hart111> I tried pkgs.buildLuarocksPackage, pkgs.lib.buildLuarocksPackage, etc
<clever> hart111: search nixpkgs to find out where lua-packages.nix gets referenced, what do you find?
<hart111> Only one instance, initialPackages = (pkgs.callPackage ../../top-level/lua-packages.nix {
<hart111> And apologies, I've kind of brute forced my way through a lot of my config without really understanding
<hart111> I'm trying to remedy that now by looking in the repo :)
<clever> and which file is that reference in?
<hart111> lua-modules/default.nix
<clever> and now where is lua-modules referenced?
<clever> pkgs/development/interpreters/lua-5/interpreter.nix:luaPackages = callPackage ../../lua-modules {lua=self; overrides=packageOverrides;};
<clever> > lua52Packages.buildLuarocksPackage
<{^_^}> <LAMBDA>
<clever> and just a bit of tab-completing in `nix repl '<nixpkgs>'` and i find this
<hart111> Ahhhh that makes sense
<hart111> I didn't realize that you could get nixpkgs in repl
<hart111> That's actually really nice to know!
<hart111> Thank you :)
<clever> yep
<hart111> TIL that repl is not just for nix pills and actually has a purpose :)
<clever> i use it to both experiment with new exprs, and to verify a nix file is doing the right thing
<clever> and also to just search packages
<hart111> Yeah all of the above are things I could definitely use it for
<hart111> I think I'm going to write up a little bit in the doc about this after I get it working, it is mentioned but the actual process to do it is not written down
domogled has joined #nixos
mmohammadi98126 has joined #nixos
sputny1 has joined #nixos
sputny1 has quit [Remote host closed the connection]
sputny has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ju1m opened pull request #98262 → Fix gitolite updating of gitweb access list and description → https://git.io/JUEIc
palo1 has joined #nixos
<{^_^}> [nixos-homepage] @samueldr pushed 4 commits to feature/2020-redesign: https://git.io/JUEIC
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
bahamas has joined #nixos
kenran has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #97826 → nixos/spice-usb-redirection: init → https://git.io/JUlWv
<{^_^}> [nixpkgs] @lheckemann pushed 3 commits to master: https://git.io/JUEIa
stiell has joined #nixos
kenran has quit [Ping timeout: 260 seconds]
Fare has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @asdf8dfafjk opened pull request #98263 → nixos/onedrive: Remove verbose flag → https://git.io/JUEI1
sangoma has joined #nixos
<cole-h> LnL: OK, I think I know where the `to_string` is needed, but I think I need to impl `to_string` on the enum itself, so I can change the `defaultValue` to be `defaultValue.to_string()`
pf has quit [Ping timeout: 256 seconds]
pf has joined #nixos
noudle has quit []
<LnL> cole-h: yeah it's the the toJSON path, it's probably nicer to define that for enum settings and have to/from string use it
<LnL> SandboxMode has the same issue btw
<hyper_ch> clever: you use nfs to make shares available in a vm? If so, do you use the /etc/exports file or do you zfs nfs export?
<clever> hyper_ch: nfs.server = { enable = true; exports = ''.....''; }; is what ive been using
<clever> hyper_ch: but the clients are just more nixos machines on the LAN, not VM's
<hyper_ch> clever: so not use zfs exports
<clever> hyper_ch: correct, i'm not sure if `zfs nfs export` even works on linux, it might be a solaris-only thing
<hyper_ch> well, I have a debian mail server in a vm... becuase of the control panel software... and I thought I could just put the mails into an own dataset and then mount it from the host
<cole-h> LnL: Argh. Looks like I need to do more investigations lol
<clever> hyper_ch: you can also use a zvol to give the VM its own dedicated disk as a dataset
<hyper_ch> to my knowledge it should work... enable nfs server and then just set the zfs export dataset .... I'll try
<hyper_ch> clever: it has own dataset and I used zvol.....
<hyper_ch> however I just want to have a large number of snapshots for the mail
<clever> hyper_ch: ahh, a zfs filesystem is better for that
<hyper_ch> bascially I want to have at least 1 year worth of snapshots every hour
<hyper_ch> and after 9 months, it grew to over 1 TB usage
<hyper_ch> despite mail was round 25gb.... not sure why it uses so much
<hyper_ch> so I just thought to have the vmail folder mounted by nfs in the vm
<clever> hyper_ch: unused blocks in the zvol probably
<hyper_ch> and have it as seperate ds on the host
<hyper_ch> then I can set the hourly snapshots there
<clever> hyper_ch: one thing ive found, is that if i mount an ext4 zvol on the zfs host, and run fstrim, the zvol shrinks massively
<hyper_ch> for the vm I dn'0t need that many snapshots
<clever> hyper_ch: so if you can configure the VM to pass the trim commands thru, it would help
ManiacOfMadness` has quit [Ping timeout: 272 seconds]
<hyper_ch> I mean on the debian set, things don't change so much... so no need to keep a large number of snapshots
<hyper_ch> s/set/side/
<cole-h> LnL++ Let's give it a shot, thanks (I swear, I was just about to search that :D)
<{^_^}> LnL's karma got increased to 79
ManiacOfMadness` has joined #nixos
<cole-h> The one downside of all these changes: they're in globals.cc so almost everything needs to be rebuilt for every change :x
<clever> hyper_ch: is that a snapshot of a zvol?
<hyper_ch> clever: yes.... it's a bit more mail than I thought though
la-jesystani has joined #nixos
<clever> hyper_ch: can you pastebin this? zfs list -t volume -o name,used,referenced,logicalused,logicalreferenced,written,usedbysnapshots,usedbydataset,refcompressratio,compressratio,compression,mountpoint,sync
<la-jesystani> what do i need to read in order to package something from github? i want to use a fork of picom thats not in pkgs
<clever> la-jesystani: that should be in the nixpkgs manual
<cole-h> LnL: I could kiss you.
<cole-h> LnL++ x1000000
<{^_^}> LnL was put on Santa's "nice" list
<clever> hyper_ch: yeah, you definitely want some trim, your only using 67gig, but zfs is keeping the unused blocks, so its using a total of 374gig for the current version
<hyper_ch> as I said, on the debian side, things don't change often... so I don't need a large number of snapshots there.... hence seperating mails from the rest of the OS
mmohammadi981261 has joined #nixos
mmohammadi98126 has quit [Ping timeout: 272 seconds]
mmohammadi981261 is now known as mmohammadi98126
<clever> hyper_ch: and its keeping that extra 307gig in every snapshot
<LnL> cole-h: guess that means you got it working? :)
<cole-h> LnL: Literally just that macro and it works good.
<clever> hyper_ch: what is within tankHB/encZFS/VMs/Mail? mbr? ext(2|3|4) ?
<hyper_ch> ext4
<cole-h> Now to revert the stringify stuff (and also make a todo to PR the same macro for SandboxMode)
<clever> hyper_ch: so if you run `blkid /dev/tankHB/encZFS/VMs/Mail` it reports ext4 directly?
<hyper_ch> yeah
<clever> hyper_ch: umount it within the vm (or shutdown), then mount it anywhere on the host, and run fstrim against it
<hyper_ch> will do so... thanks
<clever> hyper_ch: that will reduce your usage by 307gig immediately, and make any more snapshots you create a bit more optimal
<hyper_ch> but I will still put the data on the host and mount it in the vm
<clever> hyper_ch: but you would still need to repeat that dance regularly, or setup trim forwarding in the vm, or use nfs
<hyper_ch> even if I remove old snapshots?
kleisli_ has quit [Quit: Leaving]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<clever> hyper_ch: basically, when you delete a file in the guest, zfs doesnt know those blocks are unused
<hyper_ch> ok
<clever> hyper_ch: so the snapshots are holding onto every single deleted file as well
orivej has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<clever> hyper_ch: nfs would let zfs know exactly what is happening, so the problem just vanishes
<clever> hyper_ch: the manual trim tells zfs to forget about the unused blocks, and trim forwarding in the vm would automate it
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<la-jesystani> i have a derivation im just not sure how to get a shell that has it installed, or build it. i havent found that in the manual yet, is there a quick and easy one liner to do that?
<hyper_ch> clever: thx
<clever> la-jesystani: nix-build can build it
bourbon has quit [Quit: authenticating]
bourbon has joined #nixos
<la-jesystani> i tried that its telling me it cant auto-call a function that has an argument without a default value (stdenv)
<clever> la-jesystani: nix-build -E 'with import <nixpkgs> {}; callPackage ./. {}
<clever> '
<la-jesystani> ok thank you
tmaekawa has joined #nixos
sangoma has quit [Ping timeout: 240 seconds]
tmaekawa has quit [Client Quit]
<cole-h> LnL: Some day I'll be a functional polyglot like you -- pro in Rust and C++ (and probably more) :D
sangoma has joined #nixos
<hyper_ch> clever: I can just run fstrim on the zvol?
<LnL> cole-h: I don't really know c++, just know the nix codebase a bit
<cole-h> Fair enough.
<clever> hyper_ch: the zvol has to be mounted only on the host for you to fstrim it
<cole-h> LnL: I think the only outstanding issue is the race between registering all the loggers causing bar and bar-with-logs to not be registered (at least at the point the manpage is generated...)
<clever> hyper_ch: if you can configure the VM to forward trim from guest->host, then you can run fstrim inside the guest, or just mount it with auto-trim
<hyper_ch> thanks
kleisli has joined #nixos
kleisli is now known as dillon
dillon is now known as endorphin
konobi has quit [Remote host closed the connection]
konobi has joined #nixos
<{^_^}> [nixpkgs] @ehmry merged pull request #98161 → navi: 2.10.0 -> 2.12.0 → https://git.io/JURDh
<{^_^}> [nixpkgs] @ehmry pushed commit from @cust0dian to master « navi: 2.10.0 -> 2.12.0 »: https://git.io/JUEtL
<la-jesystani> sorry for the simple questions, but how do i add a derivation to my home-manager config without adding it to nixpkgs?
<{^_^}> [nixpkgs] @ehmry merged pull request #98177 → sameboy: init at 0.13.6 → https://git.io/JURhP
<{^_^}> [nixpkgs] @ehmry pushed 2 commits to master: https://git.io/JUEtO
<clever> la-jesystani: use an overlay, also in the nixpkgs manual
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<{^_^}> [nixpkgs] @ehmry merged pull request #98066 → slurm: 20.02.4.1 -> 20.02.5.1 → https://git.io/JUBOF
<{^_^}> [nixpkgs] @ehmry pushed commit from @markuskowa to master « slurm: 20.02.4.1 -> 20.02.5.1 »: https://git.io/JUEtZ
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #98246 → tmuxPlugins.nord: init at 0.3.0 → https://git.io/JUEvs
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUEtn
<{^_^}> [nixpkgs] @ehmry merged pull request #98039 → netdata: 1.24.0 -> 1.25.0 → https://git.io/JU4Q9
<{^_^}> [nixpkgs] @ehmry pushed 2 commits to master: https://git.io/JUEtc
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « mamba: 1.4 -> 1.5 »: https://git.io/JUEtl
<{^_^}> [nixpkgs] @ehmry merged pull request #98075 → yed: 3.20 -> 3.20.1 → https://git.io/JUBWd
<{^_^}> [nixpkgs] @ehmry pushed commit from @Maxwell-lt to master « yed: 3.20 -> 3.20.1 »: https://git.io/JUEtR
fendor has joined #nixos
la-jesystani has quit [Ping timeout: 260 seconds]
sxiii has quit [Ping timeout: 246 seconds]
kahiru_ has joined #nixos
sxiii has joined #nixos
kahiru has quit [Ping timeout: 272 seconds]
ixxie has joined #nixos
zupo has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bahamas has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-burns opened pull request #98264 → docker_18_09: fix build → https://git.io/JUEqY
zupo has joined #nixos
hoxtonhopper has joined #nixos
la-jesystani has joined #nixos
wam has joined #nixos
supercoven has joined #nixos
supercoven has quit [Max SendQ exceeded]
supercoven has joined #nixos
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #98261 → nixos/monit: add ryantm as maintainer → https://git.io/JUEkx
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JUEmy
supercoven has quit [Max SendQ exceeded]
supercoven has joined #nixos
wam has quit [Ping timeout: 240 seconds]
kenran has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
bahamas has joined #nixos
kenran has quit [Ping timeout: 260 seconds]
dansho has joined #nixos
Darkmatter66_ has quit [Ping timeout: 260 seconds]
bahamas has quit [Ping timeout: 258 seconds]
<cole-h> regnat: Going to bed, but: do you know *why* progress-bar.{hh,cc} are in libmain? I just tested moving it to libutil (along with names.{hh,cc}) and it seems to work (and also lets the loggers be registered properly for manpage generation)
<cole-h> (Please ,tell me, so I can see your answer when I wake up... :P)
cole-h has quit [Quit: Goodbye]
cantstanya has quit [Remote host closed the connection]
mmohammadi98126 has quit [Ping timeout: 256 seconds]
kenran has joined #nixos
cantstanya has joined #nixos
cosimone has joined #nixos
la-jesystani has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @petabyteboy merged pull request #98247 → batman-adv: 2019.5 -> 2020.3 → https://git.io/JUEvn
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @mweinelt to master « batman-adv: 2019.5 -> 2020.3 (#98247) »: https://git.io/JUEYT
ericsagnes has quit [Ping timeout: 272 seconds]
sangoma has quit [Ping timeout: 256 seconds]
Darkmatter66 has joined #nixos
sangoma has joined #nixos
ericsagnes has joined #nixos
bahamas has joined #nixos
kahiru has joined #nixos
kahiru_ has quit [Ping timeout: 272 seconds]
bahamas has quit [Ping timeout: 240 seconds]
mmohammadi98126 has joined #nixos
niso has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/JUEYx
<{^_^}> [nixpkgs] @delroth opened pull request #98265 → haskell.compiler.ghc865Binary: disable stripping once again on ARMv8 → https://git.io/JUEOT
knupfer has joined #nixos
werner291 has joined #nixos
werner291 has quit [Client Quit]
werner291 has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
sangoma has joined #nixos
zakame has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bea7aa233d4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
mmohammadi981260 has joined #nixos
shabius_ has quit [Quit: Leaving]
mmohammadi98126 has quit [Ping timeout: 260 seconds]
mmohammadi981260 is now known as mmohammadi98126
georg[m] has quit [Quit: Idle for 30+ days]
ntwoaaci^ has quit []
fjodor[m] has quit [Quit: Idle for 30+ days]
eoli3n_ has joined #nixos
shabius has joined #nixos
kahiru has quit [Ping timeout: 260 seconds]
kahiru has joined #nixos
waleee-cl has joined #nixos
lafa has joined #nixos
eoli3n_ has quit [Ping timeout: 260 seconds]
dermetfan has joined #nixos
mmohammadi98126 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
werner291 has quit [Remote host closed the connection]
jb55 has quit [Remote host closed the connection]
karantan has joined #nixos
jb55 has joined #nixos
jb55 has quit [Remote host closed the connection]
karantan has quit [Client Quit]
jb55 has joined #nixos
dermetfan has quit [Ping timeout: 260 seconds]
<lejonet> infinisil: very much so
<{^_^}> [nixpkgs] @joncojonathan opened pull request #98266 → Remove joncojonathan as maintainer → https://git.io/JUE36
<lejonet> infinisil: even just running file, without any arguments at all, segfaults
<{^_^}> [nixpkgs] @primeos merged pull request #98231 → ungoogled-chromium: 84.0.4147.89-1 -> 85.0.4183.102-1 → https://git.io/JU0Fl
<{^_^}> [nixpkgs] @primeos pushed commit from @squalus to master « ungoogled-chromium: 84.0.4147.89-1 -> 85.0.4183.102-1 »: https://git.io/JUE3A
kleisli_ has joined #nixos
<{^_^}> [nixpkgs] @oxzi opened pull request #98267 → dmenu: 4.9 -> 5.0 → https://git.io/JUE3x
<{^_^}> [nixpkgs] @primeos pushed commit from @squalus to release-20.09 « ungoogled-chromium: 84.0.4147.89-1 -> 85.0.4183.102-1 »: https://git.io/JUE3h
hax404 has quit [Quit: WeeChat 2.7.1]
hax404 has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
<regnat> cole-h: Uh I think there was a very good reason for that, but I can't remeber it…
endorphin has quit [Ping timeout: 260 seconds]
<regnat> cole-h: Might be more a question for niksnut
<MichaelRaskin> intuitively, libmain looks more about CLI-use-specific things…
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
kahiru has quit [Ping timeout: 265 seconds]
kahiru has joined #nixos
spudly has quit [Ping timeout: 272 seconds]
spudly- is now known as spudly
<{^_^}> [nixpkgs] @KaiHa opened pull request #98269 → haskellPackages.sbv: fix tests → https://git.io/JUEsi
mmohammadi98126 has joined #nixos
arjen-jonathan has joined #nixos
rprije has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Lucus16 closed pull request #97519 → clean: Accept hardcoded /tmp → https://git.io/JUc8c
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malook has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
tsrt^ has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #98270 → foot: 1.4.4 → 1.5.0, fcft: 2.2.6 → 2.3.1, tllist: 1.0.2 → 1.0.4 → https://git.io/JUEGn
<{^_^}> [nixpkgs] @sternenseemann closed pull request #96898 → fcft: 2.2.6 → 2.3.1 → https://git.io/JUmKR
nckx has quit [Quit: Updating my Guix System — https://guix.gnu.org]
nckx has joined #nixos
knupfer has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #98271 → fuzzel: 1.4.1 → 1.4.2 → https://git.io/JUEGV
zupo has joined #nixos
hke has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @tnias opened pull request #98272 → nixos/doc: fix dead link → https://git.io/JUEGF
<{^_^}> [nixpkgs] @ttuegel opened pull request #98273 → mariadb-connector-c: multiple outputs → https://git.io/JUEGN
hke has joined #nixos
iqubic` has joined #nixos
iqubic` has left #nixos [#nixos]
iqubic has quit [Ping timeout: 260 seconds]
meh` has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Lucus16 opened pull request #98274 → gnat: fix build → https://git.io/JUEZR
mmohammadi98126 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
malook has quit [Remote host closed the connection]
dermetfan has joined #nixos
tnias has quit [Quit: leaving]
dermetfan has quit [Remote host closed the connection]
cosimone has quit [Quit: Quit.]
dermetfan has joined #nixos
<sxiii> Hi everybody :) Could someone hint me with my current quest. I am creating a Live ISO, and I have Openbox working there with default config (I can't find rc.xml file for it). How could I create it and apply so openbox eats it?
<sxiii> I know it should be either /etc/openbox/rc.xml or /etc/xdg/openbox/rc.xml probably, but I can't manage to ask the "configuration.nix" config to create this file for me at this path
thc202 has joined #nixos
m1cr0m4n has joined #nixos
<{^_^}> [nixpkgs] @raboof opened pull request #98275 → openjdk: add jdk11 jre and headless jre → https://git.io/JUEZy
sangoma has quit [Ping timeout: 240 seconds]
m1cr0man has quit [Ping timeout: 256 seconds]
<sterni> sxiii: you can add /etc/openbox/rc.xml using the environment.etc setting, see here for an example: https://nixos.org/manual/nixos/stable/#module-services-grocy-settings
<sterni> sxiii: so you'd be using environment.etc."openbox/rc.xml" = "…";
<sterni> openbox is a bit of a untypical window manager, usually you can configure a window manager in nixos using some attributes in the same place as the enable option…
<MichaelRaskin> More like «only minimally supported»
fendor has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4418b3796e3 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<sxiii> sterni: thank for the hint, I will try to rewrite my code. I had tried environment.etc."openbox/rc.xml".source = "" - it didn't worked
CMCDragonkai1 has joined #nixos
wam has joined #nixos
eoli3n_ has joined #nixos
_ris has joined #nixos
eoli3n_ has quit [Ping timeout: 240 seconds]
ris has quit [Ping timeout: 258 seconds]
<sterni> environment.etc."openbox/rc.xml".text = "" should be it
<sterni> sxiii: ^
Thra11 has quit [Quit: WeeChat 2.9]
ixxie has quit [Remote host closed the connection]
ris has joined #nixos
_ris has quit [Ping timeout: 258 seconds]
peel has quit [Quit: Connection closed for inactivity]
kleisli_ has quit [Ping timeout: 256 seconds]
<sxiii> sterni: error: syntax error, unexpected '=', expecting ';', at /configuration.nix:77:30
Izorkin has quit [Ping timeout: 256 seconds]
<clever> sxiii: can you pastebin the configuration.nix file?
<sterni> sxiii: probably forgot a semicolon before the attribute
cosimone has joined #nixos
Izorkin has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/985047d3c9f (from 34 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<sxiii> clever: Yep I uploaded it to oshi at: https://oshi.at/ufQGuV
<sxiii> That's my current configuration.nix
<sxiii> It's saying the ${} syntax is wrong, as well the ":" syntax is wrong, as well as "=" syntax is wrong -> I tried all 3
<clever> sxiii: the line before openbox/rc.xml, you have an autostart outside of the string
<clever> environment.etc."openbox/autostart".source = writeScript "autostart" autostart;
<clever> the 2nd autostart also has to be quoted
<sxiii> o_O strange as it worked like that earlier, let me try
<clever> oh wait no
<clever> thats a variable, from the let block
<clever> the double autostart just made it look confusing
kleisli_ has joined #nixos
<clever> sxiii: yeah, the ; is missing on the rc.xml line
<{^_^}> [nixpkgs] @doronbehar merged pull request #97997 → enlightenment.evisum: init at 0.5.6 → https://git.io/JU4RC
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JUEnX
<sxiii> yep guys from another channel had given me nix config with firefox kiosk autostart. So now I am trying to do openbox with another program (sent) without any window borders
<clever> its much more visible when gist does syntax highlighting
<clever> also, you dont want ${rcfile} but just rcfile;
<sxiii> Oh lol the ; yeah... I'm so inconsistant :D Used to Bash. It allows both ; and newline...
noudle has joined #nixos
<sxiii> Thank you clever, you're so clever :D
<clever> yep
Izorkin has quit [Ping timeout: 260 seconds]
mmohammadi98126 has joined #nixos
orivej has joined #nixos
<sxiii> Btw... What syntax markup I can choose to colorize the .nix files? Is there any compatible syntax?
<clever> it needs its own syntax engine, vim-nix is one of them
<sxiii> Oh well. I used mousepad & nano for that. At least nano can be used
<sxiii> So... I've managed to put rc.xml in /etc/openbox dir, but openbox still doesen't accept any changes that I'd written there...
<{^_^}> [nixpkgs] @servalcatty opened pull request #98276 → v2ray: 4.27.5 -> 4.28.2 → https://git.io/JUEck
<{^_^}> [nixpkgs] @Sohalt opened pull request #98277 → WIP: fritzing: 0.9.3b -> 0.9.4, fix build → https://git.io/JUEcZ
<sxiii> If I want to add to my home directory a single ~/.config/openbox/rc.xml file, to I have to use homeManager home.nix file or it isn't required?
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
werner291 has joined #nixos
mariatsji has quit [Ping timeout: 260 seconds]
<Orbstheorem> Has anybody used the linaro toolchain under NixOS?
<{^_^}> [nixpkgs] @Sohalt opened pull request #98278 → sonic-lineup: 1.0.1 -> 1.1, fix build → https://git.io/JUEcV
<{^_^}> [nixpkgs] @Lassulus merged pull request #98262 → gitolite: fix updating of gitweb access list and description → https://git.io/JUEIc
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUEc6
mallox has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUEcS
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/54a0a400f2d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
icey_ has joined #nixos
<{^_^}> [mobile-nixos] @TilCreator opened pull request #202 → Update docs → https://git.io/JUECe
iceypoi has quit [Ping timeout: 260 seconds]
arjen-jonathan has quit [Ping timeout: 272 seconds]
ti4a4a has joined #nixos
Izorkin has joined #nixos
Sanchayan has quit [Quit: leaving]
<{^_^}> [nixpkgs] @grahamc merged pull request #98272 → nixos/doc: fix dead link → https://git.io/JUEGF
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JUECL
Izorkin_ has joined #nixos
mariatsji has joined #nixos
Izorkin has quit [Ping timeout: 256 seconds]
Izorkin_ is now known as Izorkin
ti4a4a has quit [K-Lined]
mariatsji has quit [Ping timeout: 272 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rusty1 has joined #nixos
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @MetaDark opened pull request #98280 → protontricks: 1.4.1 -> 1.4.2 → https://git.io/JUECM
potong has joined #nixos
<potong> Hi, still new to this, what would a shell.nix look like for the command line argument `nix-shell '<nixpkgs>' -A gnused` ?
arjen-jonathan has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
azure1 has quit [Read error: Connection reset by peer]
azure2 has joined #nixos
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
ddellacosta has joined #nixos
ThaEwat has joined #nixos
civodul has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
azure2 has quit [Read error: Connection reset by peer]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has joined #nixos
azure2 has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #98122 → corefonts: fix hash mismatch update → https://git.io/JURUK
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JUEW3
mmohammadi981261 has joined #nixos
mmohammadi98126 has quit [Ping timeout: 265 seconds]
mmohammadi981261 is now known as mmohammadi98126
rihards has joined #nixos
mariatsji has quit [Ping timeout: 272 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
meh` has quit [Ping timeout: 260 seconds]
mariatsji has joined #nixos
<manveru> potong: `(import <nixpkgs> {}).gnused`
mariatsji has quit [Ping timeout: 246 seconds]
mmohammadi98126 has quit [Ping timeout: 258 seconds]
Pwnna has quit [Quit: Bye]
Pwnna has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #98282 → pythonPackages.yq: update, repackage as library, fix tests → https://git.io/JUEW9
<steveeJ> is anyone aware of a better way to do a `git clone --bare` than https://gitlab.com/steveeJ/infra/-/blob/478ce61d3e8e9cb128b4c880adc8bd5eaca09766/nix/home-manager/profiles/dotfiles/vcsh.tmpl.nix#L8-19 ? besides being somewhat ugly, it also doesn't seem to work reliably, i.e. the expected hash differs across hosts which I can't explain as well
eoli3n_ has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @risicle opened pull request #98283 → truvari: 1.3.4 -> 2.0.2, add new dependencies & fix build → https://git.io/JUEWj
Fare has joined #nixos
johnny101 has quit [Quit: ZNC 1.7.5 - https://znc.in]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
ddellacosta has quit [Ping timeout: 260 seconds]
johnny101 has joined #nixos
ransom has joined #nixos
<{^_^}> [nix] @OmnipotentEntity opened pull request #4040 → Bump nlohmann-json version to 3.9.1 → https://git.io/JUElK
<{^_^}> [nixpkgs] @MetaDark opened pull request #98284 → linuxPackages.xpadneo: 0.8.2 -> 0.8.3 → https://git.io/JUElP
ManiacOfMadness` has quit [Ping timeout: 272 seconds]
polarfire has joined #nixos
mariatsji has joined #nixos
adam_ has joined #nixos
<{^_^}> [nixpkgs] @doronbehar closed pull request #75784 → sqlite-sqldiff: init at 3.30.0 → https://git.io/Je7mc
mariatsji has quit [Ping timeout: 260 seconds]
polarfire has quit [Quit: WeeChat 2.7.1]
polarfire has joined #nixos
ManiacOfMadness` has joined #nixos
<adam_> Is anybody using clang with nix os?
<adam_> I currently have a project that is using gcc and I would like to switch over, but I am having some issues unfortunately
<infinisil> adam_: Probably just need to use clangStdenv instead of stdenv
<adam_> is there any documentation about that? I started going down that path yesterday, but I will try again
mariatsji has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
potong has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
johnny101 has quit [Quit: ZNC 1.7.5 - https://znc.in]
johnny101 has joined #nixos
justanotheruser has joined #nixos
amir has quit [Quit: Have to disappear. Read you later guys!]
orivej has quit [Ping timeout: 246 seconds]
abathur has quit [Quit: abathur]
astro has quit [Read error: Connection reset by peer]
astro has joined #nixos
<infinisil> Not really, but it shouldn't be any different from stdenv usage
balodja has joined #nixos
Fare has quit [Ping timeout: 244 seconds]
<mrSpec> Hi guys! I'm preparing for my first nixos upgrade (to 20.03) and I've notice one inconsistency (not sure If I should be worried). nix-channel --list shows nixos [htt....]/nixos-19.09 however in configuration.nix system.stateVersion = "19.03". Is this a problem?
<adam_> stdenv = clangStdenv;
<adam_> mkShell {
<adam_> I wrote that as my stdenv
<adam_> and I have clang_11 in my build dependencies
<adam_> now when I am building I use -DCMAKE_CXX_COMPILER=clang++
<adam_> home/adam/research/adam/third_party/libtorch/include/pybind11/pybind11.h:1000:9: error: no matching function for call to 'operator delete' ::operator delete(p, s, std::align_val_t(a));
<adam_> but when I build with g++ everything is good
<symphorien[m]> mrSpec nope
<infinisil> adam_: Don't use mkShell, because that uses stdenv underneath
<infinisil> adam_: Use clangStdenv.mkDerivation instead
amir has joined #nixos
<sterni> sxiii: you don't necessarily need homemanager, no
<sterni> but then also you won't get the benefit of reproducibility
<sterni> sxiii: can you check if the file /etc/openbox/rc.xml is created properly?
<adam_> Okay I used that instead and then gave it a name as well
<adam_> still same error
<balodja> Hi all. Guys, I'm new to Nix, help me please a bit in diving. At the moment I'm trying to fix some deficiencies in the Gnucash package. And I'm stuck reproducing the build.
<adam_> thats my shell.nix
<symphorien[m]> balodja: clone nixpkgs, cd to the root of the repo, and run nix-build -A gnucash
<adam_> thats my CMakeLists.txt
<balodja> I do: nix-shell '<nixpkgs>' -Ai gnucash; export out=~/mydir; genericBuilder
<{^_^}> [nixpkgs] @marsam merged pull request #98276 → v2ray: 4.27.5 -> 4.28.2 → https://git.io/JUEck
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUE4o
<balodja> But than in the ~/mydir there is one little file which is definitely not the build result.
<balodja> I'm missing something in those commands.
<symphorien[m]> out may have been substituded at the nix level
<symphorien[m]> it may be too late to export it at the bash level
<symphorien[m]> if you want to reproduce, nix-build is the tool
<mrSpec> symphorien[m]: thx
<balodja> symphorien[m]: nix-build just downloads the prebuild binaries. how should I tell it not to?
<{^_^}> [nixpkgs] @marsam merged pull request #98243 → lxd: 4.5 -> 4.6 → https://git.io/JUEex
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUE41
<adam_> infinisil: any ideas?
<symphorien[m]> why do you want it not to ?
<symphorien[m]> it's a feature of nix. If the cache has run exactly the same build, then you can fetch it from the cache
<balodja> I want to see the buildsteps and intermediate results of building process.
<symphorien[m]> nix log -f. gnucash
<symphorien[m]> it will fetch the log from the cache as well
<infinisil> adam_: No idea sorry
<adam_> does my shell.nix look okay?
<adam_> it seems like it is still using gcc somehow
<adam_> libtorch is looking into gcc-9.3.0/include/c++/9.3.0/new
<balodja> in my case 'nix log nixos.gnucash' really shows the log
domogled has quit [Ping timeout: 264 seconds]
<adam_> actually it seems like clangStdEnv is using clang7
<adam_> Is there a clang11StdEnv or something
rihards has quit [Quit: rihards]
<sxiii> sterni: yes I checked and rc.xml was created okay
<sxiii> I even restarted openbox additionally to re-ensure that it's read.
<symphorien[m]> adam_ probably llvmPackages_10.stdenv
<sxiii> So I think it needs to be at "~/.config/openbox/rc.xml" other that the path that we've used
<symphorien[m]> I'm not sure if _11 is available
<adam_> it turns out llvmPackages_11.stdenv.mkDerivation is available
<infinisil> > showSrc pkgs "clangStdenv"
<{^_^}> "all-packages.nix:8537 clangStdenv = if stdenv.cc.isClang then stdenv else lowPrio llvmPackages.stdenv;"
lina[m] has quit [Quit: Idle for 30+ days]
<infinisil> > filter (hasPrefix "llvmPackages") pkgs
<{^_^}> value is a set while a list was expected, at (string):323:1
<infinisil> > filter (hasPrefix "llvmPackages") (attrNames pkgs)
<{^_^}> [ "llvmPackages" "llvmPackages_10" "llvmPackages_11" "llvmPackages_5" "llvmPackages_6" "llvmPackages_7" "llvmPackages_8" "llvmPackages_9" "llvmPackages_latest" "llvmPackages_rocm" ]
balodja has left #nixos [#nixos]
<adam_> I think we are close
noudle has quit []
<adam_> but is it not using -stdlib=libc++?
<adam_> /nix/store/rclksjxdjgp6y6qkxyl9m4dx4b9d45zk-gcc-9.3.0/include/c++/9.3.0/new:154:6: note: candidate function not viable: no known conversion from 'pybind11::size_t' (aka 'unsigned long') to 'std::align_val_t' for 2nd argument
<adam_> it still seems to be using gcc
<symphorien[m]> yes linux's stdenv use libstdc++
<adam_> yeah but I put llvmPackages_11.stdenv.mkDerivation
<adam_> I assumed it would use clang
<adam_> and libc++ rather than libstdc++
<symphorien[m]> yes but this is a clang configured to use libstdc++
<adam_> what would you recommend doing instead then?
<sterni> sxiii: the openbox package distributes its own etc/openbox/rc.xml which is somewhere in /nix/store, it could be that it prefers that one over the one in /etc
<sterni> sxiii: is there an command line option to tell openbox which config file to read?
<adam_> how do I get it to use the llvm toolchain
<symphorien[m]> there is a libcxx stdenv
<symphorien[m]> > llvmPackages_11.libcxxStdenv
<{^_^}> "<derivation /nix/store/7aygarvb9jaa5r1n9zsgq75pmjbmg6cx-stdenv-linux.drv>"
<symphorien[m]> if is works, can you add it to this page ? https://nixos.wiki/wiki/Using_Clang_instead_of_GCC
<adam_> CMake Error at CMakeLists.txt:4 (message): libc++abi now requires being built in a monorepo layout with libcxx available
<adam_> dang
<adam_> I can't use llvmPackages_11.libcxxStdenv
<symphorien[m]> it does not build ?
mvnetbiz_ has quit [Quit: Bye!]
<adam_> nope
<adam_> like when I type nix-shell it failed
philr has quit [Ping timeout: 264 seconds]
<symphorien[m]> I guess you should open an issue
<adam_> with 10 it seemed to like it
mvnetbiz_ has joined #nixos
<adam_> okay I'm getting a new set of errors!
<adam_> ../third_party/libtorch/include/pybind11/cast.h:305:19: error: use of overloaded operator '!=' is ambiguous (with operand types 'pybind11::detail::values_and_holders::iterator' and 'pybind11::detail::values_and_holders::iterator')
<adam_> while (it != endit && it->type != find_type) ++it;
<adam_> ~~ ^ ~~~~~
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
<adam_> okay if I use c++17 instead of c++20 I can get past that error
<adam_> but now I have a new one
<adam_> libtorch/lib/libtorch_cpu.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::npos@GLIBCXX_3.4.21'
<adam_> why does gcc not have any of these problems
<adam_> is nix not meant for it?
mariatsji has quit [Ping timeout: 246 seconds]
meh` has joined #nixos
<etu> hexa-: You've asked me to update the miniflux pr to the even newer version released, I've pushed that now :)
hoxtonhopper has quit [Ping timeout: 272 seconds]
<hexa-> etu: cool, I'll check that the test run and the we merge that. It has been sitting long enough!"
<etu> Indeed, I had forgotten about it :D
<hexa-> it's waiting for the darwin tests … rip :D
<etu> That may take forever
<hexa-> 0 darwin builders
<hexa-> s/may/will
mallox has quit [Quit: WeeChat 2.9]
mallox has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #93670 → miniflux: 2.0.21 -> 2.0.23 → https://git.io/JJlzX
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JUEBj
<{^_^}> [nixpkgs] @doronbehar merged pull request #87646 → asciidoctor: fix dangling ascidoctor-safe symlink → https://git.io/Jf8Jl
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JUERf
mallox has quit [Ping timeout: 264 seconds]
mallox has joined #nixos
ManiacOfMadness` has quit [Ping timeout: 246 seconds]
adam_ has quit [Remote host closed the connection]
domogled has joined #nixos
Fare has joined #nixos
gv has quit [Remote host closed the connection]
gv has joined #nixos
<symphorien[m]> > libtorch/lib/libtorch_cpu.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::npos@GLIBCXX_3.4.21'
<symphorien[m]> you can't use a libtorch compiled with libstdc++ with a clang using libc++
<{^_^}> error: syntax error, unexpected ':', expecting ')', at (string):323:29
<symphorien[m]> > is nix not meant for it?
<symphorien[m]> yes it is, it is the default on darwin :)
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):324:1
tim123123 has joined #nixos
domogled has quit [Quit: domogled]
<tim123123> Hello People, is anybody using their mobile phone as webcam replacement? I found an app called DroidCam but I would need to make this application work in NixOS in order to use it https://github.com/aramg/droidcam/tree/master/linux are there already existing approaches? Many Thanks!
<tim123123> ,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
gustavderdrache has joined #nixos
maxdevjs has joined #nixos
berberman_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
malook has joined #nixos
berberman has joined #nixos
<sxiii> sterni: you think I should try "openbox --config-file /etc/openbox/rc.xml" ?
sangoma has joined #nixos
andymandias has joined #nixos
bahamas has joined #nixos
ManiacOfMadness` has joined #nixos
tomberek has joined #nixos
polarfire has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to gnome-3.38: https://git.io/JUERz
polarfire has joined #nixos
<sterni> sxiii: yeah or you could use writeText similarly to writeScript and then do openbox --config-file ${configFile} (and define configfile using let)
ddellacosta has joined #nixos
shibboleth has joined #nixos
stree has quit [Quit: Caught exception]
stree has joined #nixos
ManiacOfMadness` has quit [Ping timeout: 258 seconds]
<sxiii> Seems like openbox is blaming my rc.xml file on being wrong. I'll try to recheck
orivej has joined #nixos
<sxiii> After I tried openbox --restart --config-file /etc/openbox/rc.xml :) It throw error. Should have debug the openbox config first ;)
cole-h has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #98260 → [20.09] Revert "nixos/monit: Allow splitting the config in multiple files" → https://git.io/JUEkd
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.09: https://git.io/JUERp
<{^_^}> [nixpkgs] @worldofpeace merged pull request #98170 → [20.09] wordgrinder: fix build → https://git.io/JURbE
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.09: https://git.io/JUERh
<cole-h> regnat: I think it might be because, at one time, it depended on store-api.hh (and thus had to be in libmain or libstore), but it doesn't anymore.
<cole-h> I'll ask Eelco in -dev :P
<cole-h> (Maybe all these questions should have gone there in the first place... lol)
andymandias has quit [Ping timeout: 246 seconds]
Thra11 has joined #nixos
noudle has joined #nixos
fendor has quit [Ping timeout: 272 seconds]
<Uma> "bluetooth hci0: Direct firmware load for rtl_bt/rtl8761a_config.bin" does anyone know where I can find these drivers?
werner291 has quit [Quit: werner291]
ransom has quit [Ping timeout: 244 seconds]
komik_mi has joined #nixos
<ToxicFrog> Argh, I'm getting "store path contains illegal character <newline>" again and I don't remember how I fixed it the last time
komik_mi has quit [Client Quit]
<{^_^}> [nixpkgs] @marsam merged pull request #98158 → pythonPackages.afdko: 3.5.0 → 3.5.1 → https://git.io/JURMk
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUE04
mekeor has joined #nixos
<ToxicFrog> Specifically, nixos-install fails with:
<ToxicFrog> store path 'rawrll5vsbjd5lpm11vkf0pmqzi0kg7x-nixos-20.03-20.03.2964.252bfe01075
<ToxicFrog> ' contains illegal character '
<ToxicFrog> '
<cole-h> ,paste ToxicFrog
<ToxicFrog> Those linebreaks are in the original output; there's a newline on the end of the store path for some reason.
<{^_^}> ToxicFrog: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<ToxicFrog> I did not think that three lines were long enough to be worth pastebinning.
<cole-h> I thought you were going to paste more 😅
dansho has quit [Quit: Leaving]
bk1603 has joined #nixos
<ToxicFrog> I've now rolled back the configuration.nix to a known good one (passes `nixos-rebuild` on the host system) except that the disk configuration is different and I'm still getting the same issue, so I don't think it's a configuration.nix issue
<ToxicFrog> And I vaguely remember having this issue once before but I don't remember how I fixed it, and I can't find any discussion of it in the logs here
sangoma has quit [Quit: WeeChat 2.9]
<bk1603> Hey everyone! This is my first time on NixOS and I've been trying to set dwm up on it. But I've been running into a few issues. First one being that the colors that I set in `config.def.h` aren't actually there in the dwm binary, I've tried rebuilding and it doesn't work. Secondly a lot of patches don't work with overlays but they work when I use it separately on the dwm source
sangoma has joined #nixos
adelbertc has joined #nixos
<bk1603> Also since I was doing a lot of rebuilding and rebooting, I found that sometimes ifconfig doesn't report my wireless interface, almost as if the drivers weren't loaded. I haven't yet dived deeper into this issue since I was so busy setting dwm up
<bk1603> It's on sme reboots that the wireless card doesn't work, but on some reboots it does
<bk1603> I'm using unstable 21.03
ManiacOfMadness` has joined #nixos
shibboleth has quit [Quit: shibboleth]
<bk1603> Also setting `fonts.fonts = with pkgs; [ powerline-fonts ]` results in an error complaining about the variable `powerline-fonts` not being defined
cosimone has quit [Quit: Quit.]
<ToxicFrog> Aha! The solution was to run nixos-install with --no-channel-copy, for some reason. I should probably figure out how to repro and file a bug.
arjen-jonathan has quit [Ping timeout: 244 seconds]
cjpbirkbeck has joined #nixos
<ToxicFrog> bk1603: the powerline-fonts issue is weird because the package search definitely shows it as existing in unstable: https://search.nixos.org/packages?show=powerline-fonts&query=powerline-fonts&from=0&size=500&sort=alpha_asc&channel=unstable
<ToxicFrog> For the overlays vs source patch issue, make sure it's the same version? If the dwm package definition hasn't been updated in a while you might be patching a more recent version than nix is building.
meh` has quit [Ping timeout: 256 seconds]
<bk1603> I forked 6.2 and have been using that for src. Patches work on the local repo fine, but when I try and add them to the overlay they report chunks failing. :(
codygman has quit [Read error: Connection reset by peer]
<bbigras> Should I use the "PRs ready for review _" forum post for backports?
codygman has joined #nixos
<bk1603> Also about the fonts issue, at first I thought moving it to `environment.SystemPackages` since it was under `nixos.powerline-fonts` but then I read a documentation saying that's not how it's done
<bk1603> Installing it with `nix-env` works thugh
<bk1603> I just wanted to add it to the configuration.nix file but that isn't working somehow :/
<bk1603> ToxicFrog: (I forgot tagging you in the previous messages :P)
<cole-h> bbigras: No, ping the RM team
<ToxicFrog> Are you sure you don't just have a typo or something? Because that is how it's done and that line looks like it should work
<ToxicFrog> Re the patches -- ok, you have a local copy of 6.2, your overlay points at that as src? Have you manually applied the patches to that directory? If so it won't be able to re-apply them
<{^_^}> [nixpkgs] @ryantm merged pull request #98258 → nixos/heyefi: remove module and package → https://git.io/JUEkr
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JUE0j
zupo has joined #nixos
<bk1603> Nono, I have a local repo and a fork on github. I use the github repo as src. I have no patches applied on the github repo
karantan has joined #nixos
<bk1603> I tried applying patches on the local repo when they failed on the github repo, expecting to see the error. But then it just ran fine
<cole-h> Probably means your repo has diverged.
<bk1603> Also I can't change the colors by changing the value at `config.def.h` if that's related somehow. I was wondering if using `oa.patches ++ [ list of patches]` causes nix to include the patches that were applied earlier and theo nes defined in the list
<bk1603> cole-h: by diverged do you mean that the repo is no longer the same as the original dwm one? Couldn't understand you there
<cole-h> Well, if the patches apply locally but not to your fetchFromGitHub'd repo, it means there's some difference. That's all I mean by diverged
zakame has quit [Ping timeout: 256 seconds]
<ToxicFrog> Yes, that's exactly what it does -- that's list concatenation
<ToxicFrog> So if `oa.patches` is the list of patches present in the original (non-overlaid) build configuration, what you're doing there is adding all of your patches to be applied after the othres.
rajivr has quit [Quit: Connection closed for inactivity]
<bk1603> Aha then maybe I understand why this happens. I tried adding and removing patches, so somewhere down the line I got to a point where I was trying to add a patch that was already there in my local install. Does it make sense?
sangoma has quit [Ping timeout: 240 seconds]
<ToxicFrog> (assuming I'm understanding what you're doing in your overlay correctly without context -- maybe you should pastebin the whole thing)
<bk1603> Oh sure sure, just a minute
zakame has joined #nixos
cjpbirkb1 has joined #nixos
<bbigras> cole-h: thank you very much
<bk1603> ToxicFrog: https://pastebin.com/6xm1Sz5s
<bk1603> It's line 120
<{^_^}> [nix] @cole-h opened pull request #4041 → Serialize SandboxMode enum to string for JSON → https://git.io/JUEEk
cjpbirkbeck has quit [Ping timeout: 260 seconds]
<bk1603> cole-h: I don't think so, because `git diff` shows nothing is different :/ It might be the list concatenation thing maybe. Not sure.
<cole-h> bk1603: If you `git am`'d or othewise committed the patch, it won't show up in the diff.
andymandias has joined #nixos
Thra11 has quit [Ping timeout: 256 seconds]
<bk1603> Umm, I don't think I commited any patches upstream, but I'll give it a look anyways. My memory often fails me :P
<ToxicFrog> bk1603: yeah, that's going to apply all the patches that are configured in the nixpkgs definition + your own. *That said*, there are currently no patches in the nixpkgs definition, so it should just be your own.
D_ has joined #nixos
<bk1603> ToxicFrog: Oh, that would mean that the patches mentioned in the list only are applied right? Wierd, I'll give my repo a look then, maybe it's me after all :P
<bk1603> Also apart from that, I still don't get the colors issue. I changed the color values in `config.def.h` but nothing changed in the binary after I rebuilt.
<bk1603> ^^ link to my repo
zakame has quit [Ping timeout: 260 seconds]
tim123123 has quit [Remote host closed the connection]
sangoma has joined #nixos
<ToxicFrog> You changed the colours in e348957bd7d289f5125f9669df631ca4f7ea1132 ?
<ToxicFrog> Your configuration.nix still points at 7be69c06f61a2452fa271e498e7a00d003375bc0
lunik1 has quit [Quit: :x]
<bk1603> Oh I changed the colors in the commit right after the inital commit but even they aren't coming up
<ToxicFrog> When doing this kind of experimentation, it is often very useful to work with a local checkout of the source, and just do: `src = /path/to/my/local/checkout;` in configuration.nix
<ToxicFrog> This means you're always getting the source as it exists on disk and you don't need to worry about updating the rev or the expected hash
<ToxicFrog> Then, once you're done experimenting, you commit and publish your changes and point src at that
<bk1603> I have the default color config, even though I changed to some colors I copied from Nord :/
ThaEwat has quit [Remote host closed the connection]
<bk1603> Oh that's a nice tip!
<bk1603> Thanks! That's what I'll do then!
Fare has quit [Ping timeout: 260 seconds]
<ToxicFrog> the dwm package also has something weird going on where it looks like you can supply a config header as a package argument and it'll automatically overwrite config.def.h with it: https://github.com/NixOS/nixpkgs-channels/blob/441a7da8080352881bb52f85e910d8855e83fc55/pkgs/applications/window-managers/dwm/default.nix#L24
<ToxicFrog> might want to try using that mechanism rather than patching config.def.h by hand, and/or disable that mechanism in the overlay to make sure it's not interfering.
zakame has joined #nixos
lunik1 has joined #nixos
<bk1603> Oh okay I'll take a look into that then
Fare has joined #nixos
bk1603 has quit [Quit: Lost terminal]
silver has joined #nixos
<sxiii> sterni: I think I need to ditch openbox and replace with some WM that has no windows borders by default and which will allow me to run apps on fullscreen by default ideally with 0 configuration
joko has quit [Quit: WeeChat 2.7.1]
Anonymyous11 has joined #nixos
<hart111> i3 time :)
knupfer1 has joined #nixos
<sxiii> Doesn't i3 includes some kind of panel by default? As I want just fullscreen...
tomberek has quit [Remote host closed the connection]
<sxiii> With no panels no decorations anything...
<hart111> I mean it has a bar at the top
malook has quit [Quit: malook]
<hart111> But it's 1 line to disable it
<hart111> And 1 more line to make all things fullscreen
<sxiii> hart111: do you have an example config.nix file with i3?
<{^_^}> [nixpkgs] @ajs124 opened pull request #98285 → imagemagick: 6.9.11-14 -> 6.9.11-29 → https://git.io/JUEEa
<sxiii> And can you tell me those lines :)
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hart111> I could make one but https://github.com/novafacing/nixosrc has an i3 setup
<hart111> I'm a bit cramped for time atm but it's available there
knupfer1 is now known as knupfer
<hart111> And the two lines would be: in modules/home/i3.nix make the bars list empty to disable the bar, the other stuff is set in `window = { titlebar = false; border = 0; hideEdgeBorders = "none"; }`
irccat42 has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #98273 → mariadb-connector-c: multiple outputs → https://git.io/JUEGN
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging-20.09: https://git.io/JUEEw
AlpineLlama_ has joined #nixos
AlpineLlama has quit [Ping timeout: 272 seconds]
karantan has joined #nixos
Thra11 has joined #nixos
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
AlpineLlama_ has quit [Ping timeout: 272 seconds]
polarfire has quit [Quit: WeeChat 2.7.1]
AlpineLlama has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Thra11 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #98263 → nixos/onedrive: Remove verbose flag → https://git.io/JUEI1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUEEF
Anonymyous11 has quit [Quit: Leaving]
jumper149[m] has joined #nixos
jumper149 has joined #nixos
saschagrunert has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evanjs> Attn nbathum -- do files in the nix store need to be non-empty?
Fare has quit [Ping timeout: 260 seconds]
<evanjs> To put it another way: is `touch $out` even supposed to work?
<cole-h> `touch $out` works.
<evanjs> Hrmmmm
<evanjs> nbathum: are we sure that's the bit that is segfaulting?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #94771 → gnomeExtensions.timepp: unstable-2019-03-30 -> unstable-2020-03-15 → https://git.io/JJiLB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JUEue
Rusty1 has joined #nixos
<evanjs> Also: did you ever manage to get a MRE?
knupfer has quit [Ping timeout: 260 seconds]
<cole-h> > pkgs.runCommandNoCC "asdf" {} "touch $out"
<{^_^}> "<derivation /nix/store/zgsd05p65d0mg1vm1p18xdvmig02g3lq-asdf.drv>"
<cole-h> vs
<cole-h> > pkgs.runCommandNoCC "asdf" {} "touch asdf"
<{^_^}> "<derivation /nix/store/di1qv50fp4lhbnlwpisizkpdafswx0mi-asdf.drv>"
<cole-h> If you try to build those locally, you'll notice `touch $out` succeeds, while `touch asdf` reports that it failed to produce an output path.
supercoven has quit [Read error: Connection reset by peer]
<nbathum> evanjs: not sure what/where is segfaulting yet. re-running it after changing to `touch $out`
saschagrunert has quit [Quit: Leaving]
<nbathum> yes is same spot
<nbathum> trying to write a config to deploy a private package, using the trick in here: https://github.com/NixOS/nix/issues/1528
<{^_^}> nix#1528 (by joepie91, 3 years ago, open): Supporting fixed-hash derivations for local files
<nbathum> trying to put together a MWE last night and have something which builds a package
<{^_^}> [nixpkgs] @doronbehar merged pull request #97908 → add nodePackages vega-cli and vega-lite → https://git.io/JU8qz
<{^_^}> [nixpkgs] @doronbehar pushed 5 commits to master: https://git.io/JUEus
<nbathum> but the actual use is like, that package is incorporated into a huge expression using nixos-generators
<nbathum> and building _that_ segfaults
<{^_^}> [nixpkgs] @doronbehar merged pull request #69112 → sqldiff: init at 3.33.0 → https://git.io/Je30u
<{^_^}> [nixpkgs] @doronbehar pushed 5 commits to master: https://git.io/JUEuC
<nbathum> it seems like the other option (for this use-case of deploying private packages), is to serve the output tarball locally, and write a drv for it using fetchurl, and then rely on using caches/substitution during deployment so that systems in the field don't try to reach your private source server
gustavderdrache has left #nixos [#nixos]
zakame has quit [Ping timeout: 256 seconds]
zakame has joined #nixos
karantan has joined #nixos
Thra11 has joined #nixos
karantan has quit [Client Quit]
maxdevjs has quit [Quit: Leaving]
iqubic has joined #nixos
Thra11 has quit [Ping timeout: 264 seconds]
jlotoski-znc has joined #nixos
johnny101 has quit [Ping timeout: 260 seconds]
bahamas has quit [Ping timeout: 258 seconds]
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @bbigras opened pull request #98287 → [20.09] gnomeExtensions.timepp: unstable-2019-03-30 -> unstable-2020-03-15; unbreak pkg → https://git.io/JUEzL
andymandias has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #98288 → pythonPackages.pylint: 2.5.3 -> 2.6.0 → https://git.io/JUEzn
irccat42 has quit [Remote host closed the connection]
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
karantan has joined #nixos
polarfire has joined #nixos
irccat42 has joined #nixos
<evanjs> nbathum: Yeah I was sort of wondering what's stopping us from just referencing the tarball locally or etc, depending on how it's used
<evanjs> I probably need to play with the expression a bit more so I actually know what's going on lol
Thra11 has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @samuela opened pull request #98289 → Update vscodium to 1.49.1 → https://git.io/JUEgf
irccat42 has quit [Quit: Bye]
<kloenk> How can I find out which packages depend on systemd? greping after systemd seems not to help so much
<bbigras> Kloenk: https://nixos.wiki/wiki/Cheatsheet might have something for that
bk1603 has joined #nixos
mallox has quit [Ping timeout: 260 seconds]
<sterni> Kloenk: on your system or in nixpkgs as a whole?
<bk1603> ToxicFrog: Thanks a lot for your advice, dwm finally has the colors. And the patches I think were in conflict with each other, reordering them caused the other patch to break. And it wasn't that necessary either.
<kloenk> sterni: in nixpkgs in whole. But I think I found my problem. I think I have a recursion because of utillinux
mallox has joined #nixos
karantan has joined #nixos
<bk1603> One final question, I wrote a script for the status monitor, and it basically runs forever, which is why I think I can't use it `displayManager.sessionCommands`. How can I execute such a script everytime the window manager starts from `configuration.nix`?
<sterni> Kloenk: then there's no easy way definitely, nix after all is a programming language and not a data format after all
<bk1603> If I try `displayManager.sessionCommands = '' ./.xsetroot &'';` (with the new lines) dwm can't open up and I just return to lightdm.
noudle has quit []
kleisli_ has quit [Ping timeout: 260 seconds]
sangoma has quit [Quit: WeeChat 2.9]
<bk1603> https://pastebin.com/dCLUUWeK the script
karantan has quit [Ping timeout: 260 seconds]
<kloenk> bk1603: '' try ~/.xsetroot & '';. not sure, but it could help
<cole-h> Even better would be `${./.xsetroot} &`
<kloenk> cole-h++
<{^_^}> cole-h's karma got increased to 92
werner292 has joined #nixos
<bk1603> Would there be a way of not using the `.xsetroot` file at all? And simply writing out the lines in the configuration.nix file itself? Would `${while \ script stuff \ done} &` work?
<kloenk> how does callPackage work? when my package has the attribute `utillinux` and I overrwite it, does every other dependencie also gets overwritten?
gv has quit [Remote host closed the connection]
<sterni> Kloenk: callPackage gives a package all its inputs from its current context, so no if you override one package to use a different utillinux not all packages it depends on will also use it
<sterni> Kloenk: but you can do that by overriding the entirity of pkgs or probably better using an overlay
<kloenk> sterni: yes, I know, thanks :-). I'm just still confused that systemd builds, but my dbus does not build, because of a recursion of lvm with utillinux (as far as I can tell)
bk1603 has quit [Remote host closed the connection]
<kloenk> also confused that dbus seems to depend on dbus?
<sterni> as far as I've read bootstrapping everything systemd is a bit of a nightmare
<sterni> but i don't know any details
<cole-h> Kloenk: re see what depends on systemd: I think you can use ofborg's outpaths.nix script after making a minor change in the systemd derivation: https://github.com/NixOS/ofborg/blob/released/ofborg/src/outpaths.nix
<cole-h> (maybe the minor change is unnecessary)
<{^_^}> [nixpkgs] @yvesf opened pull request #98290 → Qcad 3.25.2.0 → https://git.io/JUE2q
<{^_^}> [nixpkgs] @samuela closed pull request #98289 → Update vscodium to 1.49.1 → https://git.io/JUEgf
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fe3a49fd904 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<mrSpec> I added 20.03 stable channel, to upgrade from 19.03→20.03, then I called: nixos-rebuild switch --upgrade however it failed while building derivation: https://pastebin.com/56tbmVVc Could someone tell me where to look at and what should I fix?
<{^_^}> [nixpkgs] @doronbehar closed pull request #98216 → WIP: gnome3: Update all gnome3. packages → https://git.io/JU06Y
<cole-h> mrSpec: Do you have an overlay for lxc?
<cole-h> If so, that's where I'd start.
<mrSpec> ah I totally forgotten that I do... I use https://github.com/lxc/lxc/commit/b31d62b847a3ee013613795094cce4acc12345ef.patch this patch
<cole-h> Try dropping that patch and see what happens :) It might've already been upstreamed between 19.03 and 20.03.
<mrSpec> yes, quite obvious solution. Thanks :)
cjpbirkbeck has joined #nixos
lordcirth has quit [Remote host closed the connection]
<cole-h> :)
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @doronbehar merged pull request #98287 → [20.09] gnomeExtensions.timepp: unstable-2019-03-30 -> unstable-2020-03-15; unbreak pkg → https://git.io/JUEzL
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to release-20.09: https://git.io/JUEa3
cjpbirkb1 has quit [Ping timeout: 258 seconds]
lordcirth has joined #nixos
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @samuela opened pull request #98291 → ###### Motivation for this change Upgrades vscodium from 1.48.2 to 1.49.1 → https://git.io/JUEaR
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @samuela closed pull request #98291 → ###### Motivation for this change Upgrades vscodium from 1.48.2 to 1.49.1 → https://git.io/JUEaR
knupfer has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #98292 → pulseeffects: 4.8.0 -> 4.8.1 → https://git.io/JUEaa
<court_jester> There's any mini root filesystem download options like https://alpinelinux.org/downloads/ ? I'm trying to build with https://ish.app/ but the shell script installer is taking too long
mallox has quit [Quit: WeeChat 2.9]
fendor has joined #nixos
meh` has joined #nixos
nek0 has quit [Remote host closed the connection]
lambda-11235 has joined #nixos
<bbigras> court_jester: I wonder if https://github.com/t184256/nix-on-droid could be adapted to that ish app.
adelbertc has quit [Quit: Connection closed for inactivity]
meh` has quit [Ping timeout: 260 seconds]
<court_jester> hmmm, I don't think so. ish is emulating i686 (unfortunately)
<bbigras> oh ☹️
ardumont has quit [Ping timeout: 244 seconds]
meh` has joined #nixos
<court_jester> Seems that this is how alpine build all their images:
ardumont has joined #nixos
<court_jester> the build scripts for nixos are open? Would this kind of contribution make sense to yourfolks?
lordcirth has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @samuela opened pull request #98293 → vscodium: 1.48.2 -> 1.49.1 → https://git.io/JUEV1
balodja has joined #nixos
<{^_^}> [nixpkgs] @samuela opened pull request #98294 → vscodium: 1.48.2 -> 1.49.1 → https://git.io/JUEVD
<{^_^}> [nixpkgs] @samuela closed pull request #98294 → vscodium: 1.48.2 -> 1.49.1 → https://git.io/JUEVD
<balodja> Hello again guys. I'm still fighting with the Gnucash package. So help me kindly to understand how to debug an issue.
<balodja> During the installation phase Gnucash copies some documentation files to $out/share/doc, meanwhile it should copy them to $out/share/doc/gnucash.
<balodja> See lines 73-87 and 98.
<balodja> The code seems correct to me, but it doesn't work as intended.
orivej has quit [Ping timeout: 272 seconds]
<balodja> And I don't know how to debug it. Because you know nix begins to rebuild nearly the whole world when I add a few print statements to that script.
<court_jester> I have created a new issue related do mini root filesystem images: https://github.com/NixOS/nixpkgs/issues/98295
<{^_^}> #98295 (by ayr-ton, 31 seconds ago, open): Mini root filesystem images
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<balodja> The price of adding one debug print to setup hooks seems to be very high (a few hours or so). I'm not ready for that.
<{^_^}> [nixpkgs] @samuela closed pull request #98293 → vscodium: 1.48.2 -> 1.49.1 → https://git.io/JUEV1
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d1befddac38 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<balodja> Does exist a more elegant way of debugging the build scripts/hooks and so?
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @samuela opened pull request #98296 → vscodium: 1.48.2 -> 1.49.1 → https://git.io/JUEVA
<symphorien[m]> export NIX_DEBUG=10 I think
<symphorien[m]> or even preConfigure = ''set -x'';
<{^_^}> [nixpkgs] @mweinelt opened pull request #98297 → pythonPackages.{segments,clldutils,csvw}: init → https://git.io/JUEVp
knupfer has quit [Ping timeout: 272 seconds]
<balodja> I tried adding 'set -xe'. Bash then generously prints lots of stuff, excluding the lines 73-87.
growpotkin has joined #nixos
cosimone has joined #nixos
b has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #98298 → xmlbird: fix build with python 3.8 → https://git.io/JUEwo
<{^_^}> [nixpkgs] @risicle merged pull request #98278 → sonic-lineup: 1.0.1 -> 1.1, fix build → https://git.io/JUEcV
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JUEwi
niksnut has quit [Ping timeout: 258 seconds]
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<{^_^}> [nixpkgs] @Kloenk opened pull request #98299 → systemd: enable homed → https://git.io/JUEwb
leah2 has quit [Ping timeout: 272 seconds]
<bbigras> ^ nice. I wonder if it would play well with nix-community/impermanence
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
Thra11 has quit [Quit: WeeChat 2.9]
spudly has quit [Ping timeout: 264 seconds]
spudly- is now known as spudly
tsrt^ has quit []
ntwhaaci^ has joined #nixos
<{^_^}> [nixpkgs] @povik opened pull request #98300 → python3.pkgs.pysdl2: fix build → https://git.io/JUErL
<{^_^}> [nixpkgs] @risicle opened pull request #98301 → sslyze: fix build → https://git.io/JUErq
<kloenk> bbigras: what should play well with nix-community/impermanence? I missed the context
<bbigras> Kloenk: systemd-home. That's the new thing using 1 file or something for home I think.
<bbigras> systemd-homed*
balodja has left #nixos [#nixos]
nek0 has joined #nixos
<kloenk> bbigras: oh yes. also curios about that. I not even understood how to use systemd-homed. (but I got it to compile xP)
<bbigras> Kloenk: I have no idea how it works. it seems it can lock /home on suspend when encryption is used but I have no idea if it makes sense with full disk encryption.
leah2 has joined #nixos
<kloenk> I think you also somehow can have your home on an usb stick, and just log out, take your usb stick to another pc, log in again, and continue where you left
<{^_^}> [nixpkgs] @ajs124 opened pull request #98302 → wordpress: 5.4.2 -> 5.5.1 → https://git.io/JUErW
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5ea751ca704 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
polarfire has quit [Quit: WeeChat 2.7.1]
<damjan> Kloenk: that's a goal, but the tooling for that is not fully finished
thelounge81 has joined #nixos
meh` has quit [Ping timeout: 240 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
thelounge81 has quit [Quit: The Lounge - https://thelounge.chat]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
thelounge81 has joined #nixos
cantstanya has quit [Ping timeout: 240 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
cantstanya has joined #nixos
hoxtonhopper has joined #nixos
abathur has joined #nixos
gustavderdrache has joined #nixos
cosimone has quit [Ping timeout: 260 seconds]
justanotheruser has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #98304 → maintainers/scripts/update.nix: Add support for auto-commiting changes → https://git.io/JUEoy
<{^_^}> [nixpkgs] @jtojnar closed pull request #59372 → maintainers/scripts/update.nix: Add support for auto-commiting changes → https://git.io/fjmku
fendor has quit [Remote host closed the connection]
tylerjl has quit [Quit: ZNC 1.7.5 - https://znc.in]
leothrix has joined #nixos
colecf has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #98305 → python3Packages.lightparam: fix source and deps → https://git.io/JUEKJ
<colecf> Hi, I'm trying to use a swapfile, and adding it to my hardware-configuration.nix work fine (it shows up in swapon -s), but nixos-generate-config always erases it. Is there a way to get nixos-generate-config to recognize it?
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> colecf: add it to configuration.nix instead
<colecf> ah, ok. Wasn't sure if that was a valid thing to do, thanks
<clever> colecf: nixos-generate-config will scan things like what is currently mounted, and then just blow away the whole hardware-configuration.nix and replace it
<clever> colecf: so if you want changes in hardware-configuration.nix to stick, you have to stop running nixos-generate-config
<clever> or just edit configuration.nix instead, since nixos merges them together for you
<colecf> Good to know. I thought it would start detecting it and writing it into the file like how it detects newly-added harddrives
Fare has joined #nixos
adam_ has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 244 seconds]
mbrgm_ is now known as mbrgm
eoli3n_ has quit [Ping timeout: 256 seconds]
werner292 has quit [Quit: werner292]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
philr has joined #nixos
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #98306 → libavif: init at 0.8.1 → https://git.io/JUEKN
<{^_^}> [nixpkgs] @mkg20001 opened pull request #98307 → libavif: init at 0.8.1 → https://git.io/JUEKA
ml| has quit [Ping timeout: 272 seconds]