andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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
klntsky has joined #nixos
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #82699 → Libnma → https://git.io/JvihR
fendor__ has quit [Ping timeout: 240 seconds]
lordcirth__ has joined #nixos
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
lordcirth_ has quit [Ping timeout: 240 seconds]
<aminechikhaoui> gchristensen I remember you once looked at the wireguard systemd services issue where they don't start on boot correctly ? do you remember that and did you ever figure what was the problem
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
<kalbasit> is there a way to get the list of all the files that made up the modules in a lib.evalModules?
<cole-h> I wish fontconfig 2.13.92 would merge so I could stop having to rebuild qt every time I update my nixpkgs :(
jgeerds has quit [Ping timeout: 255 seconds]
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Frostman opened pull request #82700 → hugo: 0.67.0 -> 0.67.1 → https://git.io/JvihN
orivej has joined #nixos
rardiol has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #79155 → icepeak: init at 0.7.2 → https://git.io/JvsFF
<{^_^}> [nixpkgs] @cdepillabout pushed 5 commits to haskell-updates: https://git.io/Jvijq
thc202 has quit [Ping timeout: 256 seconds]
teto has quit [Ping timeout: 245 seconds]
<colemickens> cole-h: why are you carrying it for now, is it actually worth it? or are you weirdly stubborn like me
<cole-h> fontconfig? Because I'm on Arch, which has fc 2.13.92 :')
<cole-h> Tired of seeing the "unknown element in fontconfig" messages
nek0 has joined #nixos
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @nh2 merged pull request #82663 → postfix: 3.4.9 -> 3.4.10 → https://git.io/Jvi7s
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JvijY
nek0 has quit [Read error: Connection reset by peer]
erictapen has quit [Ping timeout: 250 seconds]
erictapen has joined #nixos
<{^_^}> [nixpkgs] @eadwu closed pull request #82417 → vscode-extensions.WakaTime.vscode-wakatime: prefer local wakatime → https://git.io/Jv6zZ
organixpear has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
<colemickens> lovesegfault if I have an nvidia 1080 but my cpu/mobo have integrated, is the nvidia worth using with the patches you mentioned weeks back?
<colemickens> if I'm going to be locked in for weeks and hardware shipments are all delayed, I'm going to dual boot my gaming pc.
nek0 has joined #nixos
nek0 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lilyball opened pull request #82701 → cocoapods: 1.9.0 -> 1.9.1 → https://git.io/Jvijp
jojojojojo has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<ottidmes> is $PYTHON supposed to be set when python is added as a build input? I am trying to build a modified samba, I basically only change some hardcoded flags from the current master samba package, still it fails for me in ./configure due to $PYTHON being empty.
<ottidmes> to be sure it was not any of my changes I just tried the package file as-is from master, and it still fails with the same issue, guess I could try to change to the master nixpkgs commit and see if it then builds, or else a failing package was committed to master
<ottidmes> phfew, it does work with Nixpkgs on the master commit, so $PYTHON is being set somehow between my 20.03 commit and the master commit that last changed samba
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvPeQ
nek0 has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<lovesegfault> colemickens: with my patches nouveau all the way
<lovesegfault> it works _flawlessly_
<ottidmes> lovesegfault: just curious what kind of patches are those, for the simplest dual boot, you don't normally need to patch the other OS, right?
<lovesegfault> ottidmes: they are nouveau patches for pascal-family nvidia gpus to work
<lovesegfault> courtesy of karolherbst on #nouveau
mexisme has quit [Ping timeout: 272 seconds]
<ottidmes> Ah, did not know they weren't supported yet
<ottidmes> I still plan to further experiment with NixOS on Hyper-V with X server running in Win10
<ajs124> what are the arguments that get passed to a submodule?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82702 → python27Packages.rq: 1.2.2 -> 1.3.0 → https://git.io/JvPvU
slack1256 has quit [Remote host closed the connection]
<tomberek> did something recently change with overridePythonAttrs?
<ajs124> For context: I'm trying to split some options out of a module into another one and these options use modulesPath. which gives me "attribute 'modulesPath' missing, at /nix/store/10381d12gcvpjhgv5pm2p5ppcg5bv7bw-nixos-19.09-small-19.09-small.tar.gz/nixos-19.09-small/lib/modules.nix:163:28"
orivej has joined #nixos
<ottidmes> ajs124: modulesPath seems to be a specialArgs attribute defined in lib/modules.nix, and specialArgs for submodules is empty by default: https://github.com/NixOS/nixpkgs/blob/master/lib/types.nix#L465-L472
<ajs124> I'm trying to use submoduleWith, right now. Do you think that will work?
<ottidmes> That would be my first choice too, pass it the modulesPath from the parent module explicitly
KeiraT has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-homepage] @grahamc merged pull request #347 → Add custom 404 page → https://git.io/JviAt
<{^_^}> [nixos-homepage] @grahamc pushed 2 commits to master: https://git.io/JvPvG
KeiraT has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « cinnamon.cinnamon-control-center: so not use aliases »: https://git.io/JvPvZ
organixpear has quit [Ping timeout: 250 seconds]
<ottidmes> ajs124: Thanks for the PR on nix-prefetch BTW, now that I speak you, why the "--non-interactive\\ " for svn?
<ajs124> 1) It didn't work without that, 2) the documentation (e.g. http://svnbook.red-bean.com/en/1.7/svn.ref.svn.html) says "(but only with '--non-interactive')"
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
<ajs124> as for what that is, you'll have to ask however wrote (this part of) subversion
<ajs124> s/what/why/
<ajs124> I also have this other commit on our fork, for multiple concurrent invocations of nix-prefetch, but for my current use-case I'll probably drop nix-prefetch and just use svn and nix-hash.
<ottidmes> ajs124: Ah cool, I added it to my TODO a few days ago :) "The overlays linking workaround does not work when `nix-prefetch` is called concurrently."
<ajs124> ^^ my implementation isn't great, though. It tends to leave files behind, in certain situations. Some traps/exit hooks could probably solve that.
<{^_^}> [nixpkgs] @erictapen opened pull request #82703 → [nixos-20.03] haskellPackages.hakyll-contrib-hyphenation: jailbreak → https://git.io/JvPvz
gustavderdrache has quit [Quit: Leaving.]
<ottidmes> Yeah, thought about that too, but I am thinking of doing a bit of an overhaul some time soon, because it was also brought to my attention that allow-unsafe-native-code-during-evaluation can be problematic for some users
<ottidmes> So I plan to take a look at these workarounds in the progress and see if I can maybe approach them differently
dycan has quit [Remote host closed the connection]
<ottidmes> ajs124: BTW the documentation of SVN says it will only do --trust-server-cert with --non-interactive, but wrapInsecureArgBin, removes those arguments, rather than adding them, so I don't see why it would need to remove --non-interactive too
BugeyeD has quit [Remote host closed the connection]
<ajs124> Hm. Right. Err. I guess I don't know why this works, but it does.
<ajs124> Yep, just reproduced it. Without it svn throws a "svn: E230001: Server SSL certificate verification failed: issuer is not trusted".
<{^_^}> [nixpkgs] @zowoq opened pull request #82704 → ripgrep: 11.0.2 -> 12.0.0 → https://git.io/JvPvP
<ottidmes> ajs124: which makes sense, cause we removed the flag saying, just trust the server cert without checking
<ajs124> Sure. It seems unable to find the cacerts, though. Which is weird, because running svn in a regular (nix)shell finds them just fine.
<ottidmes> I think your addition makes my argument drop check fail, thus the flag remain
<ajs124> As in, the server I'm fetching from actually has a valid trusted certificate.
<ajs124> Oh no.
mexisme has joined #nixos
nek0 has quit [Remote host closed the connection]
nek0 has joined #nixos
h0m1 has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos
<ottidmes> ajs124: with the info you gave me I should be able to make it work, but I might need to patch fetchsvn with a custom builder.sh, cause we can do what they do now for proxiesto make it point to the cacert bundle: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/fetchsvn/builder.sh#L10-L12
<ajs124> huh, so every fetchsvn can be mitm'd? nice. maybe we should just fix this in nixpkgs?
b has quit [Quit: Lost terminal]
<gchristensen> the idea is the pre-determined hash makes the mitm vector moot
<ajs124> True. Then again, people tend to TOFU a lot
<ottidmes> and it makes it more future proof, cause certicates will fail over time
<gchristensen> ajs124: a MITM which impacts you, and me, and ofborg, and hydra is quite a large MITM. that said, yes
<ottidmes> so I get why it is the default in nixpkgs, but for the prefetcher you want to be able to actually trust your first use, so there it makes sense to want to check
<gchristensen> +1
<{^_^}> [nixpkgs] @jtojnar opened pull request #82705 → maintainers/teams: add gnome team → https://git.io/JvPvH
<ottidmes> I am off to sleep now, I will put those fixes for svn in sometime tomorrow, thanks for the help ajs124!
<ajs124> gchristensen: sure. Although for my particular use case, it would only need to affect my computer at home and my hydra
<ajs124> ottidmes: thanks for nix-prefetch ^^ glad I could help
<lovesegfault> can I override the ffmpeg mpv uses?
<lovesegfault> cc. gchristensen maybe?
* lovesegfault finds himself wishing for global USE flags
ottidmes has quit [Ping timeout: 265 seconds]
<tomberek> lovesegfault: it looks like you can.
<tomberek> lovesegfault: are you familiar with overlays?
<lovesegfault> oh, is that what I'd do?
<lovesegfault> I'd overlay ffmpeg_4 to just _always_ have opengl support?
<ajs124> you can just mpv.override { ffmpeg_4 = custom-ffmpeg; }
<jojojojojo> you can also do a global packageOverrides
<{^_^}> [nixpkgs] @maksteel opened pull request #82706 → wfdb: init at 10.6.2 → https://git.io/JvPvx
<lovesegfault> jojojojojo: could you show me what that looks like?
<jojojojojo> uh yeah lemme find the docs
<jojojojojo> it's not a perfect solution cuz iirc it forces some extra build-from-source
nuncanada2 has quit [Ping timeout: 240 seconds]
<jojojojojo> the thing ajs124 mentioned is a more targeted technique
<cole-h> lovesegfault: tbh I'd do what ajs124 suggested and override `ffmpeg_4` to be an overlayed ffmpeg with opengl
<jojojojojo> https://nixos.org/nixos/nix-pills/override-design-pattern.html gives more detail on the non-global method
<lovesegfault> does this look right for an overlay? https://gist.github.com/621ba6d18444e67414076bf345280b9a
kolbycrouch has joined #nixos
<lovesegfault> jojojojojo: reading
<cole-h> lovesegfault: You could do that. Or you could make a new ffmpeg4 using that override (e.g. `ffmpeg_4_with_opengl`) and then use that in mpv and not require rebuilds of whatever else uses ffmpeg_4
<lovesegfault> cole-h: I'm rebuilding on that beast of a server
<lovesegfault> so it's fine
<lovesegfault> takes like 5 mins
<cole-h> Yeah, but it's a waste
<kolbycrouch> If someone has the time. Would they mind looking at my PR #82633? I'm not understanding this check failure what-so-ever.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82633 (by kolbycrouch, 20 hours ago, open): retroarch: 1.8.1 -> 1.8.4
<cole-h> Add literally 1 character and prevent unnecessary rebuilds :P
<lovesegfault> cole-h: Why? I _always_ want ffmpeg to work with opengl
<lovesegfault> I can't really think of a scenario in my life where I don't want that
<cole-h> Fair
<lovesegfault> Maybe in a really low-powered thing that I only use for audio?
iyzsong has joined #nixos
<lovesegfault> build started
<evils> kolbycrouch: have you clicked the 'details' link?
<kolbycrouch> evils: yes, I can't seem to find/understand anything in that log that makes sense to me.
<lovesegfault> build finishes (cole-h)
<lovesegfault> all 174 revdeps of ffmpeg_4
<cole-h> OK, OK, no need to flex :P
<lovesegfault> i stronk
<evils> kolbycrouch: not to be rude, but line 2: trace: lib.zip is deprecated, use lib.zipAttrsWith instead; those lines seem fairly straight forward to me
lordcirth__ has quit [Remote host closed the connection]
<cole-h> Pretty sure that's just borg and not related to his PR. I don't see any `zip` used anywhere except for `libzip`
<evils> huh, yea i was assuming that libzip was what is being referred to
<cole-h> libzip != lib.zip :P
<kolbycrouch> Yea lib.zip isn't used anywhere in this directly at least.
<cole-h> kolbycrouch: Unrelated, but pretty sure we require `githubId` in the maintainer's list now
<kolbycrouch> cole-h: Yea I saw that after my PR, but I didn't see anything in the log complaining about it.
<cole-h> Only people complain about it. IIRC there's an RFC mandating it now, I think
<evils> the actual error, "this PR does not cleanly list..." i've had that when i forgot to add myself as a maintainer, maybe that's related your maintainer-list change not being a separate commit (which it must be)
<cole-h> "GitHub handles can change from one user to another, and so we will change the maintainer list to include the GitHub user ID as well as their handle. "
<cole-h> Please add it :)
<kolbycrouch> evils: Ahh I see. I did notice after posting my PR of another PR with that prefix "[maintainers]". Maybe I should close the PR and make seperate ones.
<cole-h> Why would you close it?
<cole-h> You just need to separate out the changes into logical commits :) `maintainers: add kolbycrouch`, `retroarch: 1.8.1 -> 1.8.4`, etc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82707 → python27Packages.uamqp: 1.2.5 -> 1.2.6 → https://git.io/JvPfG
blaggacao has quit [Ping timeout: 240 seconds]
<kolbycrouch> cole-h: Oh, so two different commits are needed not PR's.
<cole-h> I don't know if it makes sense to separate out the rest of your retroarch changes, but you will indeed need at least 2 commits
<gchristensen> while evaluating the attribute 'license' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-0-gleber.ewr1.nix.ci/pkgs/misc/emulators/retroarch/cores.nix:42:14: is in the trace, and a hint as to where the error is coming from
waleee-cl has quit [Quit: Connection closed for inactivity]
<lovesegfault> idk what changed but nix search sucks now
<lovesegfault> nix search vdpau -> no results
<lovesegfault> wat
<cole-h> You mean like this?
blaggacao has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #82698 → ostree: 2020.2 -> 2020.3 → https://git.io/Jvipx
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvPf8
<cole-h> lol
CMCDragonkai1 has joined #nixos
<kolbycrouch> gchristensen: I saw that, but I can't see how that line in that file is a problem. I get no error trying to build it with this tree on multiple machines.
<cole-h> Because we require a license for all package, IIRC
<cole-h> packages*
<kolbycrouch> cole-h: but that line was already in the expression, even before my last successful PR 6 months ago. I just inherits the license from the main retroarch derivation right?
blaggacao has quit [Ping timeout: 246 seconds]
mexisme has quit [Ping timeout: 256 seconds]
blaggacao has joined #nixos
<colemickens> lovesegfault: I can repro if I unset NIX_PATH and run nix search -u vdpau
<cole-h> RIP his war on NIX_PATH
<colemickens> I mean, `NIX_PATH= nix search -u -f ~/code/nixpkgs vdpau` works fine
<colemickens> (similar to nix-env)
<lovesegfault> cole-h: I will kill NIX_PATH
<lovesegfault> it's the root of all evil
<lovesegfault> 🤔
<gchristensen> NIX_PATH is where software comes from, software is bad. bad is evil. q.e.d.
<colemickens> haha
<cole-h> A-ha, kolbycrouch, I think I found the issue.
<cole-h> Case-sensitive
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<gchristensen> cole-h: those links don't work because it is linking in to a collapsed file :( what line of cores.nix?
<cole-h> 482
<cole-h> license = "Non-Commercial";
cptchaos83 has joined #nixos
<gchristensen> ah, okay I'm off to bed!
<cole-h> Should be `license = "Non-commercial";`, I bet
<cole-h> o/ gchristensen++
<{^_^}> gchristensen's karma got increased to 232
<evils> huh, i was under the impression license could be an arbitrary string
<cole-h> ¯\_(ツ)_/¯
<cole-h> It's the only weird-looking license string
<kolbycrouch> cole-h: I see where I did that, why would it fail the PR check but not error out when building? I thought that was just an arbitrary string for unknown licenses.
<cole-h> ¯\_(ツ)_/¯
<cole-h> Same reason it doesn't error when you make a local derivation that has no metadata at all
<evils> building it doesn't check the metadata, the bot on the PR does
<cole-h> Nixpkgs is stricter and requires valid metadata fields
<{^_^}> [nixpkgs] @hamishmack opened pull request #82708 → openssl: Fix openssl build for x86_64-unknown-linux-musl → https://git.io/JvPfi
<kolbycrouch> I'm a bit of a git noob, is it OK for me to close the PR and submit a new one without the maintainer change, and fixing the license thing?
<cole-h> I'm of the opinion that that is a big no-no.
<kolbycrouch> Isn't making further commits bad? espcially ones that fix mistakes from the previous?
<Squarism> Hey, how do I make changes to /etc/nixos/configuration.nix actually "install" things?
<kolbycrouch> I guess I just make a new commit fixing it all, then squash it into the first?
<cole-h> Yep. Or you could rebase to just edit that first commit
<evils> kolbycrouch: i'd probably clean up my local repo and then force push to the github branch you made the PR for
<cole-h> ^ (easiest way IMO is to rebase that first commit)
<cole-h> Maybe case doesn't matter... We'll find out when you push again :P
<lovesegfault> I h/quit
lovesegfault has quit [Quit: WeeChat 2.7.1]
<Squarism> or how does /etc/nixos/configuration.nix relate to nix-env install command? Is the latter a way of manipulating the former?
<cole-h> To install packages system-wide, I believe you add them to the `environment.systemPackages` list
<cole-h> `nix-env` is totally unrelated to configuration.nix
<Squarism> cole-h, what do they both represent then?
<cole-h> `nix-env` is for imperative, user-specific packages, `environment.systemPackages` is for declarative, system-wide packages
<Squarism> okok
<Squarism> I read that "nixos-rebuild" should implement updates found in /etc/nixos/configuration.nix. But that command isnt available for me - on a otherwise seemingly working vanilla nix install on ubuntu 18.04
<cole-h> Read the command again ;)
<cole-h> *nixos*-rebuild
<Squarism> oh ok.. so I dont have nixos then i guess but just nix
<cole-h> Correct. I don't know how normal people manage packages and the like on non-NixOS systems, but I personally use home-manager: https://github.com/rycee/home-manager
<cole-h> Similar to configuration.nix (just add to `home.packages = []` for declarative package installation), but not the same
<Squarism> cole-h, thanks. Appreciated
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 240 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<Baughn> Squarism: Though when you decide to try nixos, we'll be happy to help. :)
aw has joined #nixos
spacefrogg has joined #nixos
fling has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
mumuluxi has joined #nixos
wucke13 has joined #nixos
organixpear has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #80669 → webdis: init at 0.1.9 → https://git.io/JvRqd
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPfF
fling has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #82528 → circleci-cli: 0.1.6072 -> 0.1.6949 → https://git.io/JviYU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPfA
<{^_^}> [nixpkgs] @marsam merged pull request #82701 → cocoapods: 1.9.0 -> 1.9.1 → https://git.io/Jvijp
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JvPfx
c0c0 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #82536 → dolt: 0.12.0 -> 0.15.0 → https://git.io/JviO1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPJe
yuken_ is now known as yuken
CMCDragonkai1 has quit [Ping timeout: 250 seconds]
orivej has quit [Ping timeout: 246 seconds]
organixpear has quit [Changing host]
organixpear has joined #nixos
organixpear has left #nixos [#nixos]
<{^_^}> [nixpkgs] @marsam merged pull request #82271 → dpkg: 1.19.7 -> 1.20.0 → https://git.io/JvKuy
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPJG
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.36 « fixup! fixup! squash! gjs: install test libs to installedTests »: https://git.io/JvPJW
glittershark has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #82581 → thanos: 0.7.0 -> 0.11.0 → https://git.io/Jvilh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPJ8
<{^_^}> [nixpkgs] @marsam merged pull request #82546 → hetzner-kube: 0.4.1 -> 0.5.1 → https://git.io/Jvi3d
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPJz
ddellacosta has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #82704 → ripgrep: 11.0.2 -> 12.0.0 → https://git.io/JvPvP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPJV
<{^_^}> [nixpkgs] @marsam merged pull request #82557 → matterbridge: 1.16.3 -> 1.16.5 → https://git.io/JviGK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPJr
<{^_^}> [nixpkgs] @marsam merged pull request #82565 → mod: 0.2.0 -> 0.2.2 → https://git.io/JvinL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPJi
lambdaclock has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @ehmry merged pull request #82636 → stubby: enable Type=notify for better startup sequencing → https://git.io/Jvi6P
<{^_^}> [nixpkgs] @ehmry pushed 2 commits to master: https://git.io/JvPJy
butterthebuddha has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @ehmry merged pull request #81721 → aespipe: install the included bz2aespipe wrapper → https://git.io/JvaAv
<{^_^}> [nixpkgs] @ehmry pushed to master « aespipe: install the included bz2aespipe wrapper »: https://git.io/JvPJb
<{^_^}> [nixpkgs] @bcdarwin opened pull request #82709 → ocamlPackages.lacaml: 11.0.3 -> 11.0.6 → https://git.io/JvPJN
fling has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
nixy3717 has quit [Quit: The Lounge - https://thelounge.chat]
nixy3717 has joined #nixos
lorimer has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #82559 → minify: 2.5.0 -> 2.7.3 → https://git.io/JviGj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPUG
rardiol has quit [Ping timeout: 250 seconds]
abathur has quit [Ping timeout: 240 seconds]
skrzyp1 is now known as skrzyp
kleisli has joined #nixos
erictapen has quit [Ping timeout: 246 seconds]
gxt has joined #nixos
fling has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #82700 → hugo: 0.67.0 -> 0.67.1 → https://git.io/JvihN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPUg
lovesegfault has joined #nixos
<danderson> right, homedir isn't ready, I can't code for work yet, but screw it, NixOS laptop is on the primary display now
<danderson> so... I guess I should step on it and get it working properly :)
reallymemorable has quit [Quit: reallymemorable]
skrzyp has quit [Remote host closed the connection]
* lovesegfault squints
<lovesegfault> error: experimental Nix feature 'ca-references' is disabled
<lovesegfault> wat
skrzyp has joined #nixos
Acou_Bass has quit [Ping timeout: 256 seconds]
<lovesegfault> dls
Acou_Bass has joined #nixos
chagra has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82710 → python27Packages.zc_buildout: 2.13.2 -> 2.13.3 → https://git.io/JvPUN
chagra_ has quit [Ping timeout: 240 seconds]
drakonis has quit [Quit: WeeChat 2.7.1]
Acou_Bass has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
Acou_Bass has joined #nixos
<danderson> hmkay, well, this laptop is super janky on nixos, now that I'm trying to use it :/
<danderson> display managers are all half-borked, for one
bhipple has quit [Ping timeout: 256 seconds]
<danderson> and the dock seems to be dropping USB periodically, cool cool :/
<{^_^}> [nixpkgs] @Izorkin opened pull request #82711 → nixos/malloc: add jemalloc450-mysql memoryAllocator → https://git.io/JvPT3
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b25633a6f9a (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
knupfer has quit [Ping timeout: 246 seconds]
gerschtli has joined #nixos
<danderson> hmkay, at least the periodic freezing seems to have been fixed by bypassing the in-display USB hub. I guess laptop->dock->screen->device was a bit too much complexity.
<danderson> so, the various desktop environments like plasma and mate feel like they're missing a ton of software, compared to a similar install on Arch or Ubuntu. Is there an obvious well-known metapackage I'm missing to make it less bare out of the box?
<danderson> e.g. on mate, I don't get any way to edit settings, for instance.
c0c0 has joined #nixos
v88m has quit [Ping timeout: 240 seconds]
<danderson> aha. Looks like I'm "lucky" and hit https://github.com/NixOS/nixpkgs/issues/82571
<{^_^}> #82571 (by romildo, 1 day ago, open): xfce, mate: preferences not shown in menu
<danderson> yay running on unstable :/
Cale has quit [Ping timeout: 240 seconds]
troydm has joined #nixos
<danderson> lol, channel update + nixos-rebuild -> basically the entire system getting replaced
<danderson> unstable moves fast.
zupo has joined #nixos
Cale has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #82712 → nuweb: 1.58 -> 1.60, fix build → https://git.io/JvPTr
cole-h has quit [Ping timeout: 240 seconds]
palo1 has joined #nixos
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
jakobrs has joined #nixos
<jakobrs> Would it be possible to support something like this?
<jakobrs> nix-build ... -I nixpkgs='<nixos>'
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aa481358c6c (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
ToxicFrog has quit [Ping timeout: 268 seconds]
ixxie has quit [Ping timeout: 255 seconds]
orivej has joined #nixos
ToxicFrog has joined #nixos
malSet has quit [Quit: Quit.]
alexherbo2 has joined #nixos
malSet has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
bvdw has joined #nixos
akegalj has joined #nixos
jakobrs has quit [Quit: WeeChat 2.7.1]
<colemickens> jakobrs what is your goal?
xelxebar has quit [Ping timeout: 240 seconds]
<danderson> Right. Turns out powertop autotuning is not safe to run on modern Ryzen systems. It's way, way too aggressive.
<danderson> e.g. it turns on USB autosuspend for HID peripherals, so keyboard/mouse get all janky because USB keeps shoving them into low-power mode
<danderson> In contrast, TLP is like "oh hey, HID is for interactive input, maybe I won't make it randomly lag 200ms for no reason", like a sensible boy
sgrunert has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82713 → redis: 5.0.7 -> 5.0.8 → https://git.io/JvPk9
arahael1 has joined #nixos
Arahael has quit [Ping timeout: 255 seconds]
o1lo01ol1o has joined #nixos
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
Acou_Bass has joined #nixos
FRidh has joined #nixos
maddo has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
civodul has joined #nixos
mexisme has joined #nixos
Jackneill has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixos-homepage] @edolstra pushed to master « Change 200 redirects to 302 »: https://git.io/JvPIm
<Yaniel> unstable moves again?
<{^_^}> [nixpkgs] @markuskowa merged pull request #81117 → megasync: 4.2.3.0 -> 4.3.0.8 → https://git.io/JvuoB
<{^_^}> [nixpkgs] @markuskowa pushed 4 commits to master: https://git.io/JvPIs
zarel has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
zarel has joined #nixos
c0c0 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to release-20.03 « bind: 9.14.10 -> 9.14.11 (small bugfix) »: https://git.io/JvPI6
_ris has quit [Ping timeout: 258 seconds]
Ariakenom has joined #nixos
domogled has joined #nixos
tomberek has quit [Ping timeout: 256 seconds]
bahamas has joined #nixos
<{^_^}> [nixpkgs] @guibou closed pull request #82684 → python37: 3.7.6 to 3.7.7 → https://git.io/JviAF
<{^_^}> [nixpkgs] @delroth opened pull request #82714 → libtxc_dxtn{,_s2tc}: remove from nixpkgs + hardware.opengl options → https://git.io/JvPI5
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @ehmry pushed to master « deltachat-electron: init 1.1.0 »: https://git.io/JvPIb
<{^_^}> [nixpkgs] @ehmry merged pull request #82391 → deltachat-electron: init 1.1.0 → https://git.io/Jv6cg
c0c0 has joined #nixos
Makaveli7 has joined #nixos
<the_pumpkin_man[> I've got a little question : when will NixOS 20.03 be available ? Will it be the 31, or sooner ?
fendor has joined #nixos
<tilpner> From past releases, don't rely on it releasing this month
ottidmes has joined #nixos
<the_pumpkin_man[> Oh, but then why is it called YY.MM then ?
veske2 has joined #nixos
<evils> it's aspirational, and it's usually released the 40th of that month
veske has joined #nixos
<etu> the_pumpkin_man[: We freeze it that month, and we start testing. But there's no gurantee that testing and fixing is done.
<etu> the_pumpkin_man[: Helping out with the ZHF testing is greatly appreciated
<the_pumpkin_man[> <evils "it's aspirational, and it's usua"> oh you don't have the same calendar that I have, ok xD
<LnL> the kickoff was also delayed a bit by some hydra problems, which won't help
<the_pumpkin_man[> <etu "the_pumpkin_man: Helping out wit"> Sorry, Im just a newcomer, so can't really help. I was just curious and impatient, because I know on distros like Ubuntu, they are named YY.MM because there is always a release on march and november
o1lo01ol1o has joined #nixos
<the_pumpkin_man[> Thanks for the infos :)
<the_pumpkin_man[> And just to know, what is ZHF ?
<etu> the_pumpkin_man[: Canonical is also a company that have paid engineers
<{^_^}> [nixpkgs] @Mic92 closed pull request #81427 → megasync: fix build with glibc 2.30 → https://git.io/JvgAK
<etu> the_pumpkin_man[: ZHF is Zero Hydra Failures, it's a list of failed builds that needs to be fixed.
<the_pumpkin_man[> <etu "the_pumpkin_man: Canonical is al"> and who stole your private data xD but that's another problem
<evils> well, we use that release model (every 6 months (no LTS')), if we called it 20.04, it'd still be released in the 5th month :P and get confused for another distro
<the_pumpkin_man[> Ok
<{^_^}> #80379 (by worldofpeace, 3 weeks ago, open): ZERO Hydra Failures 20.03
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82715 → rsyslog: 8.2001.0 -> 8.2002.0 → https://git.io/JvPLR
chloekek has joined #nixos
<the_pumpkin_man[> I will first have to learn how to package applications before helping. But once I did that, I will probably try to help
shabius has joined #nixos
never_released has quit [Max SendQ exceeded]
aswanson has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixos-homepage] @garbas opened pull request #350 → Remove disnix and redirect to github page → https://git.io/JvPLx
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82716 → simg2img: 1.1.3 -> 1.1.4 → https://git.io/JvPtv
ckauhaus has joined #nixos
__Myst__ has joined #nixos
never_released has joined #nixos
<__Myst__> hi, when using lnl's overlay ( https://gist.github.com/LnL7/570349866bb69467d0caf5cb175faa74 ) what should I use to upgrade packages?
<LnL> just nix-rebuild after updating your nixpkgs channel or whatever you're using
<{^_^}> [nixos-homepage] @garbas closed pull request #303 → Update Disnix version to 0.9 → https://git.io/Jeq6T
gagbo_ has joined #nixos
zupo has joined #nixos
xelxebar has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2acb89d1202 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixos-homepage] @garbas merged pull request #350 → Remove disnix and redirect to github page → https://git.io/JvPLx
<{^_^}> [nixos-homepage] @garbas pushed to master « Remove disnix and redirect to github page (#350) »: https://git.io/JvPtg
<{^_^}> [nixos-homepage] @garbas closed pull request #78 → WIP: Displaying package parameters → https://git.io/JvPt2
Shouou has joined #nixos
<{^_^}> [nixos-homepage] @garbas closed pull request #120 → packages: include unfree and broken packages in the search index → https://git.io/JvPtX
<Yaniel> uhh is there a way to make nixos-rebuild show which package it's pulling in that depends on openssl_1_0_2?
<ottidmes> Yaniel: I asked that same question before, let me look up the command fo rit
<ottidmes> Yaniel: nix-store --query --tree $(NIXPKGS_ALLOW_INSECURE=1 nix-instantiate '<nixpkgs/nixos>' -A system) (thanks to tilpner)
<Yaniel> excellent, thanks
<ottidmes> Yaniel: In my case it was mongodb, in case you are using it too
<Yaniel> yup
<Yaniel> via the unifi controller service
cyphase has quit [Ping timeout: 258 seconds]
opthomasprime has joined #nixos
<Taneb> "note: currently hard linking saves -1.19 MiB"
opthomasprime has left #nixos [#nixos]
<bqv[m]> Damn. Economical.
dingenskirchen has quit [Quit: dingenskirchen]
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
<__Myst__> LnL: and does that update and tell me what it's updating?
thc202 has joined #nixos
linarcx has quit [Quit: WeeChat 2.7.1]
chiefgoat has quit [Quit: ZNC 1.7.5 - https://znc.in]
chiefgoat has joined #nixos
mjrosenb has quit [Ping timeout: 255 seconds]
chiefgoat has quit [Client Quit]
chiefgoat has joined #nixos
adamtkh6 has quit [Quit: Ping timeout (120 seconds)]
adamtkh6 has joined #nixos
<LnL> __Myst__: I don't think so, but somebody posted changes that makes it print a diff
mexisme has quit [Ping timeout: 250 seconds]
ajp has quit [Quit: No Ping reply in 180 seconds.]
alexherbo2 has quit [Read error: Connection reset by peer]
mexisme has joined #nixos
rauno has quit [Remote host closed the connection]
Neo-- has quit [Ping timeout: 260 seconds]
reactormonk has joined #nixos
fendor_ has quit [Quit: Leaving]
ajp has joined #nixos
alexherbo2 has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82717 → saga: 7.5.0 -> 7.6.1 → https://git.io/JvPqr
sgrunert has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Ma27 merged pull request #80447 → matrix-synapse: 1.9.1 -> 1.11.1 → https://git.io/Jv46y
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to master: https://git.io/JvPqi
Shouou has quit [Ping timeout: 272 seconds]
<pkral> hi all, noob here... is there better way, how to get back into failed build environment, (i.e. when nix-build fails) ? My workflow is like this: run nix-build -K (which left build artifacts in /tmp/nix-build....) and then manually do sudo -s -u nixbld1 && cd /tmp/nix-build.... && source env-vars && cd src I suppose that there must be better way using nix-shell or whatever....
<{^_^}> [nixpkgs] @misuzu opened pull request #82718 → ext4-fs: fix image creation on armv7l when image is bigger than 2G → https://git.io/JvPqN
<LnL> pkral: check out the breakpointHook
dingenskirchen has joined #nixos
<pkral> @LnL that's exactly what I'm looking for, as usually somewhere in documentation :-) thank you!
jgeerds has joined #nixos
<Taneb> Does nix repl segfault a lot for everyone, or is that another symptom of my computer dying
grabb0id has joined #nixos
syd has joined #nixos
<syd> Can nix home manager set up a file with 600 permissions?
reactormonk has quit [Ping timeout: 256 seconds]
RRedcroft has joined #nixos
arahael1 is now known as Arahael
cyphase has joined #nixos
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
linkrage has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
bahamas has quit [Ping timeout: 246 seconds]
kloenk has joined #nixos
<kai_w> syd: not easily afaik, though you might be able to do it with runCommand. however, keep in mind that any files will also be written to the nix store, which is world readable, so home-manager (and nix in general) are not meant to manage secrets (which is the usual use-case for 600 permissions).
<syd> I understand the security concern and I'm willing to overlook that for reasons that have to do with my setup
<syd> I think I got things to work using the `onChange` attribute
<LinuxHackerman> Taneb: `nix run nixpkgs.memtester -c sudo memtester 4G` (or other amount close to the amount of RAM you have available)
<syd> kai_w The question is whether that will work on the first run
<syd> or only on 'changes'
<syd> and I don't find the `runCommand` that you mentioned here: https://rycee.gitlab.io/home-manager/options.html
reactormonk has joined #nixos
<kai_w> ah neat, you're probably further than me at this. runCommand is in nixpkgs, and it's what home-manager uses internally: https://github.com/rycee/home-manager/blob/release-19.09/modules/files.nix
<NobbZ[m]> bqv: `home.files.X.onChange` might help you
<Taneb> LinuxHackerman: many failures
sigmundv__ has joined #nixos
<bqv[m]> NobbZ: danke
<LinuxHackerman> Taneb: replace your RAM :)
s1341 has joined #nixos
<s1341> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<s1341> hi
<LinuxHackerman> Taneb: keep in mind that broken RAM can lead to corrupted data on disk as well, so if possible you should shut down your machine and not use it again until the RAM is replaced.
<LinuxHackerman> Taneb: I hope you have backups ;)
<s1341> i'm looking for a way to install a cargo package (specifically 'peep': https://github.com/ryochack/peep) from my home.nix. What's the simplest way to do this?
<Taneb> LinuxHackerman: it's a work machine so I'll probably switch to using another computer while I get the IT person to try and fix it
<Taneb> And everything I care about is backed up well enough
<Mic92> s1341: buildRustPackage
kloenk has quit [Ping timeout: 246 seconds]
<s1341> Mic92: is there an example anywhere of how to do this?
<LinuxHackerman> Taneb: sounds like a plan :)
teto has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to release-20.03: https://git.io/JvPmg
mexisme has quit [Ping timeout: 246 seconds]
<Mic92> s1341: yes, in the nixpkgs manual but it is probaly even easier to just use grep on nixpkgs and pick any example.
<bqv[m]> Searching github is almost always more productive than nix documentation in my experience
<Taneb> LinuxHackerman: also explains why my Firefox tabs kept crashing
<RRedcroft> anyone know how to override "privateBuildPlan" for iosevka?
akegalj has quit [Quit: leaving]
<boogiewoogie[m]> hey, is anyone here using sway as their default (nodesktop) wm?
opthomasprime has joined #nixos
<RRedcroft> boogiewoogie[m]: not currently but i have previously
bahamas has joined #nixos
* LinuxHackerman is
Ariakenom has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @teto opened pull request #82720 → cmake-manpages: init → https://git.io/JvPm5
wavirc22 has quit [Ping timeout: 256 seconds]
<eyJhb> Is this valid to do? https://termbin.com/l2ia ( adisbladis )
bahamas has quit [Ping timeout: 246 seconds]
<bqv[m]> I was tempted but sircmpwn's treatment of nvidia users left an awful taste in my mouth
<Yaniel> tbh it's very understandable
syd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82721 → unicode-character-database: 12.1.0 -> 13.0.0 → https://git.io/JvPmj
<Yaniel> nvidia has been awfully stubborn when it comes to collaborating with opensource
<boogiewoogie[m]> RRedcroft: I'm having trouble setting it up somehow as no display manager lists it. would you mind sharing the relevant part of configuration.nix? :)
<LinuxHackerman> boogiewoogie: I usually just start it from the text console, i.e. login and then `exec sway
<LinuxHackerman> `
<RRedcroft> boogiewoogie[m]: Sure, i think sway isnt supported by default for login managers
linkrage has quit [Quit: Leaving]
<RRedcroft> boogiewoogie[m]: but you can use something like this https://pastebin.com/raw/HcvTpP2m
thc202 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-19.09: https://git.io/JvPYU
<adisbladis> bqv[m]: OTOH nvidias treatment of linux users leaves an awful taste in my mouth
thc202 has joined #nixos
<adisbladis> I have a lot of qualms about sircmpwn, this is not one of them
<adisbladis> Nvidias NIH has to die
<eyJhb> adisbladis: which qualms about him? Seems like a nice guy, or am I wrong
opthomasprime has left #nixos [#nixos]
<Yaniel> eyJhb: refusing to support nvidia's highwa^Wversion of wayland
<boogiewoogie[m]> Linux Hackerman: yeah, I just hoped there would be a pretty way of doing it. :P
<boogiewoogie[m]> RRedcroft: I'll try that, thanks!
<Yaniel> the whole eglstreams-while-everyone-else-supports-gbm debacle
<adisbladis> eyJhb: Your expression LGTM
<adisbladis> eyJhb: He has a tendency to close valid issues without any discussion for one
<RRedcroft> i would love if either sway/nvidia supported each other, but means stuck having to use i3 and i doubt we'll ever see this resolved
<eyJhb> Hasn't nvidia said they would start playing nice?
<Yaniel> many times
<adisbladis> Nvidia doesn't care. They got eglstreams support in mutter/kwin now which is the majority of linux users
<eyJhb> Good adisbladis ! I will try it. But currently I am recompiling TexLive... Isn't there a better option regarding testing something like this? A minimal shell?
<adisbladis> eyJhb: nix-build ./. -A vimPlugins.coc-go ?
bahamas has joined #nixos
<eyJhb> But that wouldn't allow me to test it using Neovim I assume
<RRedcroft> didnt they start building a 'new' allocator for everyone to use instead of egl or gbm
<Yaniel> yes
<Yaniel> and it has seen like one commit in the past 5 years
<eyJhb> Well, the thing I didn't change, doesn't work :p Lets see.
<RRedcroft> lol fuck nvidia
<adisbladis> RRedcroft: While I agree with you please don't use that language in #nix* channels.
<RRedcroft> adisbladis: sorry, i'll keep it clean
<adisbladis> Thanks :)
<Yaniel> but yeah gnome and kde already gave in, and it's not like there is much heat from nvidia's competition either
wavirc22 has joined #nixos
<Mic92> s1341: it will be soonish in NUR: nix-shell -p nur.repos.mic92.peep (https://github.com/nix-community/NUR)
<RRedcroft> the last time i tried gnome+wayland xwayland was the biggest issue, so you couldnt even use it anyway
<tilpner> Is there a way to prioritise jobs in a hydra jobset over other jobs in the same jobset?
__Myst__ has left #nixos ["WeeChat 2.8-dev"]
thc202 has quit [Ping timeout: 246 seconds]
<eyJhb> adisbladis: well it builds! That is something I guess
<adisbladis> Woho! Ship it!
Jonathan87 has quit [Remote host closed the connection]
<eyJhb> How sad a panda will you be, when nothing works adisbladis ? :p
c0c0 has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @eyJhb opened pull request #82723 → coc-go: use npm module → https://git.io/JvPYV
<eyJhb> Forgot to add description, but I think it is fairly selfexplanitory adisbladis ^^^^
thc202 has joined #nixos
<eyJhb> Well... I guess I will try to learn a little Nix now
<Taneb> LinuxHackerman: the IT guy has replaced one of the sticks of RAM that seems to be at fault and memtest is looking good now
<Taneb> Thanks for your help
ptrcmd_ is now known as ptrcmd
helozjisky has quit [Remote host closed the connection]
waleee-cl has joined #nixos
helozjisky has joined #nixos
<eyJhb> Anyone can help me where the builtins file is located? E.g. for division and stuff
cosimone has joined #nixos
<sphalerite> eyJhb: primops.cc
kloenk has joined #nixos
tilpner has quit [Quit: tilpner]
<{^_^}> [nixpkgs] @marsam merged pull request #82715 → rsyslog: 8.2001.0 -> 8.2002.0 → https://git.io/JvPLR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPYD
tilpner has joined #nixos
nuncanada2 has joined #nixos
<ToxicFrog> Argh.
grabb0id has quit [Quit: WeeChat 2.7.1]
<ToxicFrog> I'm trying to do a from-source airsonic build using mavenix. Mavenix generates the wrong source path for the jars included in the checkout, so I patch mavenix.lock at build time (using readFile/writeFile/replaceStrings) to point to the right place.
<ToxicFrog> The patch works, but then I get:
<ToxicFrog> trying file:///nix/store/s1birc7059v5c5apn4xif0cj0rwq4ivx-source/repo/org/directwebremoting/dwr/3.0.rc1/dwr-3.0.rc1.pom
<ToxicFrog> curl: (37) Couldn't open file /nix/store/s1birc7059v5c5apn4xif0cj0rwq4ivx-source/repo/org/directwebremoting/dwr/3.0.rc1/dwr-3.0.rc1.pom
<ToxicFrog> But the file exists!
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dce0f4f6956 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<ToxicFrog> My best guess is that the nix build restricts which store paths are accessible to ones it thinks the build depends on, and for some reason the build of dependency jars doesn't depend on the source...
bahamas has quit [Quit: leaving]
<ottidmes> ,locate bin nsupdate
<{^_^}> Found in packages: bind.dnsutils
mjrosenb has joined #nixos
jgeerds has quit [Ping timeout: 246 seconds]
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
<s1341> Mic92: thanks!
<s1341> ok. so i am trying to use the broot package for home-manager. I set enableZshIntegration to true, and it does install a br function in my .zshrc, but when trying to run br i get the following message:
<s1341> Broot should be launched using a shell function (see https://github.com/Canop/broot for explanations).
<s1341> Can I install it now? [Y n]
<s1341> The function is either missing, old or badly installed.
<NobbZ[m]> s1341: Have you restarted your session?
<s1341> NobbZ[m]: let me try that.
iyzsong has quit [Remote host closed the connection]
iyzsong has joined #nixos
<NobbZ[m]> (Terminal session I mean)
<s1341> NobbZ[m]: yes.
<s1341> no help
Neo-- has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
alexherbo2 has joined #nixos
<NobbZ[m]> The snippet looks correct, is the zshrc evaluated at all?
<{^_^}> [nixpkgs] @jtojnar merged pull request #82705 → maintainers/teams: add gnome team → https://git.io/JvPvH
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvPOi
<LnL> anybody here that has cross compiled python packages before?
<{^_^}> [nixpkgs] @mweinelt opened pull request #82724 → zsh-powerlevel10k: v1.3.0 → v1.4.0 → https://git.io/JvPOM
<FRidh> LnL: from what I recall it is still broken
heatmiser has joined #nixos
<FRidh> sysconfig paths are needed I think
<FRidh> which we patch out
<{^_^}> [nixpkgs] @vbgl merged pull request #82619 → unison: fix build with ocamlPackages_4_09 → https://git.io/JviaE
<{^_^}> [nixpkgs] @vbgl pushed commit from @m-scr to master « unison: fix build with ocamlPackages_4_09 (#82619) »: https://git.io/JvPO5
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82725 → uid_wrapper: 1.2.7 -> 1.2.8 → https://git.io/JvPOd
<LnL> FRidh: ah :/
<{^_^}> #53320 (by FRidh, 1 year ago, open): Python: fix cross-compilation of extension modules
<{^_^}> [nixpkgs] @vbgl pushed commit from @m-scr to release-20.03 « unison: fix build with ocamlPackages_4_09 (#82619) »: https://git.io/JvPOb
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/JvPOp
<{^_^}> [nixpkgs] @turboMaCk closed pull request #82236 → wire-desktop (linux): 3.12.2916 -> 3.14.2921 → https://git.io/JvKYf
<Shell> ToxicFrog: so Nix does restrict what you can access to what it thinks your dependencies are, and merely reading from a file containing paths to your dependencies doesn’t work - you’ve got to reference their actual derivations in Nix. Some tools (nix-bundle being one of them) depend on a previous behaviour where you could reference arbitrary paths in the Nix store, that no longer works.
<Shell> I don’t know if Mavenix maybe depends on the previous behaviour too.
<ToxicFrog> Shell: here's a version that works, using mavenix's `remotes` option: https://gist.github.com/ToxicFrog/5586c20eb5d0fee1d2961f868d980b97
<Shell> Interesting
mjrosenb has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82726 → tintin: 2.02.01 -> 2.02.02 → https://git.io/JvP3s
<Shell> ToxicFrog: if you feel like doing more research, the keyword is string contexts.
<bqv[m]> Question. How is it that I can still use <nixpkgs> even when that channel doesn't actually exist?
<immae> bqv[m]: <nixpkgs> relates to the content of NIX_PATH=nixpkgs=something
<immae> it has little to do with channel (except if "something" refers to a channel)
rardiol has joined #nixos
<ottidmes> I am trying to get Samba in NixOS to work without errors as an Active Directory Domain Controller, it works fine, but I rather fix the remaining error, namely that it fails to update the DNS records.
<ottidmes> Anybody experience with nsupdate?
<s1341> NobbZ[m]: yes. the .zshrc is evaluated.
aswanson has joined #nixos
<s1341> i noticed that there is a difference between the snippet that br tries to install and the one installed by the home-manager package.
<s1341> but it seems minor.
<ottidmes> After inspecting samba_dnsupdate with --verbose, I got that dnsupdate was non-existant on the path they checked, so I configured that properly, but now I get: samba_dnsupdate: update failed: REFUSED
<ottidmes> Now I am not sure if that is just due to the nature of dnsupdate that conflicts with readonly files on NixOS, or that I am still misconfiguring something
<NobbZ[m]> s1341: How do you know the correct `.zshrc` is evaluated? Anyway, what does `which br` print?
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/99a3d7a86fc (from 4 days ago, history: https://channels.nix.gsc.io/nixos-20.03)
mexisme has joined #nixos
<s1341> NobbZ[m]: which br prints the br function
exarkun_ is now known as exarkun
mexisme has quit [Ping timeout: 272 seconds]
<s1341> NobbZ[m]: from .zshrc
<exarkun> andi-: Hi. If you recall, I was using crate2nix and having trouble with overriding some of the behaviors. Here's what I ended up with, fwiw: https://github.com/LeastAuthority/python-challenge-bypass-ristretto/blob/master/challenge-bypass-ristretto.nix#L3-L44
cosimone has quit [Quit: Terminated!]
<NobbZ[m]> Then it seems correctly evaluated, and those "minimal" differences between the actual zshrc content and what br would install are significant and not minimal.
johnny101 has joined #nixos
<andi-> exarkun: ahh, yeah.. It is a bit less straight forward then what it should be
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
<s1341> NobbZ[m]: so how do I update the broot pack
<s1341> package?
<s1341> do i need to do an overlay?
<s1341> (i'm very new to nixos)
<NobbZ[m]> No need to update the package, I think just not doing `ztshIntegragtion`, but using `extraInit` to provide the correct function.
c0c0 has joined #nixos
linarcx has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
dckc has quit [Ping timeout: 268 seconds]
aveltras has joined #nixos
v0|d has joined #nixos
dckc has joined #nixos
Guest85905 is now known as bezaban
lorimer has joined #nixos
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos
<s1341> ok. Thanks NobbZ[m]
<iceypoi> is there any way to combine nix-env with overrides? E.g. have something like like `nix-env -i chromium.override { useVaapi = true }`
<iceypoi> I'm asking because the use case would be a non-nixos system, so I can't refer to configuration.nix
<tilpner> iceypoi: 1. you can use an overlay to give it a name
drakonis has joined #nixos
<tilpner> iceypoi: 2. --expr / -E
<{^_^}> [nixos-homepage] @garbas merged pull request #345 → netlify: Change 301 redirects to 302 → https://git.io/JviFn
<{^_^}> [nixos-homepage] @garbas pushed commit from @adisbladis to master « netlify: Change 301 redirects to 302 (#345) »: https://git.io/JvPsa
<tilpner> nix-env -iE '{...}: (with import <nixpkgs> {}; chromium.override { useVaapi = true; })'
<tilpner> Or nix-env -iE '{ chromium, ... }: chromium.override { useVaapi = true; }'
<tilpner> I don't know when you would prefer which
<iceypoi> the latter gives a name, right?
<tilpner> Neither of them use overlays, so not in the way I meant in 1.
<iceypoi> i see
<iceypoi> ok, cool
<iceypoi> that should be good enough for now, thanks!
gustavderdrache has joined #nixos
<v0|d> I use a custom kernel but nix-env -iA nixos.wireguard installs for the channel kernel. how do I say, OK nix, compile module for my kernel?
<srk> you need to access it via kernelPackages of your kernel
<tilpner> On NixOS, config.boot.kernelPackages.wireguard
<v0|d> aha.
<srk> or enable it via module and forget about it
<v0|d> is it possible to replace module in modules-list.nix?
<v0|d> say overriding via imports = [];
<v0|d> looking for a way to remove it and replace it with a new one.
<tilpner> Yes, see disabledModules
rogue_koder has joined #nixos
jakobrs has joined #nixos
<v0|d> tilpner: thnx.
<AWizzArd> Is a Nix channel a little bit like a specific version of a Linux distribution? If I were on Ubuntu 15.04 and did a "apt install firefox" then I would get a specific version, and (at least today) it is not the newest one anymore.
<AWizzArd> Is a channel like that? A list of packages with an exact version number?
<tilpner> Yes, it's similar to that
<exarkun> On Ubuntu, you don't get an exact version of Firefox because the Ubuntu 15.04 repository receives updates (well, it did at some point in the past, it doesn't anymore).
<exarkun> And that's like what a nix channel is
<tilpner> But you can use multiple channels at once, and mix your system together from any channels you like
cosimone has joined #nixos
<AWizzArd> exarkun: yes, but let’s assume that we look at Ubuntu 15.04 frozen at a specific timestamp. At this moment there is a concrete set of apps and corresponding version numbers.
<AWizzArd> tilpner: okay I see. And is nix-unstable the only channel that constantly can change unexpectedly, while nixos-15.09 is frozen forever?
<v0|d> AWizzArd: there is staging, staging-next, unstable, stable etc.
<tilpner> AWizzArd: None of them should move unexpectedly, you control exactly when they update on your system, and you can undo any updates you want
<AWizzArd> By “update” I mean that in, say, nixos-15.09 there was a specific version of Firefox, let’s say version 45. It was FF45 from day 1 and still is FF45 today and will be in seven years.
<AWizzArd> While in unstable today it’s FF72 and tomorrow it could be FF73
<v0|d> AWizzArd: you can always checkout a specific rev and install according to that rev by nix-build './some-rev-nixpkgs' -A firefox
<tilpner> Yes, nixos-unstable and nixpkgs-unstable are not expected to stop evolving any time soon
<exarkun> A channel is precisely a mechanism to allow the nixpkgs revision to change
<AWizzArd> But the nixos channels that have version numbers: they don’t evolve, right? They stay fixed?
<exarkun> If you want something that *doesn't* change ever, that thing is a nixpkgs revision
<tilpner> AWizzArd: They do evolve, e.g. security fixes get backported
<tilpner> ,pinning
<AWizzArd> exarkun: so a channel is not a nixpkgs revision
<exarkun> Correct.
<exarkun> A channel is a delivery mechanism for new nixpkgs revisions.
<AWizzArd> Okay then what I had in mind above is a nixpkgs revision. That would be the Ubuntu 15.04 version at a specific timestamp.
<tilpner> You can skip the entire channel mechanism and pin to revisions
<{^_^}> [nixos-homepage] @garbas closed pull request #178 → Document how to uninstall on MacOS → https://git.io/JvPGv
Rusty1 has joined #nixos
malSet_ has joined #nixos
<exarkun> AWizzArd: Yes, more or less (the "less" being that you need to ignore some more properties of Debian-based package systems which means that even at a specific timestamp, "Ubuntu 15.04" is maybe an ambigious package set, but I guess you're trying to ignore that level of detail :)
malSet_ has quit [Read error: Connection reset by peer]
malSet has quit [Ping timeout: 250 seconds]
detran has quit [Ping timeout: 256 seconds]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<AWizzArd> But then I am still not really sure what a channel is and why it is useful.
<AWizzArd> The revision makes sense. A set of thousands of packages, fixed to a specific version. As long as I work against such a specific revision my builds have a fair chance to be reproducible.
b42 has joined #nixos
<niksnut> channels are on their way out
<exarkun> is something replacing them?
<tilpner> Pinned revisions are necessary for bit-reproducability, but unfortunately there are still plenty of ways your build can become bit-unreproducible
<niksnut> yes, nix flakes, which are generally git repositories
<gchristensen> AWizzArd: a channel is a URL to a set of Nix expressions. that URL is like https://nixos.org/channels/nixos-20.03 this URL will redirect to a very specific version of nixpkgs. however, when a new version of nixpkgs is found to be good enough, that URL will point to the new version
<AWizzArd> tilpner: yes, while bit-unreproducible may occur those revisions bring me at least a bit closer to bit-REproducible.
Neo-- has quit [Ping timeout: 256 seconds]
<exarkun> I guess I should try to learn about flakes at some point.
<AWizzArd> gchristensen: So is a channel a bit like a pointer to a revision? And that pointer can change?
<niksnut> a channel is a tar file with nix expressions in them
<AWizzArd> The idea is: when a specific channel is created then there is a set of people that try to make everything inside this channel as compatible as possible?
<gchristensen> worldofpeace: yep.
<niksnut> in the case of nixpkgs, it comes from a particular revision of the nixpkgs repo but the nix-channel command doesn't know anything about that
<gchristensen> AWizzArd: yep
<AWizzArd> So a nix channel is actually what comes closest to a specific Ubuntu version, such as 15.04. While a revision is a bit comparable to all Ubuntu 15.04 packages at a concrete version number, frozen at a point in time.
<niksnut> flake dispense with the tar file indirection so you can point at a revision of a repo directly, e.g. nix build github:edolstra/dwarffs/47218f1b8f971925241b1b307a1e770a7c220b5e
<{^_^}> [nixos-homepage] @garbas opened pull request #351 → remove search from the toolbar → https://git.io/JvPGY
<AWizzArd> If it were technically/magically possible to guarantee that all packages inside a revision are perfectly compatible to each other, then there would be no need for a channel. Is that correct?
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<niksnut> well, there is no *need* for channels to begin with
<niksnut> you can just do a git checkout of nixpkgs and use that
<niksnut> channels mostly exist because back then we didn't want to make Nix have a dependency on some particular version management tool
<MichaelRaskin> And for channel to have compatibility, you still need _some_ revision to have this internal self-compatibility
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<AWizzArd> niksnut: yes, I can use a specific revision and not care about a channel. But isn’t the purpose of a channel also to see that when some package doesn’t build and it later gets fixed, to update the channel then to a new revision?
<MichaelRaskin> This can be achieved just with a branch
<niksnut> right, for example, the nixos-20.03 branch gets updated from the release-20.03 branch if certain tests succeed
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<niksnut> and the 20.03 channel corresponds to the 20.03 branch
<{^_^}> [nixos-homepage] @garbas closed pull request #157 → Note entry point to top level packages. → https://git.io/JvPGa
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<tilpner> AWizzArd: Security updates will always be necessary
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
tomberek has joined #nixos
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
<v0|d> when I install a package via specific overrides for instance nix repl :b somepackage.override {}, then ru nix-env -u, update resets to defaults.
<{^_^}> [nixos-homepage] @garbas closed pull request #293 → Duckduckgo → https://git.io/fj9re
<v0|d> any idea to preserve these? I had similar problem with portage with USE="" keywrds.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/30631f74a08 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/dce33f1a2d4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<v0|d> I know the overlay solution but I have that overlay-compat thing which basically disables user-wide overlays completely.
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<NobbZ[m]> v0|d: Don't install using `nix-env`, use an overlay or home-manager.
<v0|d> see.
<v0|d> how do I update all profiles on a nixos system?
reallymemorable has joined #nixos
<v0|d> i do go into /nix/var/nix/profiles and try to update them via shell scripts.
<v0|d> this bugs me like, forgotten stuff can't be gc'd
malSet has joined #nixos
<NobbZ[m]> What do you mean by "forgotten stuff"?
<v0|d> like i have user which i rarely use had some packages installed.
<NobbZ[m]> Also, at the systems I manage, each user is responsible on his own to update software installed into their profile.
<AWizzArd> niksnut: Who is paying for the hardware that produces and stores all those binaries?
<v0|d> since i do not update their profile, those packages can't be gc'd.
abathur has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<v0|d> NobbZ[m]: i have several users for diff. stuff prob. inside containers.
<{^_^}> [nixpkgs] @MarcFontaine closed pull request #78582 → clipgrab: 3.8.7 -> 3.8.10 → https://git.io/Jvmvx
morgrimm has joined #nixos
<NobbZ[m]> Okay, thats different to my situation, where I have 2 users, me and my son.
__red__ has joined #nixos
<morgrimm> Hey folks - I just created a new profile in a multi-user install, but the new profile doesn't have any of the shell profile stuff (etc/profile.d/nix.sh or nix-daemon.sh) the default profile does, and as a result I don't have access to any of the nix binaries in my shell unless I'm using the default profile :/
<morgrimm> Is this intended?
cosimone has quit [Quit: Quit.]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
<NobbZ[m]> morgrimm: How have you created that user? On what Distribution are you?
Neo-- has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixos-homepage] @garbas closed pull request #314 → Add Manual link to menu bar. as layout → https://git.io/Je4cB
malSet has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-homepage] @garbas closed pull request #313 → add manual link in nixos page → https://git.io/Je8Eh
<morgrimm> MacOS Catalina - I followed the procedure for creating synthetic volumes/enabling permissions and did a multi-user install. It works fine, but I wanted a different profile, so I used nix-env --switch-profile prefix/profiles/per-user/$USER/profilename, and then installed something since it creates it lazily
<NobbZ[m]> You might need to manually "`source`" `/etc/profile.d/nix.sh` depending on your host distribution and shell used.
<morgrimm> But now lilytarball's fish plugin to source the nix binaries doesn't work, or my zsh/bash changes, because they all expect nix.sh in the current profile (the one symlinked to my homedir)
<morgrimm> I don't have an `etc/profile.d` folder, the install didn't create me one
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<NobbZ[m]> `/etc`, not `etc`…
Neo-- has quit [Remote host closed the connection]
<morgrimm> Yes - I don't have a `/etc/profile.d` folder
malSet has joined #nixos
<morgrimm> the only `nix.sh` that it created for me is in the default profile
<NobbZ[m]> It was created for me on my Arch Linux, though as far as I've heard, cataline doesn't like stuff in `/` at all, I think differences beween catalina and Arch are far too big to be able to help you here…
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malSet has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-homepage] @garbas merged pull request #204 → add link to online package viewer → https://git.io/vx9Wn
<{^_^}> [nixos-homepage] @garbas pushed commit from @ShalokShalom to master « add link to online package viewer (#204) »: https://git.io/JvPZk
glittershark has joined #nixos
Neo-- has joined #nixos
<morgrimm> Yeah, no worries. I'll log an issue with it, and see where it goes - I can't find any documentation about nix on MacOS besides the GH issues, so
<morgrimm> I'm just trying to figure it out as I go
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @bennofs opened pull request #82728 → racket: enable building on aarch64 → https://git.io/JvPZt
malSet has joined #nixos
<manveru> morgrimm: there's #nix-darwin
malSet has quit [Read error: Connection reset by peer]
<morgrimm> Oh, thank you! I'll pose the question there
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<exarkun> I updated the rev I passed to fetchgit and, sensibly, it complained that the sha256 was wrong. I ran nix-prefetch-git to get the correct sha256 and, surprisingly, it was different from the sha256 in the error from the fetchgit call. I put in the sha256 nix-prefetch-git gave me and, surprisingly, fetchgit was happy.
<evanjs> clever: have you ever had to override glibc before? trying to get https://github.com/evanjs/mini-system/blob/780a5dba06c93c72bbc3019db2d19ecf000103b0/default.nix#L157 working on arm rn. I got it deployed (on a non NixOS system) but the glibc version I used was too new ;_;
cosimone has joined #nixos
<exarkun> The possible explanations seems like it would be that the new sha256 already identifies a store object so fetchgit shortcircuited and didn't do anything, I just got the existing store object?
<__red__> I have this error. Did the format of services.httpd.virtualHosts change?
<__red__> error: The option value `services.httpd.virtualHosts' in `/etc/nixos/evil-webapps.nix' is not of type `attribute set of submodules'.
<evanjs> Trying to use pkgsCross.armv7l-hf-multiplatform.callPackage with a gcc49Stdenv, and that all worked great, but, well, yeah, glibc too new
<__red__> (
<mdash> exarkun: is it base32 vs base62 or whatever?
<exarkun> hm
glittershark has quit [Ping timeout: 246 seconds]
<exarkun> They're both the same length
<{^_^}> [nixos-homepage] @garbas merged pull request #305 → Enforce HTTPS and TLSv1.2 for curl | sh → https://git.io/Jem29
<{^_^}> [nixos-homepage] @garbas pushed commit from @yegortimoshenko to master « Enforce HTTPS and TLSv1.2 for curl | sh (#305) »: https://git.io/JvPZG
<exarkun> nix-prefetch-git tells me "sha256": "11sriz1g5vcfmdfsx0ava2wj30j78zp62l3c8wq2b33c7f7bjf44"
<exarkun> nix-build tells me it got: sha256:189hd0g3yyp6vqc4xm2cd3ypnj4nibnl6yvm4vjcifz6waw76a2l
<clever> evanjs: ive not really tried to override parts of the stdenv
glittershark has joined #nixos
detran has joined #nixos
<clever> evanjs: what is the nix expression that you tried to nix-build?
<exarkun> I assume there's some command I can use to inspect these objects in the store...
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<clever> [root@amd-nixos:~]# sqlite3 /nix/var/nix/db/db.sqlite
<clever> sqlite> .mode line
<clever> sqlite> select * from ValidPaths limit 1;
<clever> hash = sha256:51858393c5698aba2e7c4e2832054a6985ab3eeda5db7373db5627d0acceefa8
<exarkun> Fun.
<clever> exarkun: if you use `nix-hash` to convert the base32 hashes to base16, you can then query both in the DB
<clever> exarkun: then youll have the $out for each, and can just run plain `diff -r` on the 2 dirs
* exarkun tries
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
helozjisky has quit [Remote host closed the connection]
helozjisky has joined #nixos
Ariakenom has joined #nixos
<exarkun> Ah. They differ by the presence of a `.git` directory.
malSet has joined #nixos
<clever> exarkun: did you set keepDotGit ?
malSet has quit [Read error: Connection reset by peer]
<exarkun> and I forgot to pass --leave-dotGit to nix-prefetch-git.
<clever> yep, that will do it
<evanjs> hrm I can either ssh into an arm device and build this (which will introduce its own issues) or try to override glibc with an older version. I saw #50329 but that overrides glibc in the entire pkgs expression.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/50329 (by nh2, 1 year ago, open): How to override glibc with a patch for a specific package?
<exarkun> thanks
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
Neo-- has quit [Ping timeout: 250 seconds]
malSet has quit [Read error: Connection reset by peer]
<__red__> I guess there must be some kind of migration guide?
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<clever> __red__: what are you setting services.httpd.virtualHosts to?
<Ankhers> I am trying to use autoPatchelfHook in my buildInputs to patch some binaries. I am getting a failure because it is unable to find libstdc++.so.6. I have tried adding gcc and android-studio (because I am trying to get a standalone android NDK toolchain) and it is still failing to find the .so file. Any ideas on how I should fix this?
blaggacao has quit [Read error: Connection reset by peer]
zupo_ has joined #nixos
<clever> Ankhers: try gcc.cc.lib
blaggacao has joined #nixos
<Ankhers> I'm giving that a go. Maybe a dumb question, but the NDK uses clang, does it matter that I use gcc's .so files?
<clever> Ankhers: for clang, you want to instead use clangStdenv
<clever> and maybe clang.cc.lib
<Ankhers> Thanks. I will switch to that. But the gcc.cc.lib at least allowed things to compile.
<Ankhers> And it appears that I am able to compile my application now.
<__red__> clever: I'll show you a paste - sec
mexisme has joined #nixos
<{^_^}> [nixpkgs] @athas opened pull request #82729 → mesa: restore OpenCL support. → https://git.io/JvPZ9
<clever> __red__: you want services.httpd.virtualHosts = { "example.com" = { ... }; };
<clever> __red__: it must be an attribute set, not a list
<Ankhers> clever: Thanks. It looks like I have everything working now!
<Ankhers> clever++
<{^_^}> clever's karma got increased to 349
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82730 → victoriametrics: 1.32.5 -> 1.33.1 → https://git.io/JvPZ5
mexisme has quit [Ping timeout: 246 seconds]
Neo-- has joined #nixos
<__red__> clever: thank you - is the string key used anywhere else?
<__red__> clever: or can it be arbitrary as long as it's unique?
<clever> __red__: i believe its the default domain for the virtualhost
domogled has quit [Quit: domogled]
knupfer has joined #nixos
<__red__> clever: then how do we deal with different ports? like in my example I have a separate section for port 80 and port 443
Ariakenom has quit [Ping timeout: 240 seconds]
<__red__> oh, I'll test it with :
<__red__> Thanks clever - I'll let you know how it goes
Ariakenom has joined #nixos
morgrimm has quit [Ping timeout: 240 seconds]
kleisli has quit [Remote host closed the connection]
syd has joined #nixos
kleisli has joined #nixos
<__red__> clever: oh - looks like forceSSL does what I originally was doing with my two ssl and non-ssl version.
kleisli has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82731 → zabbix-cli: 2.1.1 -> 2.2.1 → https://git.io/JvPnO
kleisli has joined #nixos
<exarkun> anyone have any tips for constructing a derivation when you have a source and an expression using that source, and you want a new package that uses the same expression but a modified version of the source?
kleisli has quit [Max SendQ exceeded]
<exarkun> I guess I can use overrideAttrs to supply a new src
kleisli has joined #nixos
<exarkun> I'm not so clear on how to create a new, modified source
<exarkun> ... rip the original src out and use it in a new derivation with ... a patch phase, I guess? or maybe I should just inject something into the patch phase of the existing derivation
<clever> $ cat ~/apps/qemu/shell.nix
<clever> with import <nixpkgs> {}; qemu
<clever> exarkun: if you only want nix-shell, even this is enough
<exarkun> nah, I want to build a package. it's some awkward whitebox/branding shennanigans
<clever> if you want to add in nix-build, qemu.overrideAtrs (drv: { src = ./.; })
<clever> or fetchFromGitHub
<evanjs> Anybody know of a good way to remove specific patches when I'm overriding something?
<exarkun> does that imply having a complete copy of the whitebox source?
<clever> exarkun: patches = lib.filter something drv.patches;
<clever> exarkun: you can use fetchFromGitHub or any other fetcher, to fetch the new src
<exarkun> okay, I think I see what you mean
<exarkun> still feels awkward to me but I guess that's my influency with the tools
<exarkun> hmm maybe influency isn't a word.
<exarkun> should be though
<exarkun> infacility?
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
kleisli has quit [Remote host closed the connection]
blaggacao has quit [Read error: Connection reset by peer]
kleisli has joined #nixos
<syd> kai_w I managed to figure it out with the `activation` attribute
blaggacao has joined #nixos
sigmundv__ has quit [Read error: Connection reset by peer]
kleisli has quit [Remote host closed the connection]
sigmundv__ has joined #nixos
kleisli has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<jakobrs> Draft for something I've been thinking about: https://imgur.com/a/XGA5GXo
<jakobrs> I'm not sure if it's a good idea or not so it would be nice if someone could take a look. It's 118 worlds.
<jakobrs> *words
syd has quit [Remote host closed the connection]
captn3m0 has quit [Read error: Connection reset by peer]
<simpson> jakobrs: Humble suggestion: $(export NIX_PATH=...) and direnv have solved this sort of issue for me. It might be worth checking out direnv first: https://github.com/direnv/direnv/wiki/Nix
is_null has quit [Ping timeout: 246 seconds]
<jakobrs> simpson: I didn't realise direnv could help. You're presumably just setting the NIX_PATH locally inside a directory?
<evanjs> what's the best way to get a filename from a path using nix?
<clever> evanjs: nix-instantiate --find-file
<clever> evanjs: if its a <path>
<simpson> jakobrs: Yeah. That's almost all of what I need. I'm not sure what your workflow is, though, or what you're building.
<evanjs> clever: what if I need to get it within e.g. builtins.filter?
<evanjs> and I just want e.g. the file name
<clever> evanjs: evanjs 43 baseName = baseNameOf (toString name);
<jakobrs> simpson: Do you think I should submit the issue? It's something that occasionally annoys me, and it feels like it *ought* to be there.
<evanjs> ooooo did not know baseNameOf was a thing :D
<evanjs> clever++
<{^_^}> clever's karma got increased to 350
<evanjs> lib.filter (x: (baseNameOf x) != "nix-locale-archive.patch") glibc.patches
<evanjs> Woo! that works!
captn3m0 has joined #nixos
<evanjs> wonder if there's a better way to do multiple filters like this, though
<evanjs> like x notIn list, yeah
<{^_^}> [nixpkgs] @Mic92 merged pull request #82488 → libuv: 1.34.2 -> 1.35.0 → https://git.io/Jv6A8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/JvPni
captn3m0 has quit [Client Quit]
<clever> evanjs: builtins.elem to test if the name is in a list
<{^_^}> [nixpkgs] @Mic92 merged pull request #82531 → coredns: 1.6.6 -> 1.6.7 → https://git.io/JviYs
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvPn1
captn3m0 has joined #nixos
is_null has joined #nixos
<simpson> jakobrs: I think that you should be prepared for a long and intricate discussion if you do decide to push forward. But I have no strong feelings either way.
<jakobrs> Heh. I'll submit it.
<jakobrs> NixOS/nix#3420
<{^_^}> https://github.com/NixOS/nix/issues/3420 (by jakobrs, 19 seconds ago, open): Allow using `<channel>` syntax inside `-I`
RRedcroft has quit [Remote host closed the connection]
<evanjs> lib.filter (p: !builtins.elem (baseNameOf p) [ "nix-locale-archive.patch" "rpcgen-path.patch" ]) glibc.patches
cole-h has joined #nixos
<evanjs> clever++
<{^_^}> clever's karma got increased to 351
<evanjs> did not know builtins.elem was a thing, either :D
is_null has quit [Ping timeout: 258 seconds]
ckauhaus has quit [Quit: WeeChat 2.7.1]
<jakobrs> {^_^}++
<{^_^}> {^_^}'s karma got increased to 171
ixxie has joined #nixos
jakobrs has left #nixos ["WeeChat 2.7.1"]
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixos-homepage] @garbas closed pull request #317 → build(deps): bump eslint-utils from 1.3.1 to 1.4.3 in /packages-explorer → https://git.io/JegRH
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to dependabot/npm_and_yarn/packages-explorer/eslint-utils-1.4.3: https://git.io/JvPnj
<evanjs> starting to wonder if just disabling all these patches is going to work if I'm using such an ancient glibc, though...
is_null has joined #nixos
<ottidmes> I am going through some dependencies and on Debian/Ubuntu they need libjson-perl libparse-yapp-perl, while the package only includes perl, are they present by default?
erasmas has joined #nixos
bennofs has joined #nixos
linarcx has quit [Quit: WeeChat 2.7.1]
johnw has joined #nixos
linarcx has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/dce33f1a2d4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
Ariakenom has quit [Ping timeout: 246 seconds]
linarcx has quit [Ping timeout: 246 seconds]
<steveeJ> trying to update a VPS to 20.03: I'm getting the following error `error: efibootmgr failed to register the boot entry: No such file or directory.` does someone have an idea what could cause this for 19.09 -> 20.03?
eacameron has joined #nixos
<steveeJ> the system has `boot.loader.grub.efiSupport = false` set
<eacameron> ova link on NixOS page is broken! https://nixos.org/nixos/download.html
<{^_^}> [nixpkgs] @Mic92 merged pull request #82724 → zsh-powerlevel10k: v1.3.0 → v1.4.0 → https://github.com/NixOS/nixpkgs/pull/82724
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://github.com/NixOS/nixpkgs/compare/c5967df71293...7819588348cf
ddellacosta has joined #nixos
<Ankhers> Does anyone know if lorri sets env vars from the shell.nix? I have a shell.nix file that works correctly if I run `nix-shell', but not with direnv/lorri.
rogue_koder has quit [Ping timeout: 240 seconds]
<cole-h> If you use it with direnv, I think it does
<fresheye1> how can I switch keyboard layouts?
<evanjs> I wonder if it's more practical to include the newer glibc version with my app deployment and just patchelf the deps (or just ld?) to the new one in the app's $out/lib folder
<fresheye1> I set grp:toggle, but I don't get how to switch
<evanjs> vs using a very old glibc... which I've basically given up on
rogue_koder has joined #nixos
fresheye1 has quit [Quit: WeeChat 2.6]
<rnhmjoj> fresheye1: did you try super+caps lock?
Ariakenom has joined #nixos
<kai_w> syd: nice :)
<{^_^}> [nixos-homepage] @garbas merged pull request #259 → add instructions for google cloud platform → https://github.com/NixOS/nixos-homepage/pull/259
<{^_^}> [nixos-homepage] @garbas pushed commit from @phunehehe to master « add instructions for google cloud platform (#259) »: https://github.com/NixOS/nixos-homepage/compare/673e131a51fd...0f3ace177cd3
lsix has joined #nixos
fresheyeball has joined #nixos
<{^_^}> [nixpkgs] @misuzu opened pull request #82733 → zerotierone: fix build on armv7l via gcc9 → https://git.io/JvPWa
linarcx has joined #nixos
zaeph has quit [Ping timeout: 268 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<MichaelRaskin> fresheye1: grp:toggle is Right-Alt switch
zaeph has joined #nixos
FRidh has joined #nixos
<fresheyeball> MichaelRaskin: I think it's a different problem now
<steveeJ> resolution to the grub problem I had: add `./boot.nix` to the config's imports :-D sorry for the fuzz
<{^_^}> [nixos-homepage] @garbas pushed to master « remove search from the website (#351) »: https://git.io/JvPlG
<{^_^}> [nixos-homepage] @garbas merged pull request #351 → remove search from the toolbar → https://git.io/JvPGY
<fresheyeball> I am trying to get the apl keyboard layout to work
<fresheyeball> and apparently its not in my base.lst
<fresheyeball> I swear I had this working before
<MichaelRaskin> That's how people come to J
<{^_^}> [nixpkgs] @Sohalt opened pull request #82734 → superTuxKart: 1.0 -> 1.1 → https://git.io/JvPln
<s1341> specifically, i want to install the android ndk r10e.
philr has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
<Ankhers> Does anyone know much about lorri and direnv? I have the lorri service running. I confirmed the daemon is running with `ps'. But it does not actually seem to build my project when I change my shell.nix file. But if I run `lorri watch', it will build it.
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c09c926ee8e (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<mikky> hey, I'm trying to make my external GPU work. An RX580 connected via TB3. Everything seems ok, kernel knows about the card, even Xorg seems to be aware but it always starts on the integrated graphics instead and when I remove the `intel` driver and leave only `amdgpu`, Xorg won't start: `(EE) No devices detected`
<{^_^}> [nixos-homepage] @garbas merged pull request #288 → Add option to automatically rebuild with entr → https://git.io/fjoNm
<{^_^}> [nixos-homepage] @garbas pushed commit from @egasimus to master « Add option to automatically rebuild with entr (#288) »: https://git.io/JvPlE
<{^_^}> [nixpkgs] @timokau merged pull request #82347 → home-manager: 2020-01-04 -> 2020-03-07 → https://git.io/Jv6kW
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JvPlu
<fresheyeball> Is there anything I can do to get the apl keyboard layout back?
v88m has joined #nixos
jgeerds has joined #nixos
zupo has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
<s1341> anyone?
<fresheyeball> s1341: what have you tried?
CptCaptain has joined #nixos
chloekek has quit [Quit: WeeChat 2.7]
<s1341> fresheyeball: i can't get it to build that package...
<fresheyeball> s1341: how are you trying to build it?
<s1341> i tried adding androidndk-pkgs to my home.nix's home.packages
<s1341> no luck.
<fresheyeball> s1341: you are dangerously close to doing more than providing the IRC with a check engine light
<fresheyeball> what happens? do you get an error? what error? can you share the nix expression?
<s1341> fresheyeball: hang on...
<fresheyeball> clever: you knew this one last time. Did they remove the apl keyboard layout?
<fresheyeball> how can I check?
growpotkin has joined #nixos
<clever> fresheyeball: cant remember exactly where that was, but if you have an older generating with it in the nix store, try just searching the whole store for a file with apl in the name?
<s1341> how do i install libm.so?
<clever> s1341: its part of glibc, so nix-shell will just provide it automatically
<clever> s1341: though, android-ndk may complicate things, if you need the andriod libm.so
<fresheyeball> clever: that would be a good skill to learn. How can I do that?
<clever> fresheyeball: `find /nix/store | grep --color apl`
<s1341> clever: i'm not finding libm.so.6... and i have glibc installed
<clever> s1341: how are you searching for it?
<fresheyeball> /nix/store/bnpgllnrxqp0nq10bbksdxhjnidqwqf8-xkeyboard-config-2.27/share/X11/xkb/symbols/apl
<fresheyeball> this looks promising
<clever> fresheyeball: now `nix-store -qR /run/current-system | grep xkeyboard-config` and see if the new keyboard-config has that
<s1341> clever, trying to use https://github.com/svanderburg/nix-patchtools to patch the android ndk r10e toolchain
nisby44 has joined #nixos
<s1341> and it says no package found that provides libm.so.6
<fresheyeball> clever: clever looks like it's there
<clever> s1341: which libm.so does glibc contain?
<fresheyeball> I got 2 store paths though
<s1341> clever: how do i know?
<clever> s1341: `nix-build '<nixpkgs>' -A glibc` then `ls result/lib`
<s1341> it has libm.so.6
<s1341> !
<clever> s1341: how exactly did you "install" glibc?
<s1341> clever it's in my home.packages, and i did home-manager switch
<clever> ,libraries s1341
<{^_^}> s1341: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<s1341> oh...
<clever> s1341: no library you install with home-manager will be visible to anything
<fresheyeball> clever: ok, so it looks like apl is in there
<fresheyeball> setxkbmap apl
<fresheyeball> Error loading new keyboard description
<fresheyeball> but it's not linked for some reason
<clever> fresheyeball: strace, what syscall failed, what is it not finding?
mehlon has joined #nixos
<mehlon> what's a good way to do DNS-over-TLS in nixos?
<fresheyeball> strace is beyond my depths
<fresheyeball> lots of (No such file or directory) in here
<s1341> clever: how exactly do i install glibc with nix-shell
<clever> s1341: 2020-03-16 13:56:28 < clever> s1341: its part of glibc, so nix-shell will just provide it automatically
<fresheyeball> s1341: nix-shell -p glibc
<fresheyeball> will get you a nix shell with it
<clever> s1341: but when trying to patchelf things, you have to add it to the list of libraries being patched in
<clever> fresheyeball: dont see it trying to open anything in the xkeyboard-config area, it might be talking to Xorg to make that do it
<clever> fresheyeball: though, its also not connecting to any sockets
<fresheyeball> use that link, I did better
<clever> fresheyeball: checking some logs...
<{^_^}> [nixpkgs] @Izorkin opened pull request #82735 → lego: 3.4.0 -> 3.5.0 → https://git.io/JvP82
<fresheyeball> clever: thank you. You rule
mehlon has quit [Quit: Leaving]
<s1341> clever, so maybe i'll go back to my original question... how do I install android-ndk-r10e
xkapastel has joined #nixos
<fresheyeball> s1341: how do you want to access it?
<clever> s1341: there is already some android ndk's in nixpkgs, let me see...
<s1341> s1341: I need to be able to use the prebuilt toolchains.
<s1341> erm. @fresheyeball
<clever> s1341: have you looked at pkgs.androidndkPkgs ?
<fresheyeball> s1341: You might try adding it to your configuration.nix
<s1341> clever, no..
<fresheyeball> s1341: try adding androidndkPkgs to your configuration.nix
<fresheyeball> or your config.nix (if you are not on nixs)
<fresheyeball> nixos*
<s1341> clever: how do I use pkgs.androidndkPkgs to build a r10e ndk?
<clever> s1341: how is r10e different from the normal ndk?
<s1341> it has a specific version of the target gcc which I need.
<s1341> the current ndk is r18b.
<{^_^}> [nixpkgs] @LeshaInc opened pull request #82736 → blender: add OpenImageDenoise support → https://git.io/JvP8X
helozjisky has quit [Remote host closed the connection]
<clever> s1341: and you need that special gcc to align with the system libraries android provides?
helozjisky has joined #nixos
<s1341> clever: yup.
<clever> s1341: have you considered just shipping pure static binaries, that dont care about the android libs at all?
<s1341> can't do that... need dynamic libs.
<s1341> clever: can i make a derivation (or something) of the androidndkPkgs_18b to work on r10e?
<clever> s1341: what makes r10e different from r18b?
<s1341> clever: the version of the gcc is 4.8 instead of 4.9
<clever> s1341: nixpkgs has 4.9 gcc's for ndk
<clever> 26 "armv7a-unknown-linux-androideabi" = {
<clever> 29 gccVer = "4.9";
<clever> s1341: do you want 32bit or 64bit ?
<s1341> i need 4.8.
<clever> 21 "armv5tel-unknown-linux-androideabi" = {
<clever> 24 gccVer = "4.8";
<s1341> and both 32bit and 64bit
<clever> armv5 uses 4.8
<s1341> there is also armv7a 4.8...
<clever> s1341: you may want to edit pkgs/development/androidndk-pkgs/androidndk-pkgs.nix then, to change v7 to 4.8
<s1341> so i need to clone the nixpkgs repo?
<s1341> and then how do i install?
<fresheyeball> s1341: by path
<fresheyeball> you can referrence your filesystem in nix
<fresheyeball> mypkgSet = import ../my-checkout {}
<{^_^}> [nixpkgs] @danielfullmer opened pull request #82738 → zerotierone: enable package test → https://git.io/JvP8N
lsix has quit [Quit: WeeChat 2.7.1]
jboyens has quit [Quit: WeeChat 2.7.1]
nisby44 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @danbst opened pull request #82739 → Document postgresql upgrade → https://git.io/JvP4e
dsyer has joined #nixos
alexherbo25 has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo25 is now known as alexherbo2
justanotheruser has quit [Ping timeout: 246 seconds]
dsyer is now known as david_syer
<fresheyeball> clever: if you have a moment, I am still baffled
david_syer is now known as dsyer
chloekek has joined #nixos
<cole-h> 🎉
<clever> fresheyeball: i remember fixing something similar months ago, but cant see any answers in the irc logs
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
<fresheyeball> I was looking there too
abathur has quit [Ping timeout: 256 seconds]
endformationage has joined #nixos
<cransom> haaa. grahams opening quote.
<{^_^}> [nixpkgs] @piotr-szegda opened pull request #82740 → keybase,kbfs,keybase-gui: 5.2.1 -> 5.3.0 → https://git.io/JvP4u
<rnhmjoj> do you know how can i get nix to pick up and install a manpage? specifically it's a cabal haskell project
<{^_^}> [nixpkgs] @roberth opened pull request #82741 → dockerTools.buildLayeredImage: store all paths passed in final layer (backport) → https://git.io/JvP4r
<cole-h> Would creating a `man` output and symlinking the manpage into that output work?
sigwinch28 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<cole-h> Or... probably copying instead of linking
is_null has quit [Ping timeout: 256 seconds]
lovesegfault has quit [Quit: WeeChat 2.7.1]
<clever> cole-h: https://gist.github.com/cleverca22/45e46f3b6a1ede7836938d2122bae9c7 is something ive installed with nix-env, to get certain man pages
<{^_^}> [nixpkgs] @skykanin opened pull request #82742 → osu-lazer: Init at 2020.306.0 → https://git.io/JvP4H
<cole-h> rnhmjoj: ^ maybe
<rnhmjoj> cole-h: the thing is i have never written a man page before and i simply don't know where to put the file. i tried following what pandoc does (putting the page in $src/man/pandoc.1) and adding it to the extra-source-files but apparently it's not working
<{^_^}> [nixpkgs] @danbst merged pull request #80114 → nixos/boot: add option to disable initrd → https://git.io/Jvlny
<{^_^}> [nixpkgs] @danbst pushed 2 commits to master: https://git.io/JvP4F
justanotheruser has joined #nixos
justanotheruser has quit [Client Quit]
justanotheruser has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
is_null has joined #nixos
alexherbo21 has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #82741 → dockerTools.buildLayeredImage: store all paths passed in final layer (backport) → https://git.io/JvP4r
<{^_^}> [nixpkgs] @roberth pushed 2 commits to release-20.03: https://git.io/JvP4A
Avaq has joined #nixos
snajpa has joined #nixos
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo21 is now known as alexherbo2
<sigwinch28> does anyone here use Vorta (a borg backup frontend) on NixOS? it doesn't appear to be in my channels (I'm tracking nixos 19.09 and unstable).
abathur has joined #nixos
<cole-h> It hasn't been packaged yet, so that would be why
<sigwinch28> I'm happy to package it myself, but I was wondering if there would be anyone here who would go "oh, I use it! and here's how..."
_ris has joined #nixos
nDuff has joined #nixos
is_null has quit [Ping timeout: 246 seconds]
cartwright has quit [Remote host closed the connection]
<Avaq> Hi folks! I'm trying to set up wireguard. First using `networking.wireguard`, and when that didn't work, I switched to `networking.wg-quick`. I've gone over things a hundred times, but whatever I do, I end up in a situation where the wireguard server appears to be running, yet cannot be reached (Connection refused) by anyone.
<Avaq> It just seems like there's nothing listening n 0.0.0.0:51820, which is confirmed by `lsof -i -P`, but disproven by `netstat -lptu`, which lists udp 0.0.0.0:51820, but with no PID/Program. Furthermore, I can bind another process to 0.0.0.0:51820 without problems, and then communicate with that process over that port.
<Avaq> My problem is that I have no frame of reference for how a correctly running WireGuard setup should behave. So maybe one of you can help me out? Also I'm not very well versed when it comes to networking, so I might be mixing some things up. For example, I used telnet to try and connect to the wireguard server, but I fear that might be useless as wireguard expects UDP traffic.
is_null has joined #nixos
lovesegfault has joined #nixos
<sigwinch28> Avaq: I have some experience running Wireguard (both vanilla setups and through nixos)
rogue_koder has quit [Ping timeout: 246 seconds]
rogue_koder has joined #nixos
<cole-h> Avaq: If you aren't already, have you tried connecting from inside the network the host is on? You might have an issue with port forwarding, etc
<Avaq> I have the port forwarding on my router working, which I confirmed by disabling wireguard and having something else listen to 51820, and I could in fact reach it from outside the network.
c0c0 has quit [Ping timeout: 246 seconds]
<Avaq> I also tried in various ways to connect from my localhost to the wireguard server, but I'm not sure what I'm supposed to be looking for.
<misuzu> Avaq: make sure you are forwarding UDP port
<sigwinch28> Avaq: could you post the relevant part of your confirurations to a pastebin? make sure to take out any encryption keys and/or public IPs.
<sigwinch28> the real method of checking whether wireguard is _working_ is to use `wg show`, probably as root
<cole-h> (I think just `wg` is an alias for `wg show` -- shorter to type])
<misuzu> Avaq: also you have to use wg client to check if it's working
<sigwinch28> Wireguard is a bit misleading to troubleshoot because wireguard servers/clients will not respond at all unless the correct keys are configured
<Avaq> sigwinch28: the `wg show` output appears to be one of a well working setup. Yet I can't manage to reach the server.
<Avaq> Hold on, I'll create some pastes.
<sigwinch28> Avaq: check the server. On the client you should see an interface with a public key, and a peer with the server's public key. on the server you should see the opposite.
nckx has quit [*.net *.split]
Profpatsch has quit [*.net *.split]
amosbird has quit [*.net *.split]
hark has joined #nixos
glines has joined #nixos
nckx has joined #nixos
amosbird has joined #nixos
Profpatsch has joined #nixos
Ariakenom has quit [Ping timeout: 246 seconds]
<Avaq> Here's my config and wg show output: https://gist.github.com/Avaq/9211800a85468ad9dea14ba35ace5d98
<Avaq> misuzu: I am using udp forwarding
<Avaq> But if we forget the forwarding for a second - is there any way I can check that my wireguard server is running and doing what it should by approaching it from localhost somehow?
o1lo01ol1o has joined #nixos
xfix has joined #nixos
<misuzu> Avaq: is server on your home network or on internet?
<sigwinch28> if `wg` (or `wg show`) gives output, then the interface is up and running.
<Avaq> I am currently behind NAT.
<misuzu> Avaq: and server is?
<Avaq> The server is my laptop for now. The device I'm working on. :P Sorry
Ariakenom has joined #nixos
<Avaq> And I'm using my phone (with WireGuard android) to try and connect to my laptop from the outside.
blaggacao has quit [Ping timeout: 246 seconds]
<Avaq> And the android client logs just show endless failed handshaking attempts.
<misuzu> Avaq: try connecting from the inside
<sigwinch28> Avaq: the config you've provided is fine (although I can't speak for the NAT/iptables rules).
<mikky> hey, the external GPU problem looks more like a dual-gpu problem. The fact that the GPU is external doesn't make a difference. Anyone tried running dual GPU setup? For starters I would be happy to make X use the secondary GPU only, doesn't even have to switch on-the-fly.
blaggacao has joined #nixos
<sigwinch28> Avaq: it's also possible the configuration on your android device is incorrect. You can check that the interface is working by creating a second interface (say wg1) on the machine with the same settings as your android device.
lucc has joined #nixos
c0c0 has joined #nixos
<sigwinch28> Avaq: oh! you have wireguard allowed as a _TCP_ port: `firewall.allowedTCPPorts = [ 51820 ];`. Wireguard is UDP.
<misuzu> set dns server on client (8.8.8.8 so it's 100% working)
<Avaq> misuzu: allowedUDPPorts!!
<lucc> Hello everybody! Are some of you using mpd with pulseaudio on nixos? I am trying but am having trouble.
<Avaq> I missed that! All bloody day!
<lucc> I have these in my configuration.nix:
<lucc> ö
<lucc> services.mpd.enable = true;
<{^_^}> [nixpkgs] @vcunat pushed 13 commits to release-20.03: https://git.io/JvPBx
<Avaq> misuzu: How come you removed the postUp and postDown scripts?
wildtrees has joined #nixos
<misuzu> Avaq: `nat.internalIPs = [ "10.100.0.0/24" ];` is enough
<sigwinch28> ^
<lucc> Sorry I will try to paste that again:
<lucc> hardware.pulseaudio.enable = true;
<lucc> services.mpd.enable = true;
<lucc> services.mpd.musicDirectory = "/media/nas/audio";
<lucc> services.mpd.user = "luc";
<lucc> services.mpd.group = "users";
<{^_^}> [nixpkgs] @vcunat pushed 8 commits to release-19.09: https://git.io/JvPRk
<lucc> I need to use the user luc and the group users because they can read the music directory.
<misuzu> lucc: you probably need to set up pulseaudio output in services.mpd.extraConfig
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #nixos
vika_nezrimaya has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vcunat pushed commit from @mmilata to staging-19.09 « libxml2: add patch for CVE-2019-20388 »: https://git.io/JvPRW
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @mmilata to staging-20.03 « libxml2: add patch for CVE-2019-20388 »: https://git.io/JvPRR
malSet has joined #nixos
fling has quit [Read error: Connection reset by peer]
patrl has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
mexisme has quit [Ping timeout: 246 seconds]
malSet has joined #nixos
Shouou has joined #nixos
<Avaq> misuzu: sigwinch28: It's working for me now. It was just the firewall blocking UDP traffic. Thank you very much!
is_null has quit [Ping timeout: 250 seconds]
<Avaq> The port forwarding, key setup, client config, everything else, was already set up correctly.
alexherbo2 has quit [Ping timeout: 250 seconds]
alexherbo2 has joined #nixos
<cole-h> Pesky firewalls
<Avaq> I spent hours going over each of those layers.
fling has joined #nixos
<Avaq> Haha..
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
_ris is now known as ris
<lucc> misuzu: I tried that before like this:
<lucc> services.mpd.extraConfig = ''
<lucc> audio_output {
patrl has quit [Quit: WeeChat 2.7.1]
<lucc> type "pulse"
<sigwinch28> me, wanting to package a python package for myself first, then wanting to put it in nixpkgs later: wow what a ballache it is to just have one "default.nix" that works for nix-shell and callpackage
<lucc> }
<lucc> name "My MPD PulseAudio Output"
<lucc> '';
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<ottidmes> If I want xserver running but just want the terminal login (text mode) like when xserver is disabled, how can I decleratively configure that in NixOS, the guide I am following is for Ubuntu and says to run: sudo systemctl set-default multi-user.target
<softinio[m]> I recently switch to using home manager and latest 20.03 version on a work laptop
<lucc> But I get the error: ERROR: Failed to enable output "My MPD PulseAudio Output" (pulse); pa_context_connect() has failed: Connection refused
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<lucc> I assume that mpd can not find the pulse process.
patrl has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<softinio[m]> since then when I nix-shell to a python3 environment which builds a virtualenv inside it still points to my non virtualenv when I do which python
jb55 has joined #nixos
<misuzu> lucc: that's probably it. you can try `hardware.pulseaudio.systemWide = true;`
<softinio[m]> also when I try to pip install certain packages I get No module found Cython
Avaq has quit [Quit: Leaving.]
malSet has joined #nixos
<misuzu> lucc: also please youse pastebin
malSet has quit [Read error: Connection reset by peer]
<softinio[m]> any ideas on what I may have misconfigured
<softinio[m]> I did add my nix-profile bin dir to my path in my shell profile
<softinio[m]> actually I removed that
<lucc> misuzu: I used to have multi line support in my client but it seems to be broken. Would short code snippets be acceptable here if I fix my client?
alexherbo20 has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.7]
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo20 is now known as alexherbo2
<T_S_> hi. longtime nix user but not a committer. I am working to update the biconductor packages under r-modules. They are way out of date. Seems like it will be just a bunch of tweaks that I should be able to work through but I won't know until I get done. Is there anyone who I should consult prior to making a pull request or even earlier?
<ottidmes> I probably just want services.xserver.autorun = false;
<misuzu> lucc: i don't know, pastebins is just easier to read
<{^_^}> [nixpkgs] @Infinisil opened pull request #82743 → Partially typed modules (!) → https://git.io/JvPRS
<ottidmes> softinio[m]: maybe try --pure with your nix-shell? Although that would not actually fix your problem, might give you insights if it then works
<simpson> T_S_: Anybody you find listed as maintainers might care.
<{^_^}> [nixpkgs] @Ma27 merged pull request #82591 → bitwarden_rs: 1.13.1 -> 1.14 → https://git.io/JviBS
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvPRH
<{^_^}> [nixpkgs] @romildo opened pull request #82745 → matcha: 2020-03-11 -> 2020-03-15 → https://git.io/JvPRQ
mojjo has joined #nixos
<softinio[m]> ottidmes: trying in it now thx
<lucc> now if I try the syste wide pulse audio I need to set the group to "audio" but that does seem to work, mpd inside the systemd unit complains: exception: Failed to set group 17: Operation not permitted
<lucc> Is there any way to modify an implicitly generated systemd service like mpd.service?
<misuzu> lucc: systemd.services.mpd
<misuzu> lucc: https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E
<mojjo> what happened to the nixops manual?
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<samueldr> mojjo: isn't it working now? https://nixos.org/nixops/manual/
<samueldr> or is it that you are missing a way to get to the manual from the nixos.org homepage?
<samueldr> (which may be a valid concern)
lucc has quit [Ping timeout: 256 seconds]
<mojjo> this is kind of a different version. I was looking for the acutally existing secion on 'deployment to digital ocean'
<mojjo> I don't mind how to get it :)
lucc has joined #nixos
captjakk has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @turboMaCk opened pull request #82746 → elmPackages.elm-instrument: Init at 0.0.7 → https://git.io/JvP0O
nckx has quit [*.net *.split]
Luker has quit [*.net *.split]
hexagoxel has quit [*.net *.split]
<T_S_> thanks @simpson
hexagoxel has joined #nixos
Luker has joined #nixos
nckx has joined #nixos
M4cheese[m] has joined #nixos
<lucc> ok I had to do `systemd.services.mpd.serviceConfig.Group = "audio";` and add "luc" to the "audio" group but now it works.
<lucc> misuzu: thank you!
mexisme has joined #nixos
<softinio[m]> @ott
<softinio[m]> ottidmes: ty that helped me getting it to work
nbg^ has quit [Read error: Connection reset by peer]
LysergicDreams has quit [Ping timeout: 256 seconds]
LysergicDreams has joined #nixos
proaralyst has joined #nixos
gagbo_ has quit [Quit: I'm out !]
<rnhmjoj> just found out that cabal2nix has a bunch of hardcoded postInstalls for packages with man pages: https://git.io/JvP02. apparently there is no standardised location :(
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
<proaralyst> Hello. I have an unencrypted boot disk, but I'd like to encrypt the backing disks for my raid array. I've set up mdadm on top of dmcrypt but I can't figure out how to get nixos to mount the encrypted disks correctly
kleisli has quit [Remote host closed the connection]
<proaralyst> If I use the boot.initrd.luks stuff, it looks for the keyfile before mounting / & fails to boot. I can't use fileSystems.path.encrypted directly because there are six disks to one mount point. I've tried using the cryptsetup generator but systemd doesn't autostart the servies.
kleisli has joined #nixos
<proaralyst> Any ideas?
<ottidmes> rnhmjoj: I used this https://github.com/msteen/nix-prefetch/blob/master/default.nix#L54 (also see the buildPhase)
orivej has joined #nixos
<proaralyst> I have narrowed some of this down to the discovery that I have no cryptsetup.target file, but I can't figure out why the systemd package isn't installing it. It's in the systemd source
<ottidmes> proaralyst: I generally just write my own commands in boot.initrd.preLVMCommands to handle cryptsetup decryption
<proaralyst> Do those run after the root gets mounted?
linarcx has quit [Quit: WeeChat 2.7.1]
captjakk has quit [Ping timeout: 246 seconds]
<proaralyst> Because my keyfile is currently in /etc/
linarcx has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
captjakk has joined #nixos
tokudan has quit [Quit: Dunno.]
<rnhmjoj> ottidmes: but there is no way to do that from the .cabal only, right? i have would have to add an override in nixpkgs because hackage2nix won't do that automatically
mexisme has quit [Ping timeout: 250 seconds]
tokudan has joined #nixos
<ottidmes> rnhmjoj: no clue, sorry, my haskell projects have been too simple in terms of cabal config
kraem1 has quit [Quit: outta here]
lucc has quit [Quit: WeeChat 2.7.1]
kraem has joined #nixos
<proaralyst> ottidmes: looks like I can drop it into postMountCommands, and also drop the fileSystems configuration. Feels kinda sad.
wiml has joined #nixos
<rnhmjoj> ottimdmes: no worries, thanks for the example
helozjisky has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a2e06fc3423 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
kleisli has quit [Ping timeout: 264 seconds]
jreed has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #82733 → zerotierone: fix build on armv7l via gcc9 → https://git.io/JvPWa
<{^_^}> [nixpkgs] @zimbatm pushed 3 commits to master: https://git.io/JvPEg
<{^_^}> [nixpkgs] @zimbatm merged pull request #82738 → zerotierone: enable package test → https://git.io/JvP8N
<{^_^}> [nixpkgs] @zimbatm pushed commit from @danielfullmer to master « zerotierone: enable package test (#82738) »: https://git.io/JvPEo
<{^_^}> [nixpkgs] @aanderse merged pull request #82319 → tomcat: 7.0.92 -> 7.0.100, 8.5.42 -> 8.5.51, 9.0.21 -> 9.0.31 → https://git.io/JvK7U
<{^_^}> [nixpkgs] @aanderse pushed 4 commits to master: https://git.io/JvPES
noudle has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #82579 → sensu-go-agent: 5.14.1 -> 5.18.1 → https://github.com/NixOS/nixpkgs/pull/82579
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « sensu-go-agent: 5.14.1 -> 5.18.1 »: https://github.com/NixOS/nixpkgs/compare/6283b00f4f5b...58b2b8d844eb
Diogo has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
proaralyst has quit [Quit: WeeChat 2.4]
veske has joined #nixos
veske2 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #82710 → python27Packages.zc_buildout: 2.13.2 -> 2.13.3 → https://git.io/JvPUN
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.zc_buildout: 2.13.2 -> 2.13.3 »: https://github.com/NixOS/nixpkgs/compare/58b2b8d844eb...a5f7fc6160da
heatmiser has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer opened pull request #82747 → pythonPackages.z3c-checkversions: disable python2 tests → https://github.com/NixOS/nixpkgs/pull/82747
<{^_^}> [nixpkgs] @jonringer merged pull request #82683 → cmt: init at 1.17 → https://github.com/NixOS/nixpkgs/pull/82683
<{^_^}> [nixpkgs] @jonringer pushed commit from @sjfloat to master « cmt: init at 1.17 »: https://git.io/JvPEN
ixxie has quit [Ping timeout: 246 seconds]
ixxie has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 has joined #nixos
o1lo01ol1o has joined #nixos
nisby44_ has joined #nixos
mexisme has joined #nixos
knupfer1 is now known as knupfer
gyroninja has quit [Quit: gyroninja]
<{^_^}> [nixpkgs] @svanderburg pushed to release-20.03 « nodePackages: regenerate with node2nix 1.8.0 »: https://git.io/JvPuC
nuncanada2 has quit [Read error: Connection reset by peer]
nuncanada2 has joined #nixos
<{^_^}> [nixpkgs] @svanderburg pushed to release-20.03 « base16-builder: regenerate with node2nix 1.8.0 and add supplement.json to fix build »: https://git.io/JvPui
inkbottle has joined #nixos
nisby44_ has quit [Remote host closed the connection]
zebrag has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/27eca645524 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @FRidh merged pull request #81733 → libkml: init at 1.3.0 → https://git.io/Jvaj9
<{^_^}> [nixpkgs] @FRidh pushed commit from @costrouc to master « libkml: init at 1.3.0 »: https://git.io/JvPud
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
T_S_ has quit [Ping timeout: 265 seconds]
Renso_ has joined #nixos
linarcx has quit [Ping timeout: 246 seconds]
Renso_ has left #nixos [#nixos]
reactormonk has quit [Ping timeout: 246 seconds]
amfl_ has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @mehlon opened pull request #82750 → tribler: add desktop file, icons and manpages → https://git.io/JvPz2
<{^_^}> [nixpkgs] @Infinisil opened pull request #82751 → Minor module improvements → https://git.io/JvPzi
alex_giusi_tiri has joined #nixos
<fresheyeball> clever: any ideas?
<{^_^}> [nixpkgs] @a1mac opened pull request #82752 → pythonPackages.IMAPClient: 0.13 -> 2.1.0 → https://git.io/JvPzd
<fresheyeball> all the docs I can find point to things like /usr/share/X11
<fresheyeball> which are not there on nixos
mexisme has quit [Ping timeout: 246 seconds]
<{^_^}> [nixos-homepage] @samueldr opened pull request #352 → Strip nix store paths from source nixpkgs in packages.json → https://git.io/JvPzF
noudle has quit []
hmpffff has joined #nixos
mexisme has joined #nixos
oida has quit [Ping timeout: 240 seconds]
captjakk has quit []
ddellacosta has quit [Quit: WeeChat 2.2]
mexisme has quit [Ping timeout: 250 seconds]
ddellacosta has joined #nixos
bennofs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bennofs has joined #nixos
tomberek has quit [Remote host closed the connection]
<evanjs> So I'm trying to use an old glibc (2.24) with a newer base nixpkgs. I thought I might be able to grab the gcc from 16.09 (which uses 2.24) but there's no pkgsCross there, no libc_bin, etc, and I'm not sure if what I'm trying to do is feasible
<evanjs> the big thing that keeps tripping me up is eg error: assertion failed at /nix/store/278h70apn46p6i15qcrid94jxs75kh61-nixos-20.09pre215947.82b54d49066/nixos/pkgs/build-support/cc-wrapper/default.nix:88:1
<evanjs> which is `assert libc_bin == bintools.libc_bin;`
Renso_ has joined #nixos
dieraca has joined #nixos
<fresheyeball> clever: I found the logs for when I asked last time lol https://logs.nix.samueldr.com/nixos/2019-11-18#2796726;
jreed has quit [Remote host closed the connection]
tsrt^ has joined #nixos
<dieraca> I'm trying to install a custom version of ocaml (4.06). https://nixos.wiki/wiki/OCaml#Custom_version says I need to add the relevant attribute set, but when I add nixpkgs.ocaml-ng.ocamlPackages_4_06, I get an error. Perhaps the wiki is out of date. Any idea how to do this?
<raboof> I'm starting out with lxc, and notice https://github.com/nix-community/nixos-generators talks about an 'lxc' command-line tool, while 'nix-shell -p lxc' seems to introduce 'lxc-*' tools. Am I missing something? :)
gustavderdrache has quit [Quit: Leaving.]
captjakk_ has joined #nixos
<captjakk_> how does one install the broadcom_sta drivers assuming you have wired internet
<captjakk_> I am brand new to this but have managed to get an install of nixos onto my macbook
<gchristensen> I'm feeling pretty novice here. I'm starting kresd.socket, and getting kresd.socket: Failed to create listening socket ([::]:53): Address already in use -- but then `netstat -lp` shows nothing listening on 53, and `sudo -i lsof | grep :53` isn't showing anything either. anyone have ideas on what is going on?
<tilpner> gchristensen: Are you on 20.03?
<gchristensen> this machine is running 19.09
<raboof> aaah it's part of lxd apparently
<raboof> this looks suspiciously docker-esk :D
mehlon has joined #nixos
<mehlon> whazzup nix
<mehlon> I want to build a program for i686-linux but I'm on x86_64... how would I do this?
<bennofs> hmm, I get a infinite recursion error when using nixpkgs.overlays. Anyone seen that one before? https://gist.github.com/2effae10ecabd8e7e76eb0046e7f275f
<bennofs> unfortunately, there is no reference to any line in my own config :( [this is with an empty overlay]
dieraca has quit [Ping timeout: 264 seconds]
nerdmaxx has joined #nixos
<Ashy> has anyone else seen this issue on plasma on nixos-unstable? https://www.reddit.com/r/kde/comments/faqyy9/no_monitor_arrangement_setup_on_display/
<Ashy> the monitor arrangement tool doesnt render in the display configuration and you can't arrange multiple external monitors
fresheyeball has quit [Quit: WeeChat 2.6]
<cole-h> bennofs: A paste of your config would help us help you as well
<evanjs> okay, think I got everything "sorted", but now I get "/nix/store/q3wx1gab2ysnk5nyvyyg56ana2v4r2ar-glibc-2.24/lib/crti.o: file not recognized: file format not recognized"
<Ashy> at least i couldnt on a dell precision 3520 with a (lenovo) thunderbolt dock with one displayport monitor and a second hdmi monitor directly into the laptop
<evanjs> This looks... somewhat familiar...
ixxie has quit [Quit: Lost terminal]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3355e8d1ca1 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<evanjs> tell me there isn't something with fPIC here...
<evanjs> I do have hardeningDisable = [ "all" ] in the expression I'm trying to build, FWIW
<bennofs> cole-h: argh, I feel ashamed. The error was `nixpkgs.overlays = [ import ./whatever ]` instead of `nixpkgs.overlay = [ (import ./whatever) ]`
<cole-h> :P
fresheyeball has joined #nixos
<cole-h> bennofs++ You found your issue and posted the solution, no matter how simple it was. Thanks
<{^_^}> bennofs's karma got increased to 2
oida has joined #nixos
<bennofs> although I am somewhat surprised it got that far before erroring
<bennofs> isn't import a keyword?
<MichaelRaskin> Lazyness and nondeterministic order of evaluation
<bennofs> > [ import whatever ]
<{^_^}> [ <PRIMOP-APP> <CODE> ]
<MichaelRaskin> Builtin
<bennofs> ah oh
<MichaelRaskin> > import
<{^_^}> <PRIMOP-APP>
<MichaelRaskin> Hmmm, not even a builtin
<bennofs> > (x: x foo) import
<{^_^}> string 'blablablabl' doesn't represent an absolute path, at (string):289:5
<{^_^}> [nixpkgs] @Kloenk opened pull request #82753 → engelsystem: init at 3.1.0 → https://git.io/JvPgA
<bennofs> > foo
<{^_^}> "blablablabl"
Renso_ has left #nixos [#nixos]
Renso_ has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #82556 → aucatctl: init at 0.1 → https://git.io/JviGg
<{^_^}> [nixpkgs] @alyssais pushed commit from @S-NA to master « aucatctl: init at 0.1 »: https://git.io/JvP2e
<bennofs> > lib.isFunction import
<{^_^}> true
<{^_^}> [nixpkgs] @svanderburg merged pull request #82067 → androidenv: enhance script for the generated expressions → https://git.io/Jvrxe
<{^_^}> [nixpkgs] @svanderburg pushed 5 commits to master: https://git.io/JvP2v
<bennofs[m]> > import == import
<{^_^}> error: syntax error, unexpected '=', at (string):122:11
<cole-h> 🤔
<bennofs[m]> that did work in my local nix rpel
<MichaelRaskin> Ouch, import is defined via scopedImport
<bennofs> > import == import
<{^_^}> error: syntax error, unexpected '=', at (string):122:11
<evanjs> Okay, got past that... now an even sillier error... armv7l-unknown-linux-gnueabihf-c++: command not found
<evanjs> ... but armv7l-unknown-linux-gnueabihf-cpp exists haha
<MichaelRaskin> > ((import) == (import))
<{^_^}> false
<bennofs[m]> wat?
<dirkx> admin:When you submit a pull request for something in tests -- anything you need to do in terms of updating docs or other places -or is https://github.com/NixOS/nixpkgs/pull/82657 complete enough ?
<{^_^}> #82657 (by dirkx, 1 day ago, open): new: 4 extra test/examples for the apache redwax modules
<bennofs[m]> ah, is this due to the context the bot evals the expression in?
fresheyeball has quit [Quit: WeeChat 2.6]
<MichaelRaskin> I think it is about functions being uncomparable
<cole-h> dirkx: I can't answer this, but what I would do is inspect other commits that touched tests
<MichaelRaskin> > let f = x: x; in f == f
<{^_^}> false
opticnerve has joined #nixos
<bennofs[m]> MichaelRaskin: ah, no I was wondering about the > import == import giving a syntax error
<{^_^}> [nixpkgs] @mehlon opened pull request #82754 → tor-browser-bundle-bin: 9.0.5 -> 9.0.6 → https://git.io/JvP2U
<bennofs[m]> MichaelRaskin: do you know if there is any builtin that could be used to differentiate import from "normal", user defined functions?
<MichaelRaskin> > foo == foo
<{^_^}> error: syntax error, unexpected '=', at (string):94:8
<MichaelRaskin> I think it is just the special assignment parser in the bot
<MichaelRaskin> I think import could be defined on the user side; it happens to be a hardwired definition in C++ code, but the same definition could come from Nix
<bennofs[m]> right now the type definition for "overlay" only has check = lib.isFunction, I wonder if there is something more appropriate that could catch nixpkgs.overlays = [ import whatever ] ?
<cole-h> Not without loads of complexity, I'd think
<bennofs[m]> might also be the case that type checking runs too late anyway to catch this issue, since it should've at least noticed that `whatever` is not a function
<MichaelRaskin> Well, it might process entries one by one
<MichaelRaskin> import is a function, so…
<{^_^}> [nixpkgs] @Enteee opened pull request #82755 → update-users-groups.pl: use atomic write_file → https://git.io/JvP2s
mexisme has joined #nixos
<MichaelRaskin> bennofs: funny, try applying builtins.functionArgs then builtins.isFunction to import
jgeerds has quit [Remote host closed the connection]
<bennofs> > builtins.functionArgs import
<{^_^}> 'functionArgs' requires a function, at (string):289:1
<bennofs> > builtins.isFunction import
<{^_^}> true
cosimone has quit [Quit: Quit.]
CptCaptain has quit [Quit: WeeChat 2.7.1]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @grahamc pushed to arm-bootstrap « armv{5tel,6l,7l}: update bootstrap tools after #80497 »: https://git.io/JvP2z
knupfer has quit [Quit: knupfer]
<infinisil> bennofs: MichaelRaskin: x == x doesn't work because it parses it as an assignment
<infinisil> I should fix that eventually
<infinisil> > (10 = 10)
<{^_^}> error: syntax error, unexpected '=', expecting ')', at (string):289:5
<infinisil> > (10 == 10)
<{^_^}> true
<infinisil> Wraping it with () is a workaround for now
<infinisil> > builtins.typeOf import
<{^_^}> "lambda"
<infinisil> > builtins.typeOf (x: x)
<{^_^}> "lambda"
<{^_^}> [nixpkgs] @jonringer opened pull request #82757 → unityhub: fix hash → https://git.io/JvP2V
das-g[m] has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #82512 → python35Packages.openyx: fix build → https://git.io/Jvika
<{^_^}> [nixpkgs] @jonringer pushed to master « python35Packages.openyx: fix build »: https://git.io/JvP2K
<eacameron> The OVA download link on nixos.org is broken. cc @grahamc[m] (who do I mention this to?)
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @wd15 opened pull request #82758 → [20.03] python37Packages.fastapi: 0.45.0 -> 0.49.0 → https://git.io/JvP2y
<flokli> huh? shouldn't a `nix-copy-closure --to root@$host /nix/store/*-system-${hostname}-*`, and then executing `…/bin/switch-to-configuration switch` also update the bootloader entries?
o1lo01ol1o has quit [Remote host closed the connection]
<flokli> I'm on a systemd-boot machine, and for some reason, it still seems to come up with the old config
mexisme has quit [Ping timeout: 250 seconds]
<mehlon> switch-to-configuration? what's that?
<mehlon> oh I see. I just found it on my machine
mexisme_ has quit [Ping timeout: 246 seconds]
<mehlon> must be a bug. it's a perl script and it does mention updating the bootloader
<tilpner> flokli: You forgot a nix-env call
<flokli> tilpner: why, and which one?
<flokli> shouldn't that be the script doing?
maddo has quit [Quit: See ya]
<tilpner> nix-env -p /nix/var/nix/profiles/system --set $SYSTEM
<lovesegfault> What's the right way to specify the sources in a drv? I thought this would work but it complains: `src = [ ./Cargo.toml ./build.rs ./vendor ./src ];`
<flokli> tilpner: not sure if I understand
<lovesegfault> error: cannot coerce a list to a string, at /home/bemeurer/src/chromaprint_sys/Cargo.nix:1333:11
<lovesegfault> wait
<lovesegfault> nvm I am silly
<flokli> tilpner: I mean, I can see morph calls that as well, before invoking bin/switch-to-configuration. But I don't understand why it's not part of the script
<flokli> and how it fails
<tilpner> flokli: I'm not sure without checking the sources, but I assume activation builds the bootloader entries from the profile
<tilpner> flokli: I don't know which script you're talking about
<flokli> tilpner: it's essentially <nixpkgs/nixos/modules/system/activation/switch-to-configuration.pl>
<flokli> look in /run/current-system/bin/switch-to-configuration for a rendered example
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<tilpner> Yes, but that calls other things
<flokli> apparently, we currentlyneed to call nix-env before switching, as shown here: https://github.com/DBCDK/morph/blob/master/ssh/ssh.go#L213-L243
<tilpner> For me, it's install-grub.pl
<tilpner> Which does seem to check the profiles
o1lo01ol1o has joined #nixos
<flokli> tilpner: here, it's nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
<tilpner> Yes?
* tilpner sleeps, good luck
<flokli> good night!
mexisme_ has joined #nixos
mojjo has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ekleog merged pull request #79120 → Iodine: ipv6 support, updates, hardening, nixos test.... → https://git.io/Jvsg2
<{^_^}> [nixpkgs] @Ekleog pushed 10 commits to master: https://git.io/JvPaI
Renso_ has left #nixos [#nixos]
Renso_ has joined #nixos
Renso_ has quit [K-Lined]
cyphase has quit [Ping timeout: 240 seconds]
philr has joined #nixos
cyphase has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #81858 → Cross compilation fixes (march 2020) → https://git.io/JvVje
<{^_^}> [nixpkgs] @matthewbauer pushed 31 commits to staging: https://git.io/JvPa8
nDuff has quit [Quit: zzz]
Jackneill has joined #nixos
<ottidmes> What is different in nix-shell --pure other than a cleaner environment? I am trying to figure out why svn export does manage to find the cacert bundle with nix-shell -p subversion, but fails with nix-shell -p subversion --pure, I hoped it was due to SSL_CERT_FILE, but it does not seem to be the case
justanotheruser has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #82759 → conmon: 2.0.11 -> 2.0.12 → https://git.io/JvPa0
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
chloekek has quit [Ping timeout: 246 seconds]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<dingenskirchen> ottidmes: nix-shell without --pure basically adds to your PATH and general environment, with --pure it clears it beforehand
nerdmaxx has quit [Quit: WeeChat 2.7.1]
<dingenskirchen> if you want to figure out where it gets the files, try strace
aveltras has quit [Quit: Connection closed for inactivity]
<das-g[m]> Can I let one package provide data for another package in a XDG_DATA_DIRS dir?
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
m0rphism has quit [Ping timeout: 265 seconds]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
opticnerve has quit [Quit: Leaving]
malSet has joined #nixos
mehlon has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @grahamc pushed to arm-bootstrap « armv{5tel,6l,7l}: bootstrap-files: quote URLs for rfc-45 »: https://git.io/JvPVv
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
erasmas has quit [Ping timeout: 250 seconds]
gustavderdrache has joined #nixos
<ottidmes> dingenskirchen: Thanks, that helped! Always forget about that piece of software, but by checking the #nixos channel log for strace and getting the right command for files, I managed to figure out how it is determined
<dingenskirchen> glad to have helped :)
mjrosenb has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed commit from @samueldr to master « Strip nix store paths from source nixpkgs in packages.json (#352) »: https://git.io/JvPVq
<{^_^}> [nixos-homepage] @garbas merged pull request #352 → Strip nix store paths from source nixpkgs in packages.json → https://git.io/JvPzF
leomar has joined #nixos
linarcx has quit [Quit: WeeChat 2.7.1]
Jackneill has quit [Remote host closed the connection]
ben_ is now known as ben
fresheyeball has joined #nixos
mjrosenb has quit [Ping timeout: 264 seconds]
codygman has joined #nixos
<ottidmes> Considering it tries to load /no-cert-file.crt in nix-shell --pure it matches the value of SSL_CERT_FILE, but I tried changing it and exporting it, and I tried prepending it before the command, but it still keeps using the old value
<ottidmes> Without --pure it loads /nix/store/6566wp1fvzbdy242czysqyg8l7wxn9im-nss-cacert-3.49.2/etc/ssl/certs/ca-bundle.crt, which also matches SSL_CERT_FILE at that point in time
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #82697 → [19.09] nextcloud: 16.0.8 -> 16.0.9 → https://git.io/Jvip5
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.09: https://git.io/JvPVP
codygman has quit [Client Quit]
codygman has joined #nixos
<fresheyeball> should I turn on useGlamor?
nckx has quit [Ping timeout: 264 seconds]
__monty__ has quit [Quit: leaving]
patrl has quit [Quit: WeeChat 2.7.1]
codygman has quit [Client Quit]
nckx has joined #nixos
codygman has joined #nixos
codygman has quit [Client Quit]
codygman has joined #nixos
alexherbo2 has quit [Ping timeout: 264 seconds]
<Ashy> is anyone here using compression with btrfs on their root drive?
bhipple has joined #nixos
<Ashy> just curious what performance and "real world" compression ratios are like
mexisme_ has quit [Ping timeout: 256 seconds]
<ottidmes> Ashy: I am using it almost everywhere
codygman has quit [Client Quit]
codygman has joined #nixos
<ottidmes> Ashy: if you give me the commands to get those values, I don't mind checking
<ottidmes> Ashy: would not recommend using btrfs anymore though, I moved to ZFS for all my new machines
<Ashy> ottidmes: i'm going the other way, from zfs to btrfs
<ToxicFrog> Ashy: I used to, it was seriously bad times, ditched it after a few months
leomar has quit [Quit: leomar]
codygman has quit [Client Quit]
codygman has joined #nixos
<Ashy> ToxicFrog: performance issues or actual data loss issues?
<Ashy> btrfs seems to be so contentious whenever i ask who's using it and what their experience is
codygman has quit [Client Quit]
<Ashy> filesystems in general seem incredibly disappointing in 2020 :/
codygman has joined #nixos
<misuzu> all hopes on bcachefs
o1lo01ol1o has quit [Remote host closed the connection]
<ottidmes> I can't complain with performance and and data loss on my desktop, have been running the same btrfs for 5 years now, without problem, but I did fail on me once on a server
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a2e06fc3423 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> [nixpkgs] @grahamc merged pull request #82051 → stdenv: update ARM bootstrap tarballs → https://git.io/JvrQ9
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/JvPwT
<{^_^}> [nixpkgs] @grahamc pushed 0 commits to arm-bootstrap: https://git.io/JvPwk
<fresheyeball> rawr!
<fresheyeball> I want apl keyboard
<fresheyeball> why not work
<fresheyeball> POR QUE
leomar has joined #nixos
<evils> i'm a bit annoyed at zfs not having an equivalent to `bees` (best-effort extent-same), but it's only saving me like 50gb on 7tb xD
<ottidmes> fresheyeball: What do you actually need for that, I did saw a package for it on Arch Linux after a quick search
<fresheyeball> for learning esoteric bs to make my mind bigger
<fresheyeball> I want to learn apl
<{^_^}> [nixpkgs] @teto merged pull request #82734 → superTuxKart: 1.0 -> 1.1 → https://git.io/JvPln
<fresheyeball> there I said it
<gchristensen> evils: it would be cool to have support for dedup agents, for sure
<{^_^}> [nixpkgs] @teto pushed commit from @Sohalt to master « superTuxKart: 1.0 -> 1.1 »: https://git.io/JvPwL
<fresheyeball> I set xserver.layout = "us,apl"
<fresheyeball> and it doesn't work
<fresheyeball> if I use xserver.layout = "us,dvorak" that works fine
<fresheyeball> this is the only usage
<fresheyeball> the symbols are there
<fresheyeball> WTF
<fresheyeball> ME annoyed, spent too much time on this
<bqv[m]> hey, how do i print a set with full depth
<bqv[m]> or serialize nix code to a file or string some other way
<evils> since we're on the topic, #67411
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67411 (by charles-dyfis-net, 29 weeks ago, open): bees: Try all findmnt modes in service wrapper
<bennofs> bqv[m]: builtins.toJSON maybe?
<fresheyeball> evils: great name
<evils> fresheyeball: bees or evils?
<bqv[m]> bennofs: beats the point when the source is json, i'm trying to format it as nix :p
<fresheyeball> evils
<fresheyeball> you couldn't just be evil, you had to be more than one
<bqv[m]> i've got builtins.fromJSON (builtins.readFile ...)
<bqv[m]> but nix-repl elides nested stuff
<Ashy> misuzu: i should probably chip in some money towards bcachefs development
<cole-h> bqv[m]: Also lib.traceValSeq might help
<fresheyeball> ottidmes: any idea why it's broken on nixos?
<ottidmes> bqv[m]: nix eval '(builtins.fromJSON (builtins.readFile ...))' > file.nix, should do the work, no?
<cole-h> (if you want to peek into the <CODE> and similar stuff)
<ToxicFrog> Ashy: massive performance issues (poor throughput plus some individual read/write operations taking 30+ seconds to complete on an SSD). Minor data loss when it started returning ENOSPC when less than half full. The mitigations on the wiki did not help.
Blessjah has quit [Ping timeout: 256 seconds]
fresheyeball has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @veprbl opened pull request #82760 → [ZHF] kicad: don't build on Hydra versions with 3d → https://git.io/JvPw0
<bqv[m]> ah yes
<bqv[m]> works
<bqv[m]> thanks guys
Blessjah has joined #nixos
<Ashy> ottidmes: wow 53% compression ratio on /nix/store is much better than i expected
<Ashy> ottidmes: have you tried zstd at all?
<ToxicFrog> Fortunately I learned the terrible secret of btrfs RAID1 (it's not actually RAID1) from other people rather than encountering it in production.
<ottidmes> Ashy: no idea what that even is
<{^_^}> [hydra] @grahamc pushed 0 commits to hydra: https://git.io/JvPwg
<{^_^}> [hydra] @grahamc pushed 0 commits to hydra: https://git.io/JvPw2
<Ashy> ok, new compression algo from facebook (but foss and patent free from what i understand), supposedly better compression ratio and speed than lzo
fresheyeball has joined #nixos
<Ashy> ToxicFrog: that ENOSPC issue sounds fairly worrying
<ToxicFrog> Ashy: https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#I_get_.22No_space_left_on_device.22_errors.2C_but_df_says_I.27ve_got_lots_of_space
leomar has quit [Quit: leomar]
<evanjs> gah. asserts aren't in lib in 16.09? How might I let a modern expression with asserts function normally if passing in a 16.09 stdenv?
rajivr___ has joined #nixos
teto has quit [Quit: WeeChat 2.7.1]
<ottidmes> evanjs: patch stdenv.lib? (naive answer)
<{^_^}> [nixpkgs] @domenkozar merged pull request #82746 → elmPackages.elm-instrument: Init at 0.0.7 → https://git.io/JvP0O
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JvPwi
fendor has quit [Read error: Connection reset by peer]
hmpffff has quit [Quit: nchrrrr…]
xkapastel has quit [Quit: Connection closed for inactivity]
leomar has joined #nixos