worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
ris has quit []
ris has joined #nixos
<clever> fresheyeball: pass them to nixpkgs when you imported it, as normal
<duairc> But in practice it's a bit more complicated than that, but that's the general idea anyway
<fresheyeball> clever: and they will automatically be applied to Musl?
<clever> fresheyeball: yeah
<clever> duairc: id keep them as seperate functions, defining each sub-tree
smatting_ has quit [Ping timeout: 258 seconds]
<fresheyeball> ok it still failed
<fresheyeball> but new error, running with j 1 core 1
<{^_^}> [nixpkgs] @bcdarwin closed pull request #93683 → python3Packages.dicom2nifti: unbreak → https://git.io/JJliV
<duairc> I guess I wanted to ask is there some way I can keep doFoo and doBar functions that set options in multiple namespaces, and somehow at the same time convince Nix to trust me that I don't set config.foos or config.bars anywhere in them
<duairc> But if separating out the functions is the only way then so be it
<clever> colemickens: what does uname -a return? and `ls -l result` vs `ls -l /nix/var/nix/profiles/system` ?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9b6a00ba119 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej has quit [Ping timeout: 240 seconds]
codygman has quit [Ping timeout: 244 seconds]
orivej has joined #nixos
qbit has joined #nixos
<qbit> hola!
proofofkeags has quit [Remote host closed the connection]
<qbit> is it possible to make xrdp use the colemak layout?
<{^_^}> [nixpkgs] @bcdarwin opened pull request #93684 → python3Packages.nibabel: unbreak reverse deps → https://git.io/JJlP3
<colemickens> Oh systemd-boot-builder loops over all of the system profiles. So if I accidentally activated the rpi config once, it will be listed as a generation and systemd-boot-builder will barf on it.
<colemickens> I can test by find the bad generation and removing it, maybe we systemd-boot-builder could act slightly differnetly
<clever> colemickens: that will do it!
<clever> colemickens: yeah, it has to run the append-initrd secrets, for every generation, to copy the secrets from not /nix/store to /boot
<colemickens> right because it regenerates ALL entries every time, which makes sense.
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<colemickens> this is interesting though. My config is actually perfectly fine.
<colemickens> I guess the output is still pure, but the application (activation) is inherently impure
<clever> colemickens: another sign, the append-secrets path you verified, was not the one that failed
<colemickens> yeah that's what got me reading the python script again enough to realize what was up
cosimone_ is now known as cosimone
proofofkeags has joined #nixos
<romanofski> I'm trying to overwrite a python27 package (google_api_core) which has been marked as Python27 incompatible (yet it isn't).. however creating an overlay and setting the disabled attribute to false, seems to still not pick up the changes (even if I also change the version and SHA)
<romanofski> however if I include it under a different attribute name (e.g. google_api_core_py27) it seems to be buildable
<romanofski> wonder what I have missed
<{^_^}> [nix] @Ericson2314 opened pull request #3851 → Parse CA derivations using new output variants -- contains #3830 → https://git.io/JJlPX
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93672 → pipewire: 0.3.6 -> 0.3.7 → https://git.io/JJlau
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJlPH
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJlPF
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
ilios has joined #nixos
<ilios> I'm sure I am being a total idiot somehow, but why would I be getting "The option `security.acme.acceptTerms' defined in `/etc/nixos/configuration.nix' does not exist." on rebuild when it is clearly a valid option?
<clever> ilios: what version of nixpkgs are you using?
<{^_^}> [nixpkgs] @bcdarwin opened pull request #93685 → python3Packages.etelemetry: unbreak → https://git.io/JJlXf
<ilios> clever: just 19.09
<clever> ilios: and does the option exist in 19.09?
<ilios> clever: 'nixos-option security' lists acme there, but if I run 'nixos-option security.acme' it gives me 'error: The option `security.acme.acceptTerms' defined in `/etc/nixos/configuration.nix' does not exist.
<clever> ilios: you need to comment it out for nixos-option to parse it fully
<ilios> clever: thanks for that, wondered why it was parsing that option deeper than I requested, so it does not list that option, perhaps this is introduced in 20.03
<clever> yeah, it was added relatively recently
<ilios> clever: thank you for helping me learn, you rock
<clever> your welcome
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93684 → python3Packages.nibabel: unbreak reverse deps → https://git.io/JJlP3
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJlXc
orivej has joined #nixos
zebrag has quit [Ping timeout: 256 seconds]
inkbottle has joined #nixos
<exarkun> mysteriously nixos stopped bringing up the host ve-* interface for my nixos container
<exarkun> which particular thing is responsible for doing this?
<exarkun> perhaps systemd-nspawn?
waleee-cl has quit [Quit: Connection closed for inactivity]
<exarkun> systemd-nspawn claims a /usr/lib/systemd/network/80-container-ve.network is responsible for making all this work
<exarkun> I wonder what that translates to on nixos
<exarkun> maybe nothing. so how'd it ever work at all :/
jumper149 has quit [Quit: WeeChat 2.9]
<exarkun> ah it's implemented in ./modules/virtualisation/containers.nix
<exarkun> and the interface isn't assigned an address until after the container is considered started!
<exarkun> so woe unto thee who has a container which requires the network to start.
reanimus has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
reanimus has joined #nixos
<{^_^}> #93659 (by ju1m, 8 hours ago, open): nixos/security.pass: provisioning GnuPG-protected secrets through the Nix store
<{^_^}> [nixops-aws] @grahamc opened pull request #108 → Fixup config / creation issues to work a bit more reliably → https://git.io/JJl1e
fresheyeball has quit [Read error: Connection reset by peer]
Cale has quit [Remote host closed the connection]
AlpineLlama has quit [Quit: No Ping reply in 180 seconds.]
AlpineLlama has joined #nixos
fresheyeball has joined #nixos
nuncanada has quit [Quit: Leaving]
orivej_ has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
thomasjm has quit [Quit: WeeChat 2.8]
thomasjm has joined #nixos
thomasjm has quit [Client Quit]
maier has joined #nixos
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @marsam merged pull request #93623 → oneDNN: 1.5 -> 1.5.1 → https://git.io/JJWDy
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/JJl1M
orivej has joined #nixos
maier has quit [Ping timeout: 256 seconds]
Wizek has quit [Quit: Connection closed for inactivity]
<infinisil> Church-: Very interesting PR indeed
<{^_^}> [nixpkgs] @pseudomuto opened pull request #93686 → Update default branch for tslime.vim → https://git.io/JJlMe
orivej has quit [Ping timeout: 256 seconds]
proofofkeags has quit [Remote host closed the connection]
orivej has joined #nixos
<Church-> Yarp, this'll be fun to play with
<Church-> Hmm, does fetchSubmodules in fetchFromGithub not work? I would have assumed this would have worked and grabbed the two submodules e and web assets. https://paste.rs/3ex
<infinisil> Church-: Did you update the hash?
noudle has quit []
<Church-> Yep
<Church-> It's presumaly not pulling the webassets submodule since I get this: https://paste.rs/N0y
<Church-> Trying a local build with patches to the makefile, see if it is getting pulled down
<infinisil> Just check out the fetched source directly
<infinisil> To see if all submodules are there
shibboleth has quit [Quit: shibboleth]
<infinisil> Oh but I don't thinx pkgs.fetchFromGitHub works with private repos
<infinisil> builtins.fetchGit certainly works though, and has recently gained support for submodules too
<Church-> Well the submodule failing to be pulled is a public one
<Church-> FetchFromGithub is specifically used because the e submodule is private
<{^_^}> [nixpkgs] @worldofpeace merged pull request #92622 → nixos/xpadneo: init at 0.8.1 → https://git.io/JJtix
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJlM6
<infinisil> You sure that works with private repos? I was pretty sure it doesn't
<infinisil> And note that fetchFromGitHub just calls fetchgit underneath if fetchSubmodules = true
dbmikus has quit [Ping timeout: 260 seconds]
<Church-> Heh, good to know
<{^_^}> [nixpkgs] @nh2 opened pull request #93687 → Ghc no gold 20.03 → https://git.io/JJlMX
markus1199 has joined #nixos
julm has quit [Ping timeout: 256 seconds]
markus1189 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93685 → python3Packages.etelemetry: unbreak → https://git.io/JJlXf
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JJlMy
<Church-> infinisil: Hmm, does fetchGit auto pull submodules? Or is there an arg for it?
<Church-> Didn't see anything in docs
h0m1 has quit [Ping timeout: 260 seconds]
<{^_^}> nix#3166 (by blitz, 38 weeks ago, merged): Add fetchSubmodules to builtins.fetchGit
<infinisil> It's only a recent change
orivej has quit [Ping timeout: 258 seconds]
orivej_ has joined #nixos
<Church-> Ah, thinking... guess nixOS unstable to pull it in?
<Church-> Oh doy.
<Church-> That's right it's a builtin..
h0m1 has joined #nixos
<Church-> Meh guess I'll drop this for now then.
<Church-> Odd since it doesn't look like anything had changed...
<Church-> Ahh so webassets moved to being a submodule. That's the change.
proofofkeags has joined #nixos
knerten1 has joined #nixos
knerten2 has quit [Ping timeout: 256 seconds]
julm has joined #nixos
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
shibboleth has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej_ has joined #nixos
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
shibboleth has quit [Quit: shibboleth]
MarcWeber has joined #nixos
MarcWebe1 has quit [Ping timeout: 240 seconds]
user_0x58 has quit [Ping timeout: 260 seconds]
user_0x58 has joined #nixos
wnklmnn has quit [Quit: Leaving]
orivej has quit [Ping timeout: 264 seconds]
drakonis1 has joined #nixos
orivej has joined #nixos
drakonis has quit [Ping timeout: 244 seconds]
sigmundv_ has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
CMCDragonkai_ has joined #nixos
<CMCDragonkai_> Hi I have a trivial derivation that just fetches a tarball .tar.gz from the internet.
<CMCDragonkai_> It is meant to unpack it.
<CMCDragonkai_> I wanted to use `fetchTarball`, but it doesn't allow me to specify `meta` attribute
<CMCDragonkai_> How come there's no `pkgs.fetchTarball` equivalent?
<CMCDragonkai_> `pkgs.fetchzip` allows `meta`
<CMCDragonkai_> but not the `builtins.fetchTarball`?
<clever> CMCDragonkai_: pkgs.fetchzip can fetch tar files
<gchristensen> builtins.fetchTarball runs in the evaluator, as your user and is not a derivation
<CMCDragonkai_> clever: why is this not mentioned!
<gchristensen> I didn't know that :o
<gchristensen> sounds like it shouldn't :)
<clever> CMCDragonkai_: the trick, is that fetchzip just adds unzip to the nativeBuildInputs, and runs the normal unpackPhase function
stoile has quit [Ping timeout: 240 seconds]
<clever> and unzip adds an unpack hook, to enable zip support
<clever> but it still tries every unpacker it knows of
<CMCDragonkai_> cool it works
<CMCDragonkai_> `pkgs.fetchzip` now can support `name` and `meta`
<gchristensen> that is disappointing :/, not so fun to have functions be used for things other than what it says it does
<clever> i think the main point, is that a lot of lazy websites, will dynamically generate the zip file on the fly, and mess up timestamps
<clever> causing the sha256 to change randomly
<clever> so fetchzip will unpack, and hash the contents intead
<clever> it should probably be renamed to fetchAndUnpack, but have fun with the replace-all :P
lord| has quit [Ping timeout: 258 seconds]
<Church-> Heh
<Church-> I mean, find, xargs and sed? :P
<CMCDragonkai_> perhaps a new alias?
lord| has joined #nixos
maier has joined #nixos
pjt_014 has joined #nixos
tdeo has joined #nixos
mac10688 has joined #nixos
maier has quit [Ping timeout: 258 seconds]
Supersonic112 has joined #nixos
<mac10688> Does anyone know if it's possible to pull from both safe nixpkgs and unsafe in a config file?
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
tdeo has joined #nixos
tdeo has quit [Changing host]
orivej_ has quit [Ping timeout: 240 seconds]
cjpbirkb1 has quit [Quit: Goodbye, take care]
orivej has joined #nixos
cosimone has quit [Quit: Quit.]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
domogled has quit [Quit: domogled]
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1975b868747 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
tdeo has quit [Remote host closed the connection]
tdeo has joined #nixos
stoile has joined #nixos
tdeo has quit [Remote host closed the connection]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<kini> The NixOS wiki (https://nixos.wiki/wiki/Python#Python_virtual_environment) suggests that python venvs should generally work on NixOS, but I'm getting problems pretty early: `pip install` seems to want to overwrite stuff in the nix store, instead of writing into the venv, so it throws "read-only filesystem" errors. I created the venv by first loading up an environment with `python36.withPackages (ps: with ps; [pip setuptools])` and then running `python -m venv
<kini> my-venv`. Am I doing something wrong?
<nbathum> mac10688: yes, and yes, its possible:
tdeo has joined #nixos
<nbathum> I assume you mean on NixOS
<mac10688> yes
<mac10688> nbathum: thanks!
<bqv> kini: did you activate it
<kini> Yes, I did.
<bqv> are you sure?
<bqv> What command?
proofofkeags has quit [Remote host closed the connection]
<kini> `source my-venv/bin/activate`, then `pip install six` (for example). I should mention I'm actually using direnv to load the nix shell containing the `python36.withPackages (...)`, though I imagine that shouldn't matter...
proofofkeags has joined #nixos
xelxebar has quit [Remote host closed the connection]
<bqv> If direnv executes after that activation it will break the venv
<kini> argh really? derp... lemme try without direnv then :)
<bqv> It'll override your path back to the nix store, so yeah
xelxebar has joined #nixos
<kini> Makes sense. I guess I can't use anything that screws with the PATH simultaneously with direnv...
proofofkeags has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<kini> OK, so now I'm trying it without direnv, but I still have the same problem. `which python` shows the python inside `my-venv`, but `which pip` shows `pip` as loaded from the `nix-shell` I entered. Looking inside `my-venv/bin`, there's a `my-venv/bin/python` but no `my-venv/bin/pip`.
orivej has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @marsam merged pull request #93618 → nodejs: 10.21.0 -> 10.22.0, 12.18.2 -> 12.18.3, 14.5.0 -> 14.6.0 → https://git.io/JJW66
<{^_^}> [nixpkgs] @marsam pushed 5 commits to master: https://git.io/JJl9V
tdeo has quit [Remote host closed the connection]
fresheyeball has quit [Ping timeout: 265 seconds]
tdeo has joined #nixos
zebrag has joined #nixos
fresheyeball has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #93687 → [20.03] ghc: do not use ld.gold with musl libc → https://git.io/JJlMX
<{^_^}> [nixpkgs] @domenkozar pushed 3 commits to release-20.03: https://git.io/JJl9w
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
peterlau[m] has joined #nixos
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos
endformationage has quit [Quit: WeeChat 2.7.1]
<bqv> kini: you could use python -m pip
<bqv> Not sure whats up there
at220242[m] has joined #nixos
<kini> Oh hmm, `my-venv/bin/python` is a symlink into the nix store. Is that supposed to happen? There is a `--copies` option to `python -m venv` -- is that what people are using?
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<kini> But even when I use `--copies`, it just copies a 500-byte wrapper script, which I guess is what the nixpkgs `python.withPackages (...)` executable actually is; and that wrapper `exec`s a python inside the nix store
orivej has joined #nixos
<kini> What is "supposed" to happen when I create a virtualenv? i.e. what's supposed to be in `my-venv/bin/`?
akaWolf has quit [Ping timeout: 244 seconds]
<kini> I tried running `python -m venv my-venv` on another linux distro, and it copied a `pip` script and an `easy_install` script into `my-venv/bin`, plus a symlink to my systemwide python executable. So I guess on NixOS I should expect at least a `pip` script to be copied into there...
fresheyeball has quit [Ping timeout: 240 seconds]
fresheyeball has joined #nixos
<bqv> kini: try just using qvirtualenv my-venv`, raw
<bqv> Thats what I do
growpotk- has quit [Quit: ZNC 1.8.1 - https://znc.in]
<bqv> Maybe theres a difference
<bqv> s/q/`/
at220242[m] is now known as wlan42[m]
drakonis1 has quit [Quit: WeeChat 2.8]
fragamus_ has joined #nixos
<kini> bqv: `virtualenv` fails even earlier: http://ix.io/2ccV
<bqv> Installed via nix?
<kini> That does look like a good error message, though, since I guess the wrongness of the prefix is exactly what was causing the issues with `python -m venv` later down the line when I ran `pip`
<kini> yeah, `nix-shell` with `shell.nix` containing `{ pkgs ? import <nixpkgs> {} }: with pkgs; mkShell { buildInputs = [ (python36.withPackages (ps: with ps; [ pip setuptools virtualenv ])) ]; }`
orivej_ has joined #nixos
orivej has quit [Read error: Connection reset by peer]
<bqv> Odd.
slack1256 has quit [Remote host closed the connection]
luna has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.7.1]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lambda-11235 has joined #nixos
<kini> bqv: Could you tell me what you see in the `bin/` of a virtualenv when you create it?
maier has joined #nixos
<CMCDragonkai> What license to use for things like: https://www.epfl.ch/labs/mmspg/downloads/food-image-datasets/
<CMCDragonkai> > Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute the data provided and its documentation for research purpose only.
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):318:29
<CMCDragonkai> Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute the data provided and its documentation for research purpose only.
<CMCDragonkai> is that an unfree license?
<bqv> activate, activate.csh, activate.fish, activate.ps1, activate_this.py,
<bqv> activate.xsh, chardetect, easy_install, easy_install3, easy_install-3.8, pip,
<bqv> pip3, pip-3.8, pip3.8, ptipython, ptipython2, ptipython2.7, ptpython, ptpython2,
<bqv> ptpython2.7, pygmentize, python, python3, python3.8, wheel, wheel3, wheel-3.8
<bqv> kini: ^
<bqv> Thats a used venv
zebrag has quit [Quit: Konversation terminated!]
orivej_ has quit [Ping timeout: 258 seconds]
<kini> bqv: Thanks! Are any of those symlinks into `/nix`? And are any of them small wrapper bash scripts that look like they are generated by the nix ecosystem?
orivej has joined #nixos
<kini> CMCDragonkai: I would say that is unfree because there is no clear or universally agreed-upon definition of what "research purpose" is
<CMCDragonkai> what about `unfreeRedistributable`?
<kini> but that's just my opinion, I don't know if there's an official ruling on this stuff
maier has quit [Ping timeout: 240 seconds]
<bqv> It does say distribute
Cale has joined #nixos
iqubic has joined #nixos
<bqv> kini: python at least is a symlink
<CMCDragonkai> i reckon then `unfreeRedistributable` is fine then
fragamus_ has quit [Ping timeout: 240 seconds]
<CMCDragonkai> CIFAR10 is another dataset, i just set to `licenses.free`
<CMCDragonkai> since it wasn't specified
<iqubic> Is there a way to install Openbox as well as i3 on my nixos box, and be able to select between one or the other with LightDM
<iqubic> ?
<kini> well, the "distribute" part is also restricted to "research purpose only", though
<CMCDragonkai> also that upstream source is broken
<CMCDragonkai> but other poeple have mirrored the data
<CMCDragonkai> so i wonder how to deal with these cases
<CMCDragonkai> i could add multiple srcs?
<CMCDragonkai> one pointing to the other mirrors
<CMCDragonkai> i mean can `fetchzip` or `fetchurl` point to multiple possible urls
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<iqubic> So, how do I install multiple DMs on Nixos?
codygman has joined #nixos
ddellacosta has quit [Ping timeout: 256 seconds]
cole-h has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
xelxebar has joined #nixos
<iqubic> So, actually, I'm using home-manager, and using "windowManager.command = ..." So, now I'm wondering how I can enable another window manager.
palo1 has joined #nixos
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7d557a5d1b3 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1975b868747 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
raghavsood has joined #nixos
<raghavsood> Anyone know why ofBorg would skip a PR? And/Or how I can get it to build it
<raghavsood> Specifically, PR #93640
<{^_^}> https://github.com/NixOS/nixpkgs/pull/93640 (by RaghavSood, 18 hours ago, open): plex: 1.19.4.2935 -> 1.19.5.3112
<symphorien> Because plex is unfree ?
orivej has quit [Quit: No Ping reply in 180 seconds.]
<raghavsood> It seems to have automatically built it for previous PRs
<raghavsood> First I thought that because the plex versions contain the commit hash, maybe ofBorg couldn't match the title format, but that also doesn't seem to apply to prevous PRs
<raghavsood> Maybe just a missed webhook or something?
orivej has joined #nixos
<garbas> cole-h: used to be me who would be pinged on this kind of issues :)
nixuser_ has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #93674 → python.pkgs.fontforge: disable with Python 2 → https://git.io/JJlVT
<{^_^}> [nixpkgs] @jtojnar pushed to master « python.pkgs.fontforge: disable with Python 2 »: https://git.io/JJl5W
lord| has quit [Ping timeout: 246 seconds]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJl58
luna has quit [Ping timeout: 256 seconds]
simba2 has joined #nixos
orivej_ has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
orivej has joined #nixos
knupfer has joined #nixos
turlando has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 86 commits to staging-next: https://git.io/JJl5w
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/93a38cd0982 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
asheshambasta has joined #nixos
lunik1 has quit [Read error: Connection reset by peer]
lunik1 has joined #nixos
lord| has joined #nixos
m1cr0man has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jtojnar pushed 87 commits to staging: https://git.io/JJldh
teej has quit [Quit: Connection closed for inactivity]
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
orivej has quit [Read error: Connection reset by peer]
dermetfan has joined #nixos
orivej has joined #nixos
lord| has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #93669 → pythonPackages.clikit: make it installable on python3.5 → https://git.io/JJlzq
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JJlF4
Rurd2di has quit [Remote host closed the connection]
mallox has joined #nixos
Rurd2di has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
user_0x58 has quit [Quit: Leaving]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
simba2 has quit [Ping timeout: 244 seconds]
mallox has quit [Quit: WeeChat 2.8]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
ardumont_ is now known as ardumont
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
civodul has joined #nixos
lsix has joined #nixos
karantan has joined #nixos
karantan has quit [Client Quit]
nikita` has joined #nixos
<{^_^}> [nixpkgs] @simonvpe opened pull request #93691 → nanomsg: buildInputs -> nativeBuildInputs → https://git.io/JJlbM
<{^_^}> [nixpkgs] @danieldk opened pull request #93692 → oneDNN: use SSE 4.1 when running tests → https://git.io/JJlbS
<{^_^}> [nixpkgs] @lsix opened pull request #93693 → libidn: 1.35 -> 1.36 → https://git.io/JJlb9
maier has joined #nixos
karantan has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJlbp
gthm has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #78441 → python: auto patch wheels with manylinux RPATH → https://git.io/JvqTB
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
<{^_^}> [nixpkgs] @FRidh merged pull request #93691 → nanomsg: buildInputs -> nativeBuildInputs → https://git.io/JJlbM
<{^_^}> [nixpkgs] @FRidh pushed commit from @simonvpe to master « nanomsg: buildInputs -> nativeBuildInputs »: https://git.io/JJlNb
alexherbo2 has joined #nixos
pbb has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FRidh merged pull request #93607 → ansible: v2.9.10 -> v2.9.11; ansible_2_8: v2.8.12 -> v2.8.13 → https://git.io/JJWRb
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JJlNj
<{^_^}> [nixpkgs] @FRidh merged pull request #93412 → python37Packages.xarray: 0.15.1 -> 0.16.0 → https://git.io/JJnC4
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.xarray: 0.15.1 -> 0.16.0 »: https://git.io/JJlAf
pbb has joined #nixos
cole-h has quit [Quit: Goodbye]
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
fendor has joined #nixos
<bahamas> why do the nix install instructions differ slightly on these two pages: https://nixos.org/guides/install-nix.html and https://nixos.org/download.html
<bahamas> and does the one with --daemon create a running service?
CMCDragonkai_ has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 246 seconds]
lambda-11235 has quit [Quit: Bye]
orivej has joined #nixos
ilios has quit [Ping timeout: 258 seconds]
oida has quit [Remote host closed the connection]
oida has joined #nixos
<iqubic> So, I'm using home-manager, and using "windowManager.command = ..." Now I'm wondering how I install and enable another window manager, like openbox, so that I can switch between them at LightDM's log-in page.
orivej has quit [Quit: No Ping reply in 180 seconds.]
titano has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
ottidmes has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 240 seconds]
pjt_014 has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93646 → erlangR23: 23.0.2 -> 23.0.3 → https://git.io/JJlLf
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJlhH
dermetfan has quit [Ping timeout: 272 seconds]
malik has joined #nixos
NeoCron has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
iqubic has quit [Ping timeout: 260 seconds]
iqubic has joined #nixos
acidpointer[m] has joined #nixos
afreak has joined #nixos
<acidpointer[m]> Hello, guys! Im looking for something like aur in nixos. There are any user channels, or something else?
thc202 has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos
szicari has quit [Ping timeout: 240 seconds]
<makefu> for searching you can use http://nur.nix-community.org/
<makefu> if you are looking for configuration examples be sure to check out https://nixos.wiki/wiki/Configuration_Collection
<colemickens> acidpointer: what are you missing? nixpkgs is huge and always happy to have more things added to it
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<iqubic> Does anyone know how to do my home-manager things?
<acidpointer[m]> Nixpkgs has many outdated packages which are important for me. It`s sad((
<colemickens> acidpointer: which ones?
<colemickens> assuming it's not stuff like Chromium-esque hard to build stuff, we can maybe get them updated!
<acidpointer[m]> colemickens: plasma, stupid example.
<dutchie> yeah, i was going to say, compared to arch, you don't need an extra package repo as much
gv has quit [Remote host closed the connection]
<colemickens> Oh yeah, the DEs can lag a bit. Unfortunately the people likely skilled to do the work will end up doing that sort of thing in nixpkgs.
<colemickens> Well, not unfortunately, but it's worth pointing out.
<iqubic> This home-manager thing is being a completely weird.
<colemickens> Qt5 is actually a couple/few releases behind and it hurts us on Wayland, I think.
Thra11 has quit [Ping timeout: 264 seconds]
noudle has joined #nixos
<iqubic> Since EXWM isn't actually in home-manager, I have to use `xsession.windowManager.command = "dbus-launch --exit-with-session emacs";` to get EXWM working. I'd also like to install OpenBox and have an option to switch between the two of them with LightDM.
<acidpointer[m]> colemickens: okay, lag a bit... Plasma in nixpkgs-unstable is 5.17. But, latest version is 5.19. Lag for two major releases
<{^_^}> [nixpkgs] @danieldk opened pull request #93695 → redis: 6.0.5 -> 6.0.6 → https://git.io/JJ8vP
<iqubic> Unfortunately, it seems like this option: "https://rycee.gitlab.io/home-manager/options.html#opt-xsession.windowManager.command" only allows one option to be set.
<acidpointer[m]> NixOS may be the best distro, when it fixes packages updates and add realy user friendly repo for user projects(i think, nur is not so user friendly)
<colemickens> acidpointer: unfortunately this does happen with gnome/plasma sometimes. I think plasma+qt are tied together. The latest on the upgrade effort is here: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+plasma+author%3Apetabyteboy
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<colemickens> acidpointer: my point was more than it's behind because it's fundamentally hard to do upgrades for those, and it's unlikely "better user repos" would make it get done faster.
<colemickens> But, there is good news, flakes is going to make NUR-like user repos much easier to work with.
<colemickens> Hopefully, more users mean more devs mean more help on those PRs and faster DE upgrades :)
<colemickens> ("flakes" is the name of an upcoming Nix feature btw)
<acidpointer[m]> Mm, sounds great. When flakes will be released?
orivej has quit [Quit: No Ping reply in 180 seconds.]
<colemickens> I don't know. It's sort of an experimental work-in-progress this, which is admittedly a not great answer. This is a really long version of that same answer: https://github.com/nixos/rfcs/pull/49
<{^_^}> nixos/rfcs#49 (by edolstra, 1 year ago, closed): [RFC 0049] Flakes
orivej has joined #nixos
<colemickens> It's usable now. There are several/many of us using it in our projects. nixpkgs,nixos-hardware,nixops,nix,sops-nix,nixpkgs-wayland,etc are already usable via flakes.
<colemickens> It's also undocumented and probably not easily recommended to a complete beginner. But if you're interested enough there are people around to help you get things going.
phirsch has quit [Quit: Idle for 30+ days]
<typetetris> What do I need to do, to build a haskellpackages, which uses c2hs?
Thra11 has joined #nixos
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/91eca099d30 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej has quit [Quit: No Ping reply in 180 seconds.]
<sreybastien[m]> clever: Hi ! Another litlle question about initrd secrets, if i use that in my config and i want to revert, the keyfile or ssh are not reverted, so the best things was to generate and store this somewhere, and not generate it during nixos-install. Because if i generate random keyfile at each install/ rebuild, it was impossible to rollback, i understand well ?
orivej has joined #nixos
dermetfan has joined #nixos
TakeWill has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<jtojnar> does anyone have /nix/store/1jvj506nr8bjh21037x8hspnblbschm2-git-2.27.0.drv?
orivej has joined #nixos
alp has joined #nixos
<bahamas> jtojnar: I don't. why?
<gthm> nope, sorry
zupo has joined #nixos
<jtojnar> the corresponding package causes problems for me but I do not remember the original expression to compare the differences
gv has joined #nixos
TakeWill has quit [Quit: rcirc on GNU Emacs 26.3]
sigmundv_ has joined #nixos
TakeWill has joined #nixos
<srk> jtojnar: I do
<jtojnar> srk could you paste it please?
<iqubic> What does the singleton keyword do in nix as seen on line 16 here: https://github.com/NixOS/nixpkgs/blob/release-20.03/nixos/modules/services/x11/window-managers/fluxbox.nix
<srk> jtojnar: https://paste.rs/FHY
nixuser__ has joined #nixos
<srk> > lib.singleton 2
<{^_^}> [ 2 ]
<iqubic> Ah. I see.
<iqubic> Thanks.
nixuser has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malik has quit [Ping timeout: 240 seconds]
ehmry has joined #nixos
nixuser_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @dywedir opened pull request #93696 → just: 0.6.0 -> 0.7.1 → https://git.io/JJ8Jp
nixuser__ has quit [Ping timeout: 240 seconds]
<iqubic> Alright, I've got a thing that will work.
Izorkin has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @danielstaleiny closed pull request #93632 → postgrest: 7.0.0 -> 7.0.1 → https://git.io/JJWAM
orivej has joined #nixos
averell has quit [Remote host closed the connection]
<jtojnar> thanks srk, now hunting for /nix/store/wlkiiainkg2xdcgidjiy3qbhbs8ixyvb-git-2.27.0.drv
asymptotically has joined #nixos
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #nixos
averell has joined #nixos
<srk> jtojnar: don't have that one
TakeWill has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @yoctocell opened pull request #93697 → terminal-typeracer: init at 2.0.2 → https://git.io/JJ8TZ
noudle has quit []
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
bahamas has quit [Ping timeout: 264 seconds]
bahamas has joined #nixos
waleee-cl has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
* sreybastien[m] uploaded an image: Capture d’écran du 2020-07-23 12-12-49.png (33KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ilOaQMTORpIDitiLDsZpQIIn >
<sreybastien[m]> emily: Hi i already asked to clever but i see you do a lot of work on initrd / ssh . luks. I have a first version of configuration.nix to remotly unlock ssh Luks at stage 1. see picture above.
mxco86 has quit [Quit: Ta ta]
<sreybastien[m]> In this config, i understand that /boot is only partly encrypted, is it right ?
<eyJhb> Is it possible to apply patches to nixpkgs as a channel, using the NixOS config? I remember someone linking me something like that, but unable to find it anymore
mxco86 has joined #nixos
<eyJhb> Not just overlay, but a diff patch of the entire nixpkgs channel
<sreybastien[m]> * In this config, i understand that /boot is only partly encrypted, is it right ? Another question, i finally found a way to remotly ssh unlock luks on vps. What is the benefit to use boo.initrd.secrets ?
<sreybastien[m]> * In this config, i understand that /boot is only partly encrypted, is it right ? Another question, i finally found a way to remotly ssh unlock luks on vps. What is the benefit to use boot.initrd.secrets ?
fendor has quit [Remote host closed the connection]
katrin has quit [Ping timeout: 258 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/93a38cd0982 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
orivej has joined #nixos
AlpineLlama has quit [Ping timeout: 272 seconds]
cfricke has joined #nixos
niso has joined #nixos
<{^_^}> [nixpkgs] @danieldk closed pull request #81522 → gnomeExtensions.switcher: init at 26 → https://git.io/Jv2wr
focalluna[m] has joined #nixos
jakobrs has joined #nixos
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #82921 → Fix GCC compilation on MacOS 10.15 → https://git.io/Jv1l6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/JJ8kr
cosimone has joined #nixos
iqubic has quit [Ping timeout: 260 seconds]
<niso> do i this correctly? if i want to package firefox-send i should add it as it's own package (rather than in nodePackages?) https://nixos.org/nixpkgs/manual/#node.js
<{^_^}> [nixpkgs] @Mic92 closed pull request #47883 → Collecting systemd units execution times in NixOS tests → https://git.io/fxYL0
<niso> if so: is it okay to run node2nix within it's build script?
<srhb> niso: If you want to package it for nixpkgs, you cannot do that.
<srhb> niso: Hydra (and thus nixpkgs) is not allowed to import a nix expression that's produced by a derivation (known as IFD, import from derivation)
<niso> srhb: means i'd have to manually run node2nix with each update? or is there a way to automate that?
gilligan has joined #nixos
<srhb> niso: Essentially yes. How to do that depends on the use case and I'm not super familiar with the node ecosystem, but I imagine that it's best to have dependencies in the common nodePackages infrastructure, where there's at least a common way to update things. But you should probably find someone who knows more about this ecosystem and ask for guidance.
* niso never used node either
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
<niso> srhb: alright thanks
bahamas has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<eyJhb> niso: lets try to ping adisbladis, I think he knows what is up with Node
<eyJhb> niso: also, what is wrong with ffsend?
<niso> eyJhb: nothing, but thanks for linking to it, turns send.firefox.com is down....
AlpineLlama has joined #nixos
<niso> eyJhb: to answer your question: ffsend is the cli client, i'd like to selfhost a send server
<eyJhb> AH!
<eyJhb> I see
<eyJhb> Didn't know you could do that
<adisbladis> What have I done to deserve being summoned for node things? :(
<niso> adisbladis: presumably being too good with node things :P
<adisbladis> So, nodePackages vs not... It's not entirely clear cut.
<adisbladis> nodePackages has more deduplication and is likely to be updated more often
<adisbladis> But it is unwieldy
<{^_^}> [nix] @edolstra merged pull request #3850 → Separate concerns in `scanForReferences` with TeeSink → https://git.io/JJlr0
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJ8Is
<niso> adisbladis: well, the other option would be to create it's own package, and maybe add a generate.sh script - which aproach would you take?
orivej has quit [Quit: No Ping reply in 180 seconds.]
<adisbladis> Probably the latter (generate.sh)
<niso> adisbladis: alright, will do, thanks!
<eyJhb> adisbladis: You mentioned you did a lot af Node stuff in the past. And you CANNOT run from your past!
<adisbladis> eyJhb: So it seems :/
<adisbladis> No matter how much you want to
orivej has joined #nixos
codezero has quit [Read error: Connection reset by peer]
codezero has joined #nixos
<eyJhb> As long as you don't use it against me, it is fine and the rule will stand! ;)
plutes has quit [Ping timeout: 272 seconds]
katrin has joined #nixos
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
Izorkin has joined #nixos
bqv has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @zimbatm merged pull request #93682 → terraform: 0.13.0-beta3 -> 0.13.0-rc1 → https://git.io/JJlKv
<{^_^}> [nixpkgs] @zimbatm pushed commit from @Chili-Man to master « terraform: 0.13.0-beta3 -> 0.13.0-rc1 (#93682) »: https://git.io/JJ8Id
<{^_^}> [nixpkgs] @zimbatm merged pull request #93679 → Sylk: 2.7.2 -> 2.8.0 → https://git.io/JJlrR
<{^_^}> [nixpkgs] @zimbatm pushed commit from @leenaars to master « Sylk: 2.7.2 -> 2.8.0 (#93679) »: https://git.io/JJ8Ip
alp has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<Arahael> adisbladis, eyJhb: What about the Rust implementation of Node? ;) (Deno)
<jakobrs> I'm sorry if this is the wrong place to ask for this, but I'd really like a review of #86967.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86967 (by jakobrs, 11 weeks ago, open): nixos/lib/utils: Add `fileSystems.<name>.depends` option and generalise fsBefore (fixes #86955)
fendor has joined #nixos
weelknym has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
Rurd2di has quit []
bahamas has joined #nixos
malik has joined #nixos
Rurd2di has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #93698 → amdvlk: 2020.Q3.1 -> 2020.Q3.2 → https://git.io/JJ8L0
jluttine has joined #nixos
bahamas has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to f/do: https://git.io/JJ8LV
<{^_^}> [nixpkgs] @peterhoeg opened pull request #93699 → nixos/do-agent: use .service from upstream → https://git.io/JJ8Lw
<weelknym> Hello! I want to separate general_user and developer_user, so that the general_user will have some fancy DE (let's say, KDE or Gnome), multimedia programs, Steam, Discord and so on, BUT the developer_user will have some tiling WM (let's say, i3, awesome), vim, VSCode, Blender, etc.. I know about 'home-manager', but I want at least a DE and a WM to
<weelknym> be declared at configuration.nix for different users. How can I achieve that? Maybe someone already has configs for that case and can share them? I'd be grateful!
<weelknym> TL;DR: how can I install packages for certain users only?
nanashi0x74Old[m has left #nixos ["User left"]
<jakobrs> As for DEs, you can add both "services.xserver.desktopManager.plasma5.enable = true` and `services.xserver.windowManager.i3.enable = true`, and the user will be able to choose which session to use (i3+none, plasma5, i3+plasma5, etc) when logging in
<niso> weelknym: you might want to checkout home-manager, it allows you to set dotfiles, DEs etc on a per-user base
<jakobrs> As for the second part, packages installed using `nix-env` are only available for a certain user, or you can use home-manager
alp has joined #nixos
orivej_ has joined #nixos
<jakobrs> I don't think you can set DEs per user using home-manager, though, since DEs are system-wide
<jakobrs> Alternatively you can have separate configurations for "developer" and "general" that you can switch between, using something like `nesting.clone` or (in unstable) `specialisation`
<{^_^}> [nixpkgs] @peterhoeg pushed to f/do « nixos/do-agent: use .service from upstream »: https://git.io/JJ8Ld
orivej has quit [Ping timeout: 240 seconds]
<gthm> weelknym: just out of curiousity, why the DE split between user types?
<Orbstheorem> Since most sources are `fetchGit` or equivalent, is there a command or tool that clones such repositories (raising an error if it's not from git) à la `unpackPhase`?
<weelknym> jakobrs, I'll look into it, thanks!
* Orbstheorem takes a leap of faith saying most sources are fetchGit ><"
<niso> jakobrs: you are right, i was thinking fo xsession.windowManager, sorry!
<weelknym> gthm, I don't want to see KDE apps while using a WM. It seems like pollution for me
<jakobrs> I don't think there's a way to install the KDE system applications (like Konsole and Settings) for a single user only.
orivej_ has quit [Ping timeout: 256 seconds]
<weelknym> It might be possible with the use of 'home-manager', as niso suggested, but can I really rely on it?
orivej has joined #nixos
<gthm> maybe you could with users.users.$name.packages, but then I assume you'd have to do some fiddling to convince the login manager that KDE (or whatever) is actually installed
<gthm> but then a dev user who uses i3 could still use kde programs (assuming they'd have both i3 and kde available as choices)
justanotheruser has quit [Ping timeout: 260 seconds]
<jakobrs> The way desktop managers are installed in NixOS is a bit complicated, so I'd say it's not worth it.
justanotheruser has joined #nixos
<weelknym> I might just go with some WM, but I'm not the only one who'll use the computer. And I highly doubt they'll like a WM
<weelknym> They deserve some normal DE to use without "pain" (of learning)
reanimus has quit [Quit: Logging off...]
<jakobrs> I do see that it's not ideal to have all the kde utilities installed, but I think it's better to just have Plasma installed even if you're not personally using it in this case.
<jakobrs> You "only" pull in basic Plasma applications like Konsole, Settings, and the polkit agent
<weelknym> I do think so, too
<jakobrs> Alternatively, you can do `nesting.clone = [ { services.xserver.desktopManager.plasma5.enable = true; } ];` and then you should be able to select which configuration to use at boot time, or switch from the command line
<{^_^}> [nixpkgs] @1000101 opened pull request #93700 → nixos/bitcoind: change to multi-instance + add tests → https://git.io/JJ8tr
<jakobrs> although I haven't tried so I'm not sure
orivej has quit [Quit: No Ping reply in 180 seconds.]
<weelknym> jakobrs, I suppose I ought to try it. Thanks!
orivej has joined #nixos
<weelknym> If it didn't work out, would you recommend to open a feature request? Or is that too specific case for it?
<jakobrs> A feature request to do what, specifically?
AlpineLlama has quit [Ping timeout: 272 seconds]
<weelknym> To be able to declare installing packages for certain users only
<weelknym> Nah, I don't want to bother devs
<jakobrs> That already exists, `users.users.<name>.packages`
<jakobrs> The problem is that installing a desktop environment is more complicated than just making a package available
AlpineLlama has joined #nixos
<weelknym> Oh, I see
ardumont has quit [Ping timeout: 244 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
ardumont has joined #nixos
<weelknym> Would it be a good idea for an option that makes packages unavailable for a certain user?
orivej has joined #nixos
<jakobrs> It might be nice but I fear it would be too complicated
<jakobrs> System-wide packages are available to every user because every user should have /run/current-system/sw/bin/ in their path
<Orbstheorem> jakobrs: Also /run/wrappers/bin.
<Orbstheorem> (for suid & friends.)
<jakobrs> And there is no way to somehow remove packages from the path once they're already part of the path
<jakobrs> Yeah, and /run/wrappers/bin
<jakobrs> It might be better to allow not installing most kde utilities at all, and then install them per-user instead
<jakobrs> So you'd have Plasma installed for all users, but only some users will additionally install Konsole, Settings, etc
jakobrs has left #nixos ["almost out of power anyway"]
<weelknym> Yeah, that would be brilliant. I remember I saw a way to opt out packages for some DE...
<weelknym> That's for Gnome: `environment.gnome3.excludePackages`
<weelknym> Also `environment.lxqt.excludePackages`, `environment.mate.excludePackages` and `environment.pantheon.excludePackages`
<weelknym> Cool, always wanted to try Mate and Pantheon
<weelknym> Nice solution!
AlpineLlama has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<weelknym> I'll see how it works with `nesting.clone` and `environment*.excludePackages`, and let you know, folks
<weelknym> Thanks everyone once again!
AlpineLlama has joined #nixos
<mudri> Before I waste too much time: has anyone set up microphone noise suppression on NixOS? Are there any things I should keep in mind when reading generic GNU/Linux instructions? Any particular reason why there's no NixOS module for it?
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos
<clever> mudri: only thing close that ive played with, is the echo cancelation stuff in pulseaudio
<clever> mudri: but it forces all playback to be mono
<{^_^}> [nixpkgs] @veehaitch opened pull request #93701 → mitmproxy: convert to python3Packages → https://git.io/JJ8mC
philr_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #85362 → samba: Switch back to builtin Heimdal Kerberos → https://git.io/JffYY
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJ8mX
<mudri> clever: I was looking at this one (https://github.com/werman/noise-suppression-for-voice), and it doesn't seem to do anything with playback (I guess because it's unaware of echoes, which I'd be fine with, I think), so I guess I should be okay to try it.
alp has quit [Remote host closed the connection]
ardumont has quit [Ping timeout: 244 seconds]
<mudri> The PulseAudio module has an `extraConfig` bit for a lot of the configuration here, right?
alp has joined #nixos
ardumont has joined #nixos
<clever> mudri: yeah
<{^_^}> [nixpkgs] @tnias opened pull request #93702 → nixos/usbguard: fix preStart script → https://git.io/JJ8m7
arahael1 has joined #nixos
orivej has joined #nixos
orivej_ has quit [Read error: Connection reset by peer]
Arahael has quit [Ping timeout: 256 seconds]
smatting_ has joined #nixos
<tobiasBora> Hello, on debian-like distro, I was able to find a dictionnary for some languages in something like /usr/share/dict/fr.txt but on nixos I can't find this file. Where could I get a list of words of a language?
weelknym has left #nixos [#nixos]
malik has quit [Quit: malik]
ichronic has joined #nixos
ichronic has quit [Remote host closed the connection]
ml| has quit [Ping timeout: 256 seconds]
ardumont_ has joined #nixos
orivej_ has joined #nixos
titano has joined #nixos
ardumont has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 246 seconds]
gustavderdrache has joined #nixos
titano has quit [Ping timeout: 240 seconds]
Rusty1 has joined #nixos
orivej_ has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<hexa-> hrm, I have a python package here that defines no LICENSE
ardumont_ is now known as ardumont
<hexa-> nvm
ml| has joined #nixos
<jtojnar> tobiasBora what package does it come from on debian?
raghavsood has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @taktoa opened pull request #93703 → osqp: init at 2020-07-17 → https://git.io/JJ8Oc
bqv has joined #nixos
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
lunik1 has quit [Quit: :x]
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a113f1d6e93 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @peti pushed 197 commits to haskell-updates: https://git.io/JJ8Ox
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/225628ff02c (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
orivej has joined #nixos
lunik1 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-streaming-commons: update to version 2.2.2.1 to avoid test suite bug »: https://git.io/JJ83U
smatting_ has quit [Ping timeout: 256 seconds]
bahamas has quit [Ping timeout: 256 seconds]
andreas303 has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
andreas303 has joined #nixos
proofofkeags has joined #nixos
<chiiba> I want to use a wildcard `*.example.com` in `nginx.virtualHosts."untitled".serverName`, but that name is also used in systemd `.service` files, which forbids `*`. What am I missing here?
<gchristensen> chiiba: you can use .serverAliases for the wildcard
<sreybastien[m]> emily clever i finally push a question to better understand crypto behavior here : https://discourse.nixos.org/t/full-encrypted-nixos-system-on-legacy-boot-with-secrets-and-remote-unlock-for-unstable-20-03/8279
NUDESOFURDAD has joined #nixos
<chiiba> gchristensen: Thanks :) !
<NUDESOFURDAD> yay, got a few things on nix setup the way i needed.
malik has joined #nixos
smatting_ has joined #nixos
malik is now known as malook
zebrag has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
NUDESOFURDAD has quit [Quit: WeeChat 2.6]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
dingenskirchen1 is now known as dingenskirchen
virus_dave has quit [Ping timeout: 264 seconds]
virus_dave has joined #nixos
titano has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #93666 → ungoogled-chromium: 81.0.4044.138-1 -> 84.0.4147.89-1 → https://git.io/JJlEd
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JJ8sd
ddellacosta has joined #nixos
bahamas has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @B4dM4n opened pull request #3854 → Save changes made by "nix registry pin" to user registry → https://git.io/JJ8GZ
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
jluttine has quit [Quit: WeeChat 2.7.1]
jluttine has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/1975b868747 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
fendor has quit [Remote host closed the connection]
malook has quit [Quit: malook]
<{^_^}> [nix] @edolstra merged pull request #3854 → Save changes made by "nix registry pin" to user registry → https://git.io/JJ8GZ
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJ8Ze
fendor has joined #nixos
Geezus42[m] has joined #nixos
orivej_ has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 9 commits to release-20.03: https://git.io/JJ8ZZ
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
jumper149 has joined #nixos
CrunchyChewie has quit [Remote host closed the connection]
CrunchyChewie has joined #nixos
qbit has quit [Quit: leaving]
<{^_^}> [nix] @Ericson2314 opened pull request #3855 → Get rid of `asicDerivation::findOutput` → https://git.io/JJ8nV
growpotkin has joined #nixos
tdeo has quit [Remote host closed the connection]
maier has quit [Ping timeout: 240 seconds]
tdeo has joined #nixos
cosimone has quit [Remote host closed the connection]
karantan has quit [Ping timeout: 240 seconds]
nixuser has quit [Read error: Connection reset by peer]
erasmas has joined #nixos
drakonis has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @deliciouslytyped opened pull request #93705 → qtile: 0.13.0 -> 0.16.0 → https://git.io/JJ8cq
<urkk> how can I compute the cartesian product of two lists with nix? {a=[1 2]; b=[3 4];} -> [{a=1; b=3;} {a=1; b=4;} {a=2; b=3}; {a=2; b=4;}]
<srhb> > lib.crossLists (a: b: [ a b]) [[1 2] [3 4]]
<{^_^}> [ <CODE> <CODE> <CODE> <CODE> ]
proofofkeags has quit [Ping timeout: 256 seconds]
<srhb> Ah, right.
medvid_ has joined #nixos
<infinisil> > :p lib.crossLists (a: b: { inherit a b; }) [ [ 1 2 ] [ 3 4 ] ]
<{^_^}> [ { a = 1; b = 3; } { a = 1; b = 4; } { a = 2; b = 3; } { a = 2; b = 4; } ]
<infinisil> ,ping
<{^_^}> pong
medvid has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @edolstra merged pull request #3855 → Get rid of `basicDerivation::findOutput` → https://git.io/JJ8nV
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJ8cw
<urkk> srhb thanks!
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
smatting_ has quit [Ping timeout: 260 seconds]
whald has quit [Remote host closed the connection]
NeoCron has quit [Remote host closed the connection]
<mudri> jtojnar: I guess tobiasBora's question is about wordlist. https://en.wikipedia.org/wiki/Words_(Unix)
malik has joined #nixos
proofofkeags has joined #nixos
cfricke has quit [Quit: WeeChat 2.8]
shibboleth has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJ8C0
o1lo01ol1o has joined #nixos
<o1lo01ol1o> is there any documentation on the best way to build a bootable nixos install iso using a custom hardware.nix?
<clever> o1lo01ol1o: just nix-build the right iso attr of nixos/release.nix, but add --arg configuration ./configuration.nix
malik has quit [Quit: malik]
<o1lo01ol1o> oh, whoa, that's alot easier than I was expecting.
malik has joined #nixos
malik has quit [Client Quit]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<o1lo01ol1o> clever++
<{^_^}> clever's karma got increased to 486
dejanr has joined #nixos
<dejanr> hi, after running nixos-rebuild build-vm, how do i login inside qemu vm?
<dejanr> i want to try my changes to nixos inside vm
leotaku has quit [Ping timeout: 240 seconds]
<clever> dejanr: you need to use users.users.X.initialPassword to set a pw
<dejanr> thanks
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/dfc0b3afdd6 (from 71 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
bahamas has joined #nixos
orivej has joined #nixos
leotaku has joined #nixos
orivej_ has quit [Ping timeout: 256 seconds]
malik has joined #nixos
leotaku has quit [Quit: ZNC 1.8.1 - https://znc.in]
m1cr0man has joined #nixos
<dejanr> clever: doesn't seem to work
dredozubov has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @afreakk opened pull request #93706 → gnvim: icon support (GDK_PIXBUF_MODULE_FILE) → https://git.io/JJ8lU
leotaku has joined #nixos
dweller has quit [Ping timeout: 260 seconds]
<symphorien> is is possible to point niv to use a local folder for a source ?
dweller has joined #nixos
<{^_^}> [nixpkgs] @B4dM4n opened pull request #93707 → flake.nix: use lib.extend → https://git.io/JJ8l3
<clever> dejanr: initialPassword only takes effect the first time the vm boots, delete the rootdisk in the current dir
<{^_^}> [nixpkgs] @primeos opened pull request #93708 → mesa: 2.1.3 -> 2.1.4 → https://git.io/JJ8ln
dermetfan has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #92936 → yubikey-agent: init at 0.1.3 → https://git.io/JJYo9
<dejanr> clever: ok
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJ8ll
dredozubov has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #93586 → udpt: 2017-09-27 -> 3.1.1 → https://git.io/JJCju
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JJ8lg
<{^_^}> [nixpkgs] @arcz opened pull request #93709 → nsjail: 2.9 -> 3.0 → https://git.io/JJ8l2
leotaku has quit [Ping timeout: 256 seconds]
<dejanr> clever: that worked, thanks a lot agian
<dejanr> again*
leotaku has joined #nixos
dejanr has quit [Quit: WeeChat 2.8]
malik has quit [Quit: malik]
leotaku has quit [Quit: ZNC 1.8.1 - https://znc.in]
<{^_^}> [nixpkgs] @maralorn opened pull request #93710 → [haskell-updates] haskellPackages.jsaddle-warp: Fix build → https://git.io/JJ88G
<{^_^}> [nixpkgs] @kalbasit merged pull request #93611 → bazel-gazelle: 0.20.0 -> 0.21.1 → https://git.io/JJWuL
<{^_^}> [nixpkgs] @kalbasit pushed to master « bazel-gazelle: 0.20.0 -> 0.21.1 (#93611) »: https://git.io/JJ880
leotaku has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #85322 → terraform-compliance: init at v1.2.11 → https://git.io/JfvD2
<{^_^}> [nixpkgs] @kalbasit pushed 6 commits to master: https://git.io/JJ88P
<{^_^}> [nixpkgs] @jtojnar pushed to staging-next « poppler: 0.90.0 → 0.90.1: »: https://git.io/JJ84X
proofofk_ has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « Remove unused file »: https://git.io/JJ84D
proofofkeags has quit [Ping timeout: 258 seconds]
bahamas has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
maier has joined #nixos
cosimone has joined #nixos
maier has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
orivej_ has quit [Ping timeout: 264 seconds]
user_0x58 has joined #nixos
dermetfan has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
Thra11 has quit [Quit: WeeChat 2.8]
alp has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2d6ab6e2f16 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej has quit [Read error: Connection reset by peer]
dbmikus has joined #nixos
orivej has joined #nixos
knupfer has joined #nixos
cole-h has joined #nixos
<{^_^}> [nixpkgs] @arianvp opened pull request #93711 → smallstep: 0.13.3 -> 0.14.6 → https://git.io/JJ8R8
bahamas has joined #nixos
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
orivej_ has joined #nixos
<{^_^}> [nixos-hardware] @bahaynes opened pull request #178 → Add system dell/xps/15-9500 → https://git.io/JJ8Rz
orivej has quit [Ping timeout: 240 seconds]
<eyJhb> If I want to apply a patch to a import or something like that, e.g. a channel, then how does something like this work? https://github.com/NixOS/nixpkgs/pull/67930/files, I am confused about the syntax. Is it given a attrSet as input to the function?
alp has joined #nixos
seku has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
<srhb> eyJhb: Yes. The attrset is the argument to applyPatches.
drdee has joined #nixos
<srhb> eyJhb: `foo bar` is almost always foo applied to bar, notable exemption being list elements that are delimited by spaces.
ilios has joined #nixos
reanimus has joined #nixos
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
MarcWeber has quit [Ping timeout: 260 seconds]
ilios has quit [Ping timeout: 240 seconds]
bahamas has quit [Ping timeout: 265 seconds]
virus_dave_ has joined #nixos
virus_dave has quit [Ping timeout: 240 seconds]
virus_dave_ is now known as virus_dave
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
proofofk_ has quit [Remote host closed the connection]
proofofkeags has joined #nixos
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #93712 → malcontent: 0.7.0 → 0.8.0 → https://git.io/JJ80r
proofofkeags has quit [Read error: Connection reset by peer]
proofofk_ has joined #nixos
iqubic has joined #nixos
tdeo has quit [Read error: Connection reset by peer]
tdeo has joined #nixos
<iqubic> adisbladis: Are you around? I have some EXWM issues that are plaguing me right now.
dsx has quit [Quit: dsx]
alexherbo2 has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
jco has joined #nixos
<jco> hi!
<jco> so i've installed the reason-language-server on my machine (https://github.com/jaredly/reason-language-server)
never_released_ has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/JJ80x
never_released has quit [Ping timeout: 272 seconds]
<jco> but when running vscode the reason extension look for bsb (bucklescript) in the node_modules directory
alp has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #nixos
<jco> which is empty since bucklescript is installed through nix's bs-platform and not npm
<jco> so I guess I should install bs-platform from npm instead
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
iqubic has quit [Remote host closed the connection]
ricola has joined #nixos
<ricola> Hi! What happened to the Riot channel?
antilooper has joined #nixos
alexherbo28 has joined #nixos
<antilooper> domenkozar[m] hello, what is the proper way to run nix-env in github action workflows to install something? nix-env -i git is not working for me
<{^_^}> [nixpkgs] @corngood opened pull request #93713 → Strongswan → https://git.io/JJ8El
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo28 is now known as alexherbo2
gthm has quit [Ping timeout: 240 seconds]
drdee has quit [Quit: Leaving]
waleee-cl has quit [Quit: Connection closed for inactivity]
<niso> ricola: riot rebranded to "Element"
asheshambasta has quit [Ping timeout: 272 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
bahamas has joined #nixos
rigola[m] has joined #nixos
ricola has quit [Remote host closed the connection]
<rigola[m]> nice, I'm back
alexherbo2 has quit [Ping timeout: 265 seconds]
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
knupfer has quit [Client Quit]
<rigola[m]> How do you guys find a package for a certain command you wanna run? e.g. I want to install the avr-gcc compiler, but can't figure out what's the package I should install.
knupfer has joined #nixos
<exarkun> nix search, nix-index
orivej has quit [Quit: No Ping reply in 180 seconds.]
<exarkun> nix-index provides nix-locate, `nix-locate avr-gcc` says codeblocks and arduino
orivej has joined #nixos
<energizer> antilooper: usually i prefer to use static configuration instead of nix-env
<ToxicFrog> I type in the command and zsh's command-not-found handler lists all the nix packages it's in -- at least for free software, it doesn't work on nonfree regardless of my nix settings :/
<ToxicFrog> I don't know if there's something similar for bash
drakonis has quit [Quit: WeeChat 2.8]
zupo has joined #nixos
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93696 → just: 0.6.0 -> 0.7.1 → https://git.io/JJ8Jp
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJ8ud
alexherbo24 has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo24 is now known as alexherbo2
simba2 has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93692 → oneDNN: use SSE 4.1 when running tests → https://git.io/JJlbS
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJ8uj
orivej_ has joined #nixos
bahamas has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 256 seconds]
<rigola[m]> <exarkun "nix-index provides nix-locate, `"> wow, I've been "using" nixos without knowing about nix-index, my god. Thank you! That's a huge improvement to my user experience.
WilhelmVonWeiner has joined #nixos
maier has joined #nixos
kreyren has quit [Remote host closed the connection]
cosimone has quit [Quit: Quit.]
kreyren_ has joined #nixos
<exarkun> :)
AluisioASG has quit [Ping timeout: 265 seconds]
maier has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<emmanuel`> If I were to go about using the `dontHaddock` function to disable haddock builds in a nix (haskell) build, how do go about ensuring that there are no haddocks in the resulting build?
kaliumxyz has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #93714 → gleam: 0.8.0 -> 0.10.1 → https://git.io/JJ8zD
jco has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @lovesegfault opened pull request #93715 → roon-server: revamp → https://git.io/JJ8z7
<{^_^}> [nixpkgs] @Mic92 merged pull request #93471 → [20.03] nixos-generators: 1.0.0 -> 1.1.0 → https://git.io/JJcTD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-20.03: https://git.io/JJ8z5
knupfer has quit [Ping timeout: 244 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
orivej has joined #nixos
jb55 has quit [Remote host closed the connection]
leotaku has quit [Ping timeout: 260 seconds]
jb55 has joined #nixos
kreyren__ has joined #nixos
kreyren_ has quit [Remote host closed the connection]
leotaku has joined #nixos
knupfer has joined #nixos
<WilhelmVonWeiner> does nix have a map/fold builtin?
knupfer has quit [Remote host closed the connection]
<lassulus> yes, builtins.map or builtins.foldl'
knupfer has joined #nixos
<WilhelmVonWeiner> ah ty though I found a better(?) function for what I'm doing, concatStringsSep
<lassulus> ah yeah, my code is full of concatMapStringsSep
<WilhelmVonWeiner> If I run `builtins.concatStringsSep "\n" [ "a" "b" "c" ]` I get "a\nb\nc"
<WilhelmVonWeiner> If I use \x I get "axbxc"
<WilhelmVonWeiner> is that a bug?
o1lo01ol1o has quit [Remote host closed the connection]
<lassulus> seems expected to me?
<lassulus> what would you expect to happen?
o1lo01ol1o has joined #nixos
<WilhelmVonWeiner> "anbnc", it's not printing a literal newline character... or an error because \x is meaningless maybe
<eyJhb> srhb: thanks! I can read a little nix now! <3
<eyJhb> But still confused as hell about inherit etc.
cjpbirkbeck has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
kreyren_ has joined #nixos
antilooper has quit [Remote host closed the connection]
karantan has joined #nixos
kreyren__ has quit [Remote host closed the connection]
shibboleth has quit [Ping timeout: 240 seconds]
excelsiora has joined #nixos
<excelsiora> hi, nixoser's!
<energizer> WilhelmVonWeiner: where are you seeing "a\nb\nc"?
<excelsiora> I keep running out of space.
<energizer> in the repl?
<{^_^}> [nix] @Ericson2314 opened pull request #3856 → Make `Buildable` a `std::variant` → https://git.io/JJ82Z
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
alexherbo22 has joined #nixos
<energizer> excelsiora: what do you mean?
alexherbo2 has quit [Ping timeout: 264 seconds]
alexherbo22 is now known as alexherbo2
<excelsiora> I keep running out of HD space and I commented out a lot of languages and tools but I'm not able to reclaim the HD space in /nix/store (or so I believe) I only have 2GB free.
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<energizer> excelsiora: are you on nixos?
<excelsiora> yes, I'm on NixOS on a server
<energizer> excelsiora: nix-collect-garbage
<excelsiora> yes I keep doing that
xelxebar_ has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
<energizer> you can do `nix-collect-garbage -d` but be aware it will delete old versions so if you break something you wont be able to roll back
kaliumxyz has quit [Quit: leaving]
<excelsiora> I've only got one generation (I think)
<energizer> how big is your drive?
<excelsiora> 80 GB
<lassulus> do you run nix-collect-garbage -d as root?
<excelsiora> I have system.autoUpgrade.enable = true;
<excelsiora> which is probably why I run out of space?
<excelsiora> I'll try -d
<energizer> you can try it with root and see if it helps
<excelsiora> holy crap -d is doing a lot now
<excelsiora> that might have done it. thx.
lopsided98 has quit [Quit: Disconnected]
<lassulus> -d is maximum deletion
<excelsiora> I'm going to add some command aliases to my bashrc - where does that go in configuration.nix?
<lassulus> you can also run something like nix-collect-garbage --delete-older-than 30d
<excelsiora> thank God I think that did it... yes 46512.23 MiB freed
malik has joined #nixos
<lassulus> environment.shellAliases is for aliases
<excelsiora> oh, cool, I didn't know that one.
<lassulus> normally I just run man configuration.nix and just search in there
<excelsiora> I DID NOT KNOW THAT!
<excelsiora> Nice!!!
<WilhelmVonWeiner> energizer: nix repl
OmnipotentEntity has quit [Remote host closed the connection]
<energizer> WilhelmVonWeiner: that's just how it shows newlines
<WilhelmVonWeiner> oh
<WilhelmVonWeiner> well then
<WilhelmVonWeiner> all is well
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
jco has joined #nixos
goodwill has quit [Quit: ...]
goodwill has joined #nixos
<colemickens> Where does the list of Amazon images come from?
<colemickens> Is it a hydra output somehow?
<{^_^}> [nixpkgs] @adisbladis opened pull request #93716 → emacs: Add infrastructure for native-comp → https://git.io/JJ82H
sigmundv_ has quit [Read error: Connection reset by peer]
alp has joined #nixos
himmAllRight17 has quit [Ping timeout: 264 seconds]
<energizer> pie_: do you know what we have to do to get that update merged?
sigmundv_ has joined #nixos
<lassulus> what update?
<{^_^}> #93705 (by deliciouslytyped, 4 hours ago, open): qtile: 0.13.0 -> 0.16.0
<excelsiora> - > ->
<excelsiora> how are those arrow ligatures done?
<energizer> i dont see any ligatures
<energizer> maybe you have a special font?
himmAllRight has joined #nixos
<excelsiora> this should do it "opened pull request #93716 → emacs:"
<{^_^}> https://github.com/NixOS/nixpkgs/pull/93716 (by adisbladis, 3 minutes ago, open): emacs: Add infrastructure for native-comp
<excelsiora> See the arrow pointing to emacs?
<excelsiora> it looks like a single arrow to me
<energizer> that's a unicode character
nikita` has quit [Quit: leaving]
<excelsiora> huh...
nature has joined #nixos
<nature> Just managed to install nixos in a VM yay :D
<nature> Now I have a question, why does my install is 1.4G despite my very minimal configuration.nix ?
<immae> one reason is the locales
Armin[m] has joined #nixos
<immae> (~200M)
ehmry has joined #nixos
<lassulus> there are also a lot of big fonts
<nature> I looked in the nix/store and there seem to be tons of stuff like python3, perl, lvm2 (2 times), ncurses (multiple times), why is that ?
<nature> immae: the install takes 1.4G and the nix/store is 1.3G
dsx has joined #nixos
<immae> that’s normal
<lassulus> that is a good question and would be nice if we could do one of those "bring down the core package set" sprints again :D
<nature> would you care to enlighten me as to why ?
<{^_^}> [nixpkgs] @bachp opened pull request #93717 → ocrmypdf: 10.2.0 -> 10.3.0 → https://git.io/JJ8aC
jco has quit [Ping timeout: 260 seconds]
<timokau[m]> nature: python3 and perl are the two main scripting languages, you're almost guaranteed to have something installed that depends on them
<nature> I like to understand my system from the bottom up, and when I see so many packages present by default I can't help but wonder why
<immae> (sure sorry I onl have one hand available now)
<nature> no worries, I have time immae
<immae> most of your system is in the nix store. If you look at /usr or other standard places you’ll see that they are mostly empty
<nature> and yes timokau[m] but why would I have 2 versions of lvm2 then ?
jco has joined #nixos
<colemickens> here's an ignorant question, if this was possible, why did we ever have other solutions? https://github.com/edolstra/import-cargo
<niksnut> colemickens: because it uses builtins.fromJSON which is fairly recent
<{^_^}> [nixpkgs] @bachp opened pull request #93718 → plex: 1.19.4.2935 -> 1.19.5.3112 → https://git.io/JJ8aB
<niksnut> sorry, fromTOML
<immae> nature: so the locales are also somewhere in the store, and since by default they are *all* there they take a lot of place
<colemickens> niksnut: aha, cool.
<nature> okok, where show I start if I want to strip down every package that I don't need ?
<lassulus> nature: as other distributions add additional features to packages when they get installed. nixos has to provide them in the default set, because we build the runtime for each package individually. so there is no: if a new package is installed activate this feature.
<immae> There is one place that defines a "minimal" (not so minmal) set that will be always there
<timokau[m]> nature: If you really want to go down that path, you could start with `nix why-depends`. There are more advanced / convenient tools available too
orivej_ has quit [Ping timeout: 256 seconds]
<timokau[m]> With that, you can ask the question "why does my /run/current-system depend on this version of llvm?"
<timokau[m]> It'll give you a chain from llvm to your current system, i.e. this depends on that, which depends on that, ..., which you have installed
<nature> ok lassulus so this means that right now I have the minimum system to build any package of the nixos ecosystem ?
orivej has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93698 → amdvlk: 2020.Q3.1 -> 2020.Q3.2 → https://git.io/JJ8L0
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJ8ag
lsix has quit [Ping timeout: 272 seconds]
<immae> nature: it’s not easy minimal, it’s a choice from the maintainers (as far as I remember there were some weird choices but I don’t remember where it’s defined)
<immae> s/easy/exactly/
gthm has joined #nixos
<nature> okay thanks immae :)
<immae> to prevent it you would have to do config.environment.systemPackages = lib.mkForce [ some other list ]; but it may have many unwanted side effects
<nature> I am currently using arch and am really excited about nixos, I am simply looking for that feeling of controlling everything that I am installing ^^'
<immae> I undersand :p
<lassulus> nature: no, it's not enough to build most packages. it's more of a default configuration. beceause if you change dependencies of a package you have to rebuild it and most maintainers go with "enable most features by default"
<inquisitiv3> Does the blog aggregator @ Nixos.org still exist somewhere?
<theotherjimmy[m]> inquisitiv3: https://planet.nixos.org/ ?
<inquisitiv3> <theotherjimmy[m] "inquisitiv3: https://planet.nixo"> Thanks!
<theotherjimmy[m]> Welcome
Reventlov has quit [Quit: WeeChat 2.8]
<nature> Is there any ressource for me to start with this overriding of the system default ? when I look at that list of system-path.nix for instance I don't care about nano ^^'
leungbk has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<nature> Or maybe at least just strip the locale ?
orivej has joined #nixos
<immae> stripping the locales would give you ~200M
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nature> sorry for the noob question but where do I find the config for those locales then ?
<immae> Just do it by setting `i18n.supportedLocales ['fr_FR.UTF-8']` in your configuration
<nature> oh I did
<nature> and you speak french it seems (so do I :))
<{^_^}> [nixpkgs] @RomanSharapov opened pull request #93719 → tempita: fix sources location for tempita Python lib → https://git.io/JJ8ap
<immae> (yes :p) . About overriding, my suggestion would be to practice writing configuration and all to understand how it works
<immae> saddly that’s how I learnt so I have no good resources to give you
gthm has quit [Remote host closed the connection]
<nature> okok, I was kind of expecting that, hence my first installation taking place inside a vm :D
<immae> like trying to configure some services, and at some point you’ll have to override something deeper and that’s where you’ll start (hopefully) understanding the plumbing.
<nature> but the amazing thing with nix is that I could override the default and just do a nix-rebuild switch to try to see if it breaks, am I correct ?
<immae> yes
<nature> :D
<immae> except that a switch will "commit" everything, so if it breaks you may be unable to revert
<immae> (like just running the command to cancel your change may become impossible)
<nature> oh really ? if I reboot you can't select a previous generation in grub ?
<energizer> immae: what are the unwanted side effects of systemPackages = mkForce [my list]?
<immae> you can
<immae> (if you have a grub)
<{^_^}> [nixpkgs] @mweinelt merged pull request #93695 → redis: 6.0.5 -> 6.0.6 → https://git.io/JJ8vP
<immae> energizer: many modules append to systemPackages, so with mkForce you strip everything, not just the "base" packages
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JJ8VT
<nature> but with systemd-boot you can't right ?
<immae> I have no idea
knupfer has quit [Read error: Connection reset by peer]
<immae> (I’m working on servers so i don’t have access to grub anyway)
knupfer has joined #nixos
<energizer> immae: that seems like a problem in the design of system-path.nix
<nature> aaaaah ok haha
knupfer has joined #nixos
oida has quit [Ping timeout: 240 seconds]
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
knupfer has quit [Read error: Connection reset by peer]
<energizer> immae: e.g. if instead of using let they defined config.defaultPackages and then systemPackages = config.defaultPackages, then i could defaultPackages = mkForce []
<immae> energizer: yes, as it’s defined now you cannot override it without stripping everything else that may enter it
knupfer has joined #nixos
<immae> energizer: that’s an idea
<energizer> immae: is that the best solution?
<immae> I don’t know :)
<nature> thanks for all the insights immae :D I'll start playing around
oida has joined #nixos
<immae> energizer: It seems reasonnable to me but others have deeper thoughts on it than me
<immae> nature: enjoy!
<nature> oh and last question immae wouldn't your nix servers happen to be rpi4 ?
<immae> nope
<{^_^}> #63720 (by majewsky, 1 year ago, open): Raspberry Pi 4 support
<immae> ARM support is...scary :p
<nature> okok (I have 2 of those bad bois waiting)
<nature> really ? ^^'
<immae> (to me)
<immae> cross compilation is still mysterious to me
o1lo01ol1o has quit [Remote host closed the connection]
<nature> I must admit I have no experience in it either, but hey, good case study then
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
bvdw has joined #nixos
lsix has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #93708 → mesa: 2.1.3 -> 2.1.4 → https://git.io/JJ8ln
<{^_^}> [nixpkgs] @primeos pushed to staging « mesa: 2.1.3 -> 2.1.4 (#93708) »: https://git.io/JJ8V2
justanotheruser has quit [Ping timeout: 272 seconds]
waleee-cl has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
proofofk_ has quit [Remote host closed the connection]
proofofkeags has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
afreak has quit [Quit: leaving]
knupfer has quit [Ping timeout: 260 seconds]
proofofkeags has quit [Ping timeout: 240 seconds]
asymptotically has quit [Quit: Leaving]
obadz has joined #nixos
obadz has quit [Client Quit]
obadz has joined #nixos
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos
maier has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #92843 → ngircd: 25 -> 26 → https://git.io/JJmdW
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JJ8wl
WilhelmVonWeiner has left #nixos [#nixos]
proofofkeags has joined #nixos
maier has quit [Ping timeout: 260 seconds]
<nature> I just set i18n.supportedLocales = ["en_US.UTF-8/UTF-8"] and when I do a nixos-rebuild switch I still have the huge nix/store glibcLocales package, how do I remove it ?
<immae> nature: that’s because the store is not emptied automatically. A nix-store --gc would remove every dangling derivations from the store
<immae> But chances are that they are not dangling, since by default nixos switch keeps a history of your configuration
<immae> (I may provide details but later. You may look for "generation" in the manual for more information about this history thing. In particular that’s what makes grub show you several versions to boot from)
<nature> immae: nix-store --gc did work ! :D
<nature> yeah I would be happy to have some details because I ran nix-collect-garbage and nix-store --optimise before but only nix-store --gc did remove it
alp has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
malik has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
orivej_ has quit [Read error: Connection reset by peer]
erasmas has quit [Quit: leaving]
lord| has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @LnL7 merged pull request #93718 → plex: 1.19.4.2935 -> 1.19.5.3112 → https://git.io/JJ8aB
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/JJ8rf
quinn has joined #nixos
seku has quit [Quit: Connection closed]
lord| has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bb259afcc62 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alp has joined #nixos
MarcWeber has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
o1lo01ol1o has joined #nixos
Sslam has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
Neo--- has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #92844 → [20.03] samba: 4.11.9 -> 4.11.11 → https://git.io/JJmdx
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to staging-20.03: https://git.io/JJ8oO
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/69af91469be (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
thomasjm has joined #nixos
thomasjm has quit [Client Quit]
<{^_^}> [nixpkgs] @mweinelt merged pull request #93677 → syncplay: use python 3.7 → https://git.io/JJlwa
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JJ8oo
thomasjm has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
shibboleth has joined #nixos
jco has quit [Quit: WeeChat 2.7]
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
growpotkin has joined #nixos
simba2 has quit [Ping timeout: 272 seconds]
moet has joined #nixos
<moet> how do i specify a subdirectory when calling callHackage?
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
simba2 has joined #nixos
Sslam has quit [Remote host closed the connection]
smatting_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93721 → alttab: 1.4.0 -> 1.5.0 → https://git.io/JJ8Ku
<moet> nevermind, this is a case where i needed a more recent pin of all-cabal-hashes
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
justanotheruser has joined #nixos
<ornxka_> is there a way to rebuild part of your system but not all of it..
<ornxka_> like ive got a nix container but when i do nixos-rebuild switch it involves a bunch of stuff including copying 100+MB of secrets to a slow usb thumb drive
<{^_^}> [nixpkgs] @zowoq opened pull request #93722 → podman: 2.0.2 -> 2.0.3 → https://git.io/JJ8KH
Wharncliffe has joined #nixos
orivej_ has joined #nixos
simba2 has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 246 seconds]
<moet> ornxka_: there's a "--fast" option for nixos-rebuild which builds fewer things, but i don't know much about when it's appropriate to use
<moet> ornxka_: docs say "Equivalent to --no-build-nix --show-trace. This option is useful if you call nixos-rebuild frequently (e.g. if you’re hacking on a NixOS module)."
<clever> --fast will still copy all of the secrets to /boot/ every time
alp has quit [Ping timeout: 240 seconds]
<ornxka_> ah i see
<ornxka_> i wonder why it copies them every time..
<ornxka_> at first i couldnt get it to work because it was using old secrets and not copying the new ones, now it copies even when there are no changes
fendor has quit [Read error: Connection reset by peer]
orivej_ has quit [Read error: Connection reset by peer]
orivej has joined #nixos
ixxie has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93724 → binaryen: 94 -> 95 → https://git.io/JJ868
<clever> ornxka_: the last boot.loader.grub.configurationLimit generations of nixos are copied to /boot on each switch
<clever> ornxka_: you can change that to a lower number, or gc -d to delete generations
<colemickens> wait there's a --fast on nixos-rebuild
<colemickens> wut
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
moet has quit [Read error: Connection reset by peer]
Armin[m] has left #nixos ["User left"]
gilligan has quit [Ping timeout: 260 seconds]
nature has quit [Ping timeout: 260 seconds]
cole-h has quit [Ping timeout: 256 seconds]
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
<{^_^}> [nixpkgs] @nglen opened pull request #93725 → nixos/pipewire: add ALSA routing → https://git.io/JJ86b
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
cript0nauta has joined #nixos
gilligan has joined #nixos
<{^_^}> [nixpkgs] @oxalica opened pull request #93726 → osu-lazer: 2020.714.0 -> 2020.723.0 → https://git.io/JJ8iE
<eyJhb> colemickens: life saver, did not know that
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
dermetfan has quit [Ping timeout: 272 seconds]
<arianvp> does preferLocalBuild actually also affect substitors?
<arianvp> it isnt documented as such; it says it only has effects when distributed building is enabled; but this is not what im seeing?
<arianvp> is this a mistake in the docs?
<clever> arianvp: i believe preferLocalBuild just stops it from using build machines, when possible
<clever> it will still try to query the cache, which is disabled via a 2nd flag
<arianvp> hmm is that flag enabled by default on nixos or something?
<clever> nope, both are off by default
<arianvp> ;ike; it's always rebuilding all my systemd units from scratch; eventhough they didnt change :
<clever> and both flags are per-derivation things
<clever> run nix-diff on the 2 versions
Rusty1 has joined #nixos
gv has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 256 seconds]
<arianvp> im re-runninga build in CI; the hashes are identical; the paths are uploaded to cache; yet it isnt picking them up
<arianvp> in the second run
orivej has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<clever> 204 let mkScriptName = s: "unit-script-" + (replaceChars [ "\\" "@" ] [ "-" "_" ] (shellEscape s) );
<clever> 205 in pkgs.writeTextFile { name = mkScriptName name; executable = true; inherit text; };
<clever> 74 writeTextFile =
<clever> 85 preferLocalBuild = true;
<clever> 86 allowSubstitutes = false;
<clever> arianvp: this flags all unit-script derivations to avoid build machines, and never query the cache
pamplemousse has joined #nixos
<clever> 2020-07-23 20:09:33 < clever> and both flags are per-derivation things
<clever> its not on system wide, but certain things that are cheap to build, are just always built
<arianvp> i see
<arianvp> but if the top-level derivation doesnt change; it should still just fetch the whole thing right?
<arianvp> there might be a small impurity there i havent squashed yet
<clever> not sure
<clever> i use hydra for building my nixos images
<clever> it gc roots everything on itself, so it doesnt have to fetch things from a cache every time it starts up
<arianvp> yeh github actions doenst have that luxury i think
<clever> arianvp: the diff to nixpkgs that triggered the build, and what stuff it had to rebuild for the nas
<clever> arianvp: i notice that the new yubikey-agent doesnt respect its own enable flag, and will always be installed!
<arianvp> :)
<arianvp> see the "Compare changeset" step
<arianvp> is pretty neat that CI will tell me before deploying what the result is gonna be :D
<clever> arianvp: hydra can also generate graphs showing the closure size
<arianvp> hydra scares me a bit
<clever> why?
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<arianvp> it's very confusing. i dont understand hydra.nixos.org or how to navigate it
tilcreator has quit [Ping timeout: 240 seconds]
<arianvp> if you'd task me to find a build of a pkg of nixpkgs in hydra for a specific channel; i wouldnt be able to find it
<clever> arianvp: first, start on a configuration tab like this
jumper149 has quit [Quit: WeeChat 2.9]
<clever> the inputs tells hydra to fetch nixos-configs and nixpkgs-channels, using the branches master and nixos-unstable-small
<clever> and then up a bit under `nix expression`, it says to run release.nix from the input called nixos-configs
<clever> so hydra will just fetch the latest version of that branch for both repos, and then build every attribute in the given release.nix
<clever> if you switch to the jobs tab, youll see the 6 attributes in my release.nix, and their status over time
gueorgui_ has joined #nixos
<clever> arianvp: make sense so far?
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
gueorgui has quit [Ping timeout: 246 seconds]
<arianvp> other thing I miss with hydra is CD
alexherbo2 has joined #nixos
<clever> yeah, hydra is more about building things then causing side-effects
<wucke13> Why is this not working? https://paste.krebsco.de/4xX6TRxg
<clever> arianvp: https://status.nixos.org/ this will tell you which hydra jobset is responsible for each nix channel
reanimus has quit [Ping timeout: 260 seconds]
_reanimus_ has joined #nixos
<arianvp> galaxy brain idea; why are the channels and the jobsets not just the same name? :P
<clever> wucke13: try removing the `rec` on line 1
<arianvp> how is hydra configured to push to the nixos cache btw?
<{^_^}> input-output-hk/iohk-ops#352 (by cleverca22, 2 years ago, merged): [DEVOPS-836] configure hydra to upload everything to S3
smatting_ has quit [Ping timeout: 240 seconds]
<wucke13> clever: Nope, that's not working. Still says attribute unstable missing
<clever> wucke13: does it say which line and column the error is on?
tilcreator has joined #nixos
<wucke13> clever: Line 6
<clever> wucke13: have you tried as an overlay instead? nixpkgs.overlays = [ (self: super: { unstable = ...; enlightenment = { enlightenment = self.unstable.....; }; }) ];
<clever> super is the previous version of pkgs, self is the final version with the overlay included
<clever> you usually use self, but sometimes need super to avoid infinite recursion
<energizer> i wonder if `super` could be written as `self.prev` somehow
gv has joined #nixos
<clever> energizer: not really, because self is the same for every overlay, but super is different for each overlay
<energizer> ah
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<wucke13> clever: Thank you, this seems to work!
<wucke13> (Using overlay)
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
endformationage has joined #nixos
emmanuel` has quit [Remote host closed the connection]
mbrgm_ has joined #nixos
cript0nauta has quit [Remote host closed the connection]
cript0nauta has joined #nixos
philr_ has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
kreyren__ has joined #nixos
kreyren_ has quit [Remote host closed the connection]
craftyguy has quit [Quit: WeeChat 2.8]
craftyguy has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 264 seconds]
iqubic has joined #nixos
knerten2 has joined #nixos
ktosiek0 has joined #nixos
ktosiek has quit [Read error: Connection reset by peer]
ktosiek0 is now known as ktosiek
knerten1 has quit [Read error: Connection reset by peer]