worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
Pwnna has quit [Quit: Bye]
Pwnna has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [patchelf] @pablogsal opened pull request #241 → Handle libraries with more than one .shstrtab section → https://git.io/JUzYm
cole-h has quit [Quit: Goodbye]
ris has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #98432 → luakit: 2.1 -> 2.2 → https://git.io/JUzYw
<{^_^}> [nixpkgs] @AndersonTorres closed pull request #98358 → update luakit → https://git.io/JUuCd
<lightandlight> Is there a low-maintenance way to aggregate multiple derivations into one, so that a single `nix-build` will build many derivations? I want to maintain a list of packages that my CI server should build and uploaded to a binary cache. Also, I'm not going to use hydra.
<colemickens> lightandlight: nix-build will straight up build a list of attrs
<lightandlight> whaaaaat
<lightandlight> I avoided doing that because I didn't think it type-checked
<colemickens> You will wind up with result, result-2, ..., result-100 though.
<lightandlight> that's okay, I always use --no-out-link
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a3783f968b0 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> [patchelf] @pablogsal opened pull request #242 → Use sh_offset instead of sh_addr when checking already replaced libs → https://git.io/JUzYb
<lightandlight> this is revolutionary! thanks colemickens
alexherbo2 has quit [Ping timeout: 272 seconds]
<arahael> woah, i likes the new nixos.org webpage :)
<{^_^}> [nixpkgs] @mweinelt opened pull request #98433 → pythonPackages.mocket: 3.8.9 -> 3.9.0 → https://git.io/JUzYh
rajivr has joined #nixos
la-jesystani has joined #nixos
<la-jesystani> just read up on nix flakes, they seem really cool, might be time to convert my config to them
growpotk- has joined #nixos
alexherbo2 has joined #nixos
sigmundv_ has quit [Ping timeout: 240 seconds]
andreas303 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #98434 → materia-theme: 20190912 -> 20200916 → https://git.io/JUzOP
andreas303 has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/21d8e70a69f (from 27 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
inkbottle has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
zebrag has quit [Ping timeout: 240 seconds]
growpotk- has quit [Read error: Connection reset by peer]
growpotk- has joined #nixos
delan has joined #nixos
puffnfresh_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUzO7
delan_ has quit [Ping timeout: 265 seconds]
Mirrexagon has quit [Ping timeout: 264 seconds]
ddellacosta has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
puffnfresh_ has joined #nixos
dsx has quit [Quit: dsx]
Mirrexagon has joined #nixos
h0m1 has quit [Ping timeout: 246 seconds]
dstzd has quit [Quit: ZNC - https://znc.in]
joesventek has quit [Quit: Quit]
dstzd has joined #nixos
dstzd has quit [Changing host]
dstzd has joined #nixos
joesventek has joined #nixos
h0m1 has joined #nixos
<la-jesystani> if im using flakes to manage my laptops configuration, whats the workflow for specifying things like the hardware information?
Mirrexagon has quit [Ping timeout: 256 seconds]
puffnfresh_ has quit [Ping timeout: 260 seconds]
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
Mirrexagon has joined #nixos
knerten2 has quit [Remote host closed the connection]
puffnfresh_ has joined #nixos
andreas303 has quit [Ping timeout: 240 seconds]
andreas303 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #97914 → chatterino2: 2.1.7 -> 2.2.2 → https://git.io/JU8sK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUz3N
<jackdk> Does anyone have access to openstack who can help me test #96593 ? Pretty sure the AWS side works, and I don't expect it to break openstack images, but I would like to check. OpenStack's "devstack" scripts have exploded on every VM I've tried (ubuntu 18.04, RHEL8.2). I've tried asking here a few times, and on discourse.nixos.org "PRs in distress thread"; where else should I be looking for help?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/96593 (by endgame, 3 weeks ago, open): ec2-metadata-fetcher: use IMDSv2, fetch public-ipv4 as well
<{^_^}> [nixpkgs] @mweinelt merged pull request #98168 → update some packages I maintain → https://git.io/JURdr
<{^_^}> [nixpkgs] @mweinelt pushed 5 commits to master: https://git.io/JUzsU
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #98432 → luakit: 2.1 -> 2.2 → https://git.io/JUzYw
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUzsI
oida has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ericdallo opened pull request #98435 → omnisharp-roslyn: fix outdated built-in msbuild for unity → https://git.io/JUzsY
growpotk- has quit [Quit: ZNC 1.8.1 - https://znc.in]
growpotk- has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4e1f8e4e319 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/13a15f262a2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
la-jesystani has quit [Read error: Connection reset by peer]
la-jesystani has joined #nixos
butcher has quit [Ping timeout: 260 seconds]
oida has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #98340 → [haskell-updates] haskellPackages: Mark unbroken → https://git.io/JUumY
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JUzsP
anders^ has quit [Ping timeout: 265 seconds]
Uma has quit [Remote host closed the connection]
marek has quit [Ping timeout: 256 seconds]
Uma has joined #nixos
anders^ has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/13a15f262a2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
zecnate has joined #nixos
<zecnate> So I keep getting an autoconf `./configure` failure to detect one of my dependencies. I tried setting `NIX_DEBUG=6` on my derivation, and that gives a bunch of good `./configure` diagnostic output, but it doesn't show the specific `conftest.cpp` source file that's failing. Any advice on how to diagnose this issue?
marek has joined #nixos
butcher has joined #nixos
amfl has quit [Ping timeout: 256 seconds]
amfl has joined #nixos
joesventek has quit [Quit: Quit]
joesventek has joined #nixos
<zecnate> BTW- I am porting another build system to nix, so I have logs and files from the other build system. AFAICT, the dependency directory in the nix store and the legacy build dependency directory have the same layout and files, with binary differences as well as `.cmake` file differences.
<zecnate> The only cmake differences are that the working build has `# toolset=gcc7` whereas the nix build has `# toolset=gcc9`. Could that be related to the failure?
<euank> zecnate: I've had luck with `breakpointHook` before and then hopping into the build environment from where it failed to poke around more
<zecnate> Thanks!
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #98436 → comic-neue: 2.3 -> 2.5 → https://git.io/JUzGs
Pwnna has quit [Quit: Bye]
Pwnna has joined #nixos
<zecnate> Hm, the `config.log` of the two builds is notably different. The working/legacy build says checking for <foo dependency>, then shows a `g++` command with the specific `-I` option I expect. The nix version shows a commandline that does not have any `-I` options, and then that line is followed by a bunch of info like `extra flags after to
<zecnate> /nix/store/rclksjxdjgp6y6qkxyl9m4dx4b9d45zk-gcc-9.3.0/bin/g++:`...
<zecnate> And that subsequent info _does_ show the `-I` that should do the trick.
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<{^_^}> [nixpkgs] @zowoq pushed 2 commits to master: https://git.io/JUzGZ
aw has joined #nixos
<euank> do you know where that -I is coming from? pkg-config maybe?
<zecnate> So what's going on here? Is the nix `g++` a wrapper around the real `g++` that is inserting these extra args that aren't shown on the commandline?
spacefrogg has joined #nixos
<euank> There's a wrapper, yes, https://nixos.wiki/wiki/C#The_compiler_wrapper
<euank> those docs also recommend setting `NIX_DEBUG=1` to get more visibility into the wrapper
<zecnate> For the working-legacy build I'm not sure if it relies on pkg-config. I think it might, but there's also a `config.site` that has the literal `-I`.
<zecnate> In that build, all of the dependencies dump their outputs into a common directory so there's a single `-I` directory.
<zecnate> In the nix build, I'm using the `stdenv` generic builder with very few tweaks, mainly `buildInputs` some from nixpkgs and some of my own creation.
<zecnate> So I have at the top-level `mkDerivation { pname = "top-level-example"; ... buildInputs = [ autoreconfHook ... (import ./my-dependency.nix) ]; }`ndency-derivation)
butcher has quit [Ping timeout: 256 seconds]
<zecnate> Whoops, ignore the noise after the final `
<euank> I mean, from just that there's not enough to be sure what's going wrong
<euank> you have cmake and pkg-config in nativeBuildInputs I assume, right?
<zecnate> Ok. I'll keep poking at it. I wish I could tell `./configure` to get even more verbose, like if I could see the literal `g++` command and the literal `conftest.cpp` source, I could run that manually and see if that reveals the issue.
<zecnate> Oh, I have pkg-config, but not cmake. I'll try that!
<zecnate> I'm not too familiar with cmake. I assumed cmake would be used to build the dependency derivation, but for the top-level is it also necessary for dependency detection?
growpotk- has quit [Ping timeout: 260 seconds]
<euank> It's not if your project isn't using cmake
dstzd has quit [Quit: ZNC - https://znc.in]
<euank> I couldn't tell from the above if it was or not. I guess since it's automake, it probably isn't
<euank> You referenced .cmake file differences I wasn't sure about above though.
dstzd has joined #nixos
dstzd has joined #nixos
dstzd has quit [Changing host]
<zecnate> Huh... no, that fails. That expects the current package to be cmake, but this one isn't.
<zecnate> Yeah, I think those cmake files are only for cmake apps that consume the dependency, which mine is not.
<euank> ... I'm outta ideas though. If you've got it posted somewhere, I could poke at it, but the best I've got without seeing it is using a breakpoint hook to debug it better.
<zecnate> Ok, how do I use a breakpoint hook? In my top-level I have no builder, I'm just using the generic stdenv builder.
<zecnate> Do I need to define my own builder or can I add a more specific derivation attribute somehow?
butcher has joined #nixos
<euank> just add it to buildInputs, and when a step exits non-zero it should give you instructions to enter into the build container
<euank> iirc that's all there is to it
justanotheruser has quit [Ping timeout: 272 seconds]
<zecnate> Oh, nice!
<zecnate> Ok.
<zecnate> If you want to poke at what I'm working on, it's here: https://github.com/nathan-at-least/zcash/tree/nix-builder.3.WIP
<zecnate> I'm running `nix-build ./zcutil/nix-builder/zcash`.
* zecnate plays with `breakpointHook`
ddellacosta has quit [Ping timeout: 260 seconds]
la-jesystani has quit [Ping timeout: 272 seconds]
butcher_ has joined #nixos
cjpbirkbeck has quit [Quit: Goodbye, take care]
butcher has quit [Read error: Connection reset by peer]
zecnate has quit [Remote host closed the connection]
stoile has quit [Ping timeout: 260 seconds]
oida has quit [Ping timeout: 240 seconds]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
tilcreator_ has quit [Ping timeout: 258 seconds]
alexherbo2 has quit [Remote host closed the connection]
oida has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 272 seconds]
Supersonic112 is now known as Supersonic
medvid_ has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #98437 → cimg: 2.9.1 -> 2.9.2 → https://git.io/JUzZs
medvid has quit [Ping timeout: 240 seconds]
<__red__> Does nix-build live inside a chroot()
<__red__> reason I ask is that CMAKE_SOURCE_DIR has decided to set itself to /build/...
<__red__> and that's - wrong.
<__red__> (unless there is a chroot(
<__red__> ))
<{^_^}> [nixpkgs] @Chili-Man opened pull request #98438 → kubernetes-helm: 3.3.1 -> 3.3.3 → https://git.io/JUzZR
<{^_^}> [nixpkgs] @marsam merged pull request #98388 → mruby: 2.1.1 -> 2.1.2 → https://git.io/JUuMA
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUzZa
<euank> __red__: yes, nix-build builds inside a mount namespace (practically a chroot)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/647be9d0ddd (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
growpotk- has joined #nixos
<__red__> euank: is there a recommended way to work out why builds in nix-shell ./nixpkgs -A packagename work, but the same thing with nix-build fails?
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<__red__> and advice or resources?
<euank> with what sort of error?
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<__red__> it claimed it was unable to locate a file
<__red__> but the file was there
<__red__> the file being a python script
<__red__> and I have yet to find a diffeernce between the one test example and another
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<__red__> but you telling me that it builds inside a mount namespace gives me more information again
<euank> I was just recommending a breakpointHook a second ago, and that again seems relevant
<euank> that lets you run a command to jump into the container it was building in when it failed, and then you can run the command yourself or poke around and look at files
<__red__> The app I'm trying to package uses a combination of make and cmake
<__red__> so it's a bit of a bear
waleee-cl has quit [Quit: Connection closed for inactivity]
<__red__> I wonder if a nix-shell --pure would make a difference in my debugging - as that would rule out another variabel
fresheyeball has joined #nixos
<fresheyeball> hey out there
<Mic92> __red__: breakpointHook, see nixpkgs
<fresheyeball> I have a Haskell + Nix project, and am happy with nix
<fresheyeball> but I have people who want to use stack instead
<{^_^}> [nixpkgs] @bcdarwin opened pull request #98439 → python3Packages.dipy: 1.1.1 -> 1.2.0 → https://git.io/JUznt
<fresheyeball> is there a way I can generate a stack.yml from nix?
<__red__> Okay - I'll give this a shot
<__red__> thanks
<__red__> euank , Mic92 : [nixbld@localhost:/var/lib/cntr]$ :-D
<__red__> looks promising...
ericsagnes has quit [Ping timeout: 246 seconds]
<__red__> interesting
<__red__> I don't seem to be able to find or execute buildPhase
kaliumxyz has quit [Ping timeout: 240 seconds]
kaliumxyz has joined #nixos
butcher_ has quit [Ping timeout: 240 seconds]
<__red__> Mic92: euank: /bin/sh: /build/source/build/build_libs/gbenchmark-prefix/src/gbenchmark/tools/strip_asm.py: not found
<__red__> and now I'm inside I can work out why that's balking
<__red__> oh wow
<__red__> you won't believe this
<__red__> (or maybe you will)
<euank> #!/usr/bin/python ?
<__red__> bash-4.4$ /build/source/build/build_libs/gbenchmark-prefix/src/gbenchmark/tools/strip_asm.py
<__red__> bash: /build/source/build/build_libs/gbenchmark-prefix/src/gbenchmark/tools/strip_asm.py: /usr/bin/env: bad interpreter: No such file or directory
<__red__> bash-4.4$ /usr/bin/env
<__red__> bash: /usr/bin/env: No such file or directory
<__red__> I'm guessing all the other tests just had #! env
<__red__> looking
<euank> patchShebangs might get that for you
stoile has joined #nixos
ericsagnes has joined #nixos
<__red__> interestingly - I can't even find python in the environment
<__red__> even though it's in my buildInputs
spacekookie has quit [Quit: No Ping reply in 60 seconds.]
ninjin_ has quit [Ping timeout: 240 seconds]
<euank> perhaps it needs to be in nativeBuildInputs instead
spacekookie has joined #nixos
<__red__> I'm still blurry on the difference to be honest
ninjin_ has joined #nixos
<__red__> let me try that
<__red__> but this breakpoint is a lifesaver
<euank> basically, build tools like compilers and interpreters and the like are nativeBuildInputs, and libraries you link against are buildInputs
<__red__> got further in the last 10 mins than the last few days
<__red__> so thank you again <3
<__red__> ahh
<euank> it mostly matters when you cross compile. If you're on x86 and you're building for arm, nativeBuildInputs are x86 and buildInputs are the target platform arch, arm
<__red__> so anything that needs bin is probably nativeBuildInputs
endocrimes has quit [Remote host closed the connection]
<__red__> bingo
f0x2 has quit [Ping timeout: 240 seconds]
endocrimes has joined #nixos
<euank> I'm glad it ended up being helpful. I've definitely found it handy a few times
<__red__> time to put vim in my nativeBuildInputs (temporarily)
<euank> That and `--keep-failed` together can help quite a bit
f0x2 has joined #nixos
hke has quit [Read error: Connection reset by peer]
Spiney has quit [Ping timeout: 240 seconds]
hke has joined #nixos
zecnate has joined #nixos
caranatar has quit [Ping timeout: 264 seconds]
<__red__> okay - that's weird
<__red__> #! env python
<__red__> can't find env
endformationage has quit [Quit: WeeChat 2.9]
<euank> `patchShebangs` should do the right thing, though I'm also surprised env isn't included in the stdenv path
caranatar has joined #nixos
<Ke> do relative paths really work in shebangs
Orbstheorem has quit [Ping timeout: 244 seconds]
la-jesystani has joined #nixos
<hsngrmpf[m]> How can I force a dependency into a derivation? I have a python package that depends on kerberos. But even after adding kerberos to its build inputs, kerberos doesn't end up in the final derivation.
<hart111> I don't know if I want to know the answer to that Ke
<euank> truly with binfmt_misc anything is possible :P
caranatar has quit [Ping timeout: 260 seconds]
<euank> hsngrmpf[m]: does python use ffi to open kerberos? Is that why there's no proper reference?
<zecnate> I get a bunch of results for `grep -r '/usr/bin/file' /nix/store/lf8b1c9m3px0bmsi4zwhcj89w38vcq7a-libtool-2.4.6/`. Isn't this a bug, because builders should be referring to a nix-store path for `file`, right?
<Ke> heh
<zecnate> When my builder runs `./configure` there are occasional file-not-found errors for /usr/bin/file.
<zecnate> And of course autotools & sh helpfully continue running after those failures in some weird inconsistent state, so I have no idea what impact that has.
<zecnate> Should I try to manually patch my own `configure` after it is generated by autoconf to replace all references to a nix store path?
<zecnate> I already have `file` in `buildInputs`, so I think `sed -i 's,/usr/bin/file,file,g' ./configure` may do the trick... Feels very tenuous, though.
* zecnate searches for tickets about this.
<clever> zecnate: that feels like something patchShebangs should already support
<clever> though, only if its in a #!
<zecnate> clever: To me it seems like the `libtool` derivation should fix it once and for all at the source, rather than every downstream consumer having to patch their generated configure scripts.
<zecnate> No, these aren't in `#!`, they are all over scattered throughout m4 macros used by autoconf.
<zecnate> Like the macro source literally has stuff like "case `/usr/bin/file conftest.$ac_objext` in" ...
<zecnate> I see 28 matches from grep.
<clever> ah, id use sed then
<__red__> so can I get patchSheBangs to recurse?
<__red__> and do all the things
<__red__> all the examples I see are single file in install
<zecnate> But rather than use sed in my derivation, I'm tempted to make a derivation that takes the libtool source as input and patches the output...
<drakonis> mpd seems to be defaulting to jack
<__red__> whereas I need it to postPatch :-(
<euank> It can run on a directory too, in which it recurses for +x files.
<euank> Or at least that's what the docs and code look like to me
<srhb> euank: Correct.
<euank> It should patch outputs on its own if that's what you mean by postPatch
orivej has joined #nixos
<hsngrmpf[m]> <euank "hsngrmpf: does python use ffi to"> maybe. I used the pyqt5 wheel from pypi with autoPatchelfHook.
<__red__> no, I mean before any of the other phases have run
<__red__> it needs to be patched beore the buildPhase
<{^_^}> [nixpkgs] @danieldk merged pull request #98195 → weather: enable on darwin → https://git.io/JU037
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JUzC4
<__red__> since they use python scripts as part of the build process
<euank> Ah, the `patchPhase` might be the appropriate one there
caranatar has joined #nixos
Rusty1 has quit [Quit: WeeChat 2.3]
fresheyeball has quit [Ping timeout: 272 seconds]
<Ke> is it really true, that there is no PYTHONPATH generator function
<euank> hsngrmpf[m]: I think propagatedBuildInputs might end up doing the right thing if you're using buildPythonPackage
<Ke> if I would need PYTHONPATH="${pkgs.python38Packages.getPythonPath pkgs.python38Packages.pydns}"
<srhb> Ke: There's the generic makeSearchPath combined with sitePackages
<Ke> pkgs/development/python-modules/xmpppy/default.nix: export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
<euank> Specifically, https://github.com/NixOS/nixpkgs/blob/9ec439e0/pkgs/development/interpreters/python/wrap.sh#L101-L123 in the wrapper I think gives you a reference that goes through and keeps the propogated build inputs referenced in the final output
marusich has joined #nixos
<euank> If that's not it, then I don't see it in https://nixos.org/manual/nixpkgs/stable/#python and the docs need updating; plenty of python depends on library code
<euank> on c libraries I should say
<srhb> Ke: There's also buildPythonPath.
orivej has quit [Ping timeout: 272 seconds]
<__red__> looks like the use-case #!/usr/bin/env is unsupported
<euank> __red__: for patchShebangs? It explicitly has code to deal with it
<__red__> so recursive substituteInPlace
<__red__> oh - I misread the grep
<__red__> it's weird tho - it's not making the substitution
<euank> Definitely +x?
<__red__> yeah - that's the reason
<__red__> The make command has two separatre commands
<__red__> one that generates the python executables, and one that executes them
<__red__> so instead of modifyiuntg the makefile I was trying to modify the template it's generated from
<__red__> and as you guessed - templates are not executable.
<euank> if the make targets can be run separately, you could also splice it into the build phase
<euank> buildPhase = "make generate-python; patchShebangs python-directory; make remaining-stuff"
<euank> But I know makefiles aren't always conveniently structured
<__red__> It's not conveniently structured :-/
growpotk- has quit [Quit: ZNC 1.8.1 - https://znc.in]
<__red__> I just chmod'd the templates
<__red__> There are 1400 of these - I need to work out which ones are actually used and which ones are demos
amfl_ has joined #nixos
<__red__> going to take me days
<__red__> but at least I now have a direction
<__red__> so thank you again
growpotk- has joined #nixos
justanotheruser has joined #nixos
<euank> Sounds like a mess of a build/project setup, but I'm sure you can get it; good luck!
amfl has quit [Ping timeout: 258 seconds]
<Ke> but seems to be only shell function that you can't use in systemd
orivej has joined #nixos
<__red__> euank: Thanks.
<__red__> euank: I understand why they did it
<__red__> it's a high performance concurrency language and they've tickled a serious bug in llvm
<__red__> which isn't fixed in 9, but is fixed in 10.
<__red__> they're in the process of migrating but havn't completed it yet
<__red__> so they're pinned on an old version of llvm with their own custom patches
alp has joined #nixos
<__red__> so having a custom "vendor
<__red__> llvm" installation is the cause of all these woes
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #98418 → Dino: Enable on macOS/Darwin → https://git.io/JUzeX
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JUzCH
<__red__> oh - to add insult to injury it actually ignored the changed shebangs in the templates and wrote its own
<__red__> guess I'll be splitting that puppy up
__red__ has quit [Remote host closed the connection]
mariatsji has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #98441 → why3: 1.3.1 → 1.3.3 → https://git.io/JUzCN
zupo has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
tom39291_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #88799 → Declare several versions of OCamlformat → https://git.io/JfVfE
<{^_^}> [nixpkgs] @vbgl pushed commit from @Julow to master « Declare several versions of OCamlformat (#88799) »: https://git.io/JUzWT
tom39291_ has joined #nixos
<bqv> cole-h: not sure, haven't used that before, but neither seem to work for me :p
palo1 has joined #nixos
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
czer00 has quit [Quit: Leaving]
growpotk- has quit [Ping timeout: 265 seconds]
amfl_ is now known as amfl
rojiro has joined #nixos
sxiii has quit [Remote host closed the connection]
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #98442 → weather: cleanups, enable on all Unix platforms → https://git.io/JUzWK
mariatsji has quit [Remote host closed the connection]
kenran has joined #nixos
<pie_> thoughtpolice: any nix specific reason rr might have no output? https://github.com/mozilla/rr/issues/2696#issuecomment-696434914
bahamas has joined #nixos
karantan has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #98396 → duf: init at 0.1.0 → https://git.io/JUuS3
<{^_^}> [nixpkgs] @dtzWill pushed commit from @petabyteboy to master « duf: init at 0.1.0 (#98396) »: https://git.io/JUzWD
<{^_^}> [nixpkgs] @jonringer opened pull request #98443 → neo4j: 3.5.14 -> 4.1.1 → https://git.io/JUzWS
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #98444 → viu: 1.0 -> 1.1 → https://git.io/JUzWN
sangoma has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #98241 → [20.09] topydo: Don't fail build on tests → https://git.io/JUEeu
<{^_^}> [nixpkgs] @jonringer pushed commit from @Pamplemousse to release-20.09 « topydo: Don't fail build on tests »: https://git.io/JUzlf
<{^_^}> [nixpkgs] @jonringer merged pull request #98433 → pythonPackages.mocket: 3.8.9 -> 3.9.0 → https://git.io/JUzYh
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JUzlT
<{^_^}> [nixpkgs] @jonringer closed pull request #97435 → isso: fix build, switch to python 3, add a test → https://git.io/JUn4B
<{^_^}> [patchelf] @domenkozar merged pull request #242 → Use sh_offset instead of sh_addr when checking already replaced libs → https://git.io/JUzYb
<{^_^}> [patchelf] @domenkozar pushed 2 commits to master: https://git.io/JUzlI
<{^_^}> [nixpkgs] @jonringer merged pull request #89963 → python3Packages.pyxnat: init at 1.3 → https://git.io/JfyDD
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « python3Packages.pyxnat: init at 1.3 »: https://git.io/JUzlO
<{^_^}> [nixpkgs] @jonringer merged pull request #98439 → python3Packages.dipy: 1.1.1 -> 1.2.0 → https://git.io/JUznt
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « python3Packages.dipy: 1.1.1 -> 1.2.0 »: https://git.io/JUzlG
<{^_^}> [nixpkgs] @jonringer merged pull request #98395 → vimPlugins.hoon-vim: init at 2020-02-19 → https://git.io/JUuSL
<{^_^}> [nixpkgs] @jonringer pushed commit from @jtobin to master « vimPlugins.hoon-vim: init at 2020-02-19 »: https://git.io/JUzlZ
nixuser has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1179840f9a8 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
zupo has quit [Ping timeout: 260 seconds]
sxiii has joined #nixos
cole-h has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #97887 → hop: 2.5.1 → 3.3.0 → https://git.io/JUlhW
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JUzlu
kenran has quit [Quit: leaving]
niksnut has joined #nixos
cr4y1_ has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #98445 → Removing myself from maintainers list of blockchains → https://git.io/JUzla
alp has quit [Ping timeout: 272 seconds]
cross has quit [Quit: Lost terminal]
zupo has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #97998 → orocos-kdl: init at 1.4.0 → https://git.io/JU4R9
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JUzlM
zupo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #98373 → [20.09] tensorflow: Fix compilation with numpy 1.19.x → https://git.io/JUuuW
<{^_^}> [nixpkgs] @jonringer pushed commit from @avdv to release-20.09 « tensorflow: Fix compilation with numpy 1.19.x »: https://git.io/JUzl9
marc2 has quit [Quit: WeeChat 2.8]
polarfire has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @srhb opened pull request #98446 → apache-kafka: Fix, update and adjust JRE/JVM → https://git.io/JUz8L
zupo has joined #nixos
karantan has joined #nixos
karantan has quit [Client Quit]
sputny has joined #nixos
<zecnate> Are "builtins" defined in another language besides native nix expr?
<zecnate> Where can I find docs (or source) for fetchGit?
<srhb> zecnate: C++, in the nix repo, generally.
<zecnate> Well that's an unfortunately confusing name collision: https://discourse.nixos.org/t/difference-between-fetchgit-and-fetchgit/3619
<zecnate> srhb: Thanks. Then is there a better reference doc?
<srhb> zecnate: I think most of them are documented in the Nix manual :)
zupo_ has joined #nixos
<srhb> zecnate: And yes, that is an unfortunate but historical collission that's probably hard to do away with now.
polarfire has quit [Quit: WeeChat 2.7.1]
lsix has joined #nixos
<zecnate> I think one thing that keeps tripping me up on documentation is how some functions/language docs are in the nix manual and the rest is in nixpkgs, and then some more language info is on the wiki.
<zecnate> I wish there were a single reference that was all about the nix expr language, then one all about all of things like `builtins` and `nixpkgs.lib`…
<srhb> zecnate: Yes, most users of nixpkgs find that confusing. It's less confusing if you're primarily a nix-but-not-nixpkgs user, as you're less likely to see "nixpkgs" as the main thing.
<zecnate> If I had the time I'd take a stab at it.
zupo has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Tomahna opened pull request #98447 → metals: 0.9.3 -> 0.9.4 → https://git.io/JUz8S
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUz89
karantan has joined #nixos
<zecnate> How large is the nix-but-not-nixpkgs userbase, though? I would suspect that's rare unless there're popular use cases I'm not aware of (which could easily be true).
<srhb> zecnate: Not large for sure, but it does exist. :)
<srhb> (I've worked for some)
<srhb> zecnate: So yes, we may be sub-optimizing by delimiting the manuals in the "technically correct but largely obscure" way :-P
<zecnate> Thanks for the context.
<srhb> Welcome. You're definitely not the first person to have this issue.
<zecnate> If there are any efforts to refactor docs, I can be a guinea pig, since I'm fairly new to nix. ;-)
<eyJhb> I guess we have all been there, or at least most of us have been
<srhb> zecnate: That's excellent :) I'm not aware of any current efforts, but I imagine they must be coming with Nix 3.X in particular.
<zecnate> I found site that I thought was helpful for learning about stdenv, specifically the phases: https://static.domenkozar.com/nixpkgs-manual-sphinx-exp/introduction.xml.html
<eyJhb> Aren't there a couple of branches doing this srhb ? I remember someone discusing this a couple of times
<zecnate> I'm not sure if it's out of date or connected or redundant...
<srhb> eyJhb: I've been out of the loop until like last week, so I may be missing something :)
<srhb> zecnate: That looks like an older version of a section of the nixpkgs manual if I'm not mistaken
<bahamas> domenkozar[m] is in this channel, so he can chime in
alp has joined #nixos
<srhb> zecnate: Actually it looks like a collection of many different sections, ordered in a possibly better way for that specific goal
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<zecnate> Hm, so I'm trying to use `builtins.fetchGit ./../../..` but I get a result with `.rev` set to a long string of all 0's. That should be the root of a git clone, so that relative path has a `.git` inside of it. Is that the wrong way to use this?
<eyJhb> FetchGit wants a src, rev, sha
<eyJhb> You can try to look in nixpkgs and see how it is used there. Generally nixpkgs repo is a good resource ;p
<zecnate> "args can be a URL, in which case the HEAD of the repo at that URL is fetched."
<srhb> zecnate: Which version of Nix?
<zecnate> Nothing in the docs say I can pass a path, but @clever suggested as much yesterday.
<zecnate> Uh... how can I tell which version?
<srhb> zecnate: nix --verison
<srhb> ... spelled correctly ;)
<zecnate> $ nix --versionnix (Nix) 2.3.7
<zecnate> Sorry about the missing newline.
saschagrunert has joined #nixos
<srhb> zecnate: Can't seem to reproduce that.
civodul has joined #nixos
est31 has quit [Remote host closed the connection]
<Mic92> hsngr
<Mic92> hsngrmpf[m]: link to the source?
est31 has joined #nixos
cr4y1_ has quit [Read error: Connection reset by peer]
azure3 has joined #nixos
azure2 has quit [Ping timeout: 240 seconds]
cr4y1_ has joined #nixos
cfricke has joined #nixos
cr4y1_ has quit [Read error: Connection reset by peer]
cr4y1_ has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
nixuser has quit [Read error: Connection reset by peer]
Orbstheorem has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
bahamas has quit [Ping timeout: 265 seconds]
mmohammadi9812 has joined #nixos
mmohammadi98124 has joined #nixos
<zecnate> Are there expressions for joining/extending path values? I often want to do something like `let basedir = ./../../../; thingone = basedir / "thing1"; thingtwo = basedir / "thing2"; in …`
<zecnate> > ./.
azure3 has quit [Read error: Connection reset by peer]
<{^_^}> /var/lib/nixbot/state/nixpkgs
mmohammadi9812 has quit [Read error: Connection reset by peer]
mmohammadi98124 is now known as mmohammadi9812
<cole-h> > let basedir = "/root/some/path"; thingone = basedir + "/thing1"; in thingone
<zecnate> > (./.) / "foo"
<{^_^}> "/root/some/path/thing1"
<{^_^}> value is a string while a float was expected, at (string):324:1
<zecnate> cole-h: Thanks! So the result is still a path? That will lead to two different paths that get inserted into the store separately?
<V> yeah, your best bet is path1 + "/${path2}"
azure3 has joined #nixos
<cole-h> Literally just string concatenation. And if you need to turn it back into a path for whatever reason, `builtins.path { path = thingone; }`
<cole-h> No, the result is a string
<cole-h> > ./. == "${./.}"
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs' is forbidden in restricted mode
<cole-h> heh
<cole-h> > ./. == "/var/lib/nixbot/state/nixpkgs"
<{^_^}> false
<zecnate> Oh... hrm. I'm a bit confused. So for example, I have a bunch of patch files in a directory, so they need to be inserted as inputs prior to building.
<zecnate> It's fine if they were all inserted as one entry in a directory, or if they were separate entries, shouldn't matter.
<zecnate> I'll just try it and see how it works. ;-)
<zecnate> I guess what I want to know is if path values themselves are special and get inserted into the store as inputs, or if it's only when they appear in specific attributes of a derivation?
bahamas has joined #nixos
zecnate has quit [Remote host closed the connection]
cole-h has quit [Quit: Goodbye]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<NobbZ[m]> What they point to gets copied into the store @zecnate
zupo has joined #nixos
azure4 has joined #nixos
<{^_^}> [nixpkgs] @HaoZeke opened pull request #98449 → doxyrest: init at master → https://git.io/JUzR2
Izorkin has quit [Ping timeout: 272 seconds]
Darkmatter66 has joined #nixos
Darkmatter66_ has quit [Ping timeout: 256 seconds]
azure3 has quit [Ping timeout: 272 seconds]
azure4 has quit [Ping timeout: 265 seconds]
azure4 has joined #nixos
<{^_^}> [nix] @regnat opened pull request #4048 → Disable `FORTIFY_SOURCE` when compiling without optims → https://git.io/JUzRb
cyphase has quit [Ping timeout: 240 seconds]
mir100 has quit [Ping timeout: 272 seconds]
mmohammadi9812 has quit [Ping timeout: 256 seconds]
<eyJhb> What was the command to check, why you have a path in your store?
Sanchayan has joined #nixos
supercoven has joined #nixos
supercoven has quit [Max SendQ exceeded]
supercoven has joined #nixos
supercoven has quit [Max SendQ exceeded]
supercoven has joined #nixos
<srhb> eyJhb: why-depends?
<{^_^}> [patchelf] @eytanaim opened pull request #243 → Corruption with program headers → https://git.io/JUz0P
<srhb> eyJhb: Also helpful to use nix-store -q --tree etc.
<eyJhb> ,locate bin why-depends
<eyJhb> ?
<srhb> eyJhb: nix why-depends
<{^_^}> Couldn't find in any packages
<eyJhb> Ahh, thanks :)
<eyJhb> Hoping Docker is gone now that I removed all previous generations however!
hyper_ch2 has quit [Ping timeout: 258 seconds]
hyper_ch2 has joined #nixos
nagayasu has joined #nixos
eyJhb has joined #nixos
eyJhb has joined #nixos
eyJhb has quit [Changing host]
nagayasu has quit [Remote host closed the connection]
craftyguy has joined #nixos
cyphase has joined #nixos
lafa has joined #nixos
supercoven_ has joined #nixos
diamondburned has joined #nixos
tdeo has joined #nixos
<{^_^}> [nixpkgs] @eyJhb opened pull request #98451 → purple-slack: 2019-08-19 - 2020-09-22 → https://git.io/JUzEB
supercoven has quit [Ping timeout: 265 seconds]
teto has joined #nixos
marusich has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @JamieMagee opened pull request #98452 → pythonPackages.adb-shell: init at 0.2.2 → https://git.io/JUzEa
mmohammadi9812 has joined #nixos
<{^_^}> [nix] @regnat opened pull request #4049 → Silence a compiler warning in serialise.hh → https://git.io/JUzEM
<{^_^}> [nixos-weekly] @rickynils opened pull request #134 → Add nixbuild.net GA announcement → https://git.io/JUzEy
werner291 has joined #nixos
SanchayanM has joined #nixos
<ar> x/33
n9nes has joined #nixos
thc202 has joined #nixos
Sanchayan has quit [Ping timeout: 260 seconds]
cr4y1_ has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar merged pull request #134 → Add nixbuild.net GA announcement → https://git.io/JUzEy
<{^_^}> [nixos-weekly] @domenkozar pushed 2 commits to master: https://git.io/JUzu8
domogled has quit [Ping timeout: 246 seconds]
domogled has joined #nixos
<Mic92> hsngrmpf[m]: so a pre-compiled package/
<Mic92> ?
cjbassi[m] has quit [Quit: Idle for 30+ days]
<hsngrmpf[m]> even though autoPatchelfHook successfully patched libQt5DBus.so.5 without errors
detran has quit [Quit: ZNC 1.7.5 - https://znc.in]
<hsngrmpf[m]> yep
Null_A[m] has quit [Quit: Idle for 30+ days]
kekw736[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
Leira[m] has quit [Quit: Idle for 30+ days]
steakfan[m] has quit [Quit: Idle for 30+ days]
insidious[m] has quit [Quit: Idle for 30+ days]
<Mic92> hsn
<Mic92> hsngrmpf[m]: you can debug library loading using LD_DEBUG=libs as an environment variable
<{^_^}> [nix] @edolstra merged pull request #4048 → Disable `FORTIFY_SOURCE` when compiling without optims → https://git.io/JUzRb
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JUzux
SanchayanM has quit [Quit: leaving]
Sanchayan has joined #nixos
<Mic92> hsngrmpf[m]: for libraries that are loaded with dlopen, you can add those to runtimeDependencies
<Mic92> this is a list of library paths that are added on top
<Mic92> with autoPatchelfHook
<{^_^}> [nix] @edolstra merged pull request #4049 → Silence a compiler warning in serialise.hh → https://git.io/JUzEM
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JUzzU
<hsngrmpf[m]> Thanks. But in my case LD_DEBUG=libs doesn't really reveal additional info about the problem with libQt5DBus.so.5.
SanchayanM has joined #nixos
<hsngrmpf[m]> Not sure what `undefined symbol: _ZN14QMetaCallEventC2EttPFvP7QObjectN11QMetaObject4CallEiPPvEPKS0_iiPiS5_P10QSemaphore, version Qt_5_PRIVATE_API)` really tells me. Something is missing for sure. but autoPatchElfHook didn't raise any errors.
mmohammadi98124 has joined #nixos
rain1 has left #nixos ["WeeChat 1.6"]
mmohammadi9812 has quit [Read error: Connection reset by peer]
mmohammadi98124 is now known as mmohammadi9812
<{^_^}> [nix] @edolstra merged pull request #4041 → Serialize SandboxMode enum to string for JSON → https://git.io/JUEEk
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JUzz3
<{^_^}> [nixpkgs] @TredwellGit opened pull request #98453 → minecraft: 2.1.16102 -> 2.1.17417 → https://git.io/JUzzG
<{^_^}> [nixpkgs] @edolstra closed pull request #97266 → nlohmann_json: 3.7.3 -> 3.9.1 → https://git.io/JUGIf
<{^_^}> [nix] @edolstra merged pull request #4040 → Fix compatibility with nlohmann-json 3.9.1 → https://git.io/JUElK
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JUzzZ
Sanchayan has quit [Ping timeout: 256 seconds]
SanchayanM has quit [Client Quit]
<maralorn> Would it be a good idea to convert services.postfix.virtual to a attrsOf (either str (nonEmptyListOf str))? Right now it's lines. But it is used to generate a map file from e-mail addresses to one or multiple mailboxes or other e-mail addresses.
<Ke> is there some service module for nix-index
<Ke> as in something to create global db and keep it up to date
werner291 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed to master « curlie: 1.3.1 -> 1.5.4 »: https://git.io/JUzg3
mmohammadi9812 has quit [Read error: Connection reset by peer]
mmohammadi9812 has joined #nixos
<{^_^}> [nixpkgs] @stigtsp opened pull request #98454 → perldevel: 5.33.1 -> 5.33.2 → https://git.io/JUzgl
<l-as> does anyone know which repository is responsible for the recent style change of the nixpkgs manual?
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
cosimone has joined #nixos
<l-as> srhb: I looked at that but I wasn't sure
<l-as> it's why I asked here
<srhb> samueldr would probably know for sure.
Izorkin has joined #nixos
<l-as> thanks
chkno has quit [Ping timeout: 256 seconds]
<l-as> I am asking because the recent style change uses some colors which are very hard to read for me, and I assume that it's the same for some other colorblind people
Mateon1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @edolstra pushed 15 commits to master: https://git.io/JUz2K
<{^_^}> [nix] @edolstra closed pull request #4009 → Implement RemoteStore.addToStoreFromDump → https://git.io/JU8Lg
<{^_^}> [nix] @edolstra closed pull request #3802 → WIP: Constant space daemon `wopAddToStore` -- contains #3801 → https://git.io/JJYQ6
<{^_^}> [nix] @edolstra merged pull request #4030 → Overhaul wopAddToStore → https://git.io/JURAh
etalecohomology has joined #nixos
<{^_^}> [nixpkgs] @ju1m opened pull request #98455 → nixos/syncoid: split in multiple systemd services → https://git.io/JUz2X
grobi has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
<grobi> hello :) i 'm new and try to install on hd
<grobi> using plasma desktop i hav internet access
<grobi> how to get internet access with my config-file?
<grobi> so i can use after installation?
supercoven has joined #nixos
<grobi> srhb does this mean wlan would work afterwards?
<srhb> grobi: Yes, you'll be able to use eg. the nmtui command to set up wifi.
<grobi> i want to install xfce and i3wm
sigmundv_ has joined #nixos
<Baughn> Since the last update of nixos, nginx is failing to read files in /home.
<Baughn> It's getting 'permission denied' from fopen. Which is curious, as the files are world-readable, and the directory chain is a+x.
<grobi> will network-manager-aplet be installed by default?
<srhb> grobi: I don't recall :)
supercoven__ has joined #nixos
etalecohomology has quit [Quit: Lost terminal]
<srhb> grobi: Following the option definition, it looks like "no"
supercoven_ has quit [Ping timeout: 272 seconds]
supercoven has quit [Ping timeout: 256 seconds]
<Ke> does nix have complement operation
<Ke> bitwise
<l-as> I don't think so, and I don't think it would make sense to have one
<l-as> What are you trying to do? Wouldn't it make sense just to use arrays?
Mateon1 has joined #nixos
<grobi> srhb: would this be a correct line to enable network for a user: " extraGroups = [ "wheel" ][ "networkmanager" ]; # Enable ‘sudo’ 'network' for the user." ?
supercoven has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to release-20.03 « coturn: 4.5.1.2 -> 4.5.1.3 »: https://git.io/JUzaS
<V> [ "wheel" "networkmanager" ]
<grobi> V ah thanks
<V> I don't know what group NetworkManager needs (is it uppercased?) but you write lists like that
supercoven__ has quit [Ping timeout: 260 seconds]
<grobi> do i need to do this for the root user as well?
<NobbZ[m]> Indeed one of the few things with NetworkManager that are lowercase…
<etu> grobi: Root in general has access to everything
<V> ah, it's lowercase
<grobi> thanks
<grobi> " extraGroups = [ "wheel" "networkmanager" ]; # Enable ‘sudo’ for the user." like this?
ckauhaus has joined #nixos
<V> well, it enables both sudo and NetworkManager, but otherwise yes
<grobi> this sounds, that you would prefer, to do this apart?
<V> extraGroups = [
<V> ];
<V> "networkmanager" # enable NetworkManager
<V> "wheel" # enable sudo
<V> etc
<V> do what you want though
<grobi> :)
<V> there's no right or wrong here
supercoven has quit [Max SendQ exceeded]
supercoven has joined #nixos
spudly- has joined #nixos
<grobi> is ti possible, to "allow" to insttall nonfree-packages during installation-process of nixos, or do i need to do this after its installation?
srhm has joined #nixos
spudly has quit [Ping timeout: 272 seconds]
spudly- is now known as spudly
supercoven has quit [Max SendQ exceeded]
supercoven has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUzVy
<srhb> grobi: nixos-install _may_ allow NIXPKGS_ALLOW_UNFREE=1 -- not sure
<LnL> "install" uses the configuration.nix just like any other switch, does it not?
<V> grobi: have you actually tried that?
<V> I don't see why the normal methods wouldn't work
<{^_^}> [nixpkgs] @mmahut merged pull request #98445 → Removing myself from maintainers lists of blockchains → https://git.io/JUzla
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JUzVx
<srhb> Oh, right. Not sure what I was thinking.
<{^_^}> [nixpkgs] @Sohalt closed pull request #98277 → WIP: fritzing: 0.9.3b -> 0.9.4, fix build → https://git.io/JUEcZ
jonge has quit [Quit: quit]
jonge has joined #nixos
meh` has joined #nixos
<maralorn> I like the new homepage very much! kudos to everyone involved.
bahamas has quit [Ping timeout: 256 seconds]
<maralorn> Are those videos just recorded once or are they generated declaratively? If the later: There are a few typos that could be fixed.
<Ke> yes at least superficially seems more readable by style
bahamas has joined #nixos
cfricke has joined #nixos
orivej has joined #nixos
<V> the "videos" are asciinema embeds I believe
<{^_^}> [nixpkgs] @ckauhaus opened pull request #98457 → libvorbis: 1.3.6 -> 1.3.7 → https://git.io/JUzw0
<V> nix run nixpkgs.asciinema -c asciinema play https://nixos.org/demos/cover.cast
<V> :)
numerobis has joined #nixos
<maralorn> example_3 generates a nix-shell via a default.nix which uses mkShell. Wouldn‘t it be better to use shell.nix when using mkShell?
<karantan> I'm trying to upload nixos 20.03 image to digital ocean but it only supports "gz, bz2, vmdk, vhdx, qcow, qcow2, vdi, raw, img, xz"
<karantan> there are some instructions how to use virtualbox and create a new image then export it ...
<karantan> is there any online resource that already has nixos in one of those formats?
<marek> ey all, can anyone try to run nix-build inside this repo https://github.com/mmahut/yoroi-ergo-backend ? I'm having an odd stack size error, but I think it might be my setup, please.
lb5tr has quit [Ping timeout: 264 seconds]
<V> maralorn: I'd prefer shell.nix at least
ghasshee has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
<srk> marek: running
<maralorn> V: k, gonna make a PR for that. Let's see how it's received.
evanjs has joined #nixos
<ghasshee> Hi, Does anyone know how to run GHC 8.8.1 on NixOS-20.03 ?
bahamas has quit [Ping timeout: 246 seconds]
<V> generally I have a package.nix (callable with callPackage, like other things in nixpkgs), default.nix (imports nixpkgs & calls the package with that), and shell.nix (for the dev shell for use w/ lorri/etc)
<V> usually just a shell.nix though
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
<grobi> got this error-mssg: - You can not use networking.networkmanager with networking.wireless. Except if you mark some interfaces as <literal>unmanaged</literal> by NetworkManager.
<srhb> grobi: networking.wireless is (mostly) for when you want a declarative setup _without_ networkmanager. If you want netowrkmanager, you can get rid of networking.wireless.
<grobi> thus i can comment that line out?
<V> yes
<grobi> thanks
<{^_^}> [nixos-homepage] @maralorn opened pull request #556 → Fix various typos or formulations in screen casts → https://git.io/JUzrV
<grobi> now installation is running
<ghasshee> Or, is it the better way to use some package manager to handle Haskell rather than depneding on nixpkgs-wrapped pkgs?
<{^_^}> [nixos-homepage] @maralorn opened pull request #557 → Replace default.nix by shell.nix in screen cast for nix-shell → https://git.io/JUzry
<grobi> ^>^°.°^<^
<maralorn> ghasshee: I‘d always opt fo the nixpkgs ghc.
<maralorn> ghasshee: Have you tried pkgs.haskell.compiler.ghc882? For some reason there is no 8.8.1, but is that important to you?
tom39291_ has quit [Quit: WeeChat 2.7.1]
knupfer has joined #nixos
<ghasshee> maralon: No, not important. I would like to just try type operator (.)
<ghasshee> Oh, I found that. haskell.compiler have the argument !
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
<ghasshee> maralon: I forgot the name ... would you mind telling me what was the term haskell.compiler.ghc882.withPackages ?
<ghasshee> maralorn: Oops, excuse me.
<{^_^}> [nix] @edolstra merged pull request #4038 → Add a nix.conf option for allowing a symlinked store → https://git.io/JU09v
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/JUzoY
zupo has quit [Ping timeout: 260 seconds]
knupfer has quit [Read error: Connection reset by peer]
<maralorn> ghasshee: btw. what I do is using nixos-stable but pull haskellPackages from unstable. That way I always get the latest and greatest from the Haskell ecosystem.
<ghasshee> maralorn: Thank you for that information! I will try that.
<maralorn> And since 8.8.4 is the default on 20.09 and master right now. It will probably be better supported and you get more cache hits.
bahamas has joined #nixos
etalecohomology has joined #nixos
supercoven has quit [Ping timeout: 240 seconds]
<ghasshee> maralorn: Thanks, I will try 20.09 now! ( I was just using 19.03 yesterday )
n9nes- has joined #nixos
quinn has quit [Ping timeout: 246 seconds]
n9nes has quit [Ping timeout: 272 seconds]
<etalecohomology> hi, i am new to nixos and try to compile a haskell package (-version) with pkg-config dependencies which is *not* yet in nixos/stackage
<etalecohomology> pkg-config and nixos seems to be quite complicated
grobi has quit [Ping timeout: 245 seconds]
captn3m0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
n9nes has joined #nixos
captn3m0 has joined #nixos
<etalecohomology> i always get pkg-config errors in the nix-shell, although the cairo.dev package in buildInputs should provide the .pc files
n9nes- has quit [Ping timeout: 258 seconds]
Sanchayan has joined #nixos
zupo has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<maralorn> etalecohomology: Can you post your error message? Does something in your nix-shell fail or the generation of the nix-shell? If gi-cairo fails to build, that might be because that package you create is not affected by the buildInputs to your mkShell.
quinn has joined #nixos
<etalecohomology> maralorn: yes, gi-cairo fails to but, because it cannot find the cairo-gobject via pkg-config
<etalecohomology> build
zupo has quit [Ping timeout: 272 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
meh` has quit [Read error: Connection reset by peer]
zupo_ has joined #nixos
<etalecohomology> how to provide cairo.dev and pkg-config as a prerequisite before gi-cairo is build
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<etalecohomology> I through the order might matter, but this doesn't seem to be the case
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<etalecohomology> compileBuildDriverPhase
<etalecohomology> Package cairo-gobject was not found in the pkg-config search path.
rprije has quit [Ping timeout: 260 seconds]
supercoven has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout opened pull request #98459 → tests.haskell-shellFor: get compiling again → https://git.io/JUzKv
supercoven_ has joined #nixos
<maralorn> etalecohomology: Is ther a specific reason you are not using the gi-cairo from nixpkgs?
meh` has joined #nixos
<etalecohomology> yes, i have my own package hlabyrinth, which depends on 1.0.24 of gi-cairo
<etalecohomology> I try to compile my own package on nixos
supercoven has quit [Ping timeout: 260 seconds]
<etalecohomology> but I started with something simpler ...
<etalecohomology> when writing packages yourself, you are often bound to the newest versions
grobi has joined #nixos
<grobi> ah shit..
<maralorn> etalecohomology: We use gi-cairo 1.0.24 in nixpkgs.
<maralorn> I personally made the override a few weeks agou.
n9nes- has joined #nixos
<etalecohomology> but how does it work with hackage?
<etalecohomology> ok
<maralorn> So maybe just upgrade to recent unstable?
n9nes has quit [Ping timeout: 260 seconds]
<grobi> i failed to give in correct psswd during installation an have been prompted to " nixos-enter --root '/mnt' " in the new system..
<etalecohomology> but how can I change my shell.nix to correctly install pkgconfig and cairo before building gi-cairo?
<etalecohomology> the same will happen for my package, which is definively not in nixos
<etalecohomology> so i have to solve this problem anyhow
<grobi> but after starting i could not find the possibility to write tha into aproprate terminal
<grobi> how????
<maralorn> etalecohomology: At the point where you bind "gi-cairo = self.callHackage "gi-cairo" "1.0.24" {};" you can use pkgs.haskell.lib.overrideCabal to override the inputs of the package.
waleee-cl has joined #nixos
zupo_ has quit [Ping timeout: 256 seconds]
<grobi> i'm now on the installation media again
<maralorn> gi-cairo does some pkg-config magic. You can see the derivation we use in nixpkgs if you look into pkgs/development/haskell-modules/hackage-packages.nix and search for the string "gi-cairo" =. (It's around line 10000, the file is to big to send you a github link, sorry.)
<maralorn> grobi: Yes, I think that's what that hint meant.
mariatsji has quit []
<etalecohomology> ah ok, so I do overrideCabal and then libraryPkgConfigDepends or so
<maralorn> etalecohomology: Yes
<etalecohomology> what is exactly the problem if I use some hackage package and he complains about not finding some json file when unpacking the .tar
<etalecohomology> happens often to me
<maralorn> etalecohomology: That means the database with all hackage packages in nixpkgs is older than that package version.
<maralorn> etalecohomology: You can circumvent that with callHackageDirect
<grobi> maralorn but what to do now???
<etalecohomology> maralorn: thanks! ... i will try to get it working
<maralorn> grobi: You mount your system under /mnt again like you did during installation.
<grobi> ah, and then that command?
<maralorn> grobi: Then you can either run nixos-install again. Or you use the above command and then run passwd to set the root password.
<maralorn> Although I am not completely sure about the second approach.
<grobi> no please no new installation of all?
hyper_ch2 has quit [Ping timeout: 272 seconds]
hyper_ch2 has joined #nixos
<grobi> the latter sonds better
meh` has quit [Ping timeout: 260 seconds]
<maralorn> grobi: It wouldn‘t reinstall everything. Imagine it like a nixos-rebuild it will only download anything missing to the nix store.
<maralorn> So running nixos-install twice will be much faster the second time.
<{^_^}> [nixpkgs] @primeos opened pull request #98460 → chromium: 85.0.4183.102 -> 85.0.4183.121 → https://git.io/JUz6s
fendor has joined #nixos
<grobi> uff that worked... thanks
<maralorn> etalecohomology: Two hints though: 1. gi-cairo is tightly coupled with a lot of other gi-* packages. So I fear just overriding that one to a newer version might give you build errors (but not sure). 2. If the nixpkgs checkout you use is new enough there might also be gi-cairo_1_0_24. (The logic is on nixpkgs master always the latest hackage version is available via the packagename_version attribute.)
grobi has quit [Remote host closed the connection]
<maralorn> grobi: You're welcome!
mmohammadi9812 has joined #nixos
<{^_^}> [nixos-homepage] @garbas merged pull request #555 → demos/example_6.scenario: fix typo → https://git.io/JUzTV
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JUziv
<{^_^}> [nixpkgs] @jtojnar opened pull request #98461 → haskellPackages: unbreak → https://git.io/JUziI
<{^_^}> [nixos-homepage] @garbas merged pull request #557 → Replace default.nix by shell.nix in screen cast for nix-shell → https://git.io/JUzry
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JUzim
medvid_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixos-homepage] @garbas merged pull request #556 → Fix various typos or formulations in screen casts → https://git.io/JUzrV
<{^_^}> [nixos-homepage] @garbas pushed 4 commits to master: https://git.io/JUziB
gustavderdrache has joined #nixos
mallox has joined #nixos
ris has joined #nixos
medvid_ has joined #nixos
<{^_^}> [nixpkgs] @raboof opened pull request #98462 → gem: 2020-03-26 -> 2020-09-22 → https://git.io/JUzi6
Miyu-saki has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @lsix opened pull request #98463 → django_3: init at 3.1.1 → https://git.io/JUzi7
<{^_^}> [nixpkgs] @lsix closed pull request #96604 → pythonPackages.django_3: init at 3 → https://git.io/JULXM
<{^_^}> [nixops] @andir opened pull request #1405 → nixops copy-closure: use the copy mechanism as exposed by the machine → https://git.io/JUzPe
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<eyJhb> Trying to run this file, to get Omnet++ - https://github.com/Vonfry/omnetpp-nix/blob/master/default.nix, but it fails with error: cannot auto-call a function that has an argument without a default value ('stdenv')
<eyJhb> How would I go about running this?
nikivi has joined #nixos
bahamas has quit [Ping timeout: 260 seconds]
<srhb> eyJhb: usually, default.nix means callPackage.
<srhb> eyJhb: (That being the function that knows how to supply top-level packages to an argset)
<eyJhb> srhb: can I nix-env that in a quick way? `nix-env -i 'callPackage ./default.nix'` ?
Rusty1 has joined #nixos
<srhb> eyJhb: -E is useful.
<clever> pkgs.nix is already doing callPackage for you
<clever> nix-env -f pkgs.nix -iA omnetpp
<srhb> For instance, you could `nix-env -iE 'with import <nixpkgs> {}; callPackage ./default.nix'
<srhb> forgot an {} there..
<srhb> But yeah, looks like there's already an entrypoint in pkgs.nix :)
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<clever> default also depends on osgearth, so youll only get that if you use pkgs.nix
nikivi has joined #nixos
nikivi has quit [Remote host closed the connection]
nikivi has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ris has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @mpoquet opened pull request #98464 → i3nator: init at 1.2.0 → https://git.io/JUz1Z
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
<eyJhb> Thanks!
<eyJhb> I remember why it did not work last time, or rather, it did not work last time :(
n9nes has joined #nixos
evanjs has quit [Excess Flood]
evanjs has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUz1H
n9nes- has quit [Ping timeout: 265 seconds]
domogled has quit [Ping timeout: 258 seconds]
karantan has joined #nixos
domogled has joined #nixos
<eyJhb> Easy way to get around this on a build? `/nix/store/6ffp6xbr6j2ryqw2dafbbvv55ggq16iv-bash-4.4-p23/bin/bash: /build/omnetpp-5.6.2/bin/opp_makemake: /usr/bin/env: bad interpreter: No such file or directory`
<clever> eyJhb: postPatch = "patchShebangs bin";
<{^_^}> [nixpkgs] @teto opened pull request #98465 → Tree sitter update → https://git.io/JUzMJ
tilcreator_ has joined #nixos
<eyJhb> Can I just point it at a dir?
karantan has quit [Client Quit]
<clever> eyJhb: yes
<{^_^}> [nixpkgs] @stigtsp opened pull request #98466 → perl-cross: fix . being included in INC → https://git.io/JUzMq
<{^_^}> [nixpkgs] @romildo opened pull request #98467 → mpv: install mpv_identify.sh → https://git.io/JUzMm
<eyJhb> clever: same error, shouldn't it be a prePatch?
<eyJhb> Nvm. I guess not
<eyJhb> But the error persists
<clever> eyJhb: what is it trying to run? the word after /usr/bin/env
n9nes- has joined #nixos
n9nes has quit [Ping timeout: 240 seconds]
<eyJhb> The opp_makemake is in src/utils, so it is during the build phase it makes "fun things", and it is trying to run perl
<eyJhb> `#!/usr/bin/env perl`
<eyJhb> But trying to run patch on src/utils now
<clever> eyJhb: is perl in the buildInputs ?
meh` has joined #nixos
<eyJhb> ` propagatedNativeBuildInputs = [ gawk which perl file wrapQtAppsHook ];`
<eyJhb> Yes , in that one :)
karantan has joined #nixos
<eyJhb> Trying once more
karantan has quit [Client Quit]
<eyJhb> Seems to work better now
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
<{^_^}> [nix] @edolstra pushed to master « RemoteStore::addCAToStore(): Don't hold connection while calling queryPathInfo() »: https://git.io/JUzDJ
karantan has joined #nixos
anderslundstedt has quit [Quit: leaving]
<eyJhb> clever++
<{^_^}> clever's karma got increased to 511
karantan has quit [Client Quit]
anderslundstedt has joined #nixos
karantan has joined #nixos
<{^_^}> [nixpkgs] @stigtsp opened pull request #98468 → micropython: 1.12 -> 1.13 → https://git.io/JUzDu
Darkmatter66 has quit [Ping timeout: 260 seconds]
srhm has quit [Read error: Connection reset by peer]
<{^_^}> [nixops-aws] @grahamc merged pull request #114 → volumes: treat non-aliased devices as equivalent to aliased ones → https://git.io/JU0oz
<{^_^}> [nixops-aws] @grahamc pushed 2 commits to master: https://git.io/JUzDw
butcher_ has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karantan has joined #nixos
<ghasshee> maralon: I forgot the name ... would you mind telling me what was the term haskell.compiler.ghc882.withPackages ?
<ghasshee> oops sorry , mis-sending
<ghasshee> .. orz
la-jesystani has quit [Ping timeout: 272 seconds]
<{^_^}> [nixops] @grahamc merged pull request #1405 → nixops copy-closure: use the copy mechanism as exposed by the machine → https://git.io/JUzPe
<{^_^}> [nixops] @grahamc pushed 2 commits to master: https://git.io/JUzDx
<{^_^}> [nixpkgs] @taku0 opened pull request #98469 → firefox, firefox-bin: 80.0.1 -> 81.0, firefox-esr: 78.2.0esr -> 78.3.0esr [High security fixes] → https://git.io/JUzDj
evanjs has quit [Read error: Connection reset by peer]
jakobrs has joined #nixos
evanjs has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
morr has quit [Quit: WeeChat 2.3]
<jakobrs> Is it possible to disable the sandbox when using `--store $PWD/nix`?
Sanchayan has quit [Quit: leaving]
<jakobrs> `nix-build --store $PWD/nix --no-sandbox` doesn't seem to actually disable the sandbox
cr4y1_ has joined #nixos
karantan has joined #nixos
morr has joined #nixos
cr4y1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ckauhaus merged pull request #97345 → mcpp: add patch for CVE-2019-14274 → https://git.io/JUZB8
<{^_^}> [nixpkgs] @ckauhaus pushed 2 commits to master: https://git.io/JUzyC
<jakobrs> It seems, on nixUnstable, I can disable the sandbox *only* when not using `--store $PWD/nix`
<eyJhb> clever: Getting this error instead - https://termbin.com/c55d weird since it compiles using the same tgz on Ubuntu
<maralorn> ghasshee: Try haskell.packages.ghc882.ghc.withPackages
<maralorn> Or if you are on 20.09 pkgs.haskell.packages.ghc884.ghc.withPackages aka pkgs.ghc.withPackages which will give you binary caches.
<{^_^}> [nixpkgs] @OmnipotentEntity reopened pull request #97266 → nlohmann_json: 3.7.3 -> 3.9.1 → https://git.io/JUGIf
<clever> eyJhb: the error may depend on which version <nixpkgs> maps to
<clever> eyJhb: it refers to geos in the nix store
<eyJhb> Yeah, guessing that as well. Should maybe try to use nixpkgs from the last commit it was on
<clever> eyJhb: does `nix-build '<nixpkgs>' -A geos` give the same version on both?
<eyJhb> nix-build '<nixpkgs>' -A geos works on my system
<eyJhb> Oh
<clever> but what version does it give, on both?
<eyJhb> Yeah, same version
<eyJhb> `/nix/store/kqq4b77277zjy7jrdqz9c7cxik32maq7-geos-3.8.1` and `/nix/store/kqq4b77277zjy7jrdqz9c7cxik32maq7-geos-3.8.1/include/geos/geom/GeometryFactory.h:280:14: note: candidate: 'geos::geom::Polygon* geos::geom::GeometryFactory::createPolygon(const geos::geom::LinearRing&, const std::vector<geos::geom::LinearRing*>&) const'`
<eyJhb> But maybe I need a older version of geos?
<clever> 26 | # warning "The GEOS C++ API is unstable, please use the C API instead"
<clever> 27 | # warning "HINT: #include geos_c.h"
<clever> but if its the same verison on both, it should be fine...
<clever> eyJhb: what is the output to a successful build?
alp has quit [Ping timeout: 272 seconds]
<eyJhb> clever: the other machine is a Ubuntu machine, so I might not have communicated that well enougt
<eyJhb> I will try to see the version on Ubuntu
<clever> eyJhb: thats why i said "on both"
<eyJhb> That uses 3.8.0
<clever> and on ubuntu it builds?
<eyJhb> So I might have to downgrade to that then
<eyJhb> Yeah
<clever> simplest option is to use the same nixpkgs
<clever> first, do `nix eval -f '<nixpkgs>' lib.version` on the ubuntu machine
etalecohomology has quit [Ping timeout: 272 seconds]
<eyJhb> Didn't specify this as well, ubuntu is non-nix, just plain ubuntu with build-essential! So sorry clever :( Should describe the setup a little better
<eyJhb> So there is no Nixpkgs on it
<clever> ahh
<eyJhb> So I should just find i nixpkgs commit where geos is 3.8.0
<clever> then youll need to either find a 3.8.0 geos in nixpkgs history, or override geos to 3.8.0
<clever> or fix osgEarth to work on 3.8.1
<eyJhb> Commit e80d29221325f056f47ef4bfc0a11772b65cba54 is 3.8.0
<eyJhb> Is there a easy way to do a build with nixpkgs on that commit?
<clever> then add `-I nixpkgs=https://github.com/nixos/nixpkgs/archive/e80d29221325f056f47ef4bfc0a11772b65cba54.tar.gz`
<clever> and it will use that version for <nixpkgs>
<clever> you can also edit the pkgs.nix that is doing the callPackage, to fetch it with fetchTarball
<eyJhb> let nixpkgs = fetchTarball URL; ?
<clever> instead of `import <nixpgks> {}`
<eyJhb> Thanks clever , I will try that when I get home!
<eyJhb> Or tomorrow, have had too much uni for today
domogled has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUzyN
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed to release-20.09 « hop: fix build »: https://git.io/JUzSm
<Taneb> I'm running a VM with a NixOS config (something like $(nix-build -E "(nixos { configuration = ...; }).vm)/bin/run-nixos-vm
<Taneb> I expect the VM to be running a network-accessible service. How can I determine (or fix) the address I can find this on, outside the VM?
superherointj has joined #nixos
<clever> Taneb: one sec
<{^_^}> [nixpkgs] @doronbehar pushed to pkg/newsboat « newsboat: 2.20.1 -> 2.21 »: https://git.io/JUzSC
<{^_^}> [nixpkgs] @doronbehar opened pull request #98471 → newsboat: 2.20.1 -> 2.21 → https://git.io/JUzSW
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @stigtsp closed pull request #96330 → firefox-devedition-bin: 80.0b8 -> 81.0b2 → https://git.io/JUUhC
jakobrs has quit [Quit: WeeChat 2.7.1]
<clever> Taneb: i forget the exact option, but you need to use something like: qemu.networkingOptions = [ "-net" "user,hostfwd=tcp:127.0.0.2:2222-:22" "-net" "nic" ];
<clever> Taneb: you can also build it more easily with `nix-build '<nixpkgs/nixos>' --arg configuration ./configuration.nix -A vm`
cr4y1_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @hakuch opened pull request #98472 → WIP: ocaml: Export mkOcamlPackages again (and a question) → https://git.io/JUzSz
abathur has quit [Quit: abathur]
<{^_^}> [nixpkgs] @doronbehar merged pull request #98444 → viu: 1.0 -> 1.1 → https://git.io/JUzWN
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JUzSP
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ba0bd29a1ae (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
domogled has joined #nixos
butcher_ has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
teto has quit [Ping timeout: 246 seconds]
flythief has joined #nixos
Darkmatter66 has joined #nixos
<flythief> hi, I build llvm and clang in nixos, but I found that using clang++ to compile source file will get error: can't find crt1.o: No such file or directory.(can't find crti.o, crtbegin.o -lgcc_s...) I googled it, someone said that installing gcc-multilib may work. But I'm in nixos. can someone give me some ideas? thanks firstly.
zakame has quit [Ping timeout: 272 seconds]
<flythief> Thanks, I checked this link before. but I want to use clang++ which built by my custom compilation, this link can work only when I use it in system installation? @symphorien[m]
<symphorien[m]> I think you are better off pacakaging your version of clang and llvm in nixpkgs properly
<symphorien[m]> in a local clone of nixpkgs, I mean
<flythief> I found that clang++ in system installation will get crt1.o, crti.o .... etc. but clang++ from my compilation will failed to find them. you mean I should config nix package for my custom compilation?
ckauhaus has quit [Quit: WeeChat 2.7.1]
butcher_ has joined #nixos
<symphorien[m]> yes. the clang provided by nixpkgs is wrapped to inject a few flags that you can see with `export NIX_DEBUG=1`, but the complexity is very high, and I think if your fork of clang is not too strange, it's probably easier to just edit nixpkgs to use it
est31 has quit [Ping timeout: 240 seconds]
est has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #98467 → mpv: install mpv_identify.sh → https://git.io/JUzMm
<ghasshee> maralorn: I am sorry I accidentarily have sent the previous message. By the way, I could not override haskell.packages.ghc882.ghc.withPackages, do you know how to ?
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JUz9F
<flythief> ok, I'm not so familiar with nix config, but I'll try it. maybe it's a chance to know it. thanks. : ) @symphorien[m]
n9nes has joined #nixos
<ghasshee> I am now back on 20.03 since sagemath compilation failed on 20.09 .
<ToxicFrog> flythief: this might be a place where overlays are useful, too
zakame has joined #nixos
<maralorn> ghasshee: What do you mean with "override"?
n9nes- has quit [Ping timeout: 256 seconds]
<maralorn> An example would be `pkgs.haskell.packages.ghc882.ghc.withPackages (ps: [ps.cabal-install ps.hlint ps.lens])`
zupo has joined #nixos
<ghasshee> maralorn: some of my haskell packages were overriden since it depends on some old softwares.
<flythief> @ToxicFrog well, cool place. :)
<maralorn> ghasshee: Ah, I see.
n9nes- has joined #nixos
<maralorn> ghasshee: Try that one `(pkgs.haskell.packages.ghc882.override (self: super: {...})).ghc.withPackages (ps: [...])`
sputny has quit [Quit: sputny]
n9nes has quit [Ping timeout: 260 seconds]
cfricke has quit [Quit: WeeChat 2.9]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cr4y1_ has joined #nixos
pineapples has joined #nixos
ATROCK has joined #nixos
daemon1024 has joined #nixos
cr4y1_ has quit [Read error: Connection reset by peer]
cr4y1 has quit [Ping timeout: 240 seconds]
pineapples has quit [Client Quit]
pineapples has joined #nixos
pineapples has left #nixos [#nixos]
pineapples has joined #nixos
cr4y1_ has joined #nixos
n9nes has joined #nixos
<{^_^}> [nixpkgs] @illiusdope opened pull request #98474 → t.py: init at 2020-04-11 → https://git.io/JUzHw
<ghasshee> maralorn: it seems to return error " error: value is a function while a set was expected"
cr4y1_ has quit [Read error: Connection reset by peer]
<maralorn> Uh
n9nes- has quit [Ping timeout: 256 seconds]
<clever> ghasshee: you may need to wrap it with another () if its inside a list
damjan has quit [Quit: bye]
damjan has joined #nixos
<maralorn> ghasshee: It needs to be "extend" instead of override.
<maralorn> I always confuse those …
<maralorn> Not even sure what override does at that point …
alp has joined #nixos
<{^_^}> [nixpkgs] @hakuch closed pull request #98472 → WIP: ocaml: Export mkOcamlPackages again (and a question) → https://git.io/JUzSz
erasmas has joined #nixos
<ghasshee> maralorn: Thank you, 'extend' seems to have solved and I encountered another problem.
<clever> maralorn: extend takes an overlay, and you can keep chaining it, so you can do `(pkgs.haskell.packages.ghc882.extend overlay1).extend overlay2`
<clever> maralorn: override changes the args callPackage is supplying, one of which is overrides, so you can do `pkgs.haskell.packages.ghc882.override { overrides = overlay; }`
mallox has quit [Quit: WeeChat 2.9]
<clever> maralorn: but .override cant chain, so if you .override again, you replace the old overrides, and loose that overlay
veleiro has joined #nixos
<maralorn> Ah, okay.
etalecohomology has joined #nixos
<clever> maralorn: there is a way to do it with .override (old: { overrides ... }) but then you have to merge the overlays yourself, and it gets ugly
<clever> the main downside to extend, is that it deletes override
domogled has quit [Ping timeout: 258 seconds]
<ghasshee> clever: how to overwrap with () ? I might have three overrided packages but, it does not seem to be written as a list .
<clever> ghasshee: just stick another ( at the front, and a ) at the very end
<clever> > (pkgs.haskell.packages.ghc882.override (self: super: {})).ghc.withPackages (ps: [...])
<{^_^}> error: syntax error, unexpected ELLIPSIS, at (string):324:82
<clever> > (pkgs.haskell.packages.ghc882.override (self: super: {})).ghc.withPackages (ps: [])
<clever> if evalled normally, it gives a set of every haskell package
<{^_^}> value is a function while a set was expected
<clever> oh wait, the withPackages
<clever> > (pkgs.haskell.packages.ghc882.extend (self: super: {})).ghc.withPackages (ps: [])
<{^_^}> "<derivation /nix/store/0mrbbsslhdyjd9s8w03fws6lrlzf524x-ghc-8.8.2.drv>"
<clever> so if evalled normally, its a derivation that gives you ghc
<clever> > [ (pkgs.haskell.packages.ghc882.extend (self: super: {})).ghc.withPackages (ps: []) ]
<{^_^}> [ <CODE> <CODE> ]
sputny has joined #nixos
<clever> ghasshee: BUT, if you ever put that into a list, its 2 functions!
<clever> > [ ((pkgs.haskell.packages.ghc882.extend (self: super: {})).ghc.withPackages (ps: [])) ]
<{^_^}> [ <CODE> ]
<clever> so you must wrap it with another ()
<ghasshee> clever: ah, I see what you mean. Thanks. I have a single function for now.
sputny has quit [Remote host closed the connection]
<ghasshee> clever: I was using ugly way, override (old: { ... } )
mir100 has joined #nixos
mallox has joined #nixos
maljub01 has joined #nixos
<maljub01> Hi, I'm wondering if it's possible to run docker from within a NixOS container. I tried to enable boot.enableContainers but I still get permission errors
maljub01 has quit [Read error: Connection reset by peer]
maljub01_ has joined #nixos
euandreh has quit [Remote host closed the connection]
euandreh has joined #nixos
maljub01 has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
pineapples has quit [Quit: pineapples]
maljub01_ has quit [Ping timeout: 256 seconds]
maljub01 has quit [Client Quit]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
meh` has quit [Ping timeout: 272 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
knupfer has joined #nixos
maljub01 has joined #nixos
etalecohomology has quit [Quit: Lost terminal]
<ghasshee> clever: You are right! Indeed wrapping also solved the same problem, Thank you. ( And I encountered compilation error, which did not occur in ghc865 .. ummm)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6bbdbaabaec (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<lordcirth__> maljub01, nixos uses nspawn, so this may be helpful
<maljub01> lordcirth__ thank you, I'll give that a go
lb5tr has joined #nixos
domogled has joined #nixos
zebrag has joined #nixos
<Taneb> clever: earlier were you thinking of the QEMU_NET_OPTS environment variable? I'm trying that and it feels like it's *almost* working but I'm getting "connection reset" errors
<clever> Taneb: that happens if qemu cant connect to the guest, fire up tcpdump within the guest to see why
<{^_^}> [nixpkgs] @danieldk merged pull request #98413 → softmaker-office: remove /bin/ls intercept → https://git.io/JUupp
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JUz79
<{^_^}> [nixpkgs] @maralorn pushed to haskell-updates « haskellPackages: Fix eval errors »: https://git.io/JUz75
aleph- has quit [Ping timeout: 256 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #98389 → pythonPackages.django: 2.2.15 -> 2.2.16 (for CVE-2020-24583 CVE-2020-24584) → https://git.io/JUuDV
<{^_^}> [nixpkgs] @jonringer pushed commit from @lsix to master « pythonPackages.django: 2.2.15 -> 2.2.16 »: https://git.io/JUz5n
growpotkin has joined #nixos
proofofkeags has joined #nixos
meh` has joined #nixos
Hayden[m] has quit [Quit: Idle for 30+ days]
yvesf[m] has quit [Quit: Idle for 30+ days]
karantan has joined #nixos
zupo_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #98393 → pythonPackages.Mako: cleanup & enable PyPy tests → https://git.io/JUuyu
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to staging: https://git.io/JUz5D
euandreh has quit [Remote host closed the connection]
zupo has quit [Ping timeout: 264 seconds]
jybs- has quit [Quit: ZNC 1.7.5 - https://znc.in]
ShaRose has quit [Remote host closed the connection]
mmohammadi9812 has joined #nixos
jybs- has joined #nixos
ShaRose has joined #nixos
grobi has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #91250 → vscode-extensions.vadimcn.vscode-lldb: init at 1.5.3 → https://git.io/JfNVh
<{^_^}> [nixpkgs] @jonringer pushed commit from @oxalica to master « vscode-extensions.vadimcn.vscode-lldb: init at 1.5.3 »: https://git.io/JUzdL
grobi has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #98461 → haskellPackages: unbreak → https://git.io/JUziI
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JUzdq
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/13a15f262a2 (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> [nixpkgs] @lsix pushed 2 commits to release-20.03: https://git.io/JUzdG
marusich has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #98113 → maestral-qt: 1.1.0 -> 1.2.0 → https://git.io/JUBjQ
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to master: https://git.io/JUzdc
<{^_^}> [nixpkgs] @lsix pushed to release-20.09 « pythonPackages.django: 2.2.15 -> 2.2.16 »: https://git.io/JUzdW
zebrag has quit [Quit: Konversation terminated!]
domogled has quit [Quit: domogled]
cole-h has joined #nixos
sigmundv_ has quit [Read error: Connection reset by peer]
sigmundv_ has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/683736a0f2b (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
flythief has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 168 commits to staging-next: https://git.io/JUzdp
<{^_^}> [nixpkgs] @FRidh pushed 169 commits to staging: https://git.io/JUzdh
<{^_^}> [nixpkgs] @Ma27 opened pull request #98476 → matrix-synapse: 1.19.3 -> 1.20.0 → https://git.io/JUzFL
n9nes- has joined #nixos
n9nes has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #98079 → ocamlPackages.zed: 2.0.3 → 3.1.0 → https://git.io/JUBEy
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.zed: 2.0.3 → 3.1.0 »: https://git.io/JUzFC
D_ has quit [Remote host closed the connection]
<eyJhb> clever: sadly I get the same error :(
<eyJhb> WAIT! It still uses geos-3.8.1?
<{^_^}> [nixpkgs] @Infinisil opened pull request #98477 → Allow specifying a `recursionLimit` for `toPretty` → https://git.io/JUzF4
<eyJhb> Ohh... nvm. Totally did not take the bump commit
n9nes has joined #nixos
D_ has joined #nixos
flythief has joined #nixos
n9nes- has quit [Ping timeout: 272 seconds]
n9nes- has joined #nixos
n9nes has quit [Ping timeout: 240 seconds]
kreyren_ has quit [Remote host closed the connection]
kreyren_ has joined #nixos
teto has joined #nixos
boredom101 has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #98466 → perl-cross: fix . being included in INC → https://git.io/JUzMq
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JUzFg
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roconnor has joined #nixos
<{^_^}> [nixpkgs] @JamieMagee opened pull request #98478 → maintainers: add jamiemagee → https://git.io/JUzFa
dstzd has joined #nixos
dstzd has joined #nixos
dstzd has quit [Changing host]
marusich has quit [Ping timeout: 260 seconds]
philr has quit [Ping timeout: 260 seconds]
<roconnor> Is there a good way to set stdenv to gcc8Stdenv system-wide?
boredom101 has quit [Remote host closed the connection]
<evils> ,escape "${}"
<{^_^}> Escape this in '' strings with: "''${}"
<{^_^}> Escape this in " strings with: \"\${}\"
<eyJhb> Well, clever same error yet again now with the downgraded version
cjpbirkbeck has joined #nixos
fayyyy1 has joined #nixos
<cole-h> roconnor: You could maybe make an overlay for `stdenv` that changes it to `gcc8Stdenv`
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUzbv
<cole-h> If you weren't already aware, this will necessitate a rebuild of quite literally everything, AFAIK...
<cole-h> (I think?)
oida has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #98223 → [20.09] python3Packages.word2vec: fix build and tests → https://git.io/JU0HH
<{^_^}> [nixpkgs] @jonringer pushed commit from @wkral to release-20.09 « python3Packages.word2vec: fix build and tests »: https://git.io/JUzbn
alp has quit [Ping timeout: 272 seconds]
Athas has joined #nixos
<Athas> How do I most conveniently add all the root certificates to my NixOS that are normally found in /etc/ssl/certificates on an Ubuntu 18.04?
<Athas> I need one of them, but not sure which one.
<Athas> Actually, I have a list of eight that I suspect may the ones, so I can start with those I guess.
<{^_^}> [nixpkgs] @jonringer merged pull request #98297 → python3Packages.{segments,clldutils,csvw}: init → https://git.io/JUEVp
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JUzbB
karantan has joined #nixos
supercoven_ has quit [Ping timeout: 272 seconds]
alp has joined #nixos
<srhb> Athas: security.pki.certificates / security.pki.certificateFiles iirc
oida has joined #nixos
mir100 has quit [Ping timeout: 256 seconds]
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #98479 → megapixels: init at 0.8.0 → https://git.io/JUzNJ
<mcaju> Hi, I'm trying to get this PR merged https://github.com/NixOS/nixpkgs/pull/94049 I'm currently stuck because I don't know if I should add vulkan-loader to RPATH or to propagateBuildInputs? It's dlopen'ed by vulkaninfo
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> #94049 (by CajuM, 8 weeks ago, open): Update Vulkan, SPIR-V, glslang and shaderc
alexherbo22 has joined #nixos
astylian has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo22 is now known as alexherbo2
butcher_ has quit [Quit: Leaving]
butcher_ has joined #nixos
zupo has joined #nixos
slack1256 has quit [Ping timeout: 256 seconds]
n9nes has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/06b27898a45 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to release-20.09: https://git.io/JUzN1
n9nes- has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #98480 → python3Packages.transformers: 3.1.0 -> 3.2.0 → https://git.io/JUzNS
alp has quit [Ping timeout: 272 seconds]
mallox has quit [Quit: WeeChat 2.9]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> Hey, this is a long shot, but has anyone experienced XFCE windows flickering since updating to NixOS 20.09?
n9nes- has joined #nixos
n9nes has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #98482 → _1password-gui: 0.8.6-2 -> 0.8.7 → https://git.io/JUzAf
alexherbo25 has joined #nixos
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo25 is now known as alexherbo2
AWizzArd has joined #nixos
maljub01 has quit [Remote host closed the connection]
fayyyy1 has quit [Remote host closed the connection]
<AWizzArd> When I want to install one single unfree program via nix-env, do I still have to edit my ~/.config/nixpkgs/config.nix so that it will include `{ allowUnfree = true; }`? Or can I pass this in as a one-time command line arg?
<cole-h> You could try `--arg config.allowUnfree true`
<cole-h> If that doesn't work, you'll need to edit your config.nix.
bahamas has joined #nixos
<AWizzArd> cole-h: okay, thx
<Henson> does anybody here use procmail on NixOS? I'm trying to make a .procmailrc file do some mail forwarding, and it's not working and I keep getting a "/bin/sh: : No such file or directory" error an am wondering if there's a variable in the .procmailrc file I need to set to make it work properly with NixOS. I've tried the SHELL variable already but it didn't do anything.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hke has quit [Read error: Connection reset by peer]
<worldofpeace> selfsymmetric-mu: lol, welcome xorg. Though it could be driver specific issue, and we did probably update the X stack
hke has joined #nixos
dsx has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #98483 → [20.03] Update SoftMaker Office/FreeOffice → https://git.io/JUzAV
<clever> cole-h: --arg config '{allowUnfree = true; }'
Mateon1 has quit [Read error: Connection reset by peer]
ris has joined #nixos
Mateon1 has joined #nixos
<cole-h> clever: Darn, I was hoping I could be smart and just use the attr path :(
<clever> cole-h: --arg is a lot more complicated then it seems
<roconnor> cole-h: I'm guessing nixpkgs.overlays = [ (self: super: { gcc = self.gcc8; }) ]; might accomplish what I desire
<cole-h> Maybe, but it would probably be better to do `stdenv = self.gcc8Stdenv`...
<roconnor> hmm
<selfsymmetric-mu> worldofpeace: Yeah, I should really record a video at some point. I suspect it's not rendering, but input.
<selfsymmetric-mu> I'll install simplescreenrecorder and give it a shot.
<roconnor> cole-h: he he. That doesn't work because gcc8Stdenv is a modified version of stdenv.
<cole-h> Ah
<roconnor> infinite recursion.
<roconnor> I mean I could use super.
<roconnor> but maybe setting gcc default version is more in line what I am thinking.
<simpson> roconnor: I looked for like 10min but couldn't find exactly where the Linux stdenv chooses GCC versions. `getCompatibleTools` seemed like the most promising thing I haven't explored.
<selfsymmetric-mu> What's a good video pastbin for this?
<simpson> It should be something simple, right? Because surely somebody sometimes bumps some single line to change the default GCC on Linux.
<roconnor> I think I went through the same process before giving up and asking here.
<selfsymmetric-mu> worldofpeace: https://streamable.com/oaur34
<selfsymmetric-mu> Flickering continues if I unplug my keyboard.
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
meh` has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @ujjwaljainnn opened pull request #4052 → fixed typo → https://git.io/JUzxO
<{^_^}> [nixpkgs] @r-ryantm opened pull request #98484 → cryptsetup: 2.3.3 -> 2.3.4 → https://git.io/JUzxG
zupo has joined #nixos
<{^_^}> [nixpkgs] @risicle merged pull request #98240 → [20.09] verilator: 4.040 -> 4.100 → https://git.io/JUEel
<{^_^}> [nixpkgs] @risicle pushed 2 commits to release-20.09: https://git.io/JUzxC
ransom has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @doronbehar opened pull request #98485 → suitesparse: 5.7.2 -> 5.8.1 → https://git.io/JUzxw
lordcirth__ is now known as lordcirth
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #98442 → weather: cleanups, enable on all Unix platforms → https://git.io/JUzWK
<{^_^}> [nixpkgs] @doronbehar pushed 4 commits to master: https://git.io/JUzxd
pf has quit [Quit: WeeChat 2.9]
flythief has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @tricktron opened pull request #98486 → notebook: fix tests on darwin, 6.1.3 -> 6.1.4 → https://git.io/JUzpY
<{^_^}> [nixpkgs] @saschagrunert opened pull request #98487 → buildah: 1.16.1 -> 1.16.2 → https://git.io/JUzpC
ar has quit [Quit: leaving]
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @saschagrunert opened pull request #98488 → podman: 2.0.6 -> 2.1.0 → https://git.io/JUzpE
mmohammadi98122 has joined #nixos
mmohammadi98122 has quit [Client Quit]
ar has joined #nixos
<jasom> So I was experimenting with NIS on nixos, and I'd like to talk abuot nsswitch.nix right now that file needs to be changed for every single module that wants to change nsswitch. I was thinking we could do something like nsswitch.passwd.<module>.priority and then have nsswitch.conf build the files array in priority order, omitting anything with e.g. priority = 0. Then this file could remain
<jasom> unchanged when ading different configuration options, plus people could re-order. Right now the order is hard-coded for passwd to "files sss ldap mymachines cache_oslogin oslogin systemd" and a user can freely omit or include items on that list but not rearrange.
mmohammadi9812 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jbaum98 opened pull request #98489 → Add all Iosevka build plans, including Aile, Etoile, and Sparkle → https://git.io/JUzp6
zebrag has joined #nixos
<fgaz> superherointj_: apparently
<{^_^}> [nixpkgs] @andresilva closed pull request #97409 → linux_zen: enable bfq io scheduler → https://git.io/JUnvK
<fgaz> I am also not a fan of the small font with small weight
<fgaz> oops, sorry, I just replied to an old message (forgot to scroll down)
<fgaz> that was about the website :)
<NieDzejkob> could somebody take a look at https://github.com/NixOS/nixpkgs/pull/98128
<{^_^}> #98128 (by NieDzejkob, 5 days ago, open): chez: add env hook
<fgaz> Also I wish the "video" linked to a transcript when clicked without js
<fgaz> the design is cool though
<samueldr> fgaz: should be doable, javascript-free transcript is part of the options to be investigated
<samueldr> I mean, everything has been built with that assumption in mind
<samueldr> whether to *link* or to *embed* the transcript is the main question for me
<samueldr> (both have advantages and inconvenients)
<fgaz> samueldr: <details>?
<samueldr> sure, that wasn't the real issue
<fgaz> Well I don't think choosing one over the other matters s much as getting it there in the first place
<samueldr> sure, but there is a finite amount of time in a day
saschagrunert has quit [Remote host closed the connection]
<samueldr> the actual main issue is producing an HTML version of the transcript
<samueldr> which requires development time
AmandaC has quit [Remote host closed the connection]
AmandaC has joined #nixos
<fgaz> samueldr: didn't asciinema provide a raw version?
<fgaz> I think it did some... months... years... ago
<samueldr> it's not "hosted" asciinema, it's a tooling garbas wrote
<samueldr> it uses the format and player, but not "true" asciinema
noudle has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #98197 → fix passing qt5 version to pythonInterpreters → https://git.io/JU0Cf
<{^_^}> [nixpkgs] @FRidh pushed commit from @jorsn to master « fix passing qt5 version to pythonInterpreters »: https://git.io/JUzhE
<{^_^}> [nixpkgs] @etu opened pull request #98490 → waybar: Enable pulseaudio by default → https://git.io/JUzhz
cocreature has quit [Quit: A monad is just a monoid in the category of endofunctors, what's the problem?]
<fgaz> oooh nice
bahamas has quit [Ping timeout: 256 seconds]
bennofs_ has quit [Read error: Connection reset by peer]
bennofs has joined #nixos
mmohammadi9812 has joined #nixos
<{^_^}> [nixpkgs] @raboof opened pull request #98491 → inkscape: add inkcut extension → https://git.io/JUzh7
tomberek has joined #nixos
astylian has joined #nixos
bkv has joined #nixos
arahael has quit [Ping timeout: 240 seconds]
bqv has quit [Ping timeout: 244 seconds]
bkv is now known as bqv
karantan has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<garbas> fgaz: samueldr: https://github.com/garbas/asciinema-scenario ... i have bunch of todos i need to fix this week, but that is the tool
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
<vpfeiffer[m]> Any advice for a noobie packaging a dependency for the first time?
arahael has joined #nixos
<tomberek> vpfeiffer[m] Nix Pills, start simple, don't try with a large proprietary system with multiple parts until you have more experience
bahamas has joined #nixos
__Sander__ has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<samueldr> nix-pills help to understand the unlyings of Nixpkgs packaging, but I'm not entirely convinced it's the best first steps guide... though there is not really any for now
<samueldr> I guess the first steps would be getting comfy with nix's syntax
lor has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « obs-v4l2sink: update to latest git 'master' version »: https://git.io/JUzjd
<samueldr> that really helps making heads and tails out of what's in a Nix expression :)
<samueldr> then I guess an option is to also look at "similarly packaged" packages, so something that builds the same way
bahamas has quit [Ping timeout: 264 seconds]
arjen-jonathan has joined #nixos
Pidgeotto has joined #nixos
<vpfeiffer[m]> Thanks
<vpfeiffer[m]> :)
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
knupfer has quit [Read error: Connection reset by peer]
medvid_ has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
medvid_ has joined #nixos
knupfer has joined #nixos
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Client Quit]
lordcirth has quit [Remote host closed the connection]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<srk> garbas: nice, I wrote similar thingie recently https://asciinema.org/a/343380
knupfer has joined #nixos
knupfer has quit [Client Quit]
lordcirth has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has joined #nixos
ransom has joined #nixos
<colemickens> did something in nixUnstable change regarding nix?
<colemickens> somehow "fetching git" from a local path is taking 10x longer than it should
<colemickens> maybe I need to run git gc actually
<{^_^}> [nixpkgs] @vbgl merged pull request #98080 → coqPackages.metalib: 20170713 → 20200527 → https://git.io/JUBao
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.metalib: 20170713 → 20200527 »: https://git.io/JUge6
<{^_^}> [nixpkgs] @r-ryantm opened pull request #98492 → dash: 0.5.11.1 -> 0.5.11.2 → https://git.io/JUgei
<jlv> Has anyone packaged `pgplot` by any chance? It's not in nixpkgs, but maybe someone has an overlay or something?
azure4 has quit [Ping timeout: 260 seconds]
azure4 has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to staging « python3Packages.cryptography: 3.1 -> 3.1.1 »: https://git.io/JUgvT
<{^_^}> [nixpkgs] @vbgl opened pull request #98493 → ikos: 2.1 → 3.0 → https://git.io/JUgvk
sangoma has quit [Quit: WeeChat 2.9]
lsix has quit [Quit: WeeChat 2.9]
<{^_^}> [nixos-homepage] @garbas pushed to fix-554 « typo in minimal docker image example »: https://git.io/JUgvt
<{^_^}> [nixos-homepage] @garbas opened pull request #559 → typo in minimal docker image example → https://git.io/JUgvq
lordcirth_ has joined #nixos
<{^_^}> [nixpkgs] @minijackson closed pull request #63959 → [WIP] firefox-send: init at 3.0.12 → https://git.io/fjKJz
<{^_^}> [nixpkgs] @primeos merged pull request #98460 → chromium: 85.0.4183.102 -> 85.0.4183.121 → https://git.io/JUz6s
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JUgvG
lordcirth has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fgaz opened pull request #98494 → qrcp: renamed from qr-filetransfer, unstable-2018-10-22 -> 0.6.4 → https://git.io/JUgvn
<{^_^}> [nixos-homepage] @garbas merged pull request #559 → typo in minimal docker image example → https://git.io/JUgvq
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JUgvc
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to fix-554: https://git.io/JUgvC
<{^_^}> [nixpkgs] @vbgl pushed to release-20.09 « coqPackages.metalib: 20170713 → 20200527 »: https://git.io/JUgv8
zupo_ has joined #nixos
iceypoi has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #98436 → comic-neue: 2.3 -> 2.5 → https://git.io/JUzGs
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUgv0
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #98437 → cimg: 2.9.1 -> 2.9.2 → https://git.io/JUzZs
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUgvE
icey_ has quit [Ping timeout: 272 seconds]
zupo has quit [Ping timeout: 272 seconds]
endformationage has joined #nixos
lorimer has quit [Read error: Connection reset by peer]
bahamas has quit [Ping timeout: 272 seconds]
lorimer has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to fix-558 « typo in example 2 scenario »: https://git.io/JUgv9
thc202 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-homepage] @garbas opened pull request #563 → typo in example 2 scenario → https://git.io/JUgv7
karantan has joined #nixos
karantan has quit [Client Quit]
<{^_^}> [nixos-homepage] @garbas merged pull request #563 → typo in example 2 scenario → https://git.io/JUgv7
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JUgvp
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to fix-558: https://git.io/JUgvh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #98495 → discount: 2.2.6 -> 2.2.7 → https://git.io/JUgff
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux-rt_5_4: 5.4.61-rt37 -> 5.4.66-rt38 »: https://git.io/JUgfT
<{^_^}> [nixpkgs] @graham33 opened pull request #98496 → zoom-us: 5.2.458699.0906 -> 5.3.465578.0920 → https://git.io/JUgfO
waleee-cl has joined #nixos
lordcirth__ has joined #nixos
lordcirth_ has quit [Ping timeout: 260 seconds]
__red__ has joined #nixos
SunWuKung has joined #nixos
<__red__> So I am packaging something which uses make and cmake. One of the makefile targets calls two cmake targets. Once does a whole bunch of detection and copies some python scripts into the /build directory - the second executes them. Problem I have is that when I sheBang them before the target, the cmake un'sheBangs' them.
<__red__> so I guess I have to somehow separate out that makefile target into two separate makefile targets with a shebang between them?
<__red__> (I tried inserting the shebang into the Makefile, but make doesn't seem to be able to execute shebang
<__red__> )
Jackneill has quit [Ping timeout: 258 seconds]
bahamas has joined #nixos
lordcirth_ has joined #nixos
lordcirth__ has quit [Ping timeout: 240 seconds]
bahamas has quit [Ping timeout: 246 seconds]
lor has quit [Remote host closed the connection]
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #98497 → datovka: 4.15.1 -> 4.15.2 → https://git.io/JUgfb
AWizzArd has left #nixos [#nixos]
Pwnna has quit [Quit: Bye]
Pwnna has joined #nixos
jumper149 has joined #nixos
la-jesystani has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #98498 → cvc3: fix build against bison 3.7 → https://git.io/JUgfh
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<jasom> I have a working prototype for just the passwd entry of my suggestion for nsswitch.nix; I'll cleanup and put up for people to demolish^H^H^H^H^H^H^H^H comment on tonight
la-jesystani has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @zowoq merged pull request #98487 → buildah: 1.16.1 -> 1.16.2 → https://git.io/JUzpC
<{^_^}> [nixpkgs] @zowoq pushed commit from @saschagrunert to master « buildah: 1.16.1 -> 1.16.2 »: https://git.io/JUgJn
<{^_^}> [nixpkgs] @zowoq merged pull request #98488 → podman: 2.0.6 -> 2.1.0 → https://git.io/JUzpE
<{^_^}> [nixpkgs] @zowoq pushed commit from @saschagrunert to master « podman: 2.0.6 -> 2.1.0 »: https://git.io/JUgJC
knupfer has quit [Ping timeout: 244 seconds]
lordcirth__ has joined #nixos
lordcirth_ has quit [Ping timeout: 244 seconds]
meh` has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to fix-553 « Bring back search boxes on the learn page »: https://git.io/JUgJ2
<{^_^}> [nixos-homepage] @garbas opened pull request #564 → Bring back search boxes on the learn page → https://git.io/JUgJa
<jasom> speaking of which, is it possible to just see the output of etc (or even better a single file in etc) when changing nixos (instead of rebuilding all the manuals and restarting service &c.)?
<cransom> building the system (like nixos-rebuild build) will leave you a result sym link which is the top level of the system. so result/etc/ would be the upcoming/built files
<{^_^}> [nixos-homepage] @garbas merged pull request #564 → Bring back search boxes on the learn page → https://git.io/JUgJa
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JUgJ6
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to fix-553: https://git.io/JUgJi
superherointj has quit [Quit: Leaving]
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
<jasom> cransom: that at least lets me test without enabling various services on my current system. Still rebuilds the manuals though every time I change a configuration option
azure4 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @doronbehar opened pull request #98499 → qrupdate: refactor, and assert blas && lapack compatibility → https://git.io/JUgJQ
bahamas has quit [Ping timeout: 256 seconds]
azure4 has joined #nixos
<jlv> Can I set an environment variable to persist through the phases of a derivation? When I set a variable in `preConfigure`, it was no longer set in `configurePhase`.
jumper149 has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @zowoq merged pull request #98353 → bettercap: build on darwin → https://git.io/JUuGn
<{^_^}> [nixpkgs] @zowoq pushed to master « bettercap: build on darwin »: https://git.io/JUgJp
<{^_^}> [nixpkgs] @zowoq merged pull request #98352 → amass: 3.10.1 -> 3.10.3 → https://git.io/JUuGZ
<{^_^}> [nixpkgs] @zowoq pushed to master « amass: 3.10.1 -> 3.10.3 »: https://git.io/JUgJh
<cole-h> Attrs are treated as env vars by mkDerivation
<cole-h> So you could add `var = "asdfd";` and `echo $var` will echo `asdfd`
alp has joined #nixos
<jlv> Oh, neat.
abathur has joined #nixos
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
kiren has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n9nes has joined #nixos
n9nes- has quit [Ping timeout: 260 seconds]
erasmas has quit [Quit: leaving]
marc2 has joined #nixos
felschr[m] is now known as felschr1[m]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6ec10fc77e5 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
alp has quit [Ping timeout: 272 seconds]
n9nes- has joined #nixos
alp has joined #nixos
n9nes has quit [Ping timeout: 240 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
zupo has joined #nixos
evhan has quit [Ping timeout: 240 seconds]
evhan` has joined #nixos
fendor has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
arjen-jonathan has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @doronbehar opened pull request #98500 → sundials: assert that lapack and blas are compatible → https://git.io/JUgU1
<{^_^}> [nixpkgs] @doronbehar opened pull request #98501 → arpack: assert that blas and lapack are compatible → https://git.io/JUgUM
astylian has quit [Remote host closed the connection]
alp has quit [Remote host closed the connection]
astylian has joined #nixos
gluegadget has quit [Ping timeout: 240 seconds]
sdier has quit [Ping timeout: 240 seconds]
claudiii has quit [Ping timeout: 240 seconds]
cbarrett has quit [Ping timeout: 240 seconds]
evck_ has quit [Ping timeout: 240 seconds]
vikingman has quit [Ping timeout: 272 seconds]
nlofaro has quit [Ping timeout: 272 seconds]
wpcarro has quit [Ping timeout: 272 seconds]
alp has joined #nixos
sgraf has quit [Read error: Connection reset by peer]
zmacs has quit [Read error: Connection reset by peer]
jmercouris has quit [Write error: Connection reset by peer]
tnks has quit [Read error: Connection reset by peer]
parseval has quit [Read error: Connection reset by peer]
mudri has quit [Write error: Connection reset by peer]
techtangents has quit [Read error: Connection reset by peer]
jared-w has quit [Read error: Connection reset by peer]
teozkr_ has quit [Read error: Connection reset by peer]
alanz_ has quit [Write error: Connection reset by peer]
jackdk has quit [Read error: Connection reset by peer]
joedevivo has quit [Read error: Connection reset by peer]
kitemikaze_ has quit [Read error: Connection reset by peer]
aristid has quit [Read error: Connection reset by peer]
kozowu has quit [Write error: Connection reset by peer]
d1rewolf has quit [Read error: Connection reset by peer]
grfn has quit [Read error: Connection reset by peer]
aria has quit [Read error: Connection reset by peer]
SrPx has quit [Read error: Connection reset by peer]
pointfree has quit [Read error: Connection reset by peer]
johs has quit [Read error: Connection reset by peer]
jfhbrook has quit [Read error: Connection reset by peer]
murmr has quit [Read error: Connection reset by peer]
sgraf has joined #nixos
gluegadget has joined #nixos
kitemikaze_ has joined #nixos
evck_ has joined #nixos
cbarrett has joined #nixos
alanz_ has joined #nixos
techtangents has joined #nixos
sdier has joined #nixos
zmacs has joined #nixos
jfhbrook has joined #nixos
jmercouris has joined #nixos
teozkr_ has joined #nixos
vikingman has joined #nixos
tnks has joined #nixos
jackdk has joined #nixos
johs has joined #nixos
wpcarro has joined #nixos
murmr has joined #nixos
SrPx has joined #nixos
jared-w has joined #nixos
joedevivo has joined #nixos
mudri has joined #nixos
kozowu has joined #nixos
claudiii has joined #nixos
nlofaro has joined #nixos
parseval has joined #nixos
pointfree has joined #nixos
grfn has joined #nixos
aria has joined #nixos
aristid has joined #nixos
d1rewolf has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
spudly- has joined #nixos
meh` has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 272 seconds]
spudly has quit [Ping timeout: 260 seconds]
spudly- is now known as spudly
<{^_^}> [nixpkgs] @malob closed pull request #80374 → pythonPackages.scan-build: init at 2.0.18 → https://git.io/Jv4mt
cocreature has joined #nixos
<{^_^}> [nixos-homepage] @maralorn opened pull request #566 → Replace default.nix by shell.nix in cover screencast. → https://git.io/JUgTL
alp has joined #nixos
est is now known as est31
<jasom> is lib.mkDefault documented anywhere? I kind of get how it works by example, but I was never able to find actual docs for it.
<{^_^}> [nixpkgs] @stigtsp merged pull request #93057 → ubidump: init at unstable-2019-09-11 → https://git.io/JJOHS
<{^_^}> [nixpkgs] @stigtsp pushed 2 commits to master: https://git.io/JUgTg
codezero12 has joined #nixos
marc2 has quit [Quit: WeeChat 2.8]
marc2 has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<cole-h> jasom: It's a part of the NixOS module system, is all I really know.
<{^_^}> [nixpkgs] @doronbehar pushed to pkg/newsboat « newsboat: 2.20.1 -> 2.21 »: https://git.io/JUgTN
azure4 has quit [Read error: Connection reset by peer]
azure4 has joined #nixos
rprije has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4eec4a7a759 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
Darkmatter66_ has joined #nixos
marc2 has quit [Quit: WeeChat 2.8]
azure4 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @cole-h opened pull request #98502 → nixos/stage-1: set up /dev/fd → https://git.io/JUgkm
azure4 has joined #nixos
Darkmatter66 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #98503 → doc: Improve code listings → https://git.io/JUgkG
hyper_ch2 has quit [Read error: Connection reset by peer]
noudle has quit []
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @maralorn opened pull request #98504 → haskellPackages.haskell-language-server: Add aliases with ghc version → https://git.io/JUgkn
hyper_ch has quit [Remote host closed the connection]
musteresel has joined #nixos
hyper_ch_ has joined #nixos
hyper_ch_ has joined #nixos
hyper_ch_ has quit [Changing host]
alp has quit [Ping timeout: 272 seconds]
puffnfresh_ has quit [Quit: ZNC 1.8.0 - https://znc.in]
alp has joined #nixos
<musteresel> Hi; I'm trying to globally override a package (in /etc/nixos/configuration.nix) but am not getting it right somehow: I want to use a newer version of the VirtualBox Guest Additions, and as such tried to overwrite it both in nixpkgs.config.packageOverrides as well as when specifying boot.kernelPackages. During nixos-rebuild switch it DOES build the newer guest additions, but it still uses the old ones (verified using nix-store --query
<musteresel> --referrers PATH)
Mirrexagon has quit [Ping timeout: 240 seconds]
puffnfresh_ has joined #nixos
niksnut has quit [Ping timeout: 246 seconds]
<jlv> Wow. The NixOS website is looking very nice.
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
orivej has joined #nixos
Mirrexagon has joined #nixos
Rusty1 has joined #nixos
grobi has joined #nixos
<evanjs> any way to produce a list of filenames and paths from a list of absolute paths?
alp has quit [Ping timeout: 272 seconds]
<evanjs> infinisil: trying to combine your stuff from new-modules/default.nix with https://github.com/NixOS/nix/issues/954#issuecomment-449626884
<evanjs> which I'm hoping will solve my problem lol
<stigo> yeah, gj on the new web design
tomberek has quit [Remote host closed the connection]
<evanjs> stigo: I was so confused opening the manual the other day lol
<evanjs> "Where am I"
philr has joined #nixos
<{^_^}> [nixpkgs] @stigtsp opened pull request #98505 → [20.09] perl-cross: fix . being included in INC → https://git.io/JUgIe
<musteresel> I don't get it ... the config value (in the nixos modules) is evaluated as fixed point, no?
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon2 is now known as Mateon1
<jasom> ah, Janne Heß beat me to refactoring nsswitch, I don't like their solution quite as much as mine though.
<das_j> jasom: What's yours?
<das_j> (also I didn't?)
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<jasom> das_j: each module for each entry has a priority for ordering (including files and systemd) so the configuration can customize orderings of modules
lordcirth_ has joined #nixos
<jasom> das_j: I see there is this mkOrder used which I was not aware of; if say the sssd configuration provides a mkOrder, can the user override it in their configuration?
lordcirth__ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #98506 → programs.neovim: init → https://git.io/JUgI3
<das_j> well not really
<das_j> they can `mkForce` and then they'll have to write all entries themselves
<jasom> right, which is what I was trying to avoid
ericsagnes has quit [Ping timeout: 260 seconds]
<das_j> oof
<das_j> feel free to ping me on that PR
<abathur> evanjs: in Nix, I guess?
<jasom> das_j: I'm putting a PR together in a few hours, I noticed your change after I rebased to master and got conflicts
<jasom> das_j: my idea is roughly: `nsswitch.passwd.foo = { priority = mkDefault 123; };` would add a "foo" entry to passwd with ordering of 123, and then a user can do `nsswitch.passwd.foo.priority=456` and reorder just that one entry
alp has joined #nixos
gueorgui has joined #nixos
* jasom has learned to pull before trying out some changes; the conflicting change was 6 months old
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
gueorgui_ has quit [Ping timeout: 260 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<cole-h> jasom: btw I just found this on Discourse: https://discourse.nixos.org/t/what-does-mkdefault-do-exactly/9028
<jasom> cole-h: thanks
<jasom> cole-h: I also found this https://nixos.wiki/wiki/NixOS:Properties
<{^_^}> [nixpkgs] @bhipple closed pull request #65447 → go-chromecast: init at 0.0.11 → https://git.io/fjyBE
<evanjs> abathur: right right
<{^_^}> [nixpkgs] @doronbehar merged pull request #98496 → zoom-us: 5.2.458699.0906 -> 5.3.465578.0920 → https://git.io/JUgfO
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JUgI0
ericsagnes has joined #nixos
<abathur> evanjs: drat :)
jb55 has quit [Ping timeout: 240 seconds]
tarruda has quit [Ping timeout: 260 seconds]
jb55 has joined #nixos
tarruda has joined #nixos