worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-inf
erasmas has quit [Quit: leaving]
wnklmnn has quit [Quit: Leaving]
spudly1 has joined #nixos
rajivr has joined #nixos
<{^_^}> [nixpkgs] @asbachb opened pull request #106300 → Update/netbeans → https://git.io/JIBVJ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106301 → mg: 6.7 -> 6.8.1 → https://git.io/JIBVI
aswanson has joined #nixos
bgamari_ has joined #nixos
bgamari has quit [Ping timeout: 265 seconds]
<colemickens> Any pipewire adventurers have working volume control in Plasma? AFAICT everything I've tried just works with the pulse compatibility socket, other than Plasma itself.
o1lo01ol1o has joined #nixos
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
<Yaniel> IIRC 0.3.17 was supposed to make that work, but yea the volume icon isn't showing up in the system tray
<{^_^}> [nixpkgs] @jtojnar opened pull request #106302 → gdk-pixbuf: 2.42.0 → 2.42.2 → https://git.io/JIBrT
<{^_^}> [nixpkgs] @jtojnar pushed to gdk-pixbuf-2.42.2 « gdk-pixbuf: 2.42.0 → 2.42.2 »: https://git.io/JIBrk
b42 has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @jtojnar pushed to gdk-pixbuf-2.42.2 « gdk-pixbuf: 2.42.0 → 2.42.2 »: https://git.io/JIBrY
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed 3 commits to master: https://git.io/JIBr0
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @github-actions[bot] pushed 50 commits to staging-next: https://git.io/JIBoR
<{^_^}> [nixpkgs] @github-actions[bot] pushed 51 commits to staging: https://git.io/JIBo0
<{^_^}> [nixpkgs] @con-f-use opened pull request #106303 → mpv: umpv desktop file → https://git.io/JIBoz
o1lo01ol1o has quit [Remote host closed the connection]
<pikajude> can i override my nixos config in order to turn nginx's ExecStartPre into a list of strings rather than a single string
<pikajude> currently, if i try to redefine serviceConfig.ExecStartPre, it gives me a "conflicting option" error
<pikajude> but i want to combine both
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « linux-rt_5_9: init at 5.9.1-rt20 »: https://git.io/JIBKD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106305 → musikcube: 0.95.0 -> 0.96.1 → https://git.io/JIB6E
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #103441 → flashplayer: 32.0.0.445 -> 32.0.0.453 → https://git.io/JkI7U
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @taku0 to master « flashplayer: 32.0.0.445 -> 32.0.0.453 (#103441) »: https://git.io/JIB6z
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106306 → mympd: 6.8.1 -> 6.8.3 → https://git.io/JIBiL
<infinisil> pikajude: Unfortunately no, you can only `mkForce` to override it completely
<pikajude> unlucky
<infinisil> That's arguably a bug in the systemd module
<infinisil> If you opened an issue for that and pinged me I might take a stab at fixing it eventually :)
<pikajude> possibly, but i'm sure there are a ton of places where people try to override, rather than add to, the existing ExecStartPre
Dotz0cat has quit [Ping timeout: 256 seconds]
<infinisil> Shouldn't be a problem
<pikajude> ok, cool
<pikajude> i'm not good with modules so
<pikajude> i will file an issue
<infinisil> Awesome :)
<Fare> infinisil, gchristensen: I minimally tested and maximally documented my object system at https://github.com/fare-patches/nixpkgs/blob/fare/pkgs/development/compilers/gerbil/pop.nix
<infinisil> (it won't be a problem because the fix would only change behavior for when it throws an error (to make it not throw an error anymore))
<pikajude> oh
<Fare> Now, I'm going to proceed to use it for gerbil packages.
<Fare> Maybe if I understand how callPackage works, I could do a version of it for POP.
<Fare> There's a long writeup in the beginning, then a bit over a hundred lines of heavily comment code with semi-formal types.
<simpson> Fare: I have two questions that I think are interrelated. Why doesn't https://github.com/fare-patches/nixpkgs/blob/fare/pkgs/development/compilers/gerbil/gerbil-ethereum.nix build a derivation? And, isn't this a little much just for having packages use other packages as build inputs?
<simpson> If it were possible to use standard `src = ...;` and derivations, like the rest of nixpkgs, then I think that a lot of the apparently-necessary complexity will melt away.
raghavsood has joined #nixos
o1lo01ol1o has joined #nixos
<Fare> simpson, it used to and it will again, but that was the "best" way I found to be able to conditionally override the src only if the sha256 has changed.
<Fare> when, e.g. using a local checkout in an overlay
<infinisil> Fare: Neat! I'll probably check that out sometime soon
<Fare> I could use something that uses the passthru to achieve the same effect
shorberg has quit [Ping timeout: 240 seconds]
shorberg_ has joined #nixos
<Fare> infinisil, once it's stable and featureful enough, I'd love to move it to lib/ and promote its use.
<infinisil> Frankly, I don't think that's gonna happen
<Fare> Neither do I.
Diagon has joined #nixos
LilleCarl has quit [Ping timeout: 272 seconds]
<infinisil> Unless it went through a successful RFC process
<Fare> And so, in the meantime I'll play with it and use it for Gerbil.
LilleCarl has joined #nixos
<Fare> Not worth a RFC process until it's stable and has its own variant of callPackage.
<infinisil> nixpkgs really does need some cleanup though, so any kind of ideas for how to improve it are great
chang has joined #nixos
<Fare> What other great features are needed beside callPackage?
<infinisil> What scope are you thinking of?
<Fare> All the variants of fixed-points, scopes, makeExtensible, etc., seem pretty limited to me, anyway
<Fare> makeScope.
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<Fare> and then, each language builds its own ad-hoc version on top
<infinisil> Yeah that's really awful
<gchristensen> afaik almost all of them use newScope pretty consistently, no?
<infinisil> Even with newScope, there's many inconsistencies
<Fare> I don't grok the bootstrap process enough to understand whether POP can help or not, but it wouldn't surprise me if it could.
<gchristensen> truth
<simpson> At the same time, though, I was able to hack one up for Monte in a weekend. newScope and callPackage are very very confusing, but only once per actual new scope instantiated.
spudly1 has quit [Ping timeout: 256 seconds]
<gchristensen> nixpkgs has a bit of a "thousand flowers" thing
<infinisil> Fare: One pretty big feature of callPackage is splicing, see https://github.com/NixOS/nixpkgs/issues/68967#issuecomment-532432617
<simpson> That's why I asked about your actual compilation model. How Gerbil wants to access its modules will determine how nixpkgs builds its apps.
<infinisil> Fare: Then overrideScope is also a very good feature for when you need it
<Fare> I wrote POP after being confused by newScope, overrideScope, etc.
<infinisil> Fare: You'll also want to support multiple versions of the same package set, so e.g. haskell.packages.ghc<version>
<Fare> infinisil, exactly
<infinisil> Then there's also the whole alias business, which I expect to be one of the trickiest problems to solve
<Fare> alias business?
<infinisil> E.g. `pythonPackages = python.pkgs`, and `python2Packages = python2.pkgs`
<infinisil> And `python = python2#
ris has quit [Ping timeout: 240 seconds]
<infinisil> So if you override `pythonPackages` somehow, you won't override `python2Packages` or `python2.pkgs` or `python.pkgs`
<Fare> aha, should probably be `pythonPackages = self.python.pkgs` (or with a magic rebinding of python = self.python already)
<infinisil> These all still point to the unoverridden python package set
<Fare> then, if you override the canonical variant, the derived ones should follow
<infinisil> Yeah, but you'd want to somehow prevent overriding of the aliased version, but maybe not
<infinisil> Fare: Another big features is being able to override the final result of packages and package sets
<infinisil> So you can `hello.overrideAttrs (old: { src = ...; })`
<infinisil> Or `pythonPackages.override { ... }`
Fuzen has quit [Quit: ZNC 1.8.1 - https://znc.in]
<Fare> That's one thing that bugged me: some of these functions take self: super: which I understand, and some magically extract the super for the self or other shenanigans, and I'm utterly confused.
<infinisil> Fare: Another big thing is the function call layers and their overridability. See e.g. how a python package gets called by `callPackage`, which underneath calls `buildPythonPackage`, which underneath calls `mkDerivation`, which underneath calls `derivation`, and each of the arguments to these functions should be overridable
raghavsood has quit [Remote host closed the connection]
gustavderdrache has quit [Quit: Leaving.]
xcmw has joined #nixos
gustavderdrache has joined #nixos
Lord_of_Life has quit [Read error: Connection reset by peer]
<Fare> infinisil, I am both amazed and appalled by all these layers. Coming from Jsonnet, there's a single override mechanism for everything and special syntax for the common case `a +: b` for adding overrides to a field.
<infinisil> I'm not sure how jsonnet is used, but nixpkgs is a beast of customizability
<infinisil> And all these features were added because they were needed at some point (albeit without much coordination)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JIB1r
<gchristensen> also, jsonnet has different goals than nix with I assume different semantics
<gchristensen> though perhaps a subset of semantics
<Fare> there's also a feature from BETA that I like: empty arguments that can be either specialized by inheritance or by applying the pattern as a function taking inputs.
Lord_of_Life has joined #nixos
<Fare> gchristensen, there's a big semantic overlap.
<Fare> (and jsonnet sucks in its own ways; just very different ways than nix)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101045 → python: pyxdg: 0.26 -> 0.27 → https://git.io/JT8O6
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIB17
<simpson> But if one actually considers how Python interpreters load modules at runtime, then the *number* of layers is correct.
hlolli has quit [Ping timeout: 246 seconds]
<Fare> infinisil, the first thing I did in jsonnet was build a library layer with fixed points, type descriptors, etc., not too different in some ways from the structure of nixpkgs, though of course much more primitive and smaller in scope.
<Fare> that was before I had delved deep in nix.
<Fare> simpson: the number of layers is incorrect???
<infinisil> Fare: Have you seen the NixOS module system yet?
leungbk has joined #nixos
<Fare> not sure what you call "the module system"
<Fare> so I suppose, no.
cole-h has quit [Ping timeout: 256 seconds]
<simpson> Fare: There's one layer for Nix's primitive derivations, one for nixpkgs' common derivation technology, one for Python being a PITA, and one for calling Nix expressions from files and integrating them into the tree.
<infinisil> The thing that evaluates nixos systems, based on options you set
teto has quit [Ping timeout: 264 seconds]
m0rphism has quit [Ping timeout: 240 seconds]
<infinisil> I feel like you'll dig this
<simpson> https://nixos.org/manual/nixos/stable/index.html#sec-writing-modules explains NixOS modules in detail, but in short, configuration.nix is a module.
<Fare> I've used it, as a nixos user, but have never written anything or it, much less looked at the code that glues it together.
<Fare> (ok, I might have once or twice sent a trivial patch to a module)
<infinisil> The module system imo is one of the best abstractions you can have. As with everything, there are some flaws with it, but in general it allowed NixOS to develop into what it is now
<simpson> Fare: BTW, when it comes to this layering, note that the two different override mechanisms work at two different layers: One is for overriding any nixpkgs derivation, and the other is for overriding how Nix expressions are loaded from files.
<{^_^}> [nixpkgs] @pmeiyu opened pull request #106308 → unbound: Add AF_NETLINK to allowed address families. → https://git.io/JIBM4
<infinisil> Unfortunately, the module system is too expensive to use for the package set. But I'm sure it would work wonderfully if we ignored that
<infinisil> Well, not entirely actually
<simpson> (The Python abstraction layer also has a kind of overriding, s.t. we can reuse the entire subsystem for both CPython and PyPy.)
<Fare> one thing I find amazing is the convergence of ideas—all these things constantly reinvent variants of the same pattern. I talked to some of the inventors of what is now known as prototype objects and is IMNSHO best examplified by those Nix override systems, and they have no idea all the amazing things we're doing, just like we mostly have no ideas what they were doing—mostly graphical interfaces and AI, from what I can tell.
<Fare> simpson: couldn't / shouldn't they be unified somehow?
<Fare> That's the one thing I like about jsonnet: every attrset is actually an object, and the same mechanisms are used for all the overrides.
<simpson> Anything is possible. But it's clearly a terrible idea, by Chesterton's Fence; you *just* implemented your brand-new system, without a full grokking of what exists.
<Fare> Add it can work deep: { a +: { b +: c } } adds c to field b of field a of the super pattern.
Dotz0cat has joined #nixos
<Fare> simpson, I am well aware of that, and wish to understand what I'm missing in the existing systems.
ifthenelse has quit [Quit: Ping timeout (120 seconds)]
ifthenelse has joined #nixos
<Fare> simpson, since the existing systems aren't well documented, my approach is to build an alternative that *IS* documented, and so the old systems can be explained by contrast, the new system improved and the improvements documented too.
<simpson> I think we've covered all of it. The existing systems factor out into layers which separate concerns. This separation is strong enough to support multiple different language ecosystems.
Lord_of_Life has quit [Ping timeout: 256 seconds]
<Fare> simpson: covered at too large a grain to understand where things break down, how they are used, how they work inside.
<Fare> infinisil, what makes the module system expensive?
Lord_of_Life has joined #nixos
spudly1 has joined #nixos
<infinisil> Eating now, bbl
sigmundv__ has joined #nixos
Fare has quit [Quit: Leaving]
<pumpy> what are you eating
sigmundv_ has quit [Ping timeout: 260 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #106309 → khal,stig,deluge_1,libtorrent-rasterbar,linkchecker: Disable failing tests → https://git.io/JIBy6
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105398 → python3Packages.hjson: fix wrapper → https://git.io/Jkp1u
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIBy9
realrokka_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #106305 → musikcube: 0.95.0 -> 0.96.1 → https://git.io/JIB6E
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JIBSt
<pumpy> during install after adding static ip how do i make the dhcp queries stop?
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #103980 → cde-gtk-theme: add ability to override palette → https://git.io/Jkcbd
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106310 → openbazaar-client: 2.4.8 -> 2.4.9 → https://git.io/JIBSQ
patagonicus has quit [Quit: Ping timeout (120 seconds)]
coderobe has quit [Quit: Ping timeout (120 seconds)]
patagonicus has joined #nixos
caffery has quit [Ping timeout: 240 seconds]
lcvass has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
lcvass has joined #nixos
coderobe has joined #nixos
<pumpy> when you boot into installer CLI how can you change port ssh is running on on the fly? https://nixos.org/manual/nixos/stable/index.html#sec-installation-booting-networking doesn't say
bdju has quit [Ping timeout: 240 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
caffery has joined #nixos
<infinisil> pumpy: Hellishly spicy ramen!
bdju has joined #nixos
xcmw has joined #nixos
<gchristensen> where is all this spicy ramen coming from and how do I get some
<pumpy> infinisil rip anus :/
<pumpy> gchristensen speaking of rip anus any idea how i can change ssh port in installer on the fly?
<infinisil> Rip throat moreso
<infinisil> -> #nixos-chat
<{^_^}> [nixpkgs] @bhipple opened pull request #106311 → python3Packages.jupytext: fix build by adding missing markdown-it-py dep; python3 only → https://git.io/JIBQO
realrokka has joined #nixos
ericsagn1 has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/afbfc540141 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
anders^ has quit [Ping timeout: 272 seconds]
<{^_^}> nixos-search#251 (by praduca, 4 hours ago, open): Searching for options have inconsistent behaviour
marek has quit [Ping timeout: 256 seconds]
Fare has joined #nixos
<Fare> Aha, something I forgot to ask: often in configurations, a field depends not only on its parent (the surrounding extensible attrs), but on its parent's parent, etc.
anders^ has joined #nixos
<Fare> In Jsonnet, we had to manually store the context in a field, and make sure to update that field whenever we modify the object, so it doesn't get out of synch.
<Fare> I'm not sure what if anything has this role in Nix, and how much is automated or manual, there.
ifthenelse has quit [Quit: Ping timeout (120 seconds)]
<Fare> is this what the nested scopes do?
ifthenelse has joined #nixos
<infinisil> Got an example?
<infinisil> Fare: ^
lunik1 has quit [Ping timeout: 265 seconds]
ericsagn1 has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #105818 → compress-man-pages: symlink compressed manpages deterministically → https://git.io/JImPd
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to staging: https://git.io/JIBF6
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #103925 → coreutils, findutils, gnutls: fix build on 32-bit ARM → https://git.io/JkZza
<{^_^}> [nixpkgs] @AndersonTorres pushed 4 commits to master: https://git.io/JIBFy
leungbk has quit [Remote host closed the connection]
<Fare> also, I understand composeExtensions, it looks like to me extends cuts corners—is that correct?
o1lo01ol1o has joined #nixos
<infinisil> Fare: Not sure what you mean
<infinisil> Oh
<{^_^}> [cabal2nix] @poscat0x04 opened pull request #473 → Map libbrotli{enc,dec} to brotli → https://git.io/JIBbI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106312 → pbgopy: 0.1.1 -> 0.2.0 → https://git.io/JIBbm
marek has joined #nixos
<infinisil> If you have a fixed-point function and an overlay, you can combine them with .extends, this returns a new fixed-point function
<infinisil> You can repeat this with as many overlays as you want, always getting a new fixed-point function
<infinisil> *Or* if you happen to need it, you can use `composeExtensions` to combine two overlays together into a new overlay
<infinisil> Which you can then apply to a fixed-point function with extends
<infinisil> You end up with the same thing in the end
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<Fare> ok, this works, because you have hardcoded the right-hand-side of the fixed-point, and only allow extension on the left-side, correct?
<{^_^}> [nixpkgs] @bhipple merged pull request #106298 → nim: 1.4.0 -> 1.4.2 → https://git.io/JIBgQ
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JIBNO
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106313 → pgmetrics: 1.10.2 -> 1.10.3 → https://git.io/JIBN0
<infinisil> Fare: Hmm not sure what you mean again
<infinisil> An overlay can override any attributes that the fixed-point function already defined, or define new ones
<Fare> infinisil: let's say {a={b=pkgs.c;};} well, if you override anything anyway, you'll want the next pkgs there, not the one from the original call. Or maybe that works because pkgs is already the outermost fixed-point and we're not extending "from without", but from within?
<infinisil> In Nix you'd declare a fixed-point function for that:
<infinisil> > fun = self: { a = { b = self.c; }; }
<{^_^}> fun defined
<infinisil> Then you can write an overlay to change/add attributes:
<infinisil> > overlay = self: super: { a = super.a // { x = 10; }; c = 20; }
<{^_^}> overlay defined
<infinisil> And then you can apply that with lib.extends
<simpson> infinisil++
<{^_^}> infinisil's karma got increased to 386
<infinisil> > lib.extends overlay fun
<{^_^}> <LAMBDA>
<infinisil> > newFun = lib.extends overlay fun
<{^_^}> newFun defined
<infinisil> And finally, you fix the fixed-point
<infinisil> > :p lib.fix newFun
<{^_^}> { a = { b = 20; x = 10; }; c = 20; }
<infinisil> Tada!
jybs- has quit [Ping timeout: 240 seconds]
jybs- has joined #nixos
<Fare> infinisil: that works if you always extend the outer self. Now what if I don't want to run through 1000-long attribute paths, and want to overlay "just" the inner object... and still have the far parents be updated?
<lovesegfault> Should wrapProgram be available in postInstall?
<lovesegfault> I'm trying to use it but I keep getting command not found
<infinisil> Fare: Yeah that's not well supported right now, but you could do `self: super: lib.recursiveUpdate super { some.deep.attribute = 10; }`
<infinisil> lovesegfault: You need to add `pkgs.makeWrapper` to `nativeBuildInputs`
<Fare> my main beef with the current system is that each step along that path may require a different kind of override vs extend vs whatever other mechanism.
<infinisil> Yeah that's pretty bad, what I showed above won't handle that at all
<Fare> ok. Just checking that I didn't miss anything obvious.
h0m1 has quit [Ping timeout: 264 seconds]
<infinisil> However, the NixOS module system doesn't have any problems with that
<Fare> what does it do / how does it solve or work around the issue?
<simpson> lovesegfault: It might have to be done in preInstall, not sure TBH.
<simpson> Oh, wow, completely failed to notice infinisil++ with a correct answer.
<{^_^}> infinisil's karma got increased to 0o603
<infinisil> :)
<samueldr> simpson: how would you wrap something that isn't there yet ;)
<lovesegfault> infinisil: bingo bango bongo
<lovesegfault> infinisil++
<{^_^}> infinisil's karma got increased to 388
<Fare> Fare++
<{^_^}> Fare's karma got decreased to -3
<Fare> :-)
<Fare> Fare--
<infinisil> Fare: The module system is based on a set of options with a known type. Users can give option definitions which are then checked against the correct type and merged properly
<simpson> samueldr: Oh, good point. Taking a Goldilocks approach, it should be done in installPhase, then? I don't know when $out becomes immutable.
h0m1 has joined #nixos
<lovesegfault> I don't want to touch installPhase b/c I'm using naersk
<lovesegfault> it's easier for me to just set postInstall
<simpson> Yeah.
<Fare> infinisil: eventually, I would like POP to support that kind of things, too, with meta-annotations for types, method combinations, etc.
<infinisil> Fare: So the whole option namespace is an attribute set like { environment = { systemPackages = mkOption { ... }; ... }; ... } which gets checked against a matching user input
<samueldr> simpson: after the derivation is "done", so at no point AFAIK during the mkDerivation it'll be immutable
<samueldr> and it's postInstall generally, since you want to have the usual install hook running
<infinisil> Fare: This is a very simplified explanation of the module system though. It has a ton of very powerful features
<Fare> I'm also not sure anymore what overlapping or non-overlapping a.b.c = { ... } statements do. Are they merged at the syntax level?
<infinisil> Yeah just syntactic sugar
shorberg_ is now known as shorberg
<Fare> CLOS (the Common Lisp Object System) has multiple inheritance, defaults, types, method combinations, multiple-argument dispatch, and MOP that can control all that and much more.
<infinisil> Fare: Can check `nix-instantiate --parse -E '<expr>'` to see how this sugar is already undone during parsing
<Fare> The same thing could be done for Nix, and then the module system and extensibility system could be merged.
<infinisil> Do you know what the module system is capable of?
<infinisil> The NixOS module system that is
sigmundv__ has quit [Ping timeout: 256 seconds]
<Fare> Only vaguely.
<infinisil> I mean I can't speak for CLOS, but the module system is really featureful, and I imagine almost any attempt to replace it to lack in some way
<Fare> I know you can declare options, then somehow check and use them.
<Fare> that's as much as I know.
orivej has quit [Quit: orivej]
<infinisil> Fare: Actually here's a good overview of general module and overriding features: https://github.com/tweag/nix-ux/issues/20
<{^_^}> tweag/nix-ux#20 (by Infinisil, 9 weeks ago, open): Use cases supported by the existing module system and overlays/overrides
SanchayanMaity has joined #nixos
<Fare> infinisil, thanks!
<Fare> what does "persisted" mean in the context of defaults?
<infinisil> I guess just which defaults apply
<pjt_tmp> when updating a package def, can I get away with cloning nixpkgs with --depth=1?
<infinisil> pjt_tmp: Yup
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106314 → postsrsd: 1.8 -> 1.9 → https://git.io/JIBxj
<pjt_tmp> phew
<{^_^}> [nixpkgs] @maralorn opened pull request #106315 → rust-synapse-compress-state: init at 0.1.0 → https://git.io/JIBpf
<pjt_tmp> fancy-ass speedy nvme server and a full clone is still taking 5+ minutes >_<
<lovesegfault> ,locate libwayland-client.so
<{^_^}> Found in packages: wayland
<lovesegfault> So, I have a bin that is trying to dlopen a library. How can I get that to work?
<infinisil> ,runtimeDeps
<{^_^}> In order of preference: Patch source OR ((if it uses PATH -> wrap with new $PATH) AND (if it uses dlopen, (patchelf --set-rpath in postFixup OR wrap with new LD_LIBRARY_PATH)))
<{^_^}> [nixpkgs] @taku0 opened pull request #106316 → [20.09] flashplayer: 32.0.0.445 -> 32.0.0.453 → https://git.io/JIBpX
<lovesegfault> So, I _am_ wrapping LD_LIBRARY_PATH
<lovesegfault> but it's till misbehaving
<lovesegfault> guess I need to investigate more
orivej has joined #nixos
<lovesegfault> ,locate libxkbcommon.so
<{^_^}> Found in packages: libxkbcommon, libxkbcommon_7
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101790 → ngt: 1.8.4 -> 1.12.3-alpha → https://git.io/JT60b
<{^_^}> [nixpkgs] @SuperSandro2000 pushed commit from @tomberek to master « ngt: 1.8.4 -> 1.12.3-alpha (#101790) »: https://git.io/JIBhO
SanchayanMaity has quit [Quit: SanchayanMaity]
SanchayanMaity has joined #nixos
realrokka has quit [Read error: Connection reset by peer]
realrokka has joined #nixos
SanchayanMaity has quit [Client Quit]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101728 → tvm: init at 0.7.0 → https://git.io/JToD9
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIBha
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #78488 → correction on Guake i18n : guake use C locales (not gettext directly) → https://git.io/JvqoR
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIBh1
Darkmatter66_ has joined #nixos
SanchayanMaity has joined #nixos
SanchayanMaity has quit [Client Quit]
Darkmatter66 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105074 → clamav: enable unit tests, add libjson-c, disable rar explicitly → https://git.io/JkQe1
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JIBhN
<bqv> !seen michaelraskin
<bqv> .seen michaelraskin
spudly1 has quit [Ping timeout: 240 seconds]
<bqv> @seen michaelraskin
<{^_^}> [nixpkgs] @ryantm merged pull request #106312 → pbgopy: 0.1.1 -> 0.2.0 → https://git.io/JIBbm
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JIBhA
<bqv> huh, no bot does that.
coyotechords has left #nixos ["Quit - https://c.brettgilio.com/"]
<pjt_tmp> ,seen michaelraskin
<pjt_tmp> hm
SanchayanMaity has joined #nixos
o1lo01ol1o has joined #nixos
<infinisil> There's only ,tell as of now
<infinisil> ,tell
<{^_^}> Use `,tell john Remember to do the laundry` to send this to john next time he's talking in this channel
<bqv> and /whowas
xelxebar_ has quit [Remote host closed the connection]
xelxebar has joined #nixos
<bqv> i wanted to discuss https://github.com/nix-lisp/lisp-overlay with him, but i just sent him a github notification instead
<supersandro2000> if anyone ever wants to notify me trough github: I have 2660 notifications
<bqv> that sounds very productive
<pjt_tmp> how does one actually do that though? I have never found the relevant button
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<bqv> i just tagged him in a comment on a commit
<pjt_tmp> oh, huh. Does that work in issues too?
<bqv> yes
<pjt_tmp> ah, so I've been ignored on purpose. Good to know
<bqv> i'll resist the urge to say something salty about nixpkgs
<pjt_tmp> I was mostly thinking of an encounter I had on the youtube-dl repo, back when it existed
<pjt_tmp> got ignored for weeks, then someone closed my issue with the comment "this is expected behavior."
<pjt_tmp> ...after I had just explained how it wasn't >_<
<bqv> developers.. :D
<supersandro2000> developers! developers!
<pjt_tmp> ayup. I tried reopening it in a different category and they closed it within a day claiming it was a 'duplicate'
<V> get better developers :p
<pjt_tmp> eventually found they were selective with who they cooperated with. guess my solution was "be someone else?" :P
<pjt_tmp> my experience with the nixpkgs repo has been better, so I'm glad for that
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #97823 → perfect-hash: init at 0.4.1 → https://git.io/JUlOk
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIReN
<pjt_tmp> is this guide still accurate?: https://nixos.wiki/wiki/Nixpkgs/Update_a_package
<pjt_tmp> the `nix-build` command seems not to do what I want, and I remeber reading that `nix build` is supposed to be better
<{^_^}> [nixpkgs] @SuperSandro2000 pushed commit from @ajs124 to upd/sauerbraten « sauerbraten: 5492 -> 2020-12-04 »: https://git.io/JIRvZ
<supersandro2000> oh come on.
<supersandro2000> why do people turn off maintainer push...
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #106317 → sauerbraten: 5492 -> 2020-12-04 → https://git.io/JIRv2
stephank has quit [Quit: stephank]
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #106033 → sauerbraten: 5492 -> 2020-12-04 → https://git.io/JIndj
gustavderdrache has quit [Quit: Leaving.]
<simpson> It'd be nice if GH provided some way to hold PRs in escrow rather than requiring maintainer-push or PR-maintainers or etc.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
riksteri has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 272 seconds]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #106317 → sauerbraten: 5492 -> 2020-12-04 → https://git.io/JIRv2
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIRJo
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 0 commits to upd/sauerbraten: https://git.io/JIRJK
<{^_^}> [nixpkgs] @drewrisinger opened pull request #106318 → raspberrypi-tools: 2020-05-28 -> 2020-11-30 → https://git.io/JIRJ7
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #106254 → gnomeExtensions.caffeine: 2020-03-13 -> 37 → https://git.io/JI40u
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIRJF
<{^_^}> [nixpkgs] @FRidh merged pull request #106292 → pythonPackages.poetry: Apply patch to fix failing tests → https://git.io/JIB8W
<{^_^}> [nixpkgs] @FRidh pushed commit from @seppeljordan to master « pythonPackages.poetry: Apply patch to fix failing tests »: https://git.io/JIRJb
<{^_^}> [nixpkgs] @FRidh merged pull request #103250 → libunwind: Add devman output → https://git.io/JkTLZ
<{^_^}> [nixpkgs] @FRidh pushed commit from @wentasah to staging « libunwind: Add devman output »: https://git.io/JIRUn
georges has quit [Quit: ZNC 1.7.1 - https://znc.in]
xcmw has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #100813 → [staging] glibc: 2.32 -> 2.32-10 → https://git.io/JTccu
<{^_^}> [nixpkgs] @FRidh pushed commit from @vcunat to staging « glibc: 2.32 -> 2.32-10 »: https://git.io/JIRUP
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106319 → pugixml: 1.11 -> 1.11.1 → https://git.io/JIRUX
<pjt_tmp> I'm trying to update a broken packages and am at the "testing the changes" part here: https://nixos.wiki/wiki/Nixpkgs/Update_a_package
<pjt_tmp> is it still accurate?
<{^_^}> [nixpkgs] @FRidh merged pull request #104056 → xorg.xrandr: 1.5.0 -> 1.5.1 → https://git.io/JklU5
<{^_^}> [nixpkgs] @FRidh pushed commit from @TredwellGit to staging « xorg.xrandr: 1.5.0 -> 1.5.1 »: https://git.io/JIRU9
<energizer> i have nixos on this ssd but the mobo only says 'please insert boot media'
<{^_^}> [nixpkgs] @FRidh merged pull request #103284 → libcap: fix static build → https://git.io/JkT1c
<{^_^}> [nixpkgs] @FRidh pushed commit from @expipiplus1 to staging « libcap: fix static build »: https://git.io/JIRUd
<{^_^}> [nixpkgs] @FRidh merged pull request #105782 → unbound: 1.12.0 -> 1.13.0 → https://git.io/JIq3h
<{^_^}> [nixpkgs] @FRidh pushed commit from @mweinelt to staging « unbound: 1.12.0 -> 1.13.0 »: https://git.io/JIRUj
<{^_^}> [nixpkgs] @FRidh merged pull request #106157 → e2fsprogs: 1.45.5 -> 1.45.6 → https://git.io/JI8zz
<{^_^}> [nixpkgs] @FRidh pushed commit from @kampka to staging « e2fsprogs: 1.45.5 -> 1.45.6 »: https://git.io/JIRTY
<{^_^}> [nixpkgs] @FRidh merged pull request #106077 → pcre2: 10.35 -> 10.36 → https://git.io/JIWkD
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « pcre2: 10.35 -> 10.36 »: https://git.io/JIRTK
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #105680 → setuptools: stable file ordering for sdist → https://git.io/JIk6I
<{^_^}> [nixpkgs] @FRidh pushed commit from @raboof to staging « setuptools: stable file ordering for sdist »: https://git.io/JIRT1
<energizer> is there a way to check that a boot partition is valid?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #93365 → spacevim: init at v1.5.0 → https://git.io/JJZQE
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIRT9
<{^_^}> [nixpkgs] @FRidh merged pull request #105454 → pyopenssl: 19.1.0 -> 20.0.0 → https://git.io/JIeOc
<{^_^}> [nixpkgs] @FRidh pushed commit from @raboof to staging « pyopenssl: 19.1.0 -> 20.0.0 »: https://git.io/JIRTQ
<pjt_tmp> energizer: check if it's marked as such in cfdisk/cgdisk?
<pjt_tmp> I don't know how definitive that is though
<{^_^}> [nixpkgs] @FRidh merged pull request #105222 → libksba: 1.4.0 -> 1.5.0 → https://git.io/JkFNZ
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libksba: 1.4.0 -> 1.5.0 »: https://git.io/JIRTF
<pjt_tmp> wow busy hours for real
<pjt_tmp> hope I can figure out mine while people with merge ability are still awake :\
<gchristensen> there are always people awake with merge rights :)
<gchristensen> energizer: this script has helped me https://github.com/arvidjaar/bootinfoscript
<pjt_tmp> oh good
<energizer> gchristensen: thanks i'll check it
o1lo01ol1o has quit [Ping timeout: 256 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #104163 → [staging] setup-hooks/strip: more robust stripping → https://git.io/JkRlg
<{^_^}> [nixpkgs] @FRidh pushed commit from @ehmry to staging « setup-hooks/strip: more robust stripping »: https://git.io/JIRka
<{^_^}> [nixpkgs] @FRidh merged pull request #105670 → [staging] sqlite: 3.33.0 -> 3.34.0 → https://git.io/JIk85
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JIRkK
<{^_^}> [nixpkgs] @FRidh merged pull request #106296 → libgphoto2: 2.5.23 -> 2.5.26 → https://git.io/JIBBN
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libgphoto2: 2.5.23 -> 2.5.26 »: https://git.io/JIRkQ
<{^_^}> [nixpkgs] @drewrisinger opened pull request #106320 → raspberrypiWirelessFirmware: 2019-08-16 -> 2020-12-01 → https://git.io/JIRkh
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101248 → pfsshell: init at 1.1.1 → https://git.io/JTE9W
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JIRIe
<{^_^}> [nixpkgs] @FRidh merged pull request #104169 → libcap_ng: 0.7.11 -> 0.8 → https://git.io/JkRa5
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libcap_ng: 0.7.11 -> 0.8 »: https://git.io/JIRII
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #66830 → tclreadline: init at 2.3.8 → https://git.io/fjFcM
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIRIs
<{^_^}> [nixpkgs] @FRidh pushed 79 commits to staging-next: https://git.io/JIRIB
<{^_^}> [nixpkgs] @FRidh opened pull request #106321 → Staging next → https://git.io/JIRIu
maljub01 has quit [Quit: maljub01]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101848 → odafileconverter: 21.7.0.0 -> 21.11.0.0 → https://git.io/JTiHB
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JIRIP
saschagrunert has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #102129 → gojsontoyaml: init at unstable-2020-06-02 → https://git.io/JTygr
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIRId
waleee-cl has quit [Quit: Connection closed for inactivity]
maljub01 has joined #nixos
endformationage has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @ryantm merged pull request #105284 → doc/gnome: Port to Markdown → https://git.io/JkNCL
<{^_^}> [nixpkgs] @ryantm pushed 6 commits to master: https://git.io/JIRLv
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106322 → rednotebook: 2.20 -> 2.21 → https://git.io/JIRLs
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #106158 → kore: 3.3.1 → 4.0.1 → https://git.io/JI8zF
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIRLG
sss2 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #101937 → img-cat: init at 1.2.0 → https://git.io/JT1md
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIRLi
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105830 → gatling: 0.15 -> 0.16 → https://git.io/JImbW
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 5 commits to master: https://git.io/JIRLH
<{^_^}> [nixpkgs] @ryantm merged pull request #105962 → doc: convert Submitting changes to Markdown → https://git.io/JIZfN
<{^_^}> [nixpkgs] @ryantm pushed 4 commits to master: https://git.io/JIRtC
chang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chang has joined #nixos
chang has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106323 → resvg: 0.11.0 -> 0.12.0 → https://git.io/JIRtX
SanchayanMaity has quit [Remote host closed the connection]
<energizer> "Boot sector info: According to the info in the boot sector, sdb1 has 1048576 sectors.. But according to the info from the partition table, it has 1046528 sectors."
SanchayanMaity has joined #nixos
mlen has quit [Ping timeout: 260 seconds]
hyper_ch4 has joined #nixos
hyper_ch2 has joined #nixos
hyper_ch5 has quit [Ping timeout: 256 seconds]
hyper_ch4 has quit [Ping timeout: 272 seconds]
SanchayanMaity has quit [Remote host closed the connection]
SanchayanMaity has joined #nixos
sudoforge has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
<lovesegfault> ,locate libvulkan.so.1
<{^_^}> Found in packages: vulkan-loader
xcmw has quit [Quit: Textual IRC Client: www.textualapp.com]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @TredwellGit opened pull request #106324 → glibc: 2.32-10 -> 2.32-23 → https://git.io/JIR3a
SanchayanMaity has quit [Quit: SanchayanMaity]
SanchayanMaity has joined #nixos
kevin4venus has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106325 → seaweedfs: 2.13 -> 2.14 → https://git.io/JIRGe
<ryantm> Repost: The Final Comment Period for RFC 0080 (https://github.com/NixOS/rfcs/pull/80) has started and, barring any blocking issues, will be merged after 2020-12-15. Your opinions, comments, and approvals are welcome!
<{^_^}> rfcs#80 (by jonringer, 1 week ago, open): [RFC 0080] Change NixOS releases to YY.05,YY.11
kevin4ve1us has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106326 → sickgear: 0.23.4 -> 0.23.5 → https://git.io/JIRZs
kevin4venus has quit [Ping timeout: 246 seconds]
mlen has joined #nixos
Rusty1 has quit [Quit: WeeChat 2.3]
spudly1 has joined #nixos
zeta_0 has joined #nixos
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos
<zeta_0> if any of you could give me tips on how to correctly setup a Brother printer on a NixOS machine, here's my corresponding reddit post, thanks in advance for the help! https://www.reddit.com/r/NixOS/comments/k8yo9e/how_do_you_correcty_setup_a_brother_printer_in/
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/3a02dc9edb2 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
sangoma has joined #nixos
zeta_0 has quit [Client Quit]
<{^_^}> [nix] @regnat opened pull request #4325 → Hide the sqlite statements declarations for the local store → https://git.io/JIRnV
cole-h has joined #nixos
numkem8 has joined #nixos
numkem has quit [Ping timeout: 240 seconds]
numkem8 is now known as numkem
kevin4ve1us has quit [Remote host closed the connection]
palo1 has joined #nixos
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @github-actions[bot] pushed 63 commits to staging-next: https://git.io/JIRW3
<{^_^}> [nixpkgs] @github-actions[bot] pushed 65 commits to staging: https://git.io/JIRWs
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JIRWK
mounty has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #106271 → ceph: 15.2.6 -> 15.2.7 → https://git.io/JIBe3
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JIRli
ericsagn1 has quit [Ping timeout: 260 seconds]
iH8c0ff33 has joined #nixos
<pjt_tmp> anyone got a minute to look at a broken python package?
<pjt_tmp> It fails to even build the executable, not sure why
iH8c0ff33 has quit [Ping timeout: 264 seconds]
<pjt_tmp> It builds from source just fine though, save for a test that sees no /bin/bash and fails
<pjt_tmp> which -notest takes care of
<srhb> pjt_tmp: How do I reproduce the failure?
<{^_^}> [cabal2nix] @peti merged pull request #473 → Map libbrotli{enc,dec} to brotli → https://git.io/JIBbI
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/JIRRk
<pjt_tmp> srhb: nix-shell -p python3Packages.tlsh
<pjt_tmp> the tlsh executable is not created
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
<pjt_tmp> same for python3{7,8}Packages.tlsh
supersandro2000 has joined #nixos
ericsagn1 has joined #nixos
<pjt_tmp> wish I'd found that sooner--hopfully there's an answer here. Tlsh is both a library (diffoscope depends on it) and a cmdline tool. I haven't packaged for both at once before.
Guillaum has quit [Ping timeout: 260 seconds]
<srhb> pjt_tmp: Yeah, it looks like the sort of thing where you'd want to first do the cmake build and then generate bindings to it with toPythonModule or something.
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/afbfc540141 (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<pjt_tmp> srhb: where would that function(?) be documented?
<pjt_tmp> ah, right on the page I was on, how convenient
<srhb> Very! :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106327 → svls: 0.1.17 -> 0.1.18 → https://git.io/JIR0v
<srhb> But yeah, I think you'll want to coerce the cmake build into doing the right thing with mkDerivation, and only afterwards make python bindings using that function.
ddellacosta has quit [Ping timeout: 272 seconds]
<pjt_tmp> we also have a "buildPythonApplication"--is that prefered at all?
<srhb> It's preferred for python _applications_, that is, when it really is a python program (I'm not sure whether that's the case here)
<pjt_tmp> srhb: tlsh is both
hyper_ch4 has joined #nixos
<pjt_tmp> the comment there implies that it's optional, but I still don't want to break stuff
hyper_ch5 has joined #nixos
<pjt_tmp> do you know of an existing library/tool in python I could use as a reference?
hyper_ch2 has quit [Ping timeout: 240 seconds]
<srhb> Hm, not really. I think the main problem here is that even with a mkDerivation the cmake/gnumake setup is so nonstandardthat you'll have to drive it by hand.
<srhb> I would start there and get the binaries building.
<srhb> In other words, I don't think a reference will help you (yet) because this package is probably like no others.
<pjt_tmp> that's...intimidating
hlolli has joined #nixos
<srhb> It's probably not so bad. Start by converting it to a mkDerivation and drive the build by hand according to the upstream build instructions, by filling in buildPhase, installPhase etc.
<srhb> Once you have something that actually produces $out/bin, you can start worrying about making the packaging proper for both python and the rest of the components.
hyper_ch4 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #106274 → [20.09] ceph: 15.2.6 -> 15.2.7 → https://git.io/JIBf4
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-20.09: https://git.io/JIREb
<pjt_tmp> hm
<pjt_tmp> I am really out of my depth here
<pjt_tmp> time to flail a bit
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<srhb> pjt_tmp: Sorry I can't help in more detail right now, workday has started, but if you do make an attempt, I may be able to take a look tomorrow or something. Or you could just open an issue for now, maybe someone more fluent in that tool or python can solve it quickly :)
<pjt_tmp> srhb: That's alright. one last thing for now though:
o1lo01ol1o has joined #nixos
<pjt_tmp> if I'm in my nixpkgs copy, is this a good way to test it builds?: nix-build -I nixpkgs=. -A python3Packages.tlsh
<srhb> pjt_tmp: The include is redundant, nix-build defaults to default.nix in CWD.
<srhb> pjt_tmp: But otherwise yes.
<pjt_tmp> good
<pjt_tmp> does `nix build` without the dash do anything useful that the dashed one doesn't?
<srhb> I would avoid it until the experimental interface(s) stabilize.
<pjt_tmp> makes sense
<srhb> It'll behave very differently depending on the exact version of nix you're using, so.. Best avoid confusion :)
<pjt_tmp> right
<pjt_tmp> srhb: thanks for the initial help
<srhb> You're welcome, good luck.
o1lo01ol1o has quit [Ping timeout: 260 seconds]
kalbasit has quit [Ping timeout: 256 seconds]
Guillaum has joined #nixos
hyper_ch4 has joined #nixos
mallox has joined #nixos
vidbina_ has joined #nixos
Darkmatter66_ has quit [Ping timeout: 264 seconds]
hyper_ch5 has quit [Ping timeout: 272 seconds]
FRidh has joined #nixos
marsh has quit [Ping timeout: 246 seconds]
rickard has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106328 → topgrade: 6.0.1 -> 6.0.2 → https://git.io/JIRVF
justan0theruser has joined #nixos
respawn_ has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
meck has quit [Remote host closed the connection]
zupo has joined #nixos
meck has joined #nixos
werner291 has joined #nixos
o1lo01ol1o has joined #nixos
bitmapper has quit [Quit: Connection closed for inactivity]
zupo_ has joined #nixos
iH8c0ff33 has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #105133 → Gromacs: fix SIMD flags, and OpenMP → https://git.io/Jk7i9
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JIRKr
marsh has joined #nixos
teto has joined #nixos
m0rphism has joined #nixos
thibm has joined #nixos
civodul has joined #nixos
noudle has joined #nixos
Hash has joined #nixos
<Hash> Hi
<Hash> Tring to figure out what is up with this os
<Hash> if you don't have python, you go nix-shell -p python
<Hash> and you have python
<Hash> without installing anything?
<Hash> Am I too high?
<thibm> Hash: it "installs" python but makes it available *only* in the ephemeral shell environment
<Hash> So why does it even say it's not there? Why have to type this? Why not have python already for exmaple
<Hash> Oh
<thibm> So it's there, but you cannot access it from outside this shell. Except if you put it in your "default profile", for example
<Hash> And how is this different from apt install python
<Hash> Because of the hashing scheme, different versions of a package end up in different paths in the Nix store, so they don’t interfere with each other.
<Hash> So now you're loading multiple versions of the same lib
cryptopsy has joined #nixos
<thibm> Hash: apt will install python system-wise. All users, all shell can access *this* python once it's installed
<cryptopsy> how do i get started with nixos?
<thibm> Hash: with Nix, all users can choose if they want python or not, and *which* python they want
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106330 → ugrep: 3.0.5 -> 3.0.6 → https://git.io/JIRP3
<cryptopsy> i want to build nixos in a chroot to get the feel of it
<thibm> Hash: yeah you can have multiple versions of the same libs/programs. That's why there are "profiles"
<thibm> They take care of giving you access to the ones you wanted
<cryptopsy> is nixos a compiled OS?
thc202 has joined #nixos
<thibm> cryptopsy: compiler OS: you meant with prebuilt binaries?
<cryptopsy> i mean like in gentoo
<cryptopsy> i compile everything
<thibm> ah, the opposite. Then by default, no (you get binaries), but it's very easy to compile packages (if you change flags or whatever) or even to compile everything
<thibm> so yes and no
<cryptopsy> how do i set up a nixos installation from a chroot on my current drive?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thibm> cryptopsy: I think you can use the regular installation procedure, with `nixos-install --no-bootloader` (replace /mnt by a folder on your drive) and then `nixos-enter` (never tested that)
cfricke has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106331 → vale: 2.6.4 -> 2.6.5 → https://git.io/JIRXb
<pumpy> when im installing nixos i do the basics then ssh in. weird thing though when i ssh in and edit configuration.nix, i can't right click to paste into the file using vi. but i *can* paste text into the command line so it's just a vi problem. how i can fix pls?
<thibm> pumpy: try `:set mouse=` and try pasting again
cole-h has quit [Ping timeout: 240 seconds]
davidv7 has quit [Remote host closed the connection]
davidv7 has joined #nixos
<{^_^}> [nixpkgs] @layus opened pull request #106333 → haskellPackages.cryptohash-sha512: fix by jailbreaking → https://git.io/JIRMR
<{^_^}> [nixpkgs] @marsam merged pull request #106323 → resvg: 0.11.0 -> 0.12.0 → https://git.io/JIRtX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRMu
<{^_^}> [nixpkgs] @marsam merged pull request #106313 → pgmetrics: 1.10.2 -> 1.10.3 → https://git.io/JIBN0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRMw
<{^_^}> [nixpkgs] @jojosch opened pull request #106334 → mycli: fix build with sqlparse 0.4.x → https://git.io/JIRMX
<{^_^}> [nixpkgs] @marsam merged pull request #106301 → mg: 6.7 -> 6.8.1 → https://git.io/JIBVI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRM7
<pumpy> thibm no just inserted blank line
<{^_^}> [nixpkgs] @marsam merged pull request #106280 → iosevka-bin: 4.0.0 -> 4.0.2 → https://git.io/JIBmp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRMb
<pumpy> no
<pumpy> worked after i copied again
<pumpy> tyvm
<{^_^}> [nixpkgs] @marsam merged pull request #106259 → v2ray: 4.32.1 -> 4.33.0 → https://git.io/JI46X
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRDm
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106335 → visidata: 2.0.1 -> 2.1 → https://git.io/JIRDc
kidn[m] has quit [Quit: Idle for 30+ days]
srasu[m] has quit [Quit: Idle for 30+ days]
punsha[m] has quit [Quit: Idle for 30+ days]
lunik1 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #106330 → ugrep: 3.0.5 -> 3.0.6 → https://git.io/JIRP3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRDE
<{^_^}> [nixpkgs] @Mic92 opened pull request #106336 → nixos/nscd: start in early boot → https://git.io/JIRDz
<{^_^}> [nixpkgs] @marsam merged pull request #106331 → vale: 2.6.4 -> 2.6.5 → https://git.io/JIRXb
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRDa
<{^_^}> [nixpkgs] @jtojnar merged pull request #106066 → gnome3.mutter: 3.38.1 -> 3.38.2 → https://git.io/JICPY
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « gnome3.mutter: 3.38.1 -> 3.38.2 »: https://git.io/JIRDi
<{^_^}> [nixpkgs] @marsam merged pull request #106326 → sickgear: 0.23.4 -> 0.23.5 → https://git.io/JIRZs
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRDM
<pumpy> thibm++
<{^_^}> thibm's karma got increased to 11
<{^_^}> [nixpkgs] @jtojnar merged pull request #106277 → gnome-podcasts: add dependency gst-plugins-good → https://git.io/JIBIC
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JIRDQ
amfl_ has joined #nixos
amfl has quit [Ping timeout: 256 seconds]
amfl_ is now known as amfl
<{^_^}> [nixpkgs] @marsam merged pull request #106327 → svls: 0.1.17 -> 0.1.18 → https://git.io/JIR0v
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRDj
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #106325 → seaweedfs: 2.13 -> 2.14 → https://git.io/JIRGe
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRym
<{^_^}> [nixpkgs] @siriobalmelli opened pull request #106337 → python3Packages.llfuse: 1.3.6 -> 1.3.8-2020-12-04 → https://git.io/JIRy8
<{^_^}> [nixpkgs] @marsam merged pull request #106319 → pugixml: 1.11 -> 1.11.1 → https://git.io/JIRUX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRyK
Lord_of_Life has quit [Changing host]
Lord_of_Life has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #106314 → postsrsd: 1.8 -> 1.9 → https://git.io/JIBxj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRyd
<{^_^}> [nixpkgs] @marsam merged pull request #106099 → python37Packages.bugsnag: 4.0.1 -> 4.0.2 → https://git.io/JIWQn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRSk
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106338 → webhook: 2.7.0 -> 2.8.0 → https://git.io/JIRSO
spudly1 has quit [Quit: killed]
<{^_^}> [nixpkgs] @marsam merged pull request #106098 → python37Packages.breathe: 4.24.0 -> 4.24.1 → https://git.io/JIW9x
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRSl
spudly1 has joined #nixos
Maxdaman1us is now known as Maxdamantus
<{^_^}> [nixpkgs] @marsam merged pull request #106117 → python37Packages.click-help-colors: 0.8 -> 0.9 → https://git.io/JIWjd
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIRSw
philr_ has quit [Ping timeout: 264 seconds]
spudly1 has quit [Client Quit]
Izorkin has quit [Ping timeout: 265 seconds]
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
amfl_ has joined #nixos
amfl has quit [Ping timeout: 246 seconds]
amfl_ is now known as amfl
<{^_^}> [nixpkgs] @Mic92 opened pull request #106339 → graphviz: enable parallel building → https://git.io/JIRH0
spudly1 has joined #nixos
fendor has joined #nixos
respawn_ has quit [Quit: Leaving]
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #106284 → rustc: generate deterministic manifest → https://git.io/JIBnf
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/JIRQ1
<{^_^}> [nixpkgs] @Yarny0 opened pull request #106340 → patchelf: add patch: false alarm for non overlapping sections → https://git.io/JIRQS
<pumpy> i just tried something and the same password hash on a different OS i was able to use in my nix user password hash option and login with the same pw! is that expected?
berberman_ has quit [Ping timeout: 260 seconds]
berberman has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #106335 → visidata: 2.0.1 -> 2.1 → https://git.io/JIRDc
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JIRd6
o1lo01ol1o has joined #nixos
<{^_^}> [nix] @regnat opened pull request #4326 → Re-query for the derivation outputs in the post-build-hook → https://git.io/JIRdA
Darkmatter66 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
iH8c0ff33 has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
orivej has joined #nixos
dvicente has joined #nixos
zupo has joined #nixos
costrouc has quit [Remote host closed the connection]
costrouc has joined #nixos
<fendor> ,locate pq
<{^_^}> Found in packages: gap-full, linux.dev, linux-rt.dev, linux-libre.dev, linux-rt_5_6.dev, linux_testing.dev, python37Packages.pq, python38Packages.pq, linuxPackages_5_8.kernel.dev, linuxPackages_5_9.kernel.dev, linuxPackages_zen.kernel.dev, linuxPackages_hardened.kernel.dev, linuxPackages_xen_dom0.kernel.dev, linuxPackages_latest-libre.kernel.dev, linuxPackages_latest_hardened.kernel.dev, linuxPackages_latest_xen_dom0.kernel.dev, and 3 more
pjt_tmp has quit [Ping timeout: 260 seconds]
rprije has quit [Ping timeout: 256 seconds]
Diagon has quit [Ping timeout: 240 seconds]
fendor has quit [Remote host closed the connection]
detran has quit [Quit: ZNC 1.8.1 - https://znc.in]
fendor has joined #nixos
detran has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #4326 → Re-query for the derivation outputs in the post-build-hook → https://git.io/JIRdA
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JIRpJ
o1lo01ol1o has joined #nixos
ericsagn1 has quit [Ping timeout: 264 seconds]
cipherrot is now known as petrichor
Diagon has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @liff closed pull request #99279 → teams: remove rect-overlay -- causes desktop sharing to break without a composer → https://git.io/JUSrp
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @tapayne88 closed pull request #90485 → fpp: fix python2 replace command and add python3 replace command → https://git.io/Jf7a0
ericsagn1 has joined #nixos
diamondbond has quit [Ping timeout: 272 seconds]
stzsch has quit [Quit: stzsch]
stzsch has joined #nixos
philr_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106341 → abcm2ps: 8.14.10 -> 8.14.11 → https://git.io/JI0vn
jboy has quit [Quit: bye]
jboy has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106342 → alpine-make-vm-image: 0.6.0 -> 0.7.0 → https://git.io/JI0fa
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JI0fX
zupo has joined #nixos
MidAutumnHotaru3 has joined #nixos
kim0 has joined #nixos
MidAutumnHotaru has quit [Ping timeout: 240 seconds]
MidAutumnHotaru3 is now known as MidAutumnHotaru
CptCaptain has joined #nixos
justan0theruser has quit [Ping timeout: 264 seconds]
diamondbond has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @siriobalmelli closed pull request #106337 → python3Packages.llfuse: 1.3.6 -> 1.3.8-2020-12-04 → https://git.io/JIRy8
zupo has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
Guillaum has quit [Quit: Lost terminal]
nicoo has quit [Ping timeout: 240 seconds]
<Mic92> DavHau[m]: I found a new use case for nix-ld in fhsuservenv. LD_LIBRRAY_PATH can really mess up programs outside of fhsuserenv
jonatanb has joined #nixos
<Mic92> so having NIX_LD_LIBRARY_PATH limits the damage to programs compiled for legacy operating systems.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c2effbb4481 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Mic92> I also worked on patch today that allows root in fhsuserenv.
nicoo has joined #nixos
jonatanb has quit [Remote host closed the connection]
cosimone has joined #nixos
thibm has quit [Quit: WeeChat 2.6]
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #106343 → ocamlPackages.js_of_ocaml*: 3.7.0 -> 3.8.0 → https://git.io/JI0mY
<{^_^}> [nixpkgs] @sternenseemann opened pull request #106344 → ocamlPackages.cinaps: init at 0.14.0 → https://git.io/JI0mC
<jophish> ,locate glext.h
<{^_^}> Found in packages: zig, ogre, nxproxy, ogre1_9, openmvg, ogre1_10, emscripten, libglvnd.dev, gnome2.gtkglext, opencascade-occt730
cr4y1 has joined #nixos
M86ul[m] has joined #nixos
o1lo01ol1o has joined #nixos
cosimone has quit [Quit: cosimone]
<{^_^}> [nixpkgs] @github-actions[bot] pushed 40 commits to staging-next: https://git.io/JI0Ow
<{^_^}> [nixpkgs] @github-actions[bot] pushed 41 commits to staging: https://git.io/JI0Or
<{^_^}> [nixpkgs] @sternenseemann opened pull request #106345 → ocamlPackages.tls: 0.12.7 -> 0.12.8 → https://git.io/JI0OF
<{^_^}> [nixpkgs] @flokli merged pull request #106308 → unbound: Add AF_NETLINK to allowed address families. → https://git.io/JIBM4
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JI0sd
jonatanb has joined #nixos
Rafid has joined #nixos
<Rafid> do u all use nixos?
<{^_^}> [nixpkgs] @sternenseemann opened pull request #106346 → opam-installer: init at 2.0.7 → https://git.io/JI0G3
Darkmatter66 has quit [Ping timeout: 240 seconds]
thibm has joined #nixos
magnetophon has joined #nixos
<jophish> Rafid: probably not
jonatanb has quit [Ping timeout: 246 seconds]
Rafid has quit [Remote host closed the connection]
werner291 has quit [Ping timeout: 272 seconds]
pumpy has left #nixos [#nixos]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
werner291 has joined #nixos
xdej has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « chromedriver.src: Update the hash »: https://git.io/JI0cT
o1lo01ol1o has quit [Ping timeout: 256 seconds]
ardumont has quit [Ping timeout: 256 seconds]
boxscape has joined #nixos
ardumont has joined #nixos
<{^_^}> [nixpkgs] @midchildan opened pull request #106348 → libtapi: build the 'tapi' executable → https://git.io/JI0CP
<{^_^}> [nixpkgs] @Atemu opened pull request #106349 → linux_zen: 5.9.12 -> 5.9.13 → https://git.io/JI0Cd
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #106328 → topgrade: 6.0.1 -> 6.0.2 → https://git.io/JIRVF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to staging: https://git.io/JI0WD
mkaito has joined #nixos
werner291 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #106316 → [20.09] flashplayer: 32.0.0.445 -> 32.0.0.453 → https://git.io/JIBpX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to release-20.09: https://git.io/JI0le
chang has joined #nixos
chang has quit [Client Quit]
Fare has joined #nixos
ardumont_ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #106170 → kube3d: 3.3.0 -> 3.4.0 → https://git.io/JI8b3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JI0lx
ardumont has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @edolstra merged pull request #4325 → Hide the sqlite statements declarations for the local store → https://git.io/JIRnV
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JI088
fendor_ has joined #nixos
fendor has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0a53b762020 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
noudle has quit []
fendor_ is now known as fendor
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0a53b762020 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
boxscape has left #nixos [#nixos]
oxalica has quit [Quit: oxalica]
cr4y1 has quit [Ping timeout: 264 seconds]
seku has joined #nixos
oxalica has joined #nixos
gxt_ has quit [Remote host closed the connection]
sudoforge has joined #nixos
mananamenos has joined #nixos
gxt_ has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #106306 → mympd: 6.8.1 -> 6.8.3 → https://git.io/JIBiL
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JI0EU
lassulus has quit [Quit: WeeChat 2.9]
lassulus has joined #nixos
<teto> in the output schema at https://nixos.wiki/wiki/Flakes, it doesn't say which attribute is run by `nix develop`. Also is it posible to reference a flake in a subfolder of a git repository ?
ardumont_ is now known as ardumont
<{^_^}> [nixpkgs] @sternenseemann opened pull request #106350 → ocamlPackages: add ppxlib 0.20.0 and split ppxlib versions into different attrs → https://git.io/JI0ui
werner291 has joined #nixos
raghavsood has joined #nixos
orivej has joined #nixos
lukego has quit [Ping timeout: 240 seconds]
adamse has quit [Read error: Connection reset by peer]
adamse has joined #nixos
lukego has joined #nixos
<niksnut> teto: devShell.<system> or defaultPackage.<system>
<niksnut> teto: yes, e.g. 'nix run github:edolstra/nix-warez?dir=blender'
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
gvolpe[m] has joined #nixos
gvolpe[m] is now known as GabrielVolpe[m]
chang has joined #nixos
skrzyp has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
<ptotter[m]> how can I tell a single invocation of nix-shell to allow broken packages? (i.e. not by modifying a config file)
<teto> niksnut: fantastic thanks
CptCaptain has quit [Quit: WeeChat 2.9]
<Aleksejs> Hey, I wanted to create an update request for telegram package but I see that there is this issue https://github.com/NixOS/nixpkgs/issues/102904
<{^_^}> #102904 (by ckauhaus, 4 weeks ago, open): Vulnerability roundup 96: telegram-desktop-2.3.0: 1 advisory [2.4]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #106044 → systemd: fix pc files → https://git.io/JIcPC
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/JI06J
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to fwupd-1.5.3: https://git.io/JI06V
<{^_^}> [nixpkgs] @jtojnar opened pull request #106352 → fwupd: 1.5.1 → 1.5.3 → https://git.io/JI06w
<thibm> ptotter[m]: env NIXPKGS_ALLOW_BROKEN=1 nix-shell
cryptopsy has quit [Ping timeout: 256 seconds]
magnetophon has quit [Read error: Connection reset by peer]
chang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
magnetophon has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JI0Px
cr4y1 has joined #nixos
wnklmnn has joined #nixos
cryptopsy has joined #nixos
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
<teto> I've done a rm -rf ~/.cache/nix and now nix run complains about "cannot open sqlite database ~/.cache/nix/eval-cache-v2". How can I rebuild it ?
<DavHau[m]> <Mic92 "DavHau: I found a new use case f"> How can it mess up programs outside fhsuserenv?
jiribenes has joined #nixos
dvicente has quit [Remote host closed the connection]
<niksnut> teto: strange, it should be created automatically
NeoCron has joined #nixos
<{^_^}> [nix] @regnat pushed 2 commits to ca/properly-store-outputs: https://git.io/JI0MZ
<niksnut> ~/.cache/nix/eval-cache-v2 should be a directory btw (containing sqlite files)
<Mic92> DavHau[m]: if you have different version of glibc in LD_LIBRARY_PATH than you outside program uses
<teto> the command I run `nix run 'github:teto/neovim/flake?dir=contrib#nvim' ` with nix 2.4pre20201201_5a6ddb3
chang has joined #nixos
<teto> there is an sqlite database in the folder eval-cache-v2 but with a different name
<teto> maybe because the daemon differ ? I should restart ?
jonatanb has joined #nixos
pumpy has joined #nixos
<pumpy> i just tried something and the same password hash on a different OS i was able to use in my nix user password hash option and login with the same pw! is that expected?
<teto> arf I though --refresh could help but now I get nix --refresh run 'github:teto/neovim/flake?dir=contrib#nvim' ~/hm
<teto> error: --- SQLiteError --------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
<teto> executing SQLite statement 'insert or replace into Cache(input, info, path, immutable, timestamp) values ('{"name":"source","type":"file","url":"https://api.github.com/repos/teto/neovim/commits/flake"}', '{"etag":"W/\"9edfb5f07ea2eb35d6edf568e9cea3d84cacc65f164152d32f6752de9c92e36b\"","url":"https://api.github.com/repos/teto/neovim/commits/flake"}',
<teto> '/nix/store/nsvdk4qbjiam19vapkaasjq3i4rfkszc-source', 0, 1607438551)': attempt to write a readonly database (in '/home/teto/.cache/nix/fetcher-cache-v1.sqlite')
tcunha has quit [Ping timeout: 260 seconds]
jonatanb_ has joined #nixos
Doraemon has joined #nixos
jonatanb has quit [Ping timeout: 258 seconds]
boxofrox has joined #nixos
NeoCron has quit [Ping timeout: 258 seconds]
<teto> because ofthe previous issue, I tried a sudo -E nixos-rebuild that recreated ~/.cache/nix and assigned it to root. now it works fine
medvid has quit [Ping timeout: 240 seconds]
chang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
medvid has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106353 → ckbcomp: 1.198 -> 1.199 → https://git.io/JI0QT
chang has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
jonatanb_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #106345 → ocamlPackages.tls: 0.12.7 -> 0.12.8 → https://git.io/JI0OF
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.tls: 0.12.7 -> 0.12.8 »: https://git.io/JI07a
<{^_^}> [nix] @regnat opened pull request #4330 → Properly store the outputs of CA derivations − take 2 → https://git.io/JI05L
<{^_^}> [nix] @regnat closed pull request #4315 → Properly store the outputs of CA derivations → https://git.io/JI3RB
waleee-cl has joined #nixos
gustavderdrache has joined #nixos
nek0 has quit [Quit: The Lounge - https://thelounge.chat]
nek0 has joined #nixos
magnicida has joined #nixos
magnicida has quit [Client Quit]
zupo has quit [Ping timeout: 256 seconds]
<siraben> I see CPU core temperature above threshold in my dmesg logs, how can I manage thermals?
Siyo has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
<pumpy> what temp (c) is it?
<siraben> how do I check that?
Siyo has joined #nixos
SanchayanMaity has quit [Quit: SanchayanMaity]
nek0 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106355 → cppcheck: 2.2 -> 2.3 → https://git.io/JI0Au
gustavderdrache has left #nixos [#nixos]
gustavderdrache has joined #nixos
<pumpy> dunno
Siyo has quit [Quit: Bye]
<halfbit> if I have a derivation where the actual source I want to build after configure is in a subdirectory, can I simply add like a preBuild step that cd's in?
jonatanb has joined #nixos
bn_work has joined #nixos
cr4y1 has quit [Ping timeout: 256 seconds]
Siyo has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #103939 → nice-dcv-client: init at 2020.2.1737-1 → https://git.io/JkZDJ
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/JI0pN
<raghavsood> halfbit: You could also do something like `src = "${fetchFromGithub...}/subdir"`
<{^_^}> [nixpkgs] @gebner merged pull request #106267 → linphone: unstable-2020-03-06 -> 4.2.4 → https://git.io/JI4hL
<{^_^}> [nixpkgs] @gebner pushed 8 commits to master: https://git.io/JI0hJ
Siyo has quit [Client Quit]
jonatanb has quit [Ping timeout: 240 seconds]
<thibm> halfbit: there's sourceRoot attribute
growpotkin has joined #nixos
jonatanb has joined #nixos
Siyo has joined #nixos
sangoma has quit [Ping timeout: 256 seconds]
NickHu has joined #nixos
NickHu has quit [Changing host]
NickHu has joined #nixos
jonatanb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #105664 → ocaml-ng.ocamlPackages_4_12.ocaml: 4.12.0~α1 → 4.12.0~α2 → https://git.io/JIkO9
<{^_^}> [nixpkgs] @vbgl pushed to master « ocaml-ng.ocamlPackages_4_12.ocaml: 4.12.0~α1 → 4.12.0~α2 »: https://git.io/JI0jB
justanotheruser has joined #nixos
saschagrunert has quit [Quit: Leaving]
manjaroCinnamon has joined #nixos
cryptopsy has quit [Ping timeout: 272 seconds]
magnetophon has quit [Ping timeout: 272 seconds]
<simpson> I have a machine which thinks that it is currently April 2020. It thinks that most SSL certificates are invalid. The time cannot be manually set; an "Automatic time synchronization is enabled" message appears.
<simpson> Further, asking it to be disabled with `timedatectl set-ntp false` gives "Changing system settings via systemd is not supported on NixOS". This is fine, but does this mean that I have to wait ~30min for the next NTP sync before SSL will work?
o1lo01ol1o has joined #nixos
<steveeJ> simpson: what's the status of `systemd-timesyncd.service`?
<simpson> steveeJ: Active, running, idle. The log starts in September, but then it thinks "system clock time unset or jumped backwards" and continues in February.
<steveeJ> simpson: what happens if you restart it?
<gchristensen> 🎉 thanks to raghavsood we have a Darwin builder in ofborg 🎉
<raghavsood> Happy to help give back to a community that's saved me countless hours!
<simpson> steveeJ: Somehow it's all working again; it now knows that we're in December. Go figure, thanks. Guess it just needed a second opinion.
<gchristensen> <3 thank you raghavsood
o1lo01ol1o has quit [Ping timeout: 240 seconds]
slimeee has joined #nixos
FRidh has joined #nixos
<hexa-> raghavsood++
<{^_^}> raghavsood's karma got increased to 5
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @siraben opened pull request #106357 → nxpmicro-mfgtools: 1.3.191 -> 1.4.43 → https://git.io/JIETF
<{^_^}> [nixpkgs] @ngiger opened pull request #106358 → Added Eclipse IDE for RCP and RAP developer → https://git.io/JIETj
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #106359 → dgen: init at 1.33 → https://git.io/JIEkG
cfricke has quit [Quit: WeeChat 2.9]
cryptopsy has joined #nixos
<{^_^}> [nixpkgs] @SFrijters closed pull request #103327 → maestral-gui: 1.2.1 -> 1.2.2 → https://git.io/Jkkrb
<{^_^}> [nixpkgs] @domenkozar pushed to master « hsphfpd: 2020-11-27 -> 2020-12-05 »: https://git.io/JIEk1
mallox has quit [Quit: WeeChat 3.0]
mallox has joined #nixos
<{^_^}> [nixpkgs] @gebner opened pull request #106360 → coin3d, soqt, freecad: update to git master → https://git.io/JIEIT
<{^_^}> [nixpkgs] @timokau merged pull request #106300 → netbeans: 12.1 -> 12.2 → https://git.io/JIBVJ
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/JIEIG
cryptopsy has quit [Ping timeout: 240 seconds]
magnetophon has quit [Ping timeout: 240 seconds]
nek0 has joined #nixos
bitmapper has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #106020 → ocamlPackages.alcotest: 1.0.1 → 1.2.3 → https://git.io/JInlX
<{^_^}> [nixpkgs] @vbgl pushed 6 commits to master: https://git.io/JIEIw
<pumpy> what's the nixos command to tail firewall pass/block events pls?
<{^_^}> [nixpkgs] @SFrijters opened pull request #106361 → maestral-gui: 1.2.1 -> 1.3.1 → https://git.io/JIEIo
mallox has quit [Client Quit]
b42 has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #106360 → coin3d, soqt, freecad: update to git master → https://git.io/JIEIT
<{^_^}> [nixpkgs] @gebner pushed 4 commits to master: https://git.io/JIEtg
<{^_^}> [nixpkgs] @vbgl merged pull request #106046 → ocamlPackages.uri: 3.1.0 → 4.0.0 → https://git.io/JIc7e
<{^_^}> [nixpkgs] @vbgl pushed 3 commits to master: https://git.io/JIEti
magnetophon has joined #nixos
liminal18 has joined #nixos
<liminal18> is thunderbird and/or firefox failing for anyone else?
<liminal18> Fontconfig error: Cannot load config file from /etc/fonts/2.11/fonts.conf
<liminal18> Fontconfig warning: "/etc/fonts/2.11/fonts.conf", line 5: unknown element "description"
<liminal18> ok looks like I need to an upgrade
endformationage has joined #nixos
magnetophon has quit [Ping timeout: 272 seconds]
kalbasit has joined #nixos
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #106362 → openssl: 1.1.1h -> 1.1.1i → https://git.io/JIEm0
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « musescore: build in release configuration »: https://git.io/JIEmu
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/78dc359abf8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> [nixpkgs] @jonringer opened pull request #106363 → cmake: patch namelink regression → https://git.io/JIEmD
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/78dc359abf8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> [nixpkgs] @jonringer merged pull request #106019 → [20.09] openssh: Fix EOF: command not found → https://git.io/JInCb
<{^_^}> [nixpkgs] @jonringer pushed commit from @yoctocell to staging-20.09 « [staging] openssh: Fix EOF: command not found »: https://git.io/JIEYc
<{^_^}> [nixpkgs] @mweinelt merged pull request #105597 → [staging-20.09] libass: 0.14.0 -> 0.15.0 → https://git.io/JIUB4
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to staging-20.09: https://git.io/JIEYE
<chpatrick> hey, do you have any advice for packaging a python module that's built by cmake?
<chpatrick> the output dir has "__init__.py lib pmeshlab.cpython-37m-x86_64-linux-gnu.so tests2 which doesn't look like other nix python packages
<chpatrick> and I can't import it if I put it in an environment
<chpatrick> I'm creating it with `toPythonModule (pkgs.libsForQt5.callPackage ...`
Dotz0cat has quit [Ping timeout: 256 seconds]
<hexa-> chpatrick: have you tried adding cmake to nativeBuildInputs?
<chpatrick> hexa-: yes, it builds fine
magnetophon has quit [Ping timeout: 240 seconds]
<chpatrick> the problem is that the resulting directory isn't picked up by python if I want to use it in an env
<hexa-> are you using buildPythonPackage?
<chpatrick> hexa-: no, I don't know how to combine that with cmake
<chpatrick> because it wants to use setup.py, not building with cmake
<hexa-> format = "other";
<hexa-> (i guess)
jonatanb has joined #nixos
<hexa-> but I'm not sure, maybe the setup.py will trigger the build process
<chpatrick> hexa-: thanks, I'll try that
<hexa-> you definitely need buildPythonPackage though
<FRidh> that's not true
<FRidh> buildPythonPackage is a convenience function. Most things can be done with toPythonModule and the right hooks.
<hexa-> uh ok :)
<FRidh> chpatrick: do you have an expression you could share?
<FRidh> the Python modules need to be in ${python.sitePackages}
jonatanb has quit [Ping timeout: 240 seconds]
<FRidh> what's most convenient to use really depends on the build tool used
<halfbit> how do I statically link something, do I need to wrap things in pkgsStatic or something
<halfbit> like buildInputs = [ pkgsStatic.openssl ]; for example?
<FRidh> $ nix build -A pkgsStatic.my_nixpkgs_pkg
hnOsmium0001 has joined #nixos
iH8c0ff33 has joined #nixos
magnetophon has joined #nixos
<halfbit> what if its not in nixpkgs
<halfbit> I have my own default.nix
magnetophon has quit [Read error: Connection reset by peer]
liminal18 has quit [Remote host closed the connection]
<FRidh> you can use pkgsStatic.callPackage to call your expression
thibm has quit [Quit: WeeChat 2.6]
liminal18 has joined #nixos
<slimeee> would someone mind explaining to me what the nix.package option entails? I read what's on the wiki, but I'm still confused. What should i set this option to? If I install nix flake, I apparently have to set it to pkgs.nixFlakes, but I don't understand what that does.
magnetophon has joined #nixos
<FRidh> slimeee: it sets the version of nix the system (daemon) will use. By default its `pkgs.nix`. For flakes its `pkgs.nixUnstable` nowadays
cole-h has joined #nixos
cosimone has joined #nixos
<FRidh> to enable flake support you need to set also `experimental-features = nix-command flakes ca-references` in `nix.extraOptions`
FRidh has quit [Quit: Konversation terminated!]
<slimeee> gotcha, thanks.
Darkmatter66 has joined #nixos
<{^_^}> [nix] @regnat pushed to ca/properly-store-outputs « Use a better prefix for the storage of realisations in binary caches »: https://git.io/JIEs2
liminal18 has quit [Quit: Leaving]
gxt__ has joined #nixos
cr4y1 has joined #nixos
gxt_ has quit [Ping timeout: 240 seconds]
malook has joined #nixos
<halfbit> when I do pkgsStatic.callPackage like that, I get a warnings about openssl 1.0 that I have never seen
slimeee has quit [Quit: WeeChat 2.9]
<halfbit> I guess openssl 1.1 doesn't have a static build option?
<halfbit> it does if I build it myself
<{^_^}> [nixpkgs] @jonringer merged pull request #106289 → pythonPackages.nix-prefetch-github: 4.0.2 -> 4.0.3 → https://git.io/JIBCH
<{^_^}> [nixpkgs] @jonringer pushed commit from @seppeljordan to master « pythonPackages.nix-prefetch-github: 4.0.2 -> 4.0.3 »: https://git.io/JIEGE
<halfbit> unclear where that's coming from, --show-trace didn't really help me, is there a nice way of seeing what is requesting openssl 1.0 to be built?
philr_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/JIEZe
ericsagn1 has quit [Ping timeout: 260 seconds]
<halfbit> oh, maybe because I've got an overrideAttrs for a package?
<halfbit> like I do { pkgs ? import <nixpkgs> { overlays = [ .... ] } }: pkgs.pkgsStatic.callPackage({...}: stdenv.mkDerivation { ... })
o1lo01ol1o has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
<halfbit> and libnats-c specifies openssl 1.0 by default... which don't ask me why they decided to support openssl 1.0
magnetophon has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
lassulus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106367 → element-desktop: 1.7.14 -> 1.7.15 → https://git.io/JIEnP
lassulus has joined #nixos
ericsagn1 has joined #nixos
<pumpy> i just tried something and the same password hash on a different OS i was able to use in my nix user password hash option and login with the same pw! is that expected?
<{^_^}> [nixpkgs] @jonringer merged pull request #105810 → vimPlugins.lens-vim: init at 2020-04-24 → https://git.io/JImz4
<{^_^}> [nixpkgs] @jonringer pushed commit from @sevenfourk to master « vimPlugins.lens-vim: init at 2020-04-24 »: https://git.io/JIEcR
<simpson> pumpy: Somewhat, yes. And it's great when it works. It can't be relied upon, sadly, but yes, those crypt/passwd hashes are designed to be forward-compatible.
<halfbit> pkgsStatic doesn't seem to obey my overlays
<halfbit> :(
<halfbit> that's a bummer, is that a known thing, with a known workaround or am I just doing it wrong?
<rpgwaiter> How should I go about troubleshooting network issues on nixos? nmcli isn't seeing my network card (Intel 9650) and I added iwlwifi to the available kernel modules.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106368 → dnscontrol: 3.4.2 -> 3.5.0 → https://git.io/JIEc7
secondry has joined #nixos
secondry has quit [Remote host closed the connection]
gueorgui_ is now known as gueorgui
secondry has joined #nixos
<secondry> Can anyone tell me why this derivation fails?
<secondry> this is the important bit:
<hexa-> rpgwaiter: probably update to a newer kernel using boot.kernelPackages
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #106369 → flask-appbuilder: fix flask-babel dep → https://git.io/JIECY
<rpgwaiter> @hexa-: I'm on 5.9
cosimone has quit [Quit: cosimone]
<secondry> let \n n = import <nixpkgs> {}; h = import <nixpkgs.haskellPackages> {}; ... blah blah ... buildInputs = [ "h.xmonad" ] ...
<secondry> the \n is a literal newline in this instance, there are more, but I didn't include them
<secondry> it says that h.xmonad does not exist... I've tried entering the identifier manually, (nixpkgs.haskellPackages.xmonad)... Still no avail. I've installed that exact path via nix-env though.
<{^_^}> [nix-pills] @jonringer merged pull request #161 → Pill 13: Reorder words so sentence makes more sense → https://git.io/JkfLw
<{^_^}> [nix-pills] @jonringer pushed commit from @pingiun to master « Reorder words so sentence makes more sense »: https://git.io/JIECQ
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « scala: Make overridable »: https://git.io/JIECN
magnetophon has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #106368 → dnscontrol: 3.4.2 -> 3.5.0 → https://git.io/JIEc7
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JIECj
zangi has joined #nixos
<zangi> > with import <nixpkgs> { }; builtins.map (x: builtins.length (builtins.attrNames x)) [pkgs xorg agdaPackages androidStudioPackages apacheHttpdPackages atomPackages beamPackages chickenPackages chickenPackages_4 chickenPackages_5 coqPackages cudaPackages cudnnPackages dhallPackages dotnetCorePackages dotnetPackages elmPackages emacsPackages fdbPackages firefoxPackages flutterPackages fusePackages
<{^_^}> error: syntax error, unexpected ')', at (string):444:1
<zangi> gerbilPackages-unstable gns3Packages haskellPackages haxePackages idrisPackages javaPackages linuxPackages lispPackages llvmPackages luaPackages luajitPackages mopidyPackages nodePackages ocamlPackages openraPackages perlPackages phpPackages postgresqlPackages purePackages pypy2Packages pypy3Packages pypyPackages python2Packages python3Packages quicklispPackages rPackages rubyPackages rustPackages
<zangi> sconsPackages skawarePackages sourceHanPackages sourceHanSansPackages sourceHanSerifPackages steamPackages sublime3Packages uefitoolPackages ut2004Packages varnishPackages winePackages wineWowPackages xenPackages zeroadPackages]
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #106370 → berry: fix missing libXext → https://git.io/JIEWk
<zangi> > with import <nixpkgs> { }; builtins.map (x: builtins.length (builtins.attrNames x)) [ pkgs xorg ]
<{^_^}> [ <CODE> <CODE> ]
<hexa-> rpgwaiter: oh.
<hexa-> rpgwaiter: maybe you need to enable redistributableFirmware
<zangi> ,p
<zangi> ,p builtins.attrNames [ "foo" "bar" ]
<zangi> > :p builtins.attrNames [ "foo" "bar" ]
<{^_^}> value is a list while a set was expected, at (string):443:1
<zangi> > :p with import <nixpkgs> { }; builtins.map (x: builtins.length (builtins.attrNames x)) [ pkgs xorg ]
<{^_^}> [ 12842 231 ]
<zangi> > :p with import <nixpkgs> { }; builtins.map (x: builtins.length (builtins.attrNames x)) [pkgs xorg agdaPackages androidStudioPackages pkgs xorg agdaPackages androidStudioPackages apacheHttpdPackages atomPackages beamPackages chickenPackages chickenPackages_4 chickenPackages_5 coqPackages cudaPackages cudnnPackages dhallPackages dotnetCorePackages dotnetPackages elmPackages emacsPackages fdbPackages
<{^_^}> error: syntax error, unexpected ')', at (string):444:1
<zangi> firefoxPackages flutterPackages fusePackages gerbilPackages-unstable gns3Packages haskellPackages haxePackages idrisPackages javaPackages linuxPackages lispPackages llvmPackages luaPackages luajitPackages mopidyPackages nodePackages ocamlPackages openraPackages perlPackages phpPackages postgresqlPackages purePackages pypy2Packages pypy3Packages pypyPackages python2Packages python3Packages
<zangi> quicklispPackages rPackages rubyPackages rustPackages sconsPackages skawarePackages sourceHanPackages sourceHanSansPackages sourceHanSerifPackages steamPackages sublime3Packages uefitoolPackages ut2004Packages varnishPackages winePackages wineWowPackages xenPackages zeroadPackages ]
zangi has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106371 → feh: 3.6 -> 3.6.1 → https://git.io/JIEWs
<{^_^}> [nixpkgs] @github-actions[bot] pushed 47 commits to staging-next: https://git.io/JIEW4
<{^_^}> [nixpkgs] @github-actions[bot] pushed 48 commits to staging: https://git.io/JIEWB
<secondry> > import <nixpkgs.haskellPackages> {};
<{^_^}> error: syntax error, unexpected ';', expecting ')', at (string):443:36
<gchristensen> btw you can also PM {^_^} and talk to it privately
Qubasa has quit [Ping timeout: 264 seconds]
<secondry> ok, thx
zangi has joined #nixos
Qubasa has joined #nixos
<secondry> zangi, what are you attempting to do?
<secondry> I'm trying to add a build input from nixpkgs.haskellPackages, but I can't seem to get it to work...
<secondry> What you're doing seems similar (ish)
<jmercouris> why does nixos-help keep opening up libreoffice instead of a web browser?
<jmercouris> any way I can change that?
<{^_^}> [nixpkgs] @marsam opened pull request #106372 → terraform_0_14: 0.14.0 -> 0.14.1 → https://git.io/JIEll
<jmercouris> I even ran: xdg-settings set default-web-browser firefox.desktop
<secondry> It's opening a local file right?
<secondry> I'm guessing a pdf?
<jmercouris> yes, it is opening a local file
<jmercouris> it is an HTML file
<zangi> secondry: should have been `h = (import <nixpkgs> {}).haskellPackages`
<zangi> > :p (import <nixpkgs> {}).haskellPackages.xmonad.meta.description
<{^_^}> "A tiling window manager"
rajivr has quit [Quit: Connection closed for inactivity]
<zangi> secondry: also [ "h.xmonad" ] should be unquoted, i.e. [ h.xmonad ]
magnetophon has joined #nixos
<secondry> All my other build inputs need to be though, correct?
<secondry> When I tried it without quotes it didn't like something I did
<zangi> secondry: what's the error message?
<secondry> Hm... well what you did fixed it. Thanks! It just took running nix-build a few times before it worked...
<secondry> before I had all my inputs in quotes it was giving me something like `unexpected ';' could not find $end blah blah line 62`...
<secondry> zangiP Just out of curiosity, why do these inputs not work when in quotes, while others do?
<secondry> :*
<zangi> quotes never worked ever, quoting means that it's a string instead of an object
LilleCarl has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @dtzWill merged pull request #101407 → less: 551 -> 563 → https://git.io/JTgPE
<{^_^}> [nixpkgs] @dtzWill pushed to master « less: 551 -> 563 (#101407) »: https://git.io/JIE8H
<{^_^}> [nixpkgs] @marsam opened pull request #106373 → terraform_0_11: drop → https://git.io/JIE85
Darkmatter66_ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #106353 → ckbcomp: 1.198 -> 1.199 → https://git.io/JI0QT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIE8h
<{^_^}> [nixpkgs] @marsam merged pull request #106355 → cppcheck: 2.2 -> 2.3 → https://git.io/JI0Au
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIE4f
<zangi> secondry: "h.xmonad" would mean literal text "h.xmonad" and not the actual representation of h.xmonad which is a derivation
Darkmatter66 has quit [Ping timeout: 265 seconds]
<secondry> but aren't all build inputs just package paths? Shouldn't that logically do the same thing (assuming it was implemented)?
<secondry> I mean, you wouldn't get variable substitution... perhaps that's why
iH8c0ff33 has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5101b357ec3 (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<secondry> Alright, well, thanks for the help!
<{^_^}> [nixpkgs] @marsam merged pull request #106349 → linux_zen: 5.9.12 -> 5.9.13 → https://git.io/JI0Cd
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIE4g
secondry has quit [Quit: Konversation terminated!]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #106108 → python37Packages.azure-keyvault-keys: 4.3.0 -> 4.3.1 → https://git.io/JIWF1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIE4o
miscalculated has joined #nixos
miscalculated has left #nixos [#nixos]
miscalculated has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #106071 → nsd: 4.3.3 -> 4.3.4 → https://git.io/JIC7T
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JIE4y
o1lo01ol1o has joined #nixos
lordcirth has joined #nixos
kreisys has joined #nixos
iH8c0ff33 has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #106374 → [staging] apparmor: 2.13.5 -> 2.13.6 → https://git.io/JIEBe
magnetophon has quit [Ping timeout: 240 seconds]
noonien has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
ixxie has joined #nixos
<ixxie> heyo folks
<ixxie> I've got a weirdness going on which, I don't even know where to begin to lookup
sangoma has joined #nixos
<ixxie> when I open VSCodium, and try to open a folder or file, it launches the file browser (nautilus in my case); however, it launches the file explorer with all characters of all text in the UI replaced with a rectangles
<ixxie> I've just updated my channels and rebuilt nixos to make sure everything is uptodate
malook has quit [Quit: malook]
<ixxie> otherwise, both VSCodium and Nautilus exhibit no issues, so I don't know how to get to the bottom of this
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
ris has joined #nixos
berberman_ has joined #nixos
LilleCarl has joined #nixos
berberman has quit [Ping timeout: 258 seconds]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JIE09
realrokka has quit [Ping timeout: 240 seconds]
magnetophon has joined #nixos
gustavderdrache has quit [Remote host closed the connection]
gustavderdrache has joined #nixos
<{^_^}> [nix] @regnat pushed to ca/properly-store-outputs « Register the outputs for all the built derivations »: https://git.io/JIEEV
<{^_^}> [nix] @regnat pushed to ca/properly-store-outputs « Register the outputs for all the built derivations »: https://git.io/JIEEy
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @tsmanner opened pull request #106376 → rapidcheck: refactor `postInstall` to install all extras → https://git.io/JIEuY
magnetophon has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<zangi> secondry: "h.xmonad" is not equal to "${h.xmonad}"
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #106047 → metabase: 0.37.2 -> 0.37.3 → https://git.io/JIcNc
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/JIEuh
iH8c0ff33 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @oxalica opened pull request #106377 → osu-lazer: fix runtime error → https://git.io/JIEzJ
Darkmatter66_ has quit [Ping timeout: 240 seconds]
Darkmatter66 has joined #nixos
dvicente has joined #nixos
sangoma has quit [Quit: WeeChat 2.9]
pjt_tmp has joined #nixos
realrokka has joined #nixos
hlolli has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
ransom has joined #nixos
x0m3g4 has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #106378 → podman: 2.2.0 -> 2.2.1 → https://git.io/JIEae
<jmercouris> how to nix-shell lamp?
<jmercouris> that is LAMP , linux apache mysql php?
<jmercouris> is there a way to do this?
riksteri has quit [Quit: riksteri]
vidbina_ has quit [Ping timeout: 240 seconds]
leungbk has joined #nixos
<{^_^}> [nix-pills] @jonringer merged pull request #159 → Re-word "modified setup.sh" in pill 10 → https://git.io/JUhtU
<{^_^}> [nix-pills] @jonringer pushed commit from @sbellem to master « Re-word "modified setup.sh" in pill 10 »: https://git.io/JIEaP
iH8c0ff33 has joined #nixos
<jmercouris> how to LAMP in NixOS?
nslqqq has joined #nixos
nslqqq has quit [Client Quit]
<ixxie> you need multiple packages
<jmercouris> that's true
<ixxie> jmercouris: you want to run it permentantly on a server I assume?
<jmercouris> for a local testing environment
<ixxie> for a local test you could indeed nix-shell it
dsx has joined #nixos
<ixxie> jmercouris: nix-shell -p apacheHttpd php mysql
<jmercouris> ixxie: and then how will I know the configuration for mysql for example?
<jmercouris> ixxie: for example, what would be the username and password for the database?
iH8c0ff33 has quit [Ping timeout: 265 seconds]
<lordcirth> I would just make a nixos-container with apache2 installed, etc
<ixxie> hmm donno what the defaults are
<jmercouris> what is a nixos-container, documentation?
<lordcirth> nixos-container --help
iH8c0ff33 has joined #nixos
Khetzal has quit [Ping timeout: 240 seconds]
Khetzal has joined #nixos
x0m3g4 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
benschza has quit [Ping timeout: 240 seconds]
benschza has joined #nixos
<rpgwaiter> I keep getting an error when enabing drivers about needing hardware.enableRedistributableFirmware set to true, but it definitely is already set to true. Any idea what would cause this?
magnetophon has quit [Ping timeout: 246 seconds]
<pumpy> what's the nixos command to tail firewall pass/block events pls?
o1lo01ol1o has joined #nixos
<lordcirth> pumpy, dmesg or journalctl -k for kernel logging. Not sure if there is a way to extract just firewall events, other than grep
peelz_ has joined #nixos
peelz has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JIErc
<{^_^}> [nixpkgs] @otavio opened pull request #106379 → [20.09] Backport Skype 8.66.0.74 from 21.03 release → https://git.io/JIErR
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #106370 → berry: fix missing libXext → https://git.io/JIEWk
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIErr
<{^_^}> [nix] @regnat pushed to ca/json-realisations-in-binary-caches « Store the realisations as JSON in the binary cache »: https://git.io/JIErX
<{^_^}> [nix] @regnat opened pull request #4333 → Store the realisations as JSON in the binary cache → https://git.io/JIEr1
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #106322 → rednotebook: 2.20 -> 2.21 → https://git.io/JIRLs
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIErD
peelz_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #106369 → flask-appbuilder: fix flask-babel dep → https://git.io/JIECY
<{^_^}> [nixpkgs] @jonringer pushed commit from @SCOTT-HAMILTON to master « flask-appbuilder: fix flask-babel dep »: https://git.io/JIEoH
magnetophon has joined #nixos
<LilleCarl> How does NixOS get around the ZFS licensing issue bundling it with the installer?
<pumpy> lordcirth ok ty ill try
<pumpy> lordcirth++
<{^_^}> lordcirth's karma got increased to 8
<lordcirth> LilleCarl, the CDDL license forbids linking it into a non-CDDL binary, not redistribution.
<gchristensen> LilleCarl: as far as we know we are doing the same thing ubuntu is doing, so a bit of an appeal to an authority there
gchristensen has left #nixos ["WeeChat 2.6"]
<lordcirth> No one has sued Canonical yet, AFAIK
gchristensen has joined #nixos
<halfbit> so boost has a flag for enableStatic I'd like to set, how would I enable that?
<edef> (boost.override { enableStatic = true; })
<{^_^}> [nixpkgs] @jonringer merged pull request #106279 → pythonPackages.llfuse: 1.3.6 -> 1.3.8, fix tests → https://git.io/JIBqZ
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JIE6e
<gchristensen> LilleCarl: some lawyers say there is a problem, some lawyers say there isn't. Ubuntu has really bet the farm on it not being a problem, so I feel fairly confidentthat there is no problem ... otherwise there would have been a "stop doing that" action
<halfbit> override is the thing I need, thanks!
<{^_^}> [nix] @matthewbauer opened pull request #4334 → WIP: aarch64-darwin build of Nix → https://git.io/JIE6t
magnetophon has quit [Ping timeout: 258 seconds]
<LilleCarl> gchristensen: Didn't know ubuntu shipped ZoL now. Then i can go along doing the easy googling of how people interpret it in the case of Ubuntu
<LilleCarl> Thanks
<lordcirth> LilleCarl, since 16.04, iirc
<lordcirth> edef++
<{^_^}> edef's karma got increased to 36
<LilleCarl> gchristensen++
<{^_^}> gchristensen's karma got increased to 384
<{^_^}> [nixpkgs] @evanjs opened pull request #106380 → vncdo: 0.11.2 -> 0.12.0 → https://git.io/JIE6R
<LilleCarl> gchristensen, the Jon Skeet of Nix :p
magnetophon has joined #nixos
<halfbit> does anything actually use jam besides boost... ugh
rtjure has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #106276 → pythonPackages.pyfuse3: init at 3.1.1 → https://git.io/JIBUs
<{^_^}> [nixpkgs] @jonringer pushed commit from @nyanloutre to master « pythonPackages.pyfuse3: init at 3.1.1 »: https://git.io/JIE62
<gchristensen> LilleCarl: my (not a legal opinion as I'm not a lawyer) thinking is that if there was actually an issue with a license conflict, at this point, somebody would have sent a legal cease and desist letter to ubuntu. since it isn't, the only thing Linux's devs can do is be loud and grumpy. small dogs / big bark, etc :)
<LilleCarl> I'm with you, was just curious. Not trying to start a GNU war :d
RickHull has joined #nixos
<gchristensen> no worries, cool :)
<Yaniel> isn't it the oracle lawyers that are more concerning anyway
<hexa-> pretty sure those were the ones being referred to
rtjure_ has quit [Ping timeout: 272 seconds]
<lordcirth> There are linux devs who are concerned about it as well, but partly because of Oracle
<LilleCarl> And Oracle isn't afraid to lawyer up considering the Java API stuff with Google
<lordcirth> Also, "Oracle lawyers" is redundant, as Oracle is a law firm with a legacy software division
<LilleCarl> lordcirth++
<{^_^}> lordcirth's karma got increased to 0x9
<jmercouris> lordcirth++
<{^_^}> lordcirth's karma got increased to 10
<jmercouris> lordcirth++
<{^_^}> lordcirth's karma got increased to 12, it's a crit!
<dminuoso> lordcirth: Oracle also has a special forces division that comes with blackhawk helicopters, rappelling onto your roof top, guns blazing, if you're missing a license.
<gchristensen> (further oracle jokes could be had in #nixos-chat :P)
<seku> hah
o1lo01ol1o has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
leotaku_ has joined #nixos
leotaku has quit [Ping timeout: 240 seconds]
magnetophon has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
<teto> I would like to update the configuration/linux-kernel.xml : should I convert it to commonmark ?
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
Nikita has joined #nixos
Nikita is now known as Guest42226
Guest42226 is now known as nikivi
magnetophon has joined #nixos
<halfbit> when setting crossSystem I'm seeing some of the nativeBuildInputs also being built which I'm a bit surprised by
mananamenos has quit [Read error: Connection reset by peer]
<eacameron> I'm running gnome on a 4k screen and things are a bit...tiny. Is there a way to scale things up a bit. The gnome settings only let me select 200%, 300% etc. I think I need like 130%
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106382 → fluent-bit: 1.6.7 -> 1.6.8 → https://git.io/JIEXd
mkaito has quit [Quit: WeeChat 2.9]
saigon[m] has joined #nixos
miscalculated has quit [Ping timeout: 260 seconds]
<RickHull> Hi, I created https://github.com/rickhull/hello-nix, which uses direnv, lorri, and niv to customize a shell environment for building projects. As noted, it's derived from the work of others, and it was mostly intended for my own reference
miscalculated has joined #nixos
davidv7 has quit [Remote host closed the connection]
<RickHull> lately though, I've been using nix-shell with shell.nix for a similar effect, helping manage the environment for ruby projects
davidv7 has joined #nixos
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
<RickHull> note that my hello-nix is just documentation -- effectively a blog post, not any real code other than examples. is it still up to date / basically correct?
<RickHull> I am still pretty new to nix and nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106383 → fd: 8.2.0 -> 8.2.1 → https://git.io/JIE1d
miscalculated2 has joined #nixos
miscalculated has quit [Ping timeout: 272 seconds]
miscalculated2 is now known as miscalculated
mkaito has joined #nixos
<halfbit> I guess I didn't realize pkgsStatic really seems to be a bunch of predefined overrides
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
miscalculated has quit [Client Quit]
magnetophon has quit [Ping timeout: 240 seconds]
anna[m] has joined #nixos
miscalculated has joined #nixos
miscalculated has quit [Client Quit]
<pumpy> anyone try running woebsd and run into errors?
LilleCarl has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106384 → fedora-coreos-config-transpiler: 0.7.0 -> 0.8.0 → https://git.io/JIEM6
<colemickens> I don't recommend bothering trying under X11, but that's just me.
<kaliumxyz> where is goBuildPackage defined?
LilleCarl has joined #nixos
* colemickens can't even get gnome to launch right now though, so...
<kaliumxyz> buildGoPackage*
<eacameron> colemickens: What do you mean about not bothering under X11? Thanks BTW!
<colemickens> kaliumxyz: a trick, you can do `rg "buildGoPackage ="` in a nixpkgs dir and find out. top-level.nix, line 16676: points to pkgs/development/go-packages/generic/
<colemickens> eacameron: I have never, ever once, had fractional scaling work as documented or expected under X11 and usually just find myself jammed up
lordcirth_ has joined #nixos
<lovesegfault> What's the handy way of doing "0.1.2" -> "0_1_2"?
<lovesegfault> I remember there's something in lib but can't quite recall the name
<kaliumxyz> thanks colemickens
<eacameron> colemickens: What do you use instead?
sss2 has joined #nixos
lordcirth has quit [Ping timeout: 258 seconds]
<lovesegfault> builtins.replaceStrings
dsg has quit [Quit: Lost terminal]
<colemickens> eacameron: I'm bouncing around right now. I was in Plasma (X11, our Wayland session is apparently not working) all day yesterday. Today I'm back in Sway where I'm most comfortable. I want to get Gnome-Shell (Wayland) working, but right now ... gnome-shell-wrapped is actually segfaulting so...
<colemickens> I'd like to spend a weekend trying to get Arcan/Durden going again because hey, it's that time of year.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5e665171782 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @fruit-in opened pull request #106385 → vimPlugins.vim-nong-theme: init at 2020-12-03 → https://git.io/JIEyk
seku has quit [Quit: Connection closed]
<eacameron> I just installed slack desktop client but I can't login because clicking "Sign In to Slack" opens up the resulting link page in a text editor....
<eacameron> Anyone?
simukis_ has quit [Ping timeout: 240 seconds]
magnetophon has joined #nixos
simukis_ has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #106386 → ocamlPackage.janeStreet: 0.13 → 0.14 → https://git.io/JIEy5
elibrokeit has quit [Quit: A random quit message]
elibrokeit has joined #nixos
supersandro2000 has quit [Read error: Connection reset by peer]
supersandro2000 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #105522 → lc3tools: fix errors due to incorrect hardcoded paths → https://git.io/JIvFK
<{^_^}> [nixpkgs] @jonringer pushed commit from @anna328p to master « lc3tools: fix errors due to incorrect hardcoded paths »: https://git.io/JIES6
zangi has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @zowoq merged pull request #106383 → fd: 8.2.0 -> 8.2.1 → https://git.io/JIE1d
<{^_^}> [nixpkgs] @zowoq pushed commit from @r-ryantm to master « fd: 8.2.0 -> 8.2.1 »: https://git.io/JIESS
<alienpirate5> All of my Steam games are broken for some reason
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #106387 → gerbera: revert fmt to supported version → https://git.io/JIE9e
<Yaniel> switch to proton 5.0-10
<Yaniel> proton 5.3 is broken
<alienpirate5> native games are the problem
<alienpirate5> also I'm already on proton 5.0-10
<lordcirth_> alienpirate5, what NixOS version?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<alienpirate5> latest unstable-small. about to upload a log
<alienpirate5> so I'm trying to start Cities: Skylines
<alienpirate5> zsh returns `15242 IOT instruction (core dumped) steam-run ~/.local/share/Steam/steamapps/common/Cities_Skylines/Cities.x64`
<alienpirate5> here's the launch log http://ix.io/2HcP
<alienpirate5> note that i'm starting it through `steam-run` because launching it through Steam itself doesn't let me see the log
<lordcirth_> alienpirate5, try running 'ld' on it, inside steam-run
<alienpirate5> segfaults
o1lo01ol1o has quit [Remote host closed the connection]
<lordcirth_> ld segfaults??
<alienpirate5> Yes
<alienpirate5> even when I just run it on its own
<lordcirth_> That's very borked. Does ld work outside of steam-run?
<clever> alienpirate5: `file ~/.local/share/Steam/steamapps/common/Cities_Skylines/Cities.x64` ?
<alienpirate5> <lordcirth_ "That's very borked. Does ld work"> Yes.
<alienpirate5> <clever "alienpirate5: `file ~/.local/sh"> /home/anna/.local/share/Steam/steamapps/common/Cities_Skylines/Cities.x64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=1edf5edc984c9f677902004a1317c37e5b63e79e, stripped
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
o1lo01ol1o has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #106115 → Improve static Nix Darwin support → https://git.io/JIWht
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/JIEHL
<veleiro> is nix-top still a thing?
<{^_^}> [nixpkgs] @markuskowa merged pull request #104636 → inchi: init at 1.05 → https://git.io/JkoDM
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JIEHR
pushqrdx has quit [Remote host closed the connection]
stephank has joined #nixos
<{^_^}> [nix] @edolstra pushed 8 commits to manpages: https://git.io/JIEHo
<{^_^}> [nix] @edolstra opened pull request #4336 → Documentation for nix subcommands → https://git.io/JIEHy
<{^_^}> [nix] @edolstra pushed to manpages « Typo »: https://git.io/JIEHQ
mkaito has quit [Quit: WeeChat 2.9]
supersandro2000 has quit [Ping timeout: 265 seconds]
miscalculated has joined #nixos
rprije has joined #nixos
mounty has joined #nixos
supersandro2000 has joined #nixos
dsg has joined #nixos
<alienpirate5> lordcirth_: do you know why ld might be segfaulting?
miscalculated has quit [Quit: miscalculated]
philr_ has joined #nixos
miscalculated has joined #nixos
<pjt_tmp> veleiro: I have it installed right now, so...yeah?
<pjt_tmp> still has that bug where it sometimes messes up your terminal, but using watch -n5 "nix-top -1" or something should skirt that.
o1lo01ol1o has quit [Remote host closed the connection]
Jonathan43 has joined #nixos
o1lo01ol1o has joined #nixos
<stevenroose> Anyone here with experience with yarn2nix that could help me out trying to create a nixpkg for PeerTube?
<stevenroose> I tried but Nix is having some trouble with the yarn.lock file and fetching dependencies.
<hexa-> stevenroose: have you checked nixpkgs pull requests? I think people tried that already at some point.
<stevenroose> hexa-: oh, no I didn't. Oh thanks for that suggestion!
<hexa-> it's possible I'm mixing that up with another project, not sure
<Jonathan43> I am banging my head up against a wall! I figured this should be simple.
fendor has quit [Remote host closed the connection]
<Jonathan43> Am I missing something.
pushqrdx has joined #nixos
<stevenroose> wow that's 20 commits
<Jonathan43> I need a simple shell with gcc to compile some C code.
<hexa-> Jonathan43: nix-shell -p gcc
<Jonathan43> Yes, thanks hexa-. I am getting an error including `stdlib.h`.
<Jonathan43> So I figured that was not setting of the path right.
<hexa-> ,locate stdlib.h
<{^_^}> Found in packages: tet, zig, root, sdcc, dev86, klibc, root5, z88dk, framac, libbsd, libcxx, splint, uclibc, arduino, zfs.dev, cdrtools, musl.dev, verifast, wineFull, boomerang, glibc.dev, libgccjit, emscripten, metasploit, wineStable, graalvm8-ce, libfixposix, arduino_core, graalvm11-ce, wine-staging, gcc-unwrapped, glibc_multi.dev, open-watcom-bin, zfsUnstable.dev, gcc-arm-embedded, gcc-arm-embedded-6, gcc-arm-embedded-7, and 12 more
ericsagn1 has quit [Ping timeout: 258 seconds]
<Jonathan43> Nice!
<{^_^}> [nixpkgs] @figsoda opened pull request #106390 → material-icon-theme: init at 4.4.0 → https://git.io/JIE5l
<hexa-> sorry, idk :D
<Jonathan43> locate stdlib.h
ixxie has quit [Remote host closed the connection]
<Jonathan43> ,locate stdlib.h
<{^_^}> Found in packages: tet, zig, root, sdcc, dev86, klibc, root5, z88dk, framac, libbsd, libcxx, splint, uclibc, arduino, zfs.dev, cdrtools, musl.dev, verifast, wineFull, boomerang, glibc.dev, libgccjit, emscripten, metasploit, wineStable, graalvm8-ce, libfixposix, arduino_core, graalvm11-ce, wine-staging, gcc-unwrapped, glibc_multi.dev, open-watcom-bin, zfsUnstable.dev, gcc-arm-embedded, gcc-arm-embedded-6, gcc-arm-embedded-7, and 12 more
<Jonathan43> Hum, yeah, I added `libcxx` and it is still not working.
<hexa-> stevenroose: #84189
<{^_^}> https://github.com/NixOS/nixpkgs/pull/84189 (by matthiasbeyer, 35 weeks ago, open): Add peertube
<boxofrox> Jonathan43: I'm thinking you want `nix-hell -p gcc -p glibc.dev`?
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
president-electc has left #nixos ["User left"]
<Jonathan43> Hrumf.
<boxofrox> I don't know the nix-fu to find the owner of stdlib.h in nixos, but my archlinux shows it in the glibc package.
<Jonathan43> `glibc` is a package, it is not working either.
<hexa-> Jonathan43: did you ask for the dev output like boxofrox showed it?
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Jonathan43> I am thinking it is a problem with an inappropriate path.
aswanson has quit [Ping timeout: 246 seconds]
<Jonathan43> Yes hexa-
davidv7 has quit [Remote host closed the connection]
davidv7 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106391 → gnome3.gnome-chess: 3.38.0 -> 3.38.1 → https://git.io/JIEdC
<boxofrox> Jonathan43: if I `nix-shell -p gcc -p glibc.dev`, I can see in the output of `env | grep -i flags` a nix variable that holds the path to the glibc include folder, inside which a stdlib.h resides. Hope this helps.
o1lo01ol1o has quit [Remote host closed the connection]
boxofrox is now known as boxofrox-afk
<{^_^}> [nixpkgs] @ryantm merged pull request #106384 → fedora-coreos-config-transpiler: 0.7.0 -> 0.8.0 → https://git.io/JIEM6
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JIEdo
dvicente has quit [Remote host closed the connection]
<Jonathan43> Ah, does GCC look at `NIX_*` environment variables?
<Jonathan43> Ah, does GCC/make look at `NIX_*` environment variables?
ericsagn1 has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
leungbk has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Acou_Bas- has joined #nixos
Acou_Bass has quit [Ping timeout: 240 seconds]
BlessJah_ has joined #nixos
<{^_^}> [nixpkgs] @tasmo opened pull request #106392 → standardnotes: 3.3.3 -> 3.5.11 → https://git.io/JIEbY
<Jonathan43> Yeah, it is the goofy build script which hard codes paths that is the problem.
<Jonathan43> ...I think.
BlessJah has quit [Ping timeout: 256 seconds]
<veleiro> pjt_tmp: hasnt had any updates in a while, that's why i asked
<veleiro> it would be a really useful feature to have a pointer -> at the current drv
<veleiro> being built
<pjt_tmp> ah
<{^_^}> [nixpkgs] @teto merged pull request #104005 → mirrors: fix lua mirrors → https://git.io/JkCcN
<{^_^}> [nixpkgs] @teto pushed to master « mirrors: fix lua mirrors »: https://git.io/JIEb7
<{^_^}> [nixpkgs] @teto closed pull request #68092 → nixos/mptcp: multipath TCP module → https://git.io/fjhZf
<Jonathan43> One of the most annoying things about NixOS is that I can have nixpkgs build script and be just as far from building it from my own sources as before.
<Jonathan43> I need to patch a package which is in nixpkgs for a project of my, and I need to reinvent the wheel to compile it.
<Jonathan43> Or is there a way to do that easier?
<abathur> to just add a patch?
<Jonathan43> Something like that.
<Jonathan43> I need to modify the library to use Thread Local variables...so I don't know exactly what needs changes, I need to test it.
<Jonathan43> I was going to just clone the repo, figure out how to build it, and then test modifications.
<Jonathan43> I am stuck on the second step.
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #106393 → steamPackages.steam-runtime: 0.20200720.0 → 0.20201203.1 → https://git.io/JIEN0
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @figsoda opened pull request #106394 → even-better-toml: init at 0.9.3 → https://git.io/JIENX
<Jonathan43> I can download the nix expression for it, but the format of nixpkgs expressions is totally different from basic `nix-build` script.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Acou_Bas- has quit [Quit: ZNC 1.8.1 - https://znc.in]
<abathur> well
<abathur> there are usually multiple approaches to anything...
Acou_Bass has joined #nixos
<Jonathan43> Yeah.
<Jonathan43> Ah, maybe I just got something.
<abathur> as far as literal patches go, you should just be able to override the derivation and do something like patches = old.patches ++ [ new patches ];
<abathur> but, if you need to play around with the source for a while to know how to patch it, maybe you want to just override it to replace its source with your local source
<{^_^}> [nixpkgs] @teto opened pull request #106395 → linux: mkDefault over the common config → https://git.io/JIENj
ransom has joined #nixos
<Jonathan43> Yeah, that is what I was just trying to do.
<Jonathan43> At first I tried to just use the normal build steps with a nix-shell with gcc, etc. But I ran into link errors.
Dotz0cat has joined #nixos
<Jonathan43> Um, so I replaced the function header of the package with `{ pkgs ? import <nixpkgs> {} }: with pkgs;` and it built!
<Jonathan43> Is that all the function parameters of nixpkgs expression are is a more explicit usage of the channel packages?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #106382 → fluent-bit: 1.6.7 -> 1.6.8 → https://git.io/JIEXd
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIEAW
xantoz has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @InternetUnexplorer opened pull request #106396 → plasma-workspace: fix QtQuick theme used by KCMs → https://git.io/JIEAu
o1lo01ol1o has quit [Remote host closed the connection]
sss2 has quit [Read error: Connection reset by peer]
<Jonathan43> How can I set the `src` of `stdenv.mkDerivation` to the local folder?
<cirno-999> is there more fun stuff like https://nixcloud.io/tour/ ?
<cirno-999> I wanna learn about nix more as a language
<Jonathan43> I found in the nix manual `src = ./source-dir;` but `.` or `./.` or `./` fails.
sss2 has joined #nixos
<abathur> src = ./.; should work
<simpson> cirno-999: There's https://nixos.org/guides/nix-pills/index.html perhaps.
<Jonathan43> abathur thanks, I thought I remembered something like that.
<Jonathan43> It is failing with `unpacking source archive ./.cp: './.' and './.' are the same filedo not know how to unpack source archive ./.`
<cirno-999> thanks, albeit I was more interested in the 'math' stuff, abstracted from nix(os)
<Jonathan43> abathur is that unpack sources one of the default build steps?
<simpson> cirno-999: I haven't taken this Tour page before; could you give an example?
<abathur> yeah
o1lo01ol1o has joined #nixos
<cirno-999> simpson: stuff like on page 15, https://nixcloud.io/tour/?id=15
<abathur> Jonathan43: https://nixos.org/manual/nixpkgs/stable/#sec-stdenv-phases reviews the standard phases
<Jonathan43> Thanks, I have a hard time navigating the long nix manuals.
<Jonathan43> Okay, I think I have figured out what I need.
<Jonathan43> Thanks for you help abathur.
<simpson> cirno-999: I don't know of a good place that talks about the maths without sounding like it's talking about JSON or other boring data structures. Instead, you might want to learn another language which manipulates similar objects in a different way, like jq (https://stedolan.github.io/jq/manual/)
<{^_^}> [nixpkgs] @figsoda opened pull request #106397 → vscode-extensions.serayuzgur.crates: init at 0.5.3 → https://git.io/JIEpE
<tokudan> ,locate rlwrap
<{^_^}> Found in packages: pakcs, rlwrap, monero.source
iH8c0ff33 has quit [Ping timeout: 256 seconds]
manjaroi3 has joined #nixos
manjaroi3 has quit [Client Quit]
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
hplar has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
hplar has joined #nixos
Fare has joined #nixos
<{^_^}> [nixpkgs] @nh2 merged pull request #100906 → openssh: fix static build → https://git.io/JTCdS
<{^_^}> [nixpkgs] @nh2 pushed 3 commits to staging: https://git.io/JIEhh
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #106385 → vimPlugins.vim-nong-theme: init at 2020-12-03 → https://git.io/JIEyk
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JIEhj
<{^_^}> [nixpkgs] @figsoda opened pull request #106398 → vscode-extensions.mskelton.one-dark-theme: init at 1.7.2 → https://git.io/JIEjq
<stevenroose> So I'm going to try improve/revive an old PR to nixpkgs. How do I test-build a single pkg from nixpkgs? It'd be my first time contributing more than just a version bump.
Raito_Bezarius has quit [Ping timeout: 272 seconds]
xantoz has joined #nixos
<colemickens> `nix-build . -A attrname` from a git checkout of nixpkgs at the pr commit, maybe rebased if it's really old
o1lo01ol1o has joined #nixos
Raito_Bezarius has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #106310 → openbazaar-client: 2.4.8 -> 2.4.9 → https://git.io/JIBSQ
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to staging: https://git.io/JIEjR
oxalica1 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
oxalica has quit [Ping timeout: 256 seconds]
oxalica1 is now known as oxalica
werner291 has quit [Quit: werner291]
<energizer> if i run nixos-rebuild without specifying --cores or --jobs will it be as parallel as possible by default?
<energizer> answer: no
<energizer> setting --cores 0 is maximal cores, --max-jobs 0 is minimal jobs :\
<{^_^}> [nixpkgs] @figsoda opened pull request #106399 → vscode-extensions.a5huynh.vscode-ron: init at 0.9.0 → https://git.io/JIEjN
<energizer> for most parallelism: --max-jobs auto --cores 0
<cransom> if it's auto, does it default to what nix.conf is set to?
o1lo01ol1o has joined #nixos
<stevenroose> colemickens: what is attrname then
<energizer> cransom: --max-jobs auto is number of cpus
<colemickens> stevenroose: the attribute name that corresponds to the package
veleiro` has joined #nixos
<ivan> energizer: maxJobs should be set in the harware configuration
<stevenroose> just `<mypackage>`? Or `'pkgs.<mypkg>'` or so?
<colemickens> stevenroose: in the usage I gave, it would just be mypackage
<colemickens> because nixpkgs exposes most all packages as top level attributes like that
<colemickens> (or some are like xorg.xserver, for example)
iH8c0ff33 has joined #nixos
<energizer> ivan: ah good point so that can be left at default
<energizer> --cores 0 still needed tho afaict
<{^_^}> [nixpkgs] @r-ryantm opened pull request #106400 → gnupg: 2.2.24 -> 2.2.25 → https://git.io/JIuel
<ivan> energizer: cores 0 is the default
veleiro has quit [Ping timeout: 240 seconds]
<{^_^}> #50440 (by Mic92, 2 years ago, merged): nixos/nix-daemon: default to build with all cores available
schweby has quit [Quit: Das ist möglich, also tun wir es. Später.]
schweby has joined #nixos
mkaito has joined #nixos