andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<monokrome> Is there a way to completely reset /nix/store? It's taking 186GB
h0m1 has quit [Quit: WeeChat 2.8]
<ixxie> hmm which packages does nixos use for ssh/scp commands?
<monokrome> nix-collect-garbage doesn't remove it
h0m1 has joined #nixos
<cole-h> Try `nix-store --optimise`?
<waleee-cl> monokrome: did you forget the -d ?
<simpson> monokrome: https://github.com/symphorien/nix-du may help. At a wild guess, perhaps you have many old NixOS generations?
<{^_^}> [nixpkgs] @marsam merged pull request #85107 → mdcat: 0.15.1 -> 0.16.0 → https://git.io/JvjzL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvjgc
<waleee-cl> monokrome: jumping on simpson's comment, did you run it as sudo to gc the old nixos generations?
<monokrome> yeah
<monokrome> didn't forget the -d, no
zeta_0 has joined #nixos
<zeta_0> what command do i need to run to what value i need to set the HIE_HOOGLE_DATABASE environment variable to?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85111 → ocamlPackages.stdlib-shims: 0.1.0 -> 0.2.0 → https://git.io/Jvjgz
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
freeman42xx has quit [Quit: Leaving]
<zeta_0> nevermind i finally found some documentation
bukkitgerman8608 has quit [Ping timeout: 265 seconds]
bdju has quit [Read error: Connection reset by peer]
bdju has joined #nixos
is_null has quit [Remote host closed the connection]
dsiypl4_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #85112 → [WIP] ptags: init at 0.3.2 → https://git.io/JvjgX
broccoli has joined #nixos
brococoli[m] has joined #nixos
glittershark has joined #nixos
<glittershark> holy crap pkgs/development/node-packages/generate.sh takes a while
<glittershark> I just wanted to add one node package :'(
codygman has quit [Read error: Connection reset by peer]
<numkem> I've discovered cachix and it seems like a very nice service, is there one with emacs 27 or one that would cache the emacs overlay? my laptop isn't the most powerful and while it's not taking that long I'd like to be able to leverage a cache (also a nice way to understand how it works)
hoplaahei has quit [Quit: Konversation terminated!]
codygman has joined #nixos
codygman__ has quit [Ping timeout: 240 seconds]
reallymemorable has joined #nixos
<energizer> idk why cache.nixos.org can't just host built versions of all the emacs packages
hoplaahei has joined #nixos
erictapen has joined #nixos
__init__ has quit [Remote host closed the connection]
<infinisil> It's just a matter of somebody adding pkgs.emacs27
<hoplaahei> I created a new 'download' dataset. It appears in hardware-configuration.nix in the same format as the root and home datasets after a nixos-generate-config --root /, but it doesn't mount on boot. What am I missing?
<hoplaahei> For zfs I should have mentioned.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvjgA
<hoplaahei> mountpoint is legacy
<infinisil> hoplaahei: Does it appear in /etc/fstab?
<energizer> infinisil: could hydra also build python packages with poetry2nix from single-package lockfiles?
<infinisil> energizer: Yeah, pkgs.poetry is built like this already
<zeta_0> i finally finished setting up shell.nix with ghcide and ghcWithHoogle, all i had to do with the env vars was copy them from sessionVariables in my home.nix, paste them into shell.nix's shellHook, and prepend them with export: https://dpaste.org/Qhyd
<{^_^}> [nixpkgs] @jonringer merged pull request #84902 → pianobar: 2019.02.14 -> 2020.04.05 → https://git.io/Jvpj5
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « pianobar: 2019.02.14 -> 2020.04.05 »: https://git.io/Jvjgj
<zeta_0> before i go into another nix-shell, i need to setup nix-shell's caching
dsiypl4_ has joined #nixos
<infinisil> energizer: It's weird, but pkgs.poetry != pkgs.pythonPackages.poetry
<{^_^}> [nixpkgs] @jonringer merged pull request #84576 → qtractor: 0.9.12 -> 0.9.13 → https://git.io/JvARW
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « qtractor: 0.9.12 -> 0.9.13 »: https://git.io/Jvj2e
<{^_^}> [nixpkgs] @jonringer merged pull request #84579 → qjackctl: 0.6.1 -> 0.6.2 → https://git.io/JvAR7
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « qjackctl: 0.6.1 -> 0.6.2 »: https://git.io/Jvj2f
simukis__ has joined #nixos
<numkem> I keep reading and re-reading the documentation related to the channels. I can't seem to see the flow between a PR merged into master of nixpkgs and when it its the nixpkgs-unstable or nixos-unstable channel. I know it's related to an hydra build but how long does it usually takes for that to happen?
<{^_^}> [nixpkgs] @jonringer merged pull request #84626 → seafile-client: 7.0.5 -> 7.0.7 → https://git.io/JvA9D
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « seafile-client: 7.0.5 -> 7.0.7 »: https://git.io/Jvj2k
<energizer> infinisil: is that the way to add python packages now?
<{^_^}> [nixpkgs] @jonringer merged pull request #84564 → qsynth: 0.6.1 -> 0.6.2 → https://git.io/JvAlD
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « qsynth: 0.6.1 -> 0.6.2 »: https://git.io/Jvj2t
<hoplaahei> infinisil: actually no. Shall I just manually create the entry? I'm wondering why it wasn't created automatically?
<infinisil> energizer: Not really, but I guess it's there if the standard python infra doesn't work
simukis_ has quit [Ping timeout: 265 seconds]
rogue_koder has joined #nixos
<energizer> infinisil: since i use poetry in my projects, it'd be nice to have all those packages already built on the poetry version instead of having to built numpy/scipy/... myself
<infinisil> hoplaahei: Don't create it manually, this question was to find out where the problem lies
<infinisil> hoplaahei: What does `nix-instantiate --eval '<nixpkgs/nixos>' -A 'config.fileSystems."/the/correct/path".device'` output (with the correct path inserted)?
<hoplaahei> infinisil: it says configuration.nix wasn't changed because it already exists. But when I created the datasets from the installer, it didn't add any entries to configuration.nix. Does the installer have a separate way to add the fstab entries?
<energizer> infinisil: would nixpkgs accept a list of packages to be built like that, just for convenience of having hydra-built packages available?
<hyperfekt> numkem: hours to weeks https://channels.nix.gsc.io/graph.html
<numkem> hyperfekt: in those cases, is it better to just do a nix-build switch -I <path_to_repo>?
<hoplaahei> infinisil: that command (when run for the dataset I want to add 'download') says: "rpool/download"
qrnteen has quit [Quit: Leaving]
<infinisil> energizer: Probably not. The usual idea with nixpkgs is to have a single set of latest dependencies that can be used for everything, without multiple versions of things
<hoplaahei> But nixos-generate-config --root / does say 'warning: not overwriting existing /etc/nixos/configuration.nix'
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « pam_krb5: 4.8 -> 4.9 »: https://git.io/Jvj2W
<{^_^}> [nixpkgs] @jonringer merged pull request #84453 → pam_krb5: 4.8 -> 4.9 → https://git.io/JvN5T
<infinisil> energizer: But tools like poetry2nix always build exact versions, meaning they would almost never match one from nixpkgs, and everybody might need a differetn one
<hoplaahei> I thought it would be enough to generate the sources hardware-configuration.nix
<energizer> infinisil: that's exactly the problem i have, i'm constantly having to build numpy :)
<hyperfekt> numkem: as long as you make sure that the branch is based off of unstable, not master. or you'll rebuild the world. you can do what you suggested or outright set $NIX_PATH to point to the one you want
<infinisil> hoplaahei: That's fine, nixos-generate-config writes the filesystem stuff in /etc/nixos/hardware-configuration.nix
<{^_^}> [nixpkgs] @jonringer merged pull request #84417 → kodelife: 0.8.8.110 -> 0.9.0.129 → https://git.io/JvNiT
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « kodelife: 0.8.8.110 -> 0.9.0.129 »: https://git.io/Jvj28
<hoplaahei> infinisil: it appears to have generated that file correctly, but for some reason it isn't mounted at boot time.
<energizer> infinisil: so even if numpyX.Y weren't available as an attribute of nixpkgs, it'd still be convenient to have it in the cache
<numkem> hyperfekt: good point. What do you do yourself? Do you run unstable by default? I currently import nixos-unstable as a channel
<hyperfekt> numkem: you could also use the combination of disabledmodules and imports instead of using a different checkout.
<hoplaahei> The 'download' dataset anyway. The other two are fine.
<{^_^}> [nixpkgs] @jonringer merged pull request #84426 → libzdb: 3.2.1 -> 3.2.2 → https://git.io/JvNXg
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « libzdb: 3.2.1 -> 3.2.2 »: https://git.io/Jvj2B
justanotheruser has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #84665 → xbps: 0.59 -> 0.59.1 → https://git.io/JvAjU
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « xbps: 0.59 -> 0.59.1 »: https://git.io/Jvj20
<hyperfekt> numkem: i have a bastard of a nixos directory that lets me pin a nixpkgs and apply patches to it
<infinisil> hoplaahei: You did do a nixos-rebuild switch after the nixos-generate-config?
<{^_^}> [nixpkgs] @marsam opened pull request #85113 → influxdb: 1.7.6 -> 1.8.0 → https://git.io/Jvj2z
<hyperfekt> numkem: not necessarily recommended but it's very low friction
<numkem> hyperfekt: interesting, I won't lie this is my 3rd try to use nixos as my personal driver and I'm trying to stick to it this time and go over the learning wall.
<energizer> infinisil: how much work is involved in hosting a hydra instance?
anirrudh has quit [Quit: Leaving]
<infinisil> energizer: Nah that won't happen. hydra would have to build all versions of numpy for every nixpkgs update then to satisfy everybody
<hoplaahei> infinisil: I thought I did, but maybe I've been dumb...
<energizer> infinisil: yeah that's what i want :-)
<numkem> hyperfekt: I'm trying to understand the graph you linked, X is time as timestamp but Y is the number of builds? Would looks like using nixos-unstable-small would be better?
<hoplaahei> I'll try and boot into it now
<hyperfekt> i think if you'e familiar with git you should just point nixpkgs in $NIX_PATH to a checkout and use that for all your patching and pinning needs
<infinisil> energizer: And hydra already builds tens of thousands of packages, constantly struggling due to the capacity
<{^_^}> [nixpkgs] @jonringer merged pull request #85099 → docker-compose: 1.25.4 -> 1.25.5 → https://git.io/JvjBV
<{^_^}> [nixpkgs] @jonringer pushed commit from @Frostman to master « docker-compose: 1.25.4 -> 1.25.5 »: https://git.io/Jvj2w
<infinisil> hoplaahei: No need to reboot if you mean that. Just do a `nixos-rebuild switch` and see if it works after that
<energizer> infinisil: maybe it could build $current_version of numpy that way?
<hyperfekt> numkem: i think y might not be relevant at all ^^ the small variants don't build everything so using them is only advised if you need updates very quick and only use essentials or can build the rest yourself relatively quickly
<numkem> hyperfekt: I'd like to get consul 1.7.2 that I did a PR for that was merged it last week. And per the branches, nixpkgs-unstable doesn't have it while nixos-unstable and nixos-unstable-small does. Yet the channel doesn't have it
<numkem> hyperfekt: this might be more what I'd want. I only take some packages from unstable rather than the whole OS
<hyperfekt> numkem: have you updated your channel? if your channel is nixos-unstable and the branch nixos-unstable has it and your channel is up to date it should be available
ottidmes has quit [Quit: Leaving]
<hoplaahei> infinisil: no. There is still no entry for it in fstab, and the dataset isn't mounted
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85114 → offlineimap: 7.3.2 -> 7.3.3 → https://git.io/Jvj26
<infinisil> energizer: That it does already with pkgs.pythonPackages3.numpy
<numkem> hyperfekt: I've been doing nix-channel --update as root
<infinisil> energizer: You might be able to instruct poetry2nix to use that version
<numkem> hyperfekt: and a nix-rebuild switch
dsiypl4_ has quit [Quit: Leaving]
<hyperfekt> but in general you can just trivially import any channel you want and use packages from there, it's only when you need updated NixOS modules that all those hoops need jumping through
<infinisil> energizer: (but then dependencies will be inconsistent between Nix and non-Nix users)
<numkem> hyperfekt: what do you know it picked it up just now... This is rather confusing release-cycle wise
<infinisil> hoplaahei: Okay, run `nixos-rebuild build`, then check the file `result/etc/fstab`, does the entry exist there?
erictapen has quit [Ping timeout: 240 seconds]
<hyperfekt> numkem: take a gander at https://status.nixos.org/ to see how old the channels are
<energizer> infinisil: then i have to override numpy in all the packages that depend on numpy. much easier (for me) to just have numpy built with poetry2nix in nixpkgs.python3Packages.numpy
<numkem> hyperfekt: that's exactly what I wanted to see! Thanks!
<numkem> hyperfekt++
<{^_^}> hyperfekt's karma got increased to 4
<hoplaahei> infinisil: my mistake. I forgot to remount the dataset this time round for the rebuild. It seems to have worked now. Thanks. Must have forgot to rebuild.
<infinisil> hoplaahei: Cool :)
<hoplaahei> one other thing... I created a zfs dataset for tmp with sync=disabled that I missed in the wiki guide. Is it safe to unmount tmpfs and mount the new /tmp and regenerate and rebuild? Or would I need a rescue environment? This isn't any mission critical server.
<hoplaahei> It's nice the way it live mounts the new datasets.
bhipple has quit [Ping timeout: 256 seconds]
bhipple has joined #nixos
<clever> hoplaahei: if you swap out /tmp, youll loose the unix socket for X11, and have to restart display-manager.service
<{^_^}> [nixpkgs] @glittershark opened pull request #85115 → json2csv: init at 5.0.0 → https://git.io/Jvj2b
pjt_014 has joined #nixos
h0m1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @numkem opened pull request #85116 → nomad: 0.10.5 -> 0.11.0 → https://git.io/Jvj2h
<{^_^}> [nixpkgs] @jonringer merged pull request #84421 → libwps: 0.4.10 -> 0.4.11 → https://git.io/JvNPO
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « libwps: 0.4.10 -> 0.4.11 »: https://git.io/Jvj2j
h0m1 has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
ni291187 has joined #nixos
LnL has quit [Ping timeout: 265 seconds]
ni291187 has quit [Read error: Connection reset by peer]
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 256 seconds]
LnL has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
markus1189 has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/5fa2612ca27 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
markus1199 has quit [Ping timeout: 256 seconds]
bhipple has quit [Ping timeout: 240 seconds]
numkem has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ixxie has quit [Ping timeout: 265 seconds]
<hoplaahei> clever: ok I'll do that anyway. Thanks for the info.
sigmundv__ has joined #nixos
numkem has joined #nixos
sigmundv_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixos-channel-scripts] @grahamc pushed to fixup-new-chan « curRelease: guard against missing channel »: https://git.io/JvjaZ
<{^_^}> [nixos-channel-scripts] @grahamc opened pull request #37 → curRelease: guard against missing channel → https://git.io/Jvjac
gammarray has joined #nixos
<{^_^}> [nixos-channel-scripts] @grahamc pushed to fixup-new-chan « curRelease: guard against missing channel »: https://git.io/JvjaC
<{^_^}> [nixos-channel-scripts] @grahamc pushed to fixup-new-chan « curRelease: guard against missing channel »: https://git.io/Jvjal
gammarray has quit [Remote host closed the connection]
<{^_^}> [nixos-channel-scripts] @grahamc merged pull request #37 → curRelease: guard against missing channel → https://git.io/Jvjac
<{^_^}> [nixos-channel-scripts] @grahamc pushed 2 commits to master: https://git.io/Jvja8
glittershark has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-channel-scripts] @grahamc pushed 0 commits to fixup-new-chan: https://git.io/Jvja4
glittershark has joined #nixos
glittershark has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85117 → opensubdiv: 3.4.0 -> 3.4.3 → https://git.io/Jvjag
cr4y1 has quit [Ping timeout: 265 seconds]
hoplaahei has quit [Quit: Konversation terminated!]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/708cb6b307b (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<dsal> ahh. touch screen works on my laptop. That was weird and unexpected.
numkem has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hoplaahei has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
gammarray has joined #nixos
numkem has joined #nixos
<numkem> I'm trying to delete keys from ssh-agent and it doesn't cooperate, it says it did delete the key but it doesn't do anything. I see there are user entries in systemd for something that looks like an ssh-agent emulation... What can I do to remove the key? even ssh-add -D doesn't do anything
gammarray has quit [Remote host closed the connection]
<gchristensen> numkem: is this a gpg-agent?
thc202 has quit [Ping timeout: 260 seconds]
<numkem> gchristensen: yes, that is what I see the service has.
<gchristensen> I spent an eternity trying to solve this problem
<numkem> long story short, I want to remove the passphrase to a key and it keeps prompt it even after doing ssh-keygen -p -i <path_to_key>
<gchristensen> oh I don't know that I can solve that
gammarray has joined #nixos
<cole-h> Nice URL
<gchristensen> it reflects the state of mind you're in after fighting GPG for a day
<numkem> gchristensen: haha, big fan of the tittle
<numkem> gchristensen: that did something as I saw the key disappear but it's still prompting for password :/
<numkem> gchristensen: omg... the tittle is really appropriate, the f'ing thing is caching the key... you have to remove it from the folder too
<numkem> gchristensen: huge thank you! it's workning now
<numkem> gchristensen++
<{^_^}> gchristensen's karma got increased to 265
<gchristensen> good luck :P
gammarray has quit [Client Quit]
<cole-h> "you can learn something (??? not sure what exactly)" lol
codygman__ has joined #nixos
<codygman__> If I want to build a derivation on top of emacs that simply renames it to "codygman-emacs" for instance, how would I do that? Would I have to just use `mv emacs codygman-emacs` in the builder maybe?
gammarray has joined #nixos
gammarray has quit [Client Quit]
hoplaahei has quit [Quit: Konversation terminated!]
gammarray has joined #nixos
sigmundv__ has quit [Ping timeout: 265 seconds]
broccoli has quit [Ping timeout: 250 seconds]
gammarray has quit [Remote host closed the connection]
gammarray has joined #nixos
<{^_^}> [nixpkgs] @nh2 opened pull request #85119 → linux: Enable `CONFIG_NET_DROP_MONITOR` by default → https://git.io/Jvjax
gammarray has quit [Client Quit]
gammarray has joined #nixos
<srxl[m]> I've got the following derivation I'd like to get added into nixpkgs, but I'm not sure where in the tree it should go. It's a language server for a BEAM language (elixir), but it doesn't use any of the existing BEAM tooling in nix, so I'm not sure where to put it. https://pastebin.com/7hENMXqF
<srxl[m]> Any recommendations?
gammarray has quit [Remote host closed the connection]
glittershark has joined #nixos
<dsal> Does anyone run uglifyjs (an npm-based program) under nixos? I use it as part of my elm workflow.
peelz has quit [Remote host closed the connection]
gammarray has joined #nixos
gammarray has quit [Client Quit]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/708cb6b307b (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
zaeph has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @garbas opened pull request #85120 → Vim plugins coc vim → https://git.io/JvjVV
<{^_^}> [nixpkgs] @garbas closed pull request #85120 → tigVim plugins coc vim → https://git.io/JvjVV
<{^_^}> [nixpkgs] @garbas opened pull request #85121 → vimPlugins: vim-which-key init → https://git.io/JvjVr
<{^_^}> [nixpkgs] @garbas merged pull request #85121 → vimPlugins: vim-which-key init → https://git.io/JvjVr
<{^_^}> [nixpkgs] @garbas pushed to master « vimPlugins: vim-which-key init (#85121) »: https://git.io/JvjVP
felixfoertsch23 has joined #nixos
ddellacosta has quit [Ping timeout: 250 seconds]
felixfoertsch has quit [Ping timeout: 256 seconds]
felixfoertsch23 is now known as felixfoertsch
ddellacosta has joined #nixos
iyzsong has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
LysergicDreams has quit [Ping timeout: 265 seconds]
<infinisil> codygman__: emacs.overrideAttrs (old: { name = "codygman-emacs"; })
LysergicDreams has joined #nixos
<infinisil> srxl[m]: Doesn't really matter much, the directory structure doesn't have any deep meaning
ddellacosta has quit [Ping timeout: 258 seconds]
zaeph has joined #nixos
<dsal> Hmm... Adding stack.yaml support for nix broke the build for systems without nix.
CMCDragonkai1 has joined #nixos
Taneb has quit [Quit: I seem to have stopped.]
Taneb has joined #nixos
morgrimm has joined #nixos
zaeph1 has joined #nixos
zaeph has quit [Ping timeout: 265 seconds]
henry_ has joined #nixos
<henry_> .
<henry_> Hello, I have a quick question. Is anyone here right now?
<evils> henry_: yes; glad i could help
<henry_> Hi, evils. :)
<glittershark> grr
<henry_> Thanks, I appreciate it.
<glittershark> how do I override the modDirVersion of a linux kernel?
<zeta_0> i was wondering, what is the difference between, fetchTarball and builtins.fetchTarball ?
<glittershark> > (pkgs.linux.overrideDerivation (_: {modDirVersion="5.4.30-ck1";})).modDirVersion
<{^_^}> "5.4.31"
<glittershark> > (pkgs.linux.overrideAttrs (_: {modDirVersion="5.4.30-ck1";})).modDirVersion
<{^_^}> "5.4.31"
<glittershark> > pkgs.linux / { modDirVersion = "5.4.31-ck1"; }
<{^_^}> value is a set while a float was expected, at (string):296:1
<glittershark> I *guess*
<glittershark> > (pkgs.linux / { modDirVersion = "5.4.31-ck1"; }).modDirVersion
<{^_^}> value is a set while a float was expected, at (string):296:2
<glittershark> er
<glittershark> > (pkgs.linux // { modDirVersion = "5.4.31-ck1";}).modDirVersion
<{^_^}> "5.4.31-ck1"
<glittershark> ¯\_(ツ)_/¯
orivej has joined #nixos
<glittershark> nnnope, still not building
<glittershark> Error: modDirVersion 5.4.30 specified in the Nix expression is wrong, it should be: 5.4.30-ck1
<glittershark> guh
<glittershark> this feels like it should be easier
<{^_^}> [nixpkgs] @zowoq opened pull request #85122 → go packages: remove darwin security → https://git.io/Jvjw2
<henry_> evils: Nix seems very nice and I'm glad I stumbled upon it. Right now, basically, I'm trying to compile it on ARM — specifically, on a Raspberry Pi 2, running Raspbian, with the armv7l architecture. I tracked down all of the dependencies, installed via APT and compiled when necessary, and ./configure registers them all. Now I'm running make and I'm encountering the following unfortunate fatal error:
<henry_> https://privatebin.net/?26ca030ab9a25360#EMp1BjFetUddi2sWpHiC5LERnPbG9Jfme4yCpRNXkcWd And I'm hoping that someone can give me some insight into this problem.
<zeta_0> oh so builtins is used to avoid namespace problems, that makes sense
<glittershark> (pkgs.linux.override { argsOverride = { modDirVersion = "5.4.30-ck1"; }; }).modDirVersion
<glittershark> > (pkgs.linux.override { argsOverride = { modDirVersion = "5.4.30-ck1"; }; }).modDirVersion
<{^_^}> "5.4.30-ck1"
<glittershark> wooooo
<glittershark> but also grrrr
<henry_> The nearest issue on Github appears to be this: https://github.com/NixOS/nixpkgs/pull/67808
<glittershark> what was that about override discoverability? :P
<{^_^}> #67808 (by lopsided98, 32 weeks ago, closed): pythonPackages.grpcio-tools: fix undefined symbol error on armv6l
<henry_> But to the best of my knowledge my error has nothing to do with Python.
<morgrimm> Are most nix store paths read-only in a nix shell?
<evils> henry_: that's not a quick question :D, i'm sure there's people building it for rpi2, they probably hang out at #nixos-aarch64, i also suggest you check https://logs.nix.samueldr.com/nixos-aarch64 for relevant conversations
<henry_> Ok then, lol.
<lopsided98> henry_: You need to pass "-latomic" probably through CFLAGS
<henry_> I'll check it out also.
<henry_> lopsided98: Hmm, that's interesting...
<lopsided98> It should probably be fixed in Nix's build system, rather than having to add a hack in the Nix derivation...
<henry_> Yes I can see how that might be a problem when I have armv7l and neither armv5tel nor armv6l
<glittershark> man this is cool
<glittershark> I would've never *dreamed* of throwing an unofficial patchset on my kernel while I was still running arch
<glittershark> with nix I feel 100% confident
<henry_> Can I safely assume that I can set CFLAGS with make and expect it to pass through?
<lopsided98> I'm not sure, maybe just try it and see
<henry_> Apparently not.
<henry_> Hang on.
<henry_> Nope, neither CFLAGS nor CXXFLAGS.
<glittershark> I wonder if it'd be easier to cross-compile from a host system that already has nix
<henry_> Looks like it might be LDFLAGS?
<glittershark> ...if you have one of those
<glittershark> oh yeah -latomic would be an LDFLAG
<henry_> Me, glittershark?
<glittershark> yes you
<glittershark> :}
<glittershark> :)
<henry_> ;)
<glittershark> ironic that the build system is hard to build
<glittershark> but hey
<glittershark> who watches the watchers
<glittershark> who shaves the barbers
<glittershark> who... reproducibly builds the reproducible build tool
<henry_> Still nope. :(
<henry_> lol though
<henry_> It curves back in upon itself.
<lopsided98> Maybe pass it to configure rather than make?
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<henry_> Like the Ouroboros.
<glittershark> cross compiling is supposed to be easy with nix, right?
<lopsided98> Also, if you are running Raspbian, I believe you are running an armv6l userspace (-latomic isn't needed on armv7l). The reason you have to specify it manually is that you are compiling Nix manually outside of nixpkgs, so that the override I linked doesn't get applied
<henry_> I'm trying that right now. ("Maybe pass it to configure rather than make?") It seems to be starting over, so maybe that's a good thing..?
<henry_> I must admit to not really being up to speed on cross-architecture compilation.
<glittershark> so nixpkgs has a `pkgsCross.raspberryPi` attr
<glittershark> I'm building it right now bc I was curious
<glittershark> if you have an x64 computer you could try just `nix-build -f '<nixpkgs'> pkgsCross.raspberryPi.nix`
<henry_> Let me search that.
<glittershark> that'll give you a cross-compiled nix you could hypothetically just toss over with `nix-copy-closure` or something
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<glittershark> ...idk if nix-copy-closure works if the target system doesn't have nix installed
<glittershark> it probably doesn't
<henry_> I don't have anything against potentially distributing a binary, but ideally I'm going to incorporate this into a zero-config setup.
<lopsided98> pkgsCross.raspberryPi is armv6l. Normally you would use pkgsCross.armv7l-hf-multiplatform on an RPi 2. The only reason Raspbian uses armv6l is so the same image can be compatible with all models
<glittershark> ah
<henry_> Interesting, lopsided98.
konobi has quit [Quit: konobi]
<henry_> I wonder why they don't provide an option for pure armv7l+. Surely there are performance implications...
konobi has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85123 → pgcli: 2.2.0 -> 3.0.0 → https://git.io/Jvjw9
<henry_> This compilation is just taking forever. I remember how much of an improvement Pi 1 -> 2 was. I should probably get a 3 or a 4.
orivej has quit [Ping timeout: 256 seconds]
morgrimm has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-homepage] @garbas pushed to download-page « some of davidak's comments »: https://git.io/JvjwF
numkem has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @iblech opened pull request #85124 → tigervnc: unbreak the build (and add tests) → https://git.io/JvjwA
evertedsphere has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to download-page « add some warnings »: https://git.io/Jvjrf
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixos-homepage] @garbas merged pull request #386 → Download page refresh → https://git.io/Jvhz1
<{^_^}> [nixos-homepage] @garbas pushed to master « Download page refresh (#386) »: https://git.io/JvjrJ
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to download-page: https://git.io/JvjrU
pjt_014 has quit [Read error: Connection reset by peer]
<henry_> Would you like fish support for .nix-profile/etc/profile.d/nix.sh?
<henry_> (And the rest.)
<evils> henry_: i think that'd be welcome
reallymemorable has quit [Quit: reallymemorable]
pjt_014 has joined #nixos
<{^_^}> [nixpkgs] @iblech opened pull request #85125 → iodine: improve test in view of #58806 → https://git.io/Jvjr3
zeta_0 has joined #nixos
<henry_> Consider it done. (Just not right now.)
<henry_> I may also have to let you know the status of the compilation around this time tomorrow.
<zeta_0> i'm trying to run `time` to test out the cached-nix-shell tool, but i'm getting this error: `bash: ./hello.py: Permission denied`
<zeta_0> how to i fix this?
<dsal> What is hello.py?
<henry_> You need to add the execution privilege to your file.
<henry_> And probably a hashbang header.
<zeta_0> dsal: it's just a python program, i ran: time ./hello.py
<dsal> ls -l hello.py
<zeta_0> here's the instructions that i'm following: https://github.com/xzfc/cached-nix-shell
<dsal> Yeah, I think those instructions are making some assumptions of their audience. heh
<henry_> I generally run my scripts with the Python interpreter directly, a la `python3 hello.py`.
<zeta_0> dsal: ok, that command returned: `-rw-r--r-- 1 zeta users 90 Apr 12 22:18 hello.py`
<dsal> Yeah, that's not executable.
codygman__ has quit [Remote host closed the connection]
<zeta_0> cached-nix-shell ./hello.py works fine but not time ./hello.py, i'm going to have to make an executable then
<zeta_0> dsal: so how's your nixos experience so far? are you new to nixos?
<dsal> Yeah, first time caller. It's pretty nice. Just trying to figure out how to get my elm stuff building. Needs some javascript junk.
<zeta_0> dsal: oh, the new elm compiler is on the unstable channel, so it broke for me on the stable channel
konobi has quit [Quit: konobi]
<dsal> Oh, that's working for me. It's a javascript thing later down the path I need. Trying to figure out how to nix shell.
<zeta_0> dsal: oh that's good, and have you seen nod2nix? i've only tried it out once: https://github.com/svanderburg/node2nix
<zeta_0> it seems useful
<dsal> Hmm.... Maybe.
Cale has quit [Ping timeout: 260 seconds]
<zeta_0> dsal: you need to touch a shell.nix in your projects root directory, after configuring it run nix-shell
<dsal> I'm hoping to know as little as possible about npm while doing this.
<zeta_0> dsal: these nix-shell recipes look really useful, i found this link today: https://github.com/uniphil/nix-for-devs
<srxl[m]> oh boy, this is a problem I didn't notice until now...
<srxl[m]> so, as part of building elixir-ls, i need to get it's dependencies with `mix deps.get`
<srxl[m]> my idea to solve this was to jam all the dependency-fetching stuff into a fixed-hash derivation
<srxl[m]> turns out, the output of that mix task is not reproducible
<srxl[m]> the hash of the dependency fetching derivation is different ever run
<srxl[m]> every*
jerryaldrichiii_ has quit [Read error: Connection reset by peer]
chagra_ has joined #nixos
chagra has quit [Ping timeout: 264 seconds]
Cale has joined #nixos
linarcx has joined #nixos
Darkmatter66 has joined #nixos
<dsal> Apparently I can just install this npm through some nix-env magic I don't currently know. I'll figure out the nix-shell stuff later. Right now, it seems like a lot more work than just listing it in the tools I need in general.
Darkmatter66_ has quit [Ping timeout: 256 seconds]
naominitel has joined #nixos
nixy37179 has quit [Quit: The Lounge - https://thelounge.chat]
nixy37179 has joined #nixos
Acou_Bass has quit [Ping timeout: 258 seconds]
<dsal> OK, I ended up doing this with nix-shell and it's actually pretty decent.
CMCDragonkai1 has quit [Ping timeout: 256 seconds]
rogue_koder has quit [Quit: Konversation terminated!]
<energizer> dsal: a fancier version of nix-shell is https://github.com/target/lorri
<srxl[m]> Anyone around here familiar with some of the BEAM stuff that could lend a hand here? I'd like to use the existing BEAM tooling if it's possible, but I don't think I can package elixir-ls with it
jerryaldrichiii has joined #nixos
<dsal> neat.
<srhb> srxl[m]: Wasn't most of that dropped in 20.03?
<zeta_0> lorri+direnv+emacs-direnv = amazing
henry_ has quit [Quit: henry_]
<srxl[m]> The hex snapshot is gone, but the builders like `buildMix` are still there
<zeta_0> i still need to test out lorri more, but so far i really like it
Acou_Bass has joined #nixos
<srxl[m]> I really hope it hasn't been torn out, and I'm just not seeing the issues relating to it
<srhb> srxl[m]: I'm probably mistaken, just read the highlights. :)
palo1 has joined #nixos
OrangeTetra has joined #nixos
konobi has joined #nixos
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
endformationage has quit [Quit: WeeChat 2.6]
<srhb> Anyone happen to know what might have recently broken gpg+yubikey? gpg --card-status claims "no such device" even though yubi tools see they card just fine.
<srhb> A quick skim of commits doesn't reveal anything super suspect.
knupfer has joined #nixos
<dsal> Yeah, this lorri thing is pretty neat.
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85126 → python27Packages.azure-mgmt-monitor: 0.8.0 -> 0.9.0 → https://git.io/Jvjo1
<energizer> ssh-agent has started prompting me to enter password every time i switch to the vscode window
<energizer> i'm very confused
<energizer> eh not *every* time, but like every few minutes
<srhb> energizer: Sounds like the ssh-agent access might be expiring somehow?
<energizer> srhb: the weird thing is i don't get prompted for actually invoking ssh in a terminal
<srhb> energizer: Do git commands that communicate with the remote work?
<srhb> energizer: (Assuming that's how vscode got into ssh-territory at all)
<energizer> srhb: i honestly don't even know why vscode is thinking about ssh
mniip has joined #nixos
<srhb> energizer: git fetch etc., presumably
<energizer> but `git fetch` does work
<energizer> without prompting
<srhb> energizer: What if you restart your ssh agent? Are you prompted then?
OrangeTetra has quit [Quit: Leaving]
<srhb> energizer: If so, I'd suspect vscode is not finding the agent socket and caching the key itself or something.
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
xO1 has joined #nixos
<energizer> srhb: killed ssh-agent and code and did nixos-rebuild. now we'll see if it prompts me again
<energizer> first time i open a terminal i'm prompted, which is as expected
<energizer> and vscode is not prompting me (so far), so maybe that solved it
<srhb> Odd.
<energizer> anyway thanks :-)
<srhb> Sure
zaeph1 is now known as zaeph
alexherbo2 has joined #nixos
<zeta_0> when using builtins.fetchTarball, do i need setup `url` and `sha256` in order for the installation to stay permanently cached?
<energizer> those dont seem related
<srhb> zeta_0: Yes.
<energizer> srhb: explain?
<srhb> energizer: builtins.fetchTarball when given just an url as its argument relies on the ~/.cache/nix to determine whether to fetch for each kind of fetcher, iirc.
<srhb> energizer: iow, it's an impurity
freeman42x[m] has joined #nixos
<srhb> energizer: You might get a new version every hour, which is probably not what you ever want...
<energizer> hrm, why does ~/.cache/nix exist?
linarcx has quit [Quit: WeeChat 2.8]
linarcx has joined #nixos
<srhb> energizer: If you'll forgive my circular logic; to allow the builtin fetchers to work in this manner. ;-)
<srhb> It does also deal with other things, like nar lookup failures etc.
<energizer> srhb: haha alright
<srhb> For that fetcher in particular, it's ~/.cache/nix/tarballs
<srhb> zeta_0: Basically, don't ever use a fetcher without a hash of the output. :)
<srhb> (builtins.fetchgit _may_ be the exception here, due to relying on the git shasum)
<zeta_0> thanks for the explanations, i setup ghcide in my shell.nix file, so i want to make sure it gets cached, so i'm not waiting forever inside of a nix-shell like earlier today: https://github.com/hercules-ci/ghcide-nix https://dpaste.org/yrY6
freeman42x has quit [Remote host closed the connection]
LysergicDreams has quit [Ping timeout: 256 seconds]
<zeta_0> what do you guys think of this shell.nix?
freeman42x has joined #nixos
<dsal> Playing with these ec2 images... I don't quite understand how to use them correctly. Apparently I launch the instance, then login as root on it and do a `nixos-rebuild` ? Is there a way to get it to do that automatically?
LysergicDreams has joined #nixos
<srxl[m]> launch configuration?
<pjt_014> cloudinit?
<pjt_014> or whatever it's called?
<pjt_014> ah
<dsal> I'm just trying one of the regular ec2 instances from https://nixos.org/download.html
<pjt_014> amazon does seem to support it, so cloudinit would work
<dsal> I can feed my nixos configuration in with user data, but I have to ssh to the machine as root to rebuild and then it works. Seems weird.
<pjt_014> Why's that weird? It's what I would do
hasanzia has joined #nixos
<zeta_0> ok i added the hash to ghcide: https://dpaste.org/dQ5N
<dsal> Why would you do that? It's weird?
<energizer> that's clearly weird
<srxl[m]> not exactly practical if you're doing load balancers and stuff
<pjt_014> Do you guys not use a vps via ssh?
<pjt_014> hmm
<dsal> You shouldn't even be able to log in to a system as root. But if there's a means of configuring the system, it should just use that configuration.
<srhb> dsal: You can build your own image with your keys baked in.
<energizer> pjt_014: ideally it'd be already set up correctly in the first place
<srxl[m]> because you'd end up relying on like a cloudwatch alarm or something to tell you "hey, we scaled up and added a new instance, go run nixos-rebuild on it"
<srxl[m]> and i don't thinik i need to explain how that's suboptimal :P
<srhb> dsal: The idea is to produce a simple generic image from which to be able to build the actual system.
rauno has joined #nixos
<pjt_014> I mainly use Vultr where I can't exactly do that I guess. I'm not doing any of that magic
<srxl[m]> that would work
<srhb> If you want a more specific image than that, you'll have to roll your own
<dsal> Yeah, I figured the things that were available + a nixos configuration would be my system.
<dsal> It's just so close to right that I feel like I'm missing something.
<srxl[m]> get one instance all set up, then create an ami from it and just deploy that
<srhb> You can roll your own version that does the rebuild even, if you want. It's just a systemd unit after all.
<srhb> dsal: You're not.
<srhb> There's no auto-switch functionality in that image.
<dsal> Is there a reason not to do that? It seems like it'd be pretty helpful.
<srhb> I've never desired it, because I prefer to roll my own specific image rather than relying on switcheroo magics at startup.
<srhb> But other than that: Probably just no one was interested enough to do it.
<dsal> I guess I don't understand why it'd accept a configuration as user data if it weren't going to apply it.
<dsal> I'd think the hard part would be in getting the config there in the first place. So close to ideal. But I'm up too late to be doing any more with this anyway. My cows got out tonight and tomorrow I'm oncall. woo
<energizer> i cant tell if that's an colloquialism or if you literally have cows that got out
<srhb> dsal: I think most people push config to their remote machines rather than building on them, at least if they're not just using one pet server in the cloud...
<srhb> dsal: SLeep tight :)
kreetx has joined #nixos
<dsal> energizer: heh, they actually got out. too much excitement today.
kreetx has quit [Client Quit]
* dsal waves
* energizer waves at the cows
orivej has joined #nixos
bukkitgerman8608 has joined #nixos
maddo has joined #nixos
<srhb> Alright, figured out the gpg/yubikey issue: https://github.com/NixOS/nixpkgs/issues/85127
<{^_^}> #85127 (by srhb, 16 minutes ago, open): gpg fails to use yubikey
drakonis_ has joined #nixos
hsngrmpf[m] has joined #nixos
linarcx has quit [Ping timeout: 256 seconds]
drakonis has quit [Quit: WeeChat 2.8]
linarcx has joined #nixos
zeenk has joined #nixos
hasanzia has quit [Quit: Textual IRC Client: www.textualapp.com]
snicket has joined #nixos
geekthattweaks has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
nschoe has joined #nixos
nschoe has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 merged pull request #85122 → go packages: remove darwin security → https://git.io/Jvjw2
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/Jvj62
KindOne has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #85126 → python27Packages.azure-mgmt-monitor: 0.8.0 -> 0.9.0 → https://git.io/Jvjo1
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.azure-mgmt-monitor: 0.8.0 -> 0.9.0 »: https://git.io/Jvj66
rardiol has quit [Ping timeout: 256 seconds]
<dmj`> does anybody know an easy way to set the rev on a clang derivation
<dmj`> r360622 is all I want
mallox has joined #nixos
ardumont has quit [Ping timeout: 265 seconds]
nikola_i has joined #nixos
pjt_0141 has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #85018 → pythonPackages.ofxtools: unbreak → https://git.io/JvhQM
<{^_^}> [nixpkgs] @jonringer pushed commit from @jonafato to master « pythonPackages.ofxtools: unbreak »: https://git.io/Jvj6H
<{^_^}> [nixpkgs] @Mic92 merged pull request #85108 → clojure-lsp: 20200314T202821 -> 20200412T033138 → https://git.io/Jvjz5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jvj67
pjt_014 has quit [Ping timeout: 256 seconds]
<LnL> not easily I think an llvm release consists of many different packages clang, llvm, compiler-rt, ...
<dmj`> LnL: basically I want this -dump-ast=json patch
<dmj`> not sure how to get it easily
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<LnL> hmm, looks rather self contained
<dmj`> LnL: I'm hoping it made it into clang 10, I'm looking for the release notes but not seeing it in there
<LnL> try clang_9.overrideAttrs (drv: { paths = drv.patches or [] ++ [ ... ]; })
<{^_^}> [nixpkgs] @jonringer merged pull request #84912 → Update imapfilter.nix → https://git.io/JvhkT
<{^_^}> [nixpkgs] @jonringer pushed commit from @NorfairKing to master « imapfilter: add SSLCAFILE make flag »: https://git.io/Jvj6A
<LnL> err clang_9.cc.overrideAttrs
<LnL> and s/paths/patches
* LnL needs a coffee it seems
ardumont has joined #nixos
<dmj`> LnL: I tried clang_10, it doesn't recognize -ast-dump=json :/
<dmj`> LnL: must have come after that release then?
<dmj`> LnL: why patch it on version 9?
zupo has joined #nixos
<LnL> oh, 10 is released already?
<dmj`> I guess
<dmj`> I'll try 9 first
<LnL> go with 10 then, just thought 9 was latest :)
<dmj`> LnL: the patch doesn't apply cleanly to either it seems
<LnL> you might need to strip it one level
<dmj`> LnL: is there a stripping option in patches
<{^_^}> [nixpkgs] @jonringer merged pull request #84651 → supercollider: 3.10.4 -> 3.11.0 → https://git.io/JvANE
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « supercollider: 3.10.4 -> 3.11.0 »: https://git.io/JvjiY
<{^_^}> [nixpkgs] @edolstra merged pull request #85117 → opensubdiv: 3.4.0 -> 3.4.3 → https://git.io/Jvjag
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/JvjiZ
<dmj`> LnL: stripLen = 1 gave the same error
<dmj`> LnL: maybe extraPrefix?
dermetfan has joined #nixos
<LnL> clang-wrapper, that doesn't look right
<LnL> did you use .cc?
evertedsphere has quit [Ping timeout: 240 seconds]
evertedsphere has joined #nixos
<dmj`> yea, tried it on both
m0rphism has joined #nixos
sogatori has joined #nixos
thc202 has joined #nixos
<{^_^}> #85128 (by maddovr, 37 seconds ago, open): Vapoursynth R49 and nasm
<rnhmjoj> maddo: thank you, i assigned myself to the issue
zupo has quit [Ping timeout: 265 seconds]
<dmj`> LnL: maybe this would be better
<maddo> I'll use this chance to learn a bit more about packaging things for nix
<rnhmjoj> uhmm, i wonder if that's the bug the has been causing mvtools interpolation to go really bad recently
<maddo> I'm a \heavy/ vapoursynth user myself, so I could maybe start with related stuff (like wobbly and the like)
<maddo> rnhmjoj mvtools randomly shat itself throughout the R44-R48 cycle
<rnhmjoj> i can't simply run it in real time anymore
<maddo> didn't happen in R43 and doesn't seem to happen in R49
<rnhmjoj> maddo: i hope it fixes this problem for me
<maddo> moreover R48 added AVX2 intrinsics (and nasty bugs for those who didn't have it)
<maddo> so many things got \much/ faster (Expr is also looking to migrate to some kind of JIT)
<rnhmjoj> anyway, the package is there and updating it shouldn't be too hard, even if you never used nix before. that's pretty much how i started
yuuki_ has joined #nixos
zupo has joined #nixos
<dmj`> LnL: I got it
<dmj`> LnL: it is in 10, I wasn't using the right flags
ixxie has joined #nixos
<{^_^}> [nixpkgs] @snicket2100 opened pull request #85129 → advancecomp: version number correctly embedded in binaries → https://git.io/JvjPO
<{^_^}> [nixpkgs] @doronbehar opened pull request #85130 → pistol: 0.0.4 -> 0.0.5 → https://git.io/JvjP3
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/81a6a80436e (from 22 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
codygman has quit [Ping timeout: 264 seconds]
codygman has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #85131 → pypandoc: unstable-2018-06-18 -> 1.5 → https://git.io/JvjP0
shinichi__ has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #85132 → ocamlPackages.ctypes: 0.17.1 → 0.16.0 → https://git.io/JvjPu
shinichi__ has quit [Client Quit]
ghasshee has joined #nixos
<ghasshee> test: from jitsi
ghasshee has quit [Client Quit]
shinichi__ has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @snicket2100 opened pull request #85133 → mosquitto: systemd service sandboxing → https://git.io/JvjP1
inkbottle has quit [Ping timeout: 260 seconds]
asheshambasta has joined #nixos
pjt_0141 has quit [Remote host closed the connection]
<asheshambasta> https://github.com/Gabriel439/haskell-nix/blob/master/project0/README.md -- is this up to date? It seems that all commands involving nix-shell followed by a cabal command fail for me: cabal is not found.
<asheshambasta> (this is arguably not a strictly nixos related question, but I didn't know if it belonged in #haskell or #nixos :-) )
<srhb> asheshambasta: I think the guide has always assumed that cabal-install is on $PATH, eg. because the user has installed it
<srhb> asheshambasta: It's not made explicit anywhere though
<asheshambasta> yeah, I figured, I was wondering if some dependency changed.
<srhb> I don't think so.
rauno has quit [Remote host closed the connection]
<hyper_ch> emilazy: howdy
<asheshambasta> okay, thanks a lot, that clarifies things. I thought I was doing something wrong
chloekek has joined #nixos
bqv has quit [Ping timeout: 260 seconds]
bqv has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #85092 → prometheus: use runCommandNoCCLocal for config gen → https://git.io/JvjlM
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvjPA
<{^_^}> [nixpkgs] @vbgl merged pull request #84459 → coqPackages.dpdgraph: fix build with OCaml ≥ 4.08 → https://git.io/JvNdQ
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.dpdgraph: fix build with OCaml ≥ 4.08 »: https://git.io/JvjPj
pbogdan has joined #nixos
cole-h has quit [Ping timeout: 260 seconds]
timmw has quit [Quit: The Lounge - https://thelounge.chat]
timmw has joined #nixos
<{^_^}> [nixpkgs] @numkem closed pull request #85116 → nomad: 0.10.5 -> 0.11.0 → https://git.io/Jvj2h
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
<hyper_ch> emilazy: I have issues with opensshin initrd - basically no network seems to be opened up
mallox has quit [Client Quit]
jgeerds has joined #nixos
mallox has joined #nixos
<emmanuelrosa[m]> Is there an assertion that can be used within a NixOS module that checks to ensure another module is enabled?
knupfer has joined #nixos
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85134 → python27Packages.diff_cover: 2.6.0 -> 2.6.1 → https://git.io/JvjXC
<{^_^}> [nixpkgs] @Lassulus merged pull request #83739 → pyrit: init at 2019-12-13 → https://git.io/Jv7CX
<{^_^}> [nixpkgs] @Lassulus pushed commit from @danielfullmer to master « pyrit: init at 2019-12-13 »: https://git.io/JvjXl
<{^_^}> [nixpkgs] @vbgl pushed to release-20.03 « coqPackages.dpdgraph: fix build with OCaml ≥ 4.08 »: https://git.io/JvjXR
<sshow> Have anyone here made a nix file for a custom Node.js script/package outside of NPM that I can take a look at? Need some pointers to get started.
jjakob has quit [Quit: No Ping reply in 180 seconds.]
jjakob has joined #nixos
shinichi__ has quit [Remote host closed the connection]
hyper_ch has quit [Read error: Connection reset by peer]
<symphorien> ah no this is not so good an example
<symphorien> the main point is that you can acess any option with config: `assertion = config.services.foo.enable;`
hyper_ch has joined #nixos
<symphorien> but in many cases it is simpler to have the dependent module enable the modules it depends on
<{^_^}> [nixpkgs] @vbgl merged pull request #85132 → ocamlPackages.ctypes: 0.17.1 → 0.16.0 → https://git.io/JvjPu
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ctypes: 0.17.1 → 0.16.0 »: https://git.io/JvjXQ
<emmanuelrosa[m]> <symphorien "emmanuelrosa: maybe adapt this o"> In this case the dependent module is bitcoins, but otherwise yes I'd just enable it in my module.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/87d598e310c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<maddo> A bit of a maybe niche question here: how is gaming on nix? Particularly interested in everyone experience with lutris games, binary downloaded games (i.e gog), steam games etc...
<emmanuelrosa[m]> Ah, perfect symphorien Thanks!
<maddo> since I could see potential issues with nix store not being FHS compliant
nikola_i has quit [Quit: Connection closed for inactivity]
<yuuki_> Complete NixOS beginner here (installed yesterday). Trying to install neovim latest master *and* customize it. I have an overlay in `overlays/neovim.nix` which takes care of installing latest master (works). I call it with `nix-env -iA nixos.neovim`. Now I added another overlay `overlays/neovim-foo.nix` where I'm simply doing `neovim = super.neovim.override { ... }` to add my plugins. Upon re-running the `n
<yuuki_> ix-env` command, I get error getting attributes of path '/home/myname/.config/nixpks/overlays/rust-lang/rust.vim' no such file or directory. It seems like `nix-env` is trying to do something relative to the overlays folder where my overlay is specified. I'm a bit lost at this point where I'm doing something worng
knupfer has quit [Read error: Connection reset by peer]
rhumbs has joined #nixos
knupfer has joined #nixos
jakobrs has joined #nixos
rhumbs has quit [Client Quit]
<jakobrs> Is here a reason why nix-env -u uses so much ram?
<jakobrs> It used up to 90% RAM while it was running,
<jakobrs> s/RAM/memory
<jakobrs> 100% RAM and 50% swap usage
<jakobrs> Totaling 7G
<freeman42x[m]> it seems that CDROMs are not mounted by default under NixOS. what is the proper way to mount one?
<jakobrs> freeman42x[m]: `sudo mount`?
<ar> "mount /dev/sr0 /mnt" should work
<jakobrs> Alternatively, mount it using whatever file manager you use
<freeman42x[m]> I do not have a /mnt folder, is that ok?
<freeman42x[m]> I am using Dolphin
<jakobrs> It is normal to not have a `/mnt` folder
rauno has joined #nixos
<jakobrs> you can just mkdir /mnt
<jakobrs> or mkdir ~/thisismymountpoint or whateever
<freeman42x[m]> so `mount /dev/sr0 /mnt` should work without a /mnt folder?
civodul has joined #nixos
<jakobrs> You must create the mount point first
<ar> mount only works with directories that exist, so you should create it first
<jakobrs> but it can be called anything
knupfer has quit [Ping timeout: 260 seconds]
<jakobrs> Is it normal to get collision warnings about vim conflicting with vim_configurable on nixos-rebuild switch?
<jakobrs> It's weird because I don't manually configure vim in my configuration.nix
<jakobrs> ... thing I figured out why
<{^_^}> [nixpkgs] @xaverdh opened pull request #85136 → cabal-install: wrap to put binutils into scope → https://git.io/Jvj11
ZaraChimera has quit [Remote host closed the connection]
<jakobrs> programs.vim.defaultEditor adds `vim` to systemPackages even though `vimHugeX` is already there
jgeerds has quit [Ping timeout: 256 seconds]
m4ts has quit [Quit: bye]
ZaraChimera has joined #nixos
m4ts has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
domogled has quit [Read error: Connection reset by peer]
ZoomZoomZoom has joined #nixos
evertedsphere has quit [Ping timeout: 258 seconds]
jgeerds has joined #nixos
rnmhdn has joined #nixos
arjen-jonathan has joined #nixos
freeman42x has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl opened pull request #85137 → ocamlPackages.janeStreet: 0.12 → 0.13 → https://git.io/JvjMO
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to master: https://git.io/JvjM3
<{^_^}> [nixpkgs] @sikmir opened pull request #85138 → nnn: 3.0 -> 3.1 → https://git.io/JvjM4
MYMYRSRS has joined #nixos
<MYMYRSRS> If I want to use wg-quick manually, how should the firewall be set up?
felixfoertsch has quit [Ping timeout: 260 seconds]
<MYMYRSRS> hen I manually use wg-quick to manage the wireguard connection, I found that the network.firewall of nixos will cause the wg-quick connection to fail
felixfoertsch has joined #nixos
<betaboon> anyone knows if there is a way to allow the creation of tun devices within containers when using the nixops-container backend ?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85139 → python27Packages.gphoto2: 2.2.1 -> 2.2.2 → https://git.io/JvjMz
<ZoomZoomZoom> Have problems with Syncthing service starting as my main user:group due to memlock. `ulimit -l` shows unlimited, tried setting `security.pam.services.syncthing.limits` specifically but no luck.
<ZoomZoomZoom> Any thoughts?
<freeman42x[m]> any recommended way to write ISO from mounted CDROM on NixOS?
<ZoomZoomZoom> freeman42x[m], Whu not unmount it?
Desetude has joined #nixos
<Desetude> is there a nice way to compose functions in nix like . in haskell?
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvjMw
<{^_^}> [nixpkgs] @Ma27 merged pull request #85123 → pgcli: 2.2.0 -> 3.0.0 → https://git.io/Jvjw9
<freeman42x[m]> would prefer a GUI tool to create the ISO from the CDROM
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to release-20.03: https://git.io/JvjMK
<freeman42x[m]> I tried `dd if=/mnt/cdrom of=/home/user/Downloads/old.iso` and it errors saying that /mnt/cdrom is a directory
bhipple has joined #nixos
<Yaniel> it *is* a directory
<freeman42x[m]> Brasero or K3b might both work
<Yaniel> try /dev/cdrom
<Yaniel> or /dev/sr0
<jakobrs> freeman42x[m]: If you run df /mnt/cdrom
<jakobrs> that will tell you what device to use
<asheshambasta> also, I've stumbled upon an issue that outputs: "<command line>: can't load .so/.DLL for: libz.so (libz.so: cannot open shared object file: No such file or directory)
<asheshambasta> " minimal repro: https://github.com/asheshambasta/avahi-dbus
cr4y1 has joined #nixos
<asheshambasta> I'm running `nix-shell release.nix` and then attempting `cabal repl`
<asheshambasta> am I doing something wrong here or is this a missing dependency? Googling about this doesn't help since I end up on related issues but these seem specific to stack.
bhipple has quit [Ping timeout: 256 seconds]
<jakobrs> I think I've had problems with cabal, nix and zlib before
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @minijackson opened pull request #85140 → 10.5.3 -> 10.5.4, add link to nixos test → https://git.io/JvjMS
<jakobrs> Think there might be a field in the .cabal file you need to change/add zlib to
<jakobrs> extra-libraries: z, right, you've already added it
<asheshambasta> yeah, that doesn't make any difference.
<asheshambasta> it cannot find a shared object file, could it be an issue with a missing entry in path? Or something similar?
<{^_^}> [nixpkgs] @filalex77 opened pull request #85141 → _3mux-unstable: init at 2020-04-13 → https://git.io/JvjM5
<jakobrs> I have no idea, I'm sorry.
plzbo[m] has joined #nixos
<jakobrs> For be cabal repl doesn't work at all, "Could not resolve dependencies"
<jakobrs> s/be/me
pbb has quit [Remote host closed the connection]
ok2` has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #84954 → mnemosyne: Fix Qt related segfault and OpenGL warning → https://git.io/Jvh82
<{^_^}> [nixpkgs] @rnhmjoj pushed 5 commits to master: https://git.io/JvjMA
jakobrs has left #nixos ["WeeChat 2.7.1"]
Acou_Bass has joined #nixos
<asheshambasta> jakobrs: hm, cabal is still a mystery.
ok2` has joined #nixos
pbb has joined #nixos
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
Acou_Bass has joined #nixos
ok2` has quit [Ping timeout: 250 seconds]
Thra11 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1610b4ab218 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
ok2`- has joined #nixos
ok2`- is now known as ok2`
pbb has quit [Quit: No Ping reply in 180 seconds.]
sajgon has joined #nixos
<sajgon> hello all: I would like to have `ar` and `cc` installed at the same time, how to do it? gcc conflicts with binutils
MYMYRSRS has left #nixos [#nixos]
asbachb has joined #nixos
<asbachb> Can someone tell me where `linuxPackages_rpi4` is declared?
<infinisil> > builtins.unsafeGeAttrPos "linuxPackages_rpi4" pkgs
<{^_^}> attribute 'unsafeGeAttrPos' missing, at (string):296:1
rnmhdn has quit [Ping timeout: 265 seconds]
<Thra11> asbachb: Look in pkgs/top-level/all-packages.nix lines 16828 and 16543. Should point you in the right direction
<infinisil> > builtins.unsafeGetAttrPos "linuxPackages_rpi4" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/all-packages.nix"; line = 16903; }
<Thra11> asbachb: My line numbers might be off as not up to date. Just search for it in all-packages.nix.
nikola_i has joined #nixos
pbb has joined #nixos
<Thra11> (Then search for linux_rpi4 in the same file)
<sajgon> error: packages '/nix/store/zygyvrvjivi9fpqs12yff02649b90v2k-gcc-wrapper-9.2.0/bin/ld.gold' and '/nix/store/q354712mnkw3ky8b5crj7ir7dyv29ylj-binutils-2.31.1/bin/ld.gold' have the same priority 10; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)
<sajgon> this is the conflict itself
<asbachb> Seems to be removed from master branch?
<sajgon> but I just want the ar binary
<nikola_i> hi, how do i enforce the new boot parameters in configuration.nix. do I need to rebuild & switch? is there any other option?
<{^_^}> [nixpkgs] @Mic92 merged pull request #85138 → nnn: 3.0 -> 3.1 → https://git.io/JvjM4
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvjDa
knupfer has joined #nixos
<asheshambasta> jakobrs: were you executing cabal repl from nix shell?
<asheshambasta> in that case, it should be able to resolve deps.
<asheshambasta> (at least as per my understanding of how nix works)
<infinisil> asheshambasta: Just execute the thing i showed in a nix repl
<infinisil> nix repl '<nixpkgs>'
<jluttine> how to add files under /etc/ in configuration.nix?
<jluttine> or is it just bad practice? i'd like to define system-wide default settings for rofi, and rofi reads them from /etc/rofi.conf
<{^_^}> [nixpkgs] @sternenseemann opened pull request #85142 → ocamlPackages: add mirage-crypto pkgs, randomconv, update eqaf → https://git.io/JvjD6
<infinisil> jluttine: environment.etc, nah that's fine to do
<Thra11> asbachb: What's on line 16610 of pkgs/top-level/all-packages.nix ?
invra has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @DieGoldeneEnte opened pull request #85143 → llvmPackages: 7.1.0 -> 9.0.1 → https://git.io/JvjDy
<asheshambasta> this seems specific to cabal: https://github.com/NixOS/nixpkgs/issues/56860
<{^_^}> #56860 (by meditans, 1 year ago, closed): Dynamic libraries are not linked in ghci when using `nix-shell --run cabal new-repl`
sajgon has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #84687 → linuxPackages_testing_bcachefs.fwts-efi-runtime: remove failing patch → https://git.io/JvxLa
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvjDH
<nikola_i> do i need to rebuild and switch after setting 'boot.initrd.checkJournalingFS = false'. is there any way to enforce it without rebuilding
jakobrs has joined #nixos
<jluttine> infinisil: thanks!
<jakobrs> Now that 20.03 is a GO, when will it be released?
zupo has joined #nixos
<asheshambasta> jakobrs: not sure I understand, although nix-shell release.nix --run "cabal repl" should ideally resolve dependencies.
<asbachb> Thra11: Interesting. The file is so huge that github isn't showing the entire file and doesn't index the file entirely.
<asheshambasta> the issue seems to be more related to how dynamic libs are linked by cabal/ghci
pbb has quit [Remote host closed the connection]
chagra_ has quit [Ping timeout: 264 seconds]
rnmhdn has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #77500 → microcom: init at 2019.01.0 → https://git.io/JvfLw
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/Jvjyq
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
o1lo01ol_ has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #85113 → influxdb: 1.7.6 -> 1.8.0 → https://git.io/Jvj2z
<{^_^}> [nixpkgs] @zimbatm pushed commit from @marsam to master « influxdb: 1.7.6 -> 1.8.0 (#85113) »: https://git.io/JvjyO
broccoli has joined #nixos
<Thra11> asbachb: Ah ok. I was just looking at a local checkout.
<asbachb> Thra11: I was quit puzzled since I searched nixpkgs project on github without any result.
invra has joined #nixos
invra has quit [Client Quit]
<asbachb> *quite
invra has joined #nixos
invra has quit [Client Quit]
pbb has joined #nixos
<hsngrmpf[m]> I'm wondering how to securely setup Postgresql with remote access in NixOS. The wiki's example for specifying a password is insecure and stores the password in /nix/store. Am i missing something?
<sshow> How can I pass in `stdenv` to a `nix-build` shell call? `nix-build --keep-failed --arg pkgs '<nixpkgs>' --arg stdenv '<stdenv>'`
<jakobrs> I think that should work? depends on your default.nix file
invra has joined #nixos
<sshow> jakobrs: it starts with `{ pkgs, stdenv, ... }:`. Now it fails with " file 'stdenv' was not found in the Nix search path"
<jakobrs> That's because '<stdenv>' is not in your $NIX_PATH. You probably want `--arg stdenv 'with import <nixpkgs>; stdenv'` instead
<jakobrs> Basically, stdenv is not a channel, which is why it doesn't work.
<sshow> okay. so that's the logic. enclosing in <> expects a channel name?
<jakobrs> usually, yes.
<jakobrs> By default, '<nixos-config>' is your configuration.nix, but otherwise it should be a channel.
<{^_^}> [nixpkgs] @rnhmjoj pushed 6 commits to release-20.03: https://git.io/Jvjy0
<jakobrs> with import <nixpkgs>; stdenv
<jakobrs> can be replaced with
<jakobrs> (import <nixpkgs>).stdenv
<jakobrs> if that's clearer.
jgeerds has quit [Remote host closed the connection]
<sshow> jakobrs++ thanks a lot
<{^_^}> jakobrs's karma got increased to 1
<{^_^}> [nixpkgs] @candeira opened pull request #85144 → lorri: add direnv as service dependency → https://git.io/Jvjyu
jgeerds has joined #nixos
zaeph has quit [Ping timeout: 265 seconds]
ChimeraZara has joined #nixos
zaeph has joined #nixos
ZaraChimera has quit [Ping timeout: 240 seconds]
ChimeraZara is now known as ZaraChimera
pbb has quit [Ping timeout: 265 seconds]
Desetude has quit [Quit: WeeChat 2.8]
freeman42x has joined #nixos
fusion809 has joined #nixos
GiGa has joined #nixos
GiGa has joined #nixos
GiGa has quit [Changing host]
inkbottle has joined #nixos
<GiGa> Hello
chagra_ has joined #nixos
<GiGa> has there been a change in the last few months to SMB support in the unstable channel?
morgrimm has joined #nixos
<GiGa> I used to be able to browse to SMB shares in Nautilus / Thunar via smb://IP/Share
<GiGa> but that no longer works.
ZaraChimera has left #nixos ["Closing Window"]
pbogdan has quit [Remote host closed the connection]
pbogdan has joined #nixos
<GiGa> Message from Nautilus is "the specified location is not supported"
johnjay has quit [Ping timeout: 240 seconds]
yuuki_ has quit []
<jluttine> anyone using rofi? i've written files /etc/rofi.conf and /etc/rofi.rasi but rofi doesn't seem to use neither..
<sshow> stigo: ^
<jluttine> i asked on rofi channel, and that's where they search for the system-wide configs..
<jluttine> so i'm thinking if this is a nixos issue
fusion809 has quit [Quit: Leaving]
chloekek has quit [Quit: WeeChat 2.6]
chloekek has joined #nixos
<asbachb> Can I link a local checkout of nixpkgs as a channel? (beside passing `-I nixpkgs` on every build)
jakobrs has quit [Quit: WeeChat 2.8]
zupo has joined #nixos
CMCDragonkai1 has joined #nixos
<CMCDragonkai> Does the NixOS AMIs have passwords?
<CMCDragonkai> After I SSH into them, they ask for a password
<stigo> jluttine: try putting your configuration in ~/.config/rofi/ and see if that helps.
<jluttine> stigo: yep, there it found it
CMCDragonkai_ has joined #nixos
<jluttine> but i would like to write system-wide default configuration
<CMCDragonkai_> Does the NIXOS AMI have a password for `ec2-user`?
<CMCDragonkai_> The ones deployed from: https://nixos.org/download.html
<gchristensen> I doubt it, CMCDragonkai_
<CMCDragonkai_> Oh there's only root user.
<CMCDragonkai_> It doesn't have a `ec2-user`
<CMCDragonkai_> at all
johnjay has joined #nixos
zupo has quit [Client Quit]
<morgrimm> Is there a way to specifically bust the nix-build cache? I'm testing building an expression, but changes to the build phases aren't reflected. Seems to still be flat out running make every time
<morgrimm> Despite overriding `buildPhase` to only make the $out dir
<CMCDragonkai_> The username should really be mentioned on the download page: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/managing-users.html
asbachb has quit [Remote host closed the connection]
<gchristensen> morgrimm: there is no cache to bust, if you're changing the instructions and it isn't taking effect, you're changing the wrong one
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85145 → python27Packages.gspread: 3.3.0 -> 3.3.1 → https://git.io/Jvjyp
<asheshambasta> anyway, I've posted a question to https://www.reddit.com/r/NixOS/comments/g0i4yb/bootstrapping_a_haskell_project/, if anyone can help, that will be nice.
<{^_^}> [nixpkgs] @NeQuissimus pushed 7 commits to master: https://git.io/JvjSI
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.09: https://git.io/JvjSt
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to release-20.03: https://git.io/JvjSY
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #84599 → nodejs: use python3 if possible → https://git.io/JvAoy
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JvjSG
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85146 → python37Packages.gensim: 3.8.1 -> 3.8.2 → https://git.io/JvjSC
jjakob has quit [Quit: No Ping reply in 180 seconds.]
<morgrimm> gchristensen: I can't be changing the wrong one, I'm directly calling the package from the command line - it's very specifically this one package
<gchristensen> is itcausing a rebuild?
<morgrimm> Parts of it are being redownloaded, but I don't know if it's rebuilding entirely
notapache[m] has joined #nixos
jjakob has joined #nixos
<morgrimm> Like I changed the buildPhase instructions to just `mkdir -p $out` to test, and it still runs make like nothing happened
<gchristensen> if it is building again, the cache is busted
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvjS2
<{^_^}> [nixpkgs] @marsam merged pull request #85110 → rsstail: enable on darwin → https://git.io/Jvjzj
<gchristensen> and something else mus tbe going on
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<gchristensen> try adding a `set -x` in your buildPhase?
<{^_^}> [nixpkgs] @marsam merged pull request #85130 → pistol: 0.0.4 -> 0.0.5 → https://git.io/JvjP3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvjSr
<morgrimm> The install phase is running make install, that would do the trick - is that a default?
knupfer1 is now known as knupfer
<gchristensen> yea
<morgrimm> That's the issue then - thanks!
<gchristensen> great!
<gchristensen> btw morgrimm Nix doesn't really have a "cache" exactly. the build instructions are hashed and and then put in the store. if the build instructions are the same, there is no work to do. in this sense, there isn't a problem with cache coherence
invra has quit [Quit: WeeChat 2.3]
opthomasprime has left #nixos [#nixos]
<{^_^}> [nixpkgs] @marsam merged pull request #85134 → python27Packages.diff_cover: 2.6.0 -> 2.6.1 → https://git.io/JvjXC
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvjSi
himmAllRight has joined #nixos
<morgrimm> That's what I assumed, yeah - my mind just went to cache busting when I changed the instructions and the output renamed the same
sigmundv__ has joined #nixos
<morgrimm> I didn't think it made sense, but it's where it went first
<morgrimm> Good to know for next time that that should never be an issue though
CMCDragonkai1 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @teto merged pull request #84615 → vimPlugins.vim-dasht: init at 2019-09-29 → https://git.io/JvAyU
<{^_^}> [nixpkgs] @teto pushed to master « vimPlugins.vim-dasht: init at 2019-09-29 »: https://git.io/JvjSA
knupfer has quit [Remote host closed the connection]
zupo has joined #nixos
jco has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2fd2e031a34 (from 70 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<stigo> jluttine: ah, rofi is trying to load $out/etc/rofi.conf from the nix store (according to strace), before it attempts ~/.config/rofi/, maybe some patches are needed.
teto has joined #nixos
<infinisil> stigo: `rofi --help` shows me in the last line that it uses /home/infinisil/.config/rofi/config as the config file
<jluttine> stigo: yep, i'm working on it
<{^_^}> [nixpkgs] @jtojnar opened pull request #85147 → zziplib: 0.13.69 → 0.13.70 → https://git.io/Jvj98
<jluttine> stigo: i'll add "--sysconfdir=/etc/" to configure flags
sabbot[m] has joined #nixos
<jluttine> infinisil: it shows a similar line to me although i don't have such file under my home directory and it is in fact now using config file under /etc/ (i just patched it so)
dermetfan has quit [Ping timeout: 265 seconds]
gustavderdrache has joined #nixos
<jluttine> stigo: i'll open a pr. i have a few questions, but i'll ask them on that pr
hmpffff has joined #nixos
freeman42x has quit [Remote host closed the connection]
lorimer has quit [Quit: NAE TROOSERS]
freeman42x has joined #nixos
ardumont has quit [Ping timeout: 260 seconds]
ardumont has joined #nixos
<{^_^}> [nixpkgs] @snicket2100 opened pull request #85149 → bookworm: unstable-2018-11-19 -> 1.1.2 → https://git.io/Jvj9A
lorimer has joined #nixos
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @snicket2100 opened pull request #85150 → bookworm: fixing the executable name → https://git.io/JvjHJ
evertedsphere has joined #nixos
szicari has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
<ornxka> nix-build -v -j0 --builders 'ssh://builder i686-linux,x86_64-linux - - - - -' nixos.emacs25-nox gives me error: getting status of '/tmp/nixos.emacs25-nox': No such file or directory
<ornxka> what am i doing wrong
evanjs has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #85151 → [WIP] llvm 9 update → https://git.io/JvjHn
<{^_^}> [nixpkgs] @marsam merged pull request #84636 → tydra: init at 1.0.2 → https://git.io/JvA5E
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvjHC
<clever> ornxka: you forgot the -A, so its trying to open the file nixos.emacs25-nox in the current dir
<{^_^}> [nixpkgs] @LnL7 closed pull request #73937 → [WIP] darwin: update bootstrap-tools to use llvm_9 → https://git.io/JeiZJ
zupo has quit [Ping timeout: 256 seconds]
<ornxka> ahhhhhhhhhh
<ornxka> nix-build -j0 --builders 'ssh://builder i686-linux,x86_64-linux - - - - -' '<nixpkgs>' -A emacs25-nox this is whjat i was supposed to type
<ornxka> the funny '<foo>' thing always trips me up
zupo has joined #nixos
ottidmes has quit [Quit: WeeChat 2.7.1]
ottidmes has joined #nixos
ottidmes has quit [Client Quit]
invra has joined #nixos
invra has quit [Client Quit]
<clever> ornxka: think of it like #include <foo.h> in c/c++
<ornxka> i see i see
<clever> and how that interacts with -I on a compiler
<stigo> jluttine: cool :)
<ornxka> that is actually very informative
<LnL> some things in the nix cli do make sense :p
ottidmes has joined #nixos
<ornxka> i have at least four different nix packages repos (master, release, local packages, stuff in master that i want to modify without mucking up my git history, etc) so i end up having to use the -I options a lot
<ornxka> some dayi ll actually read the manual...
alexherbo2 has quit [Read error: Connection reset by peer]
invra has joined #nixos
<Izorkin> aanderse: https://pastebin.com/zy5cbBX7 nginx sandboxing
<evanjs> ornxka: yeah it’s super helpful for the repl for example. Eg `nix repl ‘<nixpkgs>’ ‘<nixpkgs/nixos>’` vs `:l <nixpkgs>` and `:l <nixpkgs/nixos>` once you start `nix repl`
<ornxka> what kind of stuff does the repl get used for?
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @sorki opened pull request #85153 → spring: 104.0.1-1482-gc4e1654 -> 104.0.1-1485-g1765770 → https://git.io/JvjQm
<teto> ornxka: I use to look at outPath, check certain values to make sure my overlay doesn't mess up things etc
<ornxka> ahhh
<ornxka> "look at outPath" that sounds like an improvement on my current workflow which is to ls -l /nix/store | grep whatever and copy paste the hash into my terminal
<teto> can be cool to test some functions etc
gxt has quit [Ping timeout: 240 seconds]
<aanderse> Izorkin: you could put in a PR like that, but i have no personal motivation to because i would explicitly have to disable most of those additions locally on most of my web severs
philr has quit [Ping timeout: 264 seconds]
<aanderse> Izorkin: i support many ancient web applications that depend on those additions not existing in the systemd unit
<{^_^}> [nixpkgs] @sorki opened pull request #85154 → nixos/tests/installer: test full disk encryption with both luks formats → https://git.io/JvjQn
waleee-cl has joined #nixos
dermetfan has joined #nixos
Grauwolf[m] has joined #nixos
<Izorkin> aanderse: you can give an example configuration that breaks in sandbox mode?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @DieGoldeneEnte opened pull request #85155 → coreclr: get clang from llvmPackages → https://git.io/JvjQz
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8686922e68d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
iyzsong has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @DieGoldeneEnte opened pull request #85156 → boost: check clang version → https://git.io/JvjQr
zupo has joined #nixos
GiGa has quit [Quit: Leaving]
<aanderse> Izorkin: I'm talking about actual web apps using the httpd api
<{^_^}> [nixpkgs] @DieGoldeneEnte closed pull request #85143 → llvmPackages: 7.1.0 -> 9.0.1 → https://git.io/JvjDy
glittershark has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jlesquembre opened pull request #85157 → gomplate: init at 3.6.0 → https://git.io/JvjQh
<nilsirl[m]> How can I have a default.nix inherit from a package that's already in the repos?
<clever> nilsirl[m]: { inherit (pkgs) hello; }
<{^_^}> [nixpkgs] @jlesquembre closed pull request #67615 → gomplate: init at 3.5.0 → https://git.io/fjxTN
<{^_^}> [nixpkgs] @andir merged pull request #84179 → buildRustCrate: Allow version specific dependency renaming + parameter doc → https://git.io/JvFbz
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/Jvj7v
stevenxl has quit [Quit: Connection closed for inactivity]
gxt has joined #nixos
ZoomZoomZoom has quit [Quit: Leaving]
hoijui has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
freeman42x has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
freeman42x has joined #nixos
evanjs has joined #nixos
<nilsirl[m]> clever: where would I put this?
<clever> nilsirl[m]: in your default.nix
<nilsirl[m]> clever: where in default.nix
<nilsirl[m]> do I just put this
<clever> nilsirl[m]: id need to see the default.nix first
<nilsirl[m]> ?
<chloekek> Is there a tutorial about automatically installing NixOS on fresh non-NixOS Linux servers?
<chloekek> s/NixOS/Nix/
<clever> nilsirl[m]: can you put the current default.nix into a pastebin?
<nilsirl[m]> clever: http://ix.io/2hRL
ok2` has quit [Ping timeout: 250 seconds]
<clever> nilsirl[m]: and which package do you want to inherit, and use how?
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #84619 → gitAndTools.gitbatch: init at 2019-12-19 → https://git.io/JvAy9
<ottidmes> chloekek: https://nixos.wiki/wiki/NixOS_friendly_hosters has some info
<{^_^}> [nixpkgs] @teto pushed to master « gitAndTools.gitbatch: init at 2019-12-19 »: https://git.io/Jvj7l
<nilsirl[m]> clever: I ccextractor. I basically want to load its dependencies
<clever> nilsirl[m]: are you trying to build ccextractor or use it?
<nilsirl[m]> clever: build it
<clever> nilsirl[m]: then you just want `nix-shell '<nixpkgs>' -A ccextractor` and dont need a shell.nix or default.nix
<nilsirl[m]> clever: what I used to do is nix-shell '<nixpkgs>' -A ccextractor
<SumnerEvans[m]> <chloekek "Is there a tutorial about automa"> Not necessarily a tutorial, but there is https://github.com/elitak/nixos-infect which may give you some ideas on how to go about that.
<nilsirl[m]> but the thing is that clever I can't use that with direnv
<clever> nilsirl[m]: you can also do: with import <nixpkgs> {}; ccextractor
<gchristensen> just published: https://grahamc.com/blog/erase-your-darlings immutable infrastructure for mutable systems
<ottidmes> gchristensen: awesome! I have been looking forward to it :)
<nilsirl[m]> clever: and if I want to add extra dependencies, how would I do that?
<gchristensen> :)
<clever> nilsirl[m]: you can also do: with import <nixpkgs> {}; ccextractor.overrideAttrs (old: { buildInputs = old.buildInputs ++ [ extra ]; })
<nilsirl[m]> ok thank you
<nilsirl[m]> I'm totally lost with nix
<ottidmes> gchristensen: so far I concur, now that I had to move over my server a few times within a span of a few months my automation has improved a whole bunch
<gchristensen> nice
<hyper_ch> gchristensen: you know lundman?
fenedor has joined #nixos
<ldlework> gchristensen: you are doing the nix challenge for your servers
<ldlework> :D
<gchristensen> ldlework: each and every boot! :)
<ldlework> gchristensen: what about your workstation ;)
<gchristensen> I started with my workstation lol
<ldlework> XD
fendor has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #80619 → ipmicfg: 1.29.0-181029 -> 1.30.0-190710 → https://git.io/JvBQy
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jvj7o
<ottidmes> gchristensen: would be rather wasteful, but imagine being forced to get your stuff back from a backup server on every reboot, that would force you to get your backups in order too (not finished reading, you might actually be doing that for I know)
<gchristensen> oh wo,w
<qyliss> hope you have internet!!
<qyliss> (or a local backup server)
<qyliss> but it is a cool idea
<ottidmes> qyliss: got a local backup server and internet :P
<srk> I've considered something like that with e.g. mega.co.nz, just point tool to right url, enter password, enjoy your data
<srk> but most stuff is git anyways :D
<ottidmes> but would be a waste of disk writes
sogatori has quit [Remote host closed the connection]
ok2` has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
<infinisil> Could use something like IPFS to cache stuff
<infinisil> Although, hopefully a less public version of IPFS
<simpson> infinisil: Being public isn't the problem; being *searchable* or *enumerable* is the problem.
<infinisil> I mean: You only delete stateful paths, excluding /nix/store and /ipfs
<infinisil> Before shutdown you save all stateful data to /ipns/<your-system-hash>
<simpson> Like, when using Somebody Else's Disks, there's no getting around that you've gotta do your own encryption and protect your own unguessable keys.
<clever> simpson: one issue i can see with ipfs, is that i could query the cloud for everybody with a copy of a vulerable ssh version, then i have a list of IP's i can download it form
<infinisil> Can't IPFS be used privately?
<clever> simpson: i wonder if they are also running that ssh version? .....
<simpson> clever: Sure, IPFS is incredibly bad for this.
<clever> infinisil: last i checked, it reports the hash of every single file you have a copy of to the DHT, so others can then find your pubkey, and then ip
<simpson> But more generally, yes, this is a sort of inverted DRM Problem. How does a group conduct business over a network, including referencing certain known-hazardous blobs, when the network authorities can snoop the network and know the signatures of those same blobs?
nschoe has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #85153 → spring: 104.0.1-1482-gc4e1654 -> 104.0.1-1485-g1765770 → https://git.io/JvjQm
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/Jvj5e
<clever> infinisil: it also has a constant pubkey, mapping back to your pubip, so you can be tracked at all times
<infinisil> I guess IPFS isn't of much use with a private network with only like 2 machines :P
<infinisil> But anyways, something *like* IPFs, which uses hashes to identify files and directories
<ottidmes> I havent found a use case of IPFS where I felt comfortable with using it for, but that could be my lack of understanding of IPFS
<infinisil> Well I guess Nix does pretty much that with an optimizing store
<simpson> infinisil: Look at the design of two extrema, BitTorrent and Tahoe-LAFS, first, I think. The main thing that's missing here is a treatment of DRM over the network.
<ottidmes> gchristensen: lol'ed at this "my raspberry pi garage door opener", the thing with NixOS is, once set up everywhere, its so easy to make the same thing work everywhere, so I guess that must have been a case of, why not :P
<gchristensen> :P
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2fd2e031a34 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<virtusviri7321[m> Hey guys I've tried to install nix os on my spare netbook. All went right.
<virtusviri7321[m> But I can't connect to my Wifi
<virtusviri7321[m> But I have enabled network manager on the configuration.nix
devalot has joined #nixos
<ottidmes> My dream system would have like mini chroots for every application, i.e. no global /etc /var/lib paths, but Nix gets close
freeman42x has quit [Ping timeout: 265 seconds]
<NobbZ[m]> virtusviri7321 have you also enabled WiFi? If yes, please remove that line/comment it and rebuild, it's mutually exclusive with network manager and might cause problems
<ottidmes> gchristensen: thanks for the post, definitely going to try on my next installs, considering I already have your exact ZFS setup, that should be easy :)
<gchristensen> cool :D
<hyper_ch> gchristensen: did you publish the post yet?
<gchristensen> yep
<hyper_ch> when? where?
<gchristensen> https://grahamc.com/blog/erase-your-darlings -- about 30 minutes ago
zaeph1 has joined #nixos
<hyper_ch> :)
chloekek has quit [Ping timeout: 256 seconds]
<infinisil> ottidmes: I think qyliss is working on something like that with https://spectrum-os.org/
<ottidmes> Only have to find a better solution of backups, I make them, but I restore them manually (i.e. still have to do that manually after reinstall) and how I back them up differs, I could probably standardize it more and try and make it completely automatic
erasmas has joined #nixos
<ottidmes> spectrum-os.org’s server IP address could not be found.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #85084 → android-studio: Fix the license (unfree) → https://git.io/Jvjna
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jvj5i
<infinisil> Huh, works for me
<ixxie> clever: success! I managed to get the thing working and packaged it into a github action which uses your kexec method to convert debian/ubuntu machines to NixOS: https://github.com/sparkletco/nixosify
<hyper_ch> ottidmes: zfs?
zaeph has quit [Ping timeout: 256 seconds]
<ottidmes> infinisil: Ah, it just refreshed, now it works, weird DNS hiccup
<{^_^}> [nixpkgs] @matthewbauer merged pull request #85017 → android-udev-rules: 20191103 -> 20200410 → https://git.io/JvhQr
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jvj5y
<ixxie> clever: here is the first successful workflow run https://github.com/sparkletco/nixosify/runs/582859094?check_suite_focus=true
<{^_^}> [nixpkgs] @rycee pushed commit from @sikmir to master « gpsbabel-gui: init at 1.6.0 »: https://git.io/Jvj59
<{^_^}> [nixpkgs] @rycee closed pull request #84987 → gpsbabel-gui: init at 1.6.0 → https://git.io/Jvh6n
CptCaptain has joined #nixos
<ottidmes> hyper_ch: yeah I am using ZFS already on all systems except my desktop and OS partitions of my local server (too lazy / afraid to reinstall at the moment), I guess I could just pinpoint the state files of whatever since they will be persisted on ZFS somewhere, I generally backup using the databases export/dump tools, but there really is no need if I send snapshots with ZFS, I think
growpotkin has joined #nixos
<evertedsphere> gchristensen: holy crap
<hyper_ch> ottidmes: :)
<evertedsphere> that is a really cool post
<evertedsphere> you do that with your personal systems too?
<ottidmes> he plans too
<gchristensen> evertedsphere: I have, uh, 1 system which doesn't do that
<bqv[m]> ottidmes: can I see your config
<bqv[m]> gchristensen: or yours
<bqv[m]> Need a zfs config
<gchristensen> my laptop and all but one server does, evertedsphere
<gchristensen> bqv[m]: https://grahamc.com/blog/nixos-on-zfs is how I do it
<hyper_ch> bqv[m]: a zfs config?
<bqv[m]> <ottidmes "I havent found a use case of IPF"> I use it for file sharing. Its free imgur/pastebin
<evertedsphere> i used this with minor tweaks when i started https://gist.github.com/dysinger/a0031aca70f9dc8df989010c88fc9c27
<bqv[m]> <gchristensen "qy: https://grahamc.com/blog/nix"> Ty
<evertedsphere> but i wish i used gchristensen's
<evertedsphere> i should probably set up fine-grained datasets
<hyper_ch> gchristensen: interesting read. Thanks :)
<gchristensen> =)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85159 → python27Packages.python-nomad: 1.1.0 -> 1.2.1 → https://git.io/Jvjd3
<ottidmes> bqv[m]: yep, that seems like a good use case, I like some control on those files though, not sure what the level of control is with IPFS
pie_ is now known as pie_[bnc]
<ottidmes> bqv[m]: this is the module containing my ZFS setup https://gist.github.com/msteen/362dc67ddb66248ad6d13257d42ef835
<bqv[m]> Danke
erictapen has joined #nixos
<ottidmes> gchristensen: setting { boot.kernelParams = [ "elevator=none" ]; } solves that potential problem of having ZFS shared with /boot on a disk?
<gchristensen> I thought so but tilpner was saying it doesn't work right
<ottidmes> well havent run into problems without the param with my ZFS setups so far, but I could be lucky for all I Know
<gchristensen> do you use nvme?
ddima has left #nixos [#nixos]
<ottidmes> on 1 machine, but there I plan to run NixOS in a VM
<srk> ottidmes: it is doable but needs boot.loader.grub.copyKernels iirc
<srk> ottidmes: happened to me with one hydra instance which suddenly stopped booting as there were too many entries in /nix :)
jco has quit [Ping timeout: 260 seconds]
<ottidmes> srk: its enabled by default if / and /boot differ
<srk> that's good!
nikola_i has quit [Quit: Connection closed for inactivity]
yangm has joined #nixos
<yangm> ping
<srk> pong
jgeerds has quit [Ping timeout: 258 seconds]
<srk> I wouldn't rely on grubs zfs support tho, same with luks .. #85154 *wink* *wink*
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85154 (by sorki, 1 hour ago, open): nixos/tests/installer: test full disk encryption with both luks formats
<ottidmes> srk: I am going with what is sure to work for now, the old way, i.e. separate unencrypted /boot, if encryption, LUKS encrypted ZFS, not ZFS's builtin encryption support
<srk> ottidmes: yes, that's safe approach - I haven't had problems with zfs grub support except for that one issue above but it might depend on pool features and co which might change at any time, who knows
<srk> better test! :)
asheshambasta has quit [Ping timeout: 272 seconds]
<srk> like the issue with luks - I've installed a desktop, pimped it with home-manager and everything, was about to reproduce everything on a laptop but it wouldn't boot :D
<srk> (after few months)
<srk> it was easy to diagnose as I could compare the systems but it did bite few other people looks like
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85160 → python37Packages.pikepdf: 1.10.2 -> 1.11.0 → https://git.io/JvjFr
broccoli has quit [Ping timeout: 265 seconds]
broccoli has joined #nixos
sshow[m] has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
nikola_i has joined #nixos
<nikola_i> 5:07 PM <nikola_i> do i need to rebuild and switch after setting 'boot.initrd.checkJournalingFS = false'. is there any way to enforce it without rebuilding
justanotheruser has quit [Ping timeout: 260 seconds]
<ornxka> anyone use vulnix?
<ornxka> or is there something better
<VulNix> huh?
<ornxka> im looking for kind of notification when running buggy software on nixos
<ornxka> lol
<VulNix> wait the distro
<VulNix> Right, lol
<ornxka> the software package for nixos :p
<ornxka> sorry m8
<VulNix> np, lol
chloekek has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #84096 → llvmPackages_latest: llvm9->llvm10 → https://git.io/JvFvc
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/Jvjbz
<{^_^}> [nixpkgs] @sternenseemann opened pull request #85161 → ocamlPackages.irmin*: 2.0.0 -> 2.10, add ppx_irmin, index: 1.0.1 -> 1.2.0 → https://git.io/Jvjb2
erictapen has quit [Ping timeout: 256 seconds]
broccoli has quit [Ping timeout: 250 seconds]
drakonis has quit [Ping timeout: 265 seconds]
<ottidmes> infinisil: I read some about Spectrum OS just now, seems exactly what I meant, looks like my future OS when it matures, nice to see too their use of Nix, so I could still bring things over if the time comes
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ee95a68c5ef (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
aleph- has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Ma27 opened pull request #85162 → nixos/build-vms: propagate file location → https://git.io/Jvjbd
rardiol has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #82461 → Checked maintainers → https://git.io/Jv61Z
<{^_^}> [nixpkgs] @Infinisil pushed 8 commits to master: https://git.io/Jvjbj
johnny101m has quit [Quit: -a- Connection Timed Out]
erictapen has joined #nixos
johnny101m has joined #nixos
justanotheruser has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ottidmes_ has joined #nixos
<{^_^}> [nixpkgs] @rasendubi opened pull request #85163 → cypress: 4.2.0 -> 4.3.0 → https://git.io/JvjNO
ottidmes has quit [Ping timeout: 256 seconds]
chloekek has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to release-20.03 « android-studio: Fix the license (unfree) »: https://git.io/JvjN8
drakonis1 has quit [Ping timeout: 240 seconds]
fenedor is now known as fendor
KindOne has joined #nixos
ottidmes has joined #nixos
ottidmes_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #76723 → Traefik: 1.7.14 -> 2.2.0 → https://git.io/JeAzD
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/JvjN6
<{^_^}> [nixpkgs] @globin pushed 12 commits to structured-attrs: https://git.io/JvjNP
hoijui has quit [Ping timeout: 264 seconds]
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « buildPythonPackage: fix LANG handling »: https://git.io/JvjNh
zaeph1 is now known as zaeph
srl295 has joined #nixos
shibboleth has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #85149 → bookworm: unstable-2018-11-19 -> 1.1.2 → https://git.io/Jvj9A
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvjAm
drakonis_ has joined #nixos
xkapastel has joined #nixos
<Izorkin> Error build manual - intermediate.xml:40: validity error : xml:id : attribute value opt-boot.binfmt.registrations."_name_".fixBinary is not an NCName
drakonis has quit [Ping timeout: 246 seconds]
cjpbirkbeck has joined #nixos
ottidmes has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « lf: 13 -> 14 »: https://git.io/JvjAV
zupo has joined #nixos
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #85164 → ferm: 2.4.1 -> 2.5.1 → https://git.io/JvjxR
<{^_^}> [nixpkgs] @jonringer merged pull request #85145 → python27Packages.gspread: 3.3.0 -> 3.3.1 → https://git.io/Jvjyp
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.gspread: 3.3.0 -> 3.3.1 »: https://git.io/Jvjxz
<{^_^}> [nixpkgs] @jonringer merged pull request #85146 → python37Packages.gensim: 3.8.1 -> 3.8.2 → https://git.io/JvjSC
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.gensim: 3.8.1 -> 3.8.2 »: https://git.io/Jvjxa
<DamienCassou> hi
<{^_^}> [nixpkgs] @jonringer merged pull request #85159 → python27Packages.python-nomad: 1.1.0 -> 1.2.1 → https://git.io/Jvjd3
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.python-nomad: 1.1.0 -> 1.2.1 »: https://git.io/Jvjxo
<DamienCassou> I'm on NixOS. I need to be able to use a docker image. I've installed docker by adding it to `environment.systemPackages`. When I try to execute docker, I get:
<DamienCassou> /nix/store/...-docker-19.03.8/libexec/docker/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
<{^_^}> [nixpkgs] @globin opened pull request #85165 → alertmanager: implement HA clustering support → https://git.io/JvjxK
<maralorn> I meant gchristensen, sorry.
<{^_^}> [nixpkgs] @jonringer merged pull request #84917 → python3Packages.hydra-check: init at 1.1.1 → https://git.io/JvhtF
<{^_^}> [nixpkgs] @jonringer pushed commit from @makefu to master « python3Packages.hydra-check: init at 1.1.1 »: https://git.io/Jvjx1
<{^_^}> [nixpkgs] @jonringer merged pull request #83203 → pythonPackages.py-multihash: init at 0.2.3 → https://git.io/JvyUU
<{^_^}> [nixpkgs] @jonringer pushed commit from Rakesh Gupta to master « pythonPackages.py-multihash: init at 0.2.3 »: https://git.io/Jvjxy
Ilya_G has joined #nixos
<Izorkin> DamienCassou: need enable docker service. Example - https://pastebin.com/cZwv61V9
drakonis has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #85131 → pypandoc: unstable-2018-06-18 -> 1.5 → https://git.io/JvjP0
<{^_^}> [nixpkgs] @jonringer pushed commit from @sternenseemann to master « pythonPackages.pypandoc: 2018-06-18 -> 1.5 »: https://git.io/JvjxF
<Ilya_G> I have a python service that is ran by systemd. I would like to be able to update the service code without having to rerun setup of the systemd configuration. If I understand correctly placing link into /run/system-current/sw/bin/ should accomplish that. I am trying to fund a configuration value that contains that folder. Any hints or suggestions
<Ilya_G> on a different implementation?
<{^_^}> [nixpkgs] @jtojnar pushed 391 commits to staging-next: https://git.io/Jvjxp
<Ilya_G> *find
<{^_^}> [nixpkgs] @jtojnar pushed 392 commits to staging: https://git.io/Jvjpq
<DamienCassou> Izorkin: thank you. I also had to add myself to the "docker" group
<clever> Ilya_G: systemd on nixos actively ignores /run/current-system, you need to define it properly in the definition of the service
ambro718 has joined #nixos
<Ilya_G> clever: My strategy is to add a link in a whatever path so that when I install new version of my service I simply restart systemd service and I am back in business. I jumped on /run/system-current/ because it was not profile dependent
<Ilya_G> clever: I am not sure if this is the optimal path. I am also not sure what you mean by "you need to define it properly in the definition of the service"
<Ilya_G> please clarify
<clever> Ilya_G: if you import the programs default.nix in configuration.nix, then nixos-rebuild will rebuild the service, and restart the systemd service for you, so you dont need anything fancy
<virtusviri7321[m> > virtusviri7321 have you also enabled WiFi? If yes, please remove that line/comment it and rebuild, it's mutually exclusive with network manager and might cause problems
<virtusviri7321[m> I have enabled it on configuration.nix during the installation. Was it a fault?
<{^_^}> error: syntax error, unexpected ID, expecting ')', at (string):296:47
<maralorn> Ilya_g: If you want to be able to update your program without rebuilding the system you could do e.g. "nix-build -o /var/<your-path>/my-app" in your app and set ExecStart=/var/<your-path>/my-app in your systemd-config.
<maralorn> Ilyia_G: But of course then you always have to update your app manually because a systemupgrade wont do it for you.
<clever> Ilya_G: you could also make your own custom profile, nix-env --profile /nix/var/nix/profiles/per-user/clever/myapp -f foo.nix --set -A attribute.path
<clever> and then you have the ability to do rollbacks, nix-env --profile /nix/var/nix/profiles/per-user/clever/myapp --rollback
<clever> then mix with the 2nd half of maralorn's idea
<{^_^}> [nixpkgs] @jonringer opened pull request #85166 → kodelife: fix non-x86 hashes → https://git.io/JvjpS
cr4y1 has quit [Read error: Connection reset by peer]
WinchellsM has joined #nixos
ddellacosta has joined #nixos
<WinchellsM> So in one of my dumbest moves of all time, I accidentally deleted /nix in NixOS (thinking I was on an SSH machine, but forgot to SSH!)
<maralorn> Ilya_g: Using /run/systemd-current would not really accomplish anything (I think) because to change the app in /run/current-system you need to nixos-rebuild anyway and then you can just include the new built app correctly in the systemd unit directly with ExecStart=${my-app}/bin/my-app where my-app is somehow the derivation of your package.
<WinchellsM> I still have /etc/nixos/configuration.nix but it's not letting me rebuild
<clever> WinchellsM: how is it not letting you?
szicari has quit [Ping timeout: 246 seconds]
<WinchellsM> Lots of "file 'nixpkgs/nixos' not found in Nix search path
<WinchellsM> I also deleted all of my .nix-profile, etc in home folder
<clever> WinchellsM: you need to run `nix-channel --update` to recover your copy of nixpkgs
<WinchellsM> Ok
szicari has joined #nixos
<WinchellsM> error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': No such file or directory
<WinchellsM> Now getting that^
<clever> WinchellsM: and nix-daemon must be running
<maralorn> WinchellsM: If nothing else helps rerunning nixos-install from an installer image can definitely fix your system. So don‘t panic
<WinchellsM> :O Ok haha
<WinchellsM> How do I run nix-daemon?
<clever> WinchellsM: `nix-daemon`
hoijui has joined #nixos
<clever> WinchellsM: you can always just mount the FS's under /mnt (from the installer iso) and run nixos-install, if all else fails
morgrimm has quit [Ping timeout: 256 seconds]
aleph- has joined #nixos
<WinchellsM> Ok I think it's rebuilding everything :]
<WinchellsM> Is there anything special I should do to recover `~/.nix-profile.d`, etc?
<clever> WinchellsM: it will be remade automatically next time you install something with nix-env
<WinchellsM> When I try to isntall something with nix-env I get
<{^_^}> [nixpkgs] @jonringer merged pull request #85139 → python27Packages.gphoto2: 2.2.1 -> 2.2.2 → https://git.io/JvjMz
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.gphoto2: 2.2.1 -> 2.2.2 »: https://git.io/Jvjhq
<WinchellsM> error: getting information about '/home/george/.nix-defexpr': No such file or directory
<clever> WinchellsM: that gets remade automatically next time you open a terminal
<ornxka> grrr nix-build -v -I nixos-config=config.nix --no-out-link -j0 --builders 'ssh://builder i686-linux,x86_64-linux - - - - -' '<nixos>' -A system complains with error: expression does not evaluate to a derivation (or a set or list of those
<clever> ornxka: <nixpkgs/nixos>
<WinchellsM> clever: Still getting that after even after opening a new terminal
<WinchellsM> clever: Though `nixos-rebuild switch` hasn't finished yet.
<ornxka> ahhh bless you
<clever> WinchellsM: you may need to logout and back in, but i wouldnt do that into the switch finishes
<WinchellsM> Ok
<WinchellsM> Thanks for your help!
<{^_^}> [nixpkgs] @jonringer merged pull request #85160 → python37Packages.pikepdf: 1.10.2 -> 1.11.0 → https://git.io/JvjFr
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.pikepdf: 1.10.2 -> 1.11.0 »: https://git.io/Jvjhn
morgrimm has joined #nixos
<WinchellsM> I'm getting error: while setting up the build environment: getting attributes of path '/etc/hosts': No such file or directory
<WinchellsM> on `nixos-rebuild switch`
<clever> WinchellsM: rm /etc/hosts ; touch /etc/hosts
<WinchellsM> Getting error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
<clever> WinchellsM: did `nix-channel --update` as root complete?
<WinchellsM> Yes
<clever> WinchellsM: what does `nix-instantiate --find-file nixpkgs` say?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<WinchellsM> Same error^ 'file 'nixpkgs' was not found in the Nix search path
<clever> WinchellsM: echo $NIX_PATH ?
<WinchellsM> /home/george/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
morgrimm has quit [Ping timeout: 258 seconds]
<clever> WinchellsM: what is the contents of /root/.nix-channel ?
<clever> WinchellsM: what is the contents of /root/.nix-channels ?
<clever> oops
<WinchellsM> that folder doesn't exist
zupo has joined #nixos
<clever> WinchellsM: ah, thats why --update didnt help
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #85167 → compiler-rt-10: Sync flags with previous versions → https://git.io/Jvjha
<clever> WinchellsM: nix-channel --add https://nixos.org/channels/nixos-unstable nixos ; nix-channel --update
<WinchellsM> Can I use 19.03 instead?
<clever> WinchellsM: sure
<WinchellsM> Though I already have that listed
<WinchellsM> in nix-channel --list
<WinchellsM> Should I just remove it and readd it?
<WinchellsM> readd it*
<WinchellsM> re-add*
<clever> WinchellsM: add overwrites
<WinchellsM> Ok
<clever> WinchellsM: and you want to be editing roots channels
<WinchellsM> I did this as root^
<WinchellsM> hmm still getting same error
<clever> WinchellsM: does /nix/var/nix/profiles/per-user/root/channels/nixos exist?
<WinchellsM> yes
<clever> WinchellsM: what is within it?
<WinchellsM> COPYING default.nix doc lib maintainers nixos nixpkgs pkgs programs.sqlite README.md svn-revision
<clever> WinchellsM: try `nixos-rebuild switch -I nixpkgs=https://github.com/nixos/nixpkgs-channels/archive/nixos-19.03.tar.gz
asheshambasta has joined #nixos
<WinchellsM> Ok now getting error: file 'nixos-config' was not found in the Nix search path
<clever> WinchellsM: try `nixos-rebuild switch -I nixpkgs=https://github.com/nixos/nixpkgs-channels/archive/nixos-19.03.tar.gz -I nixos-config=/etc/nixos/configuration.nix
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to staging: https://git.io/JvjhM
<{^_^}> [nixpkgs] @jtojnar merged pull request #84485 → bash-completion: 2.9 -> 2.10 → https://git.io/JvNjO
<WinchellsM> clever: Ok I think that's working
<WinchellsM> I do see some
<WinchellsM> warning: Nix search path entry '/home/george/.nix-defexpr/channels' does not exist, ignoring
<WinchellsM> building the system configuration...
<clever> safe to ignore that warning
<WinchellsM> But I assume that will go away after the first rebuild
<WinchellsM> clever: Ok cool
<clever> it will go away after you relog
Darkmatter66_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85168 → python37Packages.PyChromecast: 4.2.0 -> 4.2.3 → https://git.io/Jvjh9
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cb8b71c6455 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<WinchellsM> clever: Now getting
<WinchellsM> error: while setting up the build environment: getting attributes of path '/etc/nsswitch.conf': No such file or directory
<{^_^}> [nixpkgs] @prusnak opened pull request #85169 → inkscape: 0.92.4 -> 1.0 (rc1_2020-04-09_09960d6f05) → https://git.io/Jvjh7
<WinchellsM> Should I remove it and touch it?
<clever> WinchellsM: rm /etc/nsswitch.conf ; touch /etc/nsswitch.conf
<clever> yep
<clever> for most things in /etc, its a symlink to the store, and will recover after you switch
Darkmatter66 has quit [Ping timeout: 256 seconds]
<WinchellsM> Ok
<aleph-> gchristensen: Nice article on lobste.rs
<gchristensen> thanks!
<aleph-> Definitely considering that approach for when my NAS gets here
alexgaus[m] has joined #nixos
nschoe has quit [Ping timeout: 256 seconds]
<nikola_i> do i need to rebuild and switch after setting 'boot.initrd.checkJournalingFS = false'. is there any way to enforce it without rebuilding
<clever> nikola_i: you need to either `nixos-rebuild boot` or `nixos-rebuild switch` for that to take effect
<{^_^}> [nixpkgs] @jonringer merged pull request #85166 → kodelife: fix non-x86 hashes → https://git.io/JvjpS
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvjjY
<nikola_i> clever: will 'nixos-rebuild boot' only change the boot config without altering other config?
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #85168 → python37Packages.PyChromecast: 4.2.0 -> 4.2.3 → https://git.io/Jvjh9
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.PyChromecast: 4.2.0 -> 4.2.3 »: https://git.io/JvjjZ
<clever> nikola_i: it will rebuild everything, but only update the bootloader config, so the changes wont take effect until you reboot
<philipp[m]> Is there something special blocking the release of 20.03? Is there help needed?
zeenk has quit [Quit: Konversation terminated!]
<nikola_i> when is 20.03 scheduled for release?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<philipp[m]> In the third month of the 20th year after 2000? I thougth normally, the last day of the month was the target.
<{^_^}> [nixpkgs] @flokli opened pull request #85170 → nixos/networking: fix setting MAC Address and MTU in networkd, fix tests → https://git.io/Jvjjl
<dsal> 20.03 is the best nixos version I've ever run.
zupo has joined #nixos
<srhb> nikola_i: philipp[m]: Usually 3/2 parts through March.
<philipp[m]> (Didn't mean to sound sarcastic or hostile there in case it came over that way)
jgeerds has joined #nixos
<srhb> I didn't interpret it hostile at least. :) But no, I don't think we've ever(?) shipped 03 of the last day of March.
<srk> you can check issues marked as blocker
<nikola_i> srhb: i know its past due date. i meant is there a new approximate release week
<evertedsphere> the idris package seems broken because of the Setup.hs being incompatible with cabal 3.0 (which removes the hooks that the setup.hs uses)
<srhb> nikola_i: I don't think it's past due date.
<srhb> nikola_i: I was trying to say: The release is usually around nowish into april. Not at the end of march.
<clever> evertedsphere: what is it doing with the hooks and what could fail if they arent ran?
<evertedsphere> i don't understand, to be honest, but apparently upstream has fixed the problem
<{^_^}> idris-lang/Idris-dev#4807 (by felixonmars, 11 weeks ago, closed): Build failed with GHC 8.8
<clever> evertedsphere: has it made it into a new hackage release?
<evertedsphere> the latest hackage release still has the hooks in its setup.hs https://hackage.haskell.org/package/idris-1.3.2/src/Setup.hs
<evertedsphere> so no
<clever> evertedsphere: youll need to use callCabal2nix and fetchFromGitHub then to override it
<evertedsphere> it's just that i "expected" the package to be marked broken
<evertedsphere> but is that a manual process?
<clever> evertedsphere: yeah, its manual
<evertedsphere> ah
<evertedsphere> well i've cloned it and am just calling cabal2nix from a local default.nix since i need to patch it a little anyway
evertedsphere has quit [Quit: leaving]
evertedsphere has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #72700 → vulkan-headers: 1.1.114.0 -> 1.1.126 → https://git.io/Jegb6
<evertedsphere> some of the tests on idris master fail on my machine too but oh well
<evertedsphere> dontCheck time *taps head*
<{^_^}> [nixpkgs] @jonringer closed pull request #74521 → owncloud-client: 2.5.4.11654 -> 2.6.0.13018 → https://git.io/Je1ep
<srhb> Tests are more like guidelines anyway
<{^_^}> [nixpkgs] @bcdarwin opened pull request #85171 → python3Packages.mayavi: update from Python 2 to Python 3 (and switch from wxPython to pyqt5) → https://git.io/JvjjN
<{^_^}> [nixpkgs] @jonringer closed pull request #76195 → acpica-tools: 20191018 -> 20191213 → https://git.io/JvjjA
<{^_^}> [nixpkgs] @jonringer closed pull request #76211 → backintime-common: 1.1.24 -> 1.2.1 → https://git.io/Jvjjp
<{^_^}> [nixpkgs] @jonringer closed pull request #76217 → AgdaStdlib: 1.1 -> 1.2 → https://git.io/Jvjjh
<{^_^}> [nixpkgs] @jonringer closed pull request #76222 → cups-filters: 1.25.12 -> 1.26.0 → https://git.io/Jvjjj
<{^_^}> [nixpkgs] @jonringer closed pull request #76354 → openvdb: 6.2.1 -> 7.0.0 → https://git.io/JeFXJ
<{^_^}> [nixpkgs] @jonringer closed pull request #76476 → xmrig-proxy: 5.0.1 -> 5.4.0 → https://git.io/JebJl
<{^_^}> [nixpkgs] @jonringer closed pull request #77007 → felix: 5.6.1 -> 6.0.3 → https://git.io/JejnA
<{^_^}> [nixpkgs] @jonringer closed pull request #77894 → pidgin-carbons: 0.1.3 -> 0.2.2 → https://git.io/JvTzH
<{^_^}> [nixpkgs] @jonringer closed pull request #77897 → qtstyleplugin-kvantum-qt4: 0.11.2 -> 0.14.1 → https://git.io/JvTgn
<{^_^}> [nixpkgs] @jonringer closed pull request #75325 → python38Packages.breathe: 4.13.1 -> 4.14.0 → https://git.io/JeSEh
<{^_^}> [nixpkgs] @jonringer closed pull request #75330 → python38Packages.google_resumable_media: 0.4.1 -> 0.5.0 → https://git.io/JeSzW
wgreenhouse has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #78280 → python27Packages.mail-parser: 3.9.3 -> 3.11.0 → https://git.io/JvLry
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #78329 → python27Packages.sentry-sdk: 0.13.5 -> 0.14.0 → https://git.io/JvLdi
<{^_^}> [nixpkgs] @jonringer closed pull request #74565 → python38Packages.django-cors-headers: 3.1.1 -> 3.2.0 → https://git.io/Je1tl
opticnerve has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #81583 → python27Packages.apptools: 4.4.0 -> 4.5.0 → https://git.io/Jv2hu
pamplemousse has joined #nixos
aleph- has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jonringer closed pull request #80946 → python27Packages.feedgenerator: 1.9 -> 1.9.1 → https://git.io/JvEOK
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #85167 → compiler-rt-10: Sync flags with previous versions → https://git.io/Jvjha
<{^_^}> [nixpkgs] @jonringer closed pull request #80683 → python27Packages.flask_login: 0.4.1 -> 0.5.0 → https://git.io/JvRGM
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/Jfeet
cosimone has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #85172 → buildRustCrate: support proc-macro in default prelude → https://git.io/Jfeem
<zeta_0> what command do i need to run to see the sha256 hash of a specific commit in a github repository?
cole-h has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #84470 → ardour: clean up the expression → https://git.io/JvNNh
<{^_^}> [nixpkgs] @jtojnar pushed 5 commits to master: https://git.io/Jfeen
<{^_^}> [nixpkgs] @jonringer merged pull request #85163 → cypress: 4.2.0 -> 4.3.0 → https://git.io/JvjNO
<{^_^}> [nixpkgs] @jonringer pushed commit from @rasendubi to master « cypress: 4.2.0 -> 4.3.0 »: https://git.io/Jfeel
<deni> hodapp: I seem to have read that you have been fighthing with bluez and it's removal of gatttool and hcitool...did you bring the tools back or have you managed to work it out with bluetoothctl?
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<dsal> zeta_0: what do you mean? git doesn't use sha256
<clever> zeta_0: nix-prefetch-git
Izorkin has joined #nixos
<evertedsphere> clever: i don't think callCabal2nix would give me idris with prelude/base, just the plain idris executable + idris-as-haskell-library metadata, right
<clever> evertedsphere: whats the difference?
<evertedsphere> i need the idris prelude/base libraries to be installed too
<evertedsphere> it's the difference between nixpkgs.idris and nixpkgs.haskellPackages.idris
<evertedsphere> i believe the latter doesn't install the idris libraries
<clever> 8529 idris = idrisPackages.with-packages [ idrisPackages.base ] ;
<clever> evertedsphere: pkgs.idris is the result of calling idrisPackages.with-packages
<clever> evertedsphere: so if your override impacts idrisPackages, you can still use pkgs.idris, and nix will rebuild everything it needs to
<clever> 8525 idrisPackages = dontRecurseIntoAttrs (callPackage ../development/idris-modules {
<clever> 8526 idris-no-deps = haskellPackages.idris;
<clever> 8527 });
<clever> evertedsphere: and idrisPackages is based on haskellPackages.idris
<evertedsphere> i see
<yorick> deni: yeah, there's no hope for these tools, I think, best use.. noble or something?
<evertedsphere> so my override should be of haskellPackages.idris not idris
<clever> evertedsphere: so haskellPackages = super.haskellPackages.extend (self: super: { idris = self.callPackage ~/idris/default.nix {}; });
<evertedsphere> err. i'm using plain config.packageOverrides = pkgs: { ... }, i don't have a self/super thing
<clever> evertedsphere: then its pkgs.haskellPackages
<evertedsphere> right, okay.
cosimone has quit [Quit: Terminated!]
<{^_^}> [nixpkgs] @jonringer merged pull request #78947 → highfive: init at 2.2 → https://git.io/Jv3JA
<{^_^}> [nixpkgs] @jonringer pushed commit from @robertodr to master « highfive: init at 2.2 »: https://git.io/Jfeeg
drakonis1 has joined #nixos
o1lo01ol_ has quit [Remote host closed the connection]
<ornxka> hm something weird has changed in nixos boot process since 19.09
<evertedsphere> clever: i had to use pkgs.haskellPackages.override, not extend, otherwise my home-manager xmonad config said haskellPackages.override was missing...?
<ornxka> i enter my password in and its wrong even when i know its right
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evertedsphere> idk but seems to be chugging along fine now
<ornxka> its happened on two machines so far
<Emantor> ornxka: maybe keyboard layout broke?
<clever> evertedsphere: .override can undo other .override's so you may want to use .extend more
<ornxka> maybe, ill might see if i can get into a shell so i can see whats actually going on
<zeta_0> clever: thanks
mallox has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
srid has joined #nixos
mallox has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<zeta_0> another quick question, in what link will i find examples of nix-prefetch-git in the nix documentation? https://nixos.wiki/
<clever> zeta_0: probably in the nixpkgs manual
drakonis2 has joined #nixos
<noonien> hello folks!
broccoli has joined #nixos
<noonien> i want to start contributing to nixpkgs, and while doing so, i want to work and maintain my own nixpkgs fork
drakonis1 has quit [Ping timeout: 260 seconds]
<zeta_0> cool, i found 3 matches in the nixpkgs manual
jasom has joined #nixos
<noonien> preferably to use it on my system. is there a way to keep up updated? to track stable?
<noonien> i want to contribute to nixpkgs, but keep my system stable
alexgaus[m] has left #nixos ["User left"]
<virtusviri7321[m> Hey folks, just for understanding for the WiFi network - enabling it on configuration.nix should guarantee internet connection?
<{^_^}> [nixpkgs] @sorki opened pull request #85173 → spring: 104.0.1-1485-g1765770 -> 104.0.1-1486-gf266c81 → https://git.io/JfeeX
<teto> noonien: you can have a local checkout, point NIX_PATH=nixpkgs=/home/noonien/nixpkgs and rebase it on nixos-unstable
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @domenkozar merged pull request #85173 → spring: 104.0.1-1485-g1765770 -> 104.0.1-1486-gf266c81 → https://git.io/JfeeX
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JfeeD
<noonien> i was wondering if there's people that have a more streamlined workflow
<srk> noonien: if you are careful it's possible to run unstable or even master as main driver while working on it simultaneously
<noonien> i prefer my system to be stable without me being careful. it's the main reason i love nixos
<deni> yorick: trying to package a nodejs thing or a python thing (which was my other option) seems to be more difficult than just using the tools that are provided
<srk> noonien: I'm using two nixpkgs repos, one to build a system for and for git work
<srk> *one
<deni> yorick: specifically I was unable to package bluepy
<noonien> srk: i see, do you cherrypick commits?
<yorick> deni: well, I mean, gettig it to work in the first place is hard enough
<srk> noonien: not really, running from master when stuff that I need builds
<MichaelRaskin> noonien: you can also have stuff from master built and used on top of the system installed from stable
<deni> yorick: I'm just frustrated that if I was on a more mainstream distro I'd be done with this already...nixos makes stuff really hard sometimes
<MichaelRaskin> deni: you might have some luck with FHS envs…
<noonien> MichaelRaskin: with cherrypicking? or just overlaying?
<srk> noonien: it is surprisingly stable (desktop x86 setup, xmonad, bunch of dev environments..). linux_latest as well
aleph- has joined #nixos
erictapen has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @globin pushed commit from @lheckemann to release-20.03 « freeradius: make debug logging optional »: https://git.io/Jfeex
<MichaelRaskin> noonien: no, just build from another checkout
<deni> MichaelRaskin: I did try that out....last time was for running deconz...and it wasn't particularly succesfull.
ashesham` has joined #nixos
<MichaelRaskin> Yeah, not always easy to guess what you need in that env
ardumont has quit [Ping timeout: 246 seconds]
<deni> the bluetooth situation is a tire fire... I mean it's been a long time since I've seen soo much misinformation and outdated and misinformed info on the web about a linux topic.... it's even worse than the linux audio subsystem
<yorick> deni: does arch still have gatttool?
cosimone has joined #nixos
<yorick> iirc it's deprecated/gone upstream
<deni> yorick: I have no idea...but debian does
<deni> and I'm running the same version of bluez
<yorick> yeah, debian would be a few years behind
ardumont has joined #nixos
asheshambasta has quit [Ping timeout: 265 seconds]
<nikola_i> fsck is failing during boot on luks encrypted home partition with no network access. how do i deal with this. what are my options here?
<noonien> hmm, is there documentation as to what the different branches in nixpkgs mean? how do the branches in nixpkgs-channels track nixpkgs?
<deni> yorick: that's not true for unstable which I'm running....it's just that debian developers repackage stuff and don't drop things that will break a billion shell scripts :D
mallox has quit [Ping timeout: 258 seconds]
<hodapp> deni: bluez... let me think back and figure out what I even did to solve this
mallox has joined #nixos
<deni> yorick: I'm running bluez 5.50 both on nixos and on debian...but the debian version still has the legacy tooling present.
<deni> hodapp: thanks!
<hodapp> deni: honestly I think I just ended up using a Raspberry Pi
<hodapp> a lot of this was 2+ years ago
ddellacosta has quit [Ping timeout: 250 seconds]
<deni> hodapp: yeah I've been searching the IRC logs for stuff that's been discussed in the channel before... so I don't ask stuff that was solved before...that's how i stumbled upon your mention of this.
<deni> hodapp: am I understanding correctly that the legacy tooling was available on the rpi so that's why you ended up using it?
<hodapp> deni: believe so. let me boot my work laptop and see if I left any hints...
<yorick> hodapp: personally I scrapped the entire BLE project
<yorick> software support will get worse, somehow
<hodapp> yorick: I didn't have the choice of this but I ended up having to switch tools/libraries
<hodapp> all Python libs I tried were buggy and had many limitations. ended up using C directly, and some Go libraries
cosimone has quit [Quit: Quit.]
ashesham` has quit [Ping timeout: 246 seconds]
szicari has quit [Ping timeout: 246 seconds]
szicari has joined #nixos
<hodapp> deni: it seems likely that I just downloaded BlueZ source (looks like I had 5.47) and built things like gatttool manually
<deni> hodapp: I was afraid you were gonna say that! :D
<hodapp> not sure how I did that but it looks like it took some finagling because the build kind of hid it
jakobrs has joined #nixos
<jakobrs> If I just want to quickly write a prototype of something in Haskell
<jakobrs> how do I do that?
<deni> yorick: hodapp the thing is... bluetoothctl does seem to have support for the stuff that gatttool was used for....it's just a very much worse interface.
<jakobrs> I presumably want to avoid having to write too much boilerplate before getting started
<deni> yorick: hodapp one thing I'm unclear about BLE devices.... when I try to connect to my BLE sensor via bluetoothctl...it connects...but after 2-3 secconds it just disconnects. Is that normal? I mean are BLE devices designed to not maintain a stable connection and clients are to just connect->fetchinfo>disconnect all the time?
<hodapp> deni: can't speak to bluetoothctl, but most BLE devices are able to maintain connections like this just fine
<srk> noonien: not sure where to point you but nixpkgs-channels track nixpkgs when hydra builds and tests are passing
<noonien> i see
<srk> policy might differ per channel
<hodapp> and IIRC it is usually the central, not the peripheral, that decides when to both connect and disconnect
<srk> but unstable is deceptive since it *is* tested :)
<noonien> unstable != untested
<srk> yeah, deceptive :)
<deni> hodapp: hmmm.... then it would seem that there is something wrong with my setup. Do you know if there are any sysctl settings (like timeout) that I can tweak to get a more stable connection if this is infact not normal?
<hodapp> deni: I am only familiar with things like 'hcitool' that can tell you the connection handle and give some information on that
<srk> noonien: sorry, I'm not into stable :)
cosimone has joined #nixos
<deni> hodapp: got it. thanks for your help. this space is super confusing. I have no idea how to navigate any of it.
<noonien> i think i'll have master checked out, onto which i create branches to be merged in the main repo. and then nixos-* which track nixos-channels onto which i cherry pick my changes
<srk> sound good
<srk> master is also handy for running tests
<noonien> hmm, i wonder if i can have 2 trees for one repo
<srk> there are git worktrees now
<srk> think it's exactly what you want
<noonien> oh, that's awesome!
cosimone has quit [Client Quit]
<hodapp> deni: yeah, it's a mess with BlueZ. what are you trying to do?
<srk> noonien: what local repo for system build allows me to do is to hack as root to fix some service or nasty bug quickly and then pull commit to my work repo and finish it there
<{^_^}> [nixpkgs] @Mic92 merged pull request #85155 → coreclr: get clang from llvmPackages → https://git.io/JvjQz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfev1
<deni> hodapp: I'm trying to communicate with a Xiaomi Mijia temperature/humidity sensor via bluetooth from a nixos machine
<srk> noonien: or even git bisecy my systems trouble :)
<srk> *bisect
<noonien> srk: i currently have overlays for that, i managed to avoid having to get into git for this
<{^_^}> [nixpkgs] @Mic92 merged pull request #85156 → boost: check clang version → https://git.io/JvjQr
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfevy
<deni> hodapp: basically I just wanted to write a script to write out the values into a text file from where I would ship them somewhere else by other means. Then I hit a wall
<noonien> i quite like nix-channels --update
<srk> noonien: I find this aspect of NixOS totally awesome
<noonien> but i guess i'll just have to create some scripts
<noonien> oh yes, no doubt, it's awesome being able to do this
<deni> hodapp: the python libs are horrible...and I don't really want to go through the pain of packaging anything python related so I was hoping to just use the available CLI tooling. Keeping it simple. Or so I thought
zupo has joined #nixos
<srk> (it's not for everyone ik but you've asked about workflows :))
<{^_^}> [nixpkgs] @bhougland18 opened pull request #85174 → windowchef: init at 0.5.0 → https://git.io/JfevQ
gxt has quit [Ping timeout: 240 seconds]
sigmundv__ has quit [Remote host closed the connection]
<hodapp> deni: about the only library that worked well for me was bluepy
<deni> hodapp: it's not available on nixos. https://github.com/NixOS/nixpkgs/issues/81330#issuecomment-606040369 I tried packaging it but it has some C code vendored in
<deni> and I didn't know what to do with it
<hodapp> hmmmm
<hodapp> I am not sure how I avoided running into that issue
sigmundv_ has joined #nixos
chloekek has joined #nixos
<noonien> this is also a great opportunity to be able to review changes that occur to any packages that i have a particular interest int
dingenskirchen has quit [Remote host closed the connection]
<nikola_i> how do i deal with failed dependency on luks encrypted /home
<nikola_i> fsck is failing on /home with no network access
pamplemousse has quit [Ping timeout: 250 seconds]
jasom has quit [Quit: WeeChat 2.5]
freeman42x has joined #nixos
jasom has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
gxt has joined #nixos
morgrimm has quit [Ping timeout: 265 seconds]
opticnerve has quit [Quit: Leaving]
<energizer> on 4k, some gui elements are too small. is there a recommended setting for scaling these up?
<pie_[bnc]> virtual machine + bluetooth usb forwarding <deni> hodapp: the python libs are horrible...and I don't really want to go through the pain of packaging anything python related so I was hoping to just use the available CLI tooling. Keeping it simple. Or so I thought
<pie_[bnc]> or at least thats what i would try...idk
<deni> pie_[bnc]: this seems incredibly complicated for such a simple task. :(
<{^_^}> [nixpkgs] @bbigras opened pull request #85175 → zenith: 0.8.1 -> 0.8.2 → https://git.io/JfeJ4
<pie_[bnc]> we have different metrics for complicated :(
<pie_[bnc]> not that im an authority on doing stuff easily
<pie_[bnc]> wait
<pie_[bnc]> did you try just using virtualenv?
<pie_[bnc]> well the whole problem is the dealing with native libs mess
<hodapp> pie_[bnc]: I found it much simpler to just use Go and go-ble/ble or currantlabs/ble. The problem with USB forwarding here is twofold: it's frequently not a USB device, and even if it is, you have to find a way to keep the device from being claimed so you actually *can* pass through the USB device
morgrimm has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8686922e68d (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
bvdw has quit [Quit: bvdw]
<pie_[bnc]> hodapp: aha. all i parsed out of the about is something something python somethin something bluetooth
pamplemousse has joined #nixos
ilikeheaps has quit [Ping timeout: 265 seconds]
ilikeheaps has joined #nixos
<jasom> energizer: if you are using gnome or kde, they both have a "scaling" option in the settings
<{^_^}> [nixpkgs] @timokau opened pull request #85176 → python.pkgs.zimports: init at 0.2.0 → https://git.io/JfeJ6
<energizer> jasom: there's no just-X option?
dingenskirchen has joined #nixos
<jasom> energizer: there is not, since images, vector graphics and fonts all scale differently
codygman has quit [Ping timeout: 260 seconds]
<jasom> IIRC KDE and gnome both communicate the setting in the same way a-la a freedesktop standard, but I might be wrong
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ee95a68c5ef (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
cosimone has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ef7f4788c7e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<energizer> jasom: communicate the setting to apps, you mean?
codygman has joined #nixos
<jasom> energizer: yes
<jasom> e.g. I use kde, but claws-mail seems to respect my scaling settings
<energizer> jasom: so perhaps there's some freedesktop standard envvars i can set?
dingenskirchen has quit [Client Quit]
dingenskirchen has joined #nixos
hoijui has quit [Quit: Leaving]
<deni> hodapp: I was looking at go-ble. It's sooo much easier to work with.
<jasom> energizer: maybe? I don't know how much is done in the compositor and how much is not in the compositor
<jasom> energizer: right xft.dpi, which is mentioned there will work for fonts, but not for e.g. icons
<hodapp> deni: my only gripe is that it has no way of specifying which BLE device
<hodapp> which is why I did https://github.com/Hodapp87/ble
<deni> pie_[bnc]: TBH I'm not sure how virtualenv would even work on nixos ... but I haven't tried it. I do have a philosophical opinion that I do not want to install dev tooling just to use something written a particular language. Even though I was a Pythonista
<{^_^}> [nixpkgs] @ehmry pushed to master « deltachat: 1.1.0 -> 1.2.0 »: https://git.io/JfeJy
<pie_[bnc]> deni: virtualenv works as always. just that due to the lack of classic fhs, things might not be able to find various other things
MightyJoe has joined #nixos
<deni> pie_[bnc]: that's my definiton of does *not* work :D
<pie_[bnc]> oh i misunderstood
<deni> hodapp: what do you mean no way of specifying BLE device? that seems like kind of the core of the thing you would want it to do right?
cyraxjoe has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @globin opened pull request #85177 → sslscan: enabling scanning for sslv3 → https://git.io/JfeJN
<hodapp> deni: err, I mean, which HCI device if you have several on your system
<hodapp> not which BLE *peripheral*
<{^_^}> [nix] @andir opened pull request #3492 → SourceExprCommand: allocate the vSourceExpr via uncollectable memory → https://git.io/JfeJp
<deni> hodapp: ah ok...that makes much more sense
<deni> hodapp: it's hardcoded hci0 I believe
7YSAAISIH has joined #nixos
<energizer> jasom: i'll try xft.dpi
<energizer> jasom: thanks
<hodapp> it is. I had to frantically write a patch when we discovered that the onboard BLE device on certain Intel NUCs is flaky and due to it not being a USB device there was no good way (in conjuction with Balena/Docker) to blacklist it from ever being loaded, so even a separate USB dongle didn't help if we couldn't use it
<hodapp> as this happened on the floor of a trade show...
knupfer has quit [Quit: knupfer]
<deni> hodapp: ah I suppose it's a good time to bring up that I'm using a Intel NUC device .... the issues just keep piling up :D
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<hodapp> deni: my particular issue is that the device would just fall over and stop receiving packets with no warning
knupfer has joined #nixos
knupfer has quit [Client Quit]
<hodapp> sometimes resetting the device would clear it, sometimes it required a reboot
knupfer has joined #nixos
<DamienCassou> is there a place where I can write the wifi credentials I need and nixos takes care of installing them?
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<bbarker> Was just looking at the emacs section, and the melpa packages (when I try to call the example shown at https://nixos.org/nixos/manual/index.html#module-services-emacs as a shell.nix dependency) show e.g. "error: undefined variable 'undo-tree'" - my assumption is that they should be defined in epkgs.melpPackages, so I'm confused about why this might be happening. Actually the error also occurs with `nix-build emacs.nix`, just as in the
<bbarker> manual
<deni> hodapp: I found this: https://github.com/u1f35c/gomijia and I'm going to see if I can modify it to do what I need.
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JfeUG
knupfer has joined #nixos
<{^_^}> [nixpkgs] @peti opened pull request #85178 → Update Haskell package set to LTS 15.8 (plus other fixes) → https://git.io/JfeUn
civodul has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed 361 commits to haskell-updates: https://git.io/JfeU8
henry_ has joined #nixos
<deni> hodapp: does this suggest that they added the feature to select a device: https://github.com/go-ble/ble/blob/master/examples/basic/scanner/main.go#L16 ?
<noonien> if i have a nixpkgs checkout, how can i get which file defines a package in a script?
Asmadeus has quit [Ping timeout: 252 seconds]
Asmadeus has joined #nixos
<clever> noonien: nix edit -f ~/nixpkgs hello
<globin> noonien: hacky EDITOR=echo nix edit -f . hello
<clever> > pkgs.hello.meta.position
<{^_^}> "/var/lib/nixbot/nixpkgs/master/repo/pkgs/applications/misc/hello/default.nix:15"
<clever> you can also eval that in `nix repl ~/nixpkgs`
henry__ has joined #nixos
<noonien> nice! thank you!
<globin> noonien: mind that it's unreliable when name is redefined in wrappers/language infrastructure etc
<hodapp> deni: can you find a way to instantiate the Device you need when https://github.com/go-ble/ble/blob/master/linux/hci/hci.go#L41 hard-codes to -1?
<noonien> it's ok, that's good enough
<deni> hodapp: I haven't looked at it in more detail yet... I'll let you know
henry_ has quit [Ping timeout: 256 seconds]
Nixola has quit [Ping timeout: 256 seconds]
Nixola has joined #nixos
Nixola is now known as Guest79640
rnmhdn has quit [Ping timeout: 264 seconds]
<bbarker> Is there a way to configure which emacs packages are loaded in a particular invocation of nix-shell? Normally this would require editing ~/.emacs, which is a bit more global than desired here.
drakonis has quit [Read error: Connection reset by peer]
<pinkieval> uh, ${foo} in comments are evaluated?
is_null has joined #nixos
<cole-h> What kind of comments are you talking about?
<bbarker> pinkieval, yes, unfortunately - i don't recall the logic but yes. I run into this in shellHook
<pinkieval> in .nix
<cole-h> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
xkapastel has quit [Quit: Connection closed for inactivity]
jakobrs has quit [Quit: WeeChat 2.8]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
civodul has joined #nixos
luc65r has joined #nixos
<energizer> gchristensen: neat blog post today. one question i had looking at your config, where is your wifi password?
is_null has quit [Remote host closed the connection]
is_null has joined #nixos
<energizer> gchristensen: you don't commit it?
<gchristensen> no
<energizer> oh
<gchristensen> since it is a laptop, I just use nmtui
<gchristensen> I wouldn't want to make that part of my config, since it'd make it too annoying to be at a coffee shop. .. not that I do that anymore
<pinkieval> how do I express a dependency that is required only at runtime (but not at build time)?
<gchristensen> pinkieval: run time dependencies are strictly a subset of build-time dependencies. (ie: you must specify it at build time)
<pinkieval> hmm ok
<energizer> gchristensen: also, when you do `import "${root}/secrets.nix";` does secrets.nix have your actual unhashed secrets in it? do they end up in the nix store?
<nikola_i> how do i deal with failed dependency on luks encrypted /home
<gchristensen> energizer: they don't really have secret-secrets, I just don't want to commit changes about where I am / when I travel / etc.
<clever> energizer: i think you want `import (root + "/secrets.nix")` to stop it from copying the file into the store
<clever> energizer: but what you pass the values to, may still write them to the store
<gchristensen> but yes they get in to the store
<energizer> gchristensen: i wish there were a word for opsec information that's not keys/passwords...
<nikola_i> fsck is failing on /home with no network access. i am unable to rebuild with fsck disabled
<colemickens> nikola_i: can you give more details? are you doing a new setup? did you modify an existing install and you're in a bad spot now?
<colemickens> Hm. I'm kinda confused. Is /home a CIFS/NFS mount or why do you mention network access?
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ef7f4788c7e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<nikola_i> colemickens: I had a perfectly working 19.03 setup. the only modification i did since last boot was resintall youtube-dl. when i rebooted after a few days, it boots with fsck failing on luks encrypted home. i was trying to disable fsck on boot through configuration.nix. but lack of network access is preventing me from rebuilding
<energizer> clever: is there gonna be a solution to that soon with https://github.com/NixOS/rfcs/pull/59 ?
<{^_^}> rfcs#59 (by d-goldin, 21 weeks ago, open): [RFC-0059]: Systemd Service Secrets
<clever> energizer: ive not read that yet, but the general solution is to give the service the path to a secret, rather then the secret itself
<nikola_i> colemickens: let me know any further information you need
<clever> energizer: which also conflicts with having a secrets.nix, because you have no way to write it out from nix
cyraxjoe has joined #nixos
ratsclub has joined #nixos
<colemickens> nikola_i: okay, I understand I think. That's a bit strange. I guess that your LUKS was getting decrypted and then fsck was running when mounting and failing I guess?
<nikola_i> that is correct
<colemickens> nikola_i: maybe others have suggestions but I would probably grab a nixos install media, boot it, cryptsetups luksOpen, and then fsck/mount manually.
MightyJoe has quit [Ping timeout: 240 seconds]
<colemickens> with the assumption that if you fix the fsck error manually, that when you boot your nixos system again it completes successfully and you can be unblocked.
ratsclub has quit [Client Quit]
<noonien> hmm, how could one get the hash of a package, given a nixpkgs path, from a script?
<energizer> is lib considered part of nix, nixos, or nixpkgs?
<gchristensen> nixpkgs
<noonien> ah, cool, `nix-instantiate -I . -A pkgs.hello`
<noonien> is there a way to get only the hash?
<energizer> ok
<clever> noonien: the `-I .` doesnt really do anything
j0hax has joined #nixos
<noonien> hmm, the help page says the import paths i've given are propritized
<nikola_i> colemickens: your approach hints me that probably something is wrong with fsck on my setup which can be corrected through install media. but what if i reboot again? will fsck succeed in that instance.
<clever> noonien: `-I .` means to search for `<foo>` at `./foo`
<clever> noonien: but if your never doing `<foo>` or `<nixpkgs>` then the NIX_PATH and -I get toally ignored
<noonien> ah, i see
<clever> noonien: and you didnt specify a filename, so it loads default.nix from the current dir
j0hax has quit [Client Quit]
<noonien> i see, how can i specify the path to a nixpkgs checkout?
<colemickens> nikola_i: I was assuming that when fsck failed in your boot, that you were unable to make an attempt recovery steps. Thus, my assumption would be that you can run fsck in a more aggressive repair mode than what occurs during the nixos boot.
<clever> noonien: -I nixpkgs=~/nixpkgs
<colemickens> nikola_i: but that also gets into dicey territory, letting fsck correct errors can lead to it doing the wrong thing.
bvdw has joined #nixos
<nikola_i> colemickens: so how do i perform fsck without the install media
<noonien> is it possible to get the hash of a derivation from nix-instantiate?
<energizer> i want to add comments to each line of a multiline string that ends up in a config file, but i don't know the comment syntax of the target file. does nix have a syntax to help with this?
<clever> noonien: which hash? the output path?
<colemickens> I'm not sure, I don't know if nixos has a single user mode escape hatch. If you have another distro installed you could do it from there. Otherwise, eh, not at a lot of good options.
<clever> $ nix-instantiate '<nixpkgs>' -A hello.outPath --eval
<clever> "/nix/store/n214akq42as1ckzj605c3s6y42cxby02-hello-2.10"
<noonien> hmm, yes, i think so, i want to check if a package has changed
<clever> noonien: the .drv path is enough to see if it changed
<clever> noonien: and nix-diff can compare 2 drv's
<nikola_i> colemickens: i am not aware of what is a single user mode escape hatch. could you explain a bit
<evelyn> Unix systems of old used to have single and multi user modes
<evelyn> single user mode takes you directly to a root shell (just about)
dermetfan has quit [Ping timeout: 246 seconds]
<noonien> clever: thank you!
bqv has quit [Ping timeout: 272 seconds]
<energizer> is there a string function like lib.strings.concatStringsSep but which will add the separator to the end also?
<gchristensen> you could map, appending to the end of the string, and then concat with ""
bqv has joined #nixos
drakonis has joined #nixos
<{^_^}> [mobile-nixos] @samueldr opened pull request #128 → oneplus-oneplus3: Minor polishing → https://git.io/Jfekv
drakonis2 has quit [Ping timeout: 256 seconds]
<energizer> aha (lib.strings.concatMapStrings (s: s + "\n"))
<bqv[m]> vika_nezrimaya: presumably that was all about the non nixos-module version of hm and therefore mostly irrelevant to me :p
<bqv[m]> oh hey, i have one of those
luc65r has left #nixos [#nixos]
<bqv[m]> why not just lib.concatStringsSep "\n"
<bqv[m]> (obvious answer is it's missing the final "\n", but presumably you don't want that anyway)
<gchristensen> 20:40 <energizer> is there a string function like lib.strings.concatStringsSep but which will add the separator to the end also?
<gchristensen> :)
<vika_nezrimaya> bqv: yep
drakonis_ has joined #nixos
<vika_nezrimaya> I haven't started porting the underlying toolset to flakes since I don't use it anyway
<energizer> bqv[m]: since \n is what defines a line, i usually do want a \n at the end
<{^_^}> [nixpkgs] @matthewbauer merged pull request #84415 → Cross compilation fixes [april 2020] → https://git.io/JvN6P
<{^_^}> [nixpkgs] @matthewbauer pushed 34 commits to staging: https://git.io/Jfekq
<xa0[m]> then just append "\n" to the final string :p
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
<xa0[m]> i feel like using concatStringsSep is cleaner
<xa0[m]> oh, hi jason
chloekek has left #nixos ["WeeChat 2.6"]
<bqv[m]> what brings you here?
drakonis1 has joined #nixos
bvdw has joined #nixos
drakonis has quit [Ping timeout: 246 seconds]
mallox has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85180 → python37Packages.sphinxcontrib-katex: 0.5.1 -> 0.6.0 → https://git.io/JfekZ
bvdw has quit [Client Quit]
<bqv[m]> ah, ok
bvdw has joined #nixos
evertedsphere has quit [Ping timeout: 240 seconds]
bqv has quit [Ping timeout: 265 seconds]
bqv has joined #nixos
freeman42xx has joined #nixos
<energizer> i want to define some nix functions that i can use in my config. is there a conventional place to put them?
<mdash> energizer: yeah the 'let' block at the top
<energizer> mdash: i want to use them in multiple files
<mdash> energizer: i've just put them in a file i import then
<energizer> mdash: util.nix it is then
<bqv[m]> hey, i will ask for the third time in case anyone knows, is there a nice solution for hotplugged network interfaces?
<energizer> man, can i just say i really appreciate that it's called "configuration.nix" and not cfg, conf, config.
knupfer has quit [Ping timeout: 272 seconds]
<bqv[m]> even enabling systemd-networkd doesn't seem to handle them properly
<bqv> mine's called flake.nix, so i don't even have that :p
<{^_^}> [mobile-nixos] @samueldr merged pull request #126 → asus-z00t: Make wi-fi work with wcnss-wlan → https://git.io/JvpDC
<{^_^}> [mobile-nixos] @samueldr pushed 9 commits to master: https://git.io/JfeIU
<energizer> oh i guess i could make an overlay, not sure what the advantage would be tho
linarcx has quit [Ping timeout: 260 seconds]
<energizer> success! https://bpaste.net/XJ5Q
<Cadey> how do i use clang from llvm 10 in a nixpkgs build?
knupfer has joined #nixos
morgrimm has quit [Ping timeout: 265 seconds]
<bqv> pkgs.llvmPackages_10.clang
<bqv> pkgs.llvmPackages_10.llvm
<bqv> pkgs.llvmPackages_10.stdenv
maddo has quit [Quit: See ya]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #85150 → bookworm: fixing the executable name → https://git.io/JvjHJ
morgrimm has joined #nixos
<energizer> is it possible to get a list of all of the declared options in my nixos install?
<bqv[m]> man configuration.nix
arjen-jonathan has quit [Ping timeout: 265 seconds]
<energizer> i mean programmatically
<{^_^}> [nixpkgs] @globin pushed 2 commits to structured-attrs: https://git.io/JfeI9
<Cadey> error: anonymous function at /home/cadey/code/nixpkgs/pkgs/development/compilers/zig/default.nix:1:1 called with unexpected argument 'llvmPackages',
morgrimm has quit [Ping timeout: 260 seconds]
<Cadey> bqv[m]: i don't seem to be getting that to work, here's my diff: https://clbin.com/O1F4H
<Cadey> (the pkgs argument there is a bit of a bodge, i admit)
<bqv[m]> Cadey: i reccomend you fetch llvmPackages AND use it, rather than just fetch it :p
abathur has quit [Quit: abathur]
<bqv[m]> change stdenv to llvmPackages.stdenv
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<Cadey> same error
<Cadey> er
<Cadey> different error from what i have in here
<Cadey> but cmake is still detecting clang 9.x
morgrimm has joined #nixos
<Cadey> and apparently llvmPackages_10 doesn't exist: error: undefined variable 'llvmPackages_10' at /home/cadey/code/nixpkgs/pkgs/development/compilers/zig/default.nix:3:1
knupfer has joined #nixos
knupfer1 has quit [Client Quit]
<bqv[m]> well there's your problem :p
<bqv[m]> i gather you're on stable
<Cadey> oh, how do i do a nix build in unstable?
Thra11 has quit [Quit: WeeChat 2.7.1]
<b42> Cadey: you may need to find the zig attribute in pkgs/top-level/all-packages.nix and add/change the llvmPackages in the callPackage arguments
<Cadey> er using unstable
<bqv[m]> you'll have to settle for 9, or import unstable
<Cadey> how do i import unstable from the context of nix-build?
<Cadey> or wait
<Cadey> i'm in the nixpkgs tree as it is
janneke has quit [Quit: janneke quits Mes'sing]
<Cadey> how do i make nix-build use the local nixpkgs instead of the system channel?
janneke has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @andir merged pull request #85172 → buildRustCrate: support proc-macro in default prelude → https://git.io/Jfeem
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JfeLt
morgrimm has quit [Ping timeout: 265 seconds]
knupfer has quit [Client Quit]
knupfer has joined #nixos
bbarker is now known as bbarker_away
<Cadey> ah i had to override things in the toplevel declaration like b42 said
Ilya_G has quit [Remote host closed the connection]
aij has quit [Ping timeout: 265 seconds]
aij has joined #nixos
<{^_^}> [nixpkgs] @flokli closed pull request #85144 → lorri: add direnv as service dependency → https://git.io/Jvjyu
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84437 → modemmanager: 1.12.6 -> 1.12.8 → https://git.io/JvN1Q
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/JfeLc
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84981 → electron: fix wrapGAppsHook usage → https://git.io/Jvhrh
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JfeLB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JfeLE
nschoe has joined #nixos
<b42> Cadey: afaik nix-build doesn't use the system channel unless you give it something like <nixpkgs> as an argument - with no arguments it builds default.nix in current directory
knupfer has quit [Ping timeout: 260 seconds]
<Cadey> can i specify patches inline to the default.nix file?
<simpson> I could have sworn so, but it's not in the manual. You could manually invoke patch with a heredoc literal in prePatch or postPatch.
<{^_^}> [nixpkgs] @filalex77 opened pull request #85181 → ulauncher: 5.6.1 -> 5.7.3 → https://git.io/JfeLK
<energizer> is it good to commit hardware-configuration.nix?
<bqv> most people do :p
<Cadey> i do
<energizer> usually the rule in programming is don't commit generated files, so why the exception here?
<bqv> because the nix doesn't evaluate without it
<bqv> the repo is logically incomplete without it, because people can't fill in the blanks and get the exact same evaluation you get
<bqv> it would make sense if hardware-configuration.nix was always the same for everyone, but it's not
<{^_^}> [mobile-nixos] @samueldr closed pull request #45 → oneplus3: Enable otg-switch → https://git.io/JfeLF
<{^_^}> [mobile-nixos] @samueldr merged pull request #128 → oneplus-oneplus3: Minor polishing → https://git.io/Jfekv
<{^_^}> [mobile-nixos] @samueldr pushed 4 commits to master: https://git.io/JfeLb
<energizer> it's always the same given the same hardware, but with different hardware the config doesn't make sense anyway
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jfetv
<Cadey> how do i run tests in a nix-build invocation?
<bqv> not necessarily. most of a nix config can be drop-lifted anywhere and still be mostly sane
<Cadey> ah checkPhase
<energizer> bqv: sure, most of a nix config. but the whole point of hardware-configuration.nix is that it contains device uuids and stuff like that
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85181 → ulauncher: 5.6.1 -> 5.7.3 → https://git.io/JfeLK
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jfetm
asbachb has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to worldofpeace-patch-1 « Update .github/ISSUE_TEMPLATE/bug_report.md »: https://git.io/JfetG
<bqv> energizer: say someone wants to debug something you're experiencing, you point them to your config, they can't solve the issue because something relevant is in hardware-configuration.nix that they can't see.
<bqv> my point is there's no real reason to hide it and it's part of the evaluation, so most people just add it
<asbachb> `because it lacks a valid signature`
<{^_^}> [nixpkgs] @worldofpeace pushed to worldofpeace-patch-1 « bug_report.md: ask to notify maintainers »: https://git.io/JfetB
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84967 → bug_report.md: ask to notify maintainers → https://git.io/JvhRD
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfetE
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to worldofpeace-patch-1: https://git.io/Jfetu
CMCDragonkai_ has quit [Quit: Connection closed for inactivity]
<pinkieval> I'm messing around with an experimental compiler, and it's baking the path of its outputs into the binaries; so I need ${out} at build time. Is it possible? Or should I call the compiler in the install phase?
pbogdan has quit [Ping timeout: 258 seconds]
morgrimm has joined #nixos
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
<Cadey> how do i make a nix-build run the check phase?
LysergicDreams has quit [Ping timeout: 256 seconds]
morgrimm has quit [Ping timeout: 264 seconds]
LysergicDreams has joined #nixos
<b42> pinkieval: it should be available at build phase, however it's a shell variable so $out not ${out}
morgrimm has joined #nixos
<simpson> nix-build should run checks by default. Are you sure that the checks are defined and enabled?
<pinkieval> b42: that's also what I thought, but it's being replaced by "ut"
<b42> o_O
ambro718 has quit [Quit: Konversation terminated!]
<gchristensen> is this in a makefile?
<Cadey> simpson: i have a `checkPhase` defined, but it's not being run, how do i enable it?
<pinkieval> gchristensen: oh. yes.
<pinkieval> thanks a lot
<gchristensen> makefiles only support single-letter variablesunless y... cool :)
<Cadey> oh
<Cadey> doCheck
<WinchellsM> clever: Earlier you helped me restore my NixOS system after I deleted /nix on accident. Just wanted to thank you again for helping me out. My system is restored.
<pinkieval> b42: thank you too
kelop[m] has joined #nixos
kelop[m] is now known as kelop[m]1
kelop[m]1 is now known as kelop[m]2
__monty__ has quit [Quit: leaving]
<clever> WinchellsM: nice
<clever> WinchellsM: i'm a bit surprised nix-build even worked, the binary should have been missing
<clever> WinchellsM: did you ctrl+c mid way thru?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iqubic has quit [Remote host closed the connection]
nschoe has quit [Ping timeout: 256 seconds]
morgrimm has quit [Ping timeout: 264 seconds]
<bqv> i love that if you leave cadey a minute or two, s/he just answers their own question
<bqv> (that apparently failed to sync from matrix)
<Cadey> bqv: i mean i tend to ask questions then read documentation and random nix build files in nixpkgs, then test it locally and worst case i can't find it and my question gets answered
<Cadey> more efficent this way :D
<WinchellsM> clever: Yes I ctrl+c'ed a few seconds after
<bqv> i know, it's just now i'm defaulting to just leaving you to your devices and seeing how quickly you answer it yourself :p
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85182 → python27Packages.swagger-ui-bundle: 0.0.5 -> 0.0.6 → https://git.io/JfeqG
<pinkieval> Cadey: IRC as a cache for the documentation
<bqv> lol
rogue_koder has quit [Ping timeout: 260 seconds]
iqubic has joined #nixos
<sshow> I think I want to use node2nix with a remote repository, so that I can deploy it using nixops without having the sources locally. Am I thinking wrong? :S
<sshow> all the docs says I use node2nix on a local package.json, and the .nix files appears besides it. But what about remote sources? I don't understand this yet.
<clever> sshow: you then need to commit that default.nix to the repo, and load it with callPackage and fetchzip
broccoli has quit [Ping timeout: 256 seconds]
rogue_koder has joined #nixos
<Cadey> pinkieval: i mean i have had some of my own questions show up in the IRC logs as cached by google
<Cadey> so there's that
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
erasmas has quit [Quit: leaving]
<pinkieval> L2 cache :p
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/708cb6b307b (from 26 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/84cf00f9803 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
vidbina_ has joined #nixos
<bqv> Cadey: lmao
tpanum has quit [Ping timeout: 256 seconds]
<b42> sshow: perhaps you can use package.json with url of the repo like https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/cluster/spacegun/package.json
tpanum has joined #nixos
<worldofpeace> finally, the 20.03 channel advanced
ij has quit [Quit: ZNC 1.7.2 - https://znc.in]
<{^_^}> [nixpkgs] @Xe opened pull request #85183 → zig: upgrade to 0.6.0 → https://git.io/JfemT
siers has joined #nixos
* gchristensen does a celebratory update
<drakonis1> you mean a little dance?
<cole-h> How do you disable `generated/options-db.xml` and `manual-combined.xml`? Trying to build an ISO to test stuff locally and getting validity errors...
fendor has quit [Read error: Connection reset by peer]
<pinkieval> dumb question: how do I skip the install phase?
<vika_nezrimaya> disabling the manual should help?
<vika_nezrimaya> pinkieval: installPhase = "";
<pinkieval> nope
<pinkieval> it runs make install
<virtusviri7321[m> When will NixOS 20.03 released
<cole-h> And how does one disable the manual? :P
<cole-h> virtusviri7321[m: When it's ready :)
<Cadey> virtusviri7321[m: you can use it today if you want fwiw
<ashkitten> pinkieval: try installPhase = ":";
<Cadey> i had to for my ryzen desktop
<pinkieval> ah, dontInstall = true
<pinkieval> but it's not documented
reallymemorable has quit [Quit: reallymemorable]
<pinkieval> ashkitten: ah, I guess that works too
<virtusviri7321[m> For sure let us celebrate in times of lockdown
philr has joined #nixos
<asbachb> When my build machine is using building groups who should be used to ssh into
<vika_nezrimaya> virtusviri7321[m: why not use unstable though? it's rolling release and it's not as unstable as you might think
<vika_nezrimaya> I'm keeping a production server and a laptop on unstable and it doesn't break
<gchristensen> ,which-channel vika_nezrimaya
<yangm> sup
<virtusviri7321[m> > I'm keeping a production server and a laptop on unstable and it doesn't break
<virtusviri7321[m> Yea true
<{^_^}> undefined variable 'I'm' at (string):296:1
<notgne2> unstable isn't that bad, I have it on 2 desktops, 3 homeservers, and 1 laptop
<gchristensen> "The stable branch also gets timely security patches delivered through channels."
<notgne2> though last time I checked it has issues running amdgpu on older GPUs for some reason
<notgne2> and the glibc change broke some steam stuff or something
<vika_nezrimaya> I think unstable actually fixed some stuff the moment I first switched to it
<notgne2> unstable is more reliable until it isn't
<gchristensen> or you really want somecritical patch and unstable is gummed up for a few days
<{^_^}> [nixos-homepage] @garbas pushed 4 commits to plasma5-rename: https://git.io/Jfem2
<{^_^}> [nixos-homepage] @garbas opened pull request #392 → rename iso-graphical to iso-plasma5 → https://git.io/JfemK
bqv has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-homepage] @garbas closed pull request #297 → rename iso-graphical to iso-plasma5 → https://git.io/fjdJt
<sshow> b42: node2nix is expecting a local file as the package.json path
bqv has joined #nixos
<sshow> clever++ that works too. But I imagine there could be a way to avoid that.
<{^_^}> clever's karma got increased to 391
<clever> sshow: you may need to edit the ./package.json line, to instead do "${foo}/package.json" and then let foo = fetch...
<clever> thats another way
<{^_^}> [nixos-homepage] @garbas pushed to small-indent-fix « indentation fix »: https://git.io/JfemD
<{^_^}> [nixos-homepage] @garbas opened pull request #393 → indentation fix → https://git.io/Jfemy
morgrimm has joined #nixos
kelop[m]2 is now known as kelop[m]4
ixxie has quit [Ping timeout: 250 seconds]
kelop[m]4 is now known as kelop[m]6
kelop[m]6 is now known as kelop[m]8
kelop[m]8 is now known as kelop[m]10
morgrimm has quit [Ping timeout: 256 seconds]
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #85184 → inkscape: 0.92.4 → 0.92.5 → https://git.io/Jfemx
orivej has quit [Ping timeout: 256 seconds]
NullA2394 has joined #nixos
<pie_[bnc]> is there a better way to get an unpakced src drv than to runcommand unpackphase?
orivej has joined #nixos
Null-A has joined #nixos
<clever> pie_[bnc]: fetchzip unpacks for you
<NullA2394> Is there a Discord NixOS Server?
<NullA2394> Link?
<Cadey> NullA2394: it's not official but https://discord.gg/jqsPruD
<NullA2394> Thank you
<Cadey> is there a way to undo a channel update?
<Cadey> like not the rebuild, just the channel update
<clever> Cadey: nix-channel --rollback
pamplemousse has quit [Ping timeout: 256 seconds]
<bqv[m]> why would you want an unofficial discord server when you're already here
jgeerds_ has joined #nixos
<bqv[m]> millenials...
<pie_[bnc]> clever: to be clear i want to use the src from something like clang-unwrapped.src
<pie_[bnc]> i dont think i can pass that to url?
endformationage has joined #nixos
<pie_[bnc]> (src.url or something?)
<Cadey> bqv[m]: the default model of discord lets people get scrollback, which helps for people that don't have a bouncer or matrix or something
<NullA2394> bqv[m] because there's no way for me to attach a angry face emoticon to 'millenials...'
jgeerds has quit [Ping timeout: 256 seconds]
<bqv[m]> i'm in this channel via matrix right now
<{^_^}> [nixos-homepage] @garbas pushed to plasma5-rename « bump the nixos series number »: https://git.io/JfeYq
<Cadey> bqv[m]: who _don't_
<bqv[m]> i can attach any emoji i like to your message
<clever> pie_[bnc]: pkgs.fetchurl should do?
<NullA2394> Ah I didn't realize IRC & Matrix were the same network
<bqv> that's what the [m] means
<MichaelRaskin> They are not the same network, but stuff on Freenode is bridged
<NullA2394> Gotcha, well I can't see any emoticons on my end.
<pie_[bnc]> clever: i mean clang-unwrapped.src is a derivation, not a url, so i cant pass it on to a url field?
<bqv> rather than pollute the tech sphere with more discord, maybe support matrix
<pie_[bnc]> clever: my goal is not to get a url but to get an unpacked clang source
<NullA2394> I tried the matrix chat client and it was too slow to send messages.
henry__ has quit [Quit: henry__]
<NullA2394> 1-3 second delay
<clever> > clang-unwrapped.src.urls
<{^_^}> undefined variable 'clang-unwrapped' at (string):296:1
<clever> > clang-unwrapped.src.builder
<{^_^}> undefined variable 'clang-unwrapped' at (string):296:1
<pie_[bnc]> > llvmPackages_10.clang-unwrapped.src.urls
<pie_[bnc]> oh huh
<clever> pie_[bnc]: what do you want to then do with the src?
<pie_[bnc]> clever: python bindngs
<pie_[bnc]> er
<pie_[bnc]> they contain python bindings
<clever> pie_[bnc]: id just use runCommand and unpackPhase then
<pie_[bnc]> so, its the final product
<pie_[bnc]> 'k :I
<pie_[bnc]> thanks
<infinisil> NullA2394: There isn't a single matrix client. Matrix is just a protocol which can be implemented by anybody's client and server. You probably used Riot though (specifically https://riot.im/app/), which is currently the most used and complete matrix client
<NullA2394> Yes I did
<infinisil> You can of course use discord, though keep in mind that the vast majority of people will be here and not in discord
<pie_[bnc]> clever: not the nicest oneliner lol;
<pie_[bnc]> nix-build -I nixpkgs=channel:nixos-unstable -E "with import <nixpkgs> {}; runCommand ''a'' { inherit (llvmPackages_10.clang-unwrapped) src; } ''unpackPhase; cp -r \$sourceRoot \$out''"
<{^_^}> [nixpkgs] @m1cr0man opened pull request #85185 → acme: share accounts between certificates → https://git.io/JfeY8
<clever> pie_[bnc]: id just run unpackPhase in nix-shell if i wanted it interactively
<{^_^}> [nixpkgs] @worldofpeace opened pull request #85186 → README.md: 20.03 release → https://git.io/JfeYu
<Null-A> I just chatted in Nix / Riot; why don't I see it here.
<Null-A> Vm
shibboleth has quit [Quit: shibboleth]
jasonjckn[m] has joined #nixos
<infinisil> Null-A: You need to connect to this channel via the Freenode bridge
<jasonjckn[m]> Figured it out.
<jasonjckn[m]> The Riot OSX app is actually quite well done.
infinisil-m has joined #nixos
<jasonjckn[m]> * Figured it out. (Edited).
<infinisil-m> o/
srid has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 265 seconds]
<bqv> Null-A: there's two channels
<bqv> one is matrix only
<bqv> one is matrix and irc
<bqv> #nixos:matrix.org
<bqv> is the one you want
<bqv[m]> hey infinisil
<bqv[m]> infinisil: heh, you remind me a little of taneb.
snicket has quit [Ping timeout: 240 seconds]
jasonjckn[m] is now known as Null_A[m]
bhipple has joined #nixos
mbrgm_ has joined #nixos
NullA2394 has quit [Remote host closed the connection]
henry_ has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @globin pushed 3 commits to structured-attrs: https://git.io/JfeYF
broccoli has joined #nixos
Null-A has quit []
ottidmes has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9f0f06ac8be (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixos-homepage] @garbas pushed to plasma5-rename « add release news item, logo and some style changes »: https://git.io/JfeOk
justanotheruser has quit [Ping timeout: 256 seconds]
reallymemorable has joined #nixos
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @zowoq opened pull request #85187 → miniserve: build on darwin → https://git.io/JfeOI
bvdw has joined #nixos
<Null_A[m]> Besides linux-ck any other suggestions for desktop performance enhancement
asbachb has quit [Ping timeout: 240 seconds]
qrnteen has joined #nixos
jasom has quit [Quit: WeeChat 2.5]
nikola_i has quit [Quit: Connection closed for inactivity]
<gchristensen> huh, this latest nixo-20.03 channel has me building ... a lot ...
<qrnteen> is there a nixos guru here? I am trying to comple a .c file in nixos and getting below error: /.nix-profile/bin/ld: cannot find crt1.o: No s
<qrnteen> No such file or directory. what am I doing wrong? thanks!
<Cadey> gchristensen: yeah, i had to build firefox
<infinisil> qrnteen: The fact that your ld is in ~/.nix-profile is a bad sign. You shouldn't install these tools with nix-env
<gchristensen> looks like I'm building alacritty and some fonts too
vidbina_ has quit [Ping timeout: 258 seconds]
<qrnteen> ok thanks infinisil: I take your advice
<infinisil> qrnteen: Uninstall that from there and use `nix-shell -p` to enter a nix-shell with a basic environment to compile C programs
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
<qrnteen> ok that makes perfect sense! cant believe I am forgeting basic things, thank you!
bvdw has joined #nixos
<infinisil> No problem :) Does it work like that?
bvdw has quit [Client Quit]
bvdw has joined #nixos