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
<gh0st[m]2> <fuzzypixelz "I can't seem to find it"> The repo is https://github.com/NixOS/nixos-artwork, but I don't think it's in Nixpkgs
grimvar_ has joined #nixos
emilsp has quit [Quit: I become anti-present]
grimvar has quit [Ping timeout: 240 seconds]
rdk31 has joined #nixos
<matthewcroughan> clerie: https://dpaste.com/CQH8MUY6T
<matthewcroughan> In this, L4 can't access buildPythonPackage, why?
<matthewcroughan> lunr = self.buildPythonPackage rec {
rdk31 has quit [Client Quit]
<matthewcroughan> `error: attribute 'buildPythonPackage' missing, at /home/matthew/git/foundries/mkdocs/shell.nix:4:12`
<gh0st[m]2> isn't buildPythonPackage part of lib?
<matthewcroughan> gh0st[m]2: apparently nt
<matthewcroughan> if I set `self.lib.buildPythonPackage`, same error.
<{^_^}> [nixpkgs] @sternenseemann opened pull request #117738 → Revert "ocamlPackages.tcpip: 6.0.0 -> 6.1.0" → https://github.com/NixOS/nixpkgs/pull/117738
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117680 → bluez: add disconnects hotfix → https://github.com/NixOS/nixpkgs/pull/117680
bpye has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fabaff opened pull request #117739 → zgrab2: init at 20210327-17a5257 → https://github.com/NixOS/nixpkgs/pull/117739
<clever> matthewcroughan: poke around in `nix repl '<nixpkgs>'`
<matthewcroughan> `lunr = self.python38.pkgs.buildPythonPackage rec {` did it
<clever> > python3Packages.buildPythonPackage
<{^_^}> <LAMBDA>
<matthewcroughan> but now `src = self.fetchPypi { is missing
<clever> > python3Packages.fetchPypi
<{^_^}> { __functionArgs = <CODE>; __functor = <CODE>; override = <CODE>; }
<clever> you must use python3Packages.callPackage
bpye has joined #nixos
<supersandro2000> > python3Packages.fetchPypi
<{^_^}> { __functionArgs = <CODE>; __functor = <CODE>; override = <CODE>; }
<clever> python3Packages.callPackage ({ fetchPypi, buildPythonPackage }: ....) {}
fuzzypixelz has joined #nixos
<matthewcroughan> You guys are great ;D
<matthewcroughan> Works, but lunr fails to build, guess I have to go deeper into the rabbit hole
<matthewcroughan> Damnit Morpheus.
<clever> :D
Qwerky_ has quit [Remote host closed the connection]
<matthewcroughan> https://termbin.com/hnvap
<matthewcroughan> Here's the error log ;D
<matthewcroughan> Is it typical to disable tests on python stuff?
<clever> looks like its missing pytest
<clever> ive not done much python in nix
<matthewcroughan> so do I need propogatedBuildInputs?
<clever> not sure
<l33[m]> give it whirl!
fuzzypixelz has quit [Quit: Connection closed]
<matthewcroughan> In the overlay, how would I pass it this?
D_ has quit [Remote host closed the connection]
D_ has joined #nixos
mbrgm_ has joined #nixos
emilsp has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
<clever> matthewcroughan: callPackage handles those args for you
<clever> nix-repl> python3Packages.overrideScope (self: super: {})
<clever> matthewcroughan: you can also use this to create a python overlay
<clever> so other python packages will respect your change
<l33[m]> :-)
<{^_^}> [nixpkgs] @fabaff closed pull request #117732 → python3Packages.pynetdicom: 1.5.5 -> 1.5.6 → https://github.com/NixOS/nixpkgs/pull/117732
<{^_^}> [nixops] @cab404 opened pull request #1448 → 'nix flake': 'info' -> 'metadata' → https://github.com/NixOS/nixops/pull/1448
<matthewcroughan> can anyone see a syntax error?
<matthewcroughan> `error: syntax error, unexpected '=', expecting ';', at /home/matthew/git/foundries/mkdocs/shell.nix:10:11`
<clever> matthewcroughan: line 8 is missing a ;
<gh0st[m]2> in thse first with
<gh0st[m]2> * in the first with
<matthewcroughan> Ah, following this forum solution
<matthewcroughan> clever: yeah but Jonringer's solution in that post seems to be the same
<matthewcroughan> so is that also wrong?
<{^_^}> [nixpkgs] @ajs124 opened pull request #117741 → util-linux: 2.36.1 -> 2.36.2 → https://github.com/NixOS/nixpkgs/pull/117741
<gh0st[m]2> I'd say yeah
<gh0st[m]2> a with statement before an array should end in a semicolon
<gh0st[m]2> I mean, it's not wrong per-se, just not syntactically perfect
apache8080 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115159 → catgirl: init at 1.6 → https://github.com/NixOS/nixpkgs/pull/115159
fuzzypixelz has joined #nixos
<fuzzypixelz> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/picom.nix#L64 isn't available in 20.09, only in >= unstable
<matthewcroughan> Nix doesn't make Python much better hah
<fuzzypixelz> is there a way to override the specific config module?
D_ has quit [Ping timeout: 250 seconds]
<fuzzypixelz> => I just want to have the option
<matthewcroughan> Got it completely working though, thanks clever and gh0st[m]2
lsix has quit [Ping timeout: 258 seconds]
<matthewcroughan> ++ gh0st[m]2
<matthewcroughan> How do you give kudos to people here again?
Qwerky has joined #nixos
<gh0st[m]2> I think it has to be postfix notation
<matthewcroughan> clever <3
<fuzzypixelz> it would be odd if I could just swap out the entire nixos config module to point to unstable while my system still has 20.09 packages
<gh0st[m]2> <fuzzypixelz "is there a way to override the s"> If you're writing a config, you can import the tarball from a nixpkgs commit that has it and reference it that way, but otherwise, not really without overlaying or adding a separate channel
codygman` has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to python-unstable: https://git.io/JYOuJ
<matthewcroughan> clever: Okay, now in this shell, I can't override the propogated build inputs on mkdocs.
<fuzzypixelz> gh0st[m]2: I'm fine with overlaying, but what do I overlay exactly?
<matthewcroughan> very close
<clever> matthewcroughan: thats why you need to use a python overlay via python3Packages.overrideScope (self: super: {})
<clever> matthewcroughan: then you can mutate any python package, and it will automatically affect all python packages
supersandro2000 has quit [Disconnected by services]
<matthewcroughan> So you're saying my shell is currently totally wrong?
supersandro2000 has joined #nixos
<clever> matthewcroughan: it may be pulling in multiple versions of the dep, the override and the pre-override version
<matthewcroughan> error: anonymous function at /nix/store/gi3zkz8zd9i2isj17ji854qyvfj7x763-nixpkgs-21.05pre274251.f5f6dc053b1/nixpkgs/pkgs/build-support/fetchurl/default.nix:40:1 called with unexpected argument 'propagatedBuildInputs', at /nix/store/gi3zkz8zd9i2isj17ji854qyvfj7x763-nixpkgs-21.05pre274251.f5f6dc053b1/nixpkgs/pkgs/build-support/fetchzip/default.nix:17:2
emilsp has quit [Quit: I become anti-present]
Qwerky has quit [Ping timeout: 240 seconds]
<matthewcroughan> clever: not sure what that means yet, go easy ;D
<matthewcroughan> How could it be pulling "multiple versions"? I've limited it to `python38.pkgs` and provided hashes?
<clever> you tried to override a fetch function, which isnt building things
<gh0st[m]2> <fuzzypixelz "gh0st: I'm fine with overlaying,"> overlaying for a single package seems excessive personally. I'd advise, but tbh, I barely understand overlaying myself
<clever> if you override both X and Y, and shove the overridden versions into a shell
<clever> but Y depends on X
<matthewcroughan> clever: because if I don't override src, I get more errors
<clever> Y is going to pull in the pre-override version of X
<matthewcroughan> well, rather, it builds 1.0.4, from nixpkgs
<clever> so now you have 2 X's of different versions
<clever> if you use a python overlay to change X, then you only get one
<fuzzypixelz> gh0st[m]2 so the config options are "carried" with the package?
<matthewcroughan> Is there an example python overlay shell you can point to?
<l33[m]> my brain just melted.
<matthewcroughan> l33[m]: sorry about that.
<gh0st[m]2> l33: I feel that
<clever> matthewcroughan: python3Packages.overrideScope (self: super: {})
<clever> matthewcroughan: this takes a set of python packages, applies a python overlay, and returns a mutated set of python packages
<matthewcroughan> clever: in my shell, do I replace `super.mkdocs.overrideAttrs` with that?
<clever> matthewcroughan: you would do mkdocs = super.mkdocs.overrideAttrs inside the python overlay
<gh0st[m]2> <fuzzypixelz "gh0st so the config options are "> I want to say yes, but they should still be overrideable, if by config options you mean the derivation config
<matthewcroughan> So I need to do `overlay = python3Packages.overrideScope (self: super: {})`?
emilsp has joined #nixos
<matthewcroughan> instead of `overlay = (self: super: {})`
<clever> matthewcroughan: you would have 2 overlays, a python overlay, and a nixpkgs overlay
<fuzzypixelz> gh0st[m]2: my picom now is from master bit I still don't have the option ):
<matthewcroughan> so my second line remains the same? `overlay = self: super: {`
<matthewcroughan> inside of this overlay, I have this second overlay you're talking about?
<clever> matthewcroughan: can you pastebin your file again?
<matthewcroughan> clever: https://dpaste.com/8BG7PZW5C
<matthewcroughan> There should be an easy way to share diffs :D
<matthewcroughan> like how github suggestions work
<matthewcroughan> Oh, wait, dpaste lets you do this
<l33[m]> <matthewcroughan "clever: https://dpaste.com/8BG7P"> just to blow your mind..check optics.... profunctors... blimey! https://github.com/masaeedu/nix-optics
* clever edits
<matthewcroughan> clever: super.super.super
<matthewcroughan> thanks.thanks.thanks
<clever> matthewcroughan: https://dpaste.com/CBWWLZ3YE more like this
fuzzypixelz has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115938 → radarr: 0.2.0.1504 -> 3.0.2.4552 → https://github.com/NixOS/nixpkgs/pull/115938
<gh0st[m]2> <l33[m] "just to blow your mind..check o"> I'm not entirely convinced that repo is in English. That or "profunctor optics" is a concept in the stratosphere above my head
<matthewcroughan> clever: you know what the really annoying bit is?
<matthewcroughan> It wants the `future` package from python now
Qwerky has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
emilsp has quit [Quit: I become anti-present]
Qwerky has quit [Ping timeout: 265 seconds]
<matthewcroughan> clever: error: undefined variable 'self' at /home/matthew/git/foundries/mkdocs/clever-shell.nix:18:13
<matthewcroughan> from your shell, btw
<matthewcroughan> Ah, now it's pSelf, okay .
grimvar has joined #nixos
<matthewcroughan> clever: error: attribute 'mkdocs' missing, at /home/matthew/git/foundries/mkdocs/clever-shell.nix:16:14
<clever> matthewcroughan: ah, mkdocs isnt in pythonPackages, it needs to be moved to the nixpkgs overlay
<matthewcroughan> man we really just need to fix this in nixpkgs ;D
<matthewcroughan> I got a bit further with my shell and ended up with the following:
<matthewcroughan> propagatedBuildInputs = with self.pkgs.python38Packages; [ super.pkgs.lunr livereload pyaml click jinja2 markdown ];
emilsp has joined #nixos
<matthewcroughan> Only to end up with this, ERROR: Could not find a version that satisfies the requirement nltk>=3.2.5; python_version > "2.7" and extra == "languages" (from lunr[languages]) ERROR: No matching distribution found for nltk>=3.2.5; python_version > "2.7" and extra == "languages"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117742 → python38Packages.croniter: 1.0.9 -> 1.0.10 → https://github.com/NixOS/nixpkgs/pull/117742
D_ has joined #nixos
<matthewcroughan> How can nixpkgs even deal with python?
<l33[m]> i think i hate python..
Qwerky has joined #nixos
grimvar_ has quit [Ping timeout: 240 seconds]
<matthewcroughan> This shell is pointless, it's only going to break when they change mkdocs upstream, not like I can move forward/back lol.
<matthewcroughan> clever: I'm not sure I follow. How do I move it into the nixpkgs overlay?
<matthewcroughan> You only have to tell me once, I am noting these things down, so I appreciate everything you're teaching me.
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JYOat
<clever> matthewcroughan: just cut&paste it back into overlay= where it was before
<matthewcroughan> then I can't access pSuper anymore clever
Qwerky has quit [Ping timeout: 246 seconds]
lemsip has joined #nixos
mcornick has quit [Quit: bbiab]
<matthewcroughan> I think I understand what's going on..
<matthewcroughan> clever: What should I be overriding once mkdocs is in the overlay? Super or self?
<clever> super
<matthewcroughan> clever: my nativeBuildInputs can't access super anymore.. hmm, this is a mind-bend.
<matthewcroughan> error: undefined variable 'super' at /home/matthew/git/foundries/mkdocs/clever-shell.nix:35:27
<matthewcroughan> ah, okay, I see, you're not supposed to reference it since it's now overlaid
<matthewcroughan> so now it's just pkgs.mkdocs and pkgs.lunr
<matthewcroughan> However, lunr is not put into the overlay, it's misisng.
emilsp has quit [Ping timeout: 608 seconds]
delan has quit [Quit: ZNC - http://znc.in]
delan has joined #nixos
<clever> matthewcroughan: the super variable is only accessible from lines 17-30
<clever> matthewcroughan: and lunr is being added to python3Packages, not nixpkgs
<clever> so you want pkgs.python3Packages.lunr
<matthewcroughan> Yeah I just figured that out
<matthewcroughan> so now, in the overlay, do I use super.lunr to refer to the propogatedBuildInputs?
<matthewcroughan> because now that's missing and I can't resolve it with my brain
<clever> matthewcroughan: you want to use callPackage, and it will find it from the right place for you
<matthewcroughan> clever: does it really have to be this complicated?
<clever> super is only used for when you want the pre-override version
<matthewcroughan> I got far enough in my own shell without these complexities, what's the difference?
<matthewcroughan> does it matter? It's reproducible, what's the consequence?
<clever> callPackage is needed any time you want nativeBuildInputs vs buildInputs to actually do its job
<clever> the overlays are needed, if your overriding a dep of something your using
<matthewcroughan> why do I need nativeBuildInputs?
<matthewcroughan> I want propogatedBuildInputs
<clever> nativeBuildInputs = [ super.pkgs.lunr super.pkgs.mkdocs ];
<matthewcroughan> why can't I do `propagatedBuildInputs = [ super.pkgs.lunr ];`
<matthewcroughan> why do I now have to use nativeBuildInputs and callPackage?
mcornick has joined #nixos
<matthewcroughan> Why has this changed? It seemed to work with propogatedBuildInputs earlier, and I was getting further.
<clever> also, nativeBuildInputs is for things you use at build time
<matthewcroughan> this is a python application, I'm not sure there is a buildtime?
<clever> buildInputs and propagatedBuildInputs are for things you will be "linking" against and using at runtime
<matthewcroughan> yes, so that's everything
dbmikus has joined #nixos
<matthewcroughan> everything is a propogatedBuildInput here.
<clever> yeah, python makes it more fuzzy, except for native extensions
<matthewcroughan> okay, can we not use callPackage/nativeBuildInputs then?
<clever> also, super.pkgs doesnt make much sense
<matthewcroughan> Why can't I access super.pkgs.lunr?
<clever> > pkgs.pkgs.pkgs.hello
<{^_^}> "<derivation /nix/store/mzg60l53fbskq9i69cv5rzv8vfq00kbl-hello-2.10.drv>"
ris has quit [Ping timeout: 252 seconds]
<matthewcroughan> clever: https://dpaste.com/BT8V4X6DD
codygman__ has joined #nixos
<clever> lunr is a python package
<clever> 2021-03-26 22:14:10 < clever> so you want pkgs.python3Packages.lunr
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116975 → sc-im: 0.7.0 -> 0.8.0 → https://github.com/NixOS/nixpkgs/pull/116975
codygman__ has quit [Remote host closed the connection]
<clever> or self.python3Packages.lunr
<matthewcroughan> Why are we doing it like that?
<matthewcroughan> This is a shell? We could call it whatever we want? Why add more to write?
<clever> because i thought mkdocs was also a python package, and i didnt know which depended on which
<matthewcroughan> We could overlay it into wherever we want, surely it's easier to just have it be pkgs.lunr?
codygman__ has joined #nixos
<clever> that is fine, as long as no other python package depends on lunr
mcornick has quit [Client Quit]
<clever> propagatedBuildInputs = [ super.python3Packages.lunr ];
mcornick has joined #nixos
<matthewcroughan> oh dear
<matthewcroughan> `propagatedBuildInputs = [ pytest mock future ];` on L8
<matthewcroughan> I added future, why do I now get error: undefined variable 'future' at /home/matthew/git/foundries/mkdocs/clever-shell.nix:8:45
<clever> matthewcroughan: add future to the function on line 3
mcornick has quit [Client Quit]
<matthewcroughan> What is this construct? I see it all the time, why does it have to be in both places?
mcornick has joined #nixos
<matthewcroughan> My previous shell only had to mention it once?
<clever> thats defining a function, which is then passed to callPackage
<clever> that style is what lets nativeBuildInputs work, and also lets .override work
codygman__ has quit [Remote host closed the connection]
<clever> normally, that function is in a default.nix file
codygman__ has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #117743 → audit: 2.8.5 -> 3.0.1 → https://github.com/NixOS/nixpkgs/pull/117743
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to python-unstable: https://git.io/JYOr5
codygman__ has quit [Read error: No route to host]
mcornick has quit [Client Quit]
codygman__ has joined #nixos
mcornick has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117744 → python38Packages.bitarray: 1.8.0 -> 1.8.1 → https://github.com/NixOS/nixpkgs/pull/117744
<matthewcroughan> clever: propagatedBuildInputs = self.propogatedBuildInputs ++ [ super.pkgs.python3Packages. lunr ];
<matthewcroughan> error: attribute 'propogatedBuildInputs' missing, at /home/matthew/git/foundries/mkdocs/clever-shell.nix:28:31
ixxie has quit [Quit: Lost terminal]
<matthewcroughan> self or super don't seem to have the old inputs
<clever> propogatedBuildInputs is an attribute of a derivation, not a package set
<clever> it will never be on super or self
<clever> it will instead be in oldAttrs
<matthewcroughan> but I haven't done old:
<matthewcroughan> so will it be selfAttrs?
<clever> it will be the 1st arg of whatever you gave to overrideAttrs
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JYOo6
<matthewcroughan> Ah
<matthewcroughan> Okay, so it still states propogatedBuildInputs missing
<matthewcroughan> propagatedBuildInputs = oldAttrs.propogatedBuildInputs ++ [ super.pkgs.python3Packages.lunr ];
ahmedelgabri has joined #nixos
<clever> propagatedBuildInputs
<clever> matthewcroughan: spelling mistake
<matthewcroughan> I'm English, I know England.
<matthewcroughan> ;D
<clever> tab-completion in nix repl is your friend
<matthewcroughan> Now we've got ERROR: Could not find a version that satisfies the requirement nltk>=3.2.5; python_version > "2.7" and extra == "languages" (from lunr[languages])
<matthewcroughan> I think I might turn into pure energy
alexherbo2 has quit [Ping timeout: 240 seconds]
<matthewcroughan> Can we not write a function that literally goes to pypi and scrapes every single package from them?
<matthewcroughan> why can't we automate the packaging of every single pypi package?
<matthewcroughan> mkdocs, version 1.1.2 from /nix/store/r532rqnchz4g4jjwcz7zv8wzmp5ca8i6-mkdocs-1.0.4/lib/python3.8/site-packages/mkdocs (Python 3.8)
<matthewcroughan> Boom, problem solved. A million thanks for the assistance :)
<clever> yep
<{^_^}> [nixpkgs] @ajs124 opened pull request #117745 → attr: 2.4.48 -> 2.5.1 → https://github.com/NixOS/nixpkgs/pull/117745
ahmedelgabri has quit [Ping timeout: 245 seconds]
<matthewcroughan> clever: would the correct way to manage a developers environment be to write a flake and have them use `nix run` in future/now then?
<matthewcroughan> Rather than to use a nix-shell
Qwerky has joined #nixos
<matthewcroughan> The final working shell btw
<l33[m]> Lets break out the champagne
codygman__ has quit [Remote host closed the connection]
codygman__ has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116485 → kakoune: Update plugins and fix powerline plugin → https://github.com/NixOS/nixpkgs/pull/116485
Qwerky has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117727 → Use minimal git for fetching gems → https://github.com/NixOS/nixpkgs/pull/117727
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117730 → snakemake: 5.28.0 -> 6.0.5 → https://github.com/NixOS/nixpkgs/pull/117730
<matthewcroughan> Hmm, how do I upgrade Nix if I'm on Arch? Anyone savvy?
<clever> matthewcroughan: depends on what `which nix` returns
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117739 → zgrab2: init at 20210327-17a5257 → https://github.com/NixOS/nixpkgs/pull/117739
<supersandro2000> nix-env --install nix
<supersandro2000> and link the new version to systemd
stree has quit [Ping timeout: 240 seconds]
<supersandro2000> systemctl disable --now nix-daemon.service nix-daemon.socket; systemct link /nix/store/*nix*/lib/systemd/system/nix-daemon.*
codygman__ has quit [Read error: No route to host]
<clever> supersandro2000: ah, ive been using a hand-written .service file, with a reference to ~/.nix-profile
codygman` has joined #nixos
<matthewcroughan> clever: /usr/bin/nix
<matthewcroughan> mx
<matthewcroughan> error: directory '/usr/bin' does not appear to be part of a Nix profile
<matthewcroughan> sudo nix upgrade-nix
codygman` has quit [Read error: No route to host]
codygman__ has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117101 → add pname into python-modules/mxnet → https://github.com/NixOS/nixpkgs/pull/117101
<l33[m]> <matthewcroughan "Hmm, how do I upgrade Nix if I'm"> rm -rf /:-)
<l33[m]> <l33[m] "rm -rf /:-)"> you may have sudo...
<matthewcroughan> l33[m]: Why haven't I thought of this before?
<matthewcroughan> Solved all of my problems
<matthewcroughan> l33[m] ++
<l33[m]> <matthewcroughan "Solved all of my problems"> actually , once you have full nix/OS you'll have a set of new problems..but some problems are nicer to have.
<matthewcroughan> supersandro2000: I want nix 2.4 on arch, any way to do it?
<matthewcroughan> I got 2.3.10 from nix-env on the unstable channel
<clever> matthewcroughan: if nix is in /usr/bin/nix, then its being managed by arch, either tell arch to update it, or `nix-env -iA nixpkgs.nix` and then tell arch to remove nix
<matthewcroughan> clever: supersandro2000: I could just log into my 24 thread server, then `nix-build '<nixpkgs>' pkgsStatic.nix`', then copy it into /usr/bin on arch, couldn't I?
<matthewcroughan> Do you think that would work? :D
<matthewcroughan> clever: there is no nix package for arch, only a crusty aur package that is from 2020
<clever> matthewcroughan: even static, it will have references into /nix/store
<matthewcroughan> yeah, and I have a /nix/store
<clever> matthewcroughan: just do a plain nix-env -iA nixpkgs.nix, and let it stay in /nix/store
jbox has joined #nixos
Dr8128 has quit [Ping timeout: 252 seconds]
<matthewcroughan> yeah but unstable
<matthewcroughan> is it nixpkgs.nixFlakes I want then?clever
<clever> > nixFlakes
<{^_^}> "<derivation /nix/store/1wcwg5lmn5d93cl1j32x756igqw2ccsr-nix-2.4pre20210317_8a5203d.drv>"
<clever> possibly
<matthewcroughan> HAH!!!!
<matthewcroughan> How does this work.
<ajs124> I thought that's just an alias for nixUnstable now?
<matthewcroughan> replacing old 'nix-2.3.10' installing 'nix-2.4pre20210317_8a5203d'
codygman__ has quit [Ping timeout: 260 seconds]
<matthewcroughan> How does it know!!!
<clever> you must have already had a copy of nix in `nix-env -q` before
<clever> but the arch one is earlier in $PATH
<clever> >> and then tell arch to remove nix
fuiltilt has quit [Quit: WeeChat 2.9]
<l33[m]> matts arch system is so broken.. i think it needs a rebuild... archos-rebuild switch
<matthewcroughan> doesn't seem to matter
<matthewcroughan> I have flakes now, it's good ja
<matthewcroughan> how can I use `nix build` in order to build a local flake package?
<clever> nix build .#foo
<matthewcroughan> ah, .#
<clever> or `nix build .#`
<matthewcroughan> I was trying #ly for example, no .
jmeredith has quit [Quit: Connection closed for inactivity]
stree has joined #nixos
<simpson> matthewcroughan: This should probably go in an FAQ somewhere: PyPI doesn't export rich-enough metadata for us to simply import all of their packages in a single motion.
<matthewcroughan> simpson: what are the challenges?
<matthewcroughan> Are most of the pypi packages automated then? With a few unable to be?
<matthewcroughan> or is every single python3Packages just done by hand?
<simpson> AIUI upstream simply doesn't have the metadata that we'd need. So yeah, we maintain them by hand.
<matthewcroughan> Oh dear. error: unable to execute '/nix/store/l4rrkdvmy117rm20snkna99y2aq9yw77-ly-unstable-2021-03-26/bin/ly-unstable': No such file or directory
<matthewcroughan> But I checked with ls, and the file does exist
astro has left #nixos [#nixos]
<matthewcroughan> Oh, nvm, this is exactly the error I was hoping to get as part of https://github.com/NixOS/nixpkgs/pull/117646#pullrequestreview-622595662
<matthewcroughan> by giving it a `version` as part of `name` it has appended `-unstable` to the output name
<matthewcroughan> What's going on with that supersandro2000? How am I supposed to fix that? O.o
ddellacosta has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<matthewcroughan> Okay, this must have been a caching fluke or something, whatever the problem was seems to have fixed itself after garbage collection.
erictapen has quit [Ping timeout: 240 seconds]
<matthewcroughan> Oh, no, I changed `pname` to `name`, sneaky sneaky. Yes. so when `pname` is set to `ly` whilst the `version = unstable-xxxx-xx-xx`, the expected path is /nix/store/l4rrkdvmy117rm20snkna99y2aq9yw77-ly-unstable-2021-03-26/bin/ly-unstable
<matthewcroughan> Am I supposed to change the pname to `ly-unstable` supersandro2000?
<matthewcroughan> haha, if I do that, I end up with an expected path of /nix/store/f6wy6hdgzficw5kmmdnd7v2dcgzd3c6j-ly-unstable-unstable-2021-03-26/bin/ly-unstable-unstable
<matthewcroughan> If I change it to pname = "ly-unstable"; I end up with an expected path of `ly-unstable-unstable`, what's this about?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117604 → vistafonts: fix build → https://github.com/NixOS/nixpkgs/pull/117604
<l33[m]> wow, you 2x unstable...
<clever> matthewcroughan: the default name is "${pname}-${version}"
<matthewcroughan> yeah, so is supersandro2000's suggestion on my PR incorrect?
ddellacosta has quit [Ping timeout: 240 seconds]
<clever> it is correct
gustavderdrache has quit [Quit: Leaving.]
<matthewcroughan> So do I need to modify the installPhase in order to copy it to a different name?
<supersandro2000> matthewcroughan: I just linked the nix-daemon from my user env where I use 2.4
<supersandro2000> matthewcroughan: set the version to unstable-XXXX-XX-XX
<supersandro2000> where XXXX-XX-XX is the date of the commit
<matthewcroughan> Indeed I did, and the result is what I've been posting about
<supersandro2000> pname shouldn't change
<matthewcroughan> it does
<supersandro2000> no, it shouldnt
<matthewcroughan> Yes, but it does, try my flake :D
<supersandro2000> I wrote a suggestion on the PR
<matthewcroughan> supersandro2000: sorry yeah I was committing that
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117512 → igraph: 0.8.5 -> 0.9.1 → https://github.com/NixOS/nixpkgs/pull/117512
<matthewcroughan> supersandro2000: I've rebased, now you should be able to run `nix run github:matthewcroughan/nixpkgs/update-ly#ly` and observe the error
<matthewcroughan> error: unable to execute '/nix/store/1vhcy6xjg54n6zbbyk4inbjqwwvlcm3y-ly-unstable-2021-03-25/bin/ly-unstable': No such file or directory
<supersandro2000> don't reuse pname
<matthewcroughan> reuse?
Emantor has quit [Quit: ZNC - http://znc.in]
<supersandro2000> it is not used anywhere 🤔
<matthewcroughan> so are you suggesting to get rid of pname?
<supersandro2000> not sure whats happening
<supersandro2000> no, I thought it was used somewhere
<supersandro2000> but it isn't
<supersandro2000> at least from what I can tell right now
<matthewcroughan> So was your suggestion wrong?
<supersandro2000> it is probably somewhere used which I is a bit hidden or so
<supersandro2000> pname and version is right there but something is interring
<matthewcroughan> I do not understand the use case for the suggestion, is this so it appears as `ly-unstable` when you `nix search`?
Emantor has joined #nixos
apache8080 has joined #nixos
<{^_^}> [nixpkgs] @Technical27 opened pull request #117746 → openrazer: 2.9.0 -> 3.0.0 → https://github.com/NixOS/nixpkgs/pull/117746
<supersandro2000> pname shouldn't change when you update to some unstable version
<matthewcroughan> ah, I see what you're saying
<supersandro2000> I am away for a bit
<matthewcroughan> supersandro2000: sure, thanks for looking
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117747 → python38Packages.confluent-kafka: 1.6.0 -> 1.6.1 → https://github.com/NixOS/nixpkgs/pull/117747
<l33[m]> supersandro2000: is SUPER!
<matthewcroughan> super.supersandro2000
<matthewcroughan> or is it super.super.sandro2000?
<matthewcroughan> Does anybody know the modern way to run a nix-shell?
<matthewcroughan> `nix shell shell.nix` would return
<matthewcroughan> shell.nix' is not a flake (because it's not a directory)
<l33[m]> doesn't "nix shell" need a flake?
<l33[m]> or do just want to hot wire one from the cmd line?
<{^_^}> [nixpkgs] @ajs124 opened pull request #117748 → yed: 3.20.1 -> 3.21.1 → https://github.com/NixOS/nixpkgs/pull/117748
vidbina has joined #nixos
<matthewcroughan> I guess it needs a flake, but I want to write a shell.nix . Does this mean that the way shells work is changing?
<matthewcroughan> Does this mean that flake.nix *is* the new shell.nix?
<l33[m]> i do believe you are correct...
lsix has joined #nixos
Guest55480 has quit [Ping timeout: 240 seconds]
vidbina_ has quit [Ping timeout: 252 seconds]
<matthewcroughan> Is it possible to write Dockerfiles with Nix? I know you can write oci images via https://nixos.org/guides/building-and-running-docker-images.html
ericsagnes has quit [Ping timeout: 250 seconds]
<matthewcroughan> But is it possible to write Dockerfiles from this same tool?
<{^_^}> [nixpkgs] @ajs124 closed pull request #117743 → audit: 2.8.5 -> 3.0.1 → https://github.com/NixOS/nixpkgs/pull/117743
h0m1 has quit [Ping timeout: 245 seconds]
h0m1 has joined #nixos
dbmikus has joined #nixos
apache8080 has quit [Ping timeout: 240 seconds]
ericsagnes has joined #nixos
dbmikus has quit [Ping timeout: 252 seconds]
<simpson> matthewcroughan: How would that work? You can `FROM nixos/nix` but it's not as good of an experience.
<matthewcroughan> Does anybody know how to garbage collect the last X generations in nix? Rather than based on a time period?
<matthewcroughan> Say I want to limit Nix to generating 10 generations
<l33[m]> can't you use something like nixery?
<matthewcroughan> simpson: companies tend to think of tools like Nix as the boogieman.
<matthewcroughan> I am probably just going to end up packaging the shell as if it were a derivation, in an OCI image written by the nix tooling, this will probably suffice, I was just curious
<simpson> matthewcroughan: Corporations are not alive; any appearance of thinking is an illusion. Don't worry about it.
<matthewcroughan> Basically, it'd be great if when I wrote a shell, that represented an OCI image automatically, at the same time.
<matthewcroughan> so you have two choices; Install nix, or install docker.
<matthewcroughan> People are going to take a long time to do the former.
<l33[m]> depends what people they are, those that want their software to build, and those that don't.
Dr8128 has joined #nixos
<matthewcroughan> l33[m]: they?
<matthewcroughan> Which they?
<matthewcroughan> Is there a way to have flake inputs fallback?
<matthewcroughan> Let's imagine you have two git repos as nixpkgs? inputs.nixpkgs.url1 and inputs.nixpkgs.url2
<matthewcroughan> url1 and url2 point to github and gitlab respectively. This way, if GH is down, no problem.
<l33[m]> didn't john lennon say that?
<matthewcroughan> l33[m]: imagine there's no downtime, it's easy to do
<l33[m]> wouldn't your fall back be cached in your /nix/store?
mkaito has quit [Quit: WeeChat 3.1]
<matthewcroughan> Yes, but if you were trying to start a fresh build and github and gitlab were down, that's fine, because url3 points to a synced gitea/gogs instance that you set up to mirror nixpkgs, hopefully
<l33[m]> however, the trust pin it https:/thisiswhatiwant.with.ssl.certificate.com
<l33[m]> only build input are hashed...but maybe in flakes that can be different?
<matthewcroughan> trustix and ipfs will make this pointless, won't it? Lol
<matthewcroughan> there won't be a central git repo to fail in that setup
<l33[m]> that is the future...
<l33[m]> i need more cores!
<matthewcroughan> ryantm: Is it possible that we could use a yubikey instead of an ssh key with agenix?
<matthewcroughan> I think that'd be so cool, to unlock all my secrets with a yubikey.
<ryantm> matthewcroughan https://github.com/str4d/rage/pull/25
<{^_^}> str4d/rage#25 (by str4d, 1 year ago, closed): YubiKey plugin
<ryantm> Maybe eventually?
<matthewcroughan> ryantm: hehe
<matthewcroughan> Maybe I could do something with libpam and the fingerprint sensor on my laptop
dbmikus has joined #nixos
dbmikus has quit [Ping timeout: 246 seconds]
zebrag has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 246 seconds]
ahmedelgabri has joined #nixos
ahmedelgabri has quit [Ping timeout: 250 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
fanderal has joined #nixos
_Qubasa has quit [Quit: WeeChat 2.9]
Qubasa has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117749 → python38Packages.cupy: 8.5.0 -> 8.6.0 → https://github.com/NixOS/nixpkgs/pull/117749
cole-h has joined #nixos
fanderal has left #nixos ["bye"]
nwspk has quit [Quit: nwspk]
nwspk has joined #nixos
S0rin has quit [Quit: WeeChat 2.3]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
growpotkin has joined #nixos
apo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117750 → python38Packages.dockerspawner: 0.11.1 -> 12.0.0 → https://github.com/NixOS/nixpkgs/pull/117750
<apo> \o
<kaptin> howdy
<apo> I installed exim on my box and tried to use it as sendmail, as a non-privileged user. This creates a file in /var/spool/exim/input (as that user), then tries to chown it to exim's user and group, which fails
<apo> (Because you can't hand off your owned files to somebody else)
<apo> It seems that normally, exim is suid
<apo> Anybody got an idea what I should do to get sendmail running?
<clever> modules/programs/ssmtp.nix: services.mail.sendmailSetuidWrapper = mkIf cfg.setSendmail {
<clever> modules/programs/ssmtp.nix: program = "sendmail";
<clever> apo: needs an option like this
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> 100 security.wrappers.exim.source = "${cfg.package}/bin/exim";
<clever> apo: exim does install the exim binary itself with a wrapper
<apo> oh?
<clever> apo: if you set services.exim.enable then `which exim` will be setuid root
<apo> hm
<apo> true
AlpineLlama has joined #nixos
<apo> but `which sendmail` is not
<apo> hah
sangoma has joined #nixos
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mzan has joined #nixos
S0rin has joined #nixos
<matthewcroughan> Is it possible to define globally referencable directories instead of this `../../../` business?
<clever> matthewcroughan: paths can be stored in variables, foo = ../../..; bar = foo + "/baz";
<matthewcroughan> so I could have a `dereference.nix` that all of my files import?
<matthewcroughan> dereference.nix would have nothing more than variables in it?
<clever> yeah
<matthewcroughan> sweet
stree has quit [Ping timeout: 240 seconds]
<apo> clever: it worked! Thanks :)
LilleCarl has quit [Quit: WeeChat 3.1]
<matthewcroughan> ryantm: as far as I can tell, that feature of yubikeys is merged
<matthewcroughan> when you said maybe eventually, were you referring to yourself implementing it in agenix?
rubm has quit [Ping timeout: 240 seconds]
<matthewcroughan> clever: Wait.. I think I can also have ${self}/dir
<matthewcroughan> because of flakes, right?
<matthewcroughan> ${self} will always refer to the root of the repo
Supersonic112 has joined #nixos
<clever> matthewcroughan: yeah
<matthewcroughan> omfg that's great
Supersonic has quit [Ping timeout: 252 seconds]
Supersonic112 is now known as Supersonic
Guest43 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117751 → python38Packages.google-cloud-bigquery: 2.12.0 -> 2.13.1 → https://github.com/NixOS/nixpkgs/pull/117751
<matthewcroughan> ryantm: lol, if we did this with yubikeys you could even put your ssh private keys into your nix configuration, and decrypt them with age via the yubikey.
<matthewcroughan> This is the craziest use case for a yubikey I've ever seen
<{^_^}> [nixpkgs] @Ekleog opened pull request #117752 → lib: fix commitIdFromGitRepo → https://github.com/NixOS/nixpkgs/pull/117752
stree has joined #nixos
rail has quit [Quit: gone...]
Guest43 has quit [Quit: Connection closed]
terinjokes has quit [Quit: ZNC 1.8.1 - https://znc.in]
rail has joined #nixos
zie has quit [Quit: ZNC 1.8.1 - https://znc.in]
zie has joined #nixos
terinjokes has joined #nixos
Guest43 has joined #nixos
Dr81281 has joined #nixos
Dr8128 has quit [Read error: Connection reset by peer]
Guest43 has quit [Ping timeout: 240 seconds]
Guest43 has joined #nixos
jarkad has joined #nixos
Guest43 has quit [Quit: Connection closed]
maljub01 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117753 → python38Packages.knack: 0.7.2 -> 0.8.0 → https://github.com/NixOS/nixpkgs/pull/117753
jarkad has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117754 → python38Packages.limnoria: 2021.03.13 -> 2021.03.18 → https://github.com/NixOS/nixpkgs/pull/117754
fuiltilt has joined #nixos
Dr81281 has quit [Ping timeout: 252 seconds]
dbmikus has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117755 → python38Packages.gensim: 3.8.3 -> 4.0.0 → https://github.com/NixOS/nixpkgs/pull/117755
ahmedelgabri has joined #nixos
ahmedelgabri has quit [Ping timeout: 276 seconds]
kini has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117756 → python38Packages.google-cloud-container: 2.3.1 -> 2.4.0 → https://github.com/NixOS/nixpkgs/pull/117756
<matthewcroughan> Do you automatically get invited to the NixOS organisation when you are added to maintainers.nix?
endformationage has quit [Quit: WeeChat 2.9]
<matthewcroughan> supersandro2000: I figured out the issue with Ly, haha
<matthewcroughan> Its insane custom configuration parsing library limits the char size of any configuration option to 80, meaning the nix store path gets cut off.
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
waleee-cl has quit [Quit: Connection closed for inactivity]
domogled has joined #nixos
dbmikus has joined #nixos
<matthewcroughan> :D
<matthewcroughan> Can you believe this was the issue? I almost can't.
<clever> :D
<matthewcroughan> It really did seem to fix it, lol.
<matthewcroughan> Strace is great..
<clever> it really is
dbmikus has quit [Ping timeout: 240 seconds]
rydnr has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117757 → agate: 2.5.3 -> 3.0.0 → https://github.com/NixOS/nixpkgs/pull/117757
sumner has quit [Quit: The Lounge - https://thelounge.chat]
sumner has joined #nixos
<rydnr> Hello. I'm struggling configuring my system to use overlays. What I'm trying to accomplish:
<rydnr> - derivations in overlays available globally (nixos-rebuild and nix-env, nix-shell, etc).
<rydnr> - A single folder containing links to folders defining overlays.
<rydnr> What I have tried:
<rydnr> I use NIX_PATH=${NIX_PATH}:nixpkgs-overlays=/etc/nixos/overlays
stree has quit [Ping timeout: 240 seconds]
lsix has quit [Ping timeout: 250 seconds]
<rydnr> I added the nixpkgs-overlay=/etc/nixos/overlays-compat entry to nix.nixPath in /etc/nixos/configuration.nix
<rydnr> nixos needs a default.nix in my /etc/nixos/overlays
<rydnr> What should it contain, to be able to automatically see other overlays (as with ~/.config/nixpkgs/overlays/)?
<matthewcroughan> clever: How does hardeningDisalbe work?
<matthewcroughan> is there a list of flags anywhere?
<clever> [clever@amd-nixos:~/apps/nixpkgs/pkgs/build-support]$ git grep hardeningDisable
<clever> bintools-wrapper/add-hardening.sh: declare -A hardeningDisableMap=()
<clever> matthewcroughan: it should be in this file
<clever> cc-wrapper/add-hardening.sh: declare -A hardeningDisableMap=()
<clever> or possibly this one
<{^_^}> [nixpkgs] @cole-h opened pull request #117758 → nixUnstable: pre20210317_8a5203d -> pre20210326_dd77f71 → https://github.com/NixOS/nixpkgs/pull/117758
stree has joined #nixos
<{^_^}> [nixpkgs] @cole-h closed pull request #117471 → nixUnstable: pre20210317_8a5203d -> pre20210324_d1cb956 → https://github.com/NixOS/nixpkgs/pull/117471
<{^_^}> [nixpkgs] @jtojnar pushed commit from @maxeaubrey to gnome-40 « fixup! gnome3.gnome-calculator: 3.38.2 → 40.0 »: https://git.io/JY3li
<{^_^}> [nixpkgs] @jtojnar merged pull request #117735 → GNOME 40 fixups → https://github.com/NixOS/nixpkgs/pull/117735
sangoma has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ymatsiuk opened pull request #117759 → alertmanager-irc-relay: init at 0.3.0 → https://github.com/NixOS/nixpkgs/pull/117759
mallox has joined #nixos
Guest43 has joined #nixos
Lord_of_Life has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117760 → calc: 2.12.9.0 -> 2.12.9.1 → https://github.com/NixOS/nixpkgs/pull/117760
avaq has joined #nixos
waleee-cl has joined #nixos
cole-h has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117761 → cargo-udeps: 0.1.19 -> 0.1.20 → https://github.com/NixOS/nixpkgs/pull/117761
ahmedelgabri has joined #nixos
vidbina has quit [Ping timeout: 265 seconds]
Guest43 has quit [Quit: Connection closed]
Guest43 has joined #nixos
ahmedelgabri has quit [Ping timeout: 250 seconds]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117762 → chezmoi: 2.0.3 -> 2.0.4 → https://github.com/NixOS/nixpkgs/pull/117762
Guest43 has quit [Quit: Connection closed]
vidbina has joined #nixos
Guest43 has joined #nixos
cognemo has quit [Quit: cognemo]
realrokka has quit [Quit: rip]
realrokka has joined #nixos
ahmedelgabri has joined #nixos
sangoma has joined #nixos
FRidh has joined #nixos
cognemo has joined #nixos
Guest43 has quit [Ping timeout: 265 seconds]
respawn_ has joined #nixos
ahmedelgabri has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117763 → codeql: 2.4.6 -> 2.5.0 → https://github.com/NixOS/nixpkgs/pull/117763
infowicz is now known as inf
zupo has joined #nixos
inf is now known as Guest39663
Guest39663 is now known as infowicz
zupo_ has joined #nixos
ahmedelgabri has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #117764 → Update emacs modes → https://github.com/NixOS/nixpkgs/pull/117764
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117765 → coordgenlibs: 1.4.2 -> 2.0.0 → https://github.com/NixOS/nixpkgs/pull/117765
domogled has quit [Quit: domogled]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
respawn_ has quit [Quit: Leaving]
ManiacOfMadness has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117766 → croc: 8.6.11 -> 8.6.12 → https://github.com/NixOS/nixpkgs/pull/117766
jonringer has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #117764 → Update emacs modes → https://github.com/NixOS/nixpkgs/pull/117764
<patagonicus> Anyone know a mirror for sudo.ws / the source for sudo-1.9.6p1? The server seems to be down.
simba1 has joined #nixos
Unempl0yed[m] has joined #nixos
monokrome has quit [Quit: software update]
monokrome has joined #nixos
Vadrigar_ has joined #nixos
<srhb> patagonicus: Well, cache.nixos.org
<patagonicus> Shouldn't that be automatically done by nix-build?
<patagonicus> Anyway, I found it because it's being used by LFS and they have mirrors. :)
<srhb> patagonicus: Yeah, it should. Maybe you had a substitution attempt flake out.
<patagonicus> I'm building close to master, it might not be in the caches yet. And it's 32-bit arm, so no binary cache, just sources.
<srhb> Should still work as far as I can tell. The src attribute is fixed-output, so the hash shouldn't be changed as far as I can think, unless it's actually a different src per system, which I assume it's not.
<srhb> eg. /nix/store/grbq4miwjmklddni84b3ryvjfc4g85ai-sudo-1.9.6p1.tar.gz should work
<srhb> er, nix-store --realize <that> should work
stree has quit [Ping timeout: 260 seconds]
Vadrigar_ has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @hennersz closed pull request #117675 → kubectl: only build kubectl and kubeadm → https://github.com/NixOS/nixpkgs/pull/117675
<{^_^}> [nixpkgs] @fabaff merged pull request #117723 → python3Packages.xknx: 0.17.2 -> 0.17.4 → https://github.com/NixOS/nixpkgs/pull/117723
zupo has quit [Client Quit]
linus0[m] has quit [Quit: Idle for 30+ days]
yoctocell has joined #nixos
ahmedelgabri has quit [Ping timeout: 250 seconds]
<yoctocell> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
rajivr has joined #nixos
stree has joined #nixos
Vadrigar_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117767 → ephemeral: 7.0.5 -> 7.1.0 → https://github.com/NixOS/nixpkgs/pull/117767
ahmedelgabri has joined #nixos
Vadrigar_ has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
ahmedelgabri has quit [Quit: WeeChat 3.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117768 → exoscale-cli: 1.24.0 -> 1.26.0 → https://github.com/NixOS/nixpkgs/pull/117768
noudle has joined #nixos
aasg has quit [Remote host closed the connection]
kreha1[m] has joined #nixos
Vadrigar_ has joined #nixos
fendor has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
malook has joined #nixos
Vadrigar_ has quit [Ping timeout: 252 seconds]
malook` has joined #nixos
ahmedelgabri has joined #nixos
nixo_ has joined #nixos
malook has quit [Client Quit]
noudle has quit []
graf_blutwurst has joined #nixos
sangoma has quit [Quit: WeeChat 3.1]
Vadrigar_ has joined #nixos
aasg has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117769 → fluxcd: 0.10.0 -> 0.11.0 → https://github.com/NixOS/nixpkgs/pull/117769
Vadrigar_ has quit [Ping timeout: 260 seconds]
poscat has joined #nixos
bew has quit [Quit: Connection closed]
cinimod` has joined #nixos
cinimod has quit [Ping timeout: 252 seconds]
respawn_ has joined #nixos
Guest55480 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dotlambda merged pull request #117614 → python39Packages.ldap: unbreak → https://github.com/NixOS/nixpkgs/pull/117614
evils has joined #nixos
Vadrigar_ has joined #nixos
sangoma has joined #nixos
orivej has joined #nixos
fuiltilt has quit [Quit: WeeChat 2.9]
Vadrigar_ has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #nixos
supercoven has joined #nixos
lsix has joined #nixos
Vadrigar_ has joined #nixos
ahmed_elgabri has joined #nixos
apeyroux has joined #nixos
ahmedelgabri has quit [Ping timeout: 240 seconds]
Vadrigar_ has quit [Ping timeout: 240 seconds]
civodul has joined #nixos
simba1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @tu-maurice opened pull request #117770 → fishnet: 2.2.5 -> 2.2.6 → https://github.com/NixOS/nixpkgs/pull/117770
simba1 has joined #nixos
jejjo has joined #nixos
jejjo has quit [Client Quit]
<{^_^}> [nixpkgs] @Ma27 merged pull request #117549 → xonsh: 0.9.24 -> 0.9.27 → https://github.com/NixOS/nixpkgs/pull/117549
apeyroux has quit [Ping timeout: 240 seconds]
alexherbo27 has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo27 is now known as alexherbo2
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117771 → gcsfuse: 0.33.2 -> 0.34.0 → https://github.com/NixOS/nixpkgs/pull/117771
rydnr has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117772 → gdu: 4.8.1 -> 4.9.0 → https://github.com/NixOS/nixpkgs/pull/117772
simba1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #117601 → vault: 1.6.3 -> 1.7.0 → https://github.com/NixOS/nixpkgs/pull/117601
simba1 has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #117685 → arpack: 3.7.0 -> 3.8.0 → https://github.com/NixOS/nixpkgs/pull/117685
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117773 → git-extras: 6.1.0 -> 6.2.0 → https://github.com/NixOS/nixpkgs/pull/117773
<{^_^}> [nixpkgs] @oxzi opened pull request #117774 → golangci-lint: 1.38.0 -> 1.39.0 → https://github.com/NixOS/nixpkgs/pull/117774
__monty__ has joined #nixos
stree has quit [Ping timeout: 260 seconds]
malook` has quit [Quit: ERC (IRC client for Emacs 27.1)]
<{^_^}> [nixpkgs] @Ma27 merged pull request #117761 → cargo-udeps: 0.1.19 -> 0.1.20 → https://github.com/NixOS/nixpkgs/pull/117761
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117775 → git-lfs: 2.13.2 -> 2.13.3 → https://github.com/NixOS/nixpkgs/pull/117775
<{^_^}> [nixpkgs] @oxzi opened pull request #117776 → pythonPackages.pynmea2: 1.16.0 -> 1.17.0 → https://github.com/NixOS/nixpkgs/pull/117776
<{^_^}> [nixpkgs] @fabaff merged pull request #117772 → gdu: 4.8.1 -> 4.9.0 → https://github.com/NixOS/nixpkgs/pull/117772
siers has quit [Changing host]
siers has joined #nixos
stree has joined #nixos
mallox has quit [Ping timeout: 240 seconds]
Magic_RB has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy merged pull request #116724 → qt5.qtwebengine: 5.15.2 -> 5.15.3 → https://github.com/NixOS/nixpkgs/pull/116724
ris has joined #nixos
<Magic_RB> Hi, I'm attempting to reimplement parts of NixOS on my own, as a learning experience and now I'm working on my version of https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/vm/default.nix#L306 and I've got it working, but only when I run the script outside of the Nix build process, it seems as if the 9p mount does not work when running
<Magic_RB> in Nix
<Magic_RB> ```
<Magic_RB> qemu> mounting Nix store...
<Magic_RB> qemu> /init: line 23: sleep: command not found
<Magic_RB> qemu> mounting out...
<Magic_RB> qemu> /init: line 26: /nix/store/cgvsmcmbxv1aszhhzy8b86gmas58bvbr-busybox-1.31.1/bin/m
<Magic_RB> qemu> /init: line 27: /nix/store/cgvsmcmbxv1aszhhzy8b86gmas58bvbr-busybox-1.31.1/bin/m
<Magic_RB> qemu> /init: line 29: /nix/store/cgvsmcmbxv1aszhhzy8b86gmas58bvbr-busybox-1.31.1/bin/m
Magic_RB has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117777 → goreleaser: 0.160.0 -> 0.161.1 → https://github.com/NixOS/nixpkgs/pull/117777
<jess> I'll remove that kline
Magic_RB has joined #nixos
<Magic_RB> For those that saw my last message, it got detected as flooding. Didn't intend to flood sorry guys, I'm new to IRC so idk if it got through or it somehow got intercepted, anyway, thanks for your help in advance
sangoma has quit [Quit: WeeChat 3.1]
<jess> hey
<jess> i removed the ban, lots of people make that mistake
<jess> try a pastebin instead
<gh0st[m]2> Yeah, it's no problem, pastebin and stuff like it will work best
<{^_^}> [nixpkgs] @xworld21 opened pull request #117778 → hugo: add man pages and shell completions → https://github.com/NixOS/nixpkgs/pull/117778
<Magic_RB> Thanks! I'll repost it with pastebin
Synthetica has joined #nixos
Magic_RB78 has joined #nixos
erictapen has joined #nixos
<Magic_RB78> Hi, I'm attempting to reimplement parts of NixOS on my own, as a learning experience and now I'm working on my version of https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/vm/default.nix#L306 and I've got it working, but only when I run the script outside of the Nix build process, it seems as if the 9p mount does not work when running
<Magic_RB78> in Nix. https://termbin.com/ka4v while if I run the script manually it all works, https://gitea.redalder.org/Magic_RB/NixNG/src/branch/master/lib/vm/run-in-vm.nix that's the source. What am I missing?
<srhb> Magic_RB78: How does one reproduce?
<Magic_RB> Clone the repo and nix build the .#vmTest attr I think
<srhb> Magic_RB: attribute runInVm missing.
<Magic_RB78> pull from gitea, i forgot to commit one bit
<srhb> Magic_RB78: That helped.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117779 → grype: 0.8.0 -> 0.9.0 → https://github.com/NixOS/nixpkgs/pull/117779
pazuzu has joined #nixos
pazuzu has quit [Remote host closed the connection]
mallox has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @risicle merged pull request #117460 → sfizz: 0.4.0 -> 0.5.1 → https://github.com/NixOS/nixpkgs/pull/117460
<{^_^}> [nixpkgs] @cmacrae opened pull request #117780 → spacebar: fix builds on macOS Big Sur → https://github.com/NixOS/nixpkgs/pull/117780
<{^_^}> [nixpkgs] @risicle merged pull request #116250 → ipmitool: fix security vulnerability → https://github.com/NixOS/nixpkgs/pull/116250
mschwaig has joined #nixos
<srhb> Magic_RB78: Brief look over, it looks to me like you're in a bootstrap pickle -- your initrd needs a bunch of tools to mount the 9p stuff but you are trying to get those tools from the 9p mounts, as far as I can see.
<srhb> Magic_RB78: You'll need to produce an initrd that actually contains enough tools to bootstrap eg mount
<Magic_RB> The initrd is a bundle
<Magic_RB> So it contains everything it needs, the errors appear only after I mount 9p and it works if I run the script manually
Dr8128 has joined #nixos
<srhb> What exactly do you mean by manually? Without sandboxing?
<Magic_RB> write text the script and then run it with bash result
<srhb> On your host machine?
<Magic_RB> Yes on my host
<srhb> But on your host machine, /nix/store/...busybox suddenly exists!
<srhb> I'll read bundle in case I missed something
<Magic_RB> Oh unless nix literally drops paths that it doesn't need
<srhb> Though my gut feeling is that this is the right diagnosis. You're assuming /nix/store exists and contains eg. busybox before that's actually the case.
<{^_^}> [nixpkgs] @risicle merged pull request #114153 → [20.09] guile-1.8: fix CVE-2016-8605 → https://github.com/NixOS/nixpkgs/pull/114153
<{^_^}> [nixpkgs] @dotlambda opened pull request #117782 → spotdl: init at 3.5.0 → https://github.com/NixOS/nixpkgs/pull/117782
<srhb> Nope, I'm wrong, scratch that. :)
<Magic_RB> I'm a bit over my head I think, but I'm learning so IG its ok
yoctocell has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
<{^_^}> [nixpkgs] @primeos pushed to staging « git: 2.31.0 -> 2.31.1 »: https://git.io/JYsGk
<{^_^}> [nixpkgs] @bhipple merged pull request #117744 → python38Packages.bitarray: 1.8.0 -> 1.8.1 → https://github.com/NixOS/nixpkgs/pull/117744
orivej has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<srhb> Magic_RB78: I think it's still related to what's available before/after store mount -- try https://pastebin.com/8PDpEdzr
zupo has joined #nixos
<srhb> Magic_RB78: Similarly I think adding busybox to runCommandNoCC's args in buildInputs would do the same thing, because the executing qemu would see a /nix/store containing busybox in the sandbox, and mount that in.
<srhb> Magic_RB78: Causing the "overwrite" (when you mount "store") to not lose busybox due to the shadowing.
<odiug[m]> init
lsix has quit [Quit: WeeChat 3.0.1]
<odiug[m]> sry, wrong window :-)
<srhb> Magic_RB78: Does that clear things up?
<Magic_RB> I think, so. the thing that runs qemu doesn't depend on busybox, so when qemu add /nix/store to 9p the store only contains the stuff that qemu depends on
<Magic_RB> Therefore it doesn't contain dependencies of the script it self
<srhb> Magic_RB: Right. :)
<Magic_RB> Couldn't I just add the script to nativeBuildInputs?
meh` has joined #nixos
<srhb> Magic_RB: Yeah, that should work too.
<Magic_RB> srhb: thanks you very much, I can continue work on my thing, creating a bootable disk imagine is next
<Magic_RB> *thank
<srhb> Magic_RB: You're welcome.
<Magic_RB> I can't type apparently lol, anyway, I'll have to stop by here more often, I think I found all of the Nix masters
<srhb> It's a good and helpful channel :) Especially when you have stuff as easy to reproduce as yours.
<srhb> So kudos for that.
zebrag has joined #nixos
<Magic_RB> Thanks, I'm trying to do this right to eventually merge parts or ideas from NixNG into NixOS, one of the main things is I'd like to have a generic init system interface in Nix
<srhb> I think someone posted on similar goals yesterday evening in this channel, and there was also a... relevant talk at nixcon 2020 I believe.
<srhb> I think it was odiug[m] that posted something yesterday.
<Magic_RB> I'll definitely watch the talk from nixconf2020, I'll be here more often, still hoping someone helps me with my little project
Magic_RB has quit [Quit: Connection closed]
Magic_RB has joined #nixos
Magic_RB has quit [Client Quit]
sss2 has joined #nixos
Magic_RB has joined #nixos
<odiug[m]> Yes, i posted my proof of concept of an s6-init system.
cinimod`` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117784 → html-tidy: 5.6.0 -> 5.7.28 → https://github.com/NixOS/nixpkgs/pull/117784
<Magic_RB> odiug[m]: could you post again? Though I'm aiming more for runit or openrc. I do realize that I'll have reimplement a lot of systems since NixOS depends on it quite heavily
cinimod` has quit [Ping timeout: 240 seconds]
ericsagnes has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mweinelt opened pull request #117785 → webkitgtk: 2.30.5 -> 2.30.6 → https://github.com/NixOS/nixpkgs/pull/117785
<{^_^}> [nix] @bjornfor opened pull request #4676 → fetchGit: don't prefix "refs/heads/" on ref = "HEAD" → https://github.com/NixOS/nix/pull/4676
<{^_^}> [nixpkgs] @mweinelt opened pull request #117786 → [20.09] webkitgtk: 2.30.3 -> 2.30.5 → https://github.com/NixOS/nixpkgs/pull/117786
berberman has quit [Ping timeout: 258 seconds]
berberman has joined #nixos
<{^_^}> [nixpkgs] @fabaff opened pull request #117787 → python3Packages.tldextract: enable tests → https://github.com/NixOS/nixpkgs/pull/117787
dev_mohe has joined #nixos
dev_mohe has quit [Client Quit]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ericsagnes has joined #nixos
stree has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #117738 → Revert "ocamlPackages.tcpip: 6.0.0 -> 6.1.0" → https://github.com/NixOS/nixpkgs/pull/117738
respawn_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/JYsBG
<{^_^}> [nixpkgs] @vcunat merged pull request #117127 → bash: don't rely on patch timestamps in build → https://github.com/NixOS/nixpkgs/pull/117127
Vadrigar_ has joined #nixos
erictapen has quit [Ping timeout: 252 seconds]
simba1 has quit [Ping timeout: 258 seconds]
ahmed_elgabri has quit [Ping timeout: 240 seconds]
simba1 has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #117788 → pythonPackages.lxml: 4.6.2 -> 4.6.3, addressing CVE-2021-28957 → https://github.com/NixOS/nixpkgs/pull/117788
Vadrigar_ has quit [Ping timeout: 260 seconds]
<Magic_RB> odiug[m]: well you beat me to it lol, I also had the idea that I could create a module which would parse `services` then generate something like `services2` which then could get parsed by which ever init system the user picked. I planned to write a semi official design for the new generic services option by going through all existing services and
<Magic_RB> generalizing what they need so that we could build up a a capability system for each init system, so that if you were to enable sshd which required some feature which runit didn't support Nix would yell at you.
<Magic_RB> I started developing NixNG so that I could gain a better understanding how such I a distro might be built, I also refer to NixOS source all the time so I'm learning that too
hiro98 has joined #nixos
zupo has joined #nixos
<odiug[m]> I was glad I could do it without changing nixpkgs.
<odiug[m]> perhaps I'll make it a flake.
<{^_^}> [nixpkgs] @fabaff merged pull request #117709 → python38Packages.managesieve: 0.7 -> 0.7.1 → https://github.com/NixOS/nixpkgs/pull/117709
mkaito has joined #nixos
mkaito has joined #nixos
<Magic_RB> Yeah that one way I'm aiming for a more destructive change, though there is no reason why my thing could be included as a third party flake too, :D
<{^_^}> [nixpkgs] @mweinelt pushed 644 commits to python-unstable: https://git.io/JYsRP
<Magic_RB> *that's, couldnt
stree has joined #nixos
<maralorn> My build for git-2.29.3 fails because I have max-jobs==0. What flag is my remote-builder missing to be viable for that build?
<hexa-> maralorn: is cached for me
<maralorn> hexa-: Hm, it might just be a wrapper or something?
medvid has quit [Quit: WeeChat 2.3]
<hexa-> this works for me: nom-build -A git -j0 --check
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2c8e4f2e3e0 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<hexa-> using my remote builder :p
<hexa-> supportedFeatures = [ "big-parallel" "kvm" ];
<maralorn> Hm, it seems to be related to home-manager. Doesn‘t affect the system-wide git.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fuzzypixelz has joined #nixos
<{^_^}> [nixpkgs] @fabaff merged pull request #117779 → grype: 0.8.0 -> 0.9.0 → https://github.com/NixOS/nixpkgs/pull/117779
ahmed_elgabri has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #117785 → webkitgtk: 2.30.5 -> 2.30.6 → https://github.com/NixOS/nixpkgs/pull/117785
simba1 has quit [Ping timeout: 246 seconds]
simba1 has joined #nixos
vidbina has joined #nixos
ahmed_elgabri has quit [Ping timeout: 250 seconds]
<maralorn> hexa-: Does platform = "i686-linux" sound korrekt?
<maralorn> * hexa-: Does `platform = "i686-linux"` sound correct?
<yaymukund> is $HOME/.nix-profile a thing on nixos? I see it referenced in other peopple's configs but I do not have the directory.
<hexa-> maralorn: pretty sure you want "x86_64-linux"
<hexa-> also: isn't it system?
<maralorn> Yeah, thought so. Now the question is. How did that happen?
<hexa-> yaymukund: probably a home-manager thing
<hexa-> maralorn: you derped while c/p-ing stuff from the internet
<maralorn> hexa-: That would be annoying.
avaq has quit [Ping timeout: 240 seconds]
mkaito has quit [Quit: WeeChat 3.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117789 → istioctl: 1.9.1 -> 1.9.2 → https://github.com/NixOS/nixpkgs/pull/117789
<{^_^}> [nixpkgs] @fabaff opened pull request #117790 → grype: set version → https://github.com/NixOS/nixpkgs/pull/117790
<yaymukund> hexa-: ok, that makes sense
<yaymukund> is there a simple way to pass environment variables when using wrapFirefox (a la https://github.com/NixOS/nixpkgs/blob/master/doc/builders/packages/firefox.section.md#build-wrapped-firefox-with-extensions-and-policies )
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117791 → jbang: 0.69.1 -> 0.69.2 → https://github.com/NixOS/nixpkgs/pull/117791
vidbina has quit [Ping timeout: 240 seconds]
<yaymukund> I'd like to prepend to XDG_DATA_DIRS but I think the underlying firefox package would tkae priority, because they prepend
<hexa-> pretty sure it would reuse the var from your env
Mateon1 has quit [Quit: Mateon1]
Mateon1 has joined #nixos
<hexa-> so if you'd used something home.sessionVariables (home-manager), that could work
<yaymukund> hmm, ok,i do not think that would work becasue I think the underlying bin/.firefox-old prepends a path that takes priority, but let me do some debugging to figure out exactly what's happening
ahmed_elgabri has joined #nixos
<hexa-> yaymukund: the wrapper only accumulates xdg_data_dirs afaict
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
ahmed_elgabri has quit [Ping timeout: 246 seconds]
<yaymukund> ah ok, that makes sense. I realized i did not actually fix the thing I thought i was fixing, so this is all moot -_-;
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117793 → just: 0.8.4 -> 0.8.5 → https://github.com/NixOS/nixpkgs/pull/117793
<maralorn> hexa-: Huh, that weird i686 git is a dependency of wine-wow-staging
<hexa-> uh ok
<hexa-> probably because `wine32 = pkgsi686Linux.callPackage …`
<maralorn> Sounds right.
<hexa-> so add the remote builder twice ig
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117794 → k9s: 0.24.3 -> 0.24.5 → https://github.com/NixOS/nixpkgs/pull/117794
<maralorn> Random idea: Is there a way in the shell (e.g. zsh) to attach subsequent commands to a running command?
<{^_^}> [nixpkgs] @mweinelt merged pull request #117786 → [20.09] webkitgtk: 2.30.3 -> 2.30.6 → https://github.com/NixOS/nixpkgs/pull/117786
Qwerky has joined #nixos
hc has quit [Quit: leaving]
<{^_^}> [nixpkgs] @bfortz opened pull request #117795 → bitwig-studio: 3.3.3 -> 3.3.6 → https://github.com/NixOS/nixpkgs/pull/117795
<{^_^}> [nixpkgs] @bfortz closed pull request #117547 → bitwig-studio: 3.3.3 -> 3.3.5 → https://github.com/NixOS/nixpkgs/pull/117547
lsix has joined #nixos
Magic_RB has quit [Quit: Connection closed]
ahmed_elgabri has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117796 → kustomize-sops: 2.5.0 -> 2.5.1 → https://github.com/NixOS/nixpkgs/pull/117796
fuzzypixelz has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @fabaff merged pull request #117776 → pythonPackages.pynmea2: 1.16.0 -> 1.17.0 → https://github.com/NixOS/nixpkgs/pull/117776
<shla> Will 21.05 stable channel get gnome 40?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117797 → lazydocker: 0.10 -> 0.12 → https://github.com/NixOS/nixpkgs/pull/117797
ahmed_elgabri has quit [Ping timeout: 246 seconds]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @LeSuisse opened pull request #117798 → rpm: 4.16.1.2 -> 4.16.1.3 → https://github.com/NixOS/nixpkgs/pull/117798
novotny is now known as marnov
marnov has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
marnov has joined #nixos
<maralorn> shla: That’s definitively the plan.
<maralorn> The whole point of moving the release date from 21.03 to 21.05 was to have enough time to get DE releases in.
<shla> Ah cool ;) that's what I thought too! Great
lsix has quit [Ping timeout: 240 seconds]
n-osborne has joined #nixos
marnov has quit [Client Quit]
marnov has joined #nixos
lsix has joined #nixos
mallox has quit [Quit: WeeChat 3.1]
ahmed_elgabri has joined #nixos
<maralorn> shla: You might be interested in watching: https://github.com/NixOS/nixpkgs/pull/117081
<{^_^}> #117081 (by jtojnar, 6 days ago, open): GNOME: 3.38 → 40
<{^_^}> [nixpkgs] @LeSuisse opened pull request #117799 → aliza: 1.98.43 -> 1.98.57 → https://github.com/NixOS/nixpkgs/pull/117799
ahmed_elgabri has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #117787 → python3Packages.tldextract: enable tests → https://github.com/NixOS/nixpkgs/pull/117787
vidbina has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<maralorn> hexa-: Is it normal that wine-wow-x.y-staging is not build by hydra?
<hexa-> maralorn: wineWowPackages.staging
<maralorn> Yeah, that’s what I meant.
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #114688 → nixos/tcsd: several improvements and fixes → https://github.com/NixOS/nixpkgs/pull/114688
<maralorn> hexa-: Ah, then it was this: https://hydra.nixos.org/build/140085876
<hexa-> yup
<shla> What is wow in wine context?
<maralorn> Totally non-concerning error message …
<simpson> shla: "Windows on Windows", IIRC; it's part of how 32-bit Windows was implemented on 16-bit Windows. (You can probably guess what "wow64" is, now...)
<koluacik> Hello, I think posix_man_pages package might not be working correctly. When I invoked a nix shell with -p posix_man_pages, I couldn't find posix man pages such as sys_wait.h. Also, the archive fetched is outdated...
<shla> 32bits apps on 64 arch?
<koluacik> I tried writing a new derivation by using the manpages derivation expression from nixpkgs and it works. Should I open a issue/pr about this?
jophish has joined #nixos
evalexpr has quit [Quit: ZNC 1.8.2 - https://znc.in]
gxt has joined #nixos
<Raito_Bezarius> can someone with committer access check https://github.com/NixOS/nixpkgs/pull/97361 ?
<{^_^}> #97361 (by DeeUnderscore, 28 weeks ago, open): nixos/netdata: add config option for disabling analytics
apeyroux has joined #nixos
apeyroux has quit [Client Quit]
ddellacosta has joined #nixos
<arianvp> hmm
<hexa-> should probably default to not track :<
<{^_^}> [nixpkgs] @rhoriguchi opened pull request #117800 → vscode-extensions.hashicorp.terraform: 2.8.3 -> 2.9.1 → https://github.com/NixOS/nixpkgs/pull/117800
Magic_RB has joined #nixos
cole-h has joined #nixos
ddellacosta has quit [Remote host closed the connection]
tomberek has quit [Quit: Ping timeout (120 seconds)]
<Raito_Bezarius> hexa-: I would think so too :>
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117801 → lightburn: 0.9.21 -> 0.9.22 → https://github.com/NixOS/nixpkgs/pull/117801
ddellacosta has joined #nixos
stree has quit [Ping timeout: 240 seconds]
ddellaco_ has joined #nixos
<hexa-> Raito_Bezarius: also should probably use upstreams nomenclature, enableTracking
plakband has joined #nixos
ddellaco_ has quit [Ping timeout: 246 seconds]
<D_> upstream calls it "anonymous statistics"
<D_> they also support DO_NOT_TRACK because there was an effort to standardize that as an environment variable for opting out of tracking https://consoledonottrack.com/
M7yd3r[m] has quit [Quit: Idle for 30+ days]
ollijh[m] has quit [Quit: Idle for 30+ days]
Ollie[m] has quit [Quit: Idle for 30+ days]
andi[m] has quit [Quit: Idle for 30+ days]
jsilence[m] has quit [Quit: Idle for 30+ days]
tomberek has joined #nixos
_bin_ has quit [Quit: ZNC - https://znc.in]
_bin has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117802 → logseq: 0.0.13 -> 0.0.15 → https://github.com/NixOS/nixpkgs/pull/117802
stree has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #114173 → php: fixed building with cliSupport = false → https://github.com/NixOS/nixpkgs/pull/114173
codebam is now known as codebam_
ddellacosta has quit [Remote host closed the connection]
orivej has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #117803 → zile: 2.6.0.90 -> 2.6.1 → https://github.com/NixOS/nixpkgs/pull/117803
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117804 → miller: 5.10.1 -> 5.10.2 → https://github.com/NixOS/nixpkgs/pull/117804
<{^_^}> [nixpkgs] @LeSuisse opened pull request #117805 → rekor-cli, rekor-server: init at 0.1.1 → https://github.com/NixOS/nixpkgs/pull/117805
hiro98 has quit [Ping timeout: 265 seconds]
zebrag has quit [Quit: Konversation terminated!]
<drozdziak1> suddenly nix search is only showing me packages I have installed, why could that be? I've just updated my 20.09 installation
<drozdziak1> this persists after reboot
zebrag has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann merged pull request #116756 → ocamlPackages_4_{11,12}: merlin: 3.4.2 -> 4.1; dot-merlin-reader: 3.4.2 -> 4.1 → https://github.com/NixOS/nixpkgs/pull/116756
<{^_^}> [nixpkgs] @fabaff merged pull request #117431 → emplace: 1.4.0 -> 1.4.1 → https://github.com/NixOS/nixpkgs/pull/117431
Magic_RB has quit [Quit: Connection closed]
sam has joined #nixos
sam is now known as Guest84841
erictapen has joined #nixos
<Guest84841> hello, I am currently on nixos-20.09. Unfortunatelly all distros are swapping to zstd kernel compression. However, this is not yet compatible with our XEN servers and they simply don't support it. Is there a NixOS way to *not* use zstd?
<figgyc> Guest84841: I think boot.initrd.compressor = "gzip"; should work - see https://search.nixos.org/options?channel=unstable&show=boot.initrd.compressor&query=compressor
<{^_^}> [nixpkgs] @fabaff merged pull request #116663 → wasabiwallet: 1.1.12.4 -> 1.1.12.5 → https://github.com/NixOS/nixpkgs/pull/116663
<Synthetica> figgyc: I continue to be amazed at the depth of nixos options
<figgyc> Me too :D didn't know that existed, so I found the PR which added zstd and worked backwards
<Guest84841> thank you SO MUCH. I will try that
<{^_^}> [nixpkgs] @mweinelt merged pull request #117303 → [20.09] bird2: 2.0.7 -> 2.0.8 → https://github.com/NixOS/nixpkgs/pull/117303
<{^_^}> [nixpkgs] @dotlambda merged pull request #117469 → bashate: init at 2.0.0 → https://github.com/NixOS/nixpkgs/pull/117469
ahmed_elgabri has joined #nixos
respawn_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117806 → minio: 2021-03-17T02-33-02Z -> 2021-03-26T00-00-41Z → https://github.com/NixOS/nixpkgs/pull/117806
cole-h has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
DanC has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117807 → miniserve: 0.12.0 -> 0.12.1 → https://github.com/NixOS/nixpkgs/pull/117807
dckc has joined #nixos
sangoma has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
cr0ssw1nd has joined #nixos
Guest84841 has quit [Quit: Guest84841]
<{^_^}> [nixpkgs] @lheckemann opened pull request #117808 → graylog: 3.3.9 -> 4.0.5 → https://github.com/NixOS/nixpkgs/pull/117808
BenjiProd has joined #nixos
Vadrigar_ has joined #nixos
Dr8128 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @lheckemann closed pull request #117808 → graylog: 3.3.9 -> 4.0.5 → https://github.com/NixOS/nixpkgs/pull/117808
rajivr has quit [Quit: Connection closed for inactivity]
Baughn has quit [Read error: Connection reset by peer]
<asymmetric> has `nix flake update --update-input foo` disappeared? i get `error: unrecognised flag '--update-input'`
<asymmetric> i'm on nix (Nix) 2.4pre20210308_1c0e3e4
<{^_^}> [nixpkgs] @lheckemann opened pull request #117809 → graylog: improve JRE handling → https://github.com/NixOS/nixpkgs/pull/117809
Vadrigar_ has quit [Ping timeout: 246 seconds]
alexherbo2 has joined #nixos
<asymmetric> huh, it's now under `nix flake lock`
<{^_^}> [nixpkgs] @risicle opened pull request #117810 → [20.09] python3Packages.pygments: add patch for CVE-2021-27291 → https://github.com/NixOS/nixpkgs/pull/117810
<gh0st[m]2> I didn't know you could update individual inputs
<gh0st[m]2> I had never tried to
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #117811 → monado: 0.4.1 -> 21.0.0 → https://github.com/NixOS/nixpkgs/pull/117811
<{^_^}> [nixpkgs] @LeSuisse opened pull request #117812 → cosign: init at 0.1.0 → https://github.com/NixOS/nixpkgs/pull/117812
ddellacosta has joined #nixos
Baughn has joined #nixos
n-osborne has quit [Remote host closed the connection]
n-osborne has joined #nixos
n-osborne has quit [Remote host closed the connection]
n-osborne has joined #nixos
gentauro has quit [Quit: leaving]
zebrag has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @pinpox opened pull request #117813 → Nvim whichkey setup.lua → https://github.com/NixOS/nixpkgs/pull/117813
zebrag has joined #nixos
<{^_^}> [nixpkgs] @thyol opened pull request #117814 → protonmail-bridge: 1.5.0 -> 1.6.6 → https://github.com/NixOS/nixpkgs/pull/117814
gxt has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 265 seconds]
gentauro has joined #nixos
gxt has joined #nixos
aexoxea has joined #nixos
lsix has quit [Quit: WeeChat 3.1]
aexoxea has quit [Client Quit]
Vadrigar_ has joined #nixos
philr has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @fabaff merged pull request #117797 → lazydocker: 0.10 -> 0.12 → https://github.com/NixOS/nixpkgs/pull/117797
ravndal has quit [Quit: WeeChat 3.1]
Vadrigar_ has quit [Ping timeout: 240 seconds]
ravndal has joined #nixos
n-osborne has quit [Remote host closed the connection]
oxalica1 has joined #nixos
paddymahoney has quit [Remote host closed the connection]
oxalica has quit [Ping timeout: 245 seconds]
oxalica1 is now known as oxalica
n-osborne has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #117815 → spamassassin: 3.4.4 -> 3.4.5 → https://github.com/NixOS/nixpkgs/pull/117815
<{^_^}> [nixpkgs] @Mic92 opened pull request #117816 → deltachat-electron: 1.15.3 -> 1.15.5 → https://github.com/NixOS/nixpkgs/pull/117816
tobiasBora has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117817 → obsidian: 0.11.5 -> 0.11.9 → https://github.com/NixOS/nixpkgs/pull/117817
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #115288 → Make versionned llvm packages discoverable → https://github.com/NixOS/nixpkgs/pull/115288
paddymahoney has joined #nixos
plakband has quit [Quit: WeeChat 2.9]
orivej has quit [Ping timeout: 246 seconds]
sangoma has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #117818 → multimarkdown: 4.7.1 -> 6.6.0 → https://github.com/NixOS/nixpkgs/pull/117818
<{^_^}> [nixpkgs] @fgaz opened pull request #117819 → 20kly: 1.4 -> 1.5.0 → https://github.com/NixOS/nixpkgs/pull/117819
meh` has quit [Ping timeout: 246 seconds]
vidbina has quit [Ping timeout: 265 seconds]
ahmed_elgabri has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
n-osborne has quit [Remote host closed the connection]
vidbina has joined #nixos
<tobiasBora> Hello, I'm trying to fix a package, and what I need to change is only in the postfixup phase. Can I avoid full recompilation everytime I change the postfixup phase?
<kalbasit[m]> tobiasBora: I don't believe so
ddellacosta has quit [Ping timeout: 260 seconds]
<tpw_rules> no, you can't
e has quit [Quit: edk]
hiro98 has joined #nixos
<gh0st[m]2> Probably not, unless you're able to break the package into a separate pre-postfixup phase, which would be kinda ridiculous
<tpw_rules> but you can use a nix-shell to run the package compilation process manually so you can repeat the postfixup phase until you get it right. then test it in the full thing
suketu[m] has left #nixos ["User left"]
<tpw_rules> there's also breakpointhook
ddellacosta has joined #nixos
<tobiasBora> tpw_rules: hum... I never felt confortable enough with nix-shell to manually run the compilation... How is this supposed to be done? Also, if I run the postfixup phase in nix-shell several times, it will wrap many times my executables no?
<kalbasit[m]> TIL breakpointHook :tada:
<tobiasBora> if it helps, the package I'm trying to fix is this one https://github.com/NixOS/nixpkgs/blob/d600f006643e074c2ef1d72e462e218b647a096c/pkgs/applications/audio/carla/default.nix (I want to remove a double wrap that kills functionalities)
<tobiasBora> kalbasit[m]: but I don't really have failures in my case, should I volontarily create failures?
<tpw_rules> its a bit weird and not really documented. but basically what i would do is start the shell, run all the phases in the "phases" environment variable up until postfixup, (see section 6.5.1 in the manual), back up the $out directory somewhere, test my post fixup, restore the $out directory if it fails, and repeat
<kalbasit[m]> yea, you can do that with `exit 1` in your postfixup phase
<tpw_rules> yeah i think breakpointhook is an easier way of doing step 1 of what i just described. never tried it though
sangoma has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
<tobiasBora> kalbasit[m]: I'll try that, thanks!
stree has quit [Ping timeout: 268 seconds]
<tobiasBora> tpw_rules: ok, guess I've no way to avoid manual $out backup ^^ So to make sure I understand things, if I do in nixpkgs: "nix-shell -A carla", and then "echo $phases" ==> if this is empty is means that the default sequence https://nixos.org/manual/nixpkgs/stable/#sec-stdenv-phases ?
<tpw_rules> as i understand it, breakpointhook will get you through all the phases up until your exit 1. then you would use the cntr thing to enter the build shell, back up $out, run your postfixup, and repeat until you get it working
<tpw_rules> then update the derivation and build it to make sure it works
codygman__ has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #117803 → zile: 2.6.0.90 -> 2.6.1 → https://github.com/NixOS/nixpkgs/pull/117803
<ivan> will 21.05 have linuxPackages = linuxPackages_5_10;?
<ivan> I see master is on 5_4
<tobiasBora> tpw_rules: yeah, I'll try breakpointhook right after, but I first want to ensure I understand the "manual" method
<tpw_rules> ok, yeah that's how i would do it
<tpw_rules> you'll have to run each thing listed in $phases by just typing it like a command
<tobiasBora> tpw_rules: but I've the feeling I should also cd sometimes. Like after unpackPhase I must "cd source" right?
<tpw_rules> i think the phase functions handle that?
<{^_^}> [nixpkgs] @prusnak pushed to hwi « hwi: 2.0.0 -> 2.0.1 »: https://git.io/JYGLF
<tobiasBora> tpw_rules: well, did I missed something? http://paste.debian.net/1191237
<tpw_rules> maybe you have to? like i said it's not really documented
zebrag has quit [Quit: Konversation terminated!]
<tpw_rules> you should do this all from an empty folder btw
zebrag has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #117820 → hwi: 2.0.0 -> 2.0.1 → https://github.com/NixOS/nixpkgs/pull/117820
NinjaTrappeur has quit [Quit: WeeChat 3.1]
NinjaTrappeur has joined #nixos
ahmed_elgabri has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117821 → photoflare: 1.6.7 -> 1.6.7.1 → https://github.com/NixOS/nixpkgs/pull/117821
stree has joined #nixos
e has joined #nixos
jess has quit []
ahmed_elgabri has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @LeSuisse opened pull request #117822 → [20.09] libmspack: 0.7.1alpha -> 0.10.1alpha → https://github.com/NixOS/nixpkgs/pull/117822
alexherbo2 has quit [Read error: Connection reset by peer]
jb55 has joined #nixos
codygman__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @eduardosm opened pull request #117823 → vistafonts-chs: fix build → https://github.com/NixOS/nixpkgs/pull/117823
<tobiasBora> tpw_rules: from an empty folder? What happens if I don't? So I need to do "nix-shell -f ~/nixpkgs/default.nix -A carla" from an empty folder?
codygman__ has joined #nixos
<tpw_rules> tobiasBora: you'll get junk all over it
ece has quit [Read error: Connection reset by peer]
<tobiasBora> Also, I tried to manually run all the phases on a toy derivation, but when I run "installPhase" I run into troubles because "mkdir: cannot create directory /nix/store/...-helloworld-1.0: readonly file system"
ece has joined #nixos
<tpw_rules> not sure
<{^_^}> [nixpkgs] @Mic92 merged pull request #117816 → deltachat-electron: 1.15.3 -> 1.15.5 → https://github.com/NixOS/nixpkgs/pull/117816
ddellacosta has joined #nixos
<tobiasBora> also, it's strange, but installPhase is supposed to be my simple "cp myfile $out/myfile", but it's in fact the default value http://pastebin.fr/89176
alexherbo2 has joined #nixos
<tobiasBora> oups, wait for the last thing I may did something stupid
<tobiasBora> nope, in fact this was not stupid, declare -f does not give me the right input
<tobiasBora> output*
ahmed_elgabri has joined #nixos
ddellaco_ has joined #nixos
spacekookie has quit [Quit: **aggressive swooshing**]
spacekookie has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @russell opened pull request #117824 → vendir: init at 0.17.0 → https://github.com/NixOS/nixpkgs/pull/117824
uhohqueenofTechl has joined #nixos
ahmed_elgabri has quit [Ping timeout: 246 seconds]
<uhohqueenofTechl> Can I control the compilation of packages with NixOS in a reproducible way (like Gentoo)?
spacekookie has quit [Quit: **aggressive swooshing**]
spacekookie has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #117826 → python2Packages.pygments: add patch for CVE-2021-27291 → https://github.com/NixOS/nixpkgs/pull/117826
<shapr> uhohqueenofTechl: I think you'd need a different derivation if you wanted to tune for something like Xeon
<uhohqueenofTechl> <shapr "uhoh, queen of Techlore - #👥•ch"> What's Xeon?
<{^_^}> [nixpkgs] @supermarin opened pull request #117827 → Delete inter-ui → https://github.com/NixOS/nixpkgs/pull/117827
growpotkin has joined #nixos
<shapr> uhohqueenofTechl: I have a server class CPU in my laptop, I'd like to tune my nixos packages to use the extra features I have
<uhohqueenofTechl> I'd like to tune my NixOS packages to my older CPU
<uhohqueenofTechl> So we're in the same boat sorta
<{^_^}> [nixpkgs] @Mic92 closed pull request #117827 → Delete inter-ui → https://github.com/NixOS/nixpkgs/pull/117827
<{^_^}> [nixpkgs] @rhoriguchi opened pull request #117828 → gitkraken: 7.5.2 -> 7.5.3 → https://github.com/NixOS/nixpkgs/pull/117828
<gh0st[m]2> Iirc, NixOS can check and define what features are available in the system, but I don't know how you'd tune for it
codygman__ has quit [Remote host closed the connection]
codygman__ has joined #nixos
jonringer has joined #nixos
<gh0st[m]2> Yeah, there's "system-features" for Nix at least
<{^_^}> [nixpkgs] @supermarin opened pull request #117829 → [duplicate] remove inter-ui → https://github.com/NixOS/nixpkgs/pull/117829
<uhohqueenofTechl> How do I disable display managers on nixos?
<uhohqueenofTechl> <uhohqueenofTechl "How do I disable display manager"> I want to manually start DWM
jmeredith has joined #nixos
codygman__ has quit [Remote host closed the connection]
<figgyc> Is there a way that when nix is building several long packages and one fails, instead of stopping as soon as an error comes up, it waits for the other packages to finish?
codygman__ has joined #nixos
<nomadtester> Hi guys
<nomadtester> Is there a general universal way of ssh authentication that will NEVER change like the dumb host keys? So I could use a key to login to a server, then reboot either, do whatever, change hosts, and still be able to log in remote? At this point i just ln -s /home/user/ssh/host_keys /dev/null - So, very useful
Baughn has quit [Ping timeout: 260 seconds]
<uhohqueenofTechl> How do I verify my nixOS iso?
<uhohqueenofTechl> * How do I verify my NixOS iso?
hiro98 has quit [Remote host closed the connection]
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @rhoriguchi opened pull request #117830 → gnomeExtensions.appindicator: 35 -> 36 → https://github.com/NixOS/nixpkgs/pull/117830
Vadrigar_ has joined #nixos
<supersandro2000> nomadtester: host_keys are there for a reason
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<nomadtester> supersandro2000: when keys change then access will be denied
<supersandro2000> no, you will be prompted for action because if you did not change it you are into trouble
<nomadtester> Last time i tried, after reboot, i had to delete the keys
<nomadtester> host keys are tied to a host, right?
fuiltilt has joined #nixos
alexherbo2 has quit [Ping timeout: 246 seconds]
<supersandro2000> normally it should prompt you if the new keys should be accepted
<supersandro2000> host keys are randomly generated on a host but if you delete them or reinstall the system you get different ones
<supersandro2000> also you can copy them around. So they are a kinda but not really tied to a system
<{^_^}> [nixpkgs] @onsails opened pull request #117831 → tabnine: 3.2.64 -> 3.3.101 → https://github.com/NixOS/nixpkgs/pull/117831
<nomadtester> supersandro2000: but they are tied to a host, right?
<nomadtester> so host changes, key will get rejected
lkd has left #nixos [#nixos]
codygman__ has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #nixos
Dr8128 has joined #nixos
Baughn has joined #nixos
respawn_ has quit [Quit: Leaving]
Lord_of_Life_ has joined #nixos
Lord_of_Life has quit [Ping timeout: 265 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<supersandro2000> nomadtester: not really tbh. you can copy them around and they still work IIRC
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117828 → gitkraken: 7.5.2 -> 7.5.3 → https://github.com/NixOS/nixpkgs/pull/117828
<nwspk> uhohqueenofTechl: what do you want to verify? if it is downloaded correctly? if the ISO was tempered with?
<uhohqueenofTechl> <nwspk "uhoh, queen of Techlore - #👥•ch"> I have already verified it's sha256sum, but thank you :)
<nwspk> most propplery, you have downloaded the ISO using a TLS connection. thus, I would assume it is correct
<nwspk> the TCP-part should assure the correct file. TLS does the rest
<nwspk> okay, then nevermind
tobi_ has joined #nixos
<uhohqueenofTechl> How do I make a package as Nix-friendly as possible? Is it possible to write software entirely in Nix?
ahmed_elgabri has joined #nixos
<nwspk> well.. you could, but mostly Nix is a DSL specially crafted for packaging
<nwspk> however, there is, for example, a static webpage generator written in Nix
<nwspk> if your tools uses standard build systems, it should be straight forward to create a Nix package
<sterni> uhohqueenofTechl: what do you mean by nix friendly? the answer depends on for example if you want to have it for nixpkgs or not
<sterni> uhohqueenofTechl: you shouldn't do general do general purpose programming in nix, it is close to impossible and very painful in any case
<sterni> uhohqueenofTechl: nix excels however at writing build systems although it then becomes harder to package that for other packaging systems and even nixpkgs because we don't have recursive nix (yet)
<sterni> uhohqueenofTechl: also something which is very cool and also pretty fun is generating code and then building it all from within nix using pkgs.writers.* for example
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117830 → gnomeExtensions.appindicator: 35 -> 36 → https://github.com/NixOS/nixpkgs/pull/117830
<sterni> nix string interpolation which keeps track of dependencies is very useful when tying together different programs in smaller programs
<uhohqueenofTechl> <sterni "uhoh, queen of Techlore - #👥•ch"> I want it in nixpkgs, and I want it to be as customizable as possible
<{^_^}> [nixpkgs] @zowoq merged pull request #117807 → miniserve: 0.12.0 -> 0.12.1 → https://github.com/NixOS/nixpkgs/pull/117807
<sterni> uhohqueenofTechl: nixpkgs aims to support conventional build systems as well as possible, so use whatever build system is idiomatic to use for your package and avoid hard coding paths or depending on the enviroment as much as possible (i. e. respect configure flags which tell you the prefix, use pkg-config or similar to find your dependencies' location, maybe even take the path to other binaries you
<sterni> call as a configure flag)
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<sterni> uhohqueenofTechl: generally you can add flags to the input of a package in nixpkgs which then influence the configure flags and are overrideable, but depending on your software a nixos module may be a better fit to customize behavior (at runtime then via configuration files usually)
Qwerky has quit [Remote host closed the connection]
Magic_RB78 has quit [Quit: Connection closed]
growpotkin has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<Raito_Bezarius> sterni: there was an interesting discussion in how package with config should still be "package" and has some package.withCfg (xxx) rather than a module
n-osborne has joined #nixos
luxemboye has quit [Remote host closed the connection]
n-osborn_ has joined #nixos
<Raito_Bezarius> uhohqueenofTechl: @ display manager, https://nixos.org/nixos/options.html# + searching for displayManager should help you ; in particular, you might want displayManager.startx.enable = true;
luxemboye has joined #nixos
<matthewcroughan> grahamc[m]: Did you ever find out a way to have Hydra build usable outputs with a different NIX_STORE?
<matthewcroughan> I last suggested a container might be a good method, but does this still talk to the daemon on the host?
meh` has joined #nixos
n-osborne has quit [Ping timeout: 240 seconds]
Qwerky has joined #nixos
<matthewcroughan> Minijackson: Heyo! I saw you made some more progress on the Yocto building shell, you around?
<Minijackson> I am ^^
<matthewcroughan> When I try to run my shell, I end up with /usr/bin/env: ‘python3’: No such file or directory
<matthewcroughan> upon running bitbake, after sourcing setup-environment :D
<Minijackson> can you share your env?
<matthewcroughan> it's just your nix-shell
ManiacOfMadness has joined #nixos
<matthewcroughan> by env, do you mean the Yocto repos?
<Minijackson> ah! The nix code that I shared on Discourse isn't meant for nix-shell
<matthewcroughan> Oh, how am I intended to run it?
<Minijackson> it's meant for nix-build, then `./result/bin/yocto-on-nixos`
<alienpirate5> I upgraded the channel on my server from NixOS 20.09 to unstable, and now `nixos-rebuild` segfaults
<alienpirate5> I think this is a problem
<matthewcroughan> Minijackson: I don't see gitRepo in the env
<matthewcroughan> is that intentional?
<Minijackson> I haven't had a need for it for building the base image
<Minijackson> alienpirate5: is it similar to this issue: https://github.com/NixOS/nixpkgs/issues/102624 ?
<{^_^}> #102624 (by minijackson, 20 weeks ago, open): Cannot nixos-rebuild switch due to cpio segfault
<matthewcroughan> Also, there's impurity in the sense that you `import <nixpkgs-unstable>`, this is what flakes fix more-or-less.
<alienpirate5> <Minijackson "alienpirate5: is it similar to t"> no.
<matthewcroughan> So my work on top of yours will be turning this into a flake, if any :D
<matthewcroughan> So glad you dug into the lower level, this was such a hairy problem.
<matthewcroughan> Massive kudos.
Qwerky has quit [Ping timeout: 246 seconds]
<Minijackson> matthewcroughan: I'd be happy to see the result of this ^^
<Minijackson> thank you! I lost a few strands of hair because of that x)
<matthewcroughan> Nix is destined to replace Yocto in my view.
<matthewcroughan> This helps it along ;D
<Minijackson> Now I should investigate using an unwrapped gcc, like mic92 said, it should work better with the ld.so.conf
<Minijackson> <matthewcroughan "Nix is destined to replace Yocto"> definitely
<matthewcroughan> Just think, you could build these in Hydra now that you've done this work.
<sterni> Raito_Bezarius: well it depends really how common the customized thing use case is
<Minijackson> there's still the weird CMake hack that isn't automated
<alienpirate5> Minijackson: here's a log of `-vvv` http://ix.io/2Uio
<{^_^}> [nixpkgs] @Ekleog merged pull request #117752 → lib: fix commitIdFromGitRepo → https://github.com/NixOS/nixpkgs/pull/117752
<sterni> Raito_Bezarius: overriden package usually means compiling the change derivation yourself
<matthewcroughan> And oh my God, what is that bashrc?
<matthewcroughan> It's beautiful
<Minijackson> that's starship.rs!
<gh0st[m]2> Starship is amazing
<Raito_Bezarius> sterni: true true, that was only a remark
<gh0st[m]2> I've used it for like a year or two now
<alienpirate5> I don't know where it's actually segfaulting but it looks like it's when it invokes bash
ahmed_elgabri has quit [Quit: WeeChat 3.1]
<Minijackson> alienpirate5: does `sudo coredumpctl gdb` work?
<alienpirate5> <Minijackson "alienpirate5: does `sudo coredum"> I'll try, one sec
<alienpirate5> it's hanging
<matthewcroughan> Minijackson: Never heard of the FHS Bubblewrap thing you used, what is it? In your word :)
<alienpirate5> `failed to invoke gdb: No such file or directory`
<alienpirate5> going to install it globally with nix-env
ahmedelgabri has joined #nixos
<alienpirate5> ok, it loaded in
<Minijackson> matthewcroughan: it's basically a chroot on steroids
<alienpirate5> seems like the segfault was in `bash`
<matthewcroughan> Minijackson: How is it different from the normal fhsuserenv though?
<alienpirate5> uhhhhhh ldd shows this :
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117832 → shadowsocks-rust: 1.9.2 -> 1.10.1 → https://github.com/NixOS/nixpkgs/pull/117832
<matthewcroughan> Minijackson: Hehe, so my company's env needs ar chrpath nm objcopy objdump ranlib readelf rpcgen strings strip on the host-tools.
<alienpirate5> Minijackson: https://paste.rs/S0Z
<alienpirate5> it is for some reason linking to the wrong glibc
<alienpirate5> i think that's why it's segfaulting
<alienpirate5> given that the backtrace shows the segfault happens inside `ld-linux-x86-64.so.2`
<Minijackson> matthewcroughan: here you can see that bubblewrap creates an ld.so.conf on top of the nix store, which allows some program with nixos' intepreter to run: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/build-fhs-userenv-bubblewrap/default.nix#L148-L155
<Minijackson> alienpirate5: it's definitely weird that you have two different glibc in the runpath
kreha1[m] is now known as tomek[m]
<Minijackson> you may be able to get around it by setting LD_LIBRARY_PATH? Although I'm not 100% sure
<alienpirate5> last time I tried this (on a different server) it segfaulted on boot
zebrag has quit [Quit: Konversation terminated!]
<alienpirate5> <Minijackson "you may be able to get around it"> doesn't that require ld itself to initialize first?
zebrag has joined #nixos
<alienpirate5> then I get this; `/nix/store/9ywr69qi622lrmx5nn88gk8jpmihy0dz-bash-4.4-p23/bin/bash: symbol lookup error: /nix/store/90illc73xfs933d06daq6d41njs8yh66-glibc-2.32-37/lib/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE`
<Minijackson> I'm not sure what you mean by ld initializing first
<matthewcroughan> Minijackson: Huh, yocto complains about missing rpcgen
<matthewcroughan> That's provided by glibc right?
<alienpirate5> I don't know what I'm talking about basically
attila_lendvai has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
tobi_ has quit [Quit: leaving]
<matthewcroughan> Minijackson: also, do you know about nix-index?
<matthewcroughan> Basically, `nix-shell -p nix-index` then run `nix-index` then run `nix-locate rpcgen`
<matthewcroughan> or `nix-locate libsqlite6.so`
<matthewcroughan> shows you what nix packages contain various artifacts, pretty serious stuff
<Minijackson> alienpirate5: welp, that bash seems not recoverable...
<alienpirate5> how does that even happen?
<Minijackson> matthewcroughan: I usually have `command-not-found` finding things for me ^^
<matthewcroughan> yeah but rpcgen won't happen :D
<Minijackson> alienpirate5: Do you have some essential packages in your overlays?
<matthewcroughan> omg it does
<alienpirate5> I don't have any overlays on this system
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117833 → shipyard: 0.3.1 -> 0.3.2 → https://github.com/NixOS/nixpkgs/pull/117833
<alienpirate5> here's the config
Vadrigar_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fabaff opened pull request #117834 → python3Packages.dulwich: 0.20.20 -> 0.20.21 → https://github.com/NixOS/nixpkgs/pull/117834
<matthewcroughan> Minijackson: Next step, I still end up with Your system needs to support the en_US.UTF-8 locale.
<matthewcroughan> "OE-core's config sanity checker detected a potential misconfiguration"
<matthewcroughan> Yeah our project uses openembedded extensively, though some of the other shells in that thread got around this.
<Minijackson> alienpirate5: I don't see anything weird about the configuration, I think you should definitely create an issue
<alienpirate5> I will create an issue. I'm just trying to get something working, the service I'm running has gone down
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stree has quit [Ping timeout: 240 seconds]
julm has quit [Quit: leaving]
<{^_^}> #117835 (by anna328p, 14 seconds ago, open): After an upgrade from nixos-20.09 to nixos-unstable, `nixos-rebuild` segfaults
<matthewcroughan> Minijackson: All it took to avoid the sanity checker was ` export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE LOCALEARCHIVE LOCALE_ARCHIVE"`
<Minijackson> matthewcroughan: apparently, rpcgen is not part of the glibc.bin derivation on nixpkgs-unstable, not sur why, yet
<Minijackson> yes
<Minijackson> but LOCALE_ARCHIVE is still not forwarded to the build environment :-/
<matthewcroughan> Yeah, complete insanity.
<Minijackson> (AFAIK)
supercoven has quit [Read error: Connection reset by peer]
<Minijackson> matthewcroughan: I found an rpcgen command in the rpcsvc-proto package, not sure if it's the same one
<matthewcroughan> yeah I added that, it's what I needed, should have mentioned :D
<matthewcroughan> Minijackson: ocamlPackages.ocamlnet.out 519,856 x /nix/store/yyiflaf0xh5mk50nacaqchx87qsjmv9j-ocaml4.10.0-ocamlnet-4.1.8/bin/ocamlrpcgen
<matthewcroughan> Found by nix-locate, just interesting to notw :P
<matthewcroughan> It also found rpcsvc-proto
<matthewcroughan> Here's the output of `nix-locate rpcgen` https://termbin.com/52et
<Minijackson> 👍️
stree has joined #nixos
<matthewcroughan> Minijackson: Hmm.. ERROR: Task (/eggshells/yocto/new-shell/lmp/build-lmp/conf/../../layers/openembedded-core/meta/recipes-devtools/cmake/cmake-native_3.18.2.bb:do_configure) failed with exit code '1'
<matthewcroughan> suspicious
<Minijackson> yes x)
<matthewcroughan> Yup, here they come.. /nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
<matthewcroughan> I think I fixed that by setting it to C.UTF-8
ManiacOfMadness has quit [Ping timeout: 240 seconds]
<Minijackson> oh? I'll remember that
<matthewcroughan> No, this seems not to fix it in this context, damn! Minijackson
<Minijackson> too bad
<{^_^}> [nixpkgs] @thyol opened pull request #117836 → tor-browser-bundle-bin: 10.0.13 -> 10.0.14 → https://github.com/NixOS/nixpkgs/pull/117836
<{^_^}> [nixpkgs] @Ma27 merged pull request #116738 → wiki-js: init at 2.5.191 → https://github.com/NixOS/nixpkgs/pull/116738
erictapen has quit [Quit: leaving]
<Minijackson> hey, I have a working Yocto qemu image \o/
<Minijackson> I can't use the provided `runqemu` program, though, it needs sudo which needs to be a setuid wrapper, and is built on another glibc...
<matthewcroughan> yeah, it's insanity isn't it? Minijackson
<matthewcroughan> clever: How do you specify runtime deps?
<matthewcroughan> In a nixpkg, I mean
<gh0st[m]2> buildInputs or maybe propagatedInputs? idr the difference
<gh0st[m]2> All I'm sure of is nativeBuildInputs is buildtime only
<matthewcroughan> It's supposed to work it out, but in my case it oesn't
<matthewcroughan> doesn't*
n-osborn_ has quit [Remote host closed the connection]
ManiacOfMadness has joined #nixos
<matthewcroughan> My problem is that I'm packaging Ly
<matthewcroughan> Ly fails to find `tput` at runtime
<matthewcroughan> this is my drv
<matthewcroughan> oh, maybe it's hardcoding it in the sources.. ouch
BenjiProd has quit [Quit: Leaving]
<matthewcroughan> Yeah it is lmfao
<Minijackson> if ncurses needs to be present at runtime, it should probably be in `propagatedBuildInputs`, I think
<Minijackson> ah wait maybe not, I'm not sure anymore x)
n-osborne has joined #nixos
<matthewcroughan> Minijackson: I can't actually find tput lol
<matthewcroughan> doesn't seem to be in ncurses
<Minijackson> it's probably in `ncurses.bin`, then
nomadtester has quit [Ping timeout: 246 seconds]
<matthewcroughan> `term_reset_cmd=${pkgs.ncurses}/bin/tput reset` is my current string replacement in the config
<matthewcroughan> for ly
<matthewcroughan> now I have to verify it's even able to read that path, because its config parser is so insane :D
chipb has joined #nixos
codygman__ has joined #nixos
<matthewcroughan> Minijackson: Actually.. it was Yocto's caching that was wrong
<matthewcroughan> C.UTF-8 did work, the build has been entirely successful, after a bitbake -c cleanall cmake-native
<matthewcroughan> does anybody know how I can produce a correct path in nix expr?
<matthewcroughan> for example `restart_cmd=${pkgs.systemd}/bin/systemctl reboot`
<matthewcroughan> what about if I wanna give a program a correct path.
<gh0st[m]2> Probably a bad idea, but you could maybe with chroot shenanigans
<matthewcroughan> it did not seem to help anyway
fendor_ has joined #nixos
codygman__ has quit [Remote host closed the connection]
codygman__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117837 → sipvicious: 0.3.2 -> 0.3.3 → https://github.com/NixOS/nixpkgs/pull/117837
fendor has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flungo opened pull request #117838 → tor-browser-bundle-bin: 10.0.13 -> 10.0.14 → https://github.com/NixOS/nixpkgs/pull/117838
<{^_^}> [nixpkgs] @sternenseemann opened pull request #117839 → llvmPackages_6.llvm-manpages: unbreak → https://github.com/NixOS/nixpkgs/pull/117839
n-osborne has quit [Remote host closed the connection]
m1cr0man has quit [Quit: G'luck]
<dgpratt> I asked this over in #home-manager, but it's a bit quiet over there atm...
<dgpratt> I just set up home-manager on non-NixOS (Ubuntu). Everything seemed to go fine, but "$HOME/.nix-profile/bin" is no longer part of the PATH. It seems that for certain things to work, it should be?
zupo has joined #nixos
<Minijackson> IIRC, "$HOME/.nix-profile/bin" is where programs installed through nix-env are installed
gustavderdrache has joined #nixos
julm has joined #nixos
<Minijackson> it seems to also be the case for programs installed through home-manager, dgpratt
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117826 → python2Packages.pygments: add patch for CVE-2021-27291 → https://github.com/NixOS/nixpkgs/pull/117826
VideoGameEnjoyer has quit [Ping timeout: 240 seconds]
<supersandro2000> nix-env is maybe installing to /nix/var/nix/profiles/per-user/$HOME/profile/
VideoGameEnjoyer has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117820 → hwi: 2.0.0 -> 2.0.1 → https://github.com/NixOS/nixpkgs/pull/117820
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117815 → spamassassin: 3.4.4 -> 3.4.5 → https://github.com/NixOS/nixpkgs/pull/117815
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117819 → 20kly: 1.4 -> 1.5.0 → https://github.com/NixOS/nixpkgs/pull/117819
Qwerky has joined #nixos
Lord_of_Life has quit [Ping timeout: 268 seconds]
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117840 → strawberry: 0.9.1 -> 0.9.2 → https://github.com/NixOS/nixpkgs/pull/117840
bew has joined #nixos
Qwerky has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #117120 → Wine update: 6.3 -> 6.4 → https://github.com/NixOS/nixpkgs/pull/117120
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117841 → swego: 0.93 -> 0.94 → https://github.com/NixOS/nixpkgs/pull/117841
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117765 → coordgenlibs: 1.4.2 -> 2.0.0 → https://github.com/NixOS/nixpkgs/pull/117765
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117766 → croc: 8.6.11 -> 8.6.12 → https://github.com/NixOS/nixpkgs/pull/117766
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #117177 → fishnet: 2.2.5 -> 2.2.6 → https://github.com/NixOS/nixpkgs/pull/117177
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117770 → fishnet: 2.2.5 -> 2.2.6 → https://github.com/NixOS/nixpkgs/pull/117770
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117774 → golangci-lint: 1.38.0 -> 1.39.0 → https://github.com/NixOS/nixpkgs/pull/117774
<{^_^}> [nixpkgs] @waxlamp opened pull request #117842 → Add a fourth hint for `nix run` → https://github.com/NixOS/nixpkgs/pull/117842
<{^_^}> [nixpkgs] @mweinelt opened pull request #117843 → [20.09] spamassassin: 3.4.4 -> 3.4.5 → https://github.com/NixOS/nixpkgs/pull/117843
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117844 → teler: 1.1.1 -> 1.2.1 → https://github.com/NixOS/nixpkgs/pull/117844
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117790 → grype: set version → https://github.com/NixOS/nixpkgs/pull/117790
zebrag has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117800 → vscode-extensions.hashicorp.terraform: 2.8.3 -> 2.9.1 → https://github.com/NixOS/nixpkgs/pull/117800
zebrag has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117845 → tfsec: 0.39.10 -> 0.39.14 → https://github.com/NixOS/nixpkgs/pull/117845
orivej has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117812 → cosign: init at 0.1.0 → https://github.com/NixOS/nixpkgs/pull/117812
<{^_^}> [nixpkgs] @mweinelt merged pull request #117788 → pythonPackages.lxml: 4.6.2 -> 4.6.3, addressing CVE-2021-28957 → https://github.com/NixOS/nixpkgs/pull/117788
<{^_^}> [nixpkgs] @ethancedwards8 opened pull request #117846 → bitflowers: init at 2.0 → https://github.com/NixOS/nixpkgs/pull/117846
codygman__ has quit [Ping timeout: 240 seconds]
<bew> Looking at a git log --graph of nixpkgs, I'm wondering why most PR are merged with a merge commit and not squashed into the target branch?
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #117847 → jmusicbot: init at 0.3.3, nixos/jmusicbot: init → https://github.com/NixOS/nixpkgs/pull/117847
<{^_^}> [nixpkgs] @jonringer opened pull request #117848 → factorio: 1.1.27 -> 1.1.30 → https://github.com/NixOS/nixpkgs/pull/117848
<bew> I'm thinking that using squash&merge button on github for example would allow to have a cleaner history, without having commits referencing old parents, without adding more commits (one for the change, one for the merge)
<{^_^}> #117846 (by ethancedwards8, 6 minutes ago, open): bitflowers: init at 2.0
<ece> So I've been working on that for the past day, this is a draft kinda.
<bew> (re on my own msg) it also would make git log actually usable, without the gazillion of useless merge commits
<{^_^}> [nixpkgs] @thomasjm closed pull request #50690 → Preserve environment variables from base image in Docker buildImage → https://github.com/NixOS/nixpkgs/pull/50690
sangoma has quit [Quit: WeeChat 3.1]
vidbina has quit [Ping timeout: 260 seconds]
<dgpratt> thanks Minijackson and supersandro2000 -- doesn't make sense to me that HM creates a profile that doesn't add that to the PATH
<dgpratt> maybe it's supposed to be set elsewhere
evils has quit [Ping timeout: 252 seconds]
<Minijackson> if you're not on nixos, I think you have some files to source in your shell
jrm2 has joined #nixos
cole-h has joined #nixos
Qwerky has joined #nixos
<uhohqueenofTechl> So I did `wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase 'SSID' 'key')`, but that did not work; I `ping google.com` and it does not work.
stree has quit [Ping timeout: 265 seconds]
jedai has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117811 → monado: 0.4.1 -> 21.0.0 → https://github.com/NixOS/nixpkgs/pull/117811
__monty__ has quit [Quit: leaving]
<supersandro2000> dgpratt: ~/.nix-profile is added to PATH in /etc/profile.d/nix.sh
fendor_ has quit [Remote host closed the connection]
<supersandro2000> you are supposed to source nix-daemon.sh first and then nix.sh
<supersandro2000> if you only source nix-daemon you have the root profile/channel IIRC
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117831 → tabnine: 3.2.64 -> 3.3.101 → https://github.com/NixOS/nixpkgs/pull/117831
<supersandro2000> bew: git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
<dgpratt> supersandro2000: maybe that is on NixOS? I don't have a "/etc/profile.d/nix.sh"
<supersandro2000> dgpratt: that is on Debian actually with the multi user nix installer
<supersandro2000> nixos is doing it slightly different IIRC
<{^_^}> [nixpkgs] @dduan opened pull request #117849 → tre-command: 0.3.5 -> 0.3.6 → https://github.com/NixOS/nixpkgs/pull/117849
<matthewcroughan> supersandro2000: I'm trying ly out, but at runtime it's unable to access tput
<matthewcroughan> any ideas why?
<matthewcroughan> with this module I've written https://termbin.com/0yl2
<dgpratt> supersandro2000: ok, weird
<supersandro2000> ece: whats not working right now?
<supersandro2000> matthewcroughan: do you have ncurses in the env of the module? Maybe you need to wrap the package or replace the path.
<bew> supersandro2000: yeah I already have sth like that for cleaner/smaller git logs, but it's still littered with a lot of Merge commits and colored graph lines, and it gets worse when scrolling
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117834 → python3Packages.dulwich: 0.20.20 -> 0.20.21 → https://github.com/NixOS/nixpkgs/pull/117834
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117836 → tor-browser-bundle-bin: 10.0.13 -> 10.0.14 → https://github.com/NixOS/nixpkgs/pull/117836
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #117838 → tor-browser-bundle-bin: 10.0.13 -> 10.0.14 → https://github.com/NixOS/nixpkgs/pull/117838
<supersandro2000> bew: mine is not showing merge commits
<supersandro2000> intersting
<supersandro2000> in the review shell it is not showing merge commits, in the normal repo it does
<kpcyrd> https://github.com/NixOS/nixpkgs/runs/2102564866 seems to be stuck since 2 weeks, blocking the package from updating :)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117839 → llvmPackages_6.llvm-manpages: unbreak → https://github.com/NixOS/nixpkgs/pull/117839
<bpye> If I'
<bpye> If I'm doing a nix build how can I get the full log? 'nix build --show-trace --builders 'ssh://nixvm-aarch64 aarch64-linux' .#images.image ' is my current command, but I'm getting some weird break that I can't figure out and all the output I get currently is 'not an absolute path: 'K''
stree has joined #nixos
<matthewcroughan> supersandro2000: I've tried propogatedBuildInputs, it's definitely there, I'm convinced that it's to do with the systemd service, so do you have any advice with that? :D
<supersandro2000> kpcyrd: can you link me the PR?
<supersandro2000> kpcyrd: it was merged 10 days ago https://github.com/NixOS/nixpkgs/pull/116198
<{^_^}> #116198 (by r-ryantm, 2 weeks ago, merged): sn0int: 0.20.0 -> 0.20.1
<supersandro2000> bpye: nix log /nix/store/....drv
<supersandro2000> or append --log-format bar-with-logs
phalrax has joined #nixos
<kpcyrd> supersandro2000: yes! is this normal or is there anything that can be done to unblock it?
<supersandro2000> it has hardcoded the path which is probably the problem
<bpye> supersandro2000: I managed to get some output from nix build but I can't even figure out where derivation has actually caused this failure... https://gist.github.com/benpye/f505da284e360f3c06ac3007e5e049ca
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117850 → vips: 8.10.5 -> 8.10.6 → https://github.com/NixOS/nixpkgs/pull/117850
<matthewcroughan> supersandro2000: hardcoded default which is overriden by the config
<matthewcroughan> `term_reset_cmd=${pkgs.ncurses}/bin/tput reset
<supersandro2000> kpcyrd: shrug. probably something broken on github. This shouldn't block the update in any way as the PR is already merged
<bpye> /nix/store/8cjmi1jzmssqsbsrfiqbqzfhip0y03mb-init.drv doesn't exist on the remote
<supersandro2000> bpye: can you ssh into the remote builder? try some -vvvv but be careful the output can contain personal information
<bpye> Yeah ssh is fine
<dgpratt> there is this line at the end of the ~/.profile script before HM replaced it: if [ -e /home/user/.nix-profile/etc/profile.d/nix.sh ]; then . /home/user/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
<phalrax> Hi, any idea how I could implement this iptables rule in my configuration.nix? It's needed to run k3s apparently, otherwise my containers keep crashing (works with firewall.service stopped): iptables -A INPUT -s 10.42.0.0/16 -d <host_internal_ip>/32 -j ACCEPT
jrm2 is now known as jrm
<dgpratt> well, HM didn't exactly replace it, it said it couldn't "switch" as long as it was present
<kpcyrd> supersandro2000: is this a normal delay for an update to unstable?
<infinisil> phalrax: networking.firewall.extraCommands
<phalrax> ah, overlooked that in the options, thanks!
<bpye> I'm fairly sure https://github.com/NixOS/nix/blob/4638bcfb2cfb74cb5029c0da0af38bb7ca4b4a6f/src/libutil/util.cc#L114 is the error being thrown by nix, but I have no idea how it's getting 'K' as a path
<supersandro2000> dgpratt: I have replaced all the modifications of the nix-installer in my bashrc so I can't tell what is supposed to be there
<dgpratt> supersandro2000: you referenced the multi user installer, does that imply there is a single user installer? perhaps that is what I set up when I installed nix and perhaps HM assumes use of the multi user one?
<matthewcroughan> supersandro2000: sigh, I think you're right, it totally is hardcoded and the config doesn't work
<matthewcroughan> but most of the other config options *do* work
<supersandro2000> dgpratt: did you pass --daemon to the installer?
<supersandro2000> hm should work with both
<dgpratt> that was a while back, so I'm not sure, but I doubt it
jtle has quit [Quit: Client update]
<dgpratt> well I think I can assume the comment on that line about it being added by the nix installer is correct and that line does have the effect of correctly setting up the PATH, NIX_PATH, etc. and HM has created a .profile that no longer does those things
philr has joined #nixos
<bpye> supersandro2000 is there something else I can look at for logs?
malook has joined #nixos
jtle has joined #nixos
malook has quit [Client Quit]
<{^_^}> [nixpkgs] @ajs124 opened pull request #117851 → kiwix: fix and update → https://github.com/NixOS/nixpkgs/pull/117851
<dgpratt> well I added that line to a new /etc/profile.d/nix.sh file and it seems to work, but I wish I didn't feel like I was missing something
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #117852 → [20.09] qt5.qtwebengine: 5.15.2 -> 5.15.3-a059e740 → https://github.com/NixOS/nixpkgs/pull/117852
<{^_^}> [nixpkgs] @gtgteq opened pull request #117853 → haskellPackages.github: Loosen version bounds at 0.26 → https://github.com/NixOS/nixpkgs/pull/117853
coderobe has quit [Remote host closed the connection]
coderobe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #117854 → yq-go: 4.6.2 -> 4.6.3 → https://github.com/NixOS/nixpkgs/pull/117854
dev_mohe has joined #nixos
dev_mohe has quit [Client Quit]
meh` has quit [Ping timeout: 246 seconds]
Qwerky_ has joined #nixos
Wizek has joined #nixos
Qwerky has quit [Ping timeout: 268 seconds]
b has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
civodul has quit [Ping timeout: 240 seconds]
hiking[m] has joined #nixos
<hiking[m]> This is a weird freenode bridge
<hiking[m]> it has no matrix url
<bpye> This is seemingly the most verbose output I canget, but it doesn't seem to reveal anything...
<phalrax> how can I find out my current ip address? 'nixos-option networking.interfaces.enp0s3.ipv4.addresses' is empty unfortunately
<bew> phalrax did you try `ip addr`
<phalrax> yeah, but I'm trying to add it to configuration.nix
<phalrax> or can I somehow get output from regular commands in there?