worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<yutyo[m]> In Mercode, we were working on a NixOS based distro.
<yutyo[m]> A guy suggested it and maintained the thing.
<yutyo[m]> I kept helping about making apps and themes etc.
justanotheruser has quit [Ping timeout: 260 seconds]
<yutyo[m]> But was using it at the same time.
<anderson_> yutyo[m]: what do you think of tell your story on Discourse?
<yutyo[m]> OK.
drakonis has joined #nixos
<anderson_> Open a thread here, and we can help way better than here.
<multun> I really think there's a lot to learn from these experiences
tilcreator has quit [Quit: ZNC 1.7.5 - https://znc.in]
<anderson_> multun: yes, I think it can be a really good use case after all.
drakonis2 has joined #nixos
pamplemousse has quit [Ping timeout: 260 seconds]
<adyatlov> How about this folks export NIX_REDIRECTS='/nix/store/...-crossover-19.0.0/crossover/bin/wineloader=/nix/store/...-crossover-19.0.0/crossover/bin/.wineloader-wrapped'
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88637 → pentobi: 17.3 -> 18.0 → https://git.io/Jf2h4
<anderson_> yutyo[m]: if you need the link: https://discourse.nixos.org/
morgrimm has quit [Ping timeout: 265 seconds]
yutyo[m] was banned on #nixos by gchristensen [*!*@gateway/shell/matrix.org/x-ohrtxmmmcogrggle]
sigmundv has quit [Ping timeout: 272 seconds]
drakonis_ has quit [Ping timeout: 256 seconds]
yutyo[m] has left #nixos [requested by gchristensen (yutyo[m])]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/Jf2hE
qyliss has joined #nixos
<multun> damn
drakonis has quit [Ping timeout: 244 seconds]
growpotkin has joined #nixos
<energizer> interesting multun
<{^_^}> mercode-org/meros-nix#60 (by Yutyo, 23 hours ago, open): The Problematic of Public Branding
tilcreator has joined #nixos
<energizer> there's a discourse thread somewhere that gave me the impression nixos doesnt really want to be easy to install lest the number of beginner-users grow too much for experts to handle
<multun> I can understand that
<adyatlov> multun: What is that about
<colemickens> Hm. I don't recall reading that out of the thread
<colemickens> That sounds kinda gate-keepy?
<quinn> i was thinking the same thing while reading that whole interaction. the more popular & inviting nixos gets, the more dissappointed users it will create
<multun> colemickens: I think nixos is a super hard distro
<colemickens> Is it a desire for it to be that way, or concern that it is that way?
<multun> colemickens: making it more easy ot install is a bit of a trap
<colemickens> aha, ok, thanks for the nuance, I think I get the point
<quinn> colemickens: i mean if the distro is way easier to install than doing anything else users expect to be able to do, you set them up for a lot of confusion and frustration once they get past the first step. it'd be like having the tutorial level super easy, level 1 really hard
<colemickens> ack
<qyliss> You only get one chance to make a first impression
<multun> ^
<adyatlov> Back in 2004 installing Mandrake didn't teach me anything about Linux. The Gentoo installation manual did
<energizer> yeah yall are phrasing it more preceisely than i remembered
<quinn> multun: have you looked through any of the mercode stuff yet? i'm trying to figure out what it was actually supposed to be, and it's hard with their website down
<MichaelRaskin> quinn++
<{^_^}> quinn's karma got increased to 4
<samueldr> a linux distro, if vaguely unspecific
<gchristensen> the hard thing about growing is sharing and communicating the culture and ideas
<adisbladis> Mer means more in Swedish, and code is self explanatory. So I interpretet it as MoreCode
<gchristensen> for example, a common thing for new people is "can't you please just add libc at a normal place?" completely missing the point
<energizer> adisbladis: well that clears that up :D
<adisbladis> This is obviously wrong but I'm sticking to it :)
<MichaelRaskin> colemickens: I think it is not gatekeeping, but basically if our install procedure is hard then it is likely the user doesn't feel the problems NixOS solves
<samueldr> (and annoyingly, naming stepping on toes of maemo mer, mer project, another linux distro thingy, broadly said)
<adyatlov> gchristensen: It's like "why can't I assign variables" in a functional language. One has to accept the paradigm
<gustavderdrache> "Mercode is a free libre open source community which gathers coders, hackers, activists, makers and designers worldwide. Also it is the Turkish name of planet Mercury, the first planet of the solar system." - https://github.com/mercode-org/mercode-pug/blob/master/about.pug
<gchristensen> adyatlov: right
<MichaelRaskin> I think we have recently tried to understand what in the world this project actually is
<quinn> adisbladis: well if they took 8 months and 1k commits to figure out they didn't like the os, it's reasonable to expect they would have needed a LOT of code to get to a working product.
<MichaelRaskin> Probably in a discussion whether some of their packages is worth trying to package
thc202 has quit [Ping timeout: 244 seconds]
<MichaelRaskin> quinn: it looks like they do not have an actual consensus
rodrigo_ has joined #nixos
<multun> quinn: the guy that doesn't like it wasn't the one doing all the work
<adisbladis> gustavderdrache: That just makes it less clear =)
<quinn> multun: makes sense
chpatrick has joined #nixos
drakonis_ has joined #nixos
<gustavderdrache> i think the answer to the question of "what is this?" is "an ambitious undertaking"
<MichaelRaskin> I guess before trying to find out their spread of opinions on Nix, we should all bring forward _our_ spread of opinions on doc formats
<ashkitten> i agree with people who say nixos is a difficult distro, and i've talked at some length with gchristensen about some of the issues it has but i don't think the installation process is the biggest issue
<gchristensen> <3 gustavderdrache
<{^_^}> gustavderdrache's karma got increased to 6
<quinn> MichaelRaskin: mercode-org/meros-nix/pkgs seems to have a bunch of themes and an idle game written in electron. and deezloader
<multun> gustavderdrache++
<{^_^}> gustavderdrache's karma got increased to 7
<ashkitten> the thing is, install is hard yes but the difficulty goes up from there
drakonis has joined #nixos
<multun> installing nixos is actually pretty easy I think
<adisbladis> gustavderdrache: :D
<multun> I mean it's just a command line install
<{^_^}> [nixpkgs] @lilyball opened pull request #88638 → cocoapods: 1.9.1 -> 1.9.2 → https://git.io/Jf2hd
<colemickens> MichaelRaskin: that was a good laugh, thanks :)
<multun> the nix UI after install is much worse
<ashkitten> installing nixos is one thing, having a working system afterwards is harder
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88639 → openfortivpn: 1.13.3 -> 1.14.0 → https://git.io/Jf2hF
<multun> I really don't like the nix-stuff interfaces
<quinn> yeah, i installed in an hour or two the first time and now it's like under an hour easily.
<MichaelRaskin> colemickens: it's not a pure laugh, though!
<quinn> (those times being generally lower than arch or gentoo, and not much worse than debian)
drakonis2 has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 246 seconds]
<samueldr> everyone experiences it differently due to, non-coincidentally, their experiences!
<gustavderdrache> speaking as someone who installed nixos and gave up (went back to pop os), it's definitely a lot of work to get right
<samueldr> so saying it's easy/hard is unfair, as broadly speaking, it's both
<adisbladis> Coming from Gentoo I was like "whoa, is it this easy?!"
<ashkitten> honestly, it would be really cool to have a graphical nix configuration manager. we've got all these options, all with descriptions of what they do, grouped nicely, and no connection between that and the configuration itself
orivej has joined #nixos
<gustavderdrache> and i've found a much happier balance using nix on my machine while still having imperative stuff because i'm lazy
<adisbladis> But I understand that this is not the perspective everyone is coming from
<multun> gustavderdrache: oh interesting
<infinisil> ashkitten: Problem is that you'd need something like an AST editor to fully represent configs
<infinisil> Because they can be arbitrarily complex
<samueldr> ugh, not that discussion again :/
<MichaelRaskin> My OS is managed with Nix, and I am not using NixOS, and my partition setup is described as a shell script
<qyliss> the subset supported by the graphical editor doesn't have to me though
<qyliss> *have to be
<ashkitten> ^
<samueldr> there can be different levels of support
<{^_^}> [nixpkgs] @marsam merged pull request #88632 → corerad: 0.2.4 -> 0.2.5 → https://git.io/Jf2bs
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/062cd3e87c3 (from 78 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf2jJ
<quinn> infinisil: on the other hand you could have a few checkboxes to support common use cases and leave text install for anything fancy
<MichaelRaskin> Yeah, that seems to be done very right in that latest GUI configuration tool
<qyliss> For Spectrum I'd like to have a graphical configuration editor that generates an XML file or something that is then imported by a human-writeable .nix file
<MichaelRaskin> It edits a module to import
<infinisil> quinn: Yeah that might be the best option
<adisbladis> quinn: This is in line with my thoughts around a UI
<colemickens> hm, "GUI for common stuff + drop to edit Nix for advanced topics" is still better than "GUI for common stuff + tons of random files|syntaxes for advanced topics"
<ashkitten> i think it would be good to allow users to install nixos by checking boxes rather than writing their own configs
<infinisil> qyliss: Why not JSON?
<multun> infinisil: that's the "or something" part I guess
drakonis_ has quit [Ping timeout: 260 seconds]
<qyliss> infinisil: because I think XML would be more suited to the sort of configuration system I'd like to have
drakonis2 has joined #nixos
<MichaelRaskin> infinisil: because the notion of valid XML is kind of defined, and JSON…
<infinisil> I guess it wouldn't matter if it's generated
<qyliss> XML is very good at representing trees and bad at everything else, but what I want is basically trees
<qyliss> For NixOS, XML probably wouldn't be the right choice, but I don't want to have NixOS configurations
<ashkitten> i would've considered myself a pretty good linux sysadmin before i started using nix, but the first install process took me hours because i had to figure out what all these options meant before i could get a working system
<qyliss> The principle could still work though
<infinisil> For Nix at least there's builtins.fromJSON already
<gchristensen> gustavderdrache: we'll get you one day
<qyliss> there's builtins.fromXML too!
<infinisil> Whaaa
<qyliss> I think?
<qyliss> > builtins.fromXML
<{^_^}> attribute 'fromXML' missing, at (string):312:1
<qyliss> > builtins.toXML
<infinisil> Not in my version, I just checked :)
<{^_^}> <PRIMOP>
<qyliss> Oh, just toXML
<qyliss> my mistake
<joepie91> ashkitten: a big risk there is people starting to ask for arbitrarily complex boxes
<qyliss> maybe it'll be JSON after all :)
<adisbladis> toXML is a bit.. Let's say odd..
<joepie91> you need to have your scope very well-defined before attempting something like that, IMO
<infinisil> > builtins.fromTOML
<{^_^}> <PRIMOP>
<infinisil> qyliss: TOML is your other option :P
<joepie91> so that you have a clearly communicable reason to say yes or no to certain requests
<qyliss> TOML trees would be *horrible* :P
<adisbladis> What? Unpossible.
<colemickens> we all know yaml is the answer
<ashkitten> joepie91: i don't see why scope creep is a problem, honestly, if it's hidden behind an "advanced" button
<qyliss> maintainability
<ashkitten> sure, but we can make it maintainable
<qyliss> easier said than done, but maybe!
selfsymmetric-mu has joined #nixos
<adisbladis> JSON with schema maybe?
<ashkitten> this is obviously not a thing that exists yet, anyway
<joepie91> ashkitten: because if you don't have a well-defined scope, you will quickly end up with the same unruly complexity there is in the *non-graphical* interface now, but with checkboxes instead of attributes
drakonis has quit [Ping timeout: 256 seconds]
<ashkitten> and i won't be the one to make it, for many reasons
<infinisil> ashkitten: joepie91: Oh! How about an option set `graphical-configurator.*`, and all options under that set are exposed to the graphical configurator
<joepie91> especially considering that UI design is difficult and not all of the possible NixOS configs may even be representable within a graphical UI
<infinisil> And they could have annotations that they mirror other options
<joepie91> reasonably anyway
<infinisil> And you could restrict option types under that set to be of e.g. booleans only
<MichaelRaskin> Plain strings sound acceptable
<ashkitten> i don't really see an issue with exposing chunks of raw nix code in the ui
<ashkitten> if that's what the user wants
<joepie91> like, if the goal is to have a simplified interface then you need to think carefully about where that simplicity actually is supposed to come from, where the line with the more complex usecases is drawn, and how to have a migration path between the two
<MichaelRaskin> And it feels natural to be able to set the hostname
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88640 → opensmtpd: 6.6.4p1 -> 6.7.0p1 → https://git.io/Jf2js
<infinisil> Oh and with graphical-configurator.*, you can have option set nesting for different configuration tabs/pages
<joepie91> you can't just put the original complexity in a different mold and expect it to be simpler
<MichaelRaskin> ashkitten: weren't you formulating the task as exactly helping the users who are currently busy finding out what they want
<ashkitten> anyway i won't bikeshed more about this thing that hasn't even reached a full idea yet and that i won't be building
<ashkitten> MichaelRaskin: i said behind an "advanced" setting
<ashkitten> there's a good chance people would want to use it after they've installed, too
<ashkitten> and that they'll want more advanced features later
<selfsymmetric-mu> When I have a pull request that's been approved, what happens then? Just wait? Ask a bot to do something?
<joepie91> (the experience I'm drawing from here is mainly that with monolithic kitchensink frameworks and generic CMSes of various kinds, which try to attempt this exact same thing and invariably turn into a mess of incoherent featuresets)
<ashkitten> but again, i'm not going to participate in this bikeshedding session anymore
<adisbladis> selfsymmetric-mu: Which PR?
user_0x58 has quit [Quit: Leaving]
andreoss has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jf2jR
<selfsymmetric-mu> adisbladis: Nothing important, just an extra option to the Dwarf Fortress derivation. https://github.com/NixOS/nixpkgs/pull/87915
<{^_^}> #87915 (by matthew-piziak, 6 days ago, open): add `enableSound` parameter to `dwarf-fortress` derivation
<tobeportable> selfsymmetric-mu, I found about this thread today https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #87915 → add `enableSound` parameter to `dwarf-fortress` derivation → https://git.io/JfRdr
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/Jf2jr
chloekek has quit [Ping timeout: 264 seconds]
<adisbladis> selfsymmetric-mu: ^
justanotheruser has joined #nixos
<adyatlov> It appears that my executable is immune to libredirect.so
<selfsymmetric-mu> tobeportable++
<{^_^}> tobeportable's karma got increased to 1
<quinn> selfsymmetric-mu: dwarf fortress is definitely important.
<selfsymmetric-mu> Thanks quinn. :)
<selfsymmetric-mu> I understand that for unreviewed pull requests the squeaky-wheel-gets-the-grease method may be acceptable for the long-term.
<selfsymmetric-mu> But I don't understand approved-but-not-merged; my question is: what factors prevent approved pull requests from being merged?
morgrimm has joined #nixos
<selfsymmetric-mu> A silly way of asking that question is: if we were to merge all approved pull requests this minute, what would befall nixpkgs?
<adyatlov> OMG the executable that does the open() doesn't do dynamic linking so it is immune to LD_PRELOAD libredirect.so GRRRRR
<selfsymmetric-mu> Thanks for the merge, adisbladis++
<{^_^}> adisbladis's karma got increased to 0b1010011
<adyatlov> That's a large number
<selfsymmetric-mu> Hahahaha, whoever added these cheeky variations to nixbot did great
<infinisil> :D
<adisbladis> selfsymmetric-mu: Anyone can approve a PR, but you need to have commit access to nixpkgs which far fever people have
<multun> selfsymmetric-mu: anybody can approve a PR, it may not be relevant. if the PR triggers a big rebuild, it also shouldn't go directly to master
<infinisil> It's very easy to approve a PR, but by merging it you're pretty much responsible for any breakages it causes, so people won't merge if they're rather sure it won't cause trouble
morgrimm has quit [Ping timeout: 256 seconds]
<infinisil> That last if should be s/if/unless
<infinisil> And since nixpkgs is so big, with thousands of packages and modules, it's very hard to know whether something will cause problems
<infinisil> Or it *can* be very hard for some PRs at least
<{^_^}> [nixpkgs] @cdepillabout merged pull request #88426 → Unmark broken package: dhall-lsp-server → https://git.io/JfzpV
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jfaeq
LevelChart8 has joined #nixos
<LevelChart8> (I know this is technically the wrong room, but I have not had success getting results elsewhere.) I have nixpkgs on OSX and I need to set allowBroken = true to ~/.config/nixpkgs/config.nix but I don’t know where to find this file.
<LevelChart8> Where can I find this?
<multun> what do you think of "maintainers can merge stuff for their own packages" ?
<infinisil> multun: rfcs#50
<{^_^}> https://github.com/NixOS/rfcs/pull/50 (by FRidh, 39 weeks ago, closed): [RFC 0050] Merge bot for maintainers
<multun> LevelChart8: :(
<multun> woops sorry wrong ping
<infinisil> LevelChart8: Just create it
<infinisil> It doesn't exist by default
<{^_^}> [nixpkgs] @CohenCyril opened pull request #88641 → coqPackages.mathcomp-extra: refactor → https://git.io/Jfael
<infinisil> multun: Why :( ?
<LevelChart8> infinisil: where?
<infinisil> LevelChart8: At the path you just mentioned?
<LevelChart8> so it sits in my OS root
<LevelChart8> and not the repo?
<infinisil> multun: The RFC was just closed due to time constraints by the author, it's not rejected or anything, and anybody is free to pick it up again
<infinisil> LevelChart8: Yes, the ~ there means your home directory
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
<multun> infinisil: I was reading through to and starting to get to that conclusion
<selfsymmetric-mu> Thanks for the context around merging adisbladis multun infinisil.
njha has joined #nixos
<selfsymmetric-mu> So review approvals in this case are merely a weak signal. They only show that two people agree with the changes, rather than one.
<multun> yup
<multun> it does help to get things merged
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88642 → pcl: 1.10.1 -> 1.11.0 → https://git.io/Jfaeg
<multun> I sometimes review stuff to help the maintainers with the easy ones
Vikingman has quit [Ping timeout: 245 seconds]
<njha> So I'm trying out NixOS right now, and I want to store a secret (WireGuard Private Key) declaratively. Putting it in /etc/nixos/ seems like a bad idea, but the issue for storing secrets is still open (#24288).
<{^_^}> https://github.com/NixOS/nixpkgs/issues/24288 (by basvandijk, 3 years ago, open): Provide options for storing secrets outside the Nix store
<infinisil> Yeah that's really appreciated for mergers
<njha> How do people manage secrets?
Vikingman has joined #nixos
Henson has quit [Ping timeout: 265 seconds]
morgrimm has joined #nixos
<njha> I can also store it in a file, but that doesn't seem to scale well for multiple machines.
<multun> njha: they just store it anywhere they like, outside of the sture
Cale has quit [Ping timeout: 272 seconds]
Henson has joined #nixos
<anderson_> multun: unfortunately, we deal with it like the proverbial ostrich.
<infinisil> njha: You can use networking.wireguard.interfaces.<name>.generatePrivateKeyFile
<multun> anderson_: what?
drakonis has joined #nixos
<infinisil> njha: This won't make the private key itself declaratively, but at least it will set one up during the initial activation
orivej has quit [Ping timeout: 256 seconds]
<anderson_> multun: we have nothing specifically for it. There are some proposals still open, as njha pointed out.
jluttine has quit [Ping timeout: 258 seconds]
Cale has joined #nixos
<multun> it seems like nixops makes deploying secrets outside of the store easier
<elvishjerricco> multun: It's... fine. I'm not thrilled with it
* emily wonder if let overlayPkgs = overlay (pkgs // overlayPkgs) pkgs; will work correctly
<elvishjerricco> For instance it won't remove obsolete keys
<emily> I could probably get rid of most of the overlays from my nixpkgs by extracting individual packages out that way
drakonis2 has quit [Ping timeout: 260 seconds]
<cole-h> What's the difference between `binaryCaches` and `trustedBinaryCaches`?
morgrimm has quit [Ping timeout: 272 seconds]
<infinisil> multun: I think that nixops option puts secrets still in the local nix store
<njha> is there a reason all of the nix store needs to be world readable
<njha> like what happens if I chmod the secret
<elvishjerricco> infinisil: Hm? deployment.keys doesn't put them in the store
<gchristensen> infinisil: it doesn't
<njha> agh, so I have to learn what nixops is too?
<cole-h> You don't have to
<infinisil> Hm, I definitely remember seeing nixops secret handling code that imported them into the local store, I'll check again
<elvishjerricco> infinisil: That would very much defeat the whole purpose of deployment.keys :P
Vikingman has quit [Ping timeout: 245 seconds]
wildtrees has quit [Quit: Leaving]
<infinisil> Maybe I'm wrong then :)
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
Vikingman has joined #nixos
wnklmnn has quit [Quit: Leaving]
<infinisil> Ahh indeed this was removed about a month ago: https://github.com/NixOS/nixops/commit/705696c784f3612fbfb04a267afe8d20593dd96c
<infinisil> But it was in relation to deployment.storeKeysOnMachine
<infinisil> Which was already emitting a warning
<adisbladis> And will be (is) removed in nixops 2.0
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
<adisbladis> Oh, that was the link :)
<adisbladis> Carry on
<infinisil> Yeah, sorry for almost spreading misinformation
rodrigo_ has quit [Quit: Leaving]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a808fe4fcde (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
Cale has quit [Ping timeout: 260 seconds]
<infinisil> Hmm okay so that makes me think: In my https://github.com/Infinisil/nixus (formerly nixoses), the whole deployment is script built with Nix itself
<infinisil> And with that, it's impossible to support a `secret.text` option for using a string secret
<infinisil> Without putting the secret to the store
jluttine has joined #nixos
fabianhjr has quit [Ping timeout: 260 seconds]
<infinisil> s/to/into
artistsvoid has quit [Ping timeout: 258 seconds]
<njha> is there a log somewhere so I can see why one derivation failed
<infinisil> Nixops on the other hand doesn't have a problem with that, since it can just pass the secret text to the deployment script/binary without going through Nix
<njha> did a nix-build for an arm sbc and it has many thousands of lines of output
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos
<infinisil> njha: Do another build with `--max-jobs 1`. This will limit it to one derivation only, so at least output won't be overlapped
<emily> what's the correct way to get the system identifier for the system to be built in a NixOS config? nixpkgs.crossSystem isn't always set, nixpkgs.system/nixpkgs.initialSystem seem deprecated or underdocumented, are you meant to get it from stdenv?
noudle has quit []
<cole-h> infinisil: You finally changed the name!!! :D
<infinisil> cole-h: Just now :3
<infinisil> emily: Possibly through `pkgs.hostPlatform.system`
<emily> infinisil: how does that relate to pkgs.stdenv.{host,build}Platform.system? :s
<emily> why are there like 5 ways to look at the same thing? ;_;
<infinisil> emily: Most likely the same, and pkgs.host/buildPlatform just mirrors the ones from stdenv
<infinisil> > pkgsCross.raspberryPi.stdenv.buildPlatform.system
<{^_^}> "x86_64-linux"
<infinisil> > pkgsCross.raspberryPi.stdenv.hostPlatform.system
<{^_^}> "armv6l-linux"
<infinisil> > pkgsCross.raspberryPi.buildPlatform.system
<{^_^}> "x86_64-linux"
<infinisil> > pkgsCross.raspberryPi.hostPlatform.system
<{^_^}> "armv6l-linux"
<emily> mmhhh, are you really meant to write inputs.foo.${pkgs.stdenv.hostPlatform.system}.packages.foo whenever you want to use a flake?
<emily> it feels like everything about flakes is only convenient if you pervasively use overlays and then things are weird instead...
Cale has joined #nixos
<infinisil> I think one of those must be better than using pkgs
<emily> infinisil: but crossSystem is the one you want and it's unset most of the time
<emily> why, I have no idea (I wish everything was cross all the time)
<emily> like... (if pkgs.crossSystem != null then pkgs.crossSystem else pkgs.localSystem).system? :/
<emily> er, s/pkgs/config.nixpkgs/
<emily> what a mess
<infinisil> I feel like this should be exposed as a (read-only) option
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88644 → pantalaimon: 0.5.1 -> 0.6.1 → https://git.io/Jfavr
<infinisil> Yeah that looks rather messy
aveltras has quit [Quit: Connection closed for inactivity]
<ldlework> infinisil: have you used Styx?
<infinisil> Nope, only heard of it
<anderson_> The last word from the original maintainer are from 2018.
<adisbladis> I'll take care of moving it to nix-community tomorrow and give you both commit bit
<adisbladis> Now I'm going to sleep
tobeportable has quit [Ping timeout: 272 seconds]
<ldlework> adisbladis: good night
philr_ has joined #nixos
morgrimm has joined #nixos
<njha> I know this might not be immediately relevant to this channel, but can someone peek at this error log https://github.com/wav/nix-odroid-n2/issues/2
<{^_^}> wav/nix-odroid-n2#2 (by nikhiljha, 5 minutes ago, open): can't exec "tobin" (build failure)
<njha> it apparently builds for other people so I might be doing something obviously wrong
anderson_ has quit [Ping timeout: 260 seconds]
<infinisil> njha: The project doesn't have a pinned nixpkgs, so there's really no guarantees what might happen for different people (which all could have different nixpkgs')
<infinisil> "Builds on the nix release-20.03 branch." is in the readme I guess
<njha> hmm I should be on 20.03
<njha> can I force the build to run in qemu or something
<njha> (to maybe solve the exec format error)
morgrimm has quit [Ping timeout: 240 seconds]
user_0x58 has joined #nixos
<infinisil> Wouldn't know how, if at all possible
<ldlework> infinisil: I think you would dig it.
<infinisil> njha: Ah this is your repo, didn't even notice :P
<infinisil> ldlework: Hmm not sure! I do like Nix for my builds, but it's really not the nicest language in general imo
<infinisil> I haven't given it a try though, so maybe I'll like it after all :)
<infinisil> njha: If you got it building at a previous nixpkgs version, just try to find that again, then you can bisect
jluttine has quit [Ping timeout: 265 seconds]
<njha> 👍 thanks
marusich has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @wchresta opened pull request #88645 → idris2: init at version 0.2.0-840e020 → https://git.io/Jfafq
anderson_ has joined #nixos
jluttine has joined #nixos
marusich has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
<adyatlov> Well people! I've got Crossover 19.0.0 working
<{^_^}> [mobile-nixos] @samueldr opened pull request #149 → boot/gui: Use libffi rather than bespoke bindings → https://git.io/JfafB
ddellacosta has quit [Quit: WeeChat 2.2]
h0m1 has joined #nixos
ddellacosta has joined #nixos
<adyatlov> Everyone is asleep.
meh` has quit [Ping timeout: 264 seconds]
<ldlework> adyatlov: what's that
<adyatlov> A souped up version of Wine https://www.codeweavers.com/
<MichaelRaskin> The office-souped up one, not to mix up with the later games-souped up one called Proton
<njha> proton, also made by codeweavers but funded by valve
<ldlework> ah yeah the steam-managed proton worked for me outta the box
<energizer> i want a data structure representing all the nixos options types. does that exist in any other format than nixlang?
<energizer> like has somebody written a nix-to-jsonschema or something
<{^_^}> [nixpkgs] @7c6f434c merged pull request #88524 → glusterfs: 7.5 -> 7.6 → https://git.io/JfgjS
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JfafH
shafox has joined #nixos
<energizer> oh found it
<ldlework> anderson_: looks like someone was working on org support for styx
<ldlework> energizer: ?
sarcasticadmin has quit [Ping timeout: 256 seconds]
<ldlework> energizer: what're you gonna do with it
<anderson_> ldlework: good!
<ldlework> anderson_: I'm compiling a list of all the commits out there on the various forks
<energizer> idk yet
<ldlework> so we can review them and decide which ones to take
<ldlework> energizer: there's already a site that will let you search em right
<energizer> ya
<ldlework> energizer: maybe make a rofi thing
<ldlework> lol
morgrimm has joined #nixos
<anderson_> Well, about Org Mode, we have a serious problem: org is emacs-only. There are no good org parsers except emacs itself.
<ldlework> energizer: wanna join the Styx team? :)
<ldlework> anderson_: lol you realize we're talking about Nix right
<ldlework> anderson_: looks like the person is indeed using emacs with some support list to get the job done
<ldlework> support lisp
<bqv> anderson_: that bothers me too
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
das_j has quit [Quit: killed]
mrpi has quit [Quit: killed]
<bqv> But theres an android app, orgzly
<energizer> <3 orgzly
<energizer> ldlework: not atm, thanks
<ldlework> i'm gonna need help evaluating these other people's commits
Scriptkiddi has joined #nixos
das_j has joined #nixos
ajs124 has joined #nixos
mrpi has joined #nixos
proofofkeags has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
adyatlov has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #88586 → freeipmi: 1.6.4 -> 1.6.5 → https://git.io/Jf2Ri
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JfaJg
<anderson_> ldlework: as far as I understand, org is supported officialy only inside emacs. There are other implementations, but none of them have the same status...
<anderson_> But there was a guy trying to port it to styx
<ldlework> anderson_: huh?
<ldlework> no, the guy is using emacs to parse org files
<ldlework> it's a nix-based build system
<anderson_> ldlework: oh, well... that's fine to me :)
<ldlework> pulling in emacs, and running a bit of lisp is no problem for nix :)
<anderson_> It can even be done in parallel, as some form of "emacs styx mode"!
<anderson_> s/parallel/tandem/
<quinn> a kernelPatch i'm adding right now requires a change to modDirVersion, is there a nice way to change that in the patch attrset?
<quinn> ldlework: nix *can* do it, but basic org syntax is actually quite simple, it would probably be almost as easy to write a basic parser that discards the complicated stuff (most of which is probably not useful for styx) than get emacs to reliably do what you expect it to do, quickly.
<ldlework> quinn: not sure what you mean by nix can do it, emacs is doing it, nix is just making it easy to use emacs as a tool
<quinn> ldlework: i mean that having used emacs as a text editor, i would not trust it as an elisp runtime.
<ldlework> uh ok
o1lo01ol1o has joined #nixos
eyenx has quit [Quit: bye]
eyenx has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
LevelChart8 has quit [Quit: LevelChart8]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
<emily> the claim "it would be easier to reimplement org-mode in Nix than to get the existing org-mode implementation to work" seems... strong...?
<emily> org-mode is pretty big
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<emily> I wouldn't want to do even basic lightweight markup parsing in Nix frankly
<emily> elisp might not be a great language but it's better for that than Nix
<ldlework> the brilliant thing about using nix for your site generator
<ldlework> is that you can bring in literally *any tool* to get whatever job you need done
<ldlework> lol
<bqv> Yeah… I'm on the use emacs side
<ldlework> i think the org-mode work needs more work though, i don't think we should merge it tomorrow
<ldlework> we should get it into a branch and someone will need to clean it up (imo)
<ldlework> it's a good start though
felixfoertsch23 has joined #nixos
jybs_ has quit [Remote host closed the connection]
felixfoertsch has quit [Ping timeout: 272 seconds]
felixfoertsch23 is now known as felixfoertsch
<{^_^}> [nixpkgs] @nh2 merged pull request #88642 → pcl: 1.10.1 -> 1.11.0 → https://git.io/Jfaeg
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JfaUC
drakonis has quit [Ping timeout: 272 seconds]
<quinn> emily: oh i wouldn't want to implement it in nix. combinatorial parsing in haskell though? pretty easy, and org-mode syntax is pretty simple.
<anderson_> quinn: but Emacs is an Elisp runtime system! The "editing" is just the interface :)
cole-h has quit [Quit: Goodbye]
<emily> bqv: did you ever figure out how to get declarative containers working with flake stuff?
LevelChart8 has joined #nixos
<quinn> anderson_: very true! unfortunately that elisp runtime system has crashed, frozen, and broke on me many times :(
<{^_^}> [nixpkgs] @andersk opened pull request #88646 → linux: CONFIG_MOUSE_ELAN_I2C_SMBUS=y → https://git.io/JfaUE
<anderson_> quinn: maybe the guys on remacs aren't doing a better work for the foreseeable future?
<anderson_> But truth to be said, Emacs is very clunky. A monster of this time.
<quinn> i haven't used remacs, would you recommend it? (btw i'm not trying to start an editor war, i think emacs is great as an editor. just wary of it as a runtime)
cole-h has joined #nixos
<anderson_> quinn: NO
<anderson_> It is in a very alpha stage today.
avn has quit [Ping timeout: 272 seconds]
<quinn> it's definitely very clunky, but i'm only frustrated about it being clunky because it's so amazing and if it performed like neovim i would be so so so happy to use it again.
<anderson_> quinn: remacs is Emacs (re)written in rust.
<quinn> i've heard of it, but i had the same understanding as you: that it's pre 1.0, which is all i need to know to not want to use it yet.
<{^_^}> [nixpkgs] @nh2 merged pull request #88595 → moodle: 3.8.2 -> 3.8.3 → https://git.io/Jf2ES
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JfaUg
<anderson_> Guys, do you know someone called "akavael"?
<{^_^}> [nixpkgs] @marsam merged pull request #88638 → cocoapods: 1.9.1 -> 1.9.2 → https://git.io/Jf2hd
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfaUV
<{^_^}> [nixpkgs] @nh2 merged pull request #88529 → goffice: 0.10.46 -> 0.10.47 → https://git.io/Jf2Jo
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JfaUo
<{^_^}> [nixpkgs] @nh2 merged pull request #88508 → fetchmail: 6.4.4 -> 6.4.5 → https://git.io/JfgSD
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JfaUP
morgrimm has quit [Quit: leaving]
drakonis has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<ldlework> What's the thing that will tell you the tree of thing that causes a thing to not be garbage collected?
<clever> ldlework: nix-store --query --roots and nix why-depends
<ldlework> clever: i get a thing like
<ldlework> /nix/var/nix/profiles/per-user/ldlework/profile-905-link -> /nix/store/x125by555852cn8w30grlf32468bfyaq-user-environment
<ldlework> why are previous profiles sticking around even after gc?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88647 → opencc: 1.0.6 -> 1.1.0 → https://git.io/JfaTl
rogue_koder_ has quit [Ping timeout: 258 seconds]
<ldlework> Nevermind.
<ldlework> If I have a local clone of Styx, and the template it generates says the following: https://gist.github.com/dustinlacewell/24cbf57ad488d2f5daabd26b21644ebd
<ldlework> How do I do what it says and override the version of styx to be the one in a nearby local directory?
<ldlework> it's packageOverrides isn't it
<ldlework> hmm maybe not
mauli has quit [Ping timeout: 260 seconds]
<superbaloo> would anyone have an example of a repo on github using github actions with nix and nixpkgs available?
<cole-h> What are you looking for?
<superbaloo> I built this https://github.com/baloo/laurn/
<superbaloo> and basically it runs nix-instanciate and nix-query
<superbaloo> and relies on nixpkgs being around
<cole-h> Might be interested in this: https://github.com/cachix/install-nix-action
<superbaloo> I'd like to run a CI (ideally on github-actions because I'm lazy)
<colemickens> I really like the sound of laurn! Read about it the other day in a nixos discourse post I think
<superbaloo> hoo :)
<superbaloo> would really like the link of that :)
<superbaloo> I'm very much curious about what people think of it
mauli has joined #nixos
<cole-h> But with cachix/install-nix-action, you get a full nix install, basically.
<superbaloo> cole-h: I might steal some of that from you :)
<colemickens> Oops. I think graham tweeted about it and posted a link to the toot here and I saw it.
<colemickens> anyway, it's closer to what I hoped/expected for nix-shell :)
<superbaloo> well, laurn has some more limitation than nix-shell
<cole-h> superbaloo: Feel free :^) I like the idea of laurn as well, but haven't had a chance to check it out (mostly because I'm still building my NixOS system hehe)
<superbaloo> cole-h: I should probably throw that in nixpkgs at some point in the future for people to experiment more easily
<superbaloo> but there is still some more things I'd like to implement before
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88649 → poedit: 2.3 -> 2.3.1 → https://git.io/JfaTa
<cole-h> I feel that.
<superbaloo> like I implemented something like direnv (hooks into bash and launch laurn when you enter a dir)
<superbaloo> but I haven't implemented a whitelist yet
<cole-h> But also keep in mind it'll probably be growing for a while. At some point, you gotta know when to say "yeah, this is OK for now" and cut a release or something ;^)
<superbaloo> which might be useful :D
<superbaloo> cole-h: yeah that's for sure, I'm just trying to remove some of the sharp edges before
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
rogue_koder_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88650 → plantuml: 1.2020.8 -> 1.2020.10 → https://git.io/JfaTr
waleee-cl has quit [Quit: Connection closed for inactivity]
rogue_koder_ has quit [Ping timeout: 260 seconds]
rogue_koder_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88651 → profile-sync-daemon: 6.38 -> 6.40 → https://git.io/JfaT9
chpatrick has quit [Quit: Connection closed for inactivity]
pamplemousse has joined #nixos
<hyper_ch> nixos-unstable isn't building anymore :(
pamplemousse has quit [Ping timeout: 246 seconds]
proofofkeags has quit [Remote host closed the connection]
<quinn> so i'm trying to write an overlay that provides a patched linux kernel, and i get a bunch of failed assertions (CONFIG_DEVTMPFS, CGROUPS, et cetera) when i try to apply it. https://hastebin.com/uxokubodiy.http (i have looked at linux/kernel/generic.nix, but i don't really see what i'm doing wrong)
<colemickens> Is there a --keep-failed but for success? I want to see what else was in the tree aftre I built. My chromium is missing its desktop file.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88652 → plata-theme: 0.9.7 -> 0.9.8 → https://git.io/Jfakv
<quinn> colemickens: if you're making it with nix-build, it should be in ./result
armin has quit [Remote host closed the connection]
<colemickens> hm, I thought that was just $(out) ?
<quinn> oh, i think that is just $out.
<quinn> honestly, i would probably add something to the last phase that is a guaranteed error
proofofkeags has joined #nixos
<colemickens> heh, I'll just take a stab at where the desktop file is, I'll surely be wrong and we'll get a failure, iterate from there. good thing chromium builds fast :P
<quinn> if you added it to current-system, it should be under /run/current-system/sw/share/applications
proofofkeags has quit [Ping timeout: 265 seconds]
<colemickens> no I'm literally building chromium
<colemickens> and need to copy it from the build output to $(out) in the derivation
lopsided98 has quit [Remote host closed the connection]
<quinn> colemickens: honestly, i would add `find` to the buildInputs, then run find at the final phase and copy the output into ${out}.
<colemickens> oooh :) I like that
<emily> colemickens: chromium-git is documented as missing the desktop file in the PR fwiw
<emily> (I was just looking at nixpkgs-chromium earlier)
<colemickens> by me ? :P
<emily> by volth
<colemickens> I mean, I'm pretty sure its in the build output
jasongro` has joined #nixos
<colemickens> volth's definition lacks the bits from the chromium derivation that copies the desktop file. I'm assuming it's in there, I just need to copy it.
<colemickens> I could be wrong of course.
lopsided98 has joined #nixos
<emily> right
<colemickens> although, now that you say that, I remember the comment mentioned Selenium and I did notice when using it that Google acted weird about the UA...
* colemickens mutters about it being a matter of some gn flag somewhere
<{^_^}> [nixpkgs] @marsam merged pull request #88602 → chromedriver: 81.0.4044.69 -> 83.0.4103.39 → https://git.io/Jf2wI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfakO
<{^_^}> [nixpkgs] @marsam merged pull request #88634 → openldap: fix build on darwin → https://git.io/Jf2AY
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfak3
ddellacosta has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88532 → flyway: 6.4.1 -> 6.4.2 → https://git.io/Jf2JN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfakG
<eadwu[m]> quinn: Override the erroring options in `extraConfig` and that should work. You probably disabled something the default config set as `kernel.yes` but the option doesn't exist anymore because you changed the option it depended on.
<{^_^}> [nixpkgs] @marsam merged pull request #88588 → mopidy-iris: 3.47.0 -> 3.49.0 → https://git.io/Jf20J
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfakZ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88653 → proverif: 2.00 -> 2.01 → https://git.io/Jfakn
<quinn> eadwu[m]: i will register that i can do that, but it looks like common-config is just not getting pulled in at all, and i'd like to figure out why (rather than just monkey-patching the problem with my module), because i get this error even if i don't provide a structuredExtraConfig argument.
sarcasticadmin has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<eadwu[m]> The default kernel?
<quinn> eadwu[m]: i mean i'm just running overrideAttrs on linux_5_6, so yes?
<{^_^}> [nixpkgs] @marsam merged pull request #88479 → cfr: 0.149 -> 0.150 → https://git.io/Jfgwx
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfakl
<anderson_> Hello, all! About the error I am getting while trying to compile tdelibs:
<anderson_> - Here is the tree I am using: https://bitbucket.org/anderson_torres/nixpkgs-tde/src/staging/
<anderson_> - And here is the last log file: http://ix.io/2n5c
<eadwu[m]> You're using `PREEMPT` which kills off other settings and creates conflicts with some of the default config
sarcasticadmin has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88509 → python-toolbox: 0.9.4 -> 1.0.10 → https://git.io/Jfg9n
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfak8
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88654 → postgresql11Packages.pgrouting: 2.6.3 -> 3.0.0 → https://git.io/JfakB
<{^_^}> [nixpkgs] @marsam merged pull request #88510 → pysnooper: 0.3.0 -> 0.4.1 → https://git.io/Jfg9W
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfakR
<quinn> eadwu[m]: the error persists even if i comment out everything inside of overrideAttrs. if i have audio_linux_5_6 = unstable.linux_5_6.overrideAttrs (o: {}); and audioPackages = super.recurseIntoAttrs (super.linuxPackagesFor self.audio_linux_5_6);, i will still get the same error
drakonis1 has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @marsam merged pull request #88489 → duo-unix: 1.11.3 -> 1.11.4 → https://git.io/JfgKl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfakV
butcher has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<eadwu[m]> Probably an unexpected fallout from https://github.com/NixOS/nixpkgs/pull/84032 then?
<{^_^}> #84032 (by teto, 7 weeks ago, merged): Fix kernel configuration merge
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88655 → powerstat: 0.02.22 -> 0.02.23 → https://git.io/JfakP
<eadwu[m]> Wait that didn't even hit master yet
<eadwu[m]> Nevermind not sure
est31 has quit [Remote host closed the connection]
user_0x58 has quit [Ping timeout: 260 seconds]
est31 has joined #nixos
<quinn> eadwu[m]: well, it's too early to say, but it looks like switching to .override might have fixed my problem. i omitted my structuredExtraConfig (but the error was showing up without that anyways). i would still really appreciate knowing why this made a difference
drakonis_ has joined #nixos
<ldlework> gchristensen: you around?
<ldlework> hi drakonis
drakonis has quit [Read error: Connection reset by peer]
proofofkeags has joined #nixos
drakonis1 has joined #nixos
<ldlework> hi drakonis1 whichever one you are
palo1 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88490 → dit: 0.6 -> 0.7 → https://git.io/JfgKS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIe
drakonis_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88462 → pspg: 3.0.7 -> 3.1.1 → https://git.io/JfgWt
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIk
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88656 → postman: 7.23.0 -> 7.24.0 → https://git.io/JfaIL
proofofkeags has quit [Ping timeout: 272 seconds]
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
<ldlework> Why doesn't this work?
<ldlework> styxOverlay = [(self: super: {
<ldlework> styx = super.callPackage (import /home/ldlework/ext/styx) { pkgs = super.pkgs; };
<ldlework> })];
<ldlework> When I nix-search for styx, I still see 0.7.1 even though I changed the version in this local version.
<{^_^}> [nixpkgs] @taku0 opened pull request #88657 → thunderbird, thunderbird-bin: 68.8.0 -> 68.8.1 → https://git.io/JfaIm
<emily> bqv: fwiw, text from the flakes RFC implying that overlays are the intended way of doing things: https://github.com/NixOS/rfcs/pull/49/files#diff-a5a138ca225433534de8d260f225fe31R258-R262
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1a40943822a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<colemickens> ldlework: I don't think it should be an overlay? I guess it depends on how you're using it though
<colemickens> s/overlay/array/g
<colemickens> oops, that's not even what you're asking about, never mind
justanotheruser has joined #nixos
<ldlework> colemickens: I'm adding a few of these together
<ldlework> nixpkgs.overlays = stable ++ unstable ++ emacs ++ styxOverlay;
<ldlework> it's from when i was worse at nix, but i'm not focused on cleaning that up right now
<{^_^}> [nixpkgs] @marsam merged pull request #88420 → bsequencer: 1.4.0 -> 1.4.2 → https://git.io/JfzbN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIG
<quinn> ldlework: you should be able to just callPackage to a nix expression, why are you putting an import in there?
<simpson> emily: IOW (and sorry if this has already been covered) a flake is meant to "cut across concerns", and not just be part of a composite ports tree, but a collection of ports tree transformations.
mumuluxi has joined #nixos
<emily> simpson: which is all well and good, but kind of weird when you in practice have to depend on some fixed nixpkgs branch and are expected to also export a bunch of leaf packages via the packages attribute,
<emily> it is just weird that the intended way to use flakes has a lot of friction with the actual design of flakes
<simpson> emily: Sure. I'm suggesting that there will *always* be friction. WP: "These concerns often cannot be cleanly decomposed from the rest of the system in both the design and implementation, and can result in either scattering (code duplication), tangling (significant dependencies between systems), or both." https://en.wikipedia.org/wiki/Cross-cutting_concern
wucke13 has joined #nixos
<ldlework> quinn: OK I removed that, styx = super.callPackage /home/ldlework/ext/styx { };
<emily> (and similarly, it's somewhat awkward to export your system's "nixpkgs + overlays" in a way that's accessible via the CLI, so either you do more hacky fuss, or you have no visibility into/access to your overlayed package set)
<ldlework> quinn: i switched, but still nix search shows 0.7.1 instead of 0.7.2
<ldlework> i wonder what I could be doing wrong
<{^_^}> [nixpkgs] @marsam merged pull request #88363 → clp: 1.17.5 -> 1.17.6 → https://git.io/Jfz7T
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaI8
fabianhjr has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88253 → bmake: 20200402 -> 20200506 → https://git.io/JfzPH
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIB
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88658 → postgresql11Packages.pg_partman: 4.3.1 -> 4.4.0 → https://git.io/JfaI0
<{^_^}> [nixpkgs] @marsam merged pull request #88250 → bindfs: 1.14.5 -> 1.14.7 → https://git.io/JfzK5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIE
<{^_^}> [nixpkgs] @marsam merged pull request #88234 → tmux-xpanes: 4.1.1 -> 4.1.2 → https://git.io/Jfzuk
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIu
<energizer> does nix search pay attention to overlays? idk
<ldlework> does nix-env?
<quinn> ldlework: ""pro"" tip, expose your overlayed package with a different name than the package it is derived from at first.
<quinn> could be nix search isn't pulling the overlay, could be it's not updating, etc
<ldlework> nix-env -iA nixos.styx
<ldlework> installing 'styx-0.7.1'
<ldlework> argh!
<ldlework> hmm
<ldlework> nix-env -iA nixos.myStyx
<ldlework> error: attribute 'myStyx' in selection path 'nixos.myStyx' not found
<energizer> there's also a couple different places where you can define overlays
<energizer> and some of them only work in the config not the cli
<{^_^}> [nixpkgs] @marsam merged pull request #88219 → rshell: 0.0.27 -> 0.0.28 → https://git.io/JfzRI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaI2
<quinn> aha! try double checking that something else in that list of overlays is available, THEN go back to the nix expression
<{^_^}> [nixpkgs] @marsam merged pull request #88227 → snapraid: 11.3 -> 11.4 → https://git.io/Jfz0a
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIa
<ldlework> nixpkgs.overlays = styxOverlay;
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88659 → profile-cleaner: 2.37 -> 2.41 → https://git.io/JfaIV
<ldlework> environment.systemPackages = [ pkgs.myStyx ];
<mac10688> Hi all anyone know where I can find xsessionrc in nixos?
<quinn> energizer: very true.
<ldlework> error: attribute 'myStyx' missing, at /nixcfg/overlays/default.nix:79:34
<{^_^}> [nixpkgs] @marsam merged pull request #88237 → urh: 2.8.7 -> 2.8.8 → https://git.io/JfzzO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIw
* ldlework shakes Nix.
<quinn> mac10688: if you use home-manager (not a pat of nixos, but a related tool), it's under home-manager.users.<you>.xsession, but if you don't use it then i'm not sure.
Negher has quit [Ping timeout: 256 seconds]
<mac10688> oh ok, never heard of home-manager, i'll give it a google
<mac10688> thanks quinn
<quinn> mac10688: FYI, i use wayland so there could be an xsession thing in normal nixos, i'm just not familiar
<quinn> ldlework: want to hastebin the whole thing and i'll take a gander?
<{^_^}> [nixpkgs] @marsam merged pull request #88199 → opendht: 2.0.0 -> 2.1.1 → https://git.io/JfzCm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIr
<mac10688> I'm not that familiar with linux in general. I wonder if it's one of those things, where if I just make the file, it'll get picked up
<energizer> unlikely mac10688
<energizer> mac10688: er wait what are you asking?
<{^_^}> [nixpkgs] @marsam merged pull request #88191 → moosefs: 3.0.112 -> 3.0.113 → https://git.io/Jfzsg
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIK
<mac10688> where is .xsessionrc. I am using xmonad and I want to edit that file to set a background image
<quinn> mac10688: mac10688 services.xserver.windowManager.xmonad.config will allow you to define your own xmonad config.
<ldlework> quinn: adding the overlay to ~/.config/nixpkgs/overlays/ allowed me to nix-shell -p myStyx
<{^_^}> [nixpkgs] @marsam merged pull request #88176 → spirv-cross: 2020-04-03 -> 2020-05-19 → https://git.io/Jfzk6
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIi
<energizer> mac10688: in normal linux it's in ~/
<energizer> in nixos i use home-manager for that stuff
<quinn> ldlework: sounds like your computer is HAUNTED
<{^_^}> [nixpkgs] @marsam merged pull request #88181 → dwm-status: 1.6.4 -> 1.7.0 → https://git.io/JfzYB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaIP
<mac10688> seems like home-manager is for defining a configuration file for the specified user
<mac10688> I kind of don't want to deal with another package right now, I feel overwhelmed already lol
<mac10688> i think another package will complicate things and make me sad and want to go to sleep
<energizer> home-manager adds some extra configuration options that make sense at the user level
zebrag has quit [Quit: Konversation terminated!]
<quinn> mac10688: i don't want to be rude, but it's fair to say that nixos is on the hard end as distros go, if you're just learning linux it might end up being more limiting than helpful
<quinn> i'm not saying you shouldn't do it, just something to be aware of
<energizer> otoh sometimes starting out with the more restrictive tool is easier than having too much freedom
<mac10688> thanks, you are probably right. But I just love the idea of defining a configuration file for my environment too much to stop. I'll just have to deal with it
jasongro` has quit [Remote host closed the connection]
cole-h has quit [Quit: Goodbye]
<quinn> energizer: hmm. perhaps
LevelChart8 has quit [Quit: LevelChart8]
<energizer> ¯\_(ツ)_/¯
<quinn> mac10688: fair enough. i understand the appeal, and share you zeal. that being the case, i would recommend you try editing the xmonad.config option earlier. (though actually IMO xmonad is also on the very hard end of window managers)
cole-h has joined #nixos
<quinn> if you know haskell it's pretty nice, but still challenging even then, and if you don't it can be kind of unpleasant
zebrag has joined #nixos
zebrag has quit [Client Quit]
<mac10688> I got into this whole thing to learn haskell and fp. XMonad is a fun challenge and hobby as of late
<{^_^}> [mobile-nixos] @samueldr opened pull request #151 → initrd: Remove leftover hack from when isContainer was used → https://git.io/JfaId
jasongrossman has joined #nixos
alp has joined #nixos
<quinn> oh well that's great. being a haskell guy myself it was still frustrating, but felt very satisfying and open-ended if buggy. i assume you're familiar with how to configure your background from your xmonad rc?
drakonis1 has quit [Read error: Connection reset by peer]
<mac10688> no
butcher has quit [Ping timeout: 260 seconds]
<mac10688> the xmonad website told me to look for the .xsessionrc file
butcher has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88660 → python27Packages.authlib: 0.14.1 -> 0.14.3 → https://git.io/JfaIj
<energizer> you can probably just create it
<energizer> in ~
<quinn> mac10688: well i thought there was a way to do it in xmonad, but it looks like there isn't. i would just do as energizer said and make a ~/.xsessionrc. you can always manage it with home-manager later if you want.
<mac10688> thanks, trying that now :)
mac10688 has quit [Quit: WeeChat 2.7.1]
Negher has joined #nixos
mac10688 has joined #nixos
cole-h has quit [Ping timeout: 256 seconds]
<calbrecht> is it prefered to clear the __pycache__ on pythonPackages to have a deterministic output or to keep the __pycache__ for faster execution times?
mac10688 has quit [Client Quit]
mac10688 has joined #nixos
<energizer> i think the point of that issue is pip will fix that nondeterminism shortly.
<energizer> anyway the compilation time on normal size python packages is pretty minimal. you can benchmark it if you want
<energizer> i have PYTHONDONTWRITEBYTECODE=1 in my profile personally
mac10688 has quit [Client Quit]
mac10688 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88661 → python27Packages.cftime: 1.1.2 -> 1.1.3 → https://git.io/JfaLt
alexherbo2 has joined #nixos
<energizer> just because i dont like the litter
<calbrecht> thanks energizer. ok so, i don't know the implications for the determinism thingy either. i get it, this is good for cache size on hydra, right? is it low in general or does it not matter so much?
smatting has joined #nixos
<calbrecht> also i noticed in the case of psutils, when i try to mkShell the servo project, the mozilla mach system wants to rebuild psutils anyway...
<energizer> it's probably quite small, but i'd guess the nixpkgs folks value determinism over all else anyway
<calbrecht> ok, so i'll remove the __pycache__ in the virtualenv package, while at it.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88662 → python27Packages.braintree: 4.0.0 -> 4.1.0 → https://git.io/JfaLO
<calbrecht> energizer++
<{^_^}> energizer's karma got increased to 15.000000000000005
<energizer> i guess. i'm not a nixpkgs expert, just speaking from pythonista perspective
<calbrecht> thats already very helpfull.
user_0x58 has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88663 → python27Packages.EasyProcess: 0.2.10 -> 0.3 → https://git.io/JfaLB
agsdheidjd has joined #nixos
pat_h has joined #nixos
marcusr has quit [Read error: Connection reset by peer]
fabianhjr has quit [Quit: Leaving.]
marcusr has joined #nixos
LevelChart8 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88664 → python27Packages.elasticsearch-dsl: 7.1.0 -> 7.2.0 → https://git.io/JfaLo
cmk_zzz has quit [Read error: Connection reset by peer]
cmk_zzz has joined #nixos
mac10688 has quit [Quit: WeeChat 2.7.1]
maxdevjs has quit [Ping timeout: 256 seconds]
mac10688 has joined #nixos
pat_h has quit [Quit: Connection closed]
mac10688 has quit [Quit: WeeChat 2.7.1]
jakobrs has joined #nixos
<jakobrs> Can somebody help explain how nixos chooses video drivers? I
<jakobrs> haven't changed services.xserver.videoDrivers, both amdgpu and radeon are loaded for some reason, and
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88665 → python27Packages.bitarray: 1.2.1 -> 1.2.2 → https://git.io/JfatU
<jakobrs> the system closure contains vesa, libinput, ati, vmware, evdev, and cirrus packages
<jakobrs> There's no amdgpu or radeon package in the system closure.
wavirc22_ has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
mallox has joined #nixos
<jakobrs> Actually there's no amdgpu or radeon package in /nix/store at all.
wavirc22 has joined #nixos
smatting has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #88552 → openafs_1_8: include 5.6 fixes → https://git.io/Jf2qv
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfatu
<{^_^}> [nixpkgs] @Mic92 merged pull request #88553 → [backport] openafs_1_8: include 5.6 fixes → https://git.io/Jf2qT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-20.03: https://git.io/Jfatg
smatting has joined #nixos
slack1256 has joined #nixos
maddo has joined #nixos
kapilp has quit [Ping timeout: 256 seconds]
kapil_ has joined #nixos
<jakobrs> Hm, it's possible to just `modprobe -r amdgpu`
<jakobrs> Though I do wonder why it's loaded in the first place
<quinn> so i'm feeling really stupid. i have an overlay, and i'm trying to access lib.kernel. why is it not under super.lib.kernel?
LevelChart8 has quit [Quit: LevelChart8]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88666 → python27Packages.datadog: 0.35.0 -> 0.36.0 → https://git.io/JfatH
smatting has quit [Ping timeout: 265 seconds]
jakobrs has quit [Quit: WeeChat 2.7.1]
user_0x58 has quit [Quit: Leaving]
leotaku has quit [Ping timeout: 265 seconds]
domogled has joined #nixos
domogled has quit [Client Quit]
anderson_ has quit [Remote host closed the connection]
artistsvoid has joined #nixos
<{^_^}> [nixpkgs] @markus1189 opened pull request #88667 → Unbreak amazonka-dynamodb → https://git.io/Jfaqk
justanotheruser has quit [Ping timeout: 244 seconds]
shreyansh_k has joined #nixos
CMCDragonkai1 has joined #nixos
<sphalerite> > lib.kernel
<{^_^}> { freeform = <CODE>; module = <CODE>; no = <CODE>; option = <CODE>; whenHelpers = <CODE>; yes = <CODE>; }
<sphalerite> quinn: hm, it should be..? Can you share your exact overlay?
<quinn> sphalerite: https://hastebin.com/aqeriloruv.http i'm totally lost
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88668 → python27Packages.deprecated: 1.2.9 -> 1.2.10 → https://git.io/JfaqR
<sphalerite> I've put boot.debug1mounts in my kernel commandline in order to get a shell in the initramfs, but it's not working — when I press i on the serial console in hopes of getting an interactive shell, it prints "Starting interactive shell" and then nothing more happens. What might be amiss here?
<quinn> sorry, i have no idea how to debug initramfs stuff. i would really appreciate a sanity check on that derivation i posted, i feel like i'm going crazy or something
<sphalerite> quinn: that works for me
<sphalerite> quinn: which nixpkgs version are you using?
<sphalerite> and do you already know about https://github.com/musnix/musnix/ ?
<quinn> sphalerite: i do, but it uses a pretty outdated kernel and is just a little too complicated for my liking.
<sphalerite> ah ok
<quinn> sphalerite: are you sure that you're actually evaluating the with super.lib.kernel? if i turn the option off that sets boot.kernelPackages to audioPackages it works fine, but i get 'attribute kernel missing'
<quinn> (if i turn that option on)
<{^_^}> [nixpkgs] @Mic92 closed pull request #88594 → PR to test CI error messages → https://git.io/Jf2EX
<sphalerite> I tried: nix build --arg overlays '[ (import ./overlay.nix) ]' -f '<nixpkgs>' -I nixpkgs-unstable=channel:nixos-unstable audio_linux_5_6
<sphalerite> and it started building
agsdheidjd has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @doronbehar closed pull request #71498 → libxsmm: init at 1.13 → https://git.io/JeRkZ
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7ee664e545f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<quinn> sphalerite: so it's available in nix repl if i import nixpkgs-unstable, but...the file is still present in nixos-20.03 which is what i use. i can try to just steal it from unstable but that's kind of a messy solution. do you have any ideas what's going on?
simba1 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #88630 → fastd: v18 -> v19 → https://git.io/Jf2FJ
<{^_^}> [nixpkgs] @Mic92 pushed commit from @mweinelt to master « fastd: v18 -> v19 (#88630) »: https://git.io/Jfaqd
<{^_^}> [nixpkgs] @adisbladis merged pull request #88617 → memcached: 1.6.5 -> 1.6.6 → https://git.io/Jf292
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfaqF
<quinn> oh, also it's pesent in the namespace outside of my overlay (but not available if i :l <nixos/nixpkgs>) so i'm triple confused
KeiraT has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @doronbehar closed pull request #72948 → python: npyscreen: init at 4.10.5 → https://git.io/JeawL
<{^_^}> [nixpkgs] @FRidh pushed 631 commits to staging-next: https://git.io/Jfaqh
fendor has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 170 commits to staging: https://git.io/Jfaqj
KeiraT has joined #nixos
<{^_^}> [nixpkgs] @doronbehar closed pull request #70944 → nordlicht: init at 0.4.5 → https://git.io/Jel3o
<sphalerite> quinn: aah, lib.kernel was introduced in afa0e02d64b1 and said commit is not in 20.03
<sphalerite> quinn: you can use the unstable one or import kernel.nix manually. I think the former is nicer
meh` has joined #nixos
justanotheruser has quit [Ping timeout: 244 seconds]
<quinn> sphalerite: well i'm kind of mystified by the file's presence if it wasn't in the namespace, but i think it's already occupied enough of your time and i need to sleep, so i'll just say thank you Very much, this was making me really crazy
<quinn> sphalerite++
<{^_^}> sphalerite's karma got decreased to 88
<{^_^}> Wait no, it got *increased* to 90
<sphalerite> quinn: it was previously just imported manually wherever it was used
lord| has quit [Ping timeout: 260 seconds]
<sphalerite> e.g. pkgs/os-specific/linux/kernel/common-config.nix: with import ../../../../lib/kernel.nix { inherit (stdenv) lib; inherit version; };
<quinn> haha, what the hell? i considered it but that seemed so clearly deficient that i immmediately discounted the thought
lord| has joined #nixos
<sphalerite> hehe
<sphalerite> good thing it's been improved!
jco has joined #nixos
<sphalerite> teto++
<{^_^}> teto's karma got increased to 7
<sphalerite> (in teto's absence)
quinn has quit [Ping timeout: 265 seconds]
obadz has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @Mic92 opened pull request #88669 → nixos/high-dpi: Reasonable defaults for high-density displays → https://git.io/JfamG
pjt_014 has quit [Ping timeout: 258 seconds]
agsdheidjd has joined #nixos
butcher has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to release-20.03: https://git.io/Jfaml
Chiliparrot has joined #nixos
sarcasticadmin has joined #nixos
dckc has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jD91mZM2 closed pull request #72153 → git-subcopy: init at 0.1.0 → https://git.io/JeuO0
justanotheruser has joined #nixos
sarcasticadmin has quit [Ping timeout: 265 seconds]
dckc has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-19.09 « bind: 9.14.9 -> 9.14.12 (security, PR #88159) »: https://git.io/JfamH
<{^_^}> [nixpkgs] @7c6f434c merged pull request #88527 → zbar: 0.23 -> 0.23.1 → https://git.io/Jf2fJ
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JfamF
o1lo01ol1o has joined #nixos
<hyper_ch> what's wrong with nixos unstable? it says some build problem?
<balsoft> quinn: and what's the error?
<balsoft> quinn: maybe you should try unstable.lib.kernel just to see what hapens
<adisbladis> hyper_ch: Which is fixed by https://github.com/NixOS/nixpkgs/pull/88607
<{^_^}> #88607 (by flokli, 20 hours ago, merged): nixos/udev: support /run/current-system/systemd in udevRules
dingenskirchen has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<hyper_ch> why would udev cause issues? oO
<adisbladis> hyper_ch: Read the PR description
<hyper_ch> adisbladis: ah, didn't see the pr you linked
shreyansh_k has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #81363 → scaleft: Init at 1.41.0 → https://git.io/Jvgu5
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfaYL
<{^_^}> [nixpkgs] @vcunat pushed to release-20.03 « pdns-recursor: 4.2.1 -> 4.2.2 (security) »: https://git.io/JfaYt
<{^_^}> [nix] @domenkozar merged pull request #3212 → install: configure and bootstrap synthetic.conf on darwin → https://git.io/JeVnz
<{^_^}> [nix] @domenkozar pushed 13 commits to master: https://git.io/JfaYY
asymptotically has joined #nixos
butcher has joined #nixos
zenxhd has joined #nixos
<hyper_ch> adisbladis: could you review a pr of mine?
<adisbladis> Sure?
<{^_^}> #88165 (by sjau, 3 days ago, open): Samba: 4.12.2 -> 4.12.3
<hyper_ch> just version number and hashed changed :)
<{^_^}> [nixpkgs] @vcunat pushed to release-19.09 « pdns-recursor: 4.2.0 -> 4.2.2 (security) »: https://git.io/JfaYc
nschoe has joined #nixos
rsoeldner has joined #nixos
yutyo[m] has joined #nixos
<yutyo[m]> <quinn "colemickens: i mean if the distr"> Installing seems easy after seeing its hardness to use it.
<yutyo[m]> <multun "^"> Weird enough, my first impression while installing was good. It was bad when driver problems came in, that I have spent a month to solve.
<adisbladis> hyper_ch: I'll just ask ofborg to run the tests before merging
<rsoeldner> Can someone provide a simple example using `nginx` with letsencrypt ? I added `enableACME=true;` to the `services.nginx` service but to my understanding this is a placeholder cert and will be automatically replaced, which never happend so far
<hyper_ch> adisbladis: no worries
orivej has joined #nixos
<hyper_ch> I know some people who got bitten by the vfs_io_urin corruption
<hyper_ch> and that release is supposed to fix it
<{^_^}> [nixpkgs] @cdepillabout merged pull request #88667 → Unbreak amazonka-dynamodb → https://git.io/Jfaqk
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfaY8
slack1256 has quit [Remote host closed the connection]
rsoeldner has quit [Ping timeout: 272 seconds]
<adisbladis> hyper_ch: In fact, this might be a good time to add a passthru.tests
<adisbladis> So ofborg knows to build tests in future bumps
<hyper_ch> adisbladis: I have no idea waht those are :)
<hyper_ch> is it in the wiki?
orivej has quit [Read error: Connection reset by peer]
<adisbladis> Basically this
orivej_ has joined #nixos
<adisbladis> I don't know if it's documented anywhere
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88670 → python27Packages.branca: 0.3.1 -> 0.4.1 → https://git.io/JfaYy
<{^_^}> [nixpkgs] @doronbehar closed pull request #80450 → dolphin-emu: add update script → https://git.io/Jv4Pq
shreyansh_k has joined #nixos
hmpffff has joined #nixos
o1lo01ol1o has joined #nixos
<hyper_ch> adisbladis: I'll add it.... give me a second (or rather several minutes.....)
chloekek has joined #nixos
<adisbladis> Take your time :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88671 → python27Packages.cloudflare: 2.6.5 -> 2.7.1 → https://git.io/JfaYx
<{^_^}> [nixpkgs] @doronbehar closed pull request #71125 → idris2: init at unstable-2019-10-13 → https://git.io/Je84m
<{^_^}> [nixpkgs] @bjornfor merged pull request #88650 → plantuml: 1.2020.8 -> 1.2020.10 → https://git.io/JfaTr
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « plantuml: 1.2020.8 -> 1.2020.10 »: https://git.io/JfaOJ
o1lo01ol1o has quit [Remote host closed the connection]
<hyper_ch> adisbladis: ok, force pushed it after squashing.... it's checking again
quinn has joined #nixos
<adisbladis> hyper_ch: You forgot to add nixosTests as an input, and modules don't make sense for samba
<adisbladis> I fixed it up and pushed
<hyper_ch> adisbladis: thx :)
<{^_^}> [nixpkgs] @adisbladis merged pull request #88165 → Samba: 4.12.2 -> 4.12.3 → https://git.io/JfubC
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfaOc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88672 → python27Packages.flask_assets: 0.12 -> 2.0 → https://git.io/JfaOC
__monty__ has joined #nixos
thc202 has joined #nixos
<bqv> emily: oh, no, for containers I just make the config inside the conatiner as thin as possible, for now. Can't remember if it's potentially fixable by overriding the submodule
hmpffff has quit [Quit: nchrrrr…]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
dm9 has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a68908625df (from 81 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
civodul has joined #nixos
pitchzer0 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88673 → python27Packages.convertdate: 2.2.0 -> 2.2.1 → https://git.io/JfaON
<Taneb> I'm trying to modify the derivation for vbam to enable the wx GUI. I've added wxGTK to the build inputs but it's failing to find the wx headers.
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<Taneb> The error message gives me a lot of paths, which include /nix/store/blah-wxGTK-2.8.12.1 but not /nix/store/blah-wxGTK-2.8.12.1/include, where the file in question can be found
aveltras has joined #nixos
<Taneb> Any idea what I could be doing wrong?
<Taneb> (it is looking in, for example, /nix/store/blah-zip-3.0/include)
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88674 → psi-plus: 1.4.1159 -> 1.4.1231 → https://git.io/Jfa3Z
cosimone has joined #nixos
VulNix has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
jakobrs has joined #nixos
VulNix has joined #nixos
<jakobrs> Has anybody got MIME types working in NixOS?
<jakobrs> When I installed chromium, that overrode firefox, but it fixed itself sometime ago
orivej has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @doronbehar closed pull request #79163 → [WIP] add chrislf to maintainers → https://git.io/JvGeT
<jakobrs> now I just did nix-env -iA nixos.plasma-browser-integration, and for some reason, winebrowser is the default browser now, despite not having wine installed
<jakobrs> And nearly everything (xhtml+xml, plaintext, etc) opens in libreoffice
hmpffff has joined #nixos
quinn has quit [Ping timeout: 260 seconds]
<jakobrs> Setting mime types manually using xdg-mime does not work.
butcher has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
quinn has joined #nixos
<jakobrs> Is there any documentation on MIME in NixOS anywhere?
<Taneb> Hmm, I think I'm seeing weirdness with CMAKE_PREFIX_PATH
<manveru> jakobrs: https://discourse.nixos.org/search?q=mime has a bunch
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1a029774275 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/35eda4aede5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1a029774275 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<jakobrs> ok that looks interesting, I'll look through that
<Taneb> OK, this is a little worrying
<jakobrs> Ah, wine had installed its own desktop file in ~/.local/share/applications
<Taneb> So, CMake expects "CMAKE_PREFIX_PATH" to be semicolon separated. nixpkgs end up with it colon separated
<{^_^}> [nixpkgs] @adisbladis merged pull request #88454 → pypy: Remove bootstrap python from closure → https://git.io/JfgZD
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/Jfa3A
<{^_^}> [nixpkgs] @aanderse merged pull request #86261 → webcamoid: init at 8.7.1 → https://git.io/JfmMI
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/Jfask
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
sarcasticadmin has joined #nixos
justsomeguy has joined #nixos
MmeQuignon has joined #nixos
zupo has joined #nixos
<jakobrs> What is the nix-command equivalent of nix-store --gc --print-roots?
<{^_^}> [nix] @LnL7 opened pull request #3610 → fix hydra build products → https://git.io/JfasG
<LnL> domenkozar[m]: ^
sarcasticadmin has quit [Ping timeout: 265 seconds]
asymptotically has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @doronbehar closed pull request #73192 → nixos-shell:init at 2015-05-23 → https://git.io/JewLg
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quinn has quit [Read error: Connection reset by peer]
quinn has joined #nixos
betaboon has joined #nixos
simba1 has quit [Quit: WeeChat 2.8]
puffnfresh_ has joined #nixos
simba1 has joined #nixos
puffnfresh has quit [Quit: ZNC 1.6.5 - http://znc.in]
puffnfresh_ has quit [Client Quit]
<{^_^}> [nixpkgs] @romildo opened pull request #88675 → lumina: 1.5.0 -> 1.6.0 → https://git.io/JfaGe
justsomeguy has quit []
puffnfresh has joined #nixos
jgeerds_ has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
gxt__ has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
mallox has quit [Quit: WeeChat 2.8]
Thra11 has quit [Ping timeout: 246 seconds]
KeiraT has joined #nixos
mallox has joined #nixos
Khetzal has quit [Quit: \o/]
<{^_^}> [nixpkgs] @romildo closed pull request #79567 → lumina.lumina: 1.5.0 -> 1.6.0 → https://git.io/Jvndi
mallox has quit [Client Quit]
Khetzal has joined #nixos
o1lo01ol1o has joined #nixos
mallox has joined #nixos
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88658 → postgresql11Packages.pg_partman: 4.3.1 -> 4.4.0 → https://git.io/JfaI0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaGP
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88662 → python27Packages.braintree: 4.0.0 -> 4.1.0 → https://git.io/JfaLO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaGQ
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @taku0 closed pull request #59386 → adoptopenjdk: add version 12 → https://git.io/fjmsl
kfound has joined #nixos
drakonis has joined #nixos
<jakobrs> Can I switch to nixFlakes for a single user only?
<{^_^}> [nixpkgs] @marsam merged pull request #88671 → python27Packages.cloudflare: 2.6.5 -> 2.7.1 → https://git.io/JfaYx
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaGd
<{^_^}> [nixpkgs] @marsam merged pull request #88655 → powerstat: 0.02.22 -> 0.02.23 → https://git.io/JfakP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaGb
drakonis_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #87732 → welle-io: fix, add qtgraphicaleffects to inputs → https://git.io/Jf4sm
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JfaGj
Thra11 has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [nixpkgs] @marsam merged pull request #88659 → profile-cleaner: 2.37 -> 2.41 → https://git.io/JfaIV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfaZf
lord| has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
kfound has quit [Remote host closed the connection]
orivej has joined #nixos
lord| has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #88477 → microcodeIntel: 20200508 → 20200520 → https://git.io/Jfgz4
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JfaZJ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88676 → python27Packages.geoalchemy2: 0.7.0 -> 0.8.0 → https://git.io/JfaZU
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #87653 → Deno: init at 1.0.0 → https://git.io/Jf83g
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfaZt
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
<{^_^}> [nixpkgs] @markuskowa pushed to release-20.03 « welle-io: add qtgraphicaleffects to inputs »: https://git.io/JfaZn
drakonis_ has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #88677 → lxqt.lxqt-panel: 0.15.0 -> 0.15.1 → https://git.io/JfaZR
orivej has joined #nixos
opthomasprime has joined #nixos
palo has quit [Quit: WeeChat 2.7.1]
drakonis has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @petabyteboy merged pull request #88675 → lumina: 1.5.0 -> 1.6.0 → https://git.io/JfaGe
<{^_^}> [nixpkgs] @petabyteboy pushed 6 commits to master: https://git.io/JfaZ2
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #88678 → yaru-theme: 20.04.6 -> 20.04.7 → https://git.io/JfaZV
drakonis has joined #nixos
<{^_^}> [nixpkgs] @LinArcX closed pull request #59967 → nixbox: init at unstable-2019-04-20 → https://git.io/fjOhw
quinn has quit [Ping timeout: 264 seconds]
<NobbZ[m]> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
quinn has joined #nixos
palo has joined #nixos
phnom has joined #nixos
<NobbZ[m]> Seems to be nothing docker related…
drakonis_ has quit [Ping timeout: 264 seconds]
agsdheidjd has quit [Ping timeout: 244 seconds]
agsdheidjd has joined #nixos
<jakobrs> I thought I should point out that nix flake clone fails if you do not have SSH keys set up.
<NobbZ[m]> I'm playing around with `dockerTools.buildLayeredImage`, how can I add current nixchannel of the buildhost (or a given specific commit) to the container?
quinn has quit [Ping timeout: 265 seconds]
phnom has quit [Ping timeout: 256 seconds]
<bqv> Presumably most people using nix hate docker.
<NobbZ[m]> Docker is currently the only way I could use to sneak `nix` to my workplace…
<bqv> NobbZ[m]: it builds whatever you tell it to. Channels are out of scope by then
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #88679 → gnomeExtensions.no-title-bar: unbreak, 9 -> 2020-05-14 → https://git.io/JfaZd
<calbrecht> beeing calbrecht: start building rust servo, get sidetracked over mozillas python mach buildsystem and end up fixing virtualenv *sigh lol
Maxdamantus has quit [Ping timeout: 260 seconds]
<NobbZ[m]> I'm trying to build a container for now that builds my `home-manager` config in CI. I need the channels for that. Of course I could add and update in the entrypoint, though I'd prefer to have them baked in and "pinned"
Maxdamantus has joined #nixos
teto has joined #nixos
o1lo01ol1o has joined #nixos
<calbrecht> i mean, i could need some help. because i don't even know if i am on the right track now with this problem #66366
<{^_^}> https://github.com/NixOS/nixpkgs/issues/66366 (by Enteee, 41 weeks ago, open): Python virtualenv not working because of sys.prefix mismatch
<calbrecht> and #88613
<{^_^}> https://github.com/NixOS/nixpkgs/pull/88613 (by calbrecht, 20 hours ago, open): WIP: pythonPackages.virtualenv: 16.7.9 -> 20.0.21 fix #66366
jakobrs has quit [Quit: WeeChat 2.7.1]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 260 seconds]
<bqv> NobbZ[m]: not sure buildlayeredimage is what you want
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88680 → python37Packages.pikepdf: 1.11.2 -> 1.13.0 → https://git.io/JfanO
<infinisil> ,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
<{^_^}> channels redefined, was defined as Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<adisbladis> Building docker containers with Nix inside is a bit more involved than just using buildLayeredImage
ent has quit [Ping timeout: 272 seconds]
<gchristensen> we're gonna need to paginate soon, or justredirect to a wiki page
datakurre has quit [Ping timeout: 260 seconds]
<NobbZ[m]> Yeah, maybe its the wrong tool. As I said, playing around to learn, though I'm not sure if `buildImage` would work either.
jesushelpthisqwe has joined #nixos
<adisbladis> NobbZ[m]: I did some work a few weeks back towards replacing the official Docker image with one produced by buildLayeredImage https://github.com/adisbladis/nix-docker
<adisbladis> That one includes the channel that was used to build the image
<sshow> can anyone point me to a package with a systemd service using a config file and systemd runtime directory?
<sshow> I am looking for examples :)
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/35eda4aede5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<NobbZ[m]> thanks adisbladis, will take a look
<{^_^}> [nixpkgs] @06kellyjac opened pull request #88681 → deno: 1.0.0 -> 1.0.2 → https://git.io/Jfanz
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88682 → python37Packages.hstspreload: 2020.5.5 -> 2020.5.19 → https://git.io/Jfan2
<adisbladis> gchristensen pointed out some shortcomings in that approach to me yesterday, namely that only contents are properly put into the Nix db
<{^_^}> [nixpkgs] @flokli merged pull request #88660 → python27Packages.authlib: 0.14.1 -> 0.14.3 → https://git.io/JfaIj
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jfana
<adisbladis> Still some work to do before it's 100%
<adisbladis> But I've used that container for building lots of Nix things successfully, so it should at the very least get you started :)
quinn has joined #nixos
<LnL> adisbladis: sounds very similar to my image
orivej_ has joined #nixos
<adisbladis> LnL: The big difference being buildLayeredImage vs buildImage
<LnL> right, and there's no *WithDB variant for that?
<adisbladis> I created one :)
<LnL> ah
<adisbladis> I believe your one relies on runAsRoot for some things?
<NobbZ[m]> Hmmm… If its that involved, I think I'll just use a regular `Dockerfile` for now that builds `FROM nixos/nix`…
<{^_^}> [nixpkgs] @volth closed pull request #81939 → arangodb_3_*: version bump → https://git.io/JvwDd
orivej has quit [Ping timeout: 246 seconds]
<LnL> no it doesn't, that's why there's a regular docker build step
<adisbladis> LnL: I should really diff our efforts and send you a PR to migrate to buildLayeredImage
<adisbladis> Our approaches look very similar :)
<{^_^}> [nixpkgs] @flokli opened pull request #88683 → lieer: 1.1 -> 1.2 → https://git.io/Jfani
<LnL> yeah, there's a few more subtile things like nsswitch.conf
<bqv> NobbZ[m]: sounds eminently more sensible
<LnL> I didn't want to rely on runAsRoot before but at this point I think I'd prefer to be anle to just nix-build
<adisbladis> LnL: I have a goal of using the Docker autobuild service, they don't have KVM acceleration.
domogled has joined #nixos
<adisbladis> Which makes runAsRoot untenable
<LnL> ah :/
<LnL> well if a combination of nix-build + docker could be automated then it's still better
jesushelpthisqwe has quit [Ping timeout: 245 seconds]
<LnL> haven't really looked at it but would be great
ent has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88684 → python37Packages.loguru: 0.4.1 -> 0.5.0 → https://git.io/Jfany
vonfry has joined #nixos
<{^_^}> [nix] @haslersn closed pull request #2681 → Support custom shell in nix-shell/nix run → https://git.io/fh75l
jasongrossman has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
orivej_ has quit [Ping timeout: 272 seconds]
hmpffff has joined #nixos
<betawaffle> someone mention me, need to test my notifications from firefox
<maddo> betawaffle
<maddo> betawaffle:
<maddo> with : as well
<betawaffle> great, it worked
<maddo> also betawaffle,
chloekek has quit [Ping timeout: 258 seconds]
<bqv> betawaffle:
<maddo> this should cover defaults everywhere
<betawaffle> has anyone made a collection of links to people's nixos configuration repos?
<maddo> that'd be helpful
<maddo> there are few things I need to iron out
tilcreator has quit [Quit: ZNC 1.7.5 - https://znc.in]
<maddo> like my HP printer&scanner combo, I still do not understand the difference between hplip and hplipWithPlugin
chris[m]2 has joined #nixos
<{^_^}> [nixpkgs] @wucke13 closed pull request #86569 → wayfire: init at 0.4.0 → https://git.io/Jf3zy
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
tilcreator has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
philr_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88685 → python27Packages.nbsmoke: 0.3.0 -> 0.4.1 → https://git.io/JfacX
sarcasticadmin has joined #nixos
<etu> betawaffle: https://search.tx0.co/ -- might help you a bit
icey_ has joined #nixos
<betawaffle> interesting
<{^_^}> [nixpkgs] @ethulhu opened pull request #88686 → reuse: 0.7.0 -> 0.10.1 → https://git.io/JfacF
iceypoi has quit [Ping timeout: 265 seconds]
sarcasticadmin has quit [Ping timeout: 256 seconds]
cr4y1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dacd1e48be6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos
<hyper_ch> adisbladis: so what are those tests good for? Still trying to figure out when it's good to do that passthru and when not
vonfry has left #nixos ["Using Circe, the loveliest of all IRC clients"]
alexherbo29 has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo29 is now known as alexherbo2
eoli3n_ has joined #nixos
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nix] @nomeata opened pull request #3611 → Manpages: Do not refer to nixpkgs-channels → https://git.io/JfaCB
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88687 → python37Packages.immutables: 0.12 -> 0.14 → https://git.io/JfaCg
bvdw has joined #nixos
proofofkeags has joined #nixos
chloekek has joined #nixos
<{^_^}> [nixpkgs] @matthuszagh opened pull request #88688 → Pyspice → https://git.io/JfaCK
<adisbladis> hyper_ch: So that ofborg knows to run the VM tests when you bump samba
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88689 → python27Packages.hg-evolve: 9.3.1 -> 10.0.0 → https://git.io/JfaCi
<hyper_ch> adisbladis: :)
<hyper_ch> unstable small advances but unstable is still stuck :(
<hyper_ch> you can also use https
shreyansh_k has quit [Quit: Konversation terminated!]
<bqv> I was literally just typing that so I can tap in on my phone
<bqv> That failure doesn't look like a failure
<bqv> https://hydra.nixos.org/build/119311919 the log looks like a full success, wut
anderson_ has joined #nixos
<anderson_> Good morning!
<{^_^}> [nixpkgs] @FRidh pushed to master « pythonPackages.kicad: bindings to kicad »: https://git.io/JfaCd
proofofkeags has quit [Ping timeout: 265 seconds]
jco has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
proofofkeags has joined #nixos
o1lo01ol1o has joined #nixos
<anderson_> what about the styx case?
m4ts has quit [Ping timeout: 246 seconds]
LevelChart8 has joined #nixos
drakonis_ has quit [Ping timeout: 260 seconds]
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfaWU
<{^_^}> [nixpkgs] @marsam merged pull request #88654 → postgresql11Packages.pgrouting: 2.6.3 -> 3.0.0 → https://git.io/JfakB
Rusty1 has quit [Client Quit]
<bqv> .tell morgrimm nix flake update --update-input
<Tritlo> How do I install a package that's on master from configuration.nix? I'm trying to install ghc-8.10, but I'm not figuring out how
Rusty1 has joined #nixos
drakonis_ has joined #nixos
<infinisil> ,unstable Tritlo
drakonis has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<Tritlo> I have unstable, but that one only has ghc 8.8
<Tritlo> Specifically, I want the ghc8101 field from here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/haskell-packages.nix
drakonis has joined #nixos
<infinisil> > unstable.haskell.compilers
<{^_^}> attribute 'compilers' missing, at (string):312:1
<infinisil> > unstable.haskell.compiler
<{^_^}> { ghc8101 = <CODE>; ghc822Binary = <CODE>; ghc844 = <CODE>; ghc865 = <CODE>; ghc865Binary = <CODE>; ghc882 = <CODE>; ghc883 = <CODE>; ghcHEAD = <CODE>; ghcjs = <CODE>; ghcjs86 = <CODE>; integer-simple...
<infinisil> unstable has ghc8101
<Tritlo> I get attribute missing... I´m using the unstableTarball from nixpkgs-channels/archive/nixos-unstable.tar.gz
noudle has joined #nixos
proofofkeags has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #88582 → mednafen: 1.24.2 -> 1.24.3 → https://git.io/Jf24E
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfaWc
<Tritlo> ah, adding unstable.haskell.compiler did the trick
<Tritlo> how did you figure out that trick?
<Tritlo> I.e. how do you derive the path?
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #88674 → psi-plus: 1.4.1159 -> 1.4.1231 → https://git.io/Jfa3Z
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @r-ryantm to master « psi-plus: 1.4.1159 -> 1.4.1231 (#88674) »: https://git.io/JfaWC
<infinisil> Not sure what you mean, "unstable" in the bot here just points at an unstable nixpkgs
<Tritlo> I mean, how did you know it was under haskell.compiler?
<infinisil> Ah, just knew about it from working with it before
<Tritlo> ah okok
<Tritlo> Is there any way to figure it out from looking at the repo? I tried unstable.haskellPackages.compiler, since the file is called haskell-packages, but that didn't work
waleee-cl has joined #nixos
proofofkeags has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
<infinisil> Tritlo: If you search through nixpkgs for "haskell-packages.nix", you'll find that it's defined in all-packages.nix
<infinisil> And that the haskell attribute points to it
<infinisil> > showSrc pkgs "haskell"
<{^_^}> "all-packages.nix:8576 haskell = callPackage ./haskell-packages.nix { };"
bqv has quit [Quit: WeeChat 2.8]
bqv has joined #nixos
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b13ffa2aef6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b13ffa2aef6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
Henson has left #nixos ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
Henson has joined #nixos
<Tritlo> @infinisil: ah ok, thank you!
turion has joined #nixos
m4ts has joined #nixos
cole-h has joined #nixos
<turion> I have a set of haskell package derivations. How can I make a joined .env from all of them? (For a nix-shell)
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux-hardened: Remove 5.5 »: https://git.io/Jfaln
Maxdamantus has quit [Ping timeout: 260 seconds]
jmeredith has joined #nixos
<{^_^}> [nix] @domenkozar merged pull request #3610 → fix hydra build products → https://git.io/JfasG
<{^_^}> [nix] @domenkozar pushed 2 commits to master: https://git.io/Jfalz
Maxdamantus has joined #nixos
<{^_^}> [nix] @domenkozar merged pull request #3611 → Manpages: Do not refer to nixpkgs-channels → https://git.io/JfaCB
<{^_^}> [nix] @domenkozar pushed 2 commits to master: https://git.io/Jfala
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #88609 → zstd: 1.4.4 -> 1.4.5 → https://git.io/Jf2Pg
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « zstd: 1.4.4 -> 1.4.5 (#88609) »: https://git.io/Jfaly
piezoid has joined #nixos
Maxdamantus has quit [Ping timeout: 256 seconds]
Maxdamantus has joined #nixos
justsomeguy has joined #nixos
numkem has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
numkem has joined #nixos
<numkem> I have hydra setup in my environment and it's working well. I import the channel and I can use it for one project. For the other when I try to use a package from that channel I get the error path `/nix/store/[...] does not exist and cannot be created` what could be different to create this problem? I have nix-serve with signing working on the hydra host as well.
<clever> numkem: if nix cant find something in a binary cache (hydra/nix-serve), it wont bother checking again for an hour
nek0 has quit [Remote host closed the connection]
<clever> numkem: `nix show-config | grep narinfo` you can adjust these options with --option
nek0 has joined #nixos
andreoss has joined #nixos
slack1256 has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Aver1y opened pull request #88692 → libusb1: Fix for pkgsMusl → https://git.io/Jfa89
Jackneill has quit [Ping timeout: 264 seconds]
<andreoss> why nixos-generate-config can only be run from the live-cd, and not from a foreign distro which happens to have nix installed?
<clever> andreoss: you can forcibly install it with nix-env, but a lot of the install stuff assumes certain kernel features you may not have
Jackneill has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
proofofkeags has joined #nixos
asbachb has joined #nixos
<asbachb> Hi. Someone has a working configuration for a systemd restart when touching a file?
wnklmnn has joined #nixos
<asbachb> Or is there any obvious problem? https://gist.github.com/asbachb/10fe9fcaaff82a39d9b04aec82aef421
zebrag has joined #nixos
<Miyu-saki> clever: I want to make a patch for a Linux kernel module, any ideas?
<clever> Miyu-saki: intree or out-of-tree?
<Miyu-saki> intree
<clever> Miyu-saki: youll probably want to use the kernel patches system...
<{^_^}> [nixpkgs] @doronbehar closed pull request #84401 → gnuradio: 3.7.13.4 -> 3.7.14.0 & more → https://git.io/JvNak
<clever> Miyu-saki: boot.kernelPatches is a list of sets, each one containing a name and patch, you can check the pkgs.kernelPatches for examples
<Miyu-saki> clever: Thanks. So you're suggesting I just `nixos-rebuild switch` and then `modprobe -r ...` `modprobe foo`?
<clever> Miyu-saki: yeah
<Miyu-saki> Okay, thanks!
numkem has quit [Ping timeout: 260 seconds]
fendor has quit [Remote host closed the connection]
<eadwu[m]> asbachb: Not sure but maybe something like `X-Restart-Triggers`?
<asbachb> eadwu[m]: If I got it right there's no need to configure the service which is restarted.
dm9 has quit [Ping timeout: 252 seconds]
fendor has joined #nixos
fendor__ has joined #nixos
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @Ekleog merged pull request #88640 → opensmtpd: 6.6.4p1 -> 6.7.0p1 → https://git.io/Jf2js
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/JfaBJ
<pistache> how can I make a wrapper for a program that needs to needs to exec(argv[0]) ?
<pistache> should I use security.wrappers for that ?
<kloenk> does nixos need the systemd-remount-fs.service unit? because if I see it correctly nixos mounts / the right way via the fileSystems module, which are then later written into /etc/fstab
<{^_^}> [nixpkgs] @doronbehar opened pull request #88693 → gnuradio: format arguments and inputs → https://git.io/JfaBL
<cole-h> pistache: Do you mean like it checks the name of the binary for different features or something?
fendor_ has quit [Quit: Leaving]
fendor__ has quit [Quit: Leaving]
abathur has quit [Quit: abathur]
<pistache> cole-h: yes, it uses argv[0] to re-execute it self on reload, which allows seamless reloads, but that doesn't work on NixOS since the new binary will be at another path
<pistache> so I'd like to execute it from a symlink to the real binary, but I'm not sure if I should make my own activationScript of there is already something in NixOS that I can use for that
<pistache> security.wrappers seems to be only for setuid/capabilities wrappers
veleiro has joined #nixos
<kloenk> pistache: im not sure, but maybe sway does something like it, but on there own. sway does not start if you have /var mounted as a tmpfs becaus of the execute bit in tmpfses
asymptotically has quit [Remote host closed the connection]
<symphorien> pistache: looks like a good candidate for a patch...
<pistache> symphorien: for a patch to what ?
<symphorien> make it exec its name from PATH instead of argv[0]
<pistache> well it's not in PATH anyway as it's used in a NixOS module
<symphorien> ah right
<pistache> the program is haproxy, which can handle keeping connections open while reloading
<pistache> I think I could use a wrapper from security.wrappers and set capabilities to "", but that feels a bit hacky
<cole-h> pistache: `makeWrapper` is probably what you want, but it's not declarative -- it has to be done at build time.
<asbachb> eadwu[m]: Is there documenatation on "X-Restart-Triggers"?
<pistache> cole-h: I don't understand how could makeWrapper help ? the wrapper's path would still change, no ?
veleiro` has joined #nixos
<cole-h> How do I get `man 2 fork` to work someone please help
<cole-h> pistache: Yeah, you're right.
<cole-h> A tricky problem...
veleiro has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #88694 → lnch: init at 2017-02-16 → https://git.io/JfaB5
<pistache> ah, using security.wrppers with capablities = "" doesn't even work, since that makes pcap fail
jhillyerd has quit [Quit: WeeChat 2.7.1]
<symphorien> if you need a global fixed path, use /run/current-system/sw/bin/haproxy
alp has joined #nixos
user_0x58 has joined #nixos
<pistache> symphorien: but that implies adding the package to environment.systemPackages, which doesn't feel right for a package used in a module
<symphorien> well if you think of it, the idea of "security wrappers without caps" boils down to the same.
<symphorien> just with /run/wrappers/bin instead
<pistache> yes, it's true
<pistache> I could write my own activationScript, but then I'm not sure where would I put that global path
<symphorien> if really you don't feel comfortable with it, make a symlink in /var/lib/haproxy
<symphorien> and then the reload dance would be: symlink the new haproxy in /var/lib/haproxy and then have the old one exec it.
<symphorien> I doubt you need an activation script, systemd tmpfiles should be enough
veleiro`` has joined #nixos
<pistache> ah yes I don't need an activation script, I can just build the symlink in the service itself
<pistache> still not sure where to put it, /var/lib/haproxy could be a problem if /var is mounted noexec
veleiro` has quit [Ping timeout: 256 seconds]
<symphorien> /run maybe ?
<pistache> ah right in /run/haproxy/, that seems like a good compromise
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JfaRn
<pistache> thanks for the tips, I'll try it this way
<{^_^}> [nixpkgs] @FRidh closed pull request #88613 → WIP: pythonPackages.virtualenv: 16.7.9 -> 20.0.21 fix #66366 → https://git.io/Jf2DO
LevelChart8 has quit [Quit: LevelChart8]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #88694 → lnch: init at 2017-02-16 → https://git.io/JfaB5
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfaRE
<niso> by chance someone knows of an example using runInWindowsVM?
KeiraT has quit [Ping timeout: 240 seconds]
drakonis1 has joined #nixos
asymptotically has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
KeiraT has joined #nixos
o1lo01ol1o has joined #nixos
drakonis_ has joined #nixos
eoli3n_ has quit [Remote host closed the connection]
eoli3n_ has joined #nixos
<eyJhb> talyz: will check on reboot if it works :p
<eyJhb> Any good way to disable the .sudo_as_admin_successful file in NixOS?
abathur has joined #nixos
quinn has joined #nixos
drakonis1 has quit [Ping timeout: 260 seconds]
symphorien[m] has joined #nixos
xd1le has quit [Ping timeout: 256 seconds]
CMCDragonkai1 has quit [Ping timeout: 265 seconds]
quinn has quit [Ping timeout: 272 seconds]
rsoeldner has joined #nixos
xd1le has joined #nixos
gustavderdrache has joined #nixos
<rsoeldner> Hi, can anyone provide a simple example with a machine configuration (for nixops) with nginx and tls\ssl cert. I have set `enableACM = true;`. It looks like a default cert is generated but to my understanding letsencrypt will generate one and a service is later exchanging these certs ?
<asbachb> Is x-restart-triggers a nixos construct? I don't find systemd documentation.
<pistache> asbachb: yes
<pistache> asbachb: it is handled by NixOS's activation scripts, to restart the service when the triggers change
<{^_^}> [nixpkgs] @marsam opened pull request #88695 → pythonPackages.sqlparse: 0.3.0 -> 0.3.1 → https://git.io/JfaRp
<asbachb> pistache: Thanks.
<{^_^}> [nixpkgs] @marsam opened pull request #88696 → pythonPackages.pglast: 1.10 -> 1.11 → https://git.io/JfaRh
<{^_^}> [nixpkgs] @mudrii closed pull request #88010 → maintainers: add mudrii → https://git.io/Jf07F
justanotheruser has quit [Quit: WeeChat 2.7.1]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @mudrii closed pull request #88013 → Pulumi Update 1.12.0 > 2.2.1 → https://git.io/Jf0dw
jmeredith has quit [Quit: Connection closed for inactivity]
alp has quit [Quit: Leaving]
cosimone has quit [Quit: Quit.]
codygman has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #88697 → libva: Switch from GNU Autotools to Meson → https://git.io/Jfa02
numkem has joined #nixos
<numkem> clever: I would have never figured that... thanks!
jakobrs has joined #nixos
<kloenk> Is there a way to show the signature on a store-path?
<jakobrs> I was wondering, why are parts of Nix being reimplemented in Rust?
<jakobrs> I don't mean this in a negative way, genuinely just wondering.
quinn has joined #nixos
<jakobrs> kloenk: Isn't it just called /nix/store/<path>.sig?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6817991464d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<kloenk> didn't found any file beside the path itself and the .drv file
xd1le has quit [Ping timeout: 260 seconds]
fmcs has joined #nixos
proofofkeags has quit [Remote host closed the connection]
xd1le has joined #nixos
proofofkeags has joined #nixos
LevelChart8 has joined #nixos
shafox has quit [Remote host closed the connection]
<hyperfekt> the file for fetchzip mentions that the checksums for github archives can change, is this still true?? :o
fusion809 has quit [Remote host closed the connection]
codygman has joined #nixos
cr4y1 has quit [Ping timeout: 246 seconds]
fendor has quit [Ping timeout: 265 seconds]
proofofkeags has quit [Ping timeout: 256 seconds]
Habbie has joined #nixos
<infinisil> kloenk: With the experimental `nix` command there's `nix path-info --sigs`
<Habbie> hello! I just installed Nix on Debian Buster, and I'm trying `nix-shell '<nixpkgs>' -A powerdns` as suggested by the docs, but i don't get a fresh shell, there is no output (except the first time when it downloads a lot of things), and it exits 1
<Habbie> how can i debug this?
xd1le has quit [Read error: No route to host]
zebrag has quit [Quit: Konversation terminated!]
<jakobrs> Hm, it seems the rust code was committed directly to master
<jakobrs> at least I can't find any relevant branches or prs
zebrag has joined #nixos
codygman has quit [Ping timeout: 256 seconds]
<jakobrs> Habbie: try nix-build '<nixpkgs>' -A powerdns
<jakobrs> no wait
<Habbie> also, what does '<nixpkgs>' mean there?
<jakobrs> That's an ... interesting error
<jakobrs> '<nixpkgs>' is the standard package repository
xd1le has joined #nixos
<jakobrs> `nixpkgs` is the channel name
<jakobrs> Are you sure it exits 1? Also, what shell do you use?
<Habbie> my shell is bash
<Habbie> i'm sure it exits 1
<infinisil> jakobrs: nix-shell always uses bash
<Habbie> if i run it under strace it behaves differently in a way i cannot immediately explain
<jakobrs> infinisil: I meant what shell nix-shell was launched *from*
<infinisil> I see
<Habbie> 24596 pts/4 S+ 0:00 bash --rcfile /tmp/nix-shell-24596-0/rc
<Habbie> this process exists when running nix-shell under strace
<jakobrs> This is definitely abnormal behaviour, `nix-shell '<nixpkgs>' -A powerdns` works fine for me.
<Habbie> and ctrl-D stops strace and that process
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<jakobrs> Does nix work right otherwise? Are you able to do, say, `nix-shell -p vim`?
<Habbie> same - first time a download, then exit 1. second time, silence, and exit 1
<jakobrs> ... does nix-build work? or nix-env?
<jakobrs> or `nix run`?
<Habbie> i don't yet know how to use those commands, sorry
<jakobrs> Try:
<jakobrs> (one of)
<jakobrs> nix run nixpkgs.vim # should start a shell with vim available
<jakobrs> nix build nixpkgs.vim # should download vim
<jakobrs> nix-build '<nixpkgs>' -A vim # the same
<jakobrs> nix-env -iA nixpkgs.vim # install vim
<Habbie> which vim -> /nix/store/p7w8v85cqs4p9a5b3a2hbli54lhy2jfv-vim-8.2.0510/bin/vim
<jakobrs> Erm, I'm sorry, but I don't think I have the time to help right now, sorry. Try to get help from someone else here, or possibly open an issue, because this is *definitely* not intentional behaviour.
<{^_^}> [nixpkgs] @SFrijters opened pull request #88698 → WIP maestral: 0.6.4 -> 1.0.3 → https://git.io/JfaEJ
<Habbie> jakobrs, it's appreciated
jhillyerd has joined #nixos
<Habbie> 'nxi run nixpkgs.vim' makes vim available, so that works - something is preventing nix from showing [nix-shell] in my shell prompt, it appears
jhillyerd has quit [Client Quit]
<jakobrs> `nix run` is essentially a reimplementation of `nix-shell -p`, so it seems likely to me that it's a bug with nix-shell (and the other "old" nix commands)
<jakobrs> Based on that I'd probably open an issue.
<Habbie> i killed off liquidprompt in my .bashrc and now 'nix-shell -p bash' shows [nix-shell]
jakobrs has left #nixos ["WeeChat 2.7.1"]
<Habbie> ok, i'm pretty sure liquidprompt is causing this pain
jhillyerd has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88699 → python37Packages.opt-einsum: 3.1.0 -> 3.2.1 → https://git.io/JfaEt
<Habbie> https://github.com/NixOS/nix/issues/787 'The only clue was that the error code was 1.'
<{^_^}> nix#787 (by sullerandras, 4 years ago, open): liquidprompt breaks nix-shell and nix-build
<Habbie> there we go
anderson_ has quit [Ping timeout: 260 seconds]
nk3 has joined #nixos
fmcs has left #nixos [#nixos]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88700 → python27Packages.pdf2image: 1.10.0 -> 1.13.1 → https://git.io/JfaEZ
opthomasprime has quit [Quit: Leaving.]
Chiliparrot has joined #nixos
<{^_^}> [nixos-org-configurations] @endocrimes opened pull request #112 → tf/cache: Redirect HTTP to HTTPS → https://git.io/JfaEc
o1lo01ol1o has quit [Ping timeout: 272 seconds]
codygman has joined #nixos
xd1le has quit [Ping timeout: 260 seconds]
justsomeguy has left #nixos [#nixos]
<nk3> is there a way to disable colorization in nix search output?
xd1le has joined #nixos
agsdheidjd has quit [Ping timeout: 256 seconds]
fresheyeball has joined #nixos
<fresheyeball> hey out there
<fresheyeball> I would like to try out rofi, and so far it's pretty great
<fresheyeball> I see examples online of adding plugins to rofi with
<fresheyeball> rofi.overrides { plugins = []; };
<{^_^}> [nixpkgs] @adisbladis opened pull request #88701 → transmission: 2.94 -> 3.00 → https://git.io/JfaEo
hmpffff has quit [Quit: nchrrrr…]
<fresheyeball> but it says plugin's is an unexpected arguement
<cole-h> `rofi.override`, not overrides (unless that was a typo)
<fresheyeball> oh
<cole-h> adisbladis: 👀
<fresheyeball> let me try that
<clever> error: Package ‘HTF-0.14.0.3’ in /home/clever/apps/nixpkgs-older/pkgs/development/haskell-modules/hackage-packages.nix:9295 is marked as broken, refusing to evaluate.
<fresheyeball> pkgs.rofi.overrides <- attribute overrides missing
<{^_^}> [nixpkgs] @veprbl merged pull request #88047 → texlive: build all official schemes on Hydra → https://git.io/JfE8H
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JfaEK
<fresheyeball> cole-h: ^
<cole-h> > pkgs.rofi.override
<{^_^}> { __functionArgs = <CODE>; __functor = <CODE>; }
<cole-h> You're still tacking on that extra s
<fresheyeball> with the s, I get attribute overrides missing
<cole-h> > pkgs.rofi.override { plugins = [ pkgs.rofi-emoji ]; }
<{^_^}> "<derivation /nix/store/drsbxq51ww0gic90bbf67rbj87i7zcay-rofi-1.5.4.drv>"
<fresheyeball> without the s, I get unexpected argument 'plugins',
<cole-h> Yes, remove that extra s
<cole-h> wot
<cole-h> Full paste, please.
<fresheyeball> rofi-with-plugins = pkgs.rofi.override { plugins =
<adisbladis> cole-h: re transmission?
<fresheyeball> [ pkgs.rofi-file-browser pkgs.rofi-systemd ]; };
<cole-h> adisbladis: Is version let-bound just so you don't need to `rec`?
<cole-h> adisbladis: Yep :D
<cole-h> ,paste fresheyeball
<{^_^}> fresheyeball: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<adisbladis> cole-h: Yep, I have a deep dislike for rec
<fresheyeball> cole-h: it's only the two lines of code
<clever> cole-h: mostly, and for the confusion when people try to override version= and rec doesnt listen
<adisbladis> It's syntactically dishonest :P
<cole-h> fresheyeball: I want to see the whole file. The fact it works in the repl/here means you got something else going on.
<clever> putting it somewhere you cant override, makes it a bit more obvious, you cant override it
<cole-h> adisbladis: I see. Next time I vbump one of my packages, I'll do the same. Good idea.
<cole-h> adisbladis++ clever++
<{^_^}> clever's karma got increased to 0b110110010
<{^_^}> adisbladis's karma got increased to 85
<infinisil> > stable.rofi.override { plugins = []; }
<{^_^}> anonymous function at /var/lib/nixbot/nixpkgs/nixos-19.09/repo/pkgs/applications/misc/rofi/wrapper.nix:1:1 called with unexpected argument 'plugins', at /var/lib/nixbot/nixpkgs/nixos-19.09/repo/lib/cu...
<adisbladis> cole-h: I've wanted transmission-qt in nixpkgs for years
<{^_^}> [nixpkgs] @veprbl merged pull request #86815 → pulumi: 1.12.0 -> 2.1.0 → https://git.io/JfG3x
<{^_^}> [nixpkgs] @veprbl pushed commit from @MarcoPolo to master « pulumi: 1.12.0 -> 2.1.0 (#86815) »: https://git.io/JfaEQ
<fresheyeball> infinisil: nice
<infinisil> Oh that's 19.09
<infinisil> > :v stable
<{^_^}> stable = import <nixos-19.09> { config = pkgsConfig; }
<infinisil> > stable = import <nixos-20.03> { config = pkgsConfig; }
<{^_^}> stable defined
<cole-h> > pkgs.rofi.override { plugins = [ pkgs.rofi-file-browser pkgs.rofi-systemd ]; }
<{^_^}> "<derivation /nix/store/25370x9v7asxqb538qgpgpdj31gdmp6n-rofi-1.5.4.drv>"
<infinisil> > stable.rofi.override { plugins = []; }
<{^_^}> anonymous function at /var/lib/nixbot/nixpkgs/nixos-20.03/repo/pkgs/applications/misc/rofi/wrapper.nix:1:1 called with unexpected argument 'plugins', at /var/lib/nixbot/nixpkgs/nixos-20.03/repo/lib/cu...
<cole-h> Huh
<infinisil> Also fails with 20.03, so that plugins argument seems to be an unstable thing :)
veleiro`` is now known as veleiro
<cole-h> Seems like it didn't make it into 20.03, then :)
veleiro has joined #nixos
veleiro has quit [Changing host]
<fresheyeball> how to do it with 20.03?
<fresheyeball> I would rather use stable
<cole-h> You could try -> ,unstable
<cole-h> ,unstable
ent has quit [Remote host closed the connection]
philr_ has joined #nixos
hmpffff has joined #nixos
<cole-h> So you can install the package from unstable and keep the rest of your system on stable :)
<fresheyeball> it hasn't been touch since December 2019
<fresheyeball> wtf
hmpffff has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88702 → python37Packages.minidb: 2.0.3 -> 2.0.4 → https://git.io/Jfaue
<fresheyeball> cole-h: ok I am trying rofi with plugins against nixpkgs master
<fresheyeball> that worked
<cole-h> :)
tobeportable has joined #nixos
<fresheyeball> cole-h++
<{^_^}> cole-h's karma got increased to 59
orivej_ has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
jklmh has joined #nixos
raiaq has joined #nixos
agsdheidjd has joined #nixos
anderson_ has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.7.1]
<numkem> clever: I've come back to it after a much longer than the negative timeout and it's still happening. Is it possible that nixops does something different and bypasses the binary caches?
leotaku has joined #nixos
<clever> numkem: which path is giving the error?
<Habbie> also ran into https://github.com/NixOS/nix/pull/3431 :)
<{^_^}> nix#3431 (by pmiddend, 9 weeks ago, merged): installer: also test for xz to unpack
andreoss has quit [Ping timeout: 258 seconds]
<numkem> clever: when doing the deploy itself. But trying to get the outPath variable from the package in nix repl does the same thing. You can tell it's trying to download something but it fails. I guess it's unrelated to nixops
<clever> numkem: what is the error it gives in repl?
craftyguy has joined #nixos
<bqv> > pkgs.python3Packages.pexpect.version
<{^_^}> "4.7.0"
<numkem> clever: path does not exists and cannot be created
<Henson> I'm trying to use "nix-store --import" and I'm getting a "path .... is not valid" error. It works on 2 other machines, but not on a third. Any suggestions?
<numkem> clever: only happens with one of the project in my hydra
<clever> numkem: and which path are you trying to build?
<numkem> clever: does that help? when I try to do nix-env -iA <package> it says: warning: name collision in input Nix expressions, skipping...
<clever> numkem: thats a different error, about you having colliding channel names between your user and root
agsdheidjd has quit [Ping timeout: 260 seconds]
<numkem> clever: the path should already be built by hydra and in the channel. It is present in hydra's nix store
agsdheidjd has joined #nixos
orivej_ has joined #nixos
<craftyguy> I can't figure out for the life of me what the working 'enable python3 in vim' config in a global configuration.nix is supposed to look like: https://nixos.wiki/wiki/Vim#Python_3_support_for_vim
orivej has quit [Ping timeout: 265 seconds]
<clever> numkem: and what is the actual path?
<numkem> clever: in this case /nix/store/c4iqxx69kv5ln5b9jw84fmg710f6cwy1-testsuite-0.0.1
<clever> numkem: and does `nix show-config | grep substituters` show the hydra?
drakonis_ has quit [Read error: Connection reset by peer]
<numkem> clever: no... wtf
hmpffff has joined #nixos
<clever> numkem: then you simply never added the hydra to nix.conf
<numkem> clever: and cache.nixos.org is there twice
<gordon> hi
<numkem> clever: I did do it in configuration.nix as nix.binaryCaches
<Henson> what happens if I try to nix-store --import something that is not a complete closure? Can I import arbitrary store paths, or do they need to have all of their dependencies?
<cole-h> clever: Do you happen to know the difference between `nix.binaryCaches` and `nix.trustedBinaryCaches`?
<cole-h> Is `trustedBinaryCaches` used for everybody, while `binaryCaches` is just for trusted users?
<clever> cole-h: trustedBinaryCaches lets a user opt-in by using `--option substituters` without that user being trusted
<clever> cole-h: binaryCaches is the list of default caches, which are trusted automatically
<gordon> i’ve written a derivation for borgmatic, a kind of front-end for borgbackup. Borgmatic doesn’t directly depends on borgbackup, but it will call it. I’ve put borgbackup as a dependency, but the borg command isn’t in my path (because it’s an indirect pull in my env, i think). But in my borgmatic conf file, i’d have to put the path to the borg command, what’s the best way to do this properly?
<cole-h> clever: Gotcha, thanks. I'll put my personal cachix into `binaryCaches` then :^)
<clever> cole-h: yeah
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88703 → python27Packages.helpdev: 0.6.10 -> 0.7.1 → https://git.io/Jfauy
<Henson> reading the nix-store manpage import closely reveals my problem: missing dependencies in the import file
<{^_^}> [nixpkgs] @bhipple merged pull request #88665 → python27Packages.bitarray: 1.2.1 -> 1.2.2 → https://git.io/JfatU
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JfauF
<clever> Henson: you usually want to just use `nix copy` or `nix-copy-closure`, rather then import/export
raiaq has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @WilliButz merged pull request #88242 → grafana: 6.7.3 -> 7.0.0 → https://git.io/Jfz2B
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/Jfaux
<Henson> clever: I'm deploying to a remote machine. Some of those paths come from the nix cache. Other paths are built on my computer. I tried copying the paths not in the nix cache into a NAR file that I can download from a fast server and import, instead of my local computer sending it over my slow internet. Importing the NAR file first was the problem, because dependencies had to be downloaded...
<Henson> clever: from the nix cache first. After downloading them I was able to import the NAR file and skip sending the stuff over my slow internet connection.
<clever> Henson: then you want `nix copy --to local?root=/mnt/` or `nix copy --to file:///mnt/`
dxtr[m] has joined #nixos
<clever> Henson: both of those will create a directory containing a closure, which you can then --from on the other end
orivej_ has quit [Ping timeout: 256 seconds]
<Henson> clever: will that have the same missing dependencies problem as nix-store --import? Or will it just copy the store paths over regardless?
orivej has joined #nixos
<clever> Henson: it will always copy every dependency
<{^_^}> [nixpkgs] @flokli merged pull request #88610 → wireguard-go: fix executable name → https://git.io/Jf2Pw
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jfauh
o1lo01ol1o has joined #nixos
<Henson> clever: right, but I don't want it to copy every dependency. I want some to be downloaded from the nix cache, and the ones not in the nix cache to come from the NAR file.
<clever> Henson: that gets complex real fast because you dont know what paths the machine is lacking, and what paths may be on the cache
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #88568 → last: 1060 -> 1061 → https://git.io/Jf2GD
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jfazv
drakonis_ has joined #nixos
<Henson> clever: true, but I'm making certain assumptions. I don't mind if my computer has to upload some extra that are missing, but I know the bulk of them (about 750 MB) are going to be needed. Instead of uploading 750 MB from my computer at 100 kB/s I want to download the NAR file at 2 MB/s and then upload whatever little bits were missing.
<clever> Henson: you can just give nix copy the path to the start of that 750mb closure
<numkem> clever: ok, I'm getting a different behavior when adding my binary cache to extra-substituers... Now i have 2 questions. Why is binaryCaches not affecting it but works during a nixos-rebuild swich? And any examples on how to not bork the current trusted keys (got an error saying it wasn't valid key)?
<clever> and just exclude the other things
<clever> numkem: the cache.nixos.org key is in the default list, so you loose it upon setting any extra keys
<clever> numkem: you need to lookup that default key, and add it back yourself
<{^_^}> [nixpkgs] @ryantm merged pull request #88585 → mbuffer: 20191016 -> 20200505 → https://git.io/Jf2Rl
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jfazt
<{^_^}> [nixpkgs] @ryantm merged pull request #88663 → python27Packages.EasyProcess: 0.2.10 -> 0.3 → https://git.io/JfaLB
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfazO
<Henson> man, being able to do "nixos-rebuild test" is so awesome. I can park a "sleep 10m;reboot" in a screen session on a remote computer, then atomically reconfigure its networking, then test to make sure it works before cancelling the reboot and running "nixos-rebuild switch". So awesome.
<pistache> Henson: you can also use --rollback to avoid the reboot
<{^_^}> [nixpkgs] @ryantm merged pull request #88512 → freetds: 1.1.33 -> 1.1.39 → https://git.io/JfgHI
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jfazc
<clever> Henson: you can also just resolve the /run/current-system symlink before you test, then run $THATLINK/bin/switch-to-configuration test, to switch back to whatever it was before
<clever> --rollback can have unpredictable affects sometimes when ran repeatedly
<Henson> pistache: the reboot is there in case the "nixos-rebuild test" renders the system unreachable. Then it will reboot into the previous reachable state.
<clever> Henson: but rollback can revert it back to the previous state as well
<{^_^}> [nixpkgs] @ryantm merged pull request #88469 → tendermint: 0.32.11 -> 0.32.12 → https://git.io/Jfg8l
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfazC
teto has quit [Quit: WeeChat 2.8]
<pistache> yes I prefer running switch-to-configuration to the explicit working state, I'm not sure I completely understand --rollback myself
<energizer> <<clever> --rollback can have unpredictable affects sometimes when ran repeatedly> why's that?
<Henson> clever: ahh, I see what you and pistache are saying. So "sleep 10m;nixos-rebuild --rollback"
<clever> energizer: test may not create a generation, so rollback might go back further then you meant
<clever> energizer: also, if you run rollback twice, but only made 1 generation, it can go back too far
<clever> energizer: also, if you switch1, rollback, switch2, rollback, it goes to switch1, not what it was before switch2
<pistache> Henson: clever's suggestion will be more predictable
<Henson> pistache, clever: thanks for your suggestions
<clever> energizer: rollback goes to current-1, not previous, so if you are on generation 10, switch to 12, then rollback, you wind up on 11
<clever> the difference only crops up if youve already had several failures and keep doing rollbacks
anderson_ has quit [Remote host closed the connection]
<pistache> clever: thanks, that explains why I got confused by rollback's behaviour
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88704 → python37Packages.mpv: 0.4.5 -> 0.4.6 → https://git.io/Jfaz8
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88705 → python27Packages.paste: 3.2.2 -> 3.4.0 → https://git.io/JfazV
<energizer> clever: is there a rebuild command where i can just pass it a hash or a generation number that doesn't require me to go looking in /nix/var/?
kapil_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<clever> energizer: nix-env --profile /nix/var/nix/profiles/system --rollback 42
<clever> might that work?
pat_h has joined #nixos
asbachb has quit [Remote host closed the connection]
<energizer> i think i just want a command like git checkout
<energizer> tho that makes me think i might just literally want git checkout
<bqv> just run switch-to-configuration
<energizer> bqv: you mean /nix/var/profiles/system-103-link/bin/switch-to-configuration ?
<bqv> yeah
knupfer has joined #nixos
proofofkeags has quit [Quit: Leaving...]
jhillyerd has quit [Quit: WeeChat 2.7.1]
<energizer> those don't have commit messages
<numkem> clever: is the format for the public keys in trusted-public-keys something like <hostname>-1:<public_key> ?
<superbaloo> is there a way to track files used by nix-instanciate?
<clever> numkem: the -1 is part of the name
<bqv> energizer: ...what are you trying to achieve?
<clever> numkem: and yeah
<energizer> bqv: figure out which one i mean to switch to
<{^_^}> [nixpkgs] @erebid opened pull request #88706 → terraria-server: 1.4.0.3 -> 1.4.0.4 → https://git.io/Jfazb
ent has joined #nixos
leungbk has joined #nixos
<bqv> well if you didn't note down which generation was what, then obviously you're not going to be able to
<numkem> clever: what if I have a port? I've tried putting the same key I gave in nix.binaryCachePublicKeys but it's not accepting it
<numkem> clever: the cache is working if I disable key checks
<superbaloo> I guess nix-instanciate -v would do
<clever> numkem: the port isnt part of the key
<clever> numkem: the name in the key, must match the name in the signatures
orivej has quit [Ping timeout: 240 seconds]
<numkem> clever: in my case it's hydra, but it's not happy with it somehow
<leungbk> I'm having trouble using nodePackages.create-react-app. Would anyone happen to know of any quirks with the package on NixOS? Here's the error I'm getting: http://paste.debian.net/1148471
<energizer> there was a project for tightly integrating nixos with git, anybody remember what it's called?
orivej has joined #nixos
<clever> numkem: try downloading http://cache.example.com/hash.narinfo, for /nix/store/hash-name
<numkem> clever: also might have an idea as to why it says it can't build the package... the `src` is `./.` that would make sense
<clever> numkem: there will be a signature in there, along with a name
<clever> > "${hello}"
<{^_^}> [mobile-nixos] @samueldr merged pull request #148 → Document and fixup the "taxonomy" → https://git.io/JfRi5
<{^_^}> [mobile-nixos] @samueldr pushed 10 commits to master: https://git.io/Jfazj
<{^_^}> "/nix/store/df15mgn0zsm6za1bkrbjd7ax1f75ycgf-hello-2.10"
<numkem> clever: copy that one then
<{^_^}> [mobile-nixos] @samueldr merged pull request #151 → initrd: Remove leftover hack from when isContainer was used → https://git.io/JfaId
<{^_^}> [mobile-nixos] @samueldr pushed 2 commits to master: https://git.io/Jfage
<clever> Sig: cache.nixos.org-1:+ukfbj7lDJgRkA9rYoujpAw484EYsfpCqoy2sB+rWeFMmgPaIYmPAqpUbCYvihqOwTXv6MuXXLtdNVZZpUntAA==
<clever> numkem: so the public key must begin with cache.nixos.org-1:
<numkem> clever: ok, it is hydra if I swap that with mine
<clever> numkem: the name comes from when you ran nix-store --generate-something
<ldlework> It would be cool if there was a way to load strings from a file, such that embedded nix expressions get interpolated/evaluated as if they were lexically locally to where that text would be loaded from
<ldlework> like as if you had a string literal instead
<clever> ldlework: builtins.scopedImport
<ldlework> :O
<numkem> clever: the signing works just fine with nix.BinaryCaches (only by nixos-rebuild?)
<clever> ldlework: its like import, but it can temporarily mutate the globals for the imported thing
<pistache> does anyone know if the functions in the Python test driver are thread-safe ?
<clever> ldlework: this example overrides the __mul function, causing `1 * 2` to return boo
<ldlework> clever: ah but you still have to respecify all thvariables
<ldlework> clever: nix really promotes long swaths of bash just stuck in the code as a literal string because it's more conveinent to get interpolated values into the string that way
<cole-h> Does anybody know how to prevent kernel messages from bleeding into my TTYs?
<bqv> yes
<clever> ldlework: there is also substututeAll and pkgs.substituteAll
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88707 → python27Packages.geopy: 1.21.0 -> 1.22.0 → https://git.io/JfagU
<bqv> cole-h: correction, no
<ldlework> clever: the basic problem is you're in some function right, there's a bunch of local variables, then there's a string with 200 lines of bash, which have embedded nix expressions with all the variables in scope etc
<cole-h> bqv: :(
<bqv> (was searching my shell history)
<bqv> i remember a command to fix that
<ldlework> there's no way to load a string "as if" you typed it literally, without actually typing it literally
<cole-h> Was it a sysctl one?
<bqv> edit a file in /sys to be "4 3 4 8" or something
<bqv> yeah
<bqv> that!
<bqv> whatever that is
<ldlework> everything will have you pass all the variables into whatever is doing the loading
anderson_ has joined #nixos
<cole-h> kernel.printk probably, then
<numkem> clever: I've tested through configuration.nix to import my channel and install something in systemPackages and it works as expected. Is there a way to pass a binary cache to nixops if nix.binaryCaches aren't used by default?
<ldlework> which is typical, but i just notice that it results in lots of long bash string literals
<clever> numkem: nixops will respect both the local and remote nix.conf as it deploy
<clever> s
<clever> numkem: first, it uses the local nix.conf, to build/fetch the entire closure of things
<anderson_> infinisil, can I open an "issue" on Styzx in order to discuss about fork it?
<anderson_> s/Styzx/Styx/
<clever> numkem: then based on the has fast network thing, it may allow the remote machine to use its own nix.conf to download things from caches
<ldlework> anderson_: you mean ldlework?
<infinisil> ^
<infinisil> (I have no relation to styx)
<clever> numkem: but its using the old nix.conf, from before the deploy
<anderson_> Oh, sorry!
<numkem> clever: is a there to pass it more arguments? to do like what nixos-rebuild does since that does work?
<anderson_> ldlework: the same message :).
<ldlework> anderson_: I have some issues I would like to open as well. We are waiting on adisbladis to move at least the primary repo.
<clever> numkem: substituteAll just takes a set of anything, and will replace each @foo@ with the foo from that set
<cole-h> bqv: I had that on my Arch install but commented it out, so I didn't think I needed it... Well, I'll find out if this works eventually :P
<clever> numkem: oops, wait, mixed you up with ldlework , lol
<bqv> heh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88708 → python27Packages.Nuitka: 0.6.7 -> 0.6.8.1 → https://git.io/Jfagk
<numkem> clever: haha
<ldlework> anderson_: however, since there are so many repos, I'm wondering if it makes sense to have a separate organization, but I'm not sure.
<clever> numkem: is the remote machine using any caches at all?
<ldlework> clever: yes, the issue is having to respecify all the variables. with a literal string, they're already local, so you just write the local literal string.
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #88439 → libaom: 1.0.0-errata1 -> 2.0.0 → https://git.io/JfgUf
<{^_^}> [nixpkgs] @orivej-nixos pushed 3 commits to staging: https://git.io/JfagI
<ldlework> with anything else, you'll have to pass all the variables that should be replaced, etc
<anderson_> ldlework: I think not. There are only two relevant ones as far as I looked: the website and the software itself.
<numkem> clever: none specified no. I'm trying to deploy using nixops to the hydra machine itself
<clever> numkem: i think you want to adjust deployment.hasFastConnection
<cole-h> Is there a way to remove the "run `nixos-help for the NixOS manual" message from the TTYs? I just want the login prompt and the NixOS version header stuff there.
LevelChart8 has quit [Quit: LevelChart8]
<anderson_> ldlework: The other repos are just styles and themes, I think they can be "merged".
<ldlework> a magic function that let you load a string from disk while interpolating based on the lexical scope of the call site would obviate whatever motivates so much long bash string literals
<clever> numkem: ah, i would expect the hydra machine to already have the paths in question?
<clever> ldlework: yeah, thats not really possible with current nix
<ldlework> anderson_: it means they cannot be managed and released independently
<numkem> clever: indeed, and they are there. So it's my local machine that is complaining because it doesn't have those paths
<ldlework> clever: yeah i know, i was more observing that since it can't, we got lots of really long bash string literals all over :)
<clever> numkem: yeah, the nixops machine will want the full closure on itself before it tries to deploy
<clever> numkem: so you need to setup nix.conf on that local machine first, to be able to pull everything from hydra
<numkem> clever: which is currently failing because of the weird problem with the trusted-public-keys
<clever> numkem: if you curl the narinfo like in the example above, what does the signature say?
<bqv> ,locate bin tree
<{^_^}> Found in packages: tree
<bqv> ..oh
<ldlework> anderson_: btw, I create #nixos-styx for us
<numkem> clever: Sig: hydra:[...] (longer than the public key)
<anderson_> ldlework: joining!
<clever> numkem: yeah, so your pubkey in nix.conf has to be in the form of hydra:<base64>
<clever> numkem: the command that generated the secret should also have made a public at the same time
<numkem> clever: I'm copying the same value as I put in nix.binaryCachePublicKeys
<numkem> clever: using that key through configuration.nix downloads the paths from the cache just fine
<clever> numkem: what is the exact error your getting?
<cole-h> That help message shows up due to `documentation.doc.enable = true;` -- just gotta `services.mingetty.helpLine = lib.mkForce "";`
<numkem> clever: substituter 'http://172.31.99.3:5000' does not have a valid signature for path '/nix/store/c4iqxx69kv5ln5b9jw84fmg710f6cwy1-testsuite-0.0.1'
<clever> numkem: that implies that you got the public key wrong, any change you used the name hydra for 2 different keys?
<clever> numkem: also, hydra has its own nix-serve built in, on the same port as the UI, you dont need nix-serve running seperately
<numkem> clever: it's a copy-paste straight. I only have that one key
<numkem> clever: ha! well I'll take that out. Where is that public-key set?
<craftyguy> I created a simple package that uses meson/ninja to build and install, among other things, a conf file under sysconfdir (e.g. /etc on other *nix systems). I can see it exists under /nix/store/<hash>/etc/<file>, but when I install with nix-env, it doesn't show up under /etc. what am I missing?
<craftyguy> other files are installed where they should be, e.g. the binary, manpages
<clever> craftyguy: nix-env can only ever modify ~/.nix-profile/
<clever> craftyguy: for things to get into /etc/, it must be done from a nixos module like configuration.nix
<numkem> clever: and you've put that file by hand there?
<craftyguy> clever: I see. so I need to figure out how to make my package installable by configuration.nix
<clever> numkem: `nix-store --generate-binary-cache-key` was just ran directly on hydra, that is the output path it was given
<craftyguy> or, submit a MR to add this to the nixpkgs repo
<numkem> clever: as root or as they hydra user?
<cole-h> Is there a way to do `systemctl --user=someuser restart unit` and restart a certain user's unit, *without* switching user with something like doas or sudo?
<clever> numkem: probably as the hydra user
<numkem> clever: that's what I did previously, let's see if I could re-use the same key
<craftyguy> clever: I thought (probably wrongly) that ~/.nix-profile would be an overlay onto /etc for the user
<craftyguy> what's the point of installing to ~/.nix-profile/etc if most programs don't know that sysconfdir is ~/.nix-profile when built with nix-build?
<clever> craftyguy: for config stuff, you usually run the program with `--config-file /path/to/config`
<craftyguy> that's obviously application-dependent. and many apps look to /etc for some default config if nothing exists in, e.g. XDG_CONFIG_HOME
<clever> craftyguy: for defaults, you usually patch it to read from $out/etc/, the same place it installed to
<clever> craftyguy: that often happens automatically, because the sysconfdir you passed to it, gets baked into the code
<craftyguy> maybe that's what I'm missing then. I need to tell meson somehow in the default.nix that sysconfdir is '$out/etc'?
<clever> craftyguy: it usually happens via the same --prefix=$out logic
<clever> that would have put things at /usr/local/etc/ on another distro
<craftyguy> right. I was using the 'defaults' taht nix has for running meson, which I guess sets it to /etc
<craftyguy> I mean, if this comment is still accurate: https://github.com/NixOS/nixpkgs/issues/65718
<{^_^}> #65718 (by jtojnar, 42 weeks ago, open): Do not set DESTDIR in makeFlags
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88709 → python27Packages.parsel: 1.5.2 -> 1.6.0 → https://git.io/Jfaga
<numkem> clever: ok, it's hydra-www not hydra that needs to see the key. But now I have the same behavior as with nix-serve
<clever> numkem: can you paste the exact line from nix.conf, that has all of the public keys?
<numkem> clever: is it considered save to post that here? I guess so it's a public key
<clever> yeah
fendor has joined #nixos
<numkem> clever: so `nix show-config | grep trusted-public` gives: trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= numkem.cachix.org-1:GpcvDVDgB8238jTD3q66tgFKL1XrK0n1QMNcwMy87DQ= all-hies.cachix.org-1:JjrzAOEUsD9ZMt8fdFbzo3jNAyEWlPAwdVuHw4RD43k=
<clever> numkem: yep, all of those look valid at a glance
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to staging « ffmpeg: add libaom to build inputs only if enabled »: https://git.io/Jfago
<clever> numkem: what about `curl http://172.31.99.3:5000/c4iqxx69kv5ln5b9jw84fmg710f6cwy1.narinfo | grep Sig` ?
<numkem> clever: wait a sec... it ignored mine
drakonis_ has quit [Ping timeout: 246 seconds]
<hplar> w
mac10688 has joined #nixos
<numkem> clever: yup, mine that starts with "hydra" isn't there
<clever> numkem: sounds like you forgot to nixos-rebuild switch?
<numkem> clever: tried again to double make sure, it's not there
remirol has joined #nixos
<mac10688> Does anyone know if nixos is a debian system? I'm trying to run my .xsessionrc file but it won't run
<mac10688> not sure what's up with it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88710 → python27Packages.isbnlib: 3.10.0 -> 3.10.1 → https://git.io/JfagX
<clever> mac10688: one minute
<numkem> clever: I'm defining these options through nix.extraOptions... it took the extra-substituers but not this one
gustavderdrache has left #nixos [#nixos]
<clever> mac10688: it will source ~/.xprofile if it exists, and then exec ~/.xession if it exists (which blocks the remaining normal logic)
<mac10688> ok i'll check that out, thanks clever
<clever> numkem: extraOptions wont merge duplicates correctly, look at the resulting /etc/nix/nix.conf
lorimer has quit [Ping timeout: 246 seconds]
wnklmnn has quit [Ping timeout: 260 seconds]
<clever> numkem: you must use nix.binaryCachePublicKeys for it to merge right
<numkem> clever: yet my key is already in there
<clever> numkem: do you have duplicate trusted-public lines in nix.conf ?
<craftyguy> I tried adding mesonFlags=["-Dsysconfdif=$(out)/etc"], but it just installs to a literal "~/.nix-profile/$(out)/etc", lol
<eyJhb> Since #home-manager seems dead to this question, maybe someone here knows it
<eyJhb> Currently getting the error `Error installing file '.config/git/config' outside $HOME`, with a somewhat basic config here - https://termbin.com/ihx9
<clever> craftyguy: thats where you want ${builtins.placeholder "out"}
<numkem> clever: nope one line
<clever> numkem: is there another nix.conf in $HOME ?
<craftyguy> clever: ohh, let me try that
<clever> numkem: .config/nix/nix.conf
<numkem> clever: ugh.. yes
rsoeldner has quit [Remote host closed the connection]
<cole-h> Do .config/nix/nix.conf and /etc/nix/nix.conf get merged?
<numkem> so I'd be better off putting it in configuration.nix or ~/.config/nix/nix.conf?
<clever> cole-h: somewhat, but each key just overwrites the other
<clever> numkem: i would just put it all in configuration.nix
<rycee> eyJhb: At the moment HM only manages files inside your home directory, and I imagine `/persistent/home/eyjhb` is not the same as `$HOME`.
<rycee> eyJhb: If you want HM to consider `/persistent/home/eyjhb` your home directory then it should work to set `home.homeDirectory = "/persistent/home/eyjhb"` in your configuration.
CMCDragonkai has quit [Remote host closed the connection]
CMCDragonkai has joined #nixos
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<numkem> clever: what do you know, it's fine now my key is in nix.conf global... that is some weird behavior no? is it becuse my user is a trusted use that it reads my file?
drakonis_ has joined #nixos
<clever> numkem: not entirely sure how the per-user nix.conf plays a role when using nix-daemon, things get a bit complex there
<rycee> eyJhb: Although, I have no idea what `home.persistence` is doing.
wavirc22 has joined #nixos
<eyJhb> rycee: I wouldn't have imagined that was the issue, since it was complaining bout git. But I see, it is because it symlinks the config from the persistent
<eyJhb> THanks rycee ! ;) Savior of my night
<eyJhb> rycee++
<{^_^}> rycee's karma got increased to 27
remirol has quit [Ping timeout: 265 seconds]
<numkem> clever: and it works just perfectly now... that was a crazy ride. Massive thanks to you! clever++
<{^_^}> clever's karma got increased to 435
<numkem> clever++ because one wasn't enough
<{^_^}> clever's karma got increased to 436
<eyJhb> It is a module that talyz made, when having a tmpfs $HOME to easily have persistent things. https://github.com/talyz/nixos-config/blob/master/home-talyz-nixpkgs/modules/persistence.nix
<eyJhb> Seems nice so far, when I don't srew it up
<ldlework> adisbladis: hey i seriously don't mean to bug you about this, but anderson_ and I are just wondering if you'll get to the repo today, as we are compiling some issues to file and stuff
<energizer> you could make the repo and transfer it later
lorimer has joined #nixos
remirol has joined #nixos
lorimer has quit [Ping timeout: 272 seconds]
corpix has quit [Quit: corpix]
leungbk has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #88713 → sherpa: 2.2.9 -> 2.2.10 → https://git.io/Jfa2q
kapil_ has joined #nixos
<ldlework> energizer: don't want to file issues twice. we'll just use an org-mode file for now, we're just curious so as to temper our anticipation
<ldlework> BTW, anyone who is interested in following / contributing to Styx dev can join us in #nixos-styx
<{^_^}> [nixpkgs] @doronbehar opened pull request #88714 → jdk_latest: init at 14 → https://git.io/Jfa2O
<{^_^}> [nixpkgs] @marsam merged pull request #88696 → pythonPackages.pglast: 1.10 -> 1.11 → https://git.io/JfaRh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfa2G
<cole-h> I'm losing my mind with nginx. I just want `localhost/torrents` to be the same as `localhost:9091/transmission/web/` without needing all that other crap >:(
<{^_^}> [nixpkgs] @marsam merged pull request #88707 → python27Packages.geopy: 1.21.0 -> 1.22.0 → https://git.io/JfagU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfa2W
remirol has quit [Ping timeout: 265 seconds]
<infinisil> cole-h: What's the current problem?
<cole-h> infinisil: Same one as last time x) `services.nginx.virtualHosts."localhost".locations."/sonarr/" = { proxyPass = "http://127.0.0.1:8989/"; };` gives me a busted webpage because it's trying to access relative files
<infinisil> 8989 is 9091?
<cole-h> Sorry that was for sonarr
inkbottle has joined #nixos
lorimer has joined #nixos
<cole-h> Either way, both don't work ;D
<clever> cole-h: depending on if the proxyPass ends with a / or not, it will either direct you to /sonaar/ or / directly, i think
<infinisil> Did you include the full location in the torrent redirect?
m0rphism has quit [Quit: WeeChat 2.7.1]
<clever> cole-h: you will want to tcpdump port 8989 and confirm what exactly nginx did to your url
numkem has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
<cole-h> infinisil: I tried `http://127.0.0.1:9091/transmission/web` with and without the trailing slash. No dice.
pat_h has quit [Ping timeout: 256 seconds]
<clever> cole-h: and if you tcpdump port 8989, what did it do to the url?
<cole-h> It does redirecet me to `localhost/transmission/web`, which would be what I wanted... if transmission's web was running on port 80
zebrag has quit [Ping timeout: 256 seconds]
<cole-h> clever: Doesn't appear to even go to 8989 when I visit `localhost/sonarr/`
o1lo01ol1o has quit [Remote host closed the connection]
<cole-h> Or rather, I'm not seeing any output
<cole-h> Even if I go directly to localhost:8989
vyorkin has joined #nixos
<clever> cole-h: you want to run tcpdump on the server, to sniff the traffic on the lo interface, beteen nginx and 127.0.0.1:8989
<talyz> eyJhb rycee: Yeah, that's a limitation, especially for apps mixing state and config files in the same folder, like gnupg..
<cole-h> clever: This is all Greek to me. How would I do that?
<clever> cole-h: tcpdump -i lo port 8989
<clever> cole-h: tcpdump -i lo port 8989 -A would probably help more
<cole-h> Ah, now I see stuff
<cole-h> (going right to it at least)
<clever> cole-h: and if you check the network console in chrome, what is failing?
<talyz> rycee: Do you know if it's possible to lift that limitation somehow?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/efe35454d4c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @chessai reopened pull request #71498 → libxsmm: init at 1.13 → https://git.io/JeRkZ
<vyorkin> hi, I'm trying to create a dev shell, but using nix flakes. But I have no idea how to do this properly. Here is what I've tried so far ttp://ix.io/2n9O
<cole-h> clever: They're all failing to get stuff like the stylesheet and scripts.
<cole-h> clever: https://gist.github.com/cole-h/e2b24f339dbc87b93e41c52442344fbe This is the output of the nginx unit.
<clever> cole-h: and what URL is it trying to load the stylesheet from?
<cole-h> clever: localhost/Content (where it is actually located at ${pkgs.sonarr}/bin/UI/Content)
<cole-h> Or rather, the files it's looking for are located at ${pkgs.sonarr}...
<clever> cole-h: if you check the html source for the page, how did it reference the stylesheet?
<cole-h> clever: with `href="/Content/bootstrap.css"`
<mac10688> clever: Thanks for the link earlier about default display manager. I think I learned something valuable. I have sddm display manager enabled. It was default config but I think it won't do me any good because I'm trying to configure xmonad
<clever> cole-h: then it expects /Content to be in the root of your http server
<mac10688> it seems that if I have sddm enabled, it won't try to read my .xsessionrc file
<mac10688> I'm about to test it
<clever> cole-h: you will need to setup another entry in locations, to proxyPass /Content to /Content
medvid has quit [Read error: Connection reset by peer]
<clever> mac10688: that default script is ran by all display managers, and the tail end is where it launches the chosen desktop manager
<mac10688> oh
<cole-h> clever: Since I also want to have `/torrents` accessible through the same way, is there any better way than a "/Content" proxypass?
<cole-h> (e.g. what if /torrents has a conflicting `Content` directory it wants)
<clever> mac10688: .xprofile lets you inject extra things, and .xsession lets you overirde that, and stop it from running the chosen desktop manager
<mac10688> ok that's good information
<clever> cole-h: patch the software to properly use a relative path
<cole-h> clever: Yeah, figured. Thanks for the help!
<cole-h> clever++
<{^_^}> clever's karma got increased to 437
medvid has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #88715 → home-assistant: fix zha in home-assistant → https://git.io/Jfa2V
<cole-h> etu: Got a question about your container setup with sonarr and friends. How do you access `series.lan`? Do you have a DNS entry or something for it?
<vyorkin> ok, nvm, we've figured it out :) here is the working flakes.nix which allows to run the SHELL=bash nix dev-shell: http://ix.io/2n9R
orivej_ has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
<etu> cole-h: Yes, my router has a dns entry in the local dns
<cole-h> etu: So basically it just looks like `192.168.1.69:8989 -> sonarr.lan`?
<etu> cole-h: well, I have nginx listening on port 80 on for that domain name and then it proxies into my container on the right port. So I enter http://sonarr.lan in my browser and don't have to worry about ports
chloekek has quit [Ping timeout: 272 seconds]
<etu> And yes I have configured that nginx host to not listen to the internet :p
<clever> cole-h: what about using virtual hosts, so you effectively have 2 different / dirs
<cole-h> Yeah, that sounds like what etu is doing (minus stuff being in containers)
<cole-h> Then the part I'll probably have trouble with becomes "how do I make sonarr.lan actually go to sonarr.lan?" (for example)
<etu> I'm off for tonight though
<cole-h> etu: o/ Thanks for the pointers.
<etu> cole-h: either /etc/hosts or your local dns server :)
<cole-h> But does it just say "Hey, sonarr.lan is over here at 192.168.1.23", or should it say "Hey, sonarr.lan is over here at1 192.168.1.23:8989"
<cole-h> Oh
<cole-h> Uh
<cole-h> That was easy
<cole-h> etu++ clever++
<{^_^}> etu's karma got increased to 17
<{^_^}> clever's karma got increased to 0o666
<cole-h> 👀
<cole-h> Nice karma, clever
<clever> lol
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
konobi has quit [Remote host closed the connection]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
konobi has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #88220 → rssguard: 3.6.0 -> 3.6.2 → https://git.io/JfzRC
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jfa2b
<{^_^}> [nixpkgs] @ryantm closed pull request #79658 → qownnotes: 19.12.15 -> 20.2.2 → https://git.io/Jvcld
vyorkin has quit [Quit: WeeChat 2.8]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<das_j> is there an easy way to substitute a known path without having the nix expression?
leungbk has joined #nixos
<eyJhb> talyz: sorry for throwing you under the buss :p
<leungbk> I'm having trouble using nodePackages.create-react-app. Would anyone happen to know of any quirks with the package on NixOS? Here's the error I'm getting: http://paste.debian.net/1148471
<leungbk>
__monty__ has quit [Quit: leaving]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
dan224 has joined #nixos
mac10688 has quit [Quit: WeeChat 2.7.1]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #69144 → gdc: init at 9.3.0 → https://git.io/Je36A
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JfaaZ
orivej has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « wireguard-go: fix executable name »: https://git.io/Jfaan
<{^_^}> [nixpkgs] @matthewbauer merged pull request #71498 → libxsmm: init at 1.13 → https://git.io/JeRkZ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jfaa4
<{^_^}> [nixpkgs] @adisbladis opened pull request #88717 → emacs: Move toolkit to function arguments → https://git.io/Jfaaz
o1lo01ol1o has joined #nixos
turion has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #87152 → xdg-utils: Dont make lazy default on kde → https://git.io/JfnOB
asymptotically has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to glibc231: https://git.io/Jfaar
wnklmnn has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<Raito_Bezarius> did anyone succeed to make all-hies work on nixos-unstable with cache?
<Raito_Bezarius> i get panic & "can't load so/DLL" due to glib version mismatches
<{^_^}> [nixpkgs] @adisbladis opened pull request #88718 → services.x11.videoDrivers: Don't include vmware driver on non-x86 platforms → https://git.io/Jfaai
<Raito_Bezarius> something like GHC 8.6.5 is linked against glib 2.27 but apparently wants 2.29
<Raito_Bezarius> i found some issues where infinisil had made some comments, but I'm not sure how to fix it
<Raito_Bezarius> am I understanding correctly that the only real fix is to compile from source?
dan224 has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « ivm: Package is not x86 specific »: https://git.io/JfaaQ
<cole-h> adisbladis: ^ Nice commit message
<cole-h> ivm vs imv :D
fendor has quit [Read error: Connection reset by peer]
simba1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @maralorn opened pull request #88719 → [20.03] haskellPackages.shh: Mark unbroken → https://git.io/JfaaF
pat_h has joined #nixos
maddo has quit [Quit: See ya]
meh` has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #88693 → gnuradio: format arguments and inputs → https://git.io/JfaBL
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jfaaj
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @srhb closed pull request #75154 → Backport [19.09]: ntfs3g: enable extras (#51514) → https://git.io/JeyHm
eoli3n_ has quit [Ping timeout: 260 seconds]
pat_h has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @KoviRobi opened pull request #88720 → Guile setup hook, use compiled files → https://git.io/JfaVk
<{^_^}> [nixpkgs] @flokli opened pull request #88721 → nixosTests.nextcloud: Add davfs2 example to the VM test → https://git.io/JfaVL
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
mauli has quit [Ping timeout: 244 seconds]
philr_ has quit [Ping timeout: 265 seconds]
mauli has joined #nixos
agsdheidjd has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « wireguard-go: keep `$bin/bin/wireguard` for backwards-compat »: https://git.io/JfaVO
Ralith_ has quit [Remote host closed the connection]
<ldlework> doesn't explain how to build go stuff
<ldlework> using the helpers i know are out there
jklmh has quit [Quit: Connection closed]
Ralith_ has joined #nixos
tobeportable has quit [Quit: Leaving]
<ldlework> cole-h: it's so unusual to go to the official documentation for ecosystem specific things i always forget to look
<cole-h> lol
mauli has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #88722 → lnch: init at 2017-02-16 → https://git.io/JfaVB
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #88722 → lnch: fix the site name → https://git.io/JfaVB
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfaVu
<{^_^}> [nixpkgs] @ryantm merged pull request #86790 → archivemount: 0.8.12 -> 0.9.1 → https://git.io/JfGLu
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfaVz
mzan has joined #nixos
mauli has joined #nixos
<ldlework> how do I fix this
<ldlework> nix-build -E "with import '<nixpkgs>' {}; callPackage ./default.nix {};" .
<cole-h> remove semicolon
<cole-h> the last one
<ldlework> thx
<{^_^}> [mobile-nixos] @samueldr opened pull request #152 → Remove messy `device.info` option → https://git.io/JfaVV
<anderson_> Hello, people! A newbie question: how can I make a minimal (?) "nixos-rebuild build-vm" in order to test graphical (Wayland and X11) programs from an overlay I am hacking?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @pstch closed pull request #88136 → Allow mpv to use youtube-dl provided at runtime → https://git.io/Jfuah
<cole-h> Make a separate configuration.nix and point it at it: `nixos-rebuild build-vm -I nixos-config=./vm.nix`
<cole-h> Should do it
<cole-h> anderson_: ^
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @Ma27 merged pull request #88656 → postman: 7.23.0 -> 7.24.0 → https://git.io/JfaIL
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfaVK
mauli has quit [Ping timeout: 260 seconds]
<anderson_> cole-h: ok, I will test it
quinn has joined #nixos
<{^_^}> [nixpkgs] @sheenobu opened pull request #88723 → fmt: fix cmake include path → https://git.io/JfaVi
mac10688 has joined #nixos
<mac10688> hi all, I was messing around with my .xsession file and now I can't log into my nixos laptop. I gave my .xsession chmod +x and I guess it didn't like that. I was wondering if anyone can tell me how I can boot into terminal so I can login and fix it
<mac10688> when I try to login now, it's just boots me back to the login screen
<{^_^}> [nixpkgs] @adisbladis merged pull request #88717 → emacs: Move toolkit to function arguments → https://git.io/Jfaaz
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfaV1
pjt_014 has joined #nixos
<rycee> talyz: Which limitation? Not managing files outside `$HOME`? Yes, that could be changed and I've been meaning to do that when I find the time.
<rycee> mac10688: Try switching to a console, alt+ctrl+f1, for example.
konobi has quit [Read error: Connection reset by peer]
<adisbladis> Could someone help me to take a look at https://github.com/NixOS/nixpkgs/pull/88718 ?I don't understand why the ofborg eval is failing https://gist.github.com/GrahamcOfBorg/1599d5b2672b5e611f098455f5f01389
konobi has joined #nixos
<{^_^}> #88718 (by adisbladis, 56 minutes ago, open): services.x11.videoDrivers: Don't include vmware driver on non-x86 platforms
<mac10688> THANKS rycee
<ldlework> If I have a fetchGitHub for some source, and I am writing a runCommand, how can I run ${pkgs.vgo2nix}/bin/vgo2nix against that source? just "cd ${the-source}" before running the command?
<ldlework> if i do the-source = pkgs.fetchGitHub ... ?
<adisbladis> ldlework: vgo2nix --dir
<ldlework> adisbladis: i want to put the deps.go into $out
<adisbladis> You also want --outfile
<ldlework> :P
<adisbladis> Um
<ldlework> adisbladis++
<{^_^}> adisbladis's karma got increased to 86
<adisbladis> You can't
<ldlework> what do you mean?
<adisbladis> Are you trying to use vgo2nix inside the sandbox?
<maralorn> ldlework: I guess you know, but so that you don‘t trip over it, it's: fetchFromGitHub
<adisbladis> vgo2nix does network access
<ldlework> I'm using nix to run vgo2nix + some source to generate the deps.go as the output,
<ldlework> oh
<ldlework> I see
<ldlework> maralorn: hehe thx
<adisbladis> go.sum hashes are non-standard go-specific hashes
<cole-h> adisbladis: It looks like `default` doesn't like references to `pkgs`... Dunno how to get around that yet though :P
<adisbladis> vgo2nix needs to run nix-prefetch-git over each input
<ldlework> adisbladis: fine i'll just generate it offline and stick the deps.go file next to the nix :)
<ldlework> adisbladis: thanks for the heads up
<ldlework> "offline" i mean, manually
<adisbladis> =)
mac10688 has quit [Remote host closed the connection]
<ldlework> adisbladis: it's kind of a shame though because i can't write a standalone expression to fetch and build this one thing on github
<ldlework> if the source updates, i'll have to manually do this again
<ldlework> oh well
<adisbladis> Yeah.. That's sadly a reality of the go lock format :/
<ldlework> adisbladis: anyway to escape the sandbox?
<cole-h> --option sandbox false
<ldlework> we need rust's impure
<cole-h> Why?
<ldlework> but i don't want the sandbox off for the whole thing, just one derivation
<ldlework> cole-h: we just discussed why!
<cole-h> I don't see any Rust-related discussion :P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88724 → python27Packages.qtconsole: 4.7.3 -> 4.7.4 → https://git.io/JfaVd
<ldlework> lol no i mean the equivalent
piezoid has quit [Remote host closed the connection]
mauli has joined #nixos
mmchen has joined #nixos
<energizer> ldlework: i thought transferring a repo also transfers the issues
<cole-h> Only if the owner of the repo does the transfer. From what I understand, the owner hasn't been seen nor heard from in 2 years, so in reality this is really a fork.
<ldlework> ^
<energizer> i was suggesting ldlework could create his own fork and transfer it to nix-community later
<mmchen> Does anyone have a setup of using coc.nvim with rust-analyzer in a nix-shell environment? I am using the mozilla overlay but the completions are incomplete. For example when I type `use std::`, i only get self or super, but on my non-nix setups, I get things in std. I feel like something is missing with rustc.
<{^_^}> [nixpkgs] @aanderse opened pull request #88725 → nixos/networkmanager: apply --filter-policy=STRICT to modemmanager service → https://git.io/JfaVF
o1lo01ol1o has quit [Remote host closed the connection]
<jfhbrook> hello
<jfhbrook> I'm trying to learn/use nixos with a remote instance, and I've been told that I can run nixos-rebuild locally with a remote target of my DO instance
<jfhbrook> which sounds great! but I'm running arch
<jfhbrook> and so I've installed nix on arch
<jfhbrook> but it doesn't come with nixos-rebuild
<jfhbrook> and I'm trying to figure out how to fix that and I can't find anything about this online
reallymemorable has joined #nixos
<jfhbrook> is this a thing people know about?
<jfhbrook> currently copying files using ansible which seems less than ideal
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfaVA
<quinn> jfhbrook: i use git, but it's kind of clunky.
aveltras has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
<cole-h> energizer: Only admins can transfer repos, IIRC.
<jfhbrook> 🤔 can you elaborate on that?
mauli has quit [Ping timeout: 246 seconds]
<jfhbrook> I'm pretty new to this and I don't understand most of the toolchain
<jfhbrook> I need my hand to be held a little
<cole-h> jfhbrook: Why not just ssh into the DO instance?
<jfhbrook> I am - I'm using ansible to copy files over from my local machine and then running it on ssh
Thra11 has quit [Quit: WeeChat 2.8]
<energizer> cole-h: if admins want to move it into nix-community, they can. if they don't, that's fine too. the point is to unblock ldlework from filing issues
<ldlework> if I am doing buildGoPackage against some github fetched source, how can I run a replacement on a file in its source?
<cole-h> energizer: I mean, ldlework isn't an admin. Which means he can't move it AFAIK.
<ldlework> energizer: oh we started our own organization
<jfhbrook> but it seems like I can improve on that workflow and it seems like I should be able to use local nix paths to build the remote thing - I think this will make it easier to install patched packages (want to issue some updates to mysql) and manage secrets
<ldlework> energizer: thanks for looking out though :)
<cole-h> ldlework: tbh you should have made it an actual fork
<energizer> cole-h: yes the admins would need to consent of course
<ldlework> cole-h: we did
<cole-h> ldlework: Doesn't show as one
<ldlework> cole-h: a disconnected fork, not a github linked one
<ldlework> a github linked one means that the original author can showup and delete the original
<ldlework> it can cause problems
<cole-h> Wait, really?
<ldlework> i've reached out to them via email
<jfhbrook> I know that from experience
<jfhbrook> it's not fun
<cole-h> Ouch
<ldlework> honestly, i would have no problem if they came back and wanted to continue to be the maintainer
<ldlework> :)
<cole-h> Then I rescind my suggestion lol
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88726 → python37Packages.PyChromecast: 4.2.3 -> 5.2.0 → https://git.io/JfaVh
<cole-h> I didn't think there were those kinds of restrictions on that
<ldlework> but for now we will assume they got hit by a bus
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<ldlework> I did cursory searches for their existence on the wider internet and found nothing.
<{^_^}> [nixpkgs] @aanderse merged pull request #87180 → zabbix: 3.0.29 -> 3.0.31 [20.03] → https://git.io/JfnoN
<ldlework> My email to them is our only hope :)
<{^_^}> [nixpkgs] @aanderse pushed 4 commits to release-20.03: https://git.io/Jfawe
<jfhbrook> anyway - happy to abandon that strategy, though I guess this leaves me doubling down on copying files and running remote commands with ansible
<ldlework> if I am doing buildGoPackage against some github fetched source, how can I run a replacement on a file in its source?
<jfhbrook> which isn't *entirely* satisfying
<ldlework> do I need to use patchPhase?
mmchen has quit [Remote host closed the connection]
<cole-h> jfhbrook: Why do you need to build locally?
<ldlework> I had to do this recently but I don't remember
<jfhbrook> cole-h: I would like to have a git clone of nixpkgs locally with modifications and adjust my NIX_PATH locally and have secrets files, again locally, and use them to modify the remote system without cloning nixpkgs on the remote and without scp-ing secrets to the remote
<cole-h> Well, either way, I think you should just be able to `nix-copy-closure` your build artifacts. Read the man page and see if that works for you?
knupfer has quit [Ping timeout: 260 seconds]
veleiro has quit [Ping timeout: 240 seconds]
<jfhbrook> cole-h: like I said I'm happy to abandon that strategy - pursuing it because someone suggested it to me
<cole-h> jfhbrook: I sure hope you aren't referring to your secrets by path (e.g. `asdf = ./secret/asdfg;`)
<jfhbrook> I mean
<cole-h> Because if you are, those "secrets" are in the world-readable store.
<jfhbrook> right now they're inline - that's most of what I'm trying to fix
<cole-h> That's also not very secret :P
<jfhbrook> the documentation I read suggested that paths would keep them out of the store
<cole-h> No, definitely not. Paths get copied *into* the store.
<cole-h> Unless you run `toString` on them, which then just gives you `"/some/path/here"`
wnklmnn has quit [Ping timeout: 265 seconds]
<cole-h> jfhbrook: From what you're describing, it sounds kinda like you might be interested in NixOps.
<{^_^}> [nixpkgs] @adisbladis opened pull request #88727 → slack: Return a dummy derivation on unsupported platforms → https://git.io/JfawT
<jfhbrook> I'm somewhat interested but I want the greater power/flexibility of terraform
<cole-h> jfhbrook: `dbpassFile` is a string, not a path. So `dbpassFile = "/run/keys/asdfg";` is safe, because it doesn't actually copy the file into the store.
<jfhbrook> and I'm worried that nixops is less mature than nixos
<jfhbrook> yes ok, that was my impression - but then that file needs to exist somewhere, yes?
<jfhbrook> I would like to not have to scp that file to the remote
<cole-h> You'll have to.
<jfhbrook> ok
<jfhbrook> that's unfortunate but understandable
<jfhbrook> can I delete the file after the derivation does its thing?
<jfhbrook> should be able to, yeah?
<cole-h> Depends on what you expect "deleting the file" to do
<jfhbrook> is there a common place to put such secrets?
<jfhbrook> I expect deleting the file to delete the file
<jfhbrook> ie I don't want a file called /home/myuser/statesecrets.txt on my remote
<cole-h> Yes, `rm` will indeed `rm` the file. But if it's in the store, it's in the store.
leungbk has quit [Ping timeout: 260 seconds]
<cole-h> (btw, NixOps has been a thing since 2012 -- definitely not immature, IMO)
<jfhbrook> ok but we've already established that I'm using dbpassFile which doesn't put such a file in the store
<jfhbrook> or that at least this is the goal
<cole-h> Yes indeed
<cole-h> So if you remove that pass file, it will no longer exist and anything that wants to read from it will break.
<jfhbrook> ok, but nix itself won't want to read from it unless I change the derivation, yes?
<cole-h> No, nix itself won't read from it ever, since it's a string.
<jfhbrook> so I can upload the file, run rebuild, and delete it, and as long as the actual application isn't using the secret I should be good?
gustavderdrache has joined #nixos
jgeerds_ has quit [Ping timeout: 256 seconds]
<jfhbrook> this line right here does something with the file - saying that it's not nix but a bash script generated by nix reading it strikes me as pedantry
<cole-h> Yeah, Nix isn't reading from it, nextcloud will (or more specifically, the "nextcloud-setup" service that sets up everything for nextcloud to function properly)
<cole-h> Nix won't check if it exists, that systemd unit will.
<jfhbrook> ok but this seems to confirm my suspicion
<ldlework> I have this expression, https://gist.github.com/dustinlacewell/d7ac2049608e8daaa30d64de7e9a3b3d why am I getting: error: value is a function while a set was expected, at /home/ldlework/ext/styx/etc/irccat/default.nix:25:5
<jfhbrook> which is that this systemd unit will only run during a rebuild step
<jfhbrook> and that I can safely remove the file
<cole-h> Maybe. I don't use Nextcloud, so I don't know if it would keep the file in memory, or if it would read from the file whenever it wants
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/404041b20b4 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<adisbladis> You're not calling the nixpkgs function
<adisbladis> import <nixpkgs> {}
<adisbladis> Missing {}
<ldlework> now I get error: cannot coerce a function to a string, at /home/ldlework/ext/styx/etc/irccat/default.nix:25:35
<jfhbrook> it gets hashed and stored in a config file
o1lo01ol1o has joined #nixos
<jfhbrook> that ideally doesn't get touched again except by nextcloud
<jfhbrook> hm
<cole-h> Oh, I see. That might work.
<ldlework> adisbladis: ^
<adisbladis> env = pkgs.runCommand "irccat-env" ''
<adisbladis> Should be
<adisbladis> env = pkgs.runCommand "irccat-env" {} ''
<ldlework> ooo
<ldlework> right the env
<adisbladis> Where the {} are derivation attributes on the runCommand derivation
<ldlework> oh I thought they were environment variables for the builder
<jfhbrook> ok so it sounds like barring my friend sitting down to fully explain how I would run nixos-rebuild locally on a non-nixos machine that I should stay the course with ansible; that I should give nixops a second look and that I need to find an alternate strategy for secrets management because my intended one doesn't work the way I was hoping
<jfhbrook> this seems fine
<jfhbrook> alright, thanks
<infinisil> Raito_Bezarius: Ideally You'd use a GHC from nixpkgs, one with a matching glibc version
<pistache> is there some way to force the evaluation of an expression at build-time, even if I'm not using that expression at all ?
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<infinisil> Raito_Bezarius: Instead of however else you get GHC
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/404041b20b4 (from 67 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
o1lo01ol1o has quit [Ping timeout: 246 seconds]
noudle has quit []
<infinisil> I'm still unsure what to do about the next version of all-hies, but something regarding this will probably change, for the better I hope
<pistache> I'd like to ensure that the syntax of a configuration file is valid at build time, in a NixOS module
<cole-h> Does the program that uses this configuration file have a way to check a configuration file's validity?
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mauli has joined #nixos
litschi has quit [Quit: WeeChat 2.7.1]
litschi has joined #nixos
<pistache> cole-h: cool, thank you
<{^_^}> [nixpkgs] @Ma27 merged pull request #88721 → nixosTests.nextcloud: Add davfs2 example to the VM test → https://git.io/JfaVL
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfawV
mauli has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88695 → pythonPackages.sqlparse: 0.3.0 -> 0.3.1 → https://git.io/JfaRp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfawK
<{^_^}> [nixpkgs] @marsam merged pull request #88710 → python27Packages.isbnlib: 3.10.0 -> 3.10.1 → https://git.io/JfagX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfaw6
anderson_ has quit [Quit: Ambassador 1.3.0 [Pale Moon 28.9.1/20200508233233]]
kvda has joined #nixos
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #88728 → libsForQt5.qscintilla: fix darwin build → https://git.io/Jfaw9
bgamari has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88729 → python27Packages.rasterio: 1.1.3 -> 1.1.4 → https://git.io/JfawQ
bgamari_ has quit [Ping timeout: 264 seconds]
mauli has joined #nixos
spacefrogg has quit [Ping timeout: 246 seconds]
spacefrogg has joined #nixos
realrokka has quit [Quit: rip]
xelxebar has quit [Ping timeout: 240 seconds]
realrokka has joined #nixos
Streetwalrus_ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JfawF
xelxebar_ has joined #nixos
rembo10 has quit [Ping timeout: 264 seconds]
ciil has quit [Ping timeout: 264 seconds]
rembo10_ has joined #nixos
garbas has quit [Ping timeout: 246 seconds]
iMatejC has quit [Ping timeout: 246 seconds]
hyper_ch_ has joined #nixos
hyper_ch_ has quit [Changing host]
hyper_ch_ has joined #nixos
Streetwalrus has quit [Ping timeout: 246 seconds]
wolfshappen has quit [Ping timeout: 246 seconds]
Streetwalrus_ is now known as Streetwalrus
thommey has quit [Ping timeout: 246 seconds]
garbas has joined #nixos
nckx has quit [Ping timeout: 264 seconds]
jaeckel has quit [Ping timeout: 246 seconds]
hyper_ch has quit [Ping timeout: 264 seconds]
commander has quit [Ping timeout: 264 seconds]
ciil has joined #nixos
nckx has joined #nixos
commander has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
wolfshappen has joined #nixos
<energizer> is it possible to depend on either A or B?
<ldlework> energizer: lib.optional ?
<ldlework> or whatever it is
<adisbladis> <ldlework> oh I thought they were environment variables for the builder
<adisbladis> They are :)
mauli has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #87904 → gobject-introspection: clean-ups & build docs → https://git.io/JfR6v
<{^_^}> [nixpkgs] @Ericson2314 pushed 6 commits to staging: https://git.io/Jfawj
<adisbladis> Just as you would `pkgs.runCommand "somename" { meta = {}; } "touch $out"` is roughly equivalent to `stdenv.mkDerivation { name = "somename"; src = null; meta = {}; dontConfigure = true; dontBuild = true; installPhase = "touch $out"; }`
<adisbladis> There is a bit more to it, but not that much
<ldlework> Anyone got information about defining your own systemd services?
mbrgm_ has joined #nixos
<NobbZ[m]> Is there some lorri related channel or can someone help me figuring out why lorri behaves like this?
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
<ldlework> Oh I see.
<NobbZ[m]> I have lorri as a demon + direnv. When in a "direnv+lorri" environment, lorri uses my systems nixpkgs channel, though when I do `lorri shell` then the environment is correctly built against my users `nixpkgs` channel.
<ldlework> Can I do `config.system.services = generateServices { ... };` to generate multiple systemd services?
iMatejC has joined #nixos
<FireFly> ldlework: in general for things like that, I find it easiest to just look at what existing nixos modules are doing to get an idea of the exposed interface (and complement with reading configuration.nix(5))
<FireFly> I mean wrt defining your own systemd services
<FireFly> not sure how generateServices works though..
<FireFly> or what it is
<ldlework> config.systemd*
<ldlework> I'm guessing so right?
<FireFly> I believe so, I don't see why you wouldn't
thommey has joined #nixos
<adisbladis> ldlework: http://ix.io/2naN/nix
<adisbladis> Something along those lines, I tried to quickly hack up a minimal example
maxdevjs has joined #nixos
justanotheruser has quit [Ping timeout: 252 seconds]