andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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
pbogdan has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
dermetfan has quit [Ping timeout: 252 seconds]
Pwnna has quit [Quit: Bye]
pbogdan has joined #nixos
<nix-build> [nixpkgs] @kalbasit opened pull request #84055 → prow: 2019-08-14 -> 2020-04-01 → https://git.io/Jvd94
sigmundv_ has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #84056 → python37Packages.django-multiselectfield: 0.1.11 -> 0.1.12 → https://git.io/Jvd9z
romanofski_ has quit [Ping timeout: 272 seconds]
<nix-build> [nixpkgs] @jonringer merged pull request #84053 → python37Packages.dash-core-components: 1.8.1 -> 1.9.0 → https://git.io/JvdSo
<nix-build> [nixpkgs] @jonringer pushed 5 commits to master: https://git.io/Jvd9g
<nix-build> [nixpkgs] @jonringer merged pull request #84054 → python37Packages.cliff: 2.17.0 -> 3.1.0 → https://git.io/JvdSQ
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.cliff: 2.17.0 -> 3.1.0 »: https://git.io/Jvd92
mexisme has quit [Ping timeout: 252 seconds]
<nix-build> [nixpkgs] @jonringer merged pull request #84056 → python37Packages.django-multiselectfield: 0.1.11 -> 0.1.12 → https://git.io/Jvd9z
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.django-multiselectfield: 0.1.11 -> 0.1.12 »: https://git.io/Jvd9o
jlv has joined #nixos
Maxdamantus has quit [Ping timeout: 256 seconds]
kleisli has quit [Remote host closed the connection]
<jlv> Is there a typical procedure for packaging a supplementary script that is included with a programs source code?
codygman has quit [Ping timeout: 240 seconds]
<qyliss> You can put it in $out/libexec or $out/share, as appropriate
<qyliss> Or in its own output if it's big
<excelsiora> nixos noob - is there a place to put stuff you'd normally place in .bashrc or .vimrc or wherever? and why isn't my .bashrc taking effect?
<nix-build> [nixpkgs] @jonringer merged pull request #84010 → pt2-clone: 1.06 -> 1.07 → https://git.io/JvdVW
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « pt2-clone: 1.06 -> 1.07 »: https://git.io/Jvd99
<nix-build> [nixpkgs] @Infinisil merged pull request #83875 → glirc: fix build → https://git.io/Jv5wq
<nix-build> [nixpkgs] @Infinisil pushed 2 commits to haskell-updates: https://git.io/Jvd9Q
<nix-build> [nixpkgs] @r-ryantm opened pull request #84057 → python37Packages.hg-evolve: 9.2.2 -> 9.3.0 → https://git.io/Jvd97
<nix-build> [nixpkgs] @jonringer merged pull request #84012 → qbec: 0.10.5 -> 0.11.0 → https://git.io/JvdVH
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « qbec: 0.10.5 -> 0.11.0 »: https://git.io/Jvd95
<nix-build> [nixpkgs] @jonringer merged pull request #84015 → randoop: 4.2.2 -> 4.2.3 → https://git.io/JvdwM
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « randoop: 4.2.2 -> 4.2.3 »: https://git.io/Jvd9d
SrGodZalo has joined #nixos
<qy[m]> well, nix seems determined to make me compile webkitgtk, so i guess i'm done for the night
SrGodZalo has quit [Remote host closed the connection]
<jlv> qyliss: When would libexec vs share be appropriate?
<qyliss> I refer you to the filesystem hierarchy standard :)
<nix-build> [nixpkgs] @jonringer merged pull request #84005 → python3Packages.spyder: unbreak package by removing removed "Editor" category → https://git.io/JvdgX
<nix-build> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « python3Packages.spyder: unbreak package »: https://git.io/Jvd9h
<jlv> qyliss: fair enough :)
<energizer> excelsiora: i use home-manager for all that stuff
<nix-build> [nixpkgs] @bhipple opened pull request #84058 → aws-adfs: 1.21.2 -> 1.24.3 → https://git.io/JvdHe
<energizer> #home-manager
mexisme has joined #nixos
<nix-build> [nixpkgs] @bhipple closed pull request #83931 → aws-adfs: 1.21.2 -> 1.24.3 → https://git.io/JvdUL
<nix-build> [nixpkgs] @worldofpeace merged pull request #83975 → tree-wide: Switch from gnome3.maintainers to lib.teams.gnome → https://git.io/JvdG9
<nix-build> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/JvdHv
<qyliss> jlv: it's also generally fine to install that sort of thing to $out/bin
<qyliss> if nothing else seems appropriate
<nix-build> [nixpkgs] @jonringer merged pull request #84057 → python37Packages.hg-evolve: 9.2.2 -> 9.3.0 → https://git.io/Jvd97
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.hg-evolve: 9.2.2 -> 9.3.0 »: https://git.io/JvdHf
<nix-build> [nixpkgs] @worldofpeace opened pull request #84059 → nixos: add freedesktop/gnome/myself maintainers → https://git.io/JvdHJ
erasmas has joined #nixos
<nix-build> [nixpkgs] @ryantm merged pull request #84007 → picard-tools: 2.22.0 -> 2.22.2 → https://git.io/Jvd2b
<nix-build> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvdHU
<jlv> qyliss: I'm learning towards bin, but I was hesitant because the script uses perl, and I didn't want to add an extra dependency for a supplementary script. My first instinct was actually to create a separate package that depends on the original. For reference, I'm packaging the `conplay` script for playing audiobooks with mpg123.
<qyliss> jlv: ah, in that case you should add multiple outputs
<nix-build> [nixpkgs] @ryantm merged pull request #84003 → openxr-loader: 1.0.6 -> 1.0.8 → https://git.io/Jvdzc
<nix-build> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvdHT
<qyliss> See "multiple outputs" in the Nixpkgs manual
<qyliss> You can create different installable units from the same build, if that makes sense
<qyliss> And it's for exactly this sort of thing.
<nix-build> [nixpkgs] @jonringer merged pull request #84058 → aws-adfs: 1.21.2 -> 1.24.3 → https://git.io/JvdHe
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « aws-adfs: 1.21.2 -> 1.24.3 »: https://git.io/JvdHL
sigmundv_ has quit [Remote host closed the connection]
erasmas has quit [Ping timeout: 256 seconds]
cyphase has quit [Ping timeout: 240 seconds]
ZaraChimera has quit [Quit: Leaving]
<nix-build> [nixpkgs] @r-ryantm opened pull request #84061 → python37Packages.moderngl-window: 1.2.0 -> 2.1.0 → https://git.io/JvdHE
kleisli has joined #nixos
<excelsiora> Please review my pull request to linode's docs: https://github.com/linode/docs/pull/3249/files#diff-960c05a144da46d7a6681930300ad015
<jlv> qyliss: Is that how packages like xorg are packaged, where you can install separate `nixpkgs.xorg.{name}` packages?
<nix-build> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvdH2
cyphase has joined #nixos
<nix-build> [nixos-homepage] @garbas pushed to nix-dev-redirect « redirect /nix-dev to new location »: https://git.io/JvdHw
<nix-build> [nixos-homepage] @garbas opened pull request #377 → redirect /nix-dev to new location → https://git.io/JvdHr
m0rphism has quit [Ping timeout: 264 seconds]
<nix-build> [nixpkgs] @abathur opened pull request #84062 → yadm: install from build directory instead of $src → https://git.io/JvdHX
<nix-build> [nixpkgs] @jonringer merged pull request #84061 → python37Packages.moderngl-window: 1.2.0 -> 2.1.0 → https://git.io/JvdHE
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.moderngl-window: 1.2.0 -> 2.1.0 »: https://git.io/JvdH9
<nix-build> [nixpkgs] @r-ryantm opened pull request #84063 → python37Packages.pytest-pylint: 0.14.1 -> 0.15.1 → https://git.io/JvdHQ
<nix-build> [nixpkgs] @r-ryantm opened pull request #84064 → python37Packages.dash-renderer: 1.2.4 -> 1.3.0 → https://git.io/JvdHd
captjakk has quit [Remote host closed the connection]
<cole-h> Anybody feeling bored and want to test out a rofi-emoji plugin? https://github.com/NixOS/nixpkgs/pull/83753
<nix-build> #83753 (by cole-h, 2 days ago, open): rofi-emoji: init at 2.1.2
raingloom has joined #nixos
<nix-build> [nixpkgs] @jonringer merged pull request #84064 → python37Packages.dash-renderer: 1.2.4 -> 1.3.0 → https://git.io/JvdHd
<nix-build> [nixpkgs] @jonringer pushed 0 commits to master: https://git.io/JvdQv
<jlv> qyliss: Do you know of a split output package that I can reference? From the manual, I'm having a hard time understanding how to convert the mpg123 package into a split output package.
<nix-build> [nixpkgs] @ryantm merged pull request #84006 → pfetch: 0.5.0 -> 0.6.0 → https://git.io/Jvd2o
<nix-build> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvdQT
mir100 has quit [Ping timeout: 252 seconds]
<nix-build> [nixpkgs] @jonringer merged pull request #84063 → python37Packages.pytest-pylint: 0.14.1 -> 0.15.1 → https://git.io/JvdHQ
<nix-build> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvdQq
<edef> jlv: no, xorg is multiple packages
<edef> jlv: like, multiple derivations
<nix-build> [nixpkgs] @r-ryantm opened pull request #84065 → python37Packages.chalice: 1.12.0 -> 1.13.0 → https://git.io/JvdQm
<edef> jlv: whereas a split-output derivation just has something other than the default `outputs = [ "out" ];`
<edef> jlv: say, `outputs = [ "out" "bin" "dev" ];`
sigmundv_ has joined #nixos
<edef> jlv: and now you have $bin and $dev as additional outputs
<nix-build> [nixpkgs] @marsam merged pull request #83935 → amass: 3.5.1 -> 3.5.4 → https://git.io/Jvdkv
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdQO
<nix-build> [nixpkgs] @marsam merged pull request #84024 → terracognita: 0.3.0 -> 0.4.0 → https://git.io/Jvdig
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdQ3
<jlv> edef: I see. So if I want to add one additional output, without breaking anything, I would just add something like `outputs = [ "out" "conplay" ]`. Although, looking through packages that define `outputs =`, I don't see any that use split outputs to package supplementary scripts.
<edef> jlv: there are a few
<jlv> edef: If the supplementary scripts has the original binary as a runtime dependency, do I need to wrap the original binary into the script (like with `wrapProgram`), or can I assume the original binary is always available if the extra output is installed?
Maxdamantus has joined #nixos
<edef> jlv: "installed" isn't necessarily a meaningful concept
<edef> jlv: so yes, use wrapProgram
<thoughtpolice> jlv: Multiple outputs are computed essentially as multiple .drv files, so you can definitely have a dependency on say, the script output "$foo" without having one on "$bin" or "out". Whether or not "installing" something brings multiple outputs into scope is another question
<thoughtpolice> Like, as an example, when you use `nix-env -i` it has some logic to detect and include .man outputs in the installation, if they are available. It installs both .man and .out at once, but that does not mean .man has a dependency on .out. This general rule applies to anything, though.
<thoughtpolice> So TL;DR yes, use wrapProgram to be safe. The worst it will do is add an extra `exec`
wavirc22_ has joined #nixos
wavirc22 has quit [Ping timeout: 240 seconds]
<jlv> thoughtpolice: That makes sense.
codygman has joined #nixos
<thoughtpolice> Really, the only special case a multi-output derivation adds is that, when you refer to a default name `foo` and it has 3 outputs `{out, man, doc}`, then the string antiquote "${foo}" is the same thing as referring to `"${foo.out}"`. Otherwise, multi-output derivations are "more or less" just a couple different derivations wrapped up as an attribute set. Or at least, that's how I think about it.
<thoughtpolice> It's actually a little more special than that: the default antiquote reference is whatever occurs first in the list of `outputs` in the attrset you write. In theory, this should be freeform and could be any set of names, in any order you want. *However*, the current implementation requires the name of the first output to be `out`. (Otherwise you could name it `.bin` or something, which would probably be more accurate in the
<thoughtpolice> general case.)
<cole-h> Though for completeness sake: "${foo}" refers to the first in the `outputs` list, which isn't always `foo.out`
<nix-build> [nixpkgs] @jonringer merged pull request #84065 → python37Packages.chalice: 1.12.0 -> 1.13.0 → https://git.io/JvdQm
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.chalice: 1.12.0 -> 1.13.0 »: https://git.io/JvdQK
<thoughtpolice> cole-h: Oh, maybe that restriction got lifted, then. It was in place for a while
kleisli has quit [Remote host closed the connection]
<thoughtpolice> IIRC
<jlv> thoughtpolice: does that mean I don't have to add `outputsToInstall = [ "out" ]` if I just want it to install the first `outputs` by default?
kleisli has joined #nixos
thc202 has quit [Ping timeout: 252 seconds]
<thoughtpolice> jlv: Nope! And of course there are some extra special cases on top of that, too. You'll always get `.out` for instance -- but if you include something in `buildDepends`, then it includes `.lib` and `.dev` as well, if they exist
<thoughtpolice> That makes things like multi-output libraries transparent
<nix-build> [nixpkgs] @marsam merged pull request #84016 → saml2aws: 2.24.0 -> 2.25.0 → https://git.io/JvdrH
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdQX
h0m1 has quit [Ping timeout: 246 seconds]
nobrak` has joined #nixos
nobrak has quit [Ping timeout: 265 seconds]
h0m1 has joined #nixos
<nix-build> [nixpkgs] @worldofpeace merged pull request #84059 → nixos: add freedesktop/gnome/myself maintainers → https://git.io/JvdHJ
<nix-build> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvdQ9
<jlv> thoughtpolice: Thank you :) I think I got the idea.
<nix-build> [nixpkgs] @marsam merged pull request #83992 → mod: 0.2.2 -> 0.3.0 → https://git.io/JvdRX
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdQQ
pbogdan has quit [Ping timeout: 265 seconds]
<jlv> I think I got it working. That wan't too hard once I understood multiple outputs better :) I'll see about a pull request later :)
<nix-build> [nixos-homepage] @garbas pushed 9 commits to governance: https://git.io/JvdQx
sigmundv_ has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @Profpatsch merged pull request #83895 → lilyterm: 2017-01-06 -> 2019-07-25 → https://git.io/Jv59B
<nix-build> [nixpkgs] @Profpatsch pushed commit from @AndersonTorres to master « lilyterm: 2017-01-06 -> 2019-07-25 »: https://git.io/JvdQp
Maxdamantus has quit [Ping timeout: 250 seconds]
sigmundv_ has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
sigmundv_ has quit [Ping timeout: 256 seconds]
<nix-build> [nixpkgs] @veprbl merged pull request #83914 → gwyddion: support darwin → https://git.io/Jv5hA
<nix-build> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/Jvd7Y
emilsp has quit [Quit: bye]
emilsp has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
ZaraChimera has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
bvdw has joined #nixos
orivej has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
<pjt_014> can someone help me with a thing?
<pjt_014> I'm writing my 1st package file and've hit a bit of a wall
<cole-h> Better to just ask your question, and whoever can help will :)
ottidmes has quit [Ping timeout: 256 seconds]
<pjt_014> okay, so here is the file so far: http://0x0.st/iM07.nix
Pwnna has joined #nixos
<pjt_014> I have added the relevant callPythonPackage ../foo { } whatchamagic in top-level.nix too
<pjt_014> and I get:
<pjt_014> ERROR: Could not find a version that satisfies the requirement docopt (from catcli==0.5.13) (from versions: none)
<pjt_014> ERROR: No matching distribution found for docopt (from catcli==0.5.13)
<excelsiora> so when I update my configuration.nix do I run nixos-rebuild switch with sudo?
<gchristensen> yep!
<excelsiora> k
<pjt_014> If you're not logged in as root, yes
<pjt_014> So is there anything I need to import to have the relevant python dep available?
<pjt_014> Also how do I know if I should write/include any tests?
<pjt_014> I based it loosely off this thing since it's also python:
independent has joined #nixos
IslandUsurper has quit [Quit: Leaving]
<nix-build> [nixpkgs] @jonringer merged pull request #84017 → samurai: 1.0 -> 1.1 → https://git.io/Jvdrx
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « samurai: 1.0 -> 1.1 »: https://git.io/Jvd7E
mexisme has joined #nixos
<nix-build> [nixpkgs] @worldofpeace merged pull request #84037 → nixos/none: remove → https://git.io/Jvd18
<nix-build> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvd7z
Maxdamantus has joined #nixos
kleisli has quit [Quit: Leaving]
<pjt_014> aaagh
<pjt_014> same error
<nix-build> [nixpkgs] @marsam merged pull request #83982 → k9s: 0.17.7 -> 0.18.1 → https://git.io/JvdWc
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvd7V
<pjt_014> Do I need to import 3.7 deps separately?
independent has quit [K-Lined]
captjakk has joined #nixos
captjakk has quit [Remote host closed the connection]
<energizer> pjt_014: you need to put the deps in the expression
<energizer> propagatedBuildInputs = [docopt anytree];
ddellacosta has quit [Ping timeout: 256 seconds]
drakonis has quit [Quit: WeeChat 2.7.1]
Maxdamantus has quit [Ping timeout: 256 seconds]
<pjt_014> I have both those in the header and the prop. build inputs block, but I'm still getting the same error.
Maxdamantus has joined #nixos
<pjt_014> Also where'd you get anytree from?
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<pjt_014> I know docopt is available because it shows up in nix search
drakonis has joined #nixos
<pjt_014> oh I see where you got anytree from nvm
missionformilk has quit [Quit: leaving]
<nix-build> [nixpkgs] @marsam opened pull request #84066 → python3Packages.pdfminer: 20191020 -> 20200402 → https://git.io/Jvd7b
erasmas has joined #nixos
erasmas has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
teto has quit [Ping timeout: 246 seconds]
<nix-build> [nixpkgs] @jonringer merged pull request #84026 → texworks: 0.6.4 -> 0.6.5 → https://git.io/Jvdid
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « texworks: 0.6.4 -> 0.6.5 »: https://git.io/Jvd5t
<nix-build> [nixpkgs] @jonringer merged pull request #84020 → sequeler: 0.7.3 -> 0.7.4 → https://git.io/JvdKe
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « sequeler: 0.7.3 -> 0.7.4 »: https://git.io/Jvd5Y
captjakk has joined #nixos
wucke13 has quit [Quit: ZNC 1.7.5 - https://znc.in]
mumuluxi has quit [Quit: ZNC 1.7.5 - https://znc.in]
amanjeev_ is now known as amanjeev
domogled has joined #nixos
mumuluxi has joined #nixos
wucke13 has joined #nixos
<nix-build> [nixpkgs] @alevy opened pull request #84067 → zulip: 4.0.0 -> 5.0.0 → https://git.io/Jvd5g
captjakk has quit [Ping timeout: 258 seconds]
<excelsiora> so I notice thaat sbt may get its tgz from an url shortener. that seems to go against the nix ethos... am I crazy? https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/build-managers/sbt/default.nix
<kalbasit> is it possible to set the priority while installing a package, i.e `nix-env --set-flag priority 0 -if ./default.nix`
<pjt_014> kalbasit: in package definitions there is
<pjt_014> lib.pkgs.mkOverride # foo or something like that
Maxdaman1us has joined #nixos
<pjt_014> search "nixos mkOverride" and you'll find it
<kalbasit> checking...
<pjt_014> as for doing it on the command line, I don't know of a way to do that
<simpson> excelsiora: You're not crazy. That URL does appear to be shortened; that's unfortunate.
<kalbasit> pjt_014: mkOverride is for nixos modules AFAIK
<kalbasit> What I'm trying to do is install direnv from a local Git repo, except I already have it installed in home-manager
<kalbasit> I just want to test something and uninstall it. Anyway, it's refusing to install due to conflict suggesting to run `nix-env --set-flag priority` but for an already installed package.
<kalbasit> I guess I'll just use the go binary directly
<pjt_014> There is one other thing I can think of
<pjt_014> long shot though
Maxdamantus has quit [Ping timeout: 256 seconds]
<pjt_014> there are a number of Optional types that can be set on conditionals
<nix-build> [nixpkgs] @hrhino opened pull request #84068 → scala-runners: init at e6996f8 → https://git.io/Jvd5P
<pjt_014> i.e. "postPatch = stdenv.lib.optionalString (customConfig != null) ''..."
wavirc22_ has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 240 seconds]
felixfoertsch23 is now known as felixfoertsch
<jlv> What is the proper way to package a script with a hashbang like `#!/usr/bin/env perl`? Is it enough to `wrapProgram` perl, or should I replace the hashbang with `#!${perl}/bin/perl`?
<edef> jlv: patchShebangs will take care of it
<edef> jlv: just make sure to have perl in your buildInputs
<pjt_014> "patchShebangs ." will do everything in the source directory
<jlv> edef: Oh, nice. I didn't know about `patchShebangs`.
<pjt_014> me neither till the lack of it fked up a tool I like :\
wavirc22 has joined #nixos
mounty has joined #nixos
<pjt_014> oh
<pjt_014> I just found a sentence I don't like
<pjt_014> "The attribute python refers to the default interpreter, which is currently CPython 2.7. "
orivej has quit [Quit: No Ping reply in 180 seconds.]
<lovesegfault> What's the right way to make `src` in `mkDerivation` be the files in ./. tracked by git?
<lovesegfault> is it `cleanSource`?
orivej has joined #nixos
andreas303 has quit [Ping timeout: 240 seconds]
andreas303 has joined #nixos
<nix-build> [nix] @Infinisil opened pull request #3468 → Make function arguments retain position info → https://git.io/Jvd5d
<nix-build> [nixpkgs] @marsam merged pull request #83371 → prometheus: 2.16.0 -> 2.17.1 → https://git.io/JvSPQ
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvd5N
domogled has quit [Quit: domogled]
srxl has joined #nixos
<srxl> How can I merge 2 sets together, eg. {a = 1;} and {b = 2;} to make {a = 1; b = 2;}?
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<pjt_014> I think //
<pjt_014> let me check
<srxl> Yep, perfect
<srxl> Cheers ^^
<pjt_014> hm
wavirc22 has joined #nixos
<infinisil> Though depending on context you might not want to use //
orivej has quit [Quit: No Ping reply in 180 seconds.]
<pjt_014> srxl: here's a more exact listing: https://nixos.org/nix/manual/#sec-language-operators
orivej has joined #nixos
<pjt_014> is there a way to import/install packages using pip?
<pjt_014> and if so is it prefered over fetchFromGithub?
<pjt_014> I'm guessing no, but it seems like a pip version would handle deps better
raingloom has quit [Quit: Leaving]
<nix-build> [nixpkgs] @offlinehacker merged pull request #83853 → xpra: fixes for xorg.conf and use xf86videodummy from xorg → https://git.io/Jv5G3
<nix-build> [nixpkgs] @offlinehacker pushed 3 commits to master: https://git.io/JvdFm
<nix-build> [nixpkgs] @bhipple merged pull request #84002 → [20.03] hobbes: init at 2020-03-10 → https://git.io/JvdzG
<nix-build> [nixpkgs] @bhipple pushed 4 commits to release-20.03: https://git.io/JvdFR
waleee-cl has quit [Quit: Connection closed for inactivity]
<nix-build> [nixpkgs] @JustinLovinger opened pull request #84069 → mpg123: add conplay script → https://git.io/JvdF0
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<jlv> qyliss, thoughtpolice, edef: Thank you for all of your help :) The package is looking good and the pull request is open. Please let me know if you see any issues. https://github.com/NixOS/nixpkgs/pull/84069
<nix-build> #84069 (by JustinLovinger, 4 minutes ago, open): mpg123: add conplay script
emptyflask has quit [Quit: WeeChat 2.7.1]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
orivej_ has joined #nixos
<parsnip> does the need a reply?
orivej has quit [Read error: Connection reset by peer]
<parsnip> there's not a question, it just goes ...
<parsnip> *this
mir100 has joined #nixos
<parsnip> i have a really hard time avoiding feeling trolled. they didn't comment on my two points.
<parsnip> like, are they suggesting it's okay that the html is structured that way?
<parsnip> not explicitly, it seems
srxl has quit [Ping timeout: 240 seconds]
<nix-build> [nixpkgs] @Infinisil merged pull request #83241 → lib/strings: Add `sanitizeDerivationName` function → https://git.io/Jvy8K
<nix-build> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JvdFa
<parsnip> "that's irrelevant" would be fun to reply with
<parsnip> all the cool kids are dismissive with "that's irrelevant"
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<evils> parsnip: know about rfcs#64?
<nix-build> https://github.com/NixOS/rfcs/pull/64 (by Infinisil, 12 weeks ago, open): [RFC 0064] New Documentation Format for nixpkgs and NixOS
<infinisil> parsnip: They make a point though, Nix isn't using pandoc for its documentation, so your title doesn't make any sense
<evils> parsnip: ignoring the bot?
orivej has joined #nixos
<parsnip> yes i am, so you mean https://github.com/NixOS/rfcs/pull/64
<nix-build> rfcs#64 (by Infinisil, 12 weeks ago, open): [RFC 0064] New Documentation Format for nixpkgs and NixOS
<parsnip> i think it's reasonable to be ignoring the bot. it's not limited to factoids, it's also giving a play by play of the repo.
<nix-build> rfcs#64 (by Infinisil, 12 weeks ago, open): [RFC 0064] New Documentation Format for nixpkgs and NixOS
<pjt_014> ,locate tic
<nix-build> Found in packages: ncurses, ncurses5
<pjt_014> good bot
<parsnip> why not have one bot for factoids, and one bot for the rss feed?
<infinisil> Only the NOTICEs are autonomous. Non-NOTICE's are user-triggered
<evils> infinisil: you wouldn't happen to know why the bot changed name?
<infinisil> evils: Nope
<infinisil> parsnip: But yeah that's something I want eventually (I run the factoids and other interactive parts of the bot)
<parsnip> hmm, /ignore -n nix-build doesn't work in irccloud. it just ignores it all.
<parsnip> i never stated that nix uses pandoc
<parsnip> should i add a sentence at beginning that says, "some people want to use pandoc to read documentation"
<parsnip> the pandoc docs are an incredibly long page, and difficult to navigate
<infinisil> Oh so *you're* using pandoc
<parsnip> it would be much easier for some of us to digest that very long page in org-mode
<infinisil> Your title "Converting manual to org with pandoc does not make much sense" makes it sound like Nix is using pandoc
<parsnip> any suggestion for how to improve the issue?
<infinisil> Well certainly clarify what you're doing or trying to do
<infinisil> Provide more context, source code, commands, stuff like that
bhipple has quit [Remote host closed the connection]
<parsnip> okay. but my two points were skipped anyways
<parsnip> why is it okay to have the html jumbled like that?
<parsnip> even in the webpage, things are off
<infinisil> Nobody said it's okay
<parsnip> section 8 sits as a sibling to part 2
<OmnipotentEntity> infinisil, hey there, have you ran that tool (RFC45) on nixpkgs yet btw?
<infinisil> omnipotententity: I have, though haven't posted a comment yet
<OmnipotentEntity> cool, does it match my diff?
<infinisil> omnipotententity: There were ~100 missed unquoted URLs, and one (non-problematic) quoted one that wouldn't have to be quoted (since it's commented out). Also sometimes extra spaces were present after the URL (in your PR) :)
<OmnipotentEntity> Still with extra spaces in the current PR?
<infinisil> Haven't checked yet
<OmnipotentEntity> I know about the one in the comment, I did that intentionally.
<OmnipotentEntity> And I'm vastly not surprised about the missed ones.
<infinisil> omnipotententity: It's fairly late for me, but it should be fairly easy to run the tool yourself, just `alias nix-quote-urls="$(nix-build --no-out-link https://github.com/infinisil/nix-quote-urls/tarball/master)/bin/nix-quote-urls"`, then run `nix-quote-urls fixup ~/src/nixpkgs`
<OmnipotentEntity> roger, thanks
erasmas has joined #nixos
<infinisil> I'm biased, but I'd prefer if the tool could be used for the mass replacement in a single commit, while any other manual fixups be done in a separate commit
<infinisil> But I it's nice to know that you arrived at mostly the same result with a bit more manual work :P
<OmnipotentEntity> Honestly, I prefer automated solutions as well. I just thought there was value with having a human spot check. And as I mentioned in the PR, I didn't fancy trying to find a lexer or write a lexer for nix, because I thought it would take more time than it saved.
<OmnipotentEntity> So, as long as both methods arrive at nearly the same result, I'm happy with either.
<infinisil> '' export PATH="${stdenv.lib.makeBinPath ([ ihaskellEnv jupyter ])}\${PATH:+':'}$PATH" ''
erasmas has quit [Ping timeout: 264 seconds]
<infinisil> The `PATH:+':'` is a URL..
<OmnipotentEntity> That is ugly as hell
<OmnipotentEntity> but like, it's already quoted right?
<OmnipotentEntity> Am I missing something?
<parsnip> and infinisil i added a comment, thank you for assisting in improvements: https://github.com/NixOS/nix/issues/3454#issuecomment-607614870
<parsnip> s/and //
<infinisil> omnipotententity: Put a space between PATH and :+':' and try to `nix-instantiate -A ihaskell`
<nix-build> [nixpkgs] @jtojnar pushed to staging-next « gpgme: Fix tests with gnupg > 2.2.19 »: https://git.io/Jvdbm
<parsnip> i'm entertaining the idea of trying to get nix added to exercism.io, by the way
<infinisil> > '' \${PATH:+':'} ''
<nix-build> "\\PATH:+':' "
<OmnipotentEntity> I must really not understand what's going on in this file.
<infinisil> > '' \${PATH :+':'} ''
<nix-build> error: syntax error, unexpected '+', at (string):293:13
<infinisil> > '' \${toString (1 + 1)} ''
<nix-build> "\\2 "
<infinisil> The \ doesn't escape ${ in a '' string
<OmnipotentEntity> oh, I think I get it now? the \ isn't working as intended
<OmnipotentEntity> gotcha
<OmnipotentEntity> I also didn't understand that arbitrary expressions could be evaluated within a ${}
<pjt_014> anyone have experience with python packaging?
<pjt_014> this thing is giving me a headache: https://github.com/NixOS/nixpkgs/issues/84071
<nix-build> #84071 (by petersjt014, 14 minutes ago, open): Add package: catcli
<OmnipotentEntity> I have some experience, but I won't say I'm the most adroit.
<OmnipotentEntity> Let me take a look
<pjt_014> I have packaged exactly 0 packages, so you are more adroit then me.
<OmnipotentEntity> pjt_014, you misspelled propagated
<pjt_014> wat
<pjt_014> was that really it?
<OmnipotentEntity> yeah, almost certainly
wavirc22 has quit [Read error: Connection reset by peer]
<pjt_014> well
<OmnipotentEntity> the fact that it builds but doesn't run means the issue is with your propagatedBuildInputs, and you misspelled the variable as propogated. ;D
<pjt_014> does nix really just ignore that?
wavirc22 has joined #nixos
<OmnipotentEntity> You can define arbitrary variables within an expression
drakonis has quit [Quit: WeeChat 2.7.1]
<OmnipotentEntity> Nix has no way to know if you misspelled a special variable name or intended something else.
<pjt_014> Is there a way to list special variables in scope?
<OmnipotentEntity> You'd have to ask someone that actually knows something about the Nix language. I only know barely enough to do packaging
<pjt_014> Hm.
<pjt_014> I do have a really nice idea tho
<pjt_014> a tool that feeds a nix file thru a filter that checks for misspellings
<pjt_014> all you'd need is a list of specialVarNames
<pjt_014> and a filter that can check everything against a Levenstein distance of ~2
linarcx has joined #nixos
<pjt_014> actually whichever edit distance metric allows for transpositions
<OmnipotentEntity> well, if you want to implement it, there's a link to a haskell implementation of a lexer for the nix language up thread a bit. You could implement it using that.
<pjt_014> that'd be a hell of a nosedive into learning haskell
<nix-build> [nixpkgs] @gnprice opened pull request #84072 → cpython: Use optimizations, for a 25% speedup. → https://git.io/JvdbR
evanjs has quit [Ping timeout: 240 seconds]
<pjt_014> an ugly ass bash script would be enough as a first draft
<OmnipotentEntity> oh, I kind of figure anyone using Nix has at least a passing familiarity with Haskell
<pjt_014> pffft no
<pjt_014> scares me almost as much as lisp
<pjt_014> All my functional programming is in Elixir
extile has left #nixos [#nixos]
<pjt_014> Probably the easiest language to dive into FP with
<pjt_014> unless you count javascript since it got map/reduce/filter and first class functions
linarcx has quit [Quit: WeeChat 2.8]
<kyren> maybe one day nix will have gradual typing to catch such errors: https://github.com/NixOS/nix/issues/14#issuecomment-378201908
<OmnipotentEntity> hey kyren
<kyren> oops, I didn't mean to link that comment, I meant to link the discussion in general
<pjt_014> good summary in there
linarcx has joined #nixos
<pjt_014> minor idea though
<pjt_014> what about a pin operator?
<pjt_014> (almost) like what Elixir has
<pjt_014> "^ foo = bar"
<pjt_014> would only assign a value if it's already in scope
<pjt_014> I think go does something like this with the := operator
evanjs has joined #nixos
lovesegfault has quit [Ping timeout: 272 seconds]
<bsima> why does 'builtins.getEnv "HOSTNAME"' return an empty string?
linarcx has quit [Quit: WeeChat 2.8]
<srhb> bsima: can you provide more details? From whence are you using that function?
<bsima> just in 'nix shell'
<bsima> 'echo $HOSTNAME' gives me the correct value though
<bsima> from in bash
kleisli has joined #nixos
<srhb> bsima: You're going to have to provide more information on how you're using it. I cannot reproduce from this.
<srhb> For instance, this works just fine: { pkgs ? import <nixpkgs> {} }: pkgs.mkShell { shellHook = ''echo ${builtins.getEnv "HOSTNAME"}'';
<bsima> $ nix repl
palo1 has joined #nixos
<bsima> nix-repl> builtins.getEnv "HOSTNAME"
<bsima> ""
<bsima>
<srhb> bsima: And you're certain HOSTNAME is set in the context you're running nix repl there? Because I also cannot reprouce that, running `HOSTNAME=test nix repl`
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
<bsima> ok weird, so 'HOSTNAME=test nix repl' works
<bsima> guess it's something weird with my shell
<srhb> No idea, sounds odd. But yes, I doubt it's a Nix issue.
rauno has joined #nixos
rauno has quit [Remote host closed the connection]
linarcx has joined #nixos
<pjt_014> oh boy here i go compiling gcc again
mexisme has quit [Ping timeout: 252 seconds]
magnetophon has quit [Ping timeout: 256 seconds]
srxl has joined #nixos
codygman has quit [Quit: Quit]
xelxebar_ has joined #nixos
lovesegfault has joined #nixos
<srxl> Is there an easy way to get access to a function in another nix file from a nixos module, besides importing it?
leonardp has joined #nixos
<srxl> Ideally, I'd be able to get it from the module's arguments somehow, eg. `{config, options, newFunction, ... }:`
<nix-build> [nixpkgs] @pnelson opened pull request #84073 → nextdns: init at 1.4.36 → https://git.io/Jvdbd
kenran has joined #nixos
magnetophon has joined #nixos
xelxebar_ has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
chagra has joined #nixos
<nix-build> [nixpkgs] @Infinisil opened pull request #84074 → nixos/treewide: Fix incorrectly rendered examples → https://git.io/Jvdbp
<nix-build> exercism/request-new-language-track#68 (by bradyt, 1 minute ago, open): Language request: Nix
chagra_ has quit [Ping timeout: 256 seconds]
ZaraChimera has quit [Quit: Leaving]
wavirc22 has quit [Ping timeout: 264 seconds]
<nix-build> [nixpkgs] @jtojnar pushed 2 commits to staging-next: https://git.io/JvdNT
linarcx has quit [Read error: Connection reset by peer]
lovesegfault has quit [Quit: WeeChat 2.7.1]
<nix-build> [nixpkgs] @jtojnar pushed to staging-next « airspy: fix build »: https://git.io/JvdNt
<pjt_014> which arch under pkgsCross is macos?
linarcx has joined #nixos
c382feb9 has joined #nixos
zaeph1 has joined #nixos
lovesegfault has joined #nixos
zaeph has quit [Ping timeout: 256 seconds]
Naptra has joined #nixos
rogue_koder has quit [Quit: Konversation terminated!]
<nix-build> [nixpkgs] @Gaelan opened pull request #84075 → minecraft-server: build against jre_headless → https://git.io/JvdNC
<nix-build> [nixpkgs] @jtojnar pushed to staging-next « hackrf: fix build »: https://git.io/JvdN4
c382feb92 has joined #nixos
c382feb9 has quit [Ping timeout: 260 seconds]
<nix-build> [nixpkgs] @vbgl opened pull request #84076 → ocamlPackages.cppo: 1.6.5 → 1.6.6 → https://git.io/JvdNE
linarcx has quit [Read error: Connection reset by peer]
<s1341> Good morning
opthomasprime has joined #nixos
<kenran> I built a nix derivation on my macOS machine and used `nix-copy-closure` to copy it over to a nixos host machine. Should I expect it to work that way (it doesn't, "Exec format error")? Or what is the correct way to get something working on that machine?
erasmas has joined #nixos
linarcx has joined #nixos
<kenran> (I wasn't expecting it to work cross-architecture. I'm just not totally sure, and I'm not really finding a good pointer on what I should do instead short of copying the source over and building it there).
<srhb> kenran: You should not expect it to work. It's built for Mac, not Linux. You'll want to build the derivation on a Linux host, or do a cross build (and I don't know how feasible cross is for Mac->Linux)
<kenran> srhb: Ok, thanks! It should be feasible to build it on a nixos VM I have lying around and deploy from there, or even inside a docker container then, correct?
<kenran> Linux docker container with nix installed*
<srhb> kenran: Yes, definitely. There's also a number of options for setting up remote builders, so builds for a certain arch get auto forwarded
ZaraChimera has joined #nixos
<srhb> Er, actually I'm not sure about the linux docker container. I assume that's doable, but I've never done it myself. Getting nix to work flawlessly in a container setup is probably not trivial due to the sandboxing required.
<srhb> (Then again, if that's implemented on Mac as some sort of container-in-linux-vm, it may be less of a headache)
<srhb> But my first guess is that VM is the simplest way.
erasmas has quit [Ping timeout: 256 seconds]
<kenran> srhb: it is implemented that way. It should not be a real problem, I'm using the nix package manager inside docker a lot. This is the first time I'm actually using nix itself to get something deployable :)
<srhb> kenran: This might interest you: https://github.com/nix-community/linuxkit-nix
<srhb> kenran: Disclaimer: I've no experience with it, but it sounds like exactly what you want
<kenran> srhb: I just remembered I have a CI pipeline set up which runs on linux and that could just output the result of a `nix-copy-closure --export`
<srhb> Does look a bit oldish though.
<srhb> kenran: Why would you export it instead of copying the closure around directly?
<kenran> srhb: thanks, that link looks interesting!
<srhb> I don't see anything really wrong with it, but --import and --export is usually more of a hassle and low-level than doing a direct copy-closure
rauno has joined #nixos
<kenran> srhb: The first step would be the export simply because I don't know yet how to get on the CI machine from here, and I can't get to the target machine from the CI machine.
<srhb> Ah, I see.
<kenran> It's just simpler to have an "artefact" that I can put somewhere first.
<kenran> Thanks a lot for the tips. With all these option I'm sure I'll get something to work. At some point I'll probably post the project nix code somewhere because I'm certain I did some terrible things... :D
<srhb> Sounds good. Good luck :)
<nix-build> [nixpkgs] @jonringer opened pull request #84077 → git-lfs: 2.8.0 -> 2.10.0 → https://git.io/JvdN1
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
ATuin has joined #nixos
zaeph1 has quit [Ping timeout: 265 seconds]
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
cole-h has quit [Ping timeout: 256 seconds]
FRidh has joined #nixos
zaeph has joined #nixos
mexisme has joined #nixos
<xfix> hm, weird, there are 100000 tasks in a queue, and yet according to https://hydra.nixos.org/machines only the Darwin tasks are currently executing, the rest of machines are idle (and I'm pretty sure they have tasks to do)
mexisme has quit [Ping timeout: 252 seconds]
FRidh2 has joined #nixos
FRidh has quit [Ping timeout: 260 seconds]
chagra has quit [Ping timeout: 258 seconds]
mexisme has joined #nixos
Ariakenom has joined #nixos
mir100 has quit [Read error: Connection reset by peer]
<pjt_014> I'm submitting a PR to add a package. If I want it to be available as widely as possible do I just select master?
mir100 has joined #nixos
roosemberth has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #nixos
<evils> pjt_014: i think so, it'll relatively quickly become nixpkgs
roosemberth has joined #nixos
<pjt_014> woohoo
<pjt_014> That's my 1st package added :DD
<evils> grats
<nix-build> [nixpkgs] @petersjt014 opened pull request #84078 → added catcli package, added petersjt014 (me) as maintainer → https://git.io/JvdxJ
<evils> pjt_014: adding yourself as a maintainer should be a separate commit
lsix has joined #nixos
<jtojnar> pjt_014 what do you mean as widely as possible?
<jtojnar> and yes, master is the target for new packages
<etu> pjt_014: The commit message for adding the package should be in the form of: "package-name: init at version-number"
<evils> maybe someone will correct me if i'm wrong, but i think propagatedBuildInputs are also buildInputs, making the buildInputs line redundant
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<etu> The "..." as input to the function should probably be dropped, I don't think it's needed here
o1lo01ol1o has joined #nixos
<pjt_014> jtojnar: fixed the title, looking at other things
<nix-build> [nixpkgs] @fadenb opened pull request #84079 → graylog: 3.2.2 -> 3.2.4 → https://git.io/Jvdx2
cfricke has joined #nixos
captjakk has joined #nixos
<evils> pjt_014: oh and quote the homepage url
cfricke has quit [Client Quit]
cfricke has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
jlv has quit [Remote host closed the connection]
linarcx has quit [Quit: WeeChat 2.8]
captjakk has quit [Ping timeout: 256 seconds]
<pjt_014> There we go. Tidied up the imports (didn't need lib), quoted that url, few other things
linarcx has joined #nixos
<pjt_014> any way I can see in detail what the bot is checking?
<nix-build> [nixpkgs] @jonringer opened pull request #84080 → git-town: 7.2.0 -> 7.3.0 → https://git.io/JvdxA
<pjt_014> oh hey it failed
turion has joined #nixos
<benny> is there a simple example package that has an optional dependency for the test part of the package? or should I just add it to the normal dependency even though it's only used for the test?
st3r4g[m] has quit [Quit: killed]
interro[m] has quit [Quit: killed]
deepchange[m] has quit [Quit: killed]
worldofpeace has quit [Quit: killed]
Dandellion has quit [Quit: killed]
nilsirl[m] has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
simbergm has quit [Quit: killed]
contrun[m] has quit [Quit: killed]
siraben has quit [Quit: killed]
dtz has quit [Quit: killed]
bennofs[m] has quit [Quit: killed]
hiroshi[m] has quit [Quit: killed]
david-sawatzke[m has quit [Quit: killed]
tbenst[m] has quit [Quit: killed]
schmittlauch[m] has quit [Quit: killed]
colemickens has quit [Quit: killed]
davidak[m] has quit [Quit: killed]
Poscat[m] has quit [Quit: killed]
musicmatze has quit [Quit: killed]
leons has quit [Quit: killed]
denbrahe[m] has quit [Quit: killed]
tlater[m] has quit [Quit: killed]
dpc has quit [Quit: killed]
thequux[m] has quit [Quit: killed]
fgaz has quit [Quit: killed]
jschievink has quit [Quit: killed]
chvp has quit [Quit: killed]
sigwinch28 has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
alienpirate5 has quit [Quit: killed]
copy` has quit [Quit: killed]
blitzclone_ has quit [Quit: killed]
alexfmpe[m] has quit [Quit: killed]
noonereally[m] has quit [Quit: killed]
rgb[m] has quit [Quit: killed]
mt[m] has quit [Quit: killed]
Irenes[m] has quit [Quit: killed]
ma27[m] has quit [Quit: killed]
Nyanloutre[m] has quit [Quit: killed]
rycee has quit [Quit: killed]
kaychaks[m] has quit [Quit: killed]
qy[m] has quit [Quit: killed]
abbradar[m] has quit [Quit: killed]
Gaz[m]1 has quit [Quit: killed]
aanderse has quit [Quit: killed]
emily has quit [Quit: killed]
domenkozar[m] has quit [Quit: killed]
philipp[m] has quit [Quit: killed]
mmatthieu has quit [Quit: killed]
unclechu has quit [Quit: killed]
Jank[m] has quit [Quit: killed]
kdedev[m] has quit [Quit: killed]
atemu12[m] has quit [Quit: killed]
ukazka[m] has quit [Quit: killed]
dyon[m] has quit [Quit: killed]
fasd has quit [Quit: killed]
theduke[m] has quit [Quit: killed]
smgb66[m] has quit [Quit: killed]
ZamaneKz[m] has quit [Quit: killed]
Guest90185 has quit [Quit: killed]
shizonic has quit [Quit: killed]
florianjacob has quit [Quit: killed]
ongy[m] has quit [Quit: killed]
quiet_laika[m] has quit [Quit: killed]
maralorn has quit [Quit: killed]
VaNilLa[m] has quit [Quit: killed]
seb314[m] has quit [Quit: killed]
Smith[m] has quit [Quit: killed]
phittacus has quit [Quit: killed]
rihardsk[m] has quit [Quit: killed]
Guest23652 has quit [Quit: killed]
wedens[m] has quit [Quit: killed]
alexgood has quit [Quit: killed]
GerdFlaig[m] has quit [Quit: killed]
roberth has quit [Quit: killed]
sleibrock[m] has quit [Quit: killed]
M4cheese[m] has quit [Quit: killed]
emery[m] has quit [Quit: killed]
jjwatt[m] has quit [Quit: killed]
slabity has quit [Quit: killed]
danielrf[m] has quit [Quit: killed]
f0i[m] has quit [Quit: killed]
mica[m] has quit [Quit: killed]
arianvp[m] has quit [Quit: killed]
rnhmjoj has quit [Quit: killed]
Zero-ghost[m] has quit [Quit: killed]
matthewbauer has quit [Quit: killed]
imj[m] has quit [Quit: killed]
Keith[m] has quit [Quit: killed]
tyrion-mx has quit [Quit: killed]
psiperator[m] has quit [Quit: killed]
das-g[m] has quit [Quit: killed]
kyren has quit [Quit: killed]
Florian[m]1 has quit [Quit: killed]
Leira[m] has quit [Quit: killed]
arturo[m] has quit [Quit: killed]
gudea[m] has quit [Quit: killed]
ryanmaclean[m] has quit [Quit: killed]
bricewge has quit [Quit: killed]
Minijackson[m] has quit [Quit: killed]
rendeko[m] has quit [Quit: killed]
tokudan[m] has quit [Quit: killed]
makaveli[m] has quit [Quit: killed]
edomfjp[m]1 has quit [Quit: killed]
boogiewoogie[m] has quit [Quit: killed]
jonreeve[m] has quit [Quit: killed]
Fafnir[m] has quit [Quit: killed]
Albakham[m] has quit [Quit: killed]
pkolloch[m] has quit [Quit: killed]
maljub01[m] has quit [Quit: killed]
korrosive[m] has quit [Quit: killed]
xa0[m] has quit [Quit: killed]
wildtrees[m] has quit [Quit: killed]
petersjt014[m] has quit [Quit: killed]
pingveno[m] has quit [Quit: killed]
balsoft has quit [Quit: killed]
tpmadz[m] has quit [Quit: killed]
evanjs[m] has quit [Quit: killed]
layus[m] has quit [Quit: killed]
jwaksbaum[m] has quit [Quit: killed]
M0x0120f[m] has quit [Quit: killed]
MilkManzJourDadd has quit [Quit: killed]
pheoxy has quit [Quit: killed]
jtojnar has quit [Quit: killed]
eddyb has quit [Quit: killed]
cornu has quit [Quit: killed]
wak-work has quit [Quit: killed]
loyon[m] has quit [Quit: killed]
DamienCassou has quit [Quit: killed]
Victor[m] has quit [Quit: killed]
Valodim[m] has quit [Quit: killed]
mkg20001 has quit [Quit: killed]
arcnmx has quit [Quit: killed]
aparkerdavid has quit [Quit: killed]
timokau[m] has quit [Quit: killed]
Notkea[m] has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
bohan[m] has quit [Quit: killed]
veleiro has quit [Quit: killed]
mexisme has quit [Ping timeout: 242 seconds]
goibhniu has quit [Quit: killed]
chris| has quit [Quit: killed]
mykiwi has quit [Quit: killed]
ZerataX has quit [Quit: killed]
aquarial has quit [Quit: killed]
RainDroppz[m] has quit [Quit: killed]
ecou[m] has quit [Quit: killed]
ianmjones[m] has quit [Quit: killed]
ndreas[m] has quit [Quit: killed]
alexarice[m] has quit [Quit: killed]
aniketd[m] has quit [Quit: killed]
init_6[m] has quit [Quit: killed]
codyopel has quit [Quit: killed]
sputny[m] has quit [Quit: killed]
bendlas has quit [Quit: killed]
Pasha[m] has quit [Quit: killed]
BenSima[m] has quit [Quit: killed]
<nix-build> [nixpkgs] @jonringer opened pull request #84081 → google-music-scripts: 4.0.1 -> 4.3.0 → https://git.io/JvdpJ
grin[m] has quit [Quit: killed]
watzon has quit [Quit: killed]
vaibhavsagar has quit [Quit: killed]
cyberwolf[m] has quit [Quit: killed]
aterius has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
hpfr[m] has quit [Quit: killed]
puzzlewolf has quit [Quit: killed]
gnxlxnxx[m] has quit [Quit: killed]
nolan_d has quit [Quit: killed]
ksixty has quit [Quit: killed]
keithy[m] has quit [Quit: killed]
killercup[m] has quit [Quit: killed]
jamiemagee has quit [Quit: killed]
softinio[m] has quit [Quit: killed]
wjjunyor[m] has quit [Quit: killed]
NobbZ[m] has quit [Quit: killed]
mindtree[m] has quit [Quit: killed]
exprez135[m] has quit [Quit: killed]
the_pumpkin_man[ has quit [Quit: killed]
cab404[m] has quit [Quit: killed]
tamwile[m] has quit [Quit: killed]
bachp has quit [Quit: killed]
grahamc[m] has quit [Quit: killed]
<evils> pjt_014: i think you should still separate the maintainers-list edit into its own commit
<est31> is there a way to install -dev packages?
<evils> benny: not sure what the context is, but if an input isn't being used i think it won't be in the closure
<est31> I want to develop software
<est31> need something that's compatible with pkgconfig
m0rphism has joined #nixos
<lovesegfault> est31: The Nix way is not to install things, but to write small dev shells instead
mexisme has joined #nixos
<est31> lovesegfault: do you have links?
<lovesegfault> est31: here's an example: https://gist.github.com/c66f56436590d85f85c00eac2df7fd80
<benny> evils: the context is that want to improve the babashka package because I would like it to get added (there have been three PR's for it so far) and it builds fine right now, but to run the tests, it needs the leiningen package
<nix-build> [nix] @edolstra pushed 3 commits to flakes: https://git.io/Jvdpq
<benny> but leiningen isn't needed outside of the test
<est31> lovesegfault: btw, I found a resolution for my older problem https://discourse.nixos.org/t/error-when-trying-to-override-a-package/6487
<lovesegfault> est31: normally you'd want `cargo` instead of `rustup`, I'm using rustup here to do something cursed
<evils> benny: it is a build time dependency, not a runtime dependency? then add it to nativeBuildInputs
<benny> I guess it's a build time dependency, it's only for the test and not needed for the runtime
<evils> sounds like a job for nativeBuildInputs
FRidh has joined #nixos
<est31> lovesegfault: opensslShared doesn't work
FRidh2 has quit [Ping timeout: 264 seconds]
<benny> cool, I'll check if maybe the other dependency is also only for the and not runtime, thanks
<est31> does that mean I have to install openssl manually?
<lovesegfault> est31: you don't need to do the thing I did for llvm with openssl
<lovesegfault> llvm is weird
<lovesegfault> just add openssl to `buildInputs`
<est31> ok
<lovesegfault> You _may_ need to do something stupid like `buildInputs = with pkgs; [ openssl.out ]` because openssl IIRC has split outputs
<pjt_014> soooo the bot says the one test it did failed because I didn't list outputs (though no examples I found did so)
<pjt_014> What would I need to list then?
<pjt_014> I know that the first listed becomes the default
<pjt_014> Some examples I've found use "out", some "bin"
<pjt_014> and I've seen both "doc" and "man"
o1lo01ol1o has joined #nixos
<pjt_014> If I can I'd want to know for sure before busying the bot again
linarcx has quit [Quit: WeeChat 2.8]
linarcx has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
lovesegfault has quit [Ping timeout: 272 seconds]
<evils> pjt_014: that bot is quite good at being cryptic, i think i've had such a failure message when i didn't add myself as a maintainer, could you separate your maintainer-list edit and put it before the package init, maybe that helps...
bvdw has quit [Read error: Connection reset by peer]
laduke has quit [Ping timeout: 252 seconds]
bvdw has joined #nixos
laduke has joined #nixos
<pjt_014> Is there an easy way to walk that back with git?
<nix-build> [nixos-artwork] @mogorman opened pull request #49 → 20.03 Markhor art work → https://git.io/Jvdp8
mallox has joined #nixos
zupo has joined #nixos
<evils> git reset --mixed remotes/origin/master; git add maintainers/maintainers-list.nix; git commit -m "add pjt_014"; git add -A; git commit -m "catcli: init at 0.5.8"
Valodim[m] has joined #nixos
<Valodim[m]> benny: there is checkInputs
<srxl> The `//` doesn't seem to do a "deep merge". Is there any way to do this in Nix, ie. `{ foo = { bar = "bar"; }; }` + `{ foo = { baz = "baz"; }; }` should give `{ foo = { bar = "bar"; baz = "baz"; }; }`
<evils> woeps, that should be maintainers-list: add <your username>, and the right version ofc; learning to use git rebase -i is quite valuable too though
teto has joined #nixos
mexisme has quit [Ping timeout: 256 seconds]
teto has quit [Ping timeout: 256 seconds]
jtojnar has joined #nixos
<jtojnar> srxl you can use lib.recursiveUpdate
<nix-build> [nixpkgs] @flokli opened pull request #84083 → openssl(_1_1): patch CVE-2019-1551 → https://git.io/Jvdpw
<srxl> Just found that :P
civodul has joined #nixos
<pjt_014> evils: I tried it (with the fixes) and there's apparently nothing to push
<nix-build> [nixpkgs] @flokli opened pull request #84084 → openssl(_1_1): patch CVE-2019-1551 → https://git.io/Jvdp6
o1lo01ol1o has joined #nixos
smatting has joined #nixos
<evils> pjt get `git status` and `git log`?
<evils> s/get/check/
<pjt_014> status says nothing to commit, log just has my existing two commits
opthomasprime has left #nixos [#nixos]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<evils> replace `git reset --mixed remotes/...` with `--mixed HEAD~2`?
<pjt_014> same. no effect.
<nix-build> [nixpkgs] @worldofpeace pushed to revert-84037-remove-none.nix « Revert "nixos/none: remove" »: https://git.io/JvdpS
<nix-build> [nixpkgs] @worldofpeace opened pull request #84085 → Revert "nixos/none: remove" → https://git.io/Jvdp9
<nix-build> [nixpkgs] @worldofpeace merged pull request #84085 → Revert "nixos/none: remove" → https://git.io/Jvdp9
<nix-build> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvdpH
<pjt_014> I'm gonna try finding the hash and reverting to that
thc202 has joined #nixos
<pjt_014> that did it
<nix-build> [nixpkgs] @petersjt014 closed pull request #84078 → catcli: init at 0.5.13 → https://git.io/JvdxJ
<pjt_014> dont know why that happend
<nix-build> [nixpkgs] @vcunat merged pull request #84084 → [20.03] openssl(_1_1): patch CVE-2019-1551 → https://git.io/Jvdp6
<nix-build> [nixpkgs] @vcunat pushed 308 commits to staging-20.03: https://git.io/JvdpA
jonge[m] has joined #nixos
mt[m] has joined #nixos
xa0[m] has joined #nixos
bohan[m] has joined #nixos
musicmatze has joined #nixos
bserckx[m] has joined #nixos
mykiwi has joined #nixos
DamienCassou has joined #nixos
Poscat[m] has joined #nixos
codyopel has joined #nixos
deepchange[m] has joined #nixos
siraben has joined #nixos
Minijackson[m] has joined #nixos
aterius has joined #nixos
tlater[m] has joined #nixos
ryanmaclean[m] has joined #nixos
rendeko[m] has joined #nixos
alienpirate5 has joined #nixos
emery[m] has joined #nixos
david-sawatzke[m has joined #nixos
contrun[m] has joined #nixos
philipp[m] has joined #nixos
puzzlewolf has joined #nixos
hiroshi[m] has joined #nixos
alexarice[m] has joined #nixos
bqv[m] has joined #nixos
balsoft has joined #nixos
shizonic has joined #nixos
unclechu has joined #nixos
kaychaks[m] has joined #nixos
bricewge has joined #nixos
colemickens has joined #nixos
vaibhavsagar has joined #nixos
Gaz[m]1 has joined #nixos
sigwinch28 has joined #nixos
st3r4g[m] has joined #nixos
cornu has joined #nixos
copy` has joined #nixos
rycee has joined #nixos
blitzclone_ has joined #nixos
dtz has joined #nixos
killercup[m] has joined #nixos
wedens[m] has joined #nixos
goibhniu has joined #nixos
domenkozar[m] has joined #nixos
fgaz has joined #nixos
cyberwolf[m] has joined #nixos
MilkManzJourDadd has joined #nixos
noonereally[m] has joined #nixos
ongy[m] has joined #nixos
jschievink has joined #nixos
quiet_laika[m] has joined #nixos
tokudan[m] has joined #nixos
layus[m] has joined #nixos
rgb[m] has joined #nixos
enick_900 has joined #nixos
gnxlxnxx[m] has joined #nixos
f0i[m] has joined #nixos
Victor[m] has joined #nixos
thequux[m] has joined #nixos
edomfjp[m] has joined #nixos
ZerataX has joined #nixos
arcnmx has joined #nixos
bachp has joined #nixos
timokau[m] has joined #nixos
pheoxy has joined #nixos
Notkea[m] has joined #nixos
mindtree[m] has joined #nixos
thefloweringash has joined #nixos
pkolloch[m] has joined #nixos
aanderse has joined #nixos
ecou[m] has joined #nixos
Dandellion has joined #nixos
chvp has joined #nixos
jamiemagee has joined #nixos
watzon has joined #nixos
maljub01[m] has joined #nixos
nilsirl[m] has joined #nixos
mkg20001 has joined #nixos
wak-work has joined #nixos
Pasha[m] has joined #nixos
kyren has joined #nixos
ksixty has joined #nixos
Jank[m] has joined #nixos
eddyb has joined #nixos
abbradar[m] has joined #nixos
grin[m] has joined #nixos
florianjacob has joined #nixos
tbenst[m] has joined #nixos
interro[m] has joined #nixos
das-g[m] has joined #nixos
simbergm has joined #nixos
jonreeve[m] has joined #nixos
bennofs[m] has joined #nixos
worldofpeace has joined #nixos
Florian[m]1 has joined #nixos
dyon[m] has joined #nixos
Zero-ghost[m] has joined #nixos
exprez135[m] has joined #nixos
korrosive[m] has joined #nixos
hpfr[m] has joined #nixos
Ox4A6F has joined #nixos
schmittlauch[m] has joined #nixos
keithy[m] has joined #nixos
Guest7156 has joined #nixos
Ericson2314 has joined #nixos
dpc has joined #nixos
aquarial has joined #nixos
imj[m] has joined #nixos
nolan_d has joined #nixos
veleiro has joined #nixos
RainDroppz[m] has joined #nixos
arturo[m] has joined #nixos
davidak[m] has joined #nixos
danielrf[m] has joined #nixos
slabity has joined #nixos
sputny[m] has joined #nixos
makaveli[m] has joined #nixos
leons has joined #nixos
mmatthieu has joined #nixos
Irenes[m] has joined #nixos
petersjt014[m] has joined #nixos
Keith[m] has joined #nixos
softinio[m] has joined #nixos
grahamc[m] has joined #nixos
M4cheese[m] has joined #nixos
ianmjones[m] has joined #nixos
smgb66[m] has joined #nixos
JosW has joined #nixos
kdedev[m] has joined #nixos
BenSima[m] has joined #nixos
ndreas[m] has joined #nixos
loyon[m] has joined #nixos
jjwatt[m] has joined #nixos
aniketd[m] has joined #nixos
Albakham[m] has joined #nixos
wjjunyor[m] has joined #nixos
Nyanloutre[m] has joined #nixos
alexgood has joined #nixos
fasd has joined #nixos
NobbZ[m] has joined #nixos
maralorn has joined #nixos
bendlas has joined #nixos
the_pumpkin_man[ has joined #nixos
tyrion-mx has joined #nixos
psiperator[m] has joined #nixos
chris| has joined #nixos
arianvp[m] has joined #nixos
atemu12[m] has joined #nixos
M0x0120f[m] has joined #nixos
cab404[m] has joined #nixos
Leira[m] has joined #nixos
Fafnir[m] has joined #nixos
evanjs[m] has joined #nixos
boogiewoogie[m] has joined #nixos
theduke[m] has joined #nixos
rnhmjoj has joined #nixos
pingveno[m] has joined #nixos
ma27[m] has joined #nixos
aparkerdavid has joined #nixos
ZamaneKz[m] has joined #nixos
init_6[m] has joined #nixos
phittacus has joined #nixos
Smith[m] has joined #nixos
VaNilLa[m] has joined #nixos
wildtrees[m] has joined #nixos
matthewbauer has joined #nixos
tamwile[m] has joined #nixos
seb314[m] has joined #nixos
sleibrock[m] has joined #nixos
mica[m] has joined #nixos
tpmadz[m] has joined #nixos
rihardsk[m] has joined #nixos
gudea[m] has joined #nixos
alexfmpe[m] has joined #nixos
jwaksbaum[m] has joined #nixos
GerdFlaig[m] has joined #nixos
roberth has joined #nixos
<nix-build> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/d011e474945 (from 25 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
ukazka[m] has joined #nixos
mlatus has quit [Remote host closed the connection]
<benny> I think force-pushing ought to work, but not using a PR specific branch can be dangerous
<benny> I also had a PR just autoclose because I force pushe, I have to figure out again how to do that safely, haven't contributed in a while
<nix-build> [nixpkgs] @vcunat pushed to staging « openssl(_1_1): patch CVE-2019-1551 »: https://git.io/Jvdht
<nix-build> [nixpkgs] @vcunat merged pull request #84083 → openssl(_1_1): patch CVE-2019-1551 → https://git.io/Jvdpw
<evils> pjt_014: you pushed an older version of master to your master branch, not having any changes there closed the PR i think
mlatus has joined #nixos
<pjt_014> ah. well it should be fine now, think I did it right.
<nix-build> [nixpkgs] @alyssais merged pull request #83986 → squashfs-tools-ng: 0.8 -> 0.9 → https://git.io/Jvd4l
<nix-build> [nixpkgs] @alyssais pushed to master « squashfs-tools-ng: 0.8 -> 0.9 »: https://git.io/JvdhY
ambroisie has quit [Ping timeout: 256 seconds]
<pjt_014> now how do I reopen it?
<benny> can I repeat once more how amazing zramSwap is, what a godsend, even if it's clearly affecting fluidity when you're at 100% main memory and 80% zram swap usage :P
<evils> pjt_014: there should be a button at the bottom, it may be greyed out...
<pjt_014> it was...now it isn't.
<nix-build> [nixpkgs] @petersjt014 reopened pull request #84078 → catcli: init at 0.5.13 → https://git.io/JvdxJ
<evils> can't reopen if it's been reopened i guess xD
erasmas has joined #nixos
<nix-build> [nixpkgs] @Izorkin opened pull request #84087 → mariadb: update build configuration. → https://git.io/Jvdhc
linarcx has quit [Quit: WeeChat 2.8]
dermetfan has joined #nixos
<nix-build> [nixpkgs] @matthiasbeyer opened pull request #84088 → plume: init at 0.4.0-alpha-4 → https://git.io/JvdhE
Darkmatter66_ has joined #nixos
linarcx has joined #nixos
<pjt_014> Well I got the stupid thing about not listing outputs again
Darkmatter66 has quit [Ping timeout: 256 seconds]
<pjt_014> How am I supposed to know what outputs to list?
<pjt_014> should I just wing it and list out + man?
erasmas has quit [Ping timeout: 250 seconds]
<evils> euhm
<evils> nix-build -A catcli tells me "error: undefined variable 'x86-64-linux'
<evils> "
<pjt_014> are you in nixpkgs?
<pjt_014> also I check platform stuff
<pjt_014> it didnt complain ever, even with a platform of "arm-fasdfksf"
<pjt_014> I am now seeing that it's "x86_64-linux", but I don't understand why it doesn't complain at me
wspthr has joined #nixos
<evils> you want `platforms = with platforms; [ "x86_64-linux" "i686-linux" ];`
<pjt_014> should I also add outputs = [ "out ] just to please the bot? (looks like there are no manpages included anyway)
<evils> i think the output issue is listing a platform output that doesn't exist
<LnL> outputs = [ "out" ]; is the default so you don't need to add that
<pjt_014> well I'll try it with just the platform change
chagra has joined #nixos
mallox has quit [Quit: WeeChat 2.7.1]
<LnL> but it's better to use platforms.linux instead of listing them explicitly
<LnL> or does this not work on eg. arm?
__monty__ has joined #nixos
mallox has joined #nixos
<pjt_014> I tested it and it explicitly only works on x64 and i686
<pjt_014> it does not build on aarch64
<pjt_014> I wanted the list to reflect that since aarch is an 'official' arch in nixpkgs
<pjt_014> ffs
<pjt_014> bot gives me the exact same message
CRTified has quit [Ping timeout: 240 seconds]
<nix-build> [nixpkgs] @ehmry opened pull request #84089 → yggdrasil: 0.3.13 -> 0.3.14 → https://git.io/JvdjO
* evils digs up an hdmi cable to boot his pi
<pjt_014> you can also do -A pkgsCross.aarch64-multiplatform.catcli
<nix-build> [nixpkgs] @Mic92 merged pull request #83583 → pythonPackages.alarmdecoder: init at v1.13.9 → https://git.io/JvQq4
<nix-build> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/Jvdjc
CRTified has joined #nixos
mexisme has joined #nixos
<nix-build> [nixpkgs] @Mic92 pushed to master « home-assistant: add mic92 as maintainer »: https://git.io/JvdjW
wspthr has quit [Quit: The Lounge - https://thelounge.chat]
wspthr has joined #nixos
<pjt_014> trying the cross-build again just to see
<nix-build> [nixpkgs] @jonringer closed pull request #84019 → nixos/local: deprecate provider → https://git.io/Jvdon
wspthr has quit [Client Quit]
wspthr has joined #nixos
<nix-build> [nixpkgs] @peterhoeg opened pull request #84090 → wp-cli: 2.2.0 -> 2.4.0 → https://git.io/JvdjR
mallox has quit [Quit: WeeChat 2.7.1]
<pjt_014> oh boy another copy of gcc
mallox has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<pjt_014> here's it failing to build for aarch64 (minus fetching paths): http://0x0.st/iMkC.txt
<pjt_014> evils: in the meantime if you wanna see what's failing the log's here ^
mallox has quit [Quit: WeeChat 2.7.1]
mallox has joined #nixos
gulplante has joined #nixos
<evils> pjt_014: looks like `gts` fails, dependency of graphviz, dependency of anytree, dependency of catcli; i think that means you want platforms.all, but either mark it as broken on aarch64, or blame the test setup, because i can't find a `gts.aarch64` failure on hydra
<evils> pjt_014: unless there's a particular reason to think it only works on linux, i'd go with platforms.all and see what the bot says about aarch64
smatting has quit [Ping timeout: 252 seconds]
mallox has quit [Quit: WeeChat 2.7.1]
smatting has joined #nixos
mallox has joined #nixos
<pjt_014> I'm going to leave it for now (gotta sleep) and see if anything more comes of it by tomorow. If not, I'll add it.
fendor has joined #nixos
<evils> gn
<pjt_014> Before that though, I think a careful look at the bot's message ("This PR does not cleanly list package outputs after merging") might hint at what it's for
<pjt_014> Something is different after merging? dunno
<pjt_014> anyway I'll be back in like 8~14 hrs or something
smatting has quit [Ping timeout: 256 seconds]
<nix-build> [nixpkgs] @alyssais merged pull request #84090 → wp-cli: 2.2.0 -> 2.4.0 → https://git.io/JvdjR
<nix-build> [nixpkgs] @alyssais pushed commit from @peterhoeg to master « wp-cli: 2.2.0 -> 2.4.0 »: https://git.io/JvFes
smatting has joined #nixos
captjakk has joined #nixos
<nix-build> [nixpkgs] @alyssais merged pull request #84080 → git-town: 7.2.0 -> 7.3.0 → https://git.io/JvdxA
<nix-build> [nixpkgs] @alyssais pushed commit from @jonringer to master « git-town: 7.2.0 -> 7.3.0 »: https://git.io/JvFen
pjt_014 has quit [Ping timeout: 264 seconds]
captjakk has quit [Read error: Connection reset by peer]
emilsp has quit [Quit: bye]
captjakk has joined #nixos
emilsp has joined #nixos
<nix-build> [nixpkgs] @danbst pushed to release-20.03 « postgresql-wal-receiver: fix test for Pg12 (#80268) »: https://git.io/JvFe4
__monty__ has quit [Quit: leaving]
captjakk has quit [Ping timeout: 258 seconds]
<nix-build> [nixpkgs] @doronbehar opened pull request #84092 → gthumb: add gst plugins and needed environment for video playbacl → https://git.io/JvFeu
c382feb92 has quit [Ping timeout: 265 seconds]
gulplante has quit [Ping timeout: 240 seconds]
ottidmes has joined #nixos
gulplante has joined #nixos
pbogdan has joined #nixos
o1lo01ol1o has joined #nixos
<srxl> Is there a shorthand for something like `if foo ? bar then foo.bar else defaultValue`?
<nix-build> [nixpkgs] @dywedir opened pull request #84093 → kanshi: 1.0.0 -> 1.1.0 → https://git.io/JvFeA
chloekek has joined #nixos
<michaelpj> srxl: foo.bar or defaultValue
detran has quit [Quit: ZNC 1.7.4 - https://znc.in]
anohigisavay has joined #nixos
<srxl> ah, much nicer lol
<srxl> cheers
<nix-build> [nixpkgs] @DieGoldeneEnte opened pull request #84094 → llvmPackages_10: init at 10.0.0 → https://git.io/JvFve
detran has joined #nixos
<anohigisavay> hi! sorry for this noob question. How can I inspect values in my configuration.nix via 'nix repl'
<anohigisavay> like 'boot.loader', 'security.sudo', etc
<ottidmes> anohigisavay: nix repl '<nixpkgs/nixos>' then you get config.boot.loader
<ottidmes> anohigisavay: remember you can use :p to print values deeper
<anohigisavay> ottidmes: works great! thank you!
<nix-build> [nixpkgs] @flokli closed pull request #82793 → [20.03] openssl: 1.1.1d -> 1.1.1e → https://git.io/JvXc0
<anohigisavay> I should have googled it up myself but my socks server stopped working so i have no access to the external world (poor Chinese citizen)
<nix-build> [nixpkgs] @Mic92 merged pull request #84089 → yggdrasil: 0.3.13 -> 0.3.14 → https://git.io/JvdjO
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvFvT
rauno has quit [Remote host closed the connection]
CRTified has quit [Quit: Gateway shutdown]
<ottidmes> anohigisavay: you can pass files to nix repl, and it support the <...> notation, and in this case it is is simply loading /path/to/your/nixpkgs/nixos/default.nix, which then is auto called (which is supported by many of the nix tooling), i.e. when the file contains a function with as the argument an attrset that all have defaults, it will call it with the empty attrset automatically
<ottidmes> anohigisavay: which in the case of /path/to/your/nixpkgs/nixos/default.nix is `maybeEnv "NIXOS_CONFIG" <nixos-config>` for the configuration, and builtins.currentSystem for system
<michaelpj> `nixos-option` will also do this for you: `nixos-option boot.loader`
<nix-build> [nixpkgs] @vcunat pushed to staging « openssl: 1.1.1d -> 1.1.1f »: https://git.io/JvFvm
<ottidmes> anohigisavay: in the case of nix, there always is nix --help, and per subcommand nix repl --help
<nix-build> [nixpkgs] @vcunat closed pull request #82789 → openssl: 1.1.1d -> 1.1.1e → https://git.io/JvXcO
cosimone has joined #nixos
<anohigisavay> ottidmes: thank you very much. i remembered reading about the <...> notation on nix pill but then have forgotten :)
<anohigisavay> ottidmes: michaelpj: thank you guys for the info! saved my day!
<nix-build> [nix] @edolstra pushed 2 commits to flakes: https://git.io/JvFvO
<nix-build> [nix] @edolstra pushed to flakes « Doh »: https://git.io/JvFv3
<nix-build> [nixpkgs] @timokau opened pull request #84095 → calibre: fix build of desktop items → https://git.io/JvFvs
sigmundv_ has joined #nixos
captjakk has joined #nixos
<ottidmes> anohigisavay: as a refresher, <something> looks up files on the NIX_PATH, left to right, which can contain directories or prefixes that function as aliases
<nix-build> [nixpkgs] @vcunat pushed to staging-20.03 « openssl: 1.1.1d -> 1.1.1f »: https://git.io/JvFvn
<nix-build> [nixpkgs] @DieGoldeneEnte opened pull request #84096 → llvmPackages_latest: llvm9->llvm10 → https://git.io/JvFvc
<ottidmes> anohigisavay: but other than the already supported prefixes, like nixos-config, nixpkgs-overlays, and nixpkgs, you should not really use it your self, since it is rather impure (your build will depend on an external definable env variable)
<anohigisavay> ummm... the exact problem i have is that i want to have two mutually exclusive services (binding the same tcp port), one is enabled by default, and occasionnally i want to manually switch between them (i.e. systemd stop a, systemd start b)
captjakk has quit [Ping timeout: 265 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<anohigisavay> the only relevant config key is 'enable', but if i set it to false for one of the services, it is marked as "masked", and i can't do `systemd enable` or `systemd start` on it.
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
turion has quit [Ping timeout: 246 seconds]
<anohigisavay> i thought there would be some key like 'start' on the services but no.
<bqv[m]> enable it, then find the underlying systemd definition and remove the wantedBy value
<bqv[m]> that way, it will be created by nix, but not enabled
<bqv[m]> then you can manally enable it when wanted
<anohigisavay> bqv[m]: wow! that did the job!
<anohigisavay> bqv[m]: thank you!
<bqv[m]> np
hax404 has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @markuskowa merged pull request #83993 → moosefs: 3.0.110 -> 3.0.112 → https://git.io/Jvd0Y
<nix-build> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvFva
laduke has quit [Ping timeout: 240 seconds]
hax404 has joined #nixos
laduke has joined #nixos
turion has joined #nixos
zupo has joined #nixos
ZaraChimera has quit [Quit: Going offline, see ya! (www.adiirc.com)]
erasmas has joined #nixos
<ldlework> How do I install an icon theme such that it shows up in ~/.local/share/icons ?
<nextloop> i want to manage some software with nix on my opensuse tumbleweed installation. what exactly are the pros and cons for mutli vs single user installation? the docs here ( https://nixos.org/nix/manual/#chap-installation ) only talk about "multiuser is better"
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
erasmas has quit [Ping timeout: 256 seconds]
hax404 has quit [Ping timeout: 246 seconds]
<nix-build> [nixpkgs] @primeos merged pull request #83956 → chromium: 80.0.3987.149 -> 80.0.3987.162 → https://git.io/JvdYt
<nix-build> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JvFfJ
<ottidmes> ldlework: maybe HM has something for it, other than that, all I can think of is installing in systemPackages and symlinking /run/current-system/sw/share/icons to ~/.local/share/icons, or specific icons in it
kqb has joined #nixos
<bqv[m]> ldlework: yes, h-m supports changing icon themes
knupfer has joined #nixos
iyzsong has joined #nixos
<ottidmes> nextloop: here is some indirect discussion about the two: https://discourse.nixos.org/t/should-nix-2-1-default-to-multi-user-on-linux-or-mac/845 in summary I think multi user is how Nix is designed to be used, but single user is simpler and allows to work around some limitations
<bqv[m]> There is also a pr that adds it to nixpkgs
<bqv[m]> But it won't be merged in our lifetime
<ottidmes> what is better naming for the path to nixpkgs, just nixpkgs, or nixpkgsPath, the latter is the most explicit, but the former should already be enough, cause we already have pkgs to mean the packages in nixpkgs, so nixpkgs should conceptually already point to a path
<bqv[m]> Why not just use pkgs.path…
<bqv[m]> Its already there
<bqv[m]> Or (import <nixpkgs> {}).path
<ottidmes> bqv[m]: its not like I need access to pkgs.path, I need the path to another nixpkgs than your default <nixpkgs>
<ottidmes> so suggesting pkgs.path is like suggesting to use the final thing to get the original, not working ;)
<bqv[m]> Hm. Right
<nix-build> [nixpkgs] @ttuegel merged pull request #83862 → cmake: 3.16.5 -> 3.17.0 → https://git.io/Jv5Wh
<nix-build> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/JvFfK
<ottidmes> and I need to supply custom arguments to the nixpkgs function, so I really do need the original path
<nix-build> [nixpkgs] @ttuegel merged pull request #83152 → qxmledit: init at 0.9.15 → https://git.io/JvDKi
<nix-build> [nixpkgs] @ttuegel pushed 3 commits to master: https://git.io/JvFfP
o1lo01ol1o has quit [Remote host closed the connection]
<ldlework> lol holy crap the "nerdfonts" package is 2 gigs
<ldlework> that's a lot of fonts
<srk> heh, yeah, I've disabled it after a while
__monty__ has joined #nixos
hax404 has joined #nixos
mallox_ has joined #nixos
mallox_ has quit [Client Quit]
mallox_ has joined #nixos
CptCaptain has joined #nixos
<bqv[m]> …huh
noudle has joined #nixos
mallox has quit [Ping timeout: 265 seconds]
knupfer has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @primeos pushed to master « chromiumDev: Remove a patch that is already applied »: https://git.io/JvFJm
cosimone_ has joined #nixos
<nix-build> [nixpkgs] @7c6f434c merged pull request #84033 → fpc: 3.0.0 -> 3.0.4; lazarus: 1.8.4 -> 2.0.6 → https://git.io/JvdXV
<nix-build> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JvFJg
eof_ has joined #nixos
<ldlework> If I fetchFromGithub a repository which has a bash script, how do I pass the contents of that bash script to pkgs.writeShellScriptBin?
<ldlework> Let's say `let foo = pkgs.fetchFromGithub`
<ldlework> and the script is in scripts/bar.sh
eof has quit [Ping timeout: 264 seconds]
* ldlework pokes bqv[m]
coco has quit [Ping timeout: 240 seconds]
<gulplante> ldlework: you cna read a files contents with fileContents so fileContents "${foo}/scripts/bar.sh" should work. or foo.outPath/scripts/bar.sh or something
<ldlework> Thank you so much
<ikwildrpepper> ldlework: I wouldn't use writeScriptBin, but just a runCommand "store-name" {} "mkdir -p $out ; cp ${src}/scripts/bar.sh $out/bin"
<ldlework> it has a hashbang that wont work
<gulplante> look into patchShebangs
<ikwildrpepper> run patchShebangs after cp
<ikwildrpepper> ldlework: runCommand "store-name" {} "mkdir -p $out ; cp ${src}/scripts/bar.sh $out/bin ; patchShebangs $out"
<ldlework> why don't I want writeShellScriptBin?
cosimone_ has quit [Quit: Quit.]
<ikwildrpepper> seems useless to read the contents to nix first, and then outputting it again, but I guess it is a matter of taste, perhaps :)
<gulplante> ldlework: writeShellScriptBin is just a wrapper around runCommand. ikwildrpepper's method is more straightforward
<ikwildrpepper> unless you want to process the string in nix for some reason
<ldlework> I feel like it's just forcing me to write the boilerplate over and over?
<gulplante> you could define a function that outputs your boilerplate bash, if you like
<ikwildrpepper> ldlework: nix supports functions, if you want to abstract, you can just write your own function :)
<ikwildrpepper> ok, I'll let gulplante answer now :D
<ldlework> isn't.. that was writeShellScriptBin is...?
* ikwildrpepper highfives gulplante
<gulplante> ikwildrpepper: I was thinking the same thing lol :D
<adisbladis> ldlework: If you want it to fit into the model writeShellScriptBin is using you'll end up with IFD
<adisbladis> ,IFD ldlework
<nix-build> ldlework: import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
<bqv[m]> ldlework: sorry, I have pings turned off cause of qyliss :p
<ldlework> Will this really not work?
<ldlework> home.packages = [ pkgs.writeShellScriptBin "rofi-apps" (fileContents "${applets}/scripts/apps.sh") ];
<ldlework> where applets is a fetchFromGit?
cosimone has quit [Remote host closed the connection]
<adisbladis> That works, though you'd also want to patch the shebang
cosimone has joined #nixos
<ldlework> I thought that's what writeShellScriptBin does
<nix-build> [nixpkgs] @aanderse merged pull request #83760 → matomo: 3.13.3 -> 3.13.4 → https://git.io/Jv7gJ
<nix-build> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvFUm
<adisbladis> No, it doesn't
<ldlework> Which is why I was confused why I would just rewrite it
o1lo01ol1o has joined #nixos
<adisbladis> Iirc writeShellScriptBin does basically this: "#!{pkgs.runtimeShell}" + "\n" + contents
kleisli has quit [Remote host closed the connection]
<ldlework> Is there a nix-level patchShebangs?
<ikwildrpepper> no
<adisbladis> No, you're better of with runCommand
kleisli has joined #nixos
FRidh2 has joined #nixos
FRidh has quit [Ping timeout: 252 seconds]
<ldlework> Thanks everyone
<ldlework> If I want to extract multiple scripts from this git repo
<ldlework> I should make a derivation right
<nix-build> [nixpkgs] @Mic92 merged pull request #83529 → borgbackup: Improve documentation → https://git.io/JvH5w
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvFUC
<ldlework> so I can do multiple scripts at once and stick them all in $out/bin/ right
<ldlework> rather than multiple runCommand's against the same source repo?
<ikwildrpepper> ldlework: yes, just cp whatever you want in the one runCommand
<ldlework> Oh OK
<bqv[m]> Oh no
<bqv[m]> Yes
<bqv[m]> You probably should be anyway
<adisbladis> ldlework: Actually runCommand is just an abstraction on top of stdenv.mkDerivation
o1lo01ol1o has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @matthiasbeyer opened pull request #84097 → buku: 4.2.2 -> 4.3, introduce new dependency → https://git.io/JvFUg
coco has joined #nixos
<ldlework> this makes sense
<ldlework> adisbladis: with mkderivation i could just make the src the github repo directly though right?
waleee-cl has joined #nixos
<nix-build> [nixpkgs] @matthiasbeyer opened pull request #84098 → mwic: 0.7.7 -> 0.7.8 → https://git.io/JvFUK
chloekek has quit [Ping timeout: 258 seconds]
rauno has joined #nixos
<nix-build> [nixpkgs] @timokau merged pull request #84095 → calibre: fix build of desktop items → https://git.io/JvFvs
<nix-build> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JvFUS
<nix-build> [nixpkgs] @matthiasbeyer opened pull request #84100 → fava: 1.13 -> 1.14 → https://git.io/JvFUH
<nix-build> [nixpkgs] @Mic92 pushed to master « nixos/borgbackup: fix evaluation »: https://git.io/JvFTk
<adisbladis> ldlework: Yes, but then you'd have to opt out of default builder behaviour yourself
mallox has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<nix-build> [nixpkgs] @worldofpeace opened pull request #84101 → calibre: install desktop items → https://git.io/JvFTq
v0|d has joined #nixos
chagra has quit [Quit: WeeChat 2.7.1]
mallox_ has quit [Ping timeout: 265 seconds]
<ldlework> adisbladis: something like setting buildPhases to an empty list or something?
fusion809 has joined #nixos
<nix-build> [nixpkgs] @timokau opened pull request #84102 → borgbackup: fix syntax → https://git.io/JvFTn
chagra has joined #nixos
anohigisavay has quit [Quit: Konversation terminated!]
<nix-build> [nixpkgs] @Mic92 closed pull request #84102 → borgbackup: fix syntax → https://git.io/JvFTn
<adisbladis> ldlework: Something like this http://ix.io/2glk/nix
<ldlework> adisbladis: wow thanks
<nix-build> [nixpkgs] @Mic92 merged pull request #79343 → rgp: init at 1.7.0.29 → https://git.io/JvZgm
<nix-build> [nixpkgs] @Mic92 pushed commit from @Flakebi to master « rgp: init at 1.7.0.29 (#79343) »: https://git.io/JvFTE
lsix1 has joined #nixos
<nix-build> [nixpkgs] @marsam merged pull request #84030 → tpm2-pkcs11: 1.1.0 -> 1.2.0 → https://git.io/JvdPx
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvFTg
<cab404[m]> is there any function nixpkgs to wrap binary into namespace with reduced caps?
<nix-build> [nixpkgs] @mmilata opened pull request #84103 → nixos/moinmoin: fix maintainer reference → https://git.io/JvFTa
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AmandaC has joined #nixos
AmandaC_ has joined #nixos
captjakk has joined #nixos
Guest99375 has quit [Ping timeout: 256 seconds]
domogled has joined #nixos
AmandaC has quit [Ping timeout: 260 seconds]
captjakk has quit [Ping timeout: 240 seconds]
teto has joined #nixos
<ldlework> adisbladis: I have this, but the scripts still have #!/usr/bash
o1lo01ol1o has joined #nixos
<nix-build> [nixpkgs] @romildo opened pull request #84104 → mate.mate-common: 1.24.0 -> 1.24.1 → https://git.io/JvFTp
<nix-build> [nixpkgs] @Mic92 merged pull request #83406 → nixos/pixiecore: init → https://git.io/JvSFK
<nix-build> [nixpkgs] @Mic92 pushed commit from @bbigras to master « nixos/pixiecore: init (#83406) »: https://git.io/JvFkv
<ldlework> oh
<ldlework> figured it out
<ldlework> niiice
chagra has quit [Ping timeout: 240 seconds]
<b42> cab404[m]: that's easy for systemd services, which i assume is not your case?
chagra has joined #nixos
<nix-build> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d5526f0d983 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<cab404[m]> @b42 i thought of something more userspace (in terms of permission management), and app-like, like flatpak
<cab404[m]> * b42 i thought of something more userspace (in terms of permission management), and app-like, like flatpak
<hyper_ch> what is the logic behind the new interface naming? eth0 on one server became eno1 and on another server it's now enp0s31f6 - WTF?
cosimone has quit [Remote host closed the connection]
<cab404[m]> your search engine is faster than my search engine
chagra has quit [Ping timeout: 265 seconds]
<b42> cab404[m]: there's also security.wrappers on nixos: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/programs/mtr.nix#L33
<cab404[m]> ooo, sounds cute
<cab404[m]> looks a bit too low level though. firejail wrapper maybe?
<ottidmes> hyper_ch: I always harcode my interface names with their mac address via udev rules, that solves the issue predictable network interface names is trying to solve, while still giving me what I consider nicer names, like eth0 and the like
chagra has joined #nixos
<b42> cab404[m]: also possible https://nixos.org/nixos/manual/options.html#opt-programs.firejail.wrappedBinaries
eof_ has quit [Ping timeout: 260 seconds]
<ottidmes> cab404[m]: maybe you find this interesting: https://github.com/jollheef/appvm
<cab404[m]> link is dead, but i'll ag in nixpkgs in a sec
<bqv[m]> you can also just enable apparmor and create a profile
<cab404[m]> ottidmes: imma contributor there :D
<hyper_ch> adisbladis: thx :) ottidmes: good idea: lanX / wanX / wifiX
<ottidmes> ah lol
<bqv[m]> lmao
eof_ has joined #nixos
<ldlework> How do I make it so xbacklight doesn't require root?
<ldlework> Oh not a nixos issue.
<cab404[m]> ldlework: read about sticky flag and how it's used on ping command, I guess
<ottidmes> ldlework: kinda is: https://nixos.org/nixos/options.html#security.wrappers
<Valodim[m]> ldlework: is your user in the "video" group?
kleisli has quit [Remote host closed the connection]
<ldlework> no
kleisli has joined #nixos
<Valodim[m]> (also, check out brightnessctl if you haven't seen that. I've had better success using that than xbacklight on some occasions)
erasmas has joined #nixos
chagra has quit [Ping timeout: 256 seconds]
<xfix> you may find https://nixos.wiki/wiki/Backlight useful
<xfix> i don't think xbacklight should require root, that being said I don't use xbacklight myself, so I don't know
mallox_ has joined #nixos
chagra has joined #nixos
erasmas has quit [Ping timeout: 250 seconds]
ambroisie has joined #nixos
<ldlework> Valodim[m]: thanks the group worked
mallox has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<adisbladis> I'm using `light` instead, it does require a suid wrapper
<adisbladis> But also works outside of X which is nice
<nix-build> [nixpkgs] @Mic92 merged pull request #78609 → onesixtyone: init at unstable-2019-12-26 → https://git.io/Jvm2K
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvFIK
teto has quit [Ping timeout: 240 seconds]
<nix-build> [nixpkgs] @Mic92 merged pull request #81298 → nixos/buildkite-agents: don't run as nogroup → https://git.io/Jvzh7
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvFIH
<nix-build> [nixpkgs] @Mic92 merged pull request #82350 → [backport-20.03] nixos/haproxy: Revive the haproxy user and group → https://git.io/Jv6kP
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to release-20.03: https://git.io/JvFI5
<nix-build> [nixpkgs] @Mic92 closed pull request #76166 → {h,a}spell: split outputs -> closure size reduction → https://git.io/JvFIb
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<nix-build> [nixpkgs] @Mic92 merged pull request #79828 → nixos/zfs: populate PATH with needed programs for zed → https://git.io/JvCBB
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvFIj
bbarker has joined #nixos
thibm has joined #nixos
philr has quit [Ping timeout: 260 seconds]
<bqv[m]> ottidmes: i saw something like that called vm.nix
<bqv[m]> it used qemu
<bqv[m]> it's like nixos-containers but with qemu
iyzsong has quit [Ping timeout: 240 seconds]
<gchristensen> are people using that grafana loki thing with good success?
philr has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<bbarker> Yesterday I hit an interesting situation where running the same patchelf script I'd run many times before seemed to have broken an executable (MATLAB, in this case). Fortunately I'd backed up the installation. But aside from why/how that happened, it has me wondering about calling my patchelf script each time I start nix-shell. Slow and redundant and now potentially dangerous, I could avoid the patchelf script by creating a lockfile of
<bbarker> sorts, just not sure the best place to put it yet. local directory would probably be fine for now
knupfer has joined #nixos
kleisli has quit [Remote host closed the connection]
teto has joined #nixos
<nix-build> [nixpkgs] @Profpatsch merged pull request #83426 → xp-pen-g430: init at 20190820 → https://git.io/Jv9RI
<nix-build> [nixpkgs] @Profpatsch pushed commit from @IvarWithoutBones to master « xp-pen-g430: init at 20190820 »: https://git.io/JvFLD
kleisli has joined #nixos
<ekleog> fpletz: By chance, are you using a self-hosted nextcloud nixos module? (trying the maintainers one by one, hoping not to poke too many people ^^') When I'm trying to use the Talk android app or the nextcloud-client nixos package with my instance, I get an endlessly-looping “please wait” on the “connect” button -- do you also see that, or is it just me?
<srk> bbarker: create a derivation out of it and you don't have to patch manually :)
alexgood has left #nixos ["User left"]
xkapastel has joined #nixos
<nix-build> [nixpkgs] @aanderse closed pull request #79088 → plasma-applet-volumewin7mixer fix missing dependency → https://git.io/Jvss5
<bbarker> srk, i was thinking that but the MATLAB installation itself is many GB, so anytime i change the nix-shell script slightly i think that would replicate all those GBs in the /nix/store
<nix-build> [nix] @edolstra pushed to flakes « Add 'path' fetcher »: https://git.io/JvFtW
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
o1lo01ol1o has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
bahamas_ has joined #nixos
<simukis_> I’m seeing nix segfault or exhibit other undefined behaviour (what usually is a set is being reported as an integer, list, or anything else) in CI. Any suggestions on how to investigate it?
<srk> bbarker: maybe you can only wrap executable and ignore the rest
<simukis_> the version I’m using is fairly recent.
opthomasprime has joined #nixos
andreas303 has quit [Ping timeout: 240 seconds]
b42 has quit [Ping timeout: 256 seconds]
rauno has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
cartwright has quit [Ping timeout: 240 seconds]
b42 has joined #nixos
chagra has quit [Ping timeout: 256 seconds]
opthomasprime has left #nixos [#nixos]
inf has quit [Ping timeout: 264 seconds]
chagra has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
pbogdan has quit [Remote host closed the connection]
inf has joined #nixos
chagra_ has joined #nixos
ekleog has quit [Remote host closed the connection]
ekleog_ has joined #nixos
chagra has quit [Ping timeout: 265 seconds]
rauno has joined #nixos
est31 has quit [Ping timeout: 240 seconds]
inf is now known as Guest39507
cartwright has joined #nixos
est31 has joined #nixos
o1lo01ol1o has joined #nixos
pbogdan has joined #nixos
bdju has quit [Ping timeout: 240 seconds]
andreas303 has joined #nixos
mlatus[m] has joined #nixos
<nix-build> [nixpkgs] @Mic92 merged pull request #83503 → uberwriter: renamed to apostrophe → https://git.io/JvH6h
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvFqn
<nix-build> [nixpkgs] @filalex77 opened pull request #84106 → findomain: 1.4.2 -> 1.4.5 → https://git.io/JvFqc
domogled has quit [Ping timeout: 265 seconds]
gxt has joined #nixos
cjpbirkbeck has joined #nixos
opthomasprime has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
<nix-build> [nixpkgs] @marsam merged pull request #84066 → python3Packages.pdfminer: 20191020 -> 20200402 → https://git.io/Jvd7b
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvFqu
opthomasprime has left #nixos [#nixos]
chloekek has joined #nixos
<nix-build> [nixpkgs] @primeos opened pull request #84107 → [19.09] chromium: 80.0.3987.149 -> 80.0.3987.162 (backport) → https://git.io/JvFqo
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
drakonis has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
bahamas_ has quit [Quit: leaving]
bahamas has joined #nixos
domogled has joined #nixos
<nix-build> [nixpkgs] @Mic92 closed pull request #62113 → pixiecore: initial commit → https://git.io/fjR4D
<thibm> Is there a consistent way to override derivation to get static libraries ? I have a thing that needs 33 static libraries, so I prefer to ask before digging into each derivation
<thibm> But I'm afraid there is not
gustavderdrache has joined #nixos
<nix-build> [nixpkgs] @primeos pushed 5 commits to release-20.03: https://git.io/JvFqH
Guest39507 has quit [Changing host]
Guest39507 has joined #nixos
Guest39507 is now known as inf
dermetfan has quit [Ping timeout: 252 seconds]
<nix-build> [nixpkgs] @marsam merged pull request #82558 → ncspot: enable MPRIS by default → https://git.io/JviGH
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvFmf
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<bqv[m]> thibm: given there's no consistent way to compile things to get static libraries, i doubt it
bvdw has quit [Write error: Connection reset by peer]
<nix-build> [nixpkgs] @ryantm merged pull request #84029 → topgrade: 4.2.0 -> 4.3.1 → https://git.io/JvdPd
<nix-build> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvFmO
kloenk has quit [Ping timeout: 272 seconds]
kleisli has quit [Remote host closed the connection]
bvdw has joined #nixos
kloenk has joined #nixos
noudle has quit []
<nix-build> [nixpkgs] @ryantm merged pull request #83966 → ft2-clone: 1.09 -> 1.15 → https://git.io/Jvd3X
<nix-build> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvFml
<nix-build> [nixpkgs] @Mic92 pushed to master « mosh: enable parallel building »: https://git.io/JvFm4
<globin> ekleog_: we don't use nextcloud talk
kleisli has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
kleisli has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @volth opened pull request #84108 → scallion: use openssl 1.0 → https://git.io/JvFmr
Ralith_ has quit [Ping timeout: 240 seconds]
<thibm> bqv[m]: Indeed, but that would be possible thanks to Nix abstractions. Many libraries has an argument like static/enableStatic/linkStatic
<thibm> But there is no consistency :(. So I'll do it manually. Most of them are fine with --enable-static=yes, but some not
Ralith_ has joined #nixos
<thibm> And I need gcc libraries (stdenv.cc.cc.lib) like libstdc++ and libgomp as static libraries. I'm guessing it will not be easy
<ekleog_> globin: hmm… the nextcloud GUI client on nixos, maybe?
<ekleog_> basically, the clients I had added a while ago can still connect without any issue, but for some reason I can't add any new heavy client (tried with the nextcloud GUI on nixos and the nextcloud talk client on android)
igghibu has joined #nixos
<ekleog_> issue is, between the time I setup nextcloud (late 2018) and the time I recently tried to add clients (1-2 months ago), I haven't tested, so I don't know at which point it went wrong
Ralith_ has quit [Ping timeout: 265 seconds]
thibm has quit [Ping timeout: 264 seconds]
rogue_koder has joined #nixos
thibm has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
linarcx has quit [Ping timeout: 250 seconds]
Ralith_ has joined #nixos
dingenskirchen has joined #nixos
<ekleog_> globin: (I've just tried with the regular nextcloud phone app, it infinitely-spins while trying to connect just after having input the password too)
* Emantor is looking for someone to merge. https://github.com/NixOS/nixpkgs/pull/77500 my colleague has tested it now.
<nix-build> #77500 (by Emantor, 11 weeks ago, open): microcom: init at 2019.01.0
<ekleog_> maybe the weirdest thing being that there's nothing of interest in the journalctl, and that in the security options of my account it does show the phone as being added, so it's not just a password issue
<Mic92> It would be cool if nextcloud talk would have mod, where it does not need a login.
<Mic92> *mode
chagra has joined #nixos
<Mic92> For meetings
domogled has joined #nixos
<Emantor> AFAIR you can send invite links so people don't need an account. We used our hackespace instance for this at work.
growpotkin has joined #nixos
<thibm> For the record, there are some hints on how to automatically get static libraries in pkgsStatic definition
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
chagra_ has quit [Ping timeout: 240 seconds]
<Emantor> Ah, but you need an account to start the call.
alexgood has joined #nixos
ATuin has quit [Quit: WeeChat 2.7.1]
bahamas has quit [Quit: leaving]
<gchristensen> can I build a rust package with carnix with debug enabled?
<gchristensen> yes: (hello {}).override { release = false; };
<nix-build> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/JvFYH
cizra has quit [Read error: Connection reset by peer]
chagra has quit [Ping timeout: 256 seconds]
<nix-build> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.09: https://git.io/JvFY7
erasmas has joined #nixos
<nix-build> [nixpkgs] @NeQuissimus pushed 3 commits to release-20.03: https://git.io/JvFYA
chagra has joined #nixos
<nix-build> [nixpkgs] @Emantor opened pull request #84110 → glxinfo: add eglinfo binary → https://git.io/JvFOe
zupo has joined #nixos
erasmas has quit [Ping timeout: 256 seconds]
rauno has quit [Remote host closed the connection]
fusion809 has quit [Read error: Connection reset by peer]
fusion809 has joined #nixos
<bqv[m]> hey folks what's the peril of using networking.usenetworkd
<bqv[m]> cause not using networkd is causing me physical pain
mauli has quit [Quit: WeeChat 2.7.1]
mauli has joined #nixos
nobrak` has quit [Remote host closed the connection]
fenedor has joined #nixos
<chrisaw> I'm a bit stuck here - trying to use uwsgi with multiple "vassals" - one defined in each of 2 packages. The problem is - uwsgi seems to end up with one *or* the other - not both.
eoli3n__ has joined #nixos
<nix-build> [nixpkgs] @Mic92 opened pull request #84111 → clipit: 1.4.2 -> 1.4.4 → https://git.io/JvFOy
fendor has quit [Ping timeout: 250 seconds]
sigmundv_ has quit [Remote host closed the connection]
<Mic92> bqv[m]: I personally not use networking.useNetworkd. I use the networkd options directly as exposed by systemd.network.*
<Mic92> It's less indirection
<thibm> So there's makeStaticLibraries which is kind of bruteforcing mkDerivation's attributes to get static libraries. Cool
<nix-build> [nix] @edolstra pushed to flakes « fetchTree: Support integer attributes »: https://git.io/JvF3t
captjakk has joined #nixos
anohigisavay has joined #nixos
bdju has joined #nixos
<alexgood> Hey folks, I'm getting an `ENOMEM` from an `mlock` call, as far as I can tell that means that `RLIMIT_MEMLOCK` is too low. How do I go about changing that in Nix?
cfricke has quit [Quit: WeeChat 2.7.1]
sigmundv_ has joined #nixos
cosimone has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
knupfer has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @elseym opened pull request #84112 → plex: 1.18.9.2571 -> 1.18.9.2578 → https://git.io/JvF3r
<nix-build> [nixpkgs] @Infinisil merged pull request #84103 → nixos/moinmoin: fix maintainer reference → https://git.io/JvFTa
<nix-build> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JvF36
<nix-build> [nixpkgs] @Rizary opened pull request #84113 → nixpks-fmt all of the things → https://git.io/JvF3y
<chrisaw> When passing in a list of options in NixOS - can I merge two sets from different packages?
<Mic92> pbox
<chrisaw> For example: if package 1.nix sets: services.example.a = { a = 1; b = 2 }; how can I also allow 2.nix to set: services.example.b = { c = 3; d = 4; }?
opticnerve has joined #nixos
<nix-build> [nix] @andir opened pull request #3470 → libexpr: remove unused attrError → https://git.io/JvF3A
erictapen has joined #nixos
<infinisil> chrisaw: Can you give some more info? I'm not entirely sure what you mean by that
<thibm> chrisaw: lib.recursiveUpdate recursively merges attribute sets. Or use imports for NixOS
<nix-build> [nixpkgs] @mmilata opened pull request #84114 → nixos/moinmoin: fix maintainer reference → https://git.io/JvFsf
worldofpeace_ has joined #nixos
eoli3n__ has quit [Ping timeout: 250 seconds]
eof_ is now known as eof
<chrisaw> thibm: That may well be the solution I'm looking for - I'll experiment with it. Thanks!
<nix-build> [nixpkgs] @Infinisil merged pull request #84114 → [20.03] nixos/moinmoin: fix maintainer reference → https://git.io/JvFsf
igghibu has quit [Quit: Konversation terminated!]
<nix-build> [nixpkgs] @Infinisil pushed 2 commits to release-20.03: https://git.io/JvFsq
<chrisaw> infinisil: Basically I have two packages - both need to define a "vassal" in uwsgi but each package overwrites the other so only one is ever created. Trying to figure out how to get them to simply "merge" together instead of overwriting eachothers definitions.
dermetfan has joined #nixos
<infinisil> The type of instance is types.attrs
<infinisil> Which doesn't do any deep merging
jjakob has quit [Ping timeout: 256 seconds]
<chrisaw> infinisil: Yeah that sounds about right - the nginx and apache packages have a similar syntax but *do* support merging.
<infinisil> So currently you can only do that by assigning to the option once with all vassals, or to fix the module
<chrisaw> Agh :(
erasmas has joined #nixos
<nix-build> [nixpkgs] @pasqui23 opened pull request #84115 → nixos/languagetool-http: added services.languageToolHttp option → https://git.io/JvFsc
worldofpeace_ has quit [Quit: worldofpeace_]
ixxie has joined #nixos
<nix-build> [nixpkgs] @Mic92 closed pull request #42598 → clipit-gtk3: init at 20180725 → https://git.io/f4QLD
nobrak has joined #nixos
jjakob has joined #nixos
zupo_ has joined #nixos
orivej has joined #nixos
smatting has quit [Ping timeout: 264 seconds]
kenran has quit [Ping timeout: 260 seconds]
zupo has quit [Ping timeout: 250 seconds]
dermetfan has quit [Ping timeout: 272 seconds]
jjakob has quit [Ping timeout: 258 seconds]
jjakob has joined #nixos
dermetfan has joined #nixos
<nix-build> [nixpkgs] @veprbl pushed to release-20.03 « texlive.combine: set TEXMFCNF in binary wrapper »: https://git.io/JvFsN
srxl has quit [Remote host closed the connection]
TheSirC[m] has joined #nixos
tpanum has quit [Read error: Connection reset by peer]
markus1189 has quit [Ping timeout: 264 seconds]
markus1189 has joined #nixos
turion has quit [Ping timeout: 264 seconds]
tpanum has joined #nixos
<nix-build> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f75c11cfdff (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvFGG
<nix-build> [nixpkgs] @Mic92 merged pull request #84108 → scallion: use openssl 1.0 → https://git.io/JvFmr
<nix-build> [nixpkgs] @Mic92 pushed commit from @volth to release-20.03 « scallion: use openssl 1.0 »: https://git.io/JvFGc
Ariakenom_ has joined #nixos
<nix-build> [nixpkgs] @IvarWithoutBones opened pull request #84117 → yuzu-mainline: init at unstable-2020-04-02 → https://git.io/JvFGE
<nix-build> [nixpkgs] @bjornfor merged pull request #84092 → gthumb: add gst plugins and needed environment for video playbacl → https://git.io/JvFeu
<nix-build> [nixpkgs] @bjornfor pushed commit from @doronbehar to master « gthumb: add gst plugins for video playback »: https://git.io/JvFGu
marsh has quit [Ping timeout: 250 seconds]
Ariakenom has quit [Ping timeout: 256 seconds]
marsh has joined #nixos
rardiol has quit [Ping timeout: 265 seconds]
ddellacosta has joined #nixos
captjakk has quit [Remote host closed the connection]
rardiol has joined #nixos
<hyper_ch> no official root support in LOS 17.1?
captjakk has joined #nixos
<hyper_ch> wrong channel
Ariakenom_ has quit [Quit: WeeChat 2.7]
cole-h has joined #nixos
fusion809 has quit [Remote host closed the connection]
acarrico has quit [Quit: Leaving.]
fusion809 has joined #nixos
markus1189 has quit [Ping timeout: 264 seconds]
shibboleth has joined #nixos
magnetophon has quit [Ping timeout: 258 seconds]
glittershark has joined #nixos
<nix-build> [nixpkgs] @Ma27 opened pull request #84118 → matrix-synapse: 1.12.0 -> 1.12.1 → https://git.io/JvFGQ
o1lo01ol1o has quit [Remote host closed the connection]
philr has quit [Ping timeout: 256 seconds]
<fusion809> Hi folks, is there any magic trick to getting i3pystatus to work on NixOS? My ~/.i3/config file has this line: status_command python3 ~/.i3/i3status.py that calls on a script that uses i3pystatus and it fails. Guessing I need to modify this command to include nix-shell
<fusion809> It has a few python deps on top of i3pystatus too, like netifaces, colour and psutil
o1lo01ol1o has joined #nixos
<fusion809> I included these packages under services.xserver.windowManager.i3.extraPackages = with pkgs; [ in /etc/nixos/configuration.nix
<adisbladis> fusion809: Could you pastebin your full expression please ?
<fusion809> You mean the error, or the config file or my ~/.i3/i3status.py?
kleisli has joined #nixos
<adisbladis> /etc/nixos/configuration.nix
<adisbladis> The full error would help too
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<fusion809> (that's the error for the command in my ~/.i3/config file)
<fusion809> As I suspect it'll come in handy, https://github.com/fusion809/i3-configs/blob/nixos/.i3/i3status.py and https://github.com/fusion809/i3-configs/blob/nixos/.i3/config are the relevant i3 config files.
markus1189 has joined #nixos
<adisbladis> Ok, you can't include python packages like that. Try turning `python37Packages.colour python37Packages.netifaces python37Packages.psutil` into `python37.withPackages(ps: [ (i3pystatus.override { python3Packages = ps; }) ])`.
<typetetris> Using vncserver from tightvnc gives me `vncserver: couldn't find "Xvnc" on your PATH.`, is this a known bug, or did I do something wrong? `nix-env -iA nixos.tightvnc; vncserver`.
<adisbladis> fusion809: Or you can just use the i3pystatus package directly ?
<adisbladis> Why are you having a local copy in ~/.i3/i3status.py ?
<fusion809> adisbladis: and that's under services.xservices.windowManager.i3.extraPackages? (your first idea). No, ~/.i3/i3status.py isn't a i3pystatus copy. It calls on i3pystatus, however, but it isn't the i3pystatus.py script contained in the i3pystatus package.
<adisbladis> In any case `(python37.withPackages(ps: [ (i3pystatus.override { python3Packages = ps; }) ]))` should work the way you expect. It will give you a wrapped python interpreter that can import i3pystatus
<adisbladis> fusion809: Ah right, sorry for the misunderstanding :)
<adisbladis> Yes, you put `environment.systemPackages = [ rofi (python37.withPackages(ps: [ (i3pystatus.override { python3Packages = ps; }) ])) rxvt ];`
markus1189 has quit [Ping timeout: 265 seconds]
markus1189 has joined #nixos
opticnerve has quit [Quit: Leaving]
magnetophon has joined #nixos
<fusion809> That's fine, I realize I'm not the best communicator. Ah, still failing, I'm afraid, with the same error.
<fusion809> I even added i3pystatus to systemPackages
gustavderdrache has quit [Remote host closed the connection]
<adisbladis> fusion809: I can see that you're adding python37Full to systemPackages too
<adisbladis> Remove all python interpreters from your system packages
<fusion809> Yep. OK, shall do.
wildtrees has joined #nixos
<adisbladis> (also check what `which python3` returns)
gustavderdrache has joined #nixos
<adisbladis> It should point at something looking like /nix/store/f6gmqcxy0cyww8qy82frrgs4rablz02j-python3-3.8.2-env/bin/python3
<adisbladis> Notice the -env bit
<nix-build> [nixpkgs] @i077 opened pull request #84119 → todoist-electron: 1.19 -> 1.20 → https://git.io/JvFZV
<fusion809> Returns: /run/current-system/sw/bin/python3
<adisbladis> Gah, `readlink -f $(which python3)`
<nix-build> [nixpkgs] @drewrisinger opened pull request #84120 → pythonPackages.cvxpy: add explicit numpy/scipy dependencies → https://git.io/JvFZK
<fusion809> Returns /nix/store/r2qxh5iiky8ki2qscqdaj26lh112r3s6-python3-3.7.6-env/bin/python3
<fusion809> So, that seems good.
<nix-build> [nixpkgs] @alyssais merged pull request #84106 → findomain: 1.4.2 -> 1.4.5 → https://git.io/JvFqc
<nix-build> [nixpkgs] @alyssais pushed 0 commits to master: https://git.io/JvFZi
<fusion809> Ah, so I should remove that I'm guessing? I do use GNU Octave with the symbolic toolbox a lot, which that enables, so it'd be a very temporary fix
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noudle has joined #nixos
<fusion809> Oops, I think Octave is the line above, maybe that line is redundant.
<adisbladis> ,libs
<adisbladis> Hm, I thought the bot had something for that
<nix-build> [nixpkgs] @alyssais merged pull request #84077 → git-lfs: 2.8.0 -> 2.10.0 → https://git.io/JvdN1
<nix-build> [nixpkgs] @alyssais pushed commit from @jonringer to master « git-lfs: 2.8.0 -> 2.10.0 »: https://git.io/JvFZS
<cole-h> ,libraries
<nix-build> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<cole-h> :P
<fusion809> Ah commenting that out I'm still getting the same error.
<nix-build> [nixpkgs] @Rizary closed pull request #84113 → nixpks-fmt all of the things → https://git.io/JvF3y
<adisbladis> cole-h: Thanks <3
<nix-build> [nixpkgs] @alyssais merged pull request #84079 → graylog: 3.2.2 -> 3.2.4 → https://git.io/Jvdx2
<nix-build> [nixpkgs] @alyssais pushed commit from @fadenb to master « graylog: 3.2.2 -> 3.2.4 »: https://git.io/JvFZH
<fusion809> (and yes, I rebuilt)
<adisbladis> fusion809: Check which requisities you have for your env `nix-store -qR $(readlink -f $(which python3))`
<nix-build> [nixpkgs] @alyssais merged pull request #83959 → dolt: 0.15.0 -> 0.15.2 → https://git.io/JvdYg
<nix-build> [nixpkgs] @alyssais pushed commit from @r-ryantm to master « dolt: 0.15.0 -> 0.15.2 »: https://git.io/JvFZd
<nix-build> [nixpkgs] @alyssais merged pull request #84093 → kanshi: 1.0.0 -> 1.1.0 → https://git.io/JvFeA
<nix-build> [nixpkgs] @alyssais pushed commit from @dywedir to master « kanshi: 1.0.0 -> 1.1.0 »: https://git.io/JvFZb
<fusion809> A few packages, some of which are essential IIRC (e.g. glibc, bash, etc.)
<adisbladis> fusion809: Please pastebin it
erictapen has quit [Ping timeout: 256 seconds]
wildtrees has quit [Remote host closed the connection]
<adisbladis> Ahh, I get what's going on
<nix-build> [nixpkgs] @Frostman opened pull request #84121 → grafana: 6.7.1 -> 6.7.2 → https://git.io/JvFnf
<adisbladis> (python37.withPackages(ps: [ (ps.toPythonModule (i3pystatus.override { python3Packages = ps; })) ]))
<fusion809> Guessing that goes under extraPackages?
<nix-build> [nixpkgs] @alyssais merged pull request #83945 → weechatScripts.weechat-matrix: unstable-2020-01-21 -> 0.1.0 → https://git.io/JvdtZ
<adisbladis> Yep
<nix-build> [nixpkgs] @alyssais pushed commit from @bqv to master « python3Packages.weechat-matrix: unstable-2020-01-21 -> 0.1.0 »: https://git.io/JvFnI
<adisbladis> Though actually i3's extraPackages just sticks things in environment.systemPackages
<fusion809> Still getting an error. I should admit, I haven't been getting the actual error being returned, I've just been running the command that's in my ~/.i3/config file for status_command in my terminal (namely python3 i3status.py), but maybe for NixOS that's not suitable. Sorry, I'm used to using Arch. I don't know of a way to get the error log for the i3 status bar.
<fusion809> I should clarify.
<nix-build> [nixpkgs] @Rizary opened pull request #84122 → Refactoring nixpkgs using nixpkgs-fmt → https://git.io/JvFnY
<fusion809> I mean the error I've been reporting to you, the one I paste logged, that was from the running of "python3 i3status.py" (which is in my ~/.i3/config file). But I am seeing an error on the i3 status bar, but it isn't a detailed error
<fusion809> It's just saying that stuats_command process exited unexpectedly (exit 0)
<fusion809> status command^
<adisbladis> I can execute your python script just fine with a python interpreter created using the expression I pasted
<adisbladis> But I don't use i3, so I can't help you there.
<fusion809> I can too in my terminal.
<adisbladis> Maybe you have to restart i3?
<fusion809> Such a pity, I really love i3 on Arch. Well, I've been reloading it to test, but I'll try a reboot. -fingers crossed-
fusion809 has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @alyssais merged pull request #83893 → jwasm: 2017-11-12 -> 2.13 → https://git.io/Jv5Sy
<nix-build> [nixpkgs] @alyssais pushed commit from @AndersonTorres to master « jwasm: 2017-11-12 -> 2.13 »: https://git.io/JvFnC
sasycto has left #nixos ["ERC (IRC client for Emacs 26.3)"]
fusion809 has joined #nixos
<fusion809> Ah, silly me, it was the script itself that was the problem. Thanks adisbladis, I'm pretty sure that before those Python changes (before which in the terminal that python command failed) both the script and the i3pystatus set up was the problem.
markus1189 has quit [Ping timeout: 260 seconds]
<nix-build> [nixpkgs] @alyssais merged pull request #83427 → libupnp: 1.8.4 -> 1.12.0 → https://git.io/Jv9RQ
<nix-build> [nixpkgs] @alyssais pushed commit from @LEXUGE to master « libupnp: 1.8.4 -> 1.12.0 »: https://git.io/JvFnu
<adisbladis> Cool! :)
<adisbladis> Happy to help
<nix-build> [nixpkgs] @alyssais merged pull request #83156 → mtools: 4.0.23 -> 4.0.24 → https://git.io/JvDPx
<nix-build> [nixpkgs] @alyssais pushed commit from @lsix to master « mtools: 4.0.23 -> 4.0.24 »: https://git.io/JvFnw
mexisme has joined #nixos
orivej_ has joined #nixos
<nix-build> [nixpkgs] @alyssais merged pull request #83017 → synergy: 1.11.0 -> 1.11.1 → https://git.io/JvFnM
<nix-build> [nixpkgs] @alyssais pushed commit from @talyz to master « synergy: 1.11.0 -> 1.11.1 »: https://git.io/JvFnD
orivej has quit [Read error: Connection reset by peer]
CRTified has joined #nixos
<nix-build> [nixpkgs] @alyssais merged pull request #82798 → hyperrogue: 11.2d -> 11.3f → https://git.io/JvXlq
<nix-build> [nixpkgs] @alyssais pushed commit from @mehlon to master « hyperrogue: 11.2d -> 11.3f »: https://git.io/JvFnb
markus1189 has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
shafox has joined #nixos
<nix-build> [nixpkgs] @alyssais merged pull request #84104 → mate.mate-common: 1.24.0 -> 1.24.1 → https://git.io/JvFTp
<nix-build> [nixpkgs] @alyssais pushed commit from @romildo to master « mate.mate-common: 1.24.0 -> 1.24.1 »: https://git.io/JvFnp
domogled has quit [Quit: domogled]
opthomasprime has joined #nixos
<cole-h> Somebody wanna review this PR that makes qtmultimedia and vlc optional deps for cantata? https://github.com/NixOS/nixpkgs/pull/83799
<nix-build> #83799 (by cole-h, 2 days ago, open): cantata: make qtmultimedia and vlc optional
<bqv[m]> hey, what's borg on about here? https://github.com/NixOS/nixpkgs/pull/84004
<nix-build> #84004 (by bqv, 23 hours ago, open): guix: init at 1.0.1
<nix-build> [nixpkgs] @globin merged pull request #84112 → plex: 1.18.9.2571 -> 1.18.9.2578 → https://git.io/JvF3r
<nix-build> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JvFcJ
<nix-build> [nixops] @adisbladis opened pull request #1273 → Remove all references to Azure → https://git.io/JvFcU
linarcx has joined #nixos
justanotheruser has quit [Ping timeout: 252 seconds]
<nix-build> [nixops] @grahamc merged pull request #1273 → Remove all references to Azure → https://git.io/JvFcU
<nix-build> [nixops] @grahamc pushed 2 commits to master: https://git.io/JvFcI
<adisbladis> gchristensen - the fastest merge in the west
<gchristensen> PRs that are almost all deletes and green check-marks are good-to-go imo :P
o1lo01ol1o has joined #nixos
<bqv[m]> proceeds to delete every file in nixpkgs
<andi-> make sure to keep everything that is needed to pass eval ;)
<bqv[m]> ah, of course
<excelsiora> woot
<excelsiora> gm
<excelsiora> or afternoon, wow
sasycto has joined #nixos
anohigisavay has quit [Quit: Konversation terminated!]
chagra has quit [Ping timeout: 256 seconds]
<sasycto> My laptop speakers just stopped producing audio (although my headphones work fine still). What steps should I go through to diagnose the problem? I haven't made any system configuration changes when it happened, which was right in the middle of watching a video.
rardiol_ has joined #nixos
<sasycto> I've already checked alsamixer and the speakers are not muted and have their sound cranked up.
<bqv[m]> is there a shortcut for ` git reset --hard $otherbranch; git reset --soft $previousbranch; git reset `
<bqv[m]> that just seems horribly clunky
<bqv[m]> i'm sure you can work out what i'm trying to achieve with that
erictapen has joined #nixos
<sasycto> But I don't know what steps to go through to diagnose pulseaudio et al to determine if it's a hardware issue vs a software one.
rardiol has quit [Ping timeout: 264 seconds]
mrCyborg has joined #nixos
<adisbladis> sasycto: Did you check in pavucontrol ?
<sasycto> I have not.
<sasycto> Apparently that's not installed.
edef has quit [Read error: Connection reset by peer]
thibm has quit [Quit: WeeChat 2.6]
<srk> it's just nix-shell -p pavucontrol away!
edef has joined #nixos
justanotheruser has joined #nixos
<srk> you can also check alsamixer and alsamixer -Dhw
<sasycto> It's enabled in pavucontrol.
peelz has quit [Remote host closed the connection]
<sasycto> Like I said, I checked to ensure that everything is enabled in alsamixer
peelz has joined #nixos
zupo has joined #nixos
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
<adisbladis> sasycto: pavucontrol can give you more information about specific streams
<adisbladis> And has a little handy vu-meter
<sasycto> Also pavucontrol does display that audio is attempting to be sent (i.e. the audio stream is showing output, but I hear nothing)
<sasycto> Which almost makes it feel like it's a hardware issue (which I'd believe since my left speaker gave out a while back, and HP seems to have shite quality control), but I don't know how I'd tell
rardiol has joined #nixos
<nix-build> [nixpkgs] @drewrisinger opened pull request #84124 → pythonPackages.osqp: remove mkl dependency → https://git.io/JvFCT
<nix-build> [nixpkgs] @flokli merged pull request #83279 → bump terraform providers → https://git.io/JvyHO
<nix-build> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/JvFCI
_e has quit [Quit: WeeChat 2.7.1]
<sasycto> That is I don't know how I'd tell without booting into another os
rardiol_ has quit [Ping timeout: 240 seconds]
<nix-build> [nixpkgs] @Mic92 merged pull request #84111 → clipit: 1.4.2 -> 1.4.4 → https://git.io/JvFOy
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvFCB
excelsiora has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @jonringer pushed 6 commits to master: https://git.io/JvFCR
<nix-build> [nixpkgs] @jonringer merged pull request #84081 → google-music-scripts: 4.0.1 -> 4.3.0 → https://git.io/JvdpJ
<bqv[m]> shouting into the void tonight but... anyone know what ofborg's on about here? https://github.com/NixOS/nixpkgs/pull/84004
<nix-build> #84004 (by bqv, 1 day ago, open): guix: init at 1.0.1
<simpson> bqv[m]: I hear that an ofborg builder may have had a hardware failure. I'm not sure who can restart the test though.
<nix-build> #84034 (by stigtsp, 20 hours ago, open): rkdeveloptool: 1.3 -> unstable-2019-07-01
justanotheruser has quit [Ping timeout: 256 seconds]
<bqv[m]> ah ok, as long as it's not my fault.
<nix-build> [nix] @edolstra pushed 6 commits to flakes: https://git.io/JvFCX
<nix-build> [nix] @edolstra pushed to flakes « Temporary backward compatibility hack »: https://git.io/JvFCD
KeiraT has quit [Remote host closed the connection]
erictapen has quit [Ping timeout: 256 seconds]
KeiraT has joined #nixos
<fusion809> Anyone know how to get audio to work under i3? On other distros with i3 I find audio works out of the box, but on NixOS it doesn't seem to be. Never I run `alsamixer` or `amixer` in a terminal I get pulseaudio connection refused errors.
konobi has quit [Remote host closed the connection]
<fusion809> s/Never I run/Whenever I run/^
<andi-> fusion809: did you enable sound in your configuration?
<misuzu> is there some kind of function in nix to get a hash of a string?
konobi has joined #nixos
<fusion809> No, didn't realize I had to. Lol, bit too used to using KDE on NixOS it seems.
<misuzu> without `runCommand`
<andi-> fusion809: hardware.pulseaudio.enable = true;
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fusion809> thanks!
<andi-> misuzu: builtins.hashString
<cole-h> Alternatively, `nix-hash` if you want to use it on the command line
<andi-> > builtins.hashString "sha256" "test"
<nix-build> "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
<misuzu> andi-: wow, thanks!
justanotheruser has joined #nixos
<fusion809> Oops, didn't realize that there was such a line in my config already.
<fusion809> So yeah, audio is enabled in that way.
<fusion809> But not working
<andi-> fusion809: sound.enable = true;
lovesegfault has joined #nixos
<fusion809> Yep that too is in there
<andi-> is the pulse daemon running after you logged in? (systemctl --user status pulseaudio)
<ottidmes> fusion809: did you not do something special to make audio work in your Arch chroot, could that be affecting it?
<bqv[m]> do any of you use networkd?
<bqv[m]> (networking.useNetworkd)
mawis has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<fusion809> ottidmes: I did, but not much and it's never caused a problem before.
<sasycto> builtins.hashString
<sasycto> Oh, I see someone else already said that
<ornxka> how do i tell nixos to put stuff in the root dir
<ornxka> like if i plan on running a bunch of third-party binary software with hardcoded paths
<fusion809> I'll give rebooting without those bits of code, see if audio starts working again
<ornxka> i think theres some thing that lets you make a chroot?
<cole-h> buildFHSEnv or something
<ornxka> ah thats it thx
fusion809 has quit [Remote host closed the connection]
<bqv[m]> nevermind guess i'll just enable it and see what happens...
growpotkin has joined #nixos
fusion809 has joined #nixos
hmpffff has joined #nixos
<fusion809> Well, the audio is back, but I don't know why as when I added back that code, the audio remained still there.
<ottidmes> fusion809: I have had a few rare moments were my audio stopped working, for which a restart always worked so far
<fusion809> Ah, so might just be a weird bug.
<chrisaw> This is likely a really simple question but can anyone tell me how I can install a version of uwsgi with the python3 plugin included *without* using the service?
<chrisaw> Basically what I want is to use something like: uwsgi = pkgs.uwsgi { plugins = "python3" };
<ottidmes> fusion809: in the past, this always worked for me: pulseaudio -k && sudo alsa force-reload
noudle has quit []
<fusion809> Thanks, I'll add that to a function in my ~/.zshrc file.
<cole-h> chrisaw: Are you looking for an override? https://nixos.org/nixpkgs/manual/#chap-overrides
mawis has quit [Quit: WeeChat 2.7.1]
<nix-build> [nixpkgs] @edolstra pushed to master « packagekit: Don't depend on nix unless enableNixBackend = true »: https://git.io/JvFWH
justanotheruser has quit [Ping timeout: 258 seconds]
linarcx has quit [Ping timeout: 258 seconds]
<nix-build> [nixpkgs] @edolstra opened pull request #84125 → nix-daemon.nix: Add option nix.registry → https://git.io/JvFl3
<infinisil> What is polkit and why is it enabled by default?
<avn> Folks, anyone have experience upgrading firmware for iwlwifi (as well as module options tuning, etc?).
justanotheruser has joined #nixos
<symphorien> infinisil: a dbus based password prompt for gui things to escalate privileges
<andi-> not just that..
<srk> also a javascript runtime
<andi-> dbus permission management used for all kinds of things these days.. without that you don't even get proper /run/user/… IIRC
<infinisil> Hm, I wonder if it breaks my minimal system config for a single service
<infinisil> If I turn it off
<andi-> might be fine
<infinisil> Trying to minimize closure size here
<andi-> I had a friend of mine use it for a VPN VM on his OpenBSD.. worked fine.. expect some quirks
<symphorien> also it's intertwined with systemd. systemctl will try to use polkit if you are not root and try to do something priviledged
fusion809 has quit [Remote host closed the connection]
<ottidmes> for now... :P
fusion809 has joined #nixos
<infinisil> Now python and perl are the biggest offenders in my closure size
<infinisil> python mostly from zfs (I think that might be avoidable)
<infinisil> perl probably can't be avoided due to it being used for the activation script..
<bqv[m]> what is /run/keys for...
<symphorien> nixops iirc
<bqv[m]> hm ok
<ottidmes> I thought effort was made to banish perl from the codebase, but that was some time ago
<ottidmes> Maybe that was just Nix itself though
mawis has joined #nixos
zupo_ has joined #nixos
<chrisaw> cole-h: That's pretty much what I'm looking for - just struggling to figure out how to define a package with an override like that. :|
<bqv[m]> ottidmes: so as part of your reproducibility, how do you handle secrets that services depend on? e.g. i've just noticed my local system has a dependency on /etc/wpa_supplicant.conf, but i can't generate that through nix or my wifi password will be in the store
<bqv[m]> i'm thinking have it as a secret in the config repo, and have an activation script copy it into place
<bqv[m]> alternatively i could just drop supplicant and use iwd like a civilized human being
o1lo01ol1o has quit [Remote host closed the connection]
endformationage has joined #nixos
<bqv[m]> then at least it wouldn't fail to start, it just wouldn't connect to anything until told to
o1lo01ol1o has joined #nixos
teto has quit [Ping timeout: 246 seconds]
erictapen has joined #nixos
<nix-build> [nixpkgs] @samdoshi closed pull request #84001 → haskellPackages.bank-holidays-england: unbroken → https://git.io/Jvdze
FRidh has joined #nixos
FRidh2 has quit [Ping timeout: 260 seconds]
<nix-build> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/JvF84
<nix-build> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.09: https://git.io/JvF80
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<nix-build> [nixpkgs] @NeQuissimus pushed 3 commits to release-20.03: https://git.io/JvF8E
knupfer has joined #nixos
<nix-build> [nixpkgs] @jonringer opened pull request #84126 → python3Packages.azure-storage: 0.20.3 -> 0.36.0 → https://git.io/JvF8w
teto has joined #nixos
erictapen has quit [Ping timeout: 240 seconds]
chloekek has quit [Ping timeout: 240 seconds]
<ottidmes> bqv[m]: yep, I would do something like you suggest, have an activation script copy it in place
<domenkozar[m]> vcunat: did you see https://github.com/NixOS/nixpkgs/issues/84043
<nix-build> #84043 (by neilmayhew, 19 hours ago, open): glibc-2.30 libraries link to glibc-2.27
<ottidmes> bqv[m]: I haven't used NixOS much on a laptop, so that's why I haven't run into that particular problem
pbogdan has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 240 seconds]
<ottidmes> bqv[m]: things I find the hardest are state and settings of applications, like ideally I would keep track of my firefox and chrome setup and open tabs, I think you can supply a set of extensions to use, but doubt you can also supply how you have those extensions configured
jumper149 has joined #nixos
<bqv[m]> ottidmes: i think rycee had something going to declaratively add extensions to firefox
<bqv[m]> it's either in home-manager or the nur
<cole-h> I think it's their NUR -- but I think it's on their GitLab, not GH
<ottidmes> bqv[m]: yeah, like I said, that's all I know of existing, but the rest is where its getting hard
pbogdan has joined #nixos
<ottidmes> Installing the few extensions I use manually is almost no trouble at all, but remembering how I had the setting exactly, some have custom CSS and such, that I would like to see made declerative
<bqv[m]> yeah
<tilpner> ottidmes: You can configure cooperating extensions with enterprise policies
<nix-build> [nixpkgs] @srhb merged pull request #83868 → wootility: 3.3.3 -> 3.4.6 → https://git.io/Jv541
<nix-build> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JvF4z
<nix-build> [nixpkgs] @srhb merged pull request #83869 → computecpp: 1.2.0 -> 1.3.0 → https://git.io/Jv54p
<nix-build> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JvF42
cosimone has quit [Quit: Terminated!]
<ottidmes> tilpner: Ah, makes sense that they have something for enterprise, I will add it to my TODO, after a quick google I also saw a few extensions and tips, but it looked rather complicated (many sources where settings can be stored)
<nix-build> [nixpkgs] @srhb merged pull request #83786 → litecli: 1.1.0 -> 1.3.2 → https://git.io/Jv79B
<nix-build> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JvF4S
lunik1 has quit [Quit: :x]
<tilpner> ottidmes: I have a very-WIP repo for configuring nixpkgs firefox like that. It shows how to do it, but the presets are not good right now
kenran has joined #nixos
lunik1 has joined #nixos
<bqv[m]> ottidmes: so problem with the activation script tactic, in restricted mode it's actually impossible because it would be accessing paths outside the store, or it would need the content of the file in the store.
<bqv[m]> starting to think this is impossible
<ottidmes> tilpner++ interesting stuff!
<nix-build> tilpner's karma got increased to 76
<bqv[m]> either it's declarative and it's in the store, or it's imperative and not in the store
opthomasprime has quit [Remote host closed the connection]
<nix-build> [nixops] @adisbladis opened pull request #1275 → Move from xml intermediate Nix representation to JSON → https://git.io/JvFBT
opthomasprime has joined #nixos
<ottidmes> bqv[m]: there is no middle ground, saying, these paths are safe but at a different location then /nix/store?
opthomasprime has quit [Remote host closed the connection]
opthomasprime has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bqv[m]> i don't think so, realistically i think i need it to be in the store but encrypted some how, and decrypted as part of activation, if that could ever make sense
roosemberth has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
roosemberth has joined #nixos
<bqv[m]> so perhaps if there needs to be a file outside the nix store, limit it to one! have a key file on the filesystem, use it as part of activation to decrypt secret files
zaeph1 has joined #nixos
<bqv[m]> or, go even purer, use a HSM to decrypt them!
<nix-build> [nixpkgs] @bhipple merged pull request #83247 → rust-cbindgen: 0.13.1 -> 0.13.2 → https://git.io/JvyR4
<nix-build> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvFBl
<johnjay> is co mpiling a custom kernel any different for nixos
shafox has quit [Remote host closed the connection]
<johnjay> or is it largely the same? I'm assuming you're running nixos and compiling the kernel for that system
zaeph has quit [Ping timeout: 256 seconds]
knupfer has quit [Ping timeout: 256 seconds]
<ottidmes> bqv[m]: but even on restricted mode, it can only restrict while in Nix world right, I mean, it itself has to access /boot and /etc for example, so could you really not make it work?
<rycee> Configuring FIrefox `user.js` and providing extensions is part of the firefox HM module. But the packaged extensions are in my NUR where they are automatically updated daily.
hmpffff_ has joined #nixos
<bqv[m]> ottidmes: yeah sure, but i'm thinking of if i was to provision a new machine with this config, it initially wouldn't work due to the missing files. the configuration isn't self-contained if it relies on random filesystem files
<bqv[m]> but maybe that's overkill
opthomasprime has left #nixos [#nixos]
hmpffff has quit [Ping timeout: 272 seconds]
<ottidmes> bqv[m]: My config is self contained, the way its setup it makes sure the necessary files are made available, and the installer does not need much, and what it needs is copied to the store (no private info), but that does mean no wifi in the installer, you could make that work with an encrypted file, but I usually install my laptop through ethernet cable anyway
<bqv[m]> yeah, i reckon i'm overthinking this. i should just set it to use iwd and be done with it
domogled has joined #nixos
zaeph1 is now known as zaeph
mawis has quit [Quit: WeeChat 2.7.1]
nedfro[m] has joined #nixos
noudle has joined #nixos
<nextloop> is there a way to package gradle projects? i came across this: https://github.com/NixOS/nixpkgs/pull/77422
<nix-build> #77422 (by petabyteboy, 11 weeks ago, open): gradle2nix: init
<nextloop> is there another way?
<nix-build> [nixpkgs] @Ekleog merged pull request #84118 → matrix-synapse: 1.12.0 -> 1.12.1 → https://git.io/JvFGQ
<nix-build> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/JvFRE
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<nix-build> [nixpkgs] @Ekleog pushed commit from @Ma27 to release-20.03 « matrix-synapse: 1.12.0 -> 1.12.1 »: https://git.io/JvFRg
kenran has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
fusion809 has quit [Remote host closed the connection]
mexisme has joined #nixos
fusion809 has joined #nixos
crumbler has joined #nixos
<drakonis> nextloop: you could use it to generate a working package
mrCyborg has quit [Quit: WeeChat 2.7.1]
Soo_Slow has joined #nixos
<nix-build> [nixpkgs] @vbgl opened pull request #84127 → reason: 3.5.4 → 3.6.0 → https://git.io/JvF0k
<nextloop> you mean use that branch of the PR drakonis ?
<drakonis> maybe?
<drakonis> still a draft though
<nix-build> [nixpkgs] @mmlb opened pull request #84128 → j2cli: fix missing dependency on setuptools → https://git.io/JvF0Y
<coco> I'm working through Nix Pill 7 (https://nixos.org/nixos/nix-pills/working-derivation.html), and build a derivation with a builder.sh that contains 'declare -xp', but I don't see any exported variables during the build (as in the description). What am I doing wrong?
o1lo01ol1o has joined #nixos
<ottidmes> coco: it helps to share what you have done so far
<ottidmes> ,paste coco
<nix-build> coco: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
cosimone has joined #nixos
smatting has joined #nixos
<nix-build> [nixpkgs] @Mic92 merged pull request #83689 → go_1_14: 1.14 -> 1.14.1 → https://git.io/JvQAs
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/JvF0c
o1lo01ol1o has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @Mic92 pushed commit from @flokli to staging-20.03 « go_1_14: 1.14 -> 1.14.1 »: https://git.io/JvF08
o1lo01ol1o has joined #nixos
<coco> I forgot to add: I did a ':l <nixpkgs>' at the beginning of the nix repl
smatting has quit [Ping timeout: 256 seconds]
morr has quit [Ping timeout: 240 seconds]
lsix1 has quit [Ping timeout: 252 seconds]
morr has joined #nixos
<nix-build> [nixpkgs] @edolstra merged pull request #84125 → nix-daemon.nix: Add option nix.registry → https://git.io/JvFl3
<nix-build> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/JvF0w
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<ottidmes> coco: I think that is due to nix build (hides everything in a log file, used by nix repl) versus nix-build (shows everything while building)
zupo_ has joined #nixos
<ottidmes> coco: See nix log --help
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
crumbler has quit [Quit: Leaving]
<nix-build> [nixpkgs] @Infinisil opened pull request #84129 → Support removing python from zfs/grub closure → https://git.io/JvF0K
<coco> ottidmes: ah, that explains it. nix-build indeed shows the output. thanks!
<bqv[m]> coco: shortcut: ` nix repl '<nixpkgs>' `
jlv has joined #nixos
<coco> good to know :-)
<jlv> Does anyone know why my session is locking when the display is turned off (as in, with `xset dpms force off`)? I enabled `services.screen-locker` in home-manager, and it looks like the X11 screen saver is now a lock screen (as in, when activated with `xset s activate`). I can work around that easily, but can't turn off the display without the
<jlv> session locking / screensaver activating.
pjt_014 has joined #nixos
fusion809 has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @petabyteboy merged pull request #83461 → xonotic: split glx, sdl, dedicated, data → https://git.io/Jv9AO
<nix-build> [nixpkgs] @petabyteboy pushed to master « xonotic: split glx, sdl, dedicated, data (#83461) »: https://git.io/JvF0p
domogled has quit [Quit: domogled]
<nix-build> [nixpkgs] @OmnipotentEntity opened pull request #84130 → RFC45 Clean up Part 2, only the rebuilds → https://git.io/JvFE8
zeenk has joined #nixos
<cole-h> omnipotententity: (new conflict due to ^ xonotic merge)
<OmnipotentEntity> thanks
peanutbutter144 has joined #nixos
<OmnipotentEntity> also xonotic is still under active development? :O
<OmnipotentEntity> I'm impressed!
<nix-build> [nixpkgs] @globin merged pull request #84121 → grafana: 6.7.1 -> 6.7.2 → https://git.io/JvFnf
<nix-build> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JvFEE
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
musicmatze has left #nixos ["User left"]
<Ankhers> Is there some way to delete lorri's cache or something? I seem to be stuck at an old version of a package within one of my projects. If I `nix-shell', it gives me the proper version.
<bqv[m]> i just use ` lorri shell < /dev/null `
<Ankhers> bqv[m]: That did it. Thanks!
cosimone has quit [Remote host closed the connection]
mallox_ has quit [Quit: WeeChat 2.7.1]
cosimone has joined #nixos
kiloreux has joined #nixos
<jlv> So I've done a bit of reading and it sounds like it's actually impossible to turn off a display without locking the session, when using X11 (assuming you want to lock the session on inactivity). Is that right? That seems ridiculous.
<CptCaptain> Why does nix-build redownload a tarball, even though I just prefetched it?
<CptCaptain> No, github is giving me all sorts of weird gateway timeout errors
<cole-h> GitHub is experiencing technical issues :)
<energizer> jlv: can't you use xrandr --off?
ZaraChimera has joined #nixos
<kiloreux> I am trying to compile nethack-ftp on nix. But getting `error: use of undeclared identifier 'ARG_MAX`. How can I fix this error? It seems like ARG_MAX need to be imported from somewhere inside gcc.
<CptCaptain> cole-h: You're right. I still wonder why it is necessary to download the tarball again.
<cole-h> ¯\_(ツ)_/¯
kiloreux has quit [Read error: Connection reset by peer]
<ottidmes> CptCaptain: are you using eval time fetchers like the builtin fetchTarball or the fetchers in nixpkgs?
gustavderdrache has quit [Quit: Leaving.]
kiloreux has joined #nixos
<ottidmes> kiloreux: lol, did a quick search and found possible leads to your question, but yeah, all on github which seems to be down ATM
<CptCaptain> This project is using fetchfromgithub
<CptCaptain> *this package
<ottidmes> CptCaptain: you sure the prefetches succeeded, not some error pages?
jumper149 has quit [Quit: WeeChat 2.7.1]
<ottidmes> Guess so, otherwise the sha would fail..
<ottidmes> Well, that would depend on how you prefetched of course
jlv50 has joined #nixos
<kiloreux> ottidmes, Github is okay for me. But none of those worked for me.
<CptCaptain> The prefetch succeeded, I got a hash and I can find the files in the nix-store
o1lo01ol1o has joined #nixos
jlv50 has quit [Remote host closed the connection]
oranginal has joined #nixos
jlv52 has joined #nixos
jlv has quit [Ping timeout: 240 seconds]
kiloreux has quit [Remote host closed the connection]
<jlv52> energizer: Well, that turned off the display, but it doesn't turn back on for mouse / keyboard activity, and I'm not sure how to turn it on again without rebooting.
kiloreux has joined #nixos
<energizer> jlv52: how about --on
<oranginal> hey everyone. I was wondering if this would be an okay chat to ask (probably basic) config file questions in.
<jlv52> energizer: there is no `--on` option.
<OmnipotentEntity> github is being slooooooow
<jlv52> oranginal: of course.
<ottidmes> oranginal: it is
<energizer> jlv52: oh sorry it's called --auto
<pinkieval> I'm reading this part of the Nix tutorial: https://nixos.org/nix/manual/#sec-generic-builder and I don't understand the sentence "Discerning readers will note that the buildInputs could just as well have been set in the Nix expression"
<pinkieval> buildInputs *must* be in the Nix expression, doesn't it?
<oranginal> I was going through the vim docs on the NixOS wiki, as I want to install plugins, but I'm keep getting errors when I try to use the instructed code blob.
<jlv52> energizer: That turned the display on, but it also changed the rotation XD The default rotation is not correct.
<oranginal> I keep getting the error "packageOverride" doesn't exist.
<simukis_> You can write scripts that (ab)use shebangs like this for pretty nice results: https://paste.rs/MTt, but can you stack nix-shells this way? a-la https://paste.rs/QFQ?
<energizer> jlv52: you can read the xrandr docs to set it how you like
<ottidmes> oranginal: If you could share the error and config, that would help, but is it not packageOverrides?
<ottidmes> ,paste oranginal
<nix-build> oranginal: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<oranginal> packageOverrides had same issue: `error: The option `packageOverrides' defined in `/etc/nixos/configuration.nix' does not exist.`
<jlv52> energizer: I guess this can work, and I do know how to change the rotation, but this seems like a very messy way to just turn off a display. Why does turning off the display lock the session in the first place? That seems like such a weird decision to me.
<energizer> jlv52: xrandr --off doesn't lock the session for me
<ottidmes> oranginal: you probably want to use overlays anyway: nixpkgs.overlays = [ (self: super: { ...your stuff... }) ];
<energizer> jlv52: that's all i know about this topic. ##linux probably has more info
<oranginal> ottidmes: I was going with these instructions. https://nixos.wiki/wiki/Vim Have something that instructs how that works?
<ottidmes> oranginal: ah, if you want to stick to the wiki, just use nixpkgs.config = { packageOverrides ...
<ottidmes> or better nixpkgs.config.packageOverrides
<oranginal> ottidmes: Here is the current config in my /etc/nixos/configurations.nix https://pastebin.com/tim9jUuL
<oranginal> Actually, let me edit that for everything in it..
<oranginal> Is there a good syntax highlighting for this on pastbin?
<ottidmes> oranginal: problem is you are combining NixOS configuration with Nixpkgs config, you can add Nixpkgs config as part of your NixOS configuration, but it has to be through the option I just mentioned, nixpkgs.config
<ottidmes> oranginal: Not sure, I always use Github Gist, but considering their issues at the moment, might not be the best, but maybe they are unaffected by the technical issues, don't know
<oranginal> ottidmes: So, when I look at the wiki it didn't mention that it was modifying nixpkgs.config Is there something that could tell me about how that works?
<oranginal> Thank you. I'll take some time reading at this.
kiloreux has quit [Remote host closed the connection]
cr4y1 has joined #nixos
teto has quit [Ping timeout: 246 seconds]
<oranginal> So, even this documentation starts with packageOverrides. How did you know I needed to use nixpkgs.config?
<ottidmes> oranginal: Ah, this is just documentation about Nixpkgs config, that bit is mentioned here: https://nixos.org/nixos/manual/#sec-customising-packages
kqb has quit [Ping timeout: 260 seconds]
<FRidh> github down?
<ottidmes> Yep, technical issues at least
<jlv52> energizer: Thanks for you help. I'm not sure I'll ever understand why X11 works the way it does, but at least this workaround seems to work. I really need to switch to Wayland one of these days.
<oranginal> I got a 504 for github, so think so.
<energizer> jlv52: same here
Soo_Slow has quit [Remote host closed the connection]
knupfer has joined #nixos
Soo_Slow has joined #nixos
<abathur> got a pretty sweet 500 errorpage out of it, thouugh
roosemberth has quit [Ping timeout: 256 seconds]
<nix-build> [nixpkgs] @chkno opened pull request #84131 → haskellPackages.idris: Fix build (new GHC 8.8 & old megaparsec 7) → https://git.io/JvFze
<nix-build> [nixpkgs] @hlolli opened pull request #84133 → strace: fix strace-graph shebang which points to perl → https://git.io/JvFzq
<nix-build> [nixpkgs] @symphorien opened pull request #84135 → nixos/btrfs autoScrub: don't fail when scrub finishes successfully → https://git.io/JvFzm
<nix-build> [nixpkgs] @primeos opened pull request #84134 → iproute: 5.5.0 -> 5.6.0 → https://git.io/JvFzO
<abathur> that's probably a good sign
<nix-build> [nixpkgs] @rycee pushed to master « emacs: fix setup-hook »: https://git.io/JvFz1
<nix-build> [nixpkgs] @Izorkin opened pull request #84136 → nixos/tests: add check mariadb galera cluster → https://git.io/JvFzM
teto has joined #nixos
<nix-build> [nixpkgs] @rycee closed pull request #84044 → emacs: fix setup-hook → https://git.io/JvdDW
<nix-build> [nixpkgs] @flokli closed pull request #83658 → linux config: enable Creative Soundblaster DSP loading → https://git.io/JvQ9A
chagra has joined #nixos
<genevino> is there a simple way to install tmux in the installer environment? i tried "nix-env -i tmux", but that seems to do a lot more than i wanted
<ornxka> nix-env -iA nixos.tmux
<genevino> ty
lovesegfault has quit [Quit: WeeChat 2.7.1]
<bqv[m]> wait, what
<bqv[m]> there's a difference
<gchristensen> ,-iA
<gchristensen> ,-A
<nix-build> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<gchristensen> ,-iA = see ,-A
<nix-build> -ia defined
<bqv[m]> hmm
<bqv[m]> but even if it evaluates nixpkgs, it should come to the same result, no?
<oranginal> What makes -A faster? Just that it doesn't need to search through the options to find the right one?
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
<lunik1> how can I find out what package provides a binary?
FRidh has quit [Quit: Konversation terminated!]
<gchristensen> with `-A foo` Nix doesn't need to evaluate just enough to find `foo`, and then its dependencies
<ottidmes> lunik1: nix-index/nix-locate
kleisli has quit [Ping timeout: 256 seconds]
<gchristensen> wheeras without, ithas to evaluate everything and then find the best match
Naptra has quit [Remote host closed the connection]
<ottidmes> lunik1: or private message nix-build and ask ,locate bin <name>
<alexarice[m]> you can private message nix-build?
<gchristensen> nix-build is an irc bot usually known as {^_^}
<infinisil> Also works here, but in PMs or #bottest it won't be considered as spam if done too much :)
<ottidmes> alexarice[m]: yep, you can :)
<infinisil> ,locate bin gcc
nix-build has quit [Remote host closed the connection]
<alexarice[m]> I know I just didn't realise you could use it without spamming this
<infinisil> Lol, the bot just left
<gchristensen> infinisil: you killed it! :o
<ornxka> i actually have no idea what -A or -i do i just know you gotta type em both or it doesnt work
<benny> clang fanbot
<infinisil> Seems like it!
{^_^} has joined #nixos
<lunik1> thanks!
<ornxka> one day ill probably read the manual
<alexarice[m]> -i is install
<lunik1> huh after the bot left I got a repaly from {^_^} instead...
<ottidmes> wait, thats confusing, why is it now smiley bot again, rather than nix-build?
<infinisil> Oh, {^_^} is back!
<cole-h> ,-iA
<gchristensen> ~calculon's~ {^_^}'s back!
<{^_^}> see ,-A
<ottidmes> ,ping
<{^_^}> pong
<ottidmes> whohoo!
<gchristensen> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<cole-h> Good to see you again, {^_^}
<cole-h> > fortune
<{^_^}> "/earth is 98% full ... please delete anyone you can."
<benny> how would one go about to get PR merge rights / direct commit rights to nixpkgs?
<gchristensen> wowwwwwww
<ottidmes> things got scary fast
<ottidmes> one minute you give a bot a cookie, the next it talks about deleting people
<cole-h> benny: Be active, helpful, and trusted, and after enough people consider you a friend, you get promoted to the big kahuna group, probably :)
<cole-h> (disclaimer: that may be completely incorrect, but they're good guidelines in general)
<infinisil> benny: Check out https://github.com/NixOS/nixpkgs/issues/50105 for how it's recentely done
<{^_^}> #50105 (by Infinisil, 1 year ago, open): New nixpkgs committers requirements/process
<qyliss> (scroll to the bottom -- not the requirements at the top)
<infinisil> ^^
<infinisil> I should probably point that out in the PR description
<qyliss> (infinisil: might be worth editing to add something to that effect at the top -- I've seen people get confused by that)
<cole-h> :D
rardiol has quit [Ping timeout: 256 seconds]
<infinisil> Aw yeah, https://github.com/NixOS/nixpkgs/pull/82461 is working nicely now that ofborg runs the lib tests
<{^_^}> #82461 (by Infinisil, 2 weeks ago, open): Checked maintainers
<gchristensen> woot
<infinisil> I intentionally didn't fix those two new instances so I can see it failing
<gchristensen> woot tdd!
<cole-h> infinisil++ Good work on that :)
<{^_^}> infinisil's karma got increased to 244
<{^_^}> [nixpkgs] @romildo opened pull request #84137 → theme-obsidian2: 2.10 -> 2.11 → https://git.io/JvF2k
<benny> infinisil: that's useful to see, even if the top post is quite actionable vs the bottom, but the scope of the work of the last few nominations puts into context what's approximately needed :-)
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
noudle has quit []
<{^_^}> [nixpkgs] @flokli merged pull request #84087 → mariadb: update build configuration. → https://git.io/Jvdhc
<{^_^}> [nixpkgs] @flokli pushed 5 commits to master: https://git.io/JvF28
<bqv[m]> about to switch to a system 21 commits ahead of my last system... this can only end well
<CptCaptain> I can build a package from the root uf nixpkgs with: "nix-shell -A hello"
<CptCaptain> How do I get a nix-shell with that package?
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<energizer> CptCaptain: nix run nixpkgs.hello
<cole-h> Does `nix-shell -p hello` do what you want?
ixxie has quit [Ping timeout: 256 seconds]
pbb has joined #nixos
<LnL> you need to add -I nixpkgs=. to make that use the local checkout however
<cole-h> Oh, yeah.
<CptCaptain> LnL: Thank you, that's what I meant.
* cole-h uses nixpkgs=/local/check/out everywhere anyways
<energizer> what's the advantage of using a local checkout?
<cole-h> I don't have to waste bandwidth on fetching a tarball every time I wanted to update the channel
<oranginal> Hey, is environment.shellAliases not supposed to pop up anything when you click on it? https://nixos.org/nixos/options.html#environment.shellaliases
<cole-h> Just git pull for latest packages
<energizer> does git pull use less bandwidth than fetching a tarball?
__monty__ has quit [Quit: leaving]
<cole-h> Well, you don't have to pull the whole tarball when `git pull`ing the diffs...
<energizer> i see
<bqv[m]> it's a delta
<bqv[m]> so yes
lsix has quit [Quit: WeeChat 2.7.1]
<cole-h> You only pull what's changed. You pull the entire tarball of the channel because AFAIK, there's no way to get a delta of that
<cole-h> ^
<energizer> how often do you do that?
<cole-h> Every other day or so
<ZaraChimera> Is there a viable way to run nix in Windows 10? Say through WSL or Cygwin?
philr has joined #nixos
<energizer> googling wsl nix looks like yes
jboy has quit [Quit: bye]
<{^_^}> [nixpkgs] @misuzu opened pull request #84139 → nixos/gitlab-runner-multi: init → https://git.io/JvF2N
oranginal has quit [Quit: Leaving]
<misuzu> bachp: could you please take a look at this one? ^
thetet has joined #nixos
kleisli has joined #nixos
kaliumxyz has quit [Ping timeout: 240 seconds]
CustosLimen has quit []
guest1234 has joined #nixos
jboy has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chloekek has joined #nixos
zupo has joined #nixos
<ZaraChimera> energizer, Thanks ^,^
zupo has quit [Client Quit]
<bqv[m]> hey, what environment variable do i have to set to convince nixos tools that my configuration is not at /etc/nixos
fenedor has quit [Quit: Leaving]
lovesegfault has joined #nixos
<alexarice[m]> bqv: I just symlink it
CptCaptain has quit [Quit: WeeChat 2.7.1]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/be8514864dd (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> bqv[m]: NIX_PATH
<bqv[m]> yeah i think that's probably better anyway actually, have some indirection
<misuzu> bachp: `nixos-rebuild -I nixos-config=/path/to/config.nix`
<pjt_014> for what was said earlier, It might be worth noting that you can do a shallow clone of nixpkgs to save space: git clone github.com/... --depth 25
<bqv[m]> i've made my config put itself at /run/current-system/flake
<lovesegfault> Does anyone know how to massage (or smack) fontconfig on NixOS so that color emoji takes preference over the bw ones?
<cole-h> `du -sh ~/workspace/vcs/nixpkgs` -> 1.4G
<lovesegfault> cc. cole-h and colemickens who might be seeing this with the new alacritty
<bqv[m]> so i'll just have /etc/nixos be a symlink to /run/current-system/flake
<cole-h> I don't think it's necessary to shallow-clone, but that's just me
<bqv[m]> cole-h: ha, mine's 1.5G
<bqv[m]> time to gc
<cole-h> lovesegfault: Snippet from my hm config: https://gist.github.com/cole-h/424f20eeee91ed43c65a7b5f288865c9
<pjt_014> If you have, say, a vps with <20G of free space it might be
<cole-h> I'm assuming you're not running your main system on a VPS :P
<bqv[m]> i only have 94G free
<lovesegfault> cole-h: Hmm
<gchristensen> am?
<gchristensen> ram*?
<cole-h> If only
<gchristensen> indeed :(
<{^_^}> [nixpkgs] @Infinisil merged pull request #83258 → nixos/sympa: fix outgoing emails, update package version → https://git.io/Jvygl
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/JvFai
<pjt_014> My local device has 400G+ free but the HDD has 'old age' warnings up the wazoo (cuz it is), meanwhile my vps is crazy fast io/disk-wise but has 32GB of space
<pjt_014> and I have two rpis that are for misc stuff
<pjt_014> I'm hoping to get a few basic network services on my pi0 so that it can be on 24-7 for that
<cole-h> lovesegfault: btw "new" alacritty now follows font fallback of your entire system. `fc-match -s <font>` is the exact same fallback path
<lovesegfault> cole-h: Yeah, I'm trying to figure out how to get it to work without that xml mess
<cole-h> Good luck
<lovesegfault> b/c that will also override my other fonts
<lovesegfault> It sets everything to roboto which is disgusto-barfo
<{^_^}> [nixpkgs] @eadwu closed pull request #83174 → nerdfonts: expand capabilities → https://git.io/JvD76
<cole-h> Doesn't NixOS have customization for fonts that doesn't required modifying the monstrosity people call XML?
<lovesegfault> Is there a fontconfig.extraConfig?
<cole-h> lovesegfault: Maybe `fonts.fontconfig.localConf`?
<lovesegfault> Ah, yeah
<lovesegfault> I was just looking at that
<lovesegfault> I think I just need that
thetet has left #nixos [#nixos]
<cole-h> maybe also the bit just above?
<cole-h> I don't think you need that bit tbh. That just looks like "Apple Color Emoji should become Noto Color Emoji"
<lovesegfault> Let's see
knupfer has quit [Ping timeout: 252 seconds]
<bqv[m]> i'm sure there's an xml-to-json transform out there somewhere, and there's obviously a json-to-nix transform
erasmas has quit [Quit: leaving]
* lovesegfault tries
CustosLimen has joined #nixos
sigmundv_ has quit [Ping timeout: 250 seconds]
<lovesegfault> Oh, that just gets dumped to a file, I gotta make it valid XML
<bqv[m]> cole-h: after gc my nixpkgs takes up 536M
* lovesegfault complains
<lovesegfault> cole-h: It works!!
<lovesegfault> will post config in a second
<cole-h> I'm honestly surprised lol
<lovesegfault> I had to edit it a bit
<cole-h> Oh you copied what I gave you basically
<cole-h> No longer surprised
<cole-h> ;)
<cole-h> BTW: That was given to me by kchibisov over in #alacritty so... lol
gustavderdrache has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
sshow has quit [Ping timeout: 264 seconds]
Jackneill has quit [Ping timeout: 240 seconds]
<lovesegfault> Yeah, I copied what you gave me, and then nuked every reference to roboto or iosevka
sshow has joined #nixos
<bqv[m]> how confident are you all that if your config builds, it works
<lovesegfault> 100%
<colemickens> what does "works" mean?
<bqv[m]> doesn't require a config edit and immediate rebuild :p
o1lo01ol1o has quit [Ping timeout: 240 seconds]
Guest45014 has joined #nixos
dermetfan has quit [Ping timeout: 272 seconds]
<colemickens> now? pretty confident. when I lay down a config for a new machine, it usually requires some quick iteration.
zeenk has quit [Quit: Konversation terminated!]
<bqv[m]> see i'm soon to switch my server to my flake config
<gchristensen> depends if I just hacked on it or not :)
<bqv[m]> and logically it should go fine
<bqv[m]> but realistically i'm going to break everything
<cole-h> Rollback? ;)
<drakonis> rollbacks are overpowered
<bqv[m]> absolutely, but i don't like pushing my luck
<bqv[m]> and it's still a pain to have to go into IPMI
<{^_^}> [nixpkgs] @mkg20001 opened pull request #84141 → isolyzer: init at 1.3.0 → https://git.io/JvFVy
<lovesegfault> Isn't there some feature where if the machine reboots 3 times within a certain time frame Nix auto-rollbacks?
<bqv[m]> that's pretty cool
<bqv[m]> relies on it not just hanging, though
<gchristensen> lovesegfault: no that doesn't exist anywhere central, but a few places have implemented it
<lovesegfault> gchristensen Ah, I think I recall andi- bragging to me about having something like that working :P
<lovesegfault> I may be misremembering
<andi-> lovesegfault: systemd ad-hoc timers
<andi-> adn then just stop it to "confirm"
<Guest45014> Hello. Someone managed to set the fileSystems option to mount a directory with sshfs?
<gchristensen> lovesegfault: https://github.com/NixOS/nixops/pull/1245 has an example and infinisil has implemented this too
<{^_^}> nixops#1245 (by grahamc, 3 weeks ago, open): Deploy Targets: Policy/Behavior-free Deployment Hooks (auto-rollbacks, drain events, etc.)
<{^_^}> [nixpkgs] @flokli opened pull request #84142 → bluespec: unstable-2020.02.09 -> unstable-2020.04.03 → https://git.io/JvFwe
<lovesegfault> gchristensen: That's pretty sweet
ixxie has joined #nixos
kaliumxyz has joined #nixos
chloekek has quit [Ping timeout: 240 seconds]
cosimone has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e071ed1dc20 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
guest1234 has quit [Remote host closed the connection]
<cole-h> Can we fetchgit from `mirror://savannah/...`?
* cole-h doesn't know how the `mirror://` stuff works
<{^_^}> [nixpkgs] @marsam merged pull request #83859 → slirp4netns: 0.4.4 -> 1.0.0 → https://git.io/Jv5Cm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvFwc
<bqv[m]> fetchurl suffices, no?
<bqv[m]> i've only used mirror://gnu
<bqv[m]> but fetchurl/fetchTarball was fine
oranginal has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #83978 → imgproxy: 2.8.1 -> 2.11.0 → https://git.io/JvdcB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvFwR
<b42> cole-h: seems to be used only by fetchurl (and fetchers that use fetchurl): https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/fetchurl/mirrors.nix
<b42> i'd say fetchgit won't work
<{^_^}> [nixpkgs] @marsam merged pull request #83967 → fusee-interfacee-tk: 1.0.0 -> 1.0.1 → https://git.io/Jvd3d
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvFwy
<cole-h> Thanks for researching for me. b42++
<{^_^}> b42's karma got increased to 4
<oranginal> How does one tell if a package like acpilight is installed when a config option is set for it?
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
ndarwincorn has joined #nixos
captjakk has quit [Ping timeout: 250 seconds]
alina has joined #nixos
ambroisie has quit [Ping timeout: 250 seconds]
mbrgm_ has joined #nixos
<lovesegfault> oranginal: Which config option?
<lovesegfault> I usually either:
<lovesegfault> 1. Read `man configuration.nix` and see if it tells me
<ornxka> error: file 'nixos-config' was not found in the Nix search path
<ornxka> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
<ornxka> WHAT DO
<lovesegfault> 2. Look into the `nixpkgs` source and see what the module does
<bqv[m]> oh i had that
<bqv[m]> i fixed it by not doing what i was trying to do
<lovesegfault> lol
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
xelxebar has joined #nixos
<bqv[m]> ...that probably isn't as helpful as i intended
<ornxka> bqv[m]: im trying to do nixos-rebuild
<ornxka> although frankly ive never liked updating in the first place
<bqv[m]> in my case it was because i was building from a flake, but trying to use system.copySystemConfiguration = true, which uses <nixos-config>
<ornxka> i have nixpkgs.config somewhere
<bqv[m]> so instead i ripped out the code that that option sets and modified it to fit a flake
<ornxka> i also think i recently updated from 19.03 to 19.09
Guest45014 has quit [Remote host closed the connection]
rardiol has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « joypixels: 5.0.2 → 5.5.0 »: https://git.io/JvFrG
guest1234 has joined #nixos
<cole-h> Check your NIX_PATH and make sure /etc/nix/configuration.nix exists is what I would do
thetet has joined #nixos
<oranginal> lovesqgfault: config like hardware.acpilight.enable
<guest1234> I'm an aspiring nix user that's stuck at the install screen. I have an old x220, but no ethernet cord to connect it directly. I've created a wpa_supplicant.conf file and restarted wpa_supplicant. running the command wpa_cli seems to show that I'm connected to my wifi. When I run nixos-install I'm still shown the message "warning: you don't have
<guest1234> Internet access; disabling some network-dependent features" and then errors because it's still trying to download things from the internet. Has anyone else here had a similar problem before?
<oranginal> lovesegfault: I've noticed others do install, but that one doesn't.
<ornxka> i dont have /etc/nix/configuration.nix
<ornxka> i have /etc/nixos/configuration.nix, which is a symlink
<lovesegfault> ornxka: The former doesn't exist, the latter sounds like you use NixOps or Morph?
<ornxka> well, i made the symlink
<ornxka> as in manually
<ornxka> it points to a git repo and the file is definitely there
genevino has quit [Quit: Great minds discuss ideas. Average minds discuss events. Small minds discuss people.]
<ornxka> NIX_PATH is unset
<ornxka> nixos-rebuild -I nixpkgs=/mnt/viridian/src/nixpkgs/release-19.09 -I unstable=/mnt/viridian/src/nixpkgs/master -I dev=/mnt/viridian/src/nixpkgs/dev -I localpkgs=/home/user/src/localpkgs switch
<ornxka> that is the whole invocation and all of those paths are definitely there
<cole-h> You need to point nixos-config to the file in /etc/nixos -- pretty sure it only looks for configuration.nix in /etc/nix
<cole-h> -I nixos-config=/etc/nixos/configuration.nix
<ornxka> huh
<ornxka> ill try that
<ornxka> oh thank you very much it worked
<ornxka> but ive been using /etc/nixos/configuration.nix for years
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5bf91db519c (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<ornxka> so im confused as to why it suddenly stopped working
<bqv[m]> cole-h: huh? it uses /etc/nixos
<cole-h> Am I wrong? I've never seen /etc/nixos
<cole-h> My bad 😬
enick_900 is now known as emily
<ornxka> cole-h: are you using nix (on a distribution that isnt nixos) or are you using nixos proper
<cole-h> (but still try -I nixos-config=.... to see)
justanotheruser has quit [Ping timeout: 258 seconds]
<cole-h> ornxka: Arch + Nix. But I did mess with a NixOS VM for a little bit. Either I just let tab-completion take over or I'm misremembering.
<ornxka> ive decided that we are both right and this is the result of a/b testing on the part of the nix developers
captjakk has joined #nixos
<cole-h> It is indeed /etc/nixos... Huh.
* cole-h bows head in shame.
<cole-h> I mean there is /etc/nix, but that holds nix.conf which is for the daemon and stuff
m0rphism has quit [Ping timeout: 265 seconds]
cr4y1 has quit [Ping timeout: 256 seconds]