worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || 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-inf
<colemickens> pushqrdx: no, nix-env -iA will use channels by default.
<pushqrdx> then how is it getting stuff from your overlay?
<colemickens> pushqrdx: `nix-channel --list` or `sudo nix-channel --list` to list your channels
<colemickens> pushqrdx: when you do `nixos-rebuild ...`, your configuration.nix is evaluated, along with the overlay you add to nixpkgs, so it "works". It can see the overlay packages when building your system.
<colemickens> pushqrdx: nix-env ... doesn't use any of that. By default it just installs from a channel without any overlays.
<pushqrdx> colemickens both return only 1 channel the nix unstable, ok so the last sentence i understand. how does nix-env able to grap stuff from your overlay though
<pushqrdx> kinda confusing
<pushqrdx> i can totally install packages from the nixpkgs-wayland using nix-env and i haven't added any channels
<pushqrdx> any extra channels*
<colemickens> pushqrdx: either (1) you're not actually getting them from the overlay (many are already in nixpkgs), or (2) you configured the overlay already by adding it in `~/.config/nixpkgs/overlays{/,.nix}`
orivej has quit [Ping timeout: 258 seconds]
<colemickens> (it is kinda confusing by the way. This entire conversation is one of my biggest frustrations with Nix, but hopefully should be reduced in the future)
<pushqrdx> colemickens it could be the first one then so if i understand correctly i should be able to add an overlay locally to a shell.nix using `with (import <nixpkgs> { overlays = [(/etc/nixos/wayland.nix)];});`
<pushqrdx> note i have the wayland overlay at the location
freezeboy has quit [Remote host closed the connection]
<colemickens> `s/overlays/config.overlays/` nad `s|/etc/|import /etc/` but I think you've got the gist
<colemickens> (btw, it's also helpful to remember that `nix-env -iA` and `sudo nixos-rebuild` see different channels since they're per-user, so if you're ever confused why something isn't updating or installing the version you expect....)
<{^_^}> [nixpkgs] @redvers opened pull request #102844 → apacheant: 1.9.6 -> 1.9.15 → https://git.io/JTAKF
<pushqrdx> didn't know that, nice tip
<pushqrdx> colemickens my shell.nix still throws undefined though
<pushqrdx> even though i imported the wayland.nix
<pushqrdx> that i use in my configuration.nix successfully
<pushqrdx> wayland.nix just contains the snippet in the nixpkgs-wayland repository
<pushqrdx> with some added packages
<tokudan> how can I disable remote building for one execution of "nix build"?
MmeQuignon has quit [Ping timeout: 264 seconds]
<colemickens> tokudan: guessing, but can you pass `--builders ''` ?
<colemickens> pushqrdx: can you go ahead and share the shell.nix? gist.github.com or similar?
<tokudan> colemickens, yep, that works. it was too obvious for me to try it. thanks!
<goodnight_noom[m> hey everyone, sorry for the newbie question, I hope this is the right place to ask. I have installed installed neovim both via `environment.systemPackages` and via an overlay (that compiles it from its `master` branch). How do I specify which one will be accessible by my user? Now, by default, it seems to be the one installed in `configuration.nix`
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1eaf05fbaf6 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Fare has quit [Ping timeout: 264 seconds]
<energizer> infinisil: any idea why it doesn't find the kernel?
cr4y1_ has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a6a3a368dda (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<colemickens> crap sorry pushqrdx it was just `overlays`, not `config.overlays`, my bad
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
mbrgm_ has joined #nixos
<pushqrdx> colemickens nothing to be sorry for so glad for your help. sadly after changing config.overlays to just overlays i am getting `infinite recursion encountered, at undefined position` idk why :D
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<colemickens> pushqrdx: yeah, go ahead and paste the wayland.nix file
<colemickens> I suspect it doesnt have quite what we want
* colemickens really needs to fix CI for this, it works sporadically which is good enough but the badge is always red :(
<pushqrdx> colemickens here you go http://ix.io/2D32, it's just the one from nixpkgs-wayland Readme
<infinisil> energizer: Nope, I'm not a jupyter user
sigmundv has quit [Ping timeout: 260 seconds]
<colemickens> pushqrdx: so that readme is really only describing how to use it for configuration.nix. That approach... uh, basically won't work for nix-env or nix-shell.
* colemickens sighs. I'm going to start writing "NIX_PATH considered harmful" as a flakes propaganda piece.
<pushqrdx> huh
<colemickens> pushqrdx: the readme usage shows to import taht wayland.nix file... that uses nixos's module import system. We won't be able to use that in nix-shell shell.nix.
<pushqrdx> so how would i use an overlay in a shell.nix then, because overlays are very important part of building stuff in nix and i find it a bit too confusing tbh
<pushqrdx> might be that i am a dummy too so idk
lunik16 has joined #nixos
<pushqrdx> or perhaps the docs are a bit lacking so i haven't got the full idea
<colemickens> pushqrdx: you're really not being a dummy. this is... more complicated than it ought to be. I feel like I have this conversation once a week, despite trying to document this extensively.
<colemickens> to just make a long story short: https://gist.github.com/5abc47b7deaaf1995c4fb748d8dd8082
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102845 → python27Packages.exifread: 2.3.1 -> 2.3.2 → https://git.io/JTA6X
<energizer> infinisil: thanks for the pointers
lunik1 has quit [Ping timeout: 264 seconds]
lunik16 is now known as lunik1
<{^_^}> [nixpkgs] @lukegb opened pull request #102846 → pythonPackages.python-emv: init at 1.0.9 → https://git.io/JTA6y
<pushqrdx> colemickens that worked again thanks so much for your help
<colemickens> pushqrdx: no problem! cheers
o1lo01ol1o has joined #nixos
<energizer> ok the kernel is called `ipython_poetry`
<colemickens> pushqrdx: hopefully it's somewhat clear, but that pins you to the exact wayfire version at that git rev btw
Rusty1 has joined #nixos
<energizer> but it doesn't have the packages
<pushqrdx> colemickens yeah that was clear by the rev hash, i quickly wondered though, the project i am trying to build also depends on another project `wf-config` which i have locally built. question is can i use another shell.nix as package resource
<pushqrdx> like make a local dependency
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<colemickens> pushqrdx: uh, I'm not sure to be honest
<colemickens> pushqrdx: I'd just make wf-config a standalone package (as if it were in nixpkgs) and then from the "top" shell.nix, you could use `(pkgs.callPackage ./wf-config.nix)` as if it were a normal package.
<pushqrdx> where wf-config.nix is just like shell.nix just a builder right?
<pushqrdx> colemickens i was all overboard making a local overlay that is akin to the nxpkgs-wayland which has my local packages, that i then can import
<colemickens> no, where wf-config looks like a regular package derivation
tsmanner has joined #nixos
<colemickens> pushqrdx: sure, makes enough sense.
<colemickens> I do that in my config: https://github.com/colemickens/nixcfg/tree/main/pkgs
<colemickens> and the update script is very very similar to the one from nixpkgs-wayland
<pushqrdx> colemickens so it's like your local repo, are you able to use it without git though?
<pushqrdx> should be locally importable i think
<colemickens> (I'm not sure I understand the question.)
<colemickens> If you mean you have the source pointed at a local dir, yeah, that's mostly fine (won't work for pure builds, but I don't think that'll matter for you right now)
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
<pushqrdx> colemickens can a local overlay be added to my user channels, cause i kinda confused myself with that thought
<colemickens> pushqrdx: channels are just bundles of nix expressions for pre-cached binaries that you follow
<colemickens> so overlays don't ever "touch" the channel
<colemickens> pushqrdx: so you have to think about it in terms of "what nixpkgs do I have, have any overlays been applied"
<colemickens> anywhere you can use "my" overlay, you could just point at a local one, yeah, if that's what you meant
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/d2f46002829 (from 30 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
oida has joined #nixos
<pushqrdx> colemickens and in order to import from an overlay i have to be explicit about it
<colemickens> pushqrdx: not necessarily, that's why this is so complicated
<colemickens> pushqrdx: for nixos-rebuild, yes, you basically have to have it explicitly listed somewhere accessible from configuration.nix
<colemickens> pushqrdx: `nix-env` on the other hand loads config from ~/.config/nixpkgs, so overlays configured via *that* mechanism are AUTO applied to the channel before nix-env commands.
<colemickens> seriously someone needs to flowchart this
<pushqrdx> colemickens but nix-shell doesn't use that
<{^_^}> [nixpkgs] @redvers opened pull request #102847 → ant: 1.9.6 -> 1.9.15 [20.03] → https://git.io/JTAic
<pushqrdx> so there's 3 ways to think about overlays so far
<colemickens> pushqrdx: ... correct...
Fare has joined #nixos
<colemickens> this page is a bit unorganized (with all love to authors) but it does cover some of this info: https://nixos.wiki/wiki/Overlays
<colemickens> I could maybe be persuaded to add the two extra cases we covered to the README, just to be exhaustive.
<pushqrdx> colemickens well kinda makes sense perhaps because nix-shell operates somewhat like configuration.nix and in both cases you don't want implicit overlays to apply
<pushqrdx> however in nix-env you need to have a mechanism for implicit user overlays
<colemickens> pushqrdx: yeah. IMO nix-env is a misfeature. most folks around here (citation needed) avoid it.
<colemickens> I think you can make a more declarative manifest and then "nix-env" that manifest, but I think many folks stick to configuration.nix+shell.nix and just avoid nix-env all together except maybe really rare one-off needs.
<pushqrdx> even to me as a new comer i kinda used nix-env very sparingly but i would be frustrated if it weren't there (just for the local quick package install part)
D_ has quit [Quit: 💨]
<colemickens> `nix-env -q` for me gives only one package, and I am actually going to remove it now
D_ has joined #nixos
earldouglas has left #nixos [#nixos]
<pushqrdx> colemickens yeah i have 6 packages there but all disposable stuff
<colemickens> pushqrdx: totally fair. The "future" has a nice syntax for running one off commands, so that use-case is definitely warranted/considered.
<pushqrdx> is there a readme you're addding info to, cause i have been collecting (in my head) some pain points that i'm facing as a new comer
<pushqrdx> and i will take some time to write them down
Fare has quit [Ping timeout: 264 seconds]
marcusr has quit [Read error: Connection reset by peer]
pushqrdx33 has joined #nixos
oida has quit [Remote host closed the connection]
pushqrdx has quit [Remote host closed the connection]
<pushqrdx33> hmm
<energizer> infinisil: looks like that didn't quite work. nix eval '(import ./shell.nix ).drvPath' -> "/nix/store/8s0frwaai5k6xw352d2nd0xs30ly8z2i-jupyterlab-shell.drv" and nix-store -qR /nix/store/8s0frwaai5k6xw352d2nd0xs30ly8z2i-jupyterlab-shell.drv doesn't include `toolz` which is one of the dependency packages
<pushqrdx33> colemickens is there a readme you're writing this stuff to, cause i have been accumulating a list of pain points that i faced as a new comer and will take some time to write them down
marcusr has joined #nixos
<pushqrdx33> wonder if you have one perhaps we can make a canonical nix "Post Installation" guide or something
<colemickens> pushqrdx33: so, I tried to document a bunch of the usages in the nixpkgs-wayland, and then I have another big README/project that shows off ... the future of Nix and how it avoids all of these problems.
<colemickens> I'm sort of reluctant to keep investing energy in explaining the mess, but I wind up doing it here in IRC too often.
<colemickens> pushqrdx33: translating the last hour of conversation into a few examples in the NixOS manual would be.... heroic work.
<pushqrdx33> colemickens yeah it's just that the manual tbh is all over the place
<pushqrdx33> it lack that first chapter
<pushqrdx33> the one missing chapter where it lays the mental model out
<colemickens> pushqrdx33: what do you mean by that though, like I don't necessarily know which part you mean that was missing, or that clicked and helped you.
<colemickens> pushqrdx33: was it just the "there's 3 different ways to actually apply it depending on what you're doing" or was it the reframing about how to think about channels and "overlaying" the overlay on top?
<pushqrdx33> colemickens both
<pushqrdx33> what i felt after the nixos installation guide is that i was literally thrown into the ocean, i then came here in irc and luckily many people have been kind to help, so at first the differences between nix-shell, nix-env, their relation with direnv, overlays, channels
mrkirby153 has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.7.1]
<mrkirby153> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
<colemickens> wait, lmao are overlays in either manual at all?
<mrkirby153> Is this the place for support with nix, or specifically for nixos? I'm running nix on Arch and when I type "man" i get "can't set the locale; make sure $LC_* and $LANG are correct"
<pushqrdx33> there's a very short overlay into guide on the website i think, not sure if there's in the manual
<colemickens> oh I forgot nixpkgs is a separate manual -_-
<colemickens> The manual is very... precise.
<pushqrdx33> but when you just installed nix or nixos you wasn't even introduced to what is a goddamn overlay or what is a channel, and how does it correlate and behave with each tool
<colemickens> if I ctrl-f around in _all three_ manuals, I think the info is all there, but there's no "Channels" section, for example, the info is burried under "Upgrading NixOS".
<pushqrdx33> that's the missing chapter i am talking about something with the title, "Tour of Nix/OS" or "Nix/OS Post Installation Tourist Guide" something like that, where glimpses over all the stuff and the gotchas, clears out some confusion around the system
oida has joined #nixos
<pushqrdx33> one very confusing bit too is when you actually search for nix and nixos on google and you are bombarded with what i feel like completely missing the point guides and tutorials on how nix is great because (functional, and pure, etc
<pushqrdx33> like just show me how can i harvest that awesomeness directly
<colemickens> pushqrdx33: hm, I feel like a lot of the more recent Nix content I've seen has been very hands-on, so that's a bit surprising to hear.
<colemickens> pushqrdx33: but IDK what google pops up for terms, so who knows.
<pushqrdx33> would be glad if you point me to some of that content because so far i found too few of them
teto has quit [Ping timeout: 244 seconds]
<pushqrdx33> lots of the talks on youtube, For instance, are hours of just "nix is awesome because it's pure, functional, immutable".. not because you can create all the mind blowing stuff with nix-shell, and the practicality of using nixos and the ease of rolling back after breaking something, the containment of builds
<colemickens> those are some of the ones I've liked particularly
<pushqrdx33> yeah christine is one of the good ones i was talking about
<pushqrdx33> very nice and to the point
<colemickens> tbh it feels like Nix is hitting some sort of stride, the amount of content I've seen has been growing, more can't hurt.
<colemickens> Not trying to be cheeky, but we're always happy to have more contributors. I think many of us are busy with things and/or often maintaining nixpkgs or other nix projects.
<pushqrdx33> colemickens totally understandable i was just discussing some of the pain points i faced, i will be writing down those and perhaps building that missing chapter that at least to me is very important to get the hang of things
<tpw_rules> "you should always get the same output byte-for-byte every time you build the same package at the same version" erm, i thought nix did not actually guarantee this? like i thought gcc did not do deterministic builds
<pushqrdx33> i discovered nix through Andrew Kelley the creator of zig lang, he was able to switch between llvm versions in a second, and i was there on macOS knees deep in dependencies that i can't manage env vars already
ris has quit [Ping timeout: 246 seconds]
<colemickens> pushqrdx33: the thing is, I think your pain points are really valid, I don't want the feedback to get lost. So to be more explicit, I do hope you edit the nixos.wiki/Overlays page, or open some issues for hte UX issues you have with the manuals so they are at least tracked.
<colemickens> tpw_rules: your understanding is correct. The store paths will be the same, but store paths (today) are not content addressed and the actual bytes can differ.
Zer000 has joined #nixos
<pushqrdx33> colemickens i will be writing all of this and submitting edits, i really need to do that before i get "used" to nix
<tpw_rules> another question i had earlier. is there any way to automatically install udev rules and systemd units and etc on non-nixos nix?
<{^_^}> [nixpkgs] @toothbrush opened pull request #102848 → mercury: 20.06 -> 20.06.1 → https://git.io/JTAPK
<colemickens> pushqrdx33: yes, very true, it is hard to remember what it's like to not know all the hairy details, that's why its good to hear the details from you. The fact that "Channels" isn't an explicit section that's easy to find, seems like something targeted that can be addressed somewhat-easily.
<colemickens> (just as an example)
Fare has joined #nixos
dbmikus_ has quit [Ping timeout: 240 seconds]
<pushqrdx33> so from the top of my head, 1- nix-env, nix-shell, and their relation to direnv (because the internet seems to fuse the two) 2- I would really love if the nixpkgs had a bunch of starter-<language> dummy packages that you can easily find and use as bases for building 3- Channels and the difference between system channel and user channels, 4-
<pushqrdx33> Switching to the unstable channel because by default you're not there, 5- Overlays and how they work differently in nix-env, nix-shell, configuration.nix
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 256 seconds]
<pushqrdx33> the nix-starter-foo idea is very neat i think, so i don't have to hunt for a similar base derivation, i just look for nix-starter-cpp or nix-starter-javascript
<{^_^}> [nixpkgs] @ryantm merged pull request #102577 → mbuffer: 20200505 -> 20200929 → https://git.io/JTFI7
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JTAPN
<tpw_rules> if i can add my 2 cents: it would be nice to add some information on debugging derivations you've created. i'm making some complicated ones and it's difficult especially with overlays to understand exactly what i need to do
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102849 → python27Packages.caldav: 0.7.0 -> 0.7.1 → https://git.io/JTAPp
<pushqrdx33> tpw_rules added that to my list, as well as Local overlays
<pushqrdx33> if anyone has more pain points as a new comer please write them out here as i am writing a note where i will be answering all these questions
psy3497 has joined #nixos
dbmikus_ has joined #nixos
<tpw_rules> to elaborate: nix is building some derivation as part of some command and there is some error from an executed command (not in the nix language itself). how do i get a shell right before the error occurs, or at the start of the derivation? what commands did nix run up to the point of the error? i never figured out how to get a shell for items not part of nixpkgs and figuring out the commands requires lots of knowledge about how the
<tpw_rules> standard builder works.
<Zer000> tpw_rules, So what are you trying to do?
<tpw_rules> i'm not actively trying to do anything but those are questions i keep asking and i think would be good additions to the manual
<Zer000> like it might be easier to run nixos inside of a container than it is to try and get what you want to work
<Zer000> as a workaround
<tpw_rules> i don't understand? will that make debugging easier?
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #102850 → oh-my-zsh: Update script, test → https://git.io/JTAXQ
<Zer000> well you asked if there's any way to install systemd rules and etc files on a non-nixos host, so a container would in theory act like a native nixos host
<tpw_rules> oh i was confused about what you were answering
<Zer000> out of curiosity why are you stuck with a non-nixos host?
<tpw_rules> currently i'm trying to package this proprietary camera driver. it has a udev rule to ensure that attached cameras get the right permissions and a systemd unit to start the management daemon. currently i just have to link them manually
<tpw_rules> well i personally am because i'm not confident enough to wipe the machine and install nixos on it. but other people might want the package too
<tpw_rules> if the answer is that only nixos can do that then that's the answer. but i haven't confirmed that yet
raghavsood has quit [Quit: Ping timeout (120 seconds)]
<mrkirby153> I asked this earlier, didn't get a response. When I run "man" I get "/home/<me>/.nix-profile/bin/man: can't set the locale; make sure $LC_* and $LANG are correct". I'm using nix on arch
noudle has quit []
Zer000 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @TredwellGit opened pull request #102851 → wireshark: 3.2.7 -> 3.4.0 (wnpa-sec-2020-14 wnpa-sec-2020-15) → https://git.io/JTA1G
<supersandro2000> mrkirby153: do you have en us locales generated?
<mrkirby153> Yeah
<mrkirby153> `/bin/man` works fine, but not the nix provided one
<tpw_rules> are they correct?
<mrkirby153> Should be
<tpw_rules> i had an issue earlier today where LOCALE_ARCHIVES was not set in a nix-shell
<tpw_rules> sorry just LOCALE_ARCHIVE
<mrkirby153> I don't have that set on my shell
<tpw_rules> is it just a regular shell?
<mrkirby153> Yeah, standard zsh shell
<tpw_rules> hm i think it searches the regular system location if LOCALE_ARCHIVE is unset
<mrkirby153> I mean, man works as intended as far as I can tell, but I'd rather it not do that :D
<tpw_rules> does /usr/lib/locale/locale-archive exist?
<mrkirby153> Yup
<tpw_rules> https://github.com/NixOS/nixpkgs/issues/85823 ah hm, man i would imagine is using the nix glibc. try setting your LOCALE_ARCHIVE to that path
<{^_^}> #85823 (by kirelagin, 28 weeks ago, open): Change the order of locale archive search path
<mrkirby153> Yup, that fixes it...
<{^_^}> [nixpkgs] @cdepillabout merged pull request #102683 → haskellPackages.shellFor: add a doBenchmark argument for enabling benchmark deps → https://git.io/JTb7h
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JTA1w
ddellaco1 has joined #nixos
<siraben> Is there a way to see how much nix-collect-garbage would free?
ddellacosta has quit [Read error: Connection reset by peer]
<tpw_rules> siraben: the --dry-run option, i would imagine
<siraben> tpw_rules: didn't print out anything
<tpw_rules> then i wonder if there is nothing to free
<tpw_rules> but i'm not sure to be honest
m0rphism has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #102852 → nodejs-15_x: 15.0.1 -> 15.1.0 → https://git.io/JTAMc
pushqrdx33 is now known as pushqrdx
<{^_^}> [nixpkgs] @marsam merged pull request #102834 → mstflint: add description → https://git.io/JTAwj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTAM4
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a6a3a368dda (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102853 → python37Packages.elementpath: 2.0.3 -> 2.0.4 → https://git.io/JTAMa
growpotk- has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #102849 → python27Packages.caldav: 0.7.0 -> 0.7.1 → https://git.io/JTAPp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTAMX
growpotk- has quit [Ping timeout: 258 seconds]
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102854 → python27Packages.jq: 1.0.2 -> 1.1.1 → https://git.io/JTAMp
mDuff has quit [Quit: zzz]
ransom has joined #nixos
<{^_^}> [nixpkgs] @lukegb opened pull request #102855 → nixos/zram: add zramSwap.memoryMax option → https://git.io/JTADH
dbmikus_ has quit [Ping timeout: 246 seconds]
m0rphism has quit [Ping timeout: 258 seconds]
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #102853 → python37Packages.elementpath: 2.0.3 -> 2.0.4 → https://git.io/JTAMa
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTAS2
zakame has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #102845 → python27Packages.exifread: 2.3.1 -> 2.3.2 → https://git.io/JTA6X
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTASi
<{^_^}> [nixpkgs] @marsam merged pull request #102776 → ipfs-migrator: 1.6.3 -> 1.6.4 → https://git.io/JTAIN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTASX
MarkRBM has quit [Quit: Connection closed for inactivity]
jlv has left #nixos ["User left"]
<{^_^}> [nixpkgs] @marsam merged pull request #102852 → nodejs-15_x: 15.0.1 -> 15.1.0 → https://git.io/JTAMc
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTASy
jlv has joined #nixos
rajivr has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #102737 → mamba: 1.6 -> 1.7 → https://git.io/JTNg3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTAS7
wnklmnn has quit [Quit: Leaving]
patagonicus has quit [Quit: The Lounge - https://thelounge.chat]
patagonicus has joined #nixos
ilmu has quit [Ping timeout: 264 seconds]
ilmu has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #102856 → shadowsocks-rust: 1.8.18 -> 1.8.23 → https://git.io/JTA9o
la-jesystani has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #102857 → git-lfs: 2.12.0 -> 2.12.1 → https://git.io/JTA96
<la-jesystani> howdy, im trying to pass a package set to a function, and part of that function has a let block with config = { whatever }; pkgs = import arg { inherit config; };, and then i use pkgs in the building of my program.im getting an error on the inherit line that i cant coerce a set to a string and im not 100% sure why, any ideas?
<la-jesystani> the arg im using is super from an overlay with `self: super: { whatever }`
<jophish> Hi all
mi23523523 has joined #nixos
<nicolas[m]> Mild annoyance with `nixos-rebuild`: you cannot pass `-vL` like you would with `nix build`, you have to split the flag into `-v -L`
<jophish> la-jesystani: could it be the issue described here: https://github.com/NixOS/nix/issues/1361
<{^_^}> nix#1361 (by alexeymuranov, 3 years ago, closed): Language feature proposal: exclusive 'with'
<jophish> specifically the "Edit 1" section
<jophish> nicolas[m]: yeah, it's a pain that the commands have this layer of indirection I don't really trust
<jophish> home-manager switch is even worse
mi23523523 has quit [Read error: Connection reset by peer]
<jophish> I wonder how easy it would be to switch my raspberry pi from aarch64 to armv7
<jophish> I'd like to run it as armv7l for a few days to help in a buildfarm, and then switch things back
<jophish> nixos-rebuild boot --argstr system armv7l-linux; perhaps that'll just work
<la-jesystani> im not using any with's so im not really sure
<la-jesystani> im trying to have an attribute set with a single package in it, that needs passed a pkgset that it can apply a config to, and then have my overlay provide tha pkgset and get back the package
<jophish> oh, is it because "arg" is a set
<jophish> can you trace its type
<la-jesystani> im not sure how to do that, but its the second argument to my overlay.nix
<jophish> builtins.trace and builtins.typeOf
<jophish> something like: builtins.trace (builtins.typeOf arg) ...
<jophish> where ... is some expression which will be evalutated
supersandro2000 has quit [Ping timeout: 260 seconds]
<pumpy> i'm having an xorg/i3/rdp keyboard passthrough trouble. nixos 20.09/i3 window mgr on host and vmguest, i3 configured on both systems to hide statusbar until meta key pressed. xfreerdp rdp from host to xrdp on vmguest. focus to xfreerdp. press meta key and it goes to host AND vmguest instead of just vmguest, making both show their statusbar. not
<pumpy> what i want, how can i fix pls?
<{^_^}> [nixpkgs] @jonringer merged pull request #102854 → python27Packages.jq: 1.0.2 -> 1.1.1 → https://git.io/JTAMp
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.jq: 1.0.2 -> 1.1.1 »: https://git.io/JTAQq
chise has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
supersandro2000 has joined #nixos
justanotheruser has joined #nixos
CyberManifest has quit [Remote host closed the connection]
<{^_^}> [mobile-nixos] @samueldr opened pull request #236 → stage-1: Detect hung tasks and abort boot → https://git.io/JTA7U
blueberrypie has quit [Quit: leaving]
cjpbirkb1 has joined #nixos
at_mart has quit [Quit: WeeChat 2.7.1]
tsmanner has quit [Remote host closed the connection]
cjpbirkb2 has joined #nixos
cjpbirkbeck has quit [Ping timeout: 256 seconds]
blueberrypie has joined #nixos
cjpbirkb1 has quit [Ping timeout: 240 seconds]
LnL has quit [Ping timeout: 240 seconds]
LnL has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
o1lo01ol1o has joined #nixos
cjpbirkbeck has joined #nixos
ransom has quit [Ping timeout: 240 seconds]
cjpbirkb2 has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
ddellaco1 has quit [Ping timeout: 240 seconds]
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102859 → python37Packages.django_modelcluster: 5.0.2 -> 5.1 → https://git.io/JTA5R
kalbasit has quit [Remote host closed the connection]
CyberManifest has joined #nixos
hlz has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 256 seconds]
Supersonic112 is now known as Supersonic
cjpbirkbeck has quit [Quit: Goodbye, take care]
hlz has quit [Quit: WeeChat 2.9]
hlz has joined #nixos
jlv has left #nixos ["User left"]
puffnfresh has quit [Read error: Network is unreachable]
puffnfresh has joined #nixos
<{^_^}> [nixpkgs] @redvers opened pull request #102860 → archiver: 3.3.0 -> 3.3.2 [20.09] → https://git.io/JTAbv
alp has joined #nixos
<la-jesystani> i have `pkgs = import bspkgs { inherit config; };` in a nix file, where bspkgs is a set that is passed from an overlay that imports this file. im getting the error that that set cant be coerced into a string but i have no idea why its needing to be a string?
CyberManifest has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #102822 → dasel: init at 1.1.0 → https://git.io/JTAuX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JTAN6
<{^_^}> [nixpkgs] @Mic92 merged pull request #86645 → libgpiod: add patch fixing cross-compilation → https://git.io/JfsYO
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JTANF
<la-jesystani> it works if i change bspkgs to <nixpkgs> but i dont get why the first doesnt work
<la-jesystani> trace shows bspkgs is an attribute set with lots of pkgs in it, like { zzuf = <CODE>; zziplib = <CODE>; etc; etc; }
<la-jesystani> its the same as if i trace pkgs after importing <nixpkgs>
<{^_^}> [nixpkgs] @omasanori opened pull request #102861 → maxima: 5.42.4 -> 5.44.0 → https://git.io/JTAA7
chise has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102862 → python27Packages.param: 1.9.3 -> 1.10.0 → https://git.io/JTAAb
<siraben> Anyone have an animated version of this graph? https://repology.org/graph/map_repo_size_fresh.svg
<{^_^}> [nixpkgs] @redvers opened pull request #102863 → axel: 2.17.7 -> 2.17.9 [20.03] → https://git.io/JTAxC
<jophish> la-jesystani: can you share the expression?
<jophish> la-jesystani: it looks like you're trying to do: import some-set
<jophish> but imnport takes a path
<la-jesystani> if i already have a pkgset but i want to do the equivilent of `import <nixpkgs> { inherit config; };` (assuming config is in scope) how would I do that?
<{^_^}> [nixpkgs] @Mic92 merged pull request #99056 → rustc: enable ppc64le bootstrap → https://git.io/JUXK3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JTAxK
CyberManifest has joined #nixos
endformationage has quit [Quit: WeeChat 2.9]
<jophish> you can do: import bspkgs.path {inherit config;}
<jophish> .path is an attribute in nixpkgs which points to where it came from
<la-jesystani> oooh that'll be it
<la-jesystani> thank you!
Rusty1 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102864 → python27Packages.pushbullet: 0.11.0 -> 0.12.0 → https://git.io/JTApY
<{^_^}> [nixpkgs] @danieldk merged pull request #102602 → Update ROCm to 3.9.0 → https://git.io/JTFBq
<{^_^}> [nixpkgs] @danieldk pushed 10 commits to master: https://git.io/JTApc
sangoma has joined #nixos
<jophish> la-jesystani: tbh it's a bit of a weird thing to do. I do use it sometimes
<jophish> not to say you shouldn't do it
dbmikus_ has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102865 → python27Packages.python-sql: 1.1.0 -> 1.2.1 → https://git.io/JTAhl
<{^_^}> [nixpkgs] @redvers opened pull request #102866 → balsa: 2.5.9 -> 2.5.11 [20.03] → https://git.io/JTAh8
<energizer> siraben: it could be a line graph, doesnt need animation
<siraben> energizer: can i get the data from repology.org?
dbmikus_ has quit [Ping timeout: 260 seconds]
<energizer> siraben: maintainer posted the database dumps on his website iirc
mmohammadi9812 has quit [Ping timeout: 258 seconds]
<la-jesystani> jophish: am i right in thinking that importing from that path wont strip anything from the set? im getting errors that the system isnt set (flakes disallows using builtins.currentSystem) but as far as i can trace its part of pkgs from the get go
<siraben> energizer: https://github.com/repology/repology-exports this one?
<energizer> siraben: https://dumps.repology.org/
<siraben> Ah, thanks.
<{^_^}> [nixpkgs] @bennyandresen opened pull request #102867 → babashka: 0.0.97 -> 0.2.3 → https://git.io/JTAje
sangoma has quit [Ping timeout: 240 seconds]
<siraben> From the line graphs, looks like in the same recent 20 day period, nixpkgs added 800+ packages whereas AUR Added 300+
lordcirth has quit [Ping timeout: 264 seconds]
<jophish> la-jesystani: it's not quite the same: import (import <nixpkgs> foo).path; will not take into account foo
GalzuFromQ has joined #nixos
<clever> jophish: there is also just `pkgs.extend` to apply an overlay to it
GalzuFromQ has left #nixos [#nixos]
ml| has quit [Ping timeout: 258 seconds]
yinfeng has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<la-jesystani> oh hmm
<la-jesystani> jophish: heres my code: https://gist.github.com/techieAgnostic/3ae2edd5bd46c3cd940412344998e893 im having troubel with the inherit system in flake.nix being picked up somewhere along the chain
sangoma has joined #nixos
<jophish> clever: ah yes, of course
<jophish> how's things clever. Haven't been around for a while
<clever> jophish: good, been working on some fun pi stuff lately
<jophish> la-jesystani: never used flakes, not sure I can help further sorry
<jophish> I'm working on my pi at the moment as a matter of fact
<jophish> trying to switch to armv7l from aarch64
<jophish> it's building, and I hope it's as simle as just changing nixpkgs.system
<clever> jophish: if you only change nixpkgs.system, then it will need an aarch64 build machine setup in /etc/nix/builders, to deal with the building, and the switching of the bootloader may fail
<clever> jophish: ive ran into the exact same problems upgrading an x86 laptop from 32bit->64bit
<jophish> clever: you mean an armv7l machine?
<jophish> which I have :)
<jophish> oh yeah, I didn't think about the bootloader
<jophish> I assumed that uboot would be able to launch any arch kernel
<clever> it needs an aarch64 machine, to generate the aarch64 builds
<clever> the problem is less uboot
Izorkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<jophish> at the moment it is an aarch64 machine
<clever> and more, that an aarch64 perl is used to update the uboot config
<jophish> I'm switching to armv7l
<clever> oh wait
<clever> your going backwards, that should be fine
<clever> since the aarch64 kernel can run armv7 binaries
<jophish> ah good
<clever> as long as you dont GC the aarch64 build, you can also boot that again, to go forwards again
<jophish> exactly the plan :)
<jophish> I just want to switch for a couple of day
<jophish> s
<clever> but once aarch64 is deleted, getting back to 64 is tricky
eoli3n has joined #nixos
<clever> only other thing to worry about, is things in nix-env
<clever> they may be on the old arch
<jophish> oh yeah
<jophish> didn't think of that
<jophish> I think it's pretty minimal in there
<jophish> most things on this machine are in system.environment
palo1 has joined #nixos
Izorkin has joined #nixos
bgamari_ has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
<psy3497> A question: I am using "docker-nixpkgs" project to build a docker image with nix and other derivations, and I would like to have a derivation that contains the closure of build-time dependencies of a certain derivation
thelounge812 has quit [Ping timeout: 258 seconds]
<psy3497> If I just use the derivation itself I only get run-time dependencies. I tried to pass the "shellFor" derivation but it seems to fail when building
<psy3497> Anyone have any idea how to go about this?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102868 → python27Packages.pex: 2.1.15 -> 2.1.20 → https://git.io/JTxe5
sangoma has quit [Read error: Connection reset by peer]
sangoma has joined #nixos
<jophish> clever: what are you doing on your pi?
malook has joined #nixos
<clever> jophish: mostly focusing on 2 projects right now, the 1st is rpi-open-firmware, booting nixos without any blobs
domogled has quit [Ping timeout: 256 seconds]
<clever> jophish: the second is an android-auto gadget, so the rpi can use a car as a touchscreen monitor
ml| has joined #nixos
<jophish> clever: nice!
<jophish> especially the first one
<la-jesystani> where can i find documentation no things like pkgs.lib.mapAttrs'?
<clever> jophish: currently, the open-firmware only works on pi2 and pi3, and you loose video output and 3 arm cores
<danderson> anyone got a 5-minute explanation of what types.submoduleWith does?
heyitsra_ has joined #nixos
<jophish> you lose the cores?!
jess has quit [Quit: Leaving]
<danderson> trying to reverse engineer home-manager's config type, and it's build with a submoduleWith, which is undocumented in nixpkgs
<jophish> weird that that part of the init is up to the gpu blob
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102869 → python37Packages.mautrix: 0.5.8 -> 0.7.14 → https://git.io/JTxvF
<clever> jophish: i just havent setup the code to pass control of the cores on to linux
<jophish> ah right
<clever> danderson: it lets you do things like fileSystems.anything.options
<danderson> ah, and I see it's documented in the nixos manual, if not the source code
<clever> jophish: the first stage that can be edited on VC4, is bootcode.bin, that runs on the GPU, and ram isnt online yet
heyitsrama has quit [Ping timeout: 256 seconds]
heyitsr__ has joined #nixos
<la-jesystani> thank you :)
<clever> jophish: rpi-open-firmware already had drivers to bring the dram and arm cores online, and the arm then begins executing from physical address 0, on all 4 cores at once
<clever> jophish: rpi-open-firmware also includes a ~40kb arm bootloader, that sits at that address, and deals with loading linux into ram and launching it
Morfio has joined #nixos
mmohammadi9812 has joined #nixos
heyitsra_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @omasanori opened pull request #102870 → nixos/networking: make /etc/netgroups by default → https://git.io/JTxfC
<{^_^}> [nixpkgs] @jonringer merged pull request #102859 → python37Packages.django_modelcluster: 5.0.2 -> 5.1 → https://git.io/JTA5R
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.django_modelcluster: 5.0.2 -> 5.1 »: https://git.io/JTxf8
<{^_^}> [nixpkgs] @jonringer merged pull request #102864 → python27Packages.pushbullet: 0.11.0 -> 0.12.0 → https://git.io/JTApY
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.pushbullet: 0.11.0 -> 0.12.0 »: https://git.io/JTxfu
mmohammadi9812 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer merged pull request #102868 → python27Packages.pex: 2.1.15 -> 2.1.20 → https://git.io/JTxe5
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.pex: 2.1.15 -> 2.1.20 »: https://git.io/JTxf6
<{^_^}> [nixpkgs] @vbgl opened pull request #102871 → ocamlPackages.owl: 0.9.0 → 0.10.0 → https://git.io/JTxfi
<{^_^}> [nixpkgs] @jonringer merged pull request #102842 → python37Packages.cupy: 7.7.0 -> 8.1.0 → https://git.io/JTAKZ
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JTxf9
<{^_^}> [nixpkgs] @jonringer merged pull request #102865 → python27Packages.python-sql: 1.1.0 -> 1.2.1 → https://git.io/JTAhl
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.python-sql: 1.1.0 -> 1.2.1 »: https://git.io/JTxfd
<{^_^}> [nixpkgs] @jonringer merged pull request #102757 → home-assistant: 0.117.2 -> 0.117.3 (+ dependent packages) → https://git.io/JTNMC
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to master: https://git.io/JTxfF
knotteye has joined #nixos
<knotteye> I heard this was the place to for NixOS support.
<knotteye> I was wondering if anyone could help me with some issues writing a systemd service
cole-h has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #102814 → ocamlPackages.gsl: fix building on darwin → https://git.io/JTAGh
<{^_^}> [nixpkgs] @vbgl pushed commit from @SuperSandro2000 to master « ocamlPackages.gsl: fix building on darwin »: https://git.io/JTxJq
thelounge812 has joined #nixos
<benny> I personally can't help but generally on irc you don't ask to ask, you just ask and hopefully someone that is able will read it and respond
mallox has joined #nixos
cptrbn has quit [Read error: Connection reset by peer]
<lewo`> worldofpeace: thx!
<knotteye> Oh, alright.
<knotteye> Well, does anyone know how to fix packages not being in $PATH in systemd services? I've tried adding the packages I need available in the systemd.services.<name>.path variable, but the executables that are symlinks don't work.
<clever> knotteye: what do the symlinks point to?
<knotteye> It points to a javascript file in ../lib/restofthepath.js
<clever> knotteye: can you put all of the relevant nix files into a gist?
<psy3497> Anyone know of a function in nix to get all the recursive buildInputs of buildInputs?
<clever> knotteye: and where is the symlink coming from?
<psy3497> Normally you only get one level down, but I would like to collect all the derivations if possible
bn_work has quit [Quit: Connection closed for inactivity]
<psy3497> If such a helper function exists it would be nice. Otherwise would have to try to implement myself
<knotteye> @clever /nix/store/hash-nodejs/bin/npm is a symlink to ../lib/whatever/npm.js
sangoma has quit [Read error: Connection reset by peer]
<clever> knotteye: what is the actual error message when you run it?
<clever> knotteye: journalctl -f -u satyr
<clever> knotteye: oh, i see the problem
<clever> knotteye: ExecStart must be an absolute path, you want systemd.services.satyr.script instead
sangoma has joined #nixos
<clever> thats a limitation of systemd itself
<knotteye> @clever So systemd.services.satyr.script will just let me drop in a systemd service like I'd write for any other distro?
<clever> knotteye: .script will have nixos auto-generate a bash script for you, and then ExecStart points to that bash script
<knotteye> I would prefer to use an absolute path but I'm not sure how to do that with nixos putting hashes before the dependencies.
<knotteye> @clever Ah, okay. thanks.
thelounge812 has quit [Ping timeout: 264 seconds]
<clever> knotteye: ${pkgs.nodejs-14_x}/bin/npm would give you an absolute path, but .path and .script are just as good
MmeQuignon has joined #nixos
<knotteye> @clever That worked, thank you.
<{^_^}> [nixpkgs] @TredwellGit opened pull request #102872 → json_c: 0.14 -> 0.15 → https://git.io/JTxUg
o1lo01ol1o has joined #nixos
njd has quit [Ping timeout: 260 seconds]
werner291 has joined #nixos
njd has joined #nixos
<{^_^}> [nixpkgs] @samsartor opened pull request #102873 → evdi: v1.7.0 -> v1.8.0 → https://git.io/JTxUK
<{^_^}> [nixpkgs] @jtojnar merged pull request #102144 → meson: 0.55.3 → 0.56.0 → https://git.io/JTyAn
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JTxUi
<{^_^}> [nixpkgs] @hrdinka merged pull request #102617 → nsd: 4.3.2 -> 4.3.3 → https://git.io/JTFDL
<{^_^}> [nixpkgs] @hrdinka pushed 2 commits to master: https://git.io/JTxUX
poita66 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<psy3497> Anyone knows how to coerce an expression in case a variable is null?
<psy3497> Like for example `x = null; y = x ? 5`
<{^_^}> [nixpkgs] @vbgl opened pull request #102874 → compcert: remove annoying assertions → https://git.io/JTxUA
<psy3497> So that y is assigned 5 because x is null
<regnat> psy3497: y = if builtins.isNull x then 5 else x is the simplest you can do I think
<psy3497> regnat: I see, I thought there is a shorter way. Thanks!
<psy3497> How do I try to maybe access a record's field and return some other value if it's null, rather than get an error?
<psy3497> let x = {a = 5;}; y = x.b ? 3;
<psy3497> It seems I can not ask if isNull x.b without getting an error about a missing field
<psy3497> error: attribute 'b' missing, at (string):1:17
ilmu has quit [Ping timeout: 244 seconds]
<clever> > let x = {a=5;}; in x ? b
<{^_^}> false
<clever> > let x = {a=5;}; in x.b or "default"
<{^_^}> "default"
<clever> psy3497: the ? operator returns a bool saying if an attr exists, while the or operator lets you supply a default for when it doesnt exist
<psy3497> clever: Ah, the or operator!!
ilmu has joined #nixos
<psy3497> clever: Thanks for clarifying both options!
thelounge812 has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
sangoma has quit [Ping timeout: 260 seconds]
saschagrunert has joined #nixos
knotteye has quit [Quit: Connection closed]
thelounge812 has quit [Ping timeout: 260 seconds]
Chiliparrot has joined #nixos
sangoma has joined #nixos
Sanchayan has joined #nixos
dbmikus_ has joined #nixos
shibboleth has quit [Quit: shibboleth]
alp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102875 → python27Packages.objgraph: 3.4.1 -> 3.5.0 → https://git.io/JTxko
cfricke has joined #nixos
teto has joined #nixos
dbmikus_ has quit [Ping timeout: 264 seconds]
lsix has joined #nixos
yinfeng has quit [Ping timeout: 244 seconds]
yinfeng has joined #nixos
DerHorst has quit [Quit: ZNC - https://znc.in]
szicari has quit [Ping timeout: 264 seconds]
DerHorst has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102876 → python27Packages.libtmux: 0.8.3 -> 0.8.5 → https://git.io/JTxIn
szicari has joined #nixos
jess has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
sangoma has joined #nixos
cr4y1_ has joined #nixos
fx8[m] has joined #nixos
fx8[m] has left #nixos [#nixos]
Jamaikos has joined #nixos
<Jamaikos> hey, I am trying to figure out this recursion for some time ---- any idea why this import is not working please? https://paste.centos.org/view/6c063895
cptrbn has joined #nixos
<Jamaikos> all help would be appreciated, I have tears in my eyes
zupo has joined #nixos
cr4y1_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixos-homepage] @garbas merged pull request #637 → site-styles: Fix asciinema breaking width by removing aspect ratio code → https://git.io/JTNiV
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JTxLc
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to fix-597: https://git.io/JTxLC
cr4y1 has joined #nixos
medvid has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « gtk2: fix eval with old Nix »: https://git.io/JTxLa
cr4y1 has quit [Remote host closed the connection]
medvid has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jtojnar pushed 142 commits to staging-next: https://git.io/JTxLM
<{^_^}> [nixpkgs] @timokau merged pull request #93620 → kernelPackages.r8168: 8.047.04 -> 8.048.03 → https://git.io/JJWM7
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JTxLH
sangoma has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 63 commits to staging: https://git.io/JTxLd
hopheynananey has quit [Quit: WeeChat 2.9]
magnetophon has joined #nixos
EstebanBlanc[m] is now known as Skallwar
__monty__ has joined #nixos
civodul has joined #nixos
mmohammadi9812 has joined #nixos
mmohammadi9812 has quit [Client Quit]
<{^_^}> [nixpkgs] @timokau merged pull request #102867 → babashka: 0.0.97 -> 0.2.3 → https://git.io/JTAje
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JTxqq
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Jamaikos> *sad eyes*
Sanchayan has quit [Quit: leaving]
MrShatteredMirro has quit [Quit: Idle for 30+ days]
georg[m] has quit [Quit: Idle for 30+ days]
jehova[m] has quit [Quit: Idle for 30+ days]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102877 → python37Packages.proto-plus: 1.10.1 -> 1.11.0 → https://git.io/JTxq0
schmittlauch[m] has quit [Quit: Idle for 30+ days]
sangoma has quit [Ping timeout: 256 seconds]
mallox has quit [Ping timeout: 272 seconds]
Skallwar is now known as notskallwar
<typetetris> Jamaikos: Have you tried adding `--show-trace`. Whats the error then?
rprije has quit [Ping timeout: 260 seconds]
rprije has joined #nixos
wfranzini has joined #nixos
la-jesystani has quit [Ping timeout: 260 seconds]
la-jesystani has joined #nixos
<Jamaikos> typetetris: yes nothing, from my experience these recursion problems are hard to debug
<Jamaikos> but I think I might be doing something really stupid with my code https://paste.centos.org/view/6c063895
<Jamaikos> BECAUSE just by using that import, it works fine
<Jamaikos> so it is my code for sure, but why it would not work is beyond me
<{^_^}> [nixpkgs] @roberth merged pull request #102504 → [staging-20.09] Add ghc8102BinaryMinimal to stay within hydra limits on aarch64 → https://git.io/JTdEo
<{^_^}> [nixpkgs] @roberth pushed 3 commits to staging-20.09: https://git.io/JTxmg
<{^_^}> [nixpkgs] @r-ryantm opened pull request #102878 → python27Packages.numpy-stl: 2.11.2 -> 2.12.0 → https://git.io/JTxmV
<clever> Jamaikos: what does it output, if you insert a `builtins.trace "path is ${DbSyncSources}"` between lines 6 and 7?
<clever> Jamaikos: oh wiat, i see your problem
<clever> Jamaikos: line 4, testnet, depends on config
<clever> Jamaikos: line 5, DbSyncSources depends on testnet
<clever> Jamaikos: imports must never depend on config
<Jamaikos> oooooh, hmrmr, any idea how to get around that?
<Jamaikos> I want to get a niv sources based on the hostname
<Jamaikos> as I know, that is my testing env
<clever> Jamaikos: create 2 files, host1.nix and host2.nix
<clever> Jamaikos: host1.nix does networking.hostName = "host1"; and uses one version from niv
hopheynananey has joined #nixos
<clever> Jamaikos: host2.nix does networking.hostName = "host2"; and uses another version from niv
<clever> both host1.nix and host2.nix do `imports = [ ./common.nix ];`
<Jamaikos> :( I have this defined as a role I import into hostnames files in my config management
<Jamaikos> and looking for a way to figure it out on hostname, so when a collegue adds a host, he doesn't need to think about specific cases
<Jamaikos> I'm not sure if I'm explaining that correctly
notskallwar is now known as Skallwar
<danderson> hm. So, with flakes, is there a way to declaratively manage nix channels? (as returned by nix-channel)
<clever> Jamaikos: instead of setting the hostname and having it magically do something, you should instead have a hostname.nix file, which does the right thing (including setting the hostname)
<danderson> I need it for a couple shell.nix things that aren't converted to flakes yet
<clever> danderson: shell.nix can just import the flake
<Jamaikos> clever: so, what I have now is I have a hostname file, that includes a role and a role is doing a lot of things, like a role is "database" and it setups postgres, db a lot of things - I would like to manage two sources, one for the testnet and on for mainnet env, so ALL of my hosts withni the testnet domain are using these sources
<Jamaikos> clever: _but_ there are tons of sources, not just one, so it is not practical having it on the hostname bases, if you know what I mean
<{^_^}> [nix] @edolstra merged pull request #4206 → Fix memory corruption caused by GC-invisible coroutine stacks → https://git.io/JT9k4
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/JTxYe
<clever> Jamaikos: the only way to really do it with modules, is to always put both versions in imports, then use an enable flag to turn them on/off
sangoma has joined #nixos
<Jamaikos> clever: but wouldn't that conflict, these are both the same sources, just different git branch
<clever> Jamaikos: yeah, they would conflict
<clever> Jamaikos: are the modules actually different, or is it just the source for the program?
<Jamaikos> what we do now, we update niv but don't commit and push to testnet, but it is getting ugly and someone people push it to mainnet
<Jamaikos> just the source
<Jamaikos> I want to have niv different git rev/branch based on the domain it is in (staging/prod)
<clever> Jamaikos: then use a services.foo.package to change the built used
<clever> Jamaikos: so you always put the same version of the module in imports, but use a .package override to change the binary being ran
<Jamaikos> sadly, the import from niv is from upstream :(
<Jamaikos> I'm just using it, but that overrride is interesting
<Jamaikos> maybe I can override the import itself
<{^_^}> [nixpkgs] @peterhoeg merged pull request #102722 → pulseaudio-ctl: 1.67 -> 1.68 → https://git.io/JTNGK
<{^_^}> [nixpkgs] @peterhoeg pushed commit from @r-ryantm to master « pulseaudio-ctl: 1.67 -> 1.68 »: https://git.io/JTxYs
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
sangoma has quit [Ping timeout: 272 seconds]
<Jamaikos> clever: but I can create two modules, one importing one sorce, the other different and use the serivce based on config.domain?
<clever> Jamaikos: the value of the imports array cant depend on the config set
<Jamaikos> yes, but I mean I will create a service "testnet" and service "maininet" and enable one or other based on the config set?
<jophish> What's the best way to make AWS credentials available to the nix daemon?
<jophish> (for fetching from an s3 based store)
<jophish> (on non-nixos)
<clever> jophish: i just put them in ~/.aws/
<clever> root's home
<jophish> good idea, will have to check if that works on github actions
<Jamaikos> clever: I will try that, thank you - I want to say, I really appreciated your help, every time I come here there is someone to help, I know it takes time and is not easy, but this community is so awesome in this, just wanted to really say thank you, I appreciate it a lot!
thc202 has joined #nixos
<clever> yep :)
magnetophon has left #nixos [#nixos]
Jamaikos has quit [Remote host closed the connection]
<jophish> hmm, didn't seem to work
fendor has joined #nixos
<jophish> I just guessed at: sudo aws configure set aws_secret_access_key blah
FRidh has joined #nixos
<clever> jophish: is nix-daemon actually being used?
<clever> jophish: if /nix/store is writable by the current user, it wont use the daemon, and will look in the current users home
gothnbass has joined #nixos
cptrbn has quit [Ping timeout: 265 seconds]
<jophish> yikes, that's an url and a half
<jophish> clever: it didn't seem to work when I set the AWS env vars
aswanson_ has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @roberth merged pull request #98383 → openjdk: add derivation to generate bespoke minimal JRE's → https://git.io/JUuiE
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JTxOg
<clever> jophish: is it nix doing the s3 access, or a builder?
sangoma has joined #nixos
sigmundv has joined #nixos
<jophish> should be nix I think. I set substituters = https://cache.nixos.org/ s3://nix-cache?region=ap-southeast-1&scheme=https&endpoint=binarycache.home.monoid.al
<jophish> (and a trusted key of course)
<clever> yeah, that would be nix
<{^_^}> [nixpkgs] @FRidh pushed 183 commits to python-unstable: https://git.io/JTxOK
<clever> double-check that nix-daemon is actually running
<jophish> will do
<jophish> what's the neatest way to check if a build is taking place using the daemon?
<jophish> I can check if the systemd service is running I guess
<clever> check `ps -eH x`
<clever> and look to see what the parent of the builder is
<{^_^}> [nixpkgs] @bennyandresen closed pull request #86592 → clj-kondo: 2020.04.05 -> 2020.06.12 → https://git.io/Jf3Kh
<jophish> hard to do on a remote runner!
<jophish> but I will try
<{^_^}> [nixpkgs] @roberth opened pull request #102879 → [staging-20.09] tzdata 2020c → https://git.io/JTxOp
bgamari has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
fendor has quit [Ping timeout: 258 seconds]
<jophish> clever: I did cat /root/.aws/credentials, and it doesn't exist !
<jophish> which would explain something
<clever> jophish: sudo sometimes keeps $HOME unchanged to "help you"
<clever> its a setting in /etc/sudoers
<jophish> right
<clever> `sudo HOME=/root aws ...` may force it
<jophish> or just sudo -H aws...
fendor has joined #nixos
<jophish> looks like it's workin!
<jophish> thanks clever
mmohammadi9812 has joined #nixos
sangoma has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @roberth pushed 8 commits to staging-20.09: https://git.io/JTx3u
fendor_ has joined #nixos
orivej has joined #nixos
noudle has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @sayanarijit opened pull request #102880 → openapi-generator-unstable: 5.0.0-2020-02-04 -> 5.0.0-2020-11-04 → https://git.io/JTx3S
poita66 has quit [Remote host closed the connection]
fendor__ has joined #nixos
o1lo01ol1o has joined #nixos
lorenzleutgeb has joined #nixos
sangoma has joined #nixos
fendor_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @sayanarijit opened pull request #102881 → openapi-generator-unstable: 5.0.0-2020-02-04 -> 5.0.0-2020-11-04 → https://git.io/JTxsG
Latr_work has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thelounge812 has joined #nixos
rojiro has quit [Ping timeout: 240 seconds]
rojiro has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #102879 → [staging-20.09] tzdata 2020c → https://git.io/JTxOp
<{^_^}> [nixpkgs] @roberth pushed 3 commits to staging-20.09: https://git.io/JTxsQ
thelounge812 has quit [Ping timeout: 256 seconds]
CyberManifest has quit [Remote host closed the connection]
CyberManifest has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #102694 → slack: add auto-updater script → https://git.io/JTbxo
<{^_^}> [nixpkgs] @doronbehar pushed 4 commits to master: https://git.io/JTxGC
<typetetris> Seems like `texlive.combined` isn't reproducible ... I still have the issue its build but the other ci server than complain about a hash mismatch if the previously build derivation is downloaded.
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JTxGR
<typetetris> How could I further debug this?
wfranzini has quit [Quit: wfranzini]
sangoma has quit [Quit: WeeChat 2.9]
la-jesystani has quit [Ping timeout: 256 seconds]
<{^_^}> [nixos-hardware] @Mic92 merged pull request #206 → lenovo/thinkpad/t14: created symlink to t14s/ → https://git.io/JTNij
<{^_^}> [nixos-hardware] @Mic92 pushed 3 commits to master: https://git.io/JTxGV
m0rphism has joined #nixos
wnklmnn has joined #nixos
<jophish> ahhh, why doesn't the output of nix-instantiate fit into nix-store query!
<jophish> it usually does
<jophish> but one of the outputs is a !doc
lsix has quit [Quit: WeeChat 2.9]
lsix has joined #nixos
captn3m0 has joined #nixos
captn3m0- has quit [Ping timeout: 260 seconds]
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos
<marek> doronbehar: I would really appreciate it, that next time, you do not merge a pull request when there is no clear consensus from the package maintainer
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JTxnc
<{^_^}> [nixpkgs] @mmahut merged pull request #102812 → polkadot: 0.8.25 -> 0.8.26 → https://git.io/JTAGM
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JTxnX
<jophish> What's the neatest way of removing old paths from a s3 store?
o1lo01ol1o has joined #nixos
meck has quit [Quit: ZNC 1.8.2 - https://znc.in]
<{^_^}> [nixpkgs] @andresilva opened pull request #102912 → polkadot: fix cargoSha256 → https://git.io/JTxcS
narice[m] has joined #nixos
<FRidh> typetetris: first step would be to use diffoscope to check what files are different and how
<FRidh> probably also check reproducible-build.org / debian for what they mention regarding texlive
thibm has joined #nixos
magnetophon has joined #nixos
<typetetris> reproducible-build.org isn't in my dns
cfricke has quit [Quit: WeeChat 2.9]
meck has joined #nixos
<thibm> build*s*
<jophish> If I have a path with a signature, and it already exists in another store
<jophish> how can I add my signature to the version in that store
<jophish> sadly nix copy doesn't do it
<typetetris> FRidh: At the moment I have only one build result. It is just, that other nixos hosts trying to download that, complain afterwards about a sha256 mismatch.
chrisaw has quit [Quit: Connection closed for inactivity]
<jophish> nix copy-sigs doesn't seem to do it
Guest43140 has joined #nixos
<thibm> I'm working an a small simple multi-machine setup (like nixops, but much simpler, in essence calling myself <nixpkgs/nixos/lib/eval-config.nix>).
<thibm> I would like to "inject" some function in lib. The function should be defined in the lib argument of NixOS modules.
<thibm> I'd like to avoid things like "import ./lib.nix" in the files but rather extending the lib attrset used when evaluating the module. Does anyone have an idea on how to do that?
<typetetris> jophish: I don't understand. I thought the process serving the store, like nix-serve, does the signing ad hoc and doesn't "relay" other signatures.
<thibm> I looked at several advanced NixOS config in the wild, discours, nixpkgs, etc and tested a few solutions but I did not find anything for now
<{^_^}> [nixpkgs] @hmenke opened pull request #102915 → zfsUnstable: 2.0.0-rc4 -> 2.0.0-rc5 → https://git.io/JTxCV
<jophish> typetetris: sorry to clarify: I have a path in my local store with a signature. and I 'nix copy --to store2 ...'. The path when it appears in store2 may or may not have that signature
<jophish> and that depends on whether it was already in store2
<jophish> (if it was, then it doesn't have that signature)
<{^_^}> [nixpkgs] @andir opened pull request #102916 → nixos-help: fixup .desktop file & smaller refactoring → https://git.io/JTxCX
<typetetris> jophish: Why is it import if it has a signature in store2?
<jophish> but it might not have that signature in store2
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jophish> if it's already in store2 (even with no signatures) it will not gain the signature that it has in my local store\
<{^_^}> [nixpkgs] @hmenke closed pull request #102915 → zfsUnstable: 2.0.0-rc4 -> 2.0.0-rc5 → https://git.io/JTxCV
<typetetris> jophish: Yes. But why is it a problem, if it doesn't have a signature in store2?
<jophish> because I might want to import it from store2, and I want to know that's secure
<jophish> i.e. signed by that key I had in my local store
<typetetris> jophish: Okay. So you want the "clients" of store2 to download the path and get the signature from your original store, instead the signature the process serving the store2 would create ad hoc? So clients don't necessarily need to trust store2?
<jophish> exactly
<typetetris> jophish: Sorry, I don't know whether that's possible. I only used `nix-serve` most of the time and that (at least in my experience) never offered signatures despite the ones it creates itself with the configured secret key. For `nix copy` via ssh I always used the account to access the "target" store to be a trusted user.
<{^_^}> nix#4221 (by expipiplus1, 11 seconds ago, open): nix copy sometimes doesn't copy signatures (when a path already exists in destination store)
<{^_^}> [nixpkgs] @doronbehar merged pull request #87864 → todoman: Make it not reference glibLocale which is ~210Mb in closure size → https://git.io/JfRJ2
<{^_^}> [nixpkgs] @doronbehar pushed 3 commits to master: https://git.io/JTxWU
magnetophon has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @doronbehar closed pull request #87848 → ccls: Use latest llvmPackages → https://git.io/JfB9H
fendor_ has joined #nixos
<psy3497> I am getting this error when building a Haskell project. I don't expect people to know the answer without all the details, but can someone at least give me a direction as to why such an error might even happen?
<psy3497> /nix/store/x4hjqhnzfbzh4f333xh1sq31zak3dab1-binutils-2.31.1/bin/ld: cannot open output file /nix/store/0y289abs6ikv1iza6vvfff2c4xplq9nz-ncurses-6.2/lib/libncursesw.so.6.2: Permission denied
<psy3497> Why would there be a permission problem?
<psy3497> If it helps, this is a derivation that builds fine on my computer, but when I try to build it inside a docker container I get the aforementioned error
<thibm> Did you try to build another derivation in the container? Does it work?
fendor has quit [Ping timeout: 240 seconds]
<FRidh> typetetris: `nix-build -A ... --check
liff has quit [Ping timeout: 260 seconds]
liff has joined #nixos
BJTH has joined #nixos
fendor__ has quit [Read error: Connection reset by peer]
fendor__ has joined #nixos
<typetetris> FRidh: So it differs
bjth39 has joined #nixos
bjth39 has quit [Remote host closed the connection]
<FRidh> next step is then diffoscope
<BJTH> Hello, I am a bit stuck. I am trying to install plantuml to use with emacs, and in my emacs config I have to point to the .jar location. I can find this .jar in the /nix/store/...-plantuml/lib/plantuml.jar but my concern with this is that the hash can change. A few days ago someone on here recommended me homemanger but this leads to somewhat the
<BJTH> same problem.
<typetetris> FRidh: `diff -r` already shows a lot. ls-R with different orders, ls output in files with timestamps not replaced by epoch, etc ...
<typetetris> might be beyond fixing.
<{^_^}> [nixpkgs] @roberth merged pull request #99952 → spasm-ng: init at unstable-2020-08-03 → https://git.io/JUpIQ
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JTxlf
sangoma has joined #nixos
Guest84 has joined #nixos
<Guest84> ,locate a2x
<Guest84> ,locate a2x
<{^_^}> Found in packages: bobcat, asciidoc, asciidoc-full, bashCompletion, asciidoc-full-with-plugins
Guest84 has quit [Client Quit]
<{^_^}> Found in packages: bobcat, asciidoc, asciidoc-full, bashCompletion, asciidoc-full-with-plugins
rprije has quit [Ping timeout: 265 seconds]
<typetetris> FRidh: I'll try that with nixpkgs master and open a ticket, if it sticks.
Guest84 has joined #nixos
<Guest84> ,locate xsltproc
<Guest84> ,locate xsltproc
<{^_^}> Found in packages: boost-build, bashCompletion, python27Packages.libxslt.bin, python37Packages.libxslt.bin, python38Packages.libxslt.bin
<{^_^}> Found in packages: boost-build, bashCompletion, python27Packages.libxslt.bin, python37Packages.libxslt.bin, python38Packages.libxslt.bin
<{^_^}> [nixpkgs] @doronbehar merged pull request #98499 → qrupdate: refactor, and assert blas && lapack compatibility → https://git.io/JUgJQ
<{^_^}> [nixpkgs] @doronbehar pushed 4 commits to master: https://git.io/JTxlI
<{^_^}> [nixpkgs] @roberth merged pull request #99955 → ttf-tw-moe: first version → https://git.io/JUpGG
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JTxlt
BJTH has quit [Remote host closed the connection]
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @doronbehar closed pull request #100041 → qt5.qtwebengine: Sessions restore patch → https://git.io/JUjDS
Guest84 has quit [Quit: Connection closed]
<psy3497> thibm: yes other derivations worked fine. There seems to be a particular problem about this one. But I built it successfully on my host computer
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
zupo has joined #nixos
<psy3497> Seems like the `--check` option mentioned by FRidh is not mentioned in the documentation... That's a real shame as it is quite useful
<{^_^}> [nixpkgs] @roberth merged pull request #100524 → starboard: 0.5.0 -> 0.6.0 → https://git.io/JTOY0
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JTxl0
<psy3497> I just used `--check` to rebuild the failing derivaiton on my computer
alp has quit [Ping timeout: 246 seconds]
captn3m0 has quit [Ping timeout: 258 seconds]
captn3m0- has joined #nixos
<psy3497> I found the command that failed in the container:
<psy3497> cd /nix/store/0y289abs6ikv1iza6vvfff2c4xplq9nz-ncurses-6.2/lib && (ln -s -f libncursesw.so.6.2 libncursesw.so.6; ln -s -f libncursesw.so.6 libncursesw.so; )
<psy3497> On my computer it works fine, in the container it fails. Not exactly what I would call a reproducible build. Could this be related to the sandbox builds option?
<clever> psy3497: if the sandbox is fully off, then you can do nasty things like that, and nothing will stop you
magnetophon has quit [Ping timeout: 265 seconds]
ml| has quit [Ping timeout: 258 seconds]
magnetophon has joined #nixos
<clever> you need nix-daemon running as root, to let it enforce the rules
<psy3497> Perhaps the sandbox is off on my local host but is on inside the container?
<clever> yeah
<psy3497> This is the ncurses-6-2 derivation from nixpkgs
<{^_^}> [nixpkgs] @roberth merged pull request #100002 → find-cursor: init at 1.6 → https://git.io/JUhrT
<psy3497> If it fails with sandbox on, I will, for now, disable the sandbox in the container as well
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JTxl6
alp has joined #nixos
<clever> which derivation is failing to build?
<psy3497> /nix/store/0y289abs6ikv1iza6vvfff2c4xplq9nz-ncurses-6.2
<clever> that one should have write to its own output
<psy3497> Admittedly, this is on the nixpkgs variant for static builds through the static-haskell project
<clever> so the sandbox wont matter there
<psy3497> Ah sorry that is the output path
<psy3497> The derivation path is: /nix/store/vjsdbw4w66h484b2ng4hp6r8s37xiq89-ncurses-6.2.drv
<psy3497> Why the sandbox would not matter here?
<{^_^}> [nixpkgs] @doronbehar merged pull request #101456 → yed: wrap With wrapGAppsHook - fixes #101135 → https://git.io/JT2pl
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JTxlD
<clever> when building $out, you have write access to $out
malook has quit [Quit: malook]
<psy3497> I see
<psy3497> So why in the world would this fail... this ran from a `docker build` through a Dockerfile if it helps
<psy3497> I am trying to run it from inside the container now, instead of straight from the Dockerfile
<clever> was docker told to bind-mount things?
<psy3497> And it failed again this second
<psy3497> Docker did not bind mount anything
<psy3497> But I did create this image through the docker-nixpkgs project
<psy3497> It's not the image from DockerHub
<psy3497> I am going to try that image next
<clever> not sure then
<clever> i find mixing nix inside docker to be troublesome
<clever> simpler to just use nix normally on the host
<psy3497> I have to use AWS CodeBuild for this project
<psy3497> Which works through a container
<psy3497> Unfortunately
<{^_^}> [nixpkgs] @doronbehar merged pull request #96112 → bubblemail: init at 1.2 → https://git.io/JUfCQ
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JTx8c
<thibm> psy3497: I thought it was not possible to build anything with Nix in docker images built with dockerTools.*
<psy3497> Really? I did not know that. If it's impossible why does it even exist?
<thibm> It's more like a tool to build a ~read-only image with a /nix, and links to all interesting files in excepted places (like /bin) to the store.
<psy3497> thibm ah I see
<thibm> (I'm note 100% sure)
<psy3497> thibm That actually makes some sense
<thibm> yeah
<psy3497> Well I am going to find out next
<psy3497> Might take until tomorrow though
<thibm> because it would not make sense, for instance, to run the nix daemon in a production image, see?
<psy3497> thibm it is only to build the executable
<psy3497> The nix dockerhub image does not come with a shell?...
<thibm> psy3497: build it with or without nix?
<thibm> psy3497: well I guess it does if you add it in contents
<psy3497> thibm build with nix of couse
<thibm> psy3497: OK, so you can't do that in this docker image
<Unode> hi all, which package provides libcuda.so.1 ? Assumed cudatoolkit but isn't there.
<thibm> psy3497: but you can use nixos/nix image, for instance
<psy3497> thibm I am trying now but I can't shell into it
<psy3497> thibm Do you know if I need to install bash on it?
<thibm> psy3497: do you have any shell in contents ?
<Taneb> Finally got this machine running 20.09
Chiliparrot has joined #nixos
<thibm> psy3497: you cannot install bash on it in the container, same problem as above
<Taneb> A week ago it was on 18.09 :D
<{^_^}> [nixpkgs] @erictapen merged pull request #102829 → unifiBeta: 6.0.23 -> 6.0.28 → https://git.io/JTA2X
<{^_^}> [nixpkgs] @erictapen pushed commit from @lukegb to master « unifiBeta: update to 6.0.28 »: https://git.io/JTx8F
<psy3497> thibm this is the nixos/nix image you said I can use it to build stuff
<{^_^}> [nixpkgs] @etu merged pull request #102716 → php73: 7.3.23 -> 7.3.24 → https://git.io/JTNOY
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/JTx8A
<thibm> psy3497: ah, ok
ml| has joined #nixos
<psy3497> thibm I will try to use nix-env to install bashInteractive
<Unode> also, is there any online nixos/nixpkgs service to search for files/libraries installed by different packages?
<{^_^}> [nixpkgs] @etu merged pull request #102715 → php74: 7.4.11 -> 7.4.12 → https://git.io/JTNOL
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/JTx8j
<thibm> It does come with a shell (I'm using it with continuous integration)
<psy3497> How do you execute the container?
<psy3497> thibm what is the execute command?
<Unode> Finding it easy to "find /nix/store -name ..." but only works for packages I have on disk.
<psy3497> thibm /usr/bin/env bash? /bin/bash?
<typetetris> There was some attribute, so a derivation will never be substituted, but always build by the host self. Please help me, what was that?
<clever> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<clever> Unode: ^
<psy3497> Unode: I see I will try that trick
<thibm> psy3497: well, maybe there is no shell (I'm not sure how the CI launch the commands, maybe without shell). Installing bash did not work?
<psy3497> Find the bash in the container
<typetetris> allowSubstitutes was it.
<psy3497> Got it by using Unode trick
<psy3497> $ docker exec -it attempt-dockerhub-2 find /nix/store -name bash
<psy3497> $ docker exec -it attempt-dockerhub-2 /nix/store/k8p54jg8ipvnfz435mayf5bnqhw4qqap-bash-4.4-p23/bin/bash
<thibm> sure. (juste "exec bash" did not work?)
<Unode> clever: are you aware of any online version of nix-index? I tried it locally a few times and it took quite a while to rebuild the index which got outdated relatively fast.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/341aa3d3e04 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @omasanori opened pull request #102918 → opencv: 2.4.13 -> 2.4.13.7 → https://git.io/JTx40
<clever> Unode: you dont need to rebuilt the index much, once you know the attribute, you can run `nix-build '<nixpkgs>' -A foo`, to find the latest path
<psy3497> thibm did not work, but maybe bash was not available in the path
<psy3497> OK I am logging off for today, leaving it to build for the night
thelounge812 has joined #nixos
<thibm> psy3497: yes. It may be here because it's a dependency of most packages (although it should be a build time dependency)
<psy3497> thibm but maybe one needs to install it with nix-env in one's dockerfile that starts from nixos/nix image perhaps?
<psy3497> Good night!
<thibm> psy3497: if you want it to get in $PATH, yes. Bye :)
<{^_^}> [nixpkgs] @mweinelt merged pull request #96881 → solr: 8.4.1 -> 8.6.1 [20.03 backport] → https://git.io/JUmIn
<{^_^}> [nixpkgs] @mweinelt pushed 5 commits to release-20.03: https://git.io/JTx4j
<{^_^}> [nixpkgs] @poita66 opened pull request #102919 → mono6: 6.0.0.313 -> 6.12.0.90 → https://git.io/JTxBv
thelounge812 has quit [Ping timeout: 256 seconds]
mmohammadi9812 has quit [Ping timeout: 272 seconds]
fendor has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #102920 → [20.09] php73: 7.3.23 -> 7.3.24 → https://git.io/JTxRe
<{^_^}> [nixpkgs] @etu opened pull request #102921 → [20.09] php74: 7.4.11 -> 7.4.12 → https://git.io/JTxRJ
<{^_^}> [nixpkgs] @mweinelt merged pull request #102857 → git-lfs: 2.12.0 -> 2.12.1 → https://git.io/JTA96
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JTxRt
fendor_ has quit [Ping timeout: 264 seconds]
fendor__ has quit [Ping timeout: 258 seconds]
sangoma has quit [Ping timeout: 265 seconds]
Guest43140 has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Chiliparrot has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #102860 → archiver: 3.3.0 -> 3.3.2 [20.09] → https://git.io/JTAbv
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to release-20.09: https://git.io/JTxR1
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #102850 → oh-my-zsh: Update script, test → https://git.io/JTAXQ
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/JTx0t
mmohammadi9812 has joined #nixos
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #102922 → hdr-plus: init at unstable-2020-10-29 → https://git.io/JTx0A
Sanchayan has joined #nixos
berberman has quit [Ping timeout: 264 seconds]
ManiacOfMadness has joined #nixos
berberman has joined #nixos
<thibm> I'm wondering why IPv6 works out of the box on Ubuntu but not on NixOS on Hetzner cloud (BTW, to get a NixOS machine you just copy one line of cloud-init which use nixos-infect, it works like a charm)
<thibm> An ubuntu system does not seem to have hardcoded network in /etc/network
<thibm> And nothing in /etc/systemd/network
<thibm> Do I need to enable extra (non default) services to get IPv6 configuration automatically from router's announces?
<damjan> thibm: ubuntu uses netplan, which afaik generates systemd-networkd config files somewhere in /run/
<ldlework> Why is there no `mount.cifs` command?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2020-10-29 → 2020-11-04 »: https://git.io/JTxEV
<thibm> damjan: thanks I'll check it (I did not used Ubuntu for years, I'm outdated)
<damjan> right. on this VM on scaleway I have /etc/netplan/50-cloud-init.yaml and it generated /run/systemd/network/10-netplan-ens2.network
chipsy has joined #nixos
<damjan> thibm: yeah, it's new
<{^_^}> [nixpkgs] @freezeboy opened pull request #102923 → jsoncpp: 1.9.2 -> 1.9.4 → https://git.io/JTxEK
<chipsy> is there a way to make makeTest tests access the outside internet?
<chipsy> when I do nix-build for -A driver, the VM can access it
<chipsy> I would like to do the same for the test itself
<thibm> damjan: it seems overly complicated
<ldlework> oh
<thibm> damjan: OK, so the IPv6 address is in this file
<infinisil> chipsy: Nix is meant to be pure, and accessing the internet is impure
<chipsy> infinisil: yeah, but why the -A driver for tests allows it?
<infinisil> Because then you're not running it in a nix build
<thibm> damjan: there's also a /etc/netplan/50-cloud-init.yaml with the config.
<infinisil> It's a nix-build that produces a binary, which you then run outside of nix
<chipsy> infinisil: isn't the case of the test anyway?
<chipsy> like it builds the vm?
<thibm> OK, so either I patch nixos-infect to copy the config from the Ubuntu, either I configure it afterwards. Thanks
<thibm> (It's a pity that it's not adverstised)
<infinisil> chipsy: No, tests are mainly there to build them within Nix, where you have purity, therefore making the tests reproducible
<infinisil> The `driver` is just a convenience thing for debugging them
<infinisil> Iirc
<thibm> Yes, driver build a script (among other things). Then you run the script in your "impure" world
<infinisil> ^
<chipsy> I see, well, I will try to hack it and run the script itself in the CI
<infinisil> chipsy: What do you need internet access for?
<chipsy> I need to connect to a different part of our infrastructure (database) that is not (yet) managed by NixOS
<chipsy> kind of a hybrid environment
<chipsy> I know it will be impure, but for now, baby steps :)
<chipsy> at least the software on the nixos side will be pure
<infinisil> I mean you could try to disable the sandbox, this might allow internet access in the tests nix-build. `--option sandbox false`
<infinisil> Not recommended obviously
<{^_^}> [nixpkgs] @peterhoeg opened pull request #102924 → nixos/systemd-resolved: fix incorrect user → https://git.io/JTxul
<thibm> chipsy: it's fine to build a test script and then run it to access externel resources. It may be inevitable
<chipsy> thibm: do you know how? the run-vm script doesn't run the script, just start it
<thibm> Of course, it's better to test everything in an isolated environment, with the DB and others if it's possible
<thibm> chipsy: the driver attr is defined in <nixpkgs/nixos/lib/testing-python.nix>
<thibm> chipsy: (didn't get the difference between run and start the script)
<chipsy> ah I see
<chipsy> oh we do not longer log the html thingy in python
<{^_^}> [nixpkgs] @Flakebi opened pull request #102925 → amdvlk: 2020.Q4.2 -> 2020.Q4.3 → https://git.io/JTxuA
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #102839 → [20.09] openjdk: 1.8.0_265 -> 1.8.0_272 → https://git.io/JTAoT
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-20.09: https://git.io/JTxup
philr has quit [Ping timeout: 240 seconds]
<{^_^}> [rfcs] @wmertens reopened pull request #17 → [RFC 0017] Intensional Store → https://git.io/JUi7m
chipsy has quit [Remote host closed the connection]
lorenzleutgeb has quit [Remote host closed the connection]
FRidh has quit [Ping timeout: 260 seconds]
FRidh has joined #nixos
civodul has joined #nixos
Fare has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/JTxg1
<{^_^}> [nixpkgs] @FRidh closed pull request #98162 → pythonPackages.pandas: 1.1.1 -> 1.1.4 & cleanup → https://git.io/JURS9
<{^_^}> [nixpkgs] @freezeboy opened pull request #102926 → pugixml: 1.9 -> 1.10 → https://git.io/JTx2n
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python3.pkgs.genshi: fix build »: https://git.io/JTx2c
<{^_^}> [nixpkgs] @wmertens merged pull request #102273 → nixos/bluetooth: disable restart on unit changes → https://git.io/JTHMS
<{^_^}> [nixpkgs] @wmertens pushed 2 commits to master: https://git.io/JTx2o
mallox has joined #nixos
nschoe has joined #nixos
noudle has quit []
bgamari_ has joined #nixos
CyberManifest has quit [Quit: Leaving...]
bgamari has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 260 seconds]
CyberManifest has joined #nixos
hopheynananey has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @stigtsp merged pull request #102856 → shadowsocks-rust: 1.8.18 -> 1.8.23 → https://git.io/JTA9o
<{^_^}> [nixpkgs] @stigtsp pushed 2 commits to master: https://git.io/JTxVl
<{^_^}> [hydra] @astro opened pull request #829 → Support for serving binary cache from local binary cache store → https://git.io/JTxVH
<{^_^}> [nixpkgs] @sikmir opened pull request #102927 → vk-messenger: 5.0.1 → 5.1.1, enable on darwin → https://git.io/JTxwO
yinfeng has quit [Ping timeout: 264 seconds]
yinfeng has joined #nixos
orivej has joined #nixos
CyberManifest has quit [Quit: Leaving...]
sss2 has joined #nixos
Chiliparrot has quit [Ping timeout: 258 seconds]
CyberManifest has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #102604 → nextdns: 1.8.3 -> 1.8.8 → https://git.io/JTFBX
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JTxoC
<{^_^}> [nixpkgs] @sayanarijit closed pull request #102881 → openapi-generator-cli-unstable: 5.0.0-2020-02-04 -> 5.0.0-2020-11-04 → https://git.io/JTxsG
<{^_^}> [nixpkgs] @sayanarijit closed pull request #102880 → openapi-generator-cli-unstable: 5.0.0-2020-02-04 -> 5.0.0-2020-11-04 → https://git.io/JTx3S
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @Ma27 closed pull request #102869 → python37Packages.mautrix: 0.5.8 -> 0.7.14 → https://git.io/JTxvF
<JaakkoLuttinen[m> In package derivations, how can I access files in nixpkgs in some scripts (e.g., `preCheck`) or how can I copy files before those scripts to the build directory so that they'd be available easily?
<JaakkoLuttinen[m> I added a file to nixpkgs that I need to read in `preCheck` script..
lordcirth has joined #nixos
Chiliparrot has quit [Remote host closed the connection]
<thibm> JaakkoLuttinen[m: "added a file to nixpkgs": you mean in a nixpkgs tree?
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #102928 → scala: Add tests, update script → https://git.io/JTx6Z
<dminuoso> Can you run an initial nixops deployment without root + ssh + password?
thelounge812 has joined #nixos
Chiliparrot has joined #nixos
whatisRT has joined #nixos
<{^_^}> [nixpkgs] @kevincox merged pull request #95165 → Doc -> Languages & Frameworks -> Rust: Update → https://git.io/JJymD
<{^_^}> [nixpkgs] @kevincox pushed 2 commits to master: https://git.io/JTx6y
<{^_^}> [nixpkgs] @peterhoeg opened pull request #102929 → pam_mount: add support for LUKS2 → https://git.io/JTx6H
__monty__ has quit [Quit: leaving]
Chiliparrot has quit [Client Quit]
<{^_^}> [nixpkgs] @kevincox closed pull request #81990 → stdenv/check-meta: Advertise the NIXPKGS_ALLOW_* environment variables → https://git.io/JvrBZ
<{^_^}> [nixpkgs] @kevincox merged pull request #101833 → stdenv/check-meta: add hint to NIXPKGS_ALLOW_* for unfree/broken/… → https://git.io/JTi4P
<{^_^}> [nixpkgs] @kevincox pushed 2 commits to master: https://git.io/JTxiv
<JaakkoLuttinen[m> thibm: Yes
<thibm> JaakkoLuttinen[m: OK. Do you refer to this file anywhere in nixpkgs? Like if the file is a package, you should add a line to pkgs/top-level/all-packages.nix
<dminuoso> Mmm. Ah it appears nixops 2.0 has it, but no channel seems to come with nixops 2.0
<dminuoso> strange
<thibm> JaakkoLuttinen[m: the, using the new package in any derivation is as simple as pkgs.the_new_package
thelounge812 has quit [Ping timeout: 258 seconds]
<thibm> JaakkoLuttinen[m: the same principle applies for anything: you should refer to the file somewhere in the existing nixpkgs files (packages, modules, etc) to be able to evaluate it from pkgs
dne has left #nixos ["WeeChat 2.9"]
<JaakkoLuttinen[m> thibm: It's just some helper file that I need to read in `preCheck`. It contains some random strings that are needed in the check phase. I can create a simple derivation for it so it gets added to store, but I just thought if I could avoid that
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @freezeboy opened pull request #102930 → oven-media-engine: 0.10.4 -> 0.10.8 → https://git.io/JTxip
<JaakkoLuttinen[m> I guess there's some simple helper that just copies a file to store.. 🤔
<thibm> JaakkoLuttinen[m: Yes, just do ${./thefile}
cinimod has joined #nixos
alp has quit [Ping timeout: 264 seconds]
alp has joined #nixos
<thibm> JaakkoLuttinen[m: (there's also copyPathToStore but you shouldn't need it. It's useful e.g. when you build a path with an expression)
<{^_^}> [nixpkgs] @braunse opened pull request #102931 → elixir_1_11: 1.11.1 -> 1.11.2 → https://git.io/JTxPn
nicoo has quit [Ping timeout: 240 seconds]
aswanson_ has joined #nixos
<{^_^}> [rfcs] @edolstra closed pull request #58 → [RFC 0058] Named Ellipses → https://git.io/Jer5q
nicoo has joined #nixos
CptCaptain has joined #nixos
CptCaptain has quit [Client Quit]
<JaakkoLuttinen[m> thibm: ah, right! thanks!
<{^_^}> [nixpkgs] @roberth opened pull request #102932 → nixUnstable: 2.4pre20201102_550e11f -> 2.4pre20201105_387f824 → https://git.io/JTxX0
lordcirth_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « python3.pkgs.pip: 20.1.1 -> 20.2.4 »: https://git.io/JTx1f
pushqrdx has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg closed pull request #102929 → pam_mount: add support for LUKS2 → https://git.io/JTx6H
lordcirth has quit [Ping timeout: 264 seconds]
noudle has joined #nixos
<cinimod> I have `(overrideCC stdenv gcc).mkDerivation` in `default.nix` - I'd like a shell though but `(overrideCC stdenv gcc).mkShell` won't work
cosimone has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #102924 → nixos/systemd-resolved: fix incorrect user → https://git.io/JTxul
<{^_^}> [nixpkgs] @peterhoeg pushed to master « nixos/systemd-resolved: fix incorrect user »: https://git.io/JTxMo
Ariakenom has joined #nixos
<nicolas[m]> [cinimod](https://matrix.to/#/@freenode_cinimod:matrix.org) mkShell is a wrapper around mkDerivation. I don't remember what you would need to do to have the same behavior
<{^_^}> [nixpkgs] @peterhoeg opened pull request #102934 → pam_mount: add support for LUKS2 → https://git.io/JTxDJ
<{^_^}> [nixpkgs] @FRidh pushed to staging « python3.pkgs.pip: 20.1.1 -> 20.2.4 »: https://git.io/JTxDU
<{^_^}> [nixpkgs] @roberth pushed commit from @jtojnar to staging-20.09 « libical: disable rest of failing tests »: https://git.io/JTxDO
<thibm> cinimod: maybe mkShell.override { stdenv = ...; }
<thibm> (mkShell is defined in all-packages.nix with callPackage, so it's overridable. It takes { lib, stdenv } as argument so you can override the used stdenv as this^
pushqrdx has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/JTxyL
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-20.03: https://git.io/JTxyG
knotteye[m] has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-20.09: https://git.io/JTxyc
<cinimod> thibm: I still get the compiler complaining e.g. 'std::abort' has not been declared using std::abort;
gustavderdrache has joined #nixos
awwayaya24hours[ has joined #nixos
alp has quit [Ping timeout: 260 seconds]
<siraben> How can I upgrade my Nix to 2.4? Is that when the new commands are preferred over the old ones?
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #nixos
<thibm> cinimod: this is a different problem, right? Hard to help without furhter information
PlumpMath has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « python2.pkgs.pip: fix regression in 20.2 »: https://git.io/JTxHE
vidbina has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to staging « python2.pkgs.pip: fix regression in 20.2 »: https://git.io/JTxHg
PlumpMath has quit [Client Quit]
<{^_^}> [nixpkgs] @equirosa opened pull request #102935 → lazygit: 0.23.6 -> 0.23.7 → https://git.io/JTxQ8
<{^_^}> [nixpkgs] @fare opened pull request #102936 → Gerbil Update → https://git.io/JTxQ2
whatisRT has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @cruegge opened pull request #102938 → nixos/stage-1: create /dev/std{in,out,err} symlinks → https://git.io/JTx7C
<numkem> is it possible to pass a file as a bind mount to a derivation? My use case is runCommand with the docker socket
<clever> numkem: giving it a unix socket like that isnt pure, its better to built the tar without the docker tools
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #102928 → scala: Add tests, update script → https://git.io/JTx6Z
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/JTx5G
bitmapper has joined #nixos
<bitmapper> i'm currently dreading another install attempt rn
<bitmapper> the bcm4331 will never let me have any peace
<numkem> clever: it's more for a local build for someone on darwin
<numkem> clever: on linux it works just fine with the dockerTools but darwin fails saying it's not supported. So I was thinking of using a runCommand with the socket to start a docker container with nix inside and run the build
<clever> numkem: the problem is that you need a linux builder to build the derivations
<clever> numkem: so you want to run nix-build inside docker, to produce the docker image
<numkem> exactly
<clever> and nix itself doesnt need access to the unix socket then
<clever> as far as nix is concerned, your on a normal linux machine
<numkem> clever: so I shouldn't rely on runCommand and just run the docker command outside of it
Chiliparrot has joined #nixos
vidbina has joined #nixos
<clever> numkem: you want to run nix-build inside of docker, and that nix-build should use the buildDockerImage in nixpkgs
<numkem> yes
<numkem> but only on darwin
<clever> correct
growpotkin has joined #nixos
<numkem> my guess was to use runCommand and pass it the socket but it's not possible
mmohammadi9812 has quit [Ping timeout: 258 seconds]
<grfn> are there any unit testing libraries for Nix expressions?
<grfn> kinda feels like there should be
<{^_^}> [nixpkgs] @Icy-Thought closed pull request #102406 → Added Orchis-Theme and Reversal-Icon-Theme → https://git.io/JT7hm
<{^_^}> [nixpkgs] @raboof opened pull request #102939 → seaweed: init at 2.07 → https://git.io/JTxNq
berberman has quit [Quit: ZNC 1.7.5 - https://znc.in]
mmohammadi9812 has joined #nixos
berberman has joined #nixos
kevincox[m] has quit [Quit: Idle for 30+ days]
codyopel has quit [Quit: Idle for 30+ days]
GuillaumeChrel[m has quit [Quit: Idle for 30+ days]
jonte[m] has quit [Quit: Idle for 30+ days]
domogled has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #102940 → [20.09] tmux: 3.1b -> 3.1c → https://git.io/JTxA6
cosimone has quit [Quit: cosimone]
camsbury has joined #nixos
<numkem> clever: while you are here, are you aware of a problem with Hydra using an s3 bucket as it's store? it used to work just fine on 20.03 but after upgrading to 20.09 it's currently broken with an `AWS error ''`
jonringer has joined #nixos
<clever> numkem: i would expect it to still work
<{^_^}> [nixpkgs] @mweinelt opened pull request #102941 → [20.03] tmux: apply patch for CVE-2020-27347 → https://git.io/JTxAp
<numkem> clever: I'm using a minio s3 store with a different port and it just says it can't reach my host even tho nothing changed on that side
<{^_^}> [nixpkgs] @jonringer merged pull request #102813 → zfsUnstable: 2.0.0-rc4 -> 2.0.0-rc5 → https://git.io/JTAGp
<{^_^}> [nixpkgs] @jonringer pushed to master « zfsUnstable: 2.0.0-rc4 -> 2.0.0-rc5 »: https://git.io/JTxxf
<clever> numkem: check with wireshark to see whats going on
<numkem> clever: will do, thanks! clever++
<{^_^}> clever's karma got increased to 538
<{^_^}> [nixpkgs] @FRidh pushed to master « python3.pkgs.pymzq: clean up and fix »: https://git.io/JTxxl
werner291 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #102863 → axel: 2.17.7 -> 2.17.9 [20.03] → https://git.io/JTAxC
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to release-20.03: https://git.io/JTxx2
o1lo01ol1o has quit [Remote host closed the connection]
thelounge812 has joined #nixos
thibm has quit [Ping timeout: 264 seconds]
kaychaks has joined #nixos
<neothefox> How do I tell my configuration to apply a patch to linux kernel. With an Overlay, but can I have an example?
thelounge812 has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #nixos
<FRidh> magnetophon: bsd3
hnOsmium0001 has joined #nixos
<magnetophon> FRidh: thanks! PR coming up!
erasmas has joined #nixos
hlz has quit [Quit: WeeChat 2.9]
domogled has quit [Remote host closed the connection]
hlz has joined #nixos
domogled has joined #nixos
zupo has joined #nixos
orivej has joined #nixos
mDuff has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #102943 → verilog: unstable-2020-08-24 -> 11.0 → https://git.io/JTxhZ
CyberManifest has quit [Quit: Leaving...]
oblomov has joined #nixos
domogled has quit [Read error: Connection reset by peer]
betaboon has quit [Quit: ZNC - https://znc.in]
<{^_^}> [nixpkgs] @mweinelt opened pull request #102944 → homeassistant: 0.117.4 -> 0.117.5 → https://git.io/JTxjL
<oblomov> hey is anyone using kmonad for configuring the keyboard on nixos? https://github.com/david-janssen/kmonad
<{^_^}> [nixpkgs] @leenaars opened pull request #102945 → Sylk: 2.9.1 -> 2.9.2 → https://git.io/JTxjm
<jmercouris> when I do nix search "gobject" I get many entries, some of them seemingly duplicates
<jmercouris> is there a way I can inspect the entries?
<jmercouris> for example I got "nixos.gobject-introspection" and "nixos.gobjectIntrospection"
<jmercouris> the description for them is EXACTLY the same
<jonringer> they are likly to be aliases
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jmercouris> how can I know if they are?
<jonringer> ` gobjectIntrospection = gobject-introspection; # added 2018-12-02
<jonringer> `
<jonringer> go to pkgs/top-level/aliases.nix
<jmercouris> how did you find that?
<jonringer> and see if there's an entry
betaboon has joined #nixos
<jmercouris> I don't see that directory in the nixpkgs repository
<jmercouris> is there no CLI tool to get this information?
<jmercouris> I see it now
<jmercouris> yes
<jonringer> you can pass allowAliases = false; to your config when evaluating something
<jmercouris> don't know how I missed it..
<jonringer> and see if it dissappears
<jmercouris> now let's take a general case
<jmercouris> I see something in nix search
<jmercouris> how can I find out more about it?
<jmercouris> is there like a `nix info gobjectIntrospection` that will return the expression?
<jonringer> you can do `nix edit gobjectIntrospection`
<{^_^}> [nixpkgs] @danieldk merged pull request #101941 → piglit: init at unstable-2020-10-28 → https://git.io/JT1Gn
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JTxjD
<jonringer> and it will take to to the file
<{^_^}> [nixpkgs] @roberth opened pull request #102946 → tzdata: revert to fat format → https://git.io/JTxj7
<jmercouris> jonringer: I see, thank you
<jonringer> however, you will most likely need to do `nix edit -f default.nix gobjectIntrospection`
<bsima> I can't figure this out. I keep getting 'unrecognized option --printf' in .xsession-errors like seen here: https://github.com/NixOS/nixpkgs/issues/55272, and I don't have busybox specified in any of my system configuration
<{^_^}> #55272 (by Vskilet, 1 year ago, closed): stat: unrecognized option '--printf'
<jonringer> generally i just load up a repl and poke around to see how something get's evaluated
<jonringer> `nix repl`
<jonringer> `:l`
<bsima> is there some implicit dependency on busybox? why-depends says I don't depend on it
<jonringer> busybox is used for bootstrapping, but shouldn't appear in any normal runtime closure
malorie has joined #nixos
<julm> FYI https://github.com/NixOS/nix/pull/4094 is ready for testing and reviewing by Btrfs users
<{^_^}> nix#4094 (by martinetd, 5 weeks ago, open): preallocateContents option: automatically set on btrfs
Sanchayan has quit [Quit: leaving]
o1lo01ol1o has quit [Remote host closed the connection]
<bsima> yeah i can't figure out how its getting in here
<bsima> busybox i mean
<bsima> it seems to be preventing X from starting properly, after running startx i get a non-functional screen
alp has joined #nixos
<mDuff> Does `nix show-derivation -r` give you any hints?
<mDuff> (pointed at the top-level derivation for the configuration you're switching into, or if you know which code is actually invoking stat, for the build that generates it)?
<{^_^}> [nixpkgs] @roberth pushed 3 commits to staging-20.09: https://git.io/JTpeN
camsbury has quit [Remote host closed the connection]
<bsima> mDuff: yep, looks like its coming from bootstrap tools
<bsima> so, why is boostrap tools in my nixos config?
oida has quit [Remote host closed the connection]
oida has joined #nixos
<mDuff> in theory, a recursive show-derivation should answer that, if you look for references into bootstrapTools.
thelounge812 has joined #nixos
zakame has quit [Ping timeout: 256 seconds]
domogled has joined #nixos
zakame has joined #nixos
endformationage has joined #nixos
zangi has joined #nixos
<bsima> i see. I followed the tree of deps and eventually found xdg-desktop-portal at the root
<zangi> why does running `patchShebangs` from inside nix-shell asking me for a confirmation to delete a file (rm -i)?
<zangi> doesn't happen on nix-build
cole-h has joined #nixos
<bsima> i think this busybox/xorg this is a problem with my home-manager config, since I can login as root with a plasma gui session just fine, but my user gui session craps out
mallox has quit [Quit: WeeChat 2.9]
pushqrdx_ has joined #nixos
werner292 has joined #nixos
pushqrdx_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<hyper_ch> qtwebkit still broken
rajivr has quit [Quit: Connection closed for inactivity]
justan0theruser has joined #nixos
addcninb- has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
justanotheruser has quit [Ping timeout: 244 seconds]
Dotz0cat has quit [Ping timeout: 240 seconds]
<fling> Where is nixos linux git repo?
<fling> Or is there only the repo with kenel patches?
pushqrdx has quit [Read error: Connection reset by peer]
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
<hexa-> fling: the linux kernel is just a package, sometimes containing patches
pushqrdx has joined #nixos
evanjs has joined #nixos
<fling> is it the only repo where the patches are maintained?
<fling> no linux git repo used?
<hexa-> yes
<fling> ok
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
pushqrdx has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #nixos
pushqrdx has joined #nixos
oblomov has quit [Remote host closed the connection]
addcninblue has joined #nixos
<{^_^}> [nixpkgs] @Mazurel opened pull request #102947 → vimPlugins: Added vim-racket and vim-lsp-cxx-highlight → https://git.io/JTpUC
pushqrdx7 has joined #nixos
mallox has joined #nixos
mallox has quit [Client Quit]
<pushqrdx7> can someone try Polari IRC client and tell me if it works
<pushqrdx7> cause it doesn't work overhere can't add any channels, and in the terminal it's throwing an error `The name org.freedesktop.Telepathy.AccountManager was not provided by any .service files`
blyons has joined #nixos
mallox has joined #nixos
<pushqrdx7> i looked around and some suggested `service.accounts-daemon.enable = true;` but that didn't have any effect
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @talyz opened pull request #102948 → keycloak: 11.0.2 -> 11.0.3 → https://git.io/JTpUb
alp has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<damjan> pushqrdx7: you seem to need Telepathy
<damjan> accounts-daemon is a completely another thing
<{^_^}> [nixpkgs] @FRidh opened pull request #102949 → WIP: wrapAppsHook: unify wrapper generation Gapps/Python/Qt/... → https://git.io/JTpT8
o1lo01ol1o has joined #nixos
<pushqrdx7> damjan is this a package?
<pushqrdx7> or an option i can enable in config.nix?
magnetophon has quit [Ping timeout: 265 seconds]
pushqrdx7 has quit [Remote host closed the connection]
pushqrdx has quit [Read error: Connection reset by peer]
<malorie> hi all. first time nixos user here, and I'm trying to figure out how to configure dwm. so far I've found https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/window-managers/dwm/default.nix and managed to add patches, but I'm stuck on how to add the custom config file. any hints on what to do, or what to read up on?
pushqrdx has joined #nixos
ransom has joined #nixos
<eyJhb> Lists in nixos are ordered, right?
<eyJhb> > [ "a" "b" ]
<{^_^}> [ "a" "b" ]
<JaakkoLuttinen[m> I wonder if it's possible to use `xclip` in package derivation `checkPhase` or is clipboard non-working in nix package build environment?
<damjan> eyJhb: aye. to be frank, I don't know of a programming language where lists are not ordered
<eyJhb> damjan: You never know! Don't trust anything.
<hexa-> html has them! *duck*
<{^_^}> [nixpkgs] @samuelgrf opened pull request #102950 → treewide: add final newline to multiple files → https://git.io/JTpkT
dbmikus_ has joined #nixos
<eyJhb> But then again, many languages also have "ordered" dicts... Which is sad
magnetophon has joined #nixos
magnetophon has left #nixos [#nixos]
<damjan> hexa-: lol
magnetophon has joined #nixos
<JaakkoLuttinen[m> Is it possible to add packages to `PATH` in Python package derivation? I guess it's not really possible because the Python package isn't executable so it cannot be wrapped, right? So, should I patch all the subprocess calls in Python code so that the executable paths are absolute paths to store and not expected to be found in the environment PATH?
<AmandaC> How do I update a package in a package group, eg, pythonPackaged, lispPackages?
<JaakkoLuttinen[m> Or how are executables made available for Python packages?
<AmandaC> ( From an overlay )
pushqrdx has quit [Read error: Connection reset by peer]
pushqrdx has joined #nixos
<FRidh> JaakkoLuttinen[m: grep for makeWrapperArgs
<FRidh> for executables
<FRidh> for library code...patch it
pushqrdx54 has joined #nixos
<mDuff> zangi, in nix-shell you have an interactive interpreter, so it honors aliases and is subject to your dotfiles; nix-build is running a noninteractive interpreter, which doesn't (unless they're explicitly turned on).
<pushqrdx54> so i sat `services.telepathy.enable = true` and now the telepathy error is gone however Polari says `could not connect to Freenode`
<pushqrdx54> there's something missing i guess
<pushqrdx54> it doesn't show any more errors though so i don't why it doesn't want to connect
thelounge812 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JTpko
rnea has joined #nixos
sangoma has joined #nixos
pushqrdx54 has quit [Remote host closed the connection]
pushqrdx has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
pushqrdx has joined #nixos
<{^_^}> [nixpkgs] @Frostman opened pull request #102951 → prometheus: 2.20.1 -> 2.22.1 → https://git.io/JTpIk
pushqrdx has quit [Client Quit]
<{^_^}> [nixpkgs] @Luz closed pull request #99659 → librepcb: 0.1.4 -> 0.1.5 → https://git.io/JUbDG
<eyJhb> Non working example - https://termbin.com/s1iq but ... Is this OK to have? Like a name that I am given as a argument, that I use in a attribute name = ...., ?
pushqrdx has joined #nixos
<AmandaC> Muwahahaha! https://gitea.ddna.co/camnet-homelab/nix/src/branch/master/overlay/default.nix#L47-L57 Finally, I can copy-paste in nyxt, giving it a proper look-see
<pushqrdx> if someone uses Polari as irc client i'd appreciate some help getting it work, at first it was throwing some error about telepathy but i enabled telepathy and installed all relevant packages, while the error gone away Polari now says that it cannot connect to servers
<AmandaC> is wl-clipboard packaged in nixpkgs proper, or is that only in an overlay? If it's packaged proper, I'll make a PR to nixpkgs with that change
camsbury has joined #nixos
werner291 has joined #nixos
werner292 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to master « kupfer: fix build »: https://git.io/JTpIX
<ivan> does the nginx configuration in nixos use the first virtualhost (in alphanumeric order) and use that as the default host? that is what I am seeing
jabster28 has joined #nixos
<cransom> iirc there's an option for default = <boolean>
blyons has quit [Remote host closed the connection]
<ivan> thanks
<ivan> found this blank server_name tip too https://serverfault.com/a/996669
<eyJhb> Is it possible to have a module, which default value is the value of another option in the same submodule?
sangoma has quit [Ping timeout: 260 seconds]
<tpw_rules> i'm having trouble starting the nixos graphical installer on my system with an nvidia gpu as the main graphics. the default just brings up corrupted junk, so i tried nomodeset and it couldn't start the display manager. "Screen(s) found, but none have a usable configuration" seems to be the relevant error from journalctl
<bitmapper> sphalerite: wondering if i could get some tips about dealing with the bcm4331
alp has joined #nixos
wnklmnn has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @andir merged pull request #102940 → [20.09] tmux: 3.1b -> 3.1c → https://git.io/JTxA6
<{^_^}> [nixpkgs] @andir pushed 3 commits to release-20.09: https://git.io/JTpLu
<{^_^}> [nixpkgs] @andir merged pull request #102941 → [20.03] tmux: apply patch for CVE-2020-27347 → https://git.io/JTxAp
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-20.03: https://git.io/JTpLw
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #102952 → jenkins: Update script, 2.249.2 -> 2.249.3 → https://git.io/JTpL6
<tpw_rules> the cpu does have integrated intel graphics but it's a desktop and i don't intend to ever use them
<tpw_rules> the monitor is plugged into the gpu
<{^_^}> [nixpkgs] @timokau merged pull request #102831 → [20.09] openjdk: 11.0.8 -> 11.0.9 → https://git.io/JTAwa
<{^_^}> [nixpkgs] @timokau pushed 2 commits to release-20.09: https://git.io/JTpLQ
sangoma has joined #nixos
<tpw_rules> it seems like nouveau has found the card?
<{^_^}> [nixpkgs] @veprbl opened pull request #102953 → [20.09] pythia: 8.244 -> 8.245 → https://git.io/JTpt0
<{^_^}> [nixpkgs] @Luz opened pull request #102954 → librepcb: 0.1.4 -> 0.1.5 → https://git.io/JTptg
<{^_^}> [nixpkgs] @ryantm merged pull request #102635 → ocenaudio: 3.9.2 -> 3.9.5 → https://git.io/JTbv7
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to staging: https://git.io/JTpt2
<{^_^}> [nixpkgs] @ryantm merged pull request #102730 → petsc: 3.13.4 -> 3.14.0 → https://git.io/JTN4q
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JTpto
camsbury has quit [Ping timeout: 264 seconds]
dsx has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @talyz opened pull request #102955 → [20.09] keycloak: 11.0.2 -> 11.0.3 → https://git.io/JTpqL
halfbit has joined #nixos
<halfbit> I'm looking to package a few things up that use cmake, and then with cmake do Fetch, which breaks when nix-build runs
<halfbit> is there a simple way to tell nix-build to allow network access so I don't have to deal with patching all that stuff?
<gchristensen> no
<tpw_rules> it's not too difficult to patch
<halfbit> I mean, it isn't, but just time consuming when there's about a dozen deps/xyz.cmake files with FetchContent in them
<halfbit> sigh
<{^_^}> [nixpkgs] @talyz merged pull request #102948 → keycloak: 11.0.2 -> 11.0.3 → https://git.io/JTpUb
<{^_^}> [nixpkgs] @talyz pushed 2 commits to master: https://git.io/JTpqB
<halfbit> need to basically package each of those then update the project to look for them
nschoe has quit [Ping timeout: 240 seconds]
<tpw_rules> you don't really need to package them as a separate thing
bn_work has joined #nixos
<tpw_rules> you can just have a fetchurl for each file, then patch the cmake file to point to the fetched file
<tpw_rules> although iirc fetchcontent cannot do file:// for whatever silly reason. i had to do this for a project recently but the derivation isn't immediately accessible
<halfbit> well I've already packaged up most of the stuff so maybe not hard at all
<halfbit> I do need to patch the cmakes though
dsx has joined #nixos
<halfbit> right on, appreciate the idea though, might use that next time around
<halfbit> was about half way through packaging everything and was wondering if this was really the way
<tpw_rules> https://pastebin.com/fMCMARXt never mind i found it
<pushqrdx> i can't get polari to work in any way, so the package in nixpkgs is useless
<tpw_rules> halfbit: maybe that can offer inspiration
<{^_^}> [nixpkgs] @mweinelt merged pull request #102955 → [20.09] keycloak: 11.0.2 -> 11.0.3 → https://git.io/JTpqL
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to release-20.09: https://git.io/JTpqD
<{^_^}> [nixpkgs] @mweinelt merged pull request #101983 → [staging] libass 0.14.0 -> 0.15.0 → https://git.io/JT1pe
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to staging: https://git.io/JTpq5
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @mbrgm opened pull request #102956 → lazygit: 0.22.8 -> 0.23.7 → https://git.io/JTpmI
<Guest84> ,locate autoreconf
Guest84 has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<{^_^}> Found in packages: autoconf, autoconf213, autoconf264, bashCompletion
Guest84 has quit [Client Quit]
blyons has joined #nixos
Guest84 has joined #nixos
<Guest84> ,locate aclocal
<{^_^}> Found in packages: agg, gsl, ppl, yad, gnet, gob2, npth, xosd, bison, check, clisp, cmake, gsl_1, gwrap, imlib, libeb, root5, smpeg, wxGTK, gauche, gdome2, gnupth, gthumb, hamlib, lib3ds, libaal, libast, libdap, libnih, libsmi, smpeg2, xapian, SDL.dev, dovecot, gts.dev, libagar, libtool, log4cpp, mysql57, mysql80, orc.dev, pkgconf, wayland, wxGTK29, wxGTK30, wxGTK31, xineLib, zziplib, SDL2.dev, automake, curl.dev, flac.dev, gimp.dev, and 103 more
<Guest84> ,locate opencc
<{^_^}> Found in packages: opencc
berberman has quit [Ping timeout: 272 seconds]
hlz has quit [Quit: WeeChat 2.9]
berberman_ has joined #nixos
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @mbrgm closed pull request #102956 → lazygit: 0.22.8 -> 0.23.7 → https://git.io/JTpmI
ris has joined #nixos
magnetophon has quit [Ping timeout: 244 seconds]
Guest84 has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @mweinelt merged pull request #102592 → lldpd: 1.0.5 -> 1.0.6 → https://git.io/JTFcS
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JTpYs
Darkmatter66 has joined #nixos
lordcirth__ has joined #nixos
lordcirth_ has quit [Ping timeout: 264 seconds]
magnetophon has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<pushqrdx> anyone using polari irc on nix?
werner292 has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #102130 → syncplay: 1.6.5 -> 1.6.6 → https://git.io/JTy2W
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JTpYj
<{^_^}> [nix-idea] @Mic92 pushed 0 commits to refs/tags/v0.3.0.1: https://git.io/JTpOf
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<malorie> so my issue seems to be due to my local nixpkgs being outdated, despite installing nixos just recently :|
<malorie> or maybe the channel I have configured is behind?
<{^_^}> [nix-idea] @Mic92 pushed to refs/tags/v0.3.0.2 « release 0.3.0.2 »: https://git.io/JTpOE
Minijackson[m] is now known as Minijackson
lorimer has quit [Quit: NAE TROOSERS]
m4tsa_ has joined #nixos
Minijackson is now known as Minijackson[m]
domogled1 has joined #nixos
Minijackson[m] is now known as Minijackson
domogled has quit [Ping timeout: 265 seconds]
domogled1 is now known as domogled
m4ts has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #96639 → nixos/availableKernelModules: add microsoft hid → https://git.io/JUteO
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JTpOb
at_mart has joined #nixos
m4ts has joined #nixos
ransom_ has joined #nixos
m4tsa_ has quit [Ping timeout: 264 seconds]
domogled1 has joined #nixos
ransom has quit [Ping timeout: 240 seconds]
h0m1 has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 2.4.6 -> 2.4.7 »: https://git.io/JTp3k
pushqrdx has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @danieldk merged pull request #102925 → amdvlk: 2020.Q4.2 -> 2020.Q4.3 → https://git.io/JTxuA
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JTp3L
domogled has quit [Ping timeout: 240 seconds]
domogled1 is now known as domogled
h0m1 has joined #nixos
astronavt has joined #nixos
<srhb> malorie: That sounds likely. Which channel do you expect to be on, and what does nixos-version say? :)
Latr_work has quit [Quit: Connection closed for inactivity]
jabster28 has quit [Ping timeout: 256 seconds]
<malorie> srhb: I think I've just got it to work. I've added the unstable channel, and added it to my configuration.nix with a let/in, then I did an override on the unstable.dwm and it finally used my custom config file
urkk has joined #nixos
<malorie> not sure if that's the "correct" way to do it, though...
<{^_^}> [nixpkgs] @danieldk opened pull request #102958 → _1password-gui: 0.9.1 -> 0.9.2-1 → https://git.io/JTp3M
chloekek has joined #nixos
<{^_^}> [nixpkgs] @magnetophon opened pull request #102959 → android-image-utils: init at 2012-08-08 → https://git.io/JTp3p
thelounge812 has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #102960 → python3Packages.setuptools-rust: 0.11.3 -> 0.11.4 → https://git.io/JTp3h
urkk has left #nixos [#nixos]
zakame has quit [Ping timeout: 260 seconds]
rnea has quit [Ping timeout: 264 seconds]
<jboy> I'm trying to `nixos-rebuild boot` and it always fails at the end when calling `bootctl` because of an input/output error ("Failed to probe partition scheme of /dev/block/..."). Any ideas what might be causing this?
<jboy> I haven't changed any of my boot.loader settings (systemd-boot.enable = true).
<tpw_rules> does the disk it mentions exist?
camsbury has joined #nixos
zakame has joined #nixos
quidnunc has joined #nixos
zupo has joined #nixos
alp has joined #nixos
<jboy> yes
rprije has joined #nixos
<quidnunc> I'm trying to run "sudo nix-channel --update" after installing nix on OSX Big Sur but I'm getting "SSL peer certificate or SSH remote key was not okay". What am I doing wrong?
<cole-h> jboy: What kind of disk is it?
<jboy> cole-h: an ssd
<cole-h> e.g. is it a luks-encrypted /boot?
<jboy> cole-h: yes, /boot is encrypted but /boot/efi is a separate partition
heyitsr__ has quit [Remote host closed the connection]
<cole-h> I ask because of https://github.com/systemd/systemd/issues/16151 and https://github.com/systemd/systemd/issues/12468, two results I found by searching your error message
<{^_^}> systemd/systemd#16151 (by jrobsonchase, 21 weeks ago, closed): bootctl: can't install/update with encrypted /boot
<{^_^}> systemd/systemd#12468 (by Uglymotha, 1 year ago, closed): bootctl not fully functional is EFI partition is mirrored
sangoma has quit [Read error: Connection reset by peer]
<jboy> thanks cole-h, i found that first one too, and frustratingly it was closed because the issue just went away.
heyitsrama has joined #nixos
justan0theruser has quit [Ping timeout: 272 seconds]
<AmandaC> ,locate xdg-open
<cole-h> Have you tried rebooting? Is there space on the drive?
<{^_^}> Found in packages: atom, heroku, cypress, brackets, spacegun, xpraGtk3, atom-beta, xdg_utils, kibana-oss, kibana7-oss, base16-builder, trilium-server, nodePackages.bower, elmPackages.elm-live, elmPackages.elm-analyse, elmPackages.elm-coverage, elmPackages.elm-doc-preview, elmPackages.elm-language-server
<cole-h> AmandaC: xdg_utils
<gchristensen> AmandaC: you want xdg_utils ... also: what the heck is going on with those packages providing that random tool
<cole-h> gchristensen: Vendored, probably
<gchristensen> distressed.tif
<jboy> cole-h: I have rebooted and powered off. There is plenty of space too.
<V> ,locate bin xdg-open
<cole-h> gchristensen: /nix/store/5dcrwxjb0n87nnsb571i17vcrxxarj1l-node_elm-live-4.0.2/lib/node_modules/elm-live/node_modules/open/xdg-open
<{^_^}> Found in packages: xdg_utils
<gchristensen> ooo
<cole-h> etc etc
<cole-h> jboy: Have you tried `SYSTEMD_RELAX_ESP_CHECKS=1`? https://github.com/systemd/systemd/issues/17298#issuecomment-706993312
<jboy> cole-h: I haven't. Lemme check what happens.
<cole-h> (I dunno if nixos-rebuild does anything funky with that -- it might not be propagated to wherever it calls bootctl)
expelledboy has joined #nixos
<jboy> cole-h: doesn't change anything when I run `bootctl` with that var set.
lordcirth_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #102514 → pipewire: 0.3.13 -> 0.3.15 → https://git.io/JTdVx
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JTpGX
<cole-h> Maybe it's time to strace it and see what's what
pushqrdx has joined #nixos
CyberManifest has joined #nixos
lordcirth__ has quit [Ping timeout: 260 seconds]
<expelledboy> suuup, I was wondering if anyone could help me figure out why this shell.nix https://nixos.wiki/wiki/Talk:FAQ/Pinning_Nixpkgs doesnt work when I call `nix-shell --arg production=true`. It just seems to hang
<pushqrdx> anyone using Polari on nixos :D, asking again because i wasted the last 2 hours debugging why it doesn't work, sadly i am giving up and using irssi :D
cosimone has joined #nixos
<cole-h> `--arg production true`
<cole-h> --arg <argname> <value>
<jboy> cole-h: that's outside my wheelhouse I'm afraid. I'll need to read the man page first...
<expelledboy> cole-h: sorry that was an earlier attempt, it hangs on `--arg production true`
jabster28 has joined #nixos
<expelledboy> is there a way to see the call stack?
<cole-h> Do you have a `nixpkgs.lock`?
<expelledboy> yup
<dminuoso> Do you get any output?
<expelledboy> nothing
<dminuoso> strace it
<cole-h> "Obviously this doens't work, but its close... not sure what I missed" <-- at the bottom of that page
<expelledboy> although I should add a check for the lock file
<cole-h> You could add `-v`s until you see what it's doing
<expelledboy> oh hectic its pulling down the nixpkgs repo, perhaps I misunderstood what `nix-prefetch-git` did thanks
heyitsrama has quit [Remote host closed the connection]
<expelledboy> I also thought that nix was lazy evaluated.. so when `production` is not set why is it trying to load the file?
saschagrunert has quit [Remote host closed the connection]
<cole-h> "pkgs = if production then pinnedNixpkgs else nixpkgs;"
malorie has quit [Remote host closed the connection]
<cole-h> if production is not set, it defaults to false (`production ? false`))
<cole-h> oh wait
<expelledboy> ya..
<dminuoso> expelledboy: Your nixpkgsUpdate script references it
werner292 has joined #nixos
<dminuoso> expelledboy: Concretely, you splice the `url`, and `url` comes from `pinned`, which pulls everything in after
pushqrdx has quit [Quit: leaving]
heyitsrama has joined #nixos
<dminuoso> (and rev)
<dminuoso> nix evaluates it lazily, but not through the file system
<cole-h> The url comes from `pinned`, but that `pinnedNixpkgs` shouldn't be evaluated (and thus not pulled), right?
<expelledboy> ah okay hmm, so I want to set defaults then
<cole-h> Since it's only used if production = true
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
werner291 has quit [Remote host closed the connection]
<dminuoso> oh
<dminuoso> expelledboy: what exact command are you invoking?
<expelledboy> either `nix-shell` or `nix-shell --arg production true`
<expelledboy> basically I will be using `nix-shell` with `use nix` in direnv most the time, but incase something breaks in the future I want to use what I pinned to
<{^_^}> [nixpkgs] @raboof opened pull request #102961 → dbus: docs: make id's reproducible → https://git.io/JTpZw
la-jesystani has joined #nixos
<expelledboy> Okay so I just hardcode the `url` and `ref` and we good, thanks
alp has quit [Ping timeout: 272 seconds]
<jboy> cole-h: strangely setting SYSTEMD_RELAX_XBOOTLDR_CHECKS=1 seems to help with the i/o error issue.
pushqrdx has joined #nixos
<jboy> now the only question is how to get nixos-rebuild to pass it to bootctl...
<cole-h> Same way, I reckon
<cole-h> SYSTEMD_RELAX_XBOOTLDR_CHECKS=1 nixos-rebuild ...
<jboy> no, sadly not, because bootctl is called from a python script using subprocess
CyberManifest has quit [Quit: Leaving...]
<{^_^}> [nixpkgs] @cpcloud opened pull request #102963 → nvidia_x11.persistenced: fix build on master → https://git.io/JTpnk
pushqrdx_ has joined #nixos
pushqrdx has quit [Remote host closed the connection]
rojiro has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
<eyJhb> Is there any good way to get the length of a set? Aka, number of entries?
pushqrdx_ has quit [Client Quit]
pushqrdx has joined #nixos
domogled1 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eyJhb> Ended up with this https://termbin.com/ok0n0, as I needed it as a list anyways. Not sure that it is pretty
wnklmnn has joined #nixos
fendor has quit [Remote host closed the connection]
thc202 has quit [Ping timeout: 244 seconds]
domogled has quit [Ping timeout: 265 seconds]
domogled1 is now known as domogled
<pushqrdx> who needs polari anyways lol
<expelledboy> eyJhb: I am new here so dont take my word for it `pkgs.lib.length (pkgs.lib.attrValues {})`
<expelledboy> btw you from SA by any chance?
<expelledboy> pushqrdx: polari?
<pushqrdx> Polari the IRC client
<eyJhb> expelledboy: That would work as well! But wanted to not cast to many times :p
<eyJhb> By SA, you mean south africa?
<pushqrdx> expelledboy been trying to get it work for the past 3 hours :D
<{^_^}> [nixpkgs] @fabianhjr opened pull request #102964 → ldc: 1.20.1 -> 1.24.0 → https://git.io/JTpn1
<jboy> cole-h: fixed it by running the new bootctl from the nix store to update the efi bootloader with the RELAX environment variable. whew.
<expelledboy> oh its a gui based irc :P I am looking for one with vim binding in the terminal
<jboy> thanks for putting me on that track
mallox has quit [Quit: WeeChat 2.9]
<pushqrdx> expelledboy running a client called tiny RN very nice/minimal and has "Edit in editor" feature where you can basically write a message in vim
<expelledboy> does anyone know how to get the rev for the currently installed nixpkgs? but be something like `nix-env --eval nixpkgs.version`or something right?
<pushqrdx> imo so far it's the cleanest among the terminal based ones, irssi is nice too but felt a bit visually bloated
lordcirth_ has quit [Ping timeout: 264 seconds]
<Akira[m]> weechat is very nice :)
<expelledboy> pushqrdx: https://github.com/osa1/tiny?
bennofs1 has joined #nixos
bennofs1 has quit [Client Quit]
<pushqrdx> expelledboy yes
<pushqrdx> expelledboy it's available in the nix repos
blyons has quit [Remote host closed the connection]
<expelledboy> ya just looking for a dotfiles example :D
<pushqrdx> expelledboy doesn't need one was super simple to configure, at .config/tiny/config.yml it generates it automatically pre filled
lordcirth has joined #nixos
pushqrdx has quit [Ping timeout: 260 seconds]
pushqrdx has joined #nixos
vykook has quit [Ping timeout: 264 seconds]
Fare has quit [Ping timeout: 244 seconds]
halfbit has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @freezeboy closed pull request #102923 → jsoncpp: 1.9.2 -> 1.9.4 → https://git.io/JTxEK
vykook has joined #nixos
heyitsrama has quit [Remote host closed the connection]
heyitsrama has joined #nixos
ransom_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #102966 → Slither analyzer → https://git.io/JTpCj
<expelledboy> pushqrdx: $ tinytiny couldn't find a config file at "/Users/anthony/Library/Preferences/tiny/config.yml", and created a config file with defaults.You may want to edit "/Users/anthony/Library/Preferences/tiny/config.yml" before re-running tiny.
<expelledboy> How do you configure the config path?
Darkmatter66_ has joined #nixos
<eyJhb> Any reason I cannot delete a file I just copied in a build derivation? - https://termbin.com/uftr
vykook has quit [Ping timeout: 260 seconds]
Darkmatter66 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @primeos merged pull request #102666 → ungoogled-chromium: 85.0.4183.102-1 -> 86.0.4240.111-1 → https://git.io/JTbwj
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JTpWZ
magnetophon has quit [Ping timeout: 272 seconds]
<pushqrdx> expelledboy yeah it created the file for you just go there and edit it and run tiny again
<pushqrdx> you're on a macOS so the file path is different than .config/tiny on Linux
<pushqrdx> expelledboy i don't know if you can change the path but if you want to add the config in your home i'd just create a symlink
vykook has joined #nixos
<pushqrdx> expelledboy so first copy that file to `.config/tiny` then run `ln -s ~/.config/tiny/config.yml /Users/anthony/Library/Preferences/tiny/`
<expelledboy> does it not use $XDG_CONFIG_HOME? I have that setup
alp has joined #nixos
<pushqrdx> expelledboy looks like it uses $XDG_CONFIG_HOME, $HOME
orivej has joined #nixos
<pushqrdx> expelledboy so i guess you don't need the symlink if you just move that config under .config/tiny
zupo has joined #nixos
lsix has quit [Ping timeout: 246 seconds]
ransom has joined #nixos
<expelledboy> hmm maybe the version of tiny in nixpkgs is old
<pushqrdx> expelledboy last released version on github is 0.6.0 and in nix it's 0.5.1, the one before the latest
magnetophon has joined #nixos
<pushqrdx> i guess building it from source should be as easy as copy pasting the default.nix that is used for the current nix package and running `nix-env -i -f`
<pushqrdx> after editing the hash/version ofc
vidbina has quit [Ping timeout: 272 seconds]
seku has quit [Quit: Connection closed]
<expelledboy> na that area of code is the same in 0.5.1, trying to see if I can figure out if home-manager as a symlink utils
jabster28 has quit [Ping timeout: 264 seconds]
jbox has joined #nixos
ransom has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @freezeboy opened pull request #102967 → pkgsStatic.brotli: fix patch → https://git.io/JTpl6
<pushqrdx> so one other confusion point in nixos is the `programs` part, is this related
<pushqrdx> https://nixos.wiki/wiki/Sway that is using programs in what appears to be
<pushqrdx> to nixos or is it home-manager specific, this is the link
<pushqrdx> configuration.nix
<{^_^}> [nix-idea] @pSub pushed to pSub-patch-1 « Fix error that occurs during buildSearchableOptions »: https://git.io/JTplj
<{^_^}> [nix-idea] @pSub opened pull request #17 → Fix error that occurs during buildSearchableOptions → https://git.io/JTp8e
<expelledboy> I think `home-manager` just uses the paradigm already present in nixos
cosimone has quit [Ping timeout: 244 seconds]
<pushqrdx> 1- what is the difference between userPackages, systemPackages, and programs
<pushqrdx> then i can't find useful information on
<pushqrdx> 2- where are those programs defined, or how do i discover the existing ones
<{^_^}> [nixpkgs] @dywedir opened pull request #102968 → anu: init at 1.0.0-alpha → https://git.io/JTp8t
<pushqrdx> only remaining question is #1 then
<pushqrdx> also writing longer IRC messages in vim is a game change xD
<expelledboy> :P
<expelledboy> I think userPackages is either for the multiuser setup, or home-manage specific... certainly everything set in `environment.systemPackages` is global to my system
<expelledboy> so just have the basics installed to fix mac bash zsh telnet python etc
<{^_^}> [nixpkgs] @roberth merged pull request #100582 → gitAndTools.git-chglog: init at 0.9.1 → https://git.io/JT30s
<{^_^}> [nixpkgs] @roberth pushed 3 commits to master: https://git.io/JTp8R
<pushqrdx> what about programs.* entries will it be visible system wide or user specific, i feel like it's synonymous to either user packages or system packages it's just not clear
<expelledboy> ya no idea
shibboleth has joined #nixos
<expelledboy> I am actually trying to write a introspection function for programs config settings, got pretty close https://pastebin.com/sU2q9JFs
<{^_^}> [nixpkgs] @markuskowa merged pull request #102588 → limesuite: 20.07.2 -> 20.10.0 → https://git.io/JTFZr
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JTp8D
<{^_^}> [nixpkgs] @mweinelt merged pull request #102951 → prometheus: 2.20.1 -> 2.22.1 → https://git.io/JTpIk
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JTp87
<{^_^}> [nixpkgs] @glittershark opened pull request #102970 → argocd: 1.4.2 -> 1.7.8 → https://git.io/JTp4e
explledboy has joined #nixos
<explledboy> okay I am in!
at_mart has left #nixos ["WeeChat 2.7.1"]
<pushqrdx> expelledboy xD i really like it so far, it's minimal and quite to the point, note if you can't scroll make sure to hold shift and you'll be able to scroll chat with mouse wheel
<pushqrdx> otherwise it scroll to previous sent messages
<explledboy> its uses the standard ctrl-u ctrl-d ;)
<explledboy> I like it
<pushqrdx> yeah i use both :D
meatcar has quit [Quit: bye bye.]
<pushqrdx> scroll and ctrl+D/U idk why
meatcar has joined #nixos
<neothefox> I'm trying to build a custom kernel but I keep getting Error: modDirVersion 5.10.0-rc2 specified in the Nix expression is wrong, it should be: 5.9.3, even though I've overriding it
expelledboy has quit [Remote host closed the connection]
<{^_^}> [nix-idea] @JojOatXGME opened pull request #18 → Use --stacktrace option for Gradle → https://git.io/JTp4h
Fare has joined #nixos
charukiewicz has joined #nixos
<charukiewicz> Is there a good way to clean ~/.cache/nix (particularly ~/.cache/nix/gitv2)? It gets left behind when I nix-college-garbage and often contains 10GB+ of data
jbox has quit [Ping timeout: 272 seconds]
philr has joined #nixos
CyberManifest has joined #nixos
camsbury has quit [Ping timeout: 264 seconds]
seku has joined #nixos
CyberManifest has quit [Remote host closed the connection]
CyberManifest has joined #nixos
justanotheruser has joined #nixos
addcninblue has quit [Ping timeout: 260 seconds]
dbmikus__ has joined #nixos
dbmikus_ has quit [Read error: Connection reset by peer]
addcninblue has joined #nixos
erasmas has quit [Ping timeout: 244 seconds]
Hm7000 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.9.5 -> 5.9.6 »: https://git.io/JTpRy
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-20.09 « linux: 5.9.5 -> 5.9.6 »: https://git.io/JTpRQ
fendor has joined #nixos
rojiro has joined #nixos
<Latrina> Good evening. I am new to NixOS and I have a newbie question. Is there a sort of list that contains every configuration.nix variables?
<Hm7000> you mean options?
<colemickens> I actually don't know how to get the new options page to just list every option.
<Latrina> I guess options, yes.
<colemickens> but you can search, which might be better anyway
<Latrina> For instance, I would like to automate the install, thus I will like it to handle account creations and creation of a tap interface
<Hm7000> sometimes theres more info available here https://nixos.org/manual/nixos/stable/options.html
<Latrina> cool thanks guys
<rojiro> is the nixos build process fully reproducible? i know reproducibility is a big goal of NixOS, but wasn't sure if the OS builds themselves were reproducible.
rnea has joined #nixos
mariom97 has joined #nixos
<colemickens> rojiro: not bit for bit, but the same as any other Nix package.
eoli3n has quit [Ping timeout: 264 seconds]
<colemickens> rojiro: if you were to clone my repo and build my system, you'd get this exact same store path:
<colemickens> ❯ readlink -f /run/current-system/
<colemickens> /nix/store/1ci5jrvp2z4gkw7bh7amgw21gc0n484h-nixos-system-slynux-21.03.20201105.28636b1
wnklmnn has quit [Quit: Leaving]
<rojiro> what is the significance of a store path? Sorry for being very new to nix
CyberManifest has quit [Quit: Leaving...]
Fare has quit [Ping timeout: 264 seconds]
<colemickens> rojiro: every Nix build product is a store path
<danderson> rojiro: NixOS is more reproducible than many OSes, although not 100%. See https://r13y.com/
<rojiro> so essentially i can get your same enviornement + dependencies, etc. with that path?
<colemickens> rojiro: yes
<rojiro> danderson: thank you
<rojiro> colemickens: awesome.
<colemickens> rojiro: np and welcome!
<rojiro> danderson: given that this site exists it sounds like there are people that are eager to get to full reprodicibility?
<danderson> yup
<jbal[m]> so it's mostly Python blocking full reproducability?
BlessJah_ has joined #nixos
<Akira[m]> on the bottom you have the linux beast... :)
<colemickens> (that page is just tracking the packages in the installer iso, if I recall correctly)
BlessJah has quit [Ping timeout: 272 seconds]
<jbal[m]> I mean. Reproducibility is a big deal in the industry, especially in open source (you can prove that if a vendor gives you a binary blob and it's source code, that the source code actually produces the blob) and in security (a compromised compiler, for example, cannot inject anything into it's output without breaking reproducibility)
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
<DigitalKiwi> unless you're compiler has always been compromised
jbox has joined #nixos
<jbal[m]> True.
<DigitalKiwi> or the compromise happens at a version change because it could optimise it differently so even if it wasn't compromised the machine code could change
<simpson> And the nature of the compromise extends through increasingly foreign self-compilations.
<DigitalKiwi> the cpu all have backdoors anyway though so :shrug: lol :(
<quidnunc> I'm trying to run "sudo nix-channel --update" after installing nix on OSX Big Sur but I'm getting "SSL peer certificate or SSH remote key was not okay". My cert file environment variable seems to be set correctly. What am I doing wrong?
<jbal[m]> Is your clock set correctly?
<quidnunc> jbal[m]: Maybe not. How do I know?
<quidnunc> jbal[m]: I mean it looks fine
<jbal[m]> Make sure the time matches the time on a known-good device (eg. a cell phone)
<jbal[m]> And that you have the correct time zone set.
<quidnunc> jbal[m]: Looks fine though it's in another timezone, that shouldn't matter
<quidnunc> (?)
<jbal[m]> It might. Though if Google et all work on the computer it's not a time issue
<{^_^}> [nixpkgs] @zowoq opened pull request #102971 → go_1_15: 1.15.3 -> 1.15.4, go_1_14: 1.14.10 -> 1.14.11 → https://git.io/JTpue
magnetophon has quit [Remote host closed the connection]
magnetophon has joined #nixos
vidbina has joined #nixos
<jbal[m]> I'm just throwing that out there, because it always comes up whenever I take a computer out of storage. Time has to be close enough to correct, or anything that relies on SSL/TLS breaks.
<quidnunc> jbal[m]: Yeah other SSL works fine
<quidnunc> The error comes is mentioned multiple times in bug reports but it seems to be a different problem each time
Fare has joined #nixos
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
<quidnunc> Ah, I was running sudo so I guess it couldn't find the environment variable for the cert file
camsbury has joined #nixos
<quidnunc> Works if I do sudo -E
<{^_^}> [nixpkgs] @markuskowa merged pull request #100777 → singularity: 3.6.3 -> 3.6.4 → https://git.io/JTnu7
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JTpuE
domogled has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #100895 → [20.03] singularity: 3.6.1 -> 3.6.4 → https://git.io/JTCP2
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to release-20.03: https://git.io/JTpuV
<{^_^}> [nixpkgs] @roberth merged pull request #99721 → ardour: 6.2 -> 6.3 → https://git.io/JUNpg
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JTpuo
vidbina has quit [Quit: vidbina]
simukis_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
simukis_ has joined #nixos
Dotz0cat has joined #nixos
codygman has joined #nixos
domogled has joined #nixos
jbox has quit [Read error: Connection reset by peer]
jbox has joined #nixos
mariom97 has quit [Ping timeout: 245 seconds]
lsix has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
cjpbirkbeck has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
Dotz0cat has quit [Ping timeout: 272 seconds]
leotaku has quit [Ping timeout: 258 seconds]
<drakonis> a cool ol' question for y'alls, how would one best handle theming in a container
o1lo01ol1o has quit [Remote host closed the connection]
Dotz0cat has joined #nixos
thelounge812 has quit [Ping timeout: 256 seconds]
leotaku has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed 23 commits to python-unstable: https://git.io/JTpgT
fendor has quit [Remote host closed the connection]
lsix has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @roberth merged pull request #100663 → rufo (Ruby formatter): init at 0.12.0 → https://git.io/JTsbU
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JTpgs
<jbal[m]> but really, depends what kind of container
magnetophon has quit [Ping timeout: 240 seconds]
<rojiro> gchristensen: Thanks for sharing that breakdown. Ultimately, I think, what reproducible builds does is create an environment of openeness. Many projects are currently built by a relatively small number of people expanding the scope of people that are able to vouch for a given build is valuable.
<gchristensen> rojiro: yeah, to make my position totally clear: I run r13y.com
<jbal[m]> I think it's mostly helpful for developers looking to make sure their own builds are sane
<{^_^}> [nixpkgs] @roberth merged pull request #100332 → wolfssl: 4.4.0 -> 4.5.0 [backport to 20.03] → https://git.io/JTIS3
<{^_^}> [nixpkgs] @roberth pushed 2 commits to release-20.03: https://git.io/JTpgE
<rojiro> jbal[m]: yes, that is great benefit. :)
<drakonis> hmm nevermind that, i just set up the theme inside the container
<simpson> Also, like, speaking as a compiler author, nobody *wants* their compiler output to be non-reproducible.
<drakonis> seems to work
<rojiro> gchristensen: ahh. nice. thanks.
kreyren_ has quit [Ping timeout: 240 seconds]
magnetophon has joined #nixos
jbox has quit [Read error: Connection reset by peer]
jbox has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @roberth merged pull request #100496 → charm: 0.8.3 -> 0.8.4 → https://git.io/JTYcR
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JTpgP
<pinpox> can someone help me with overlays? I'm trying this in my home.nix config (example from the docs) but get an error on line 17 https://gist.github.com/pinpox/728f9c69774f16aefec80f274025c2cb
<pinpox> unxpected ";"
<pinpox> but I don't see the error
<tpw_rules> pinpox: i think you need to close the parentheses opened at (oa: before the semicolon
<tpw_rules> line 17 should be });
<pinpox> tpw_rules: nice! Thank you!
<pinpox> That works. The example is wrong then