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
<freeman42xx> kate gives: kate .nix-channels Executing Kate with sudo is not possible due to unfixable security vulnerabilities.
<cole-h> lol
<cole-h> Could try gedit
<worldofpeace> > pkgs.stdenv.hostPlatform.uname.processor
<{^_^}> "x86_64"
<worldofpeace> ^ that should be the right value
<cole-h> Maybe gchristensen or someone with the aarch64 community box could make sure it gets the expected value there too
<MichaelRaskin> I just nix-build these https://github.com/7c6f434c/7c6f434c-configurations/tree/master/lesser-expressions and then some of them are added to the environment variables like profiles would be, some are just referenced via the build result symlink
yuken has joined #nixos
<MichaelRaskin> adyatlov:
nschoe has quit [Quit: Leaving]
<gchristensen> > (import <nixpkgs> { system = "aarch64-linux"; }).stdenv.hostPlatform.uname.processor
<{^_^}> "aarch64"
<gchristensen> > (import <nixpkgs> { system = "armv7l-linux"; }).stdenv.hostPlatform.uname.processor
<{^_^}> "armv7l"
<cole-h> Oh that works too
<cole-h> x)
<gchristensen> > (import <nixpkgs> { system = "mipsel-linux"; }).stdenv.hostPlatform.uname.processor
<adyatlov> MichaelRaskin Thanks, I'll take a look. Rebooting nwo
<{^_^}> "mipsel"
<worldofpeace> cole-h: I have access to the box. but what gchristensen did is the right hack :D
<cole-h> Hehe
adyatlov has quit [Remote host closed the connection]
<MichaelRaskin> adyatlov: but be aware that I have somewhat exotic tastes in workflows.
morgrimm has joined #nixos
<gchristensen> 50shadesofnix.jpg
<{^_^}> [nixpkgs] @worldofpeace opened pull request #84865 → Revert "Revert "iso-image: normalize volumeID"", iso-image: make $ARCH shorter → https://git.io/Jvp6X
<cole-h> "revert revert revert revert revert" when
<{^_^}> [nixpkgs] @peterhoeg opened pull request #84866 → pcsc-cyberjack: libusb -> libusb1 → https://git.io/Jvp6j
<worldofpeace> hahah 🤣
<infinisil> Hehe, eelco and shea at war there
morgrimm has quit [Ping timeout: 256 seconds]
<miscellaneousbus> do i have to do anything to get xrandr to detect my display ports?
<worldofpeace> infinisil: let's hope we don't ever do that in the present
<cole-h> infinisil: :D
<{^_^}> [nixpkgs] @joachifm merged pull request #84838 → tor-browser-bundle-bin: 9.0.7 -> 9.0.9 → https://git.io/JvpBS
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JvpiG
<evanjs> Did linking either SDL2 or rust packages change in nixpkgs lately? My package that uses SDL2 (it's in buildInputs) now fails to compile
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84865 → Revert "Revert "iso-image: normalize volumeID"", iso-image: make $ARCH shorter → https://git.io/Jvp6X
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JvpiB
cr4y1 has quit [Ping timeout: 256 seconds]
<b42> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 103
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvpiX
<{^_^}> [nixpkgs] @veprbl closed pull request #84836 → protobuf: don't build with -g → https://git.io/JvpB0
cantstanya is now known as Oxford
Oxford is now known as frank
frank is now known as cartwright
cartwright is now known as cantstanya
<worldofpeace> b42: thanks. I don't think we can backport this to 19.09 though. You should probably add 20.03 to your PR.
<evanjs> okay, moving SDL2 from nativeBuildInputs -> buildInputs seemed to do it?
<b42> worldofpeace: np, i'll update it tomorrow
<cole-h> evanjs: nativeBuildInputs = build time executables, buildInputs = build time libraries/etc
<cole-h> Is how I reason about it, at least
<{^_^}> [nixpkgs] @veprbl opened pull request #84867 → protobuf: do a release build (without -g) → https://git.io/JvpiD
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
<evanjs> cole-h: any idea why it would've compiled before, though?
<cole-h> ¯\_(ツ)_/¯
<cole-h> Sorry
<{^_^}> [nixpkgs] @tomfitzhenry opened pull request #84868 → :openarena: add community map pack → https://git.io/Jvpi7
<evanjs> Same :D
<evanjs> cole-h: AH!
<evanjs> Probably that! :D
<evanjs> This will improve cross-compiling support by forcing users to specify buildInputs/nativeBuildInputs correctly.
<evanjs> Yeah... definitely that lol
<cole-h> oh lol
<evanjs> makes sense now, then :D thanks for the mnemonic, though, I never know which goes where lol
<cole-h> Yep, that'll do it
<cole-h> It was sphalerite who said that in here a bit ago
<cole-h> I wrote it down because it made so umch sense
<cole-h> s/umch/much
<peelz> how is pkgs.chromiumDev marked as broken? I don't see the `broken = true;` attribute
philr has joined #nixos
rogue_koder_ has quit [Ping timeout: 264 seconds]
adyatlov has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
rogue_koder_ has joined #nixos
<evanjs[m]> Did you check the other chromium expressions
<peelz> currently looking through them
<peelz> My guess is that `meta.broken` gets set in mkChromiumDerivation (chromium/common.nix)
<peelz> but I'm not sure how
jbrock has quit [Client Quit]
jbrock has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<worldofpeace> Jan Tojnar: added new project for the future https://github.com/NixOS/nixpkgs/projects/30
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84863 → [20.03] iso-image: normalize volumeID → https://git.io/Jvpoj
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to release-20.03: https://git.io/JvpPW
<peelz> sigh... compiling electron from sources is not gonna be easy
<peelz> on nix anyway
nek0 has quit [Remote host closed the connection]
KeiraT has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84707 → [20.03] gitAndTools.gh: 0.5.3 -> 0.6.4 → https://git.io/JvxW2
<{^_^}> [nixpkgs] @worldofpeace pushed 10 commits to release-20.03: https://git.io/JvpP0
<{^_^}> [nixpkgs] @veprbl merged pull request #84844 → img2pdf: 0.3.3 -> 0.3.4 → https://git.io/Jvpz2
<{^_^}> [nixpkgs] @veprbl pushed commit from @r-ryantm to master « img2pdf: 0.3.3 -> 0.3.4 »: https://git.io/JvpPE
KeiraT has joined #nixos
nek0 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #82214 → [dontmerge] pantheon.wingpanel: 2.2.6 -> 2.3.0 → https://git.io/JvoAx
<{^_^}> [nixpkgs] @worldofpeace closed pull request #81758 → [dont merge] pantheon.cerbere: 2.5.0 -> 2.5.1 → https://git.io/JvVLD
LysergicDreams has quit [Ping timeout: 265 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
zeta_0 has joined #nixos
<zeta_0> i was wondering if any of you would like to test this default.nix file out in a nix-shell: https://dpaste.org/Tjqg
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84869 → magic-wormhole: 0.11.2 -> 0.12.0 → https://git.io/JvpP1
<zeta_0> i'm not sure if withHoogle is working or not?
gleber_ is now known as gleber
zarel has quit [Ping timeout: 265 seconds]
<evanjs> peelz: looks like it's broken on 19.09
<peelz> evanjs: oh, is it not on unstable/20.03?
gleber is now known as gleber_
<zeta_0> clever: it does not seem to work with: returnShellEnv = false; , so i just commented it out? https://dpaste.org/Tjqg
<evanjs> nix eval -f channel:nixos-19.09 chromiumDev.meta.broken -> true
gleber_ is now known as gleber
zarel has joined #nixos
<peelz> evanjs: yeah I know that much. I'm on 19.09 atm
<evanjs> nix eval nixpkgs.chromiumDev.meta.broken -> error: attribute 'broken' in selection path 'nixpkgs.chromiumDev.meta.broken' not found
<peelz> :o
<evanjs> (im on 20.03 / nixos-unstable)
<evanjs> yeah, found it
<peelz> I just tested it with channel:nixos-unstable... you're right!
h0m1 has quit [Ping timeout: 246 seconds]
<peelz> evanjs: oh no wonder I couldn't find it, I had checked out the 19.09 branch from the wrong (outdated) remote :P
<evanjs> yeah I typically use nix eval to probe channels and then checkout and (rip)grep from there
<peelz> yeah makes sense
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84870 → alephone-marathon: 20150620 -> 20190331 → https://git.io/JvpP5
<{^_^}> [nixpkgs] @cdepillabout merged pull request #84809 → ghc: mention why ld.gold is disabled for musl libc → https://git.io/JvpYC
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JvpPd
rogue_koder_ has quit [Ping timeout: 265 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
thc202 has quit [Ping timeout: 260 seconds]
rogue_koder_ has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<peelz> evanjs: doesn't seem to work on my end: https://termbin.com/w57w
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84871 → mediainfo: 19.09 -> 20.03 → https://git.io/JvpXY
m0rphism has quit [Ping timeout: 256 seconds]
<evanjs> peelz: interesting... Seems to be moving along fine on mine; patchShebang-ing its way through third party scripts atm
<evanjs> ahhh there it is lol
<peelz> :P
<evanjs> yeah, same error, no clue :D
<peelz> I'm trying chromiumDev from 20.03 now
<{^_^}> #84713 (by primeos, 1 day ago, open): [20.03] gn: 20190403 -> 2020-03-09 (backport)
<evanjs> Edit: Please also note that the build of chromiumDev should still fail as staging-20.03 doesn't contain 224a5e5 and 3cfa78f.
markus1199 has joined #nixos
<evanjs> maybe related lol
<peelz> oh... huh
<evanjs> but yeah no clue
<peelz> damn, if only chromium wasn't so massively complex
markus1189 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #84841 → [20.03] performous: fix build → https://git.io/Jvp0b
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @ajs124 to release-20.03 « performous: fix build (#84841) »: https://git.io/JvpXE
Arahael has joined #nixos
dckc has quit [Ping timeout: 246 seconds]
adyatlov has quit [Remote host closed the connection]
freeman42xx has quit [Remote host closed the connection]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
jbrock has joined #nixos
zeta_0 has joined #nixos
freeman42x has joined #nixos
jmcasey has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
kaliumxyz has quit [Ping timeout: 265 seconds]
<zeta_0> when i run: M-x nix-shell in emacs, it prompts me for a `nix attr`, what does that mean? it doesn't have any autocompletion, so i'm not sure what to fill in?
kaliumxyz has joined #nixos
sigmundv__ has joined #nixos
sigmundv_ has quit [Ping timeout: 250 seconds]
<mlatus[m]> Is the `{^_^}` open source?
<gchristensen> yeah
<gchristensen> which part are you interested in?
<mlatus[m]> Well I'd like to port the eval bot part to our telegram team
<mlatus[m]> <gchristensen "yeah"> Do you know where is the repository?
<cole-h> I think
<gchristensen> yep!
<mlatus[m]> <cole-h "https://github.com/Infinisil/nix"> thanks!
sigmundv__ has quit [Ping timeout: 265 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
ottidmes has quit [Ping timeout: 256 seconds]
Izorkin has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
das_j has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
mrpi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
mrpi has joined #nixos
Scriptkiddi has joined #nixos
das_j has joined #nixos
ajs124 has joined #nixos
morgrimm has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a74e7092b07 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
ddellacosta has quit [Ping timeout: 256 seconds]
dckc has joined #nixos
xkapastel has joined #nixos
<{^_^}> [mobile-nixos] @samueldr opened pull request #126 → Make wi-fi work with wcnss-wlan → https://git.io/JvpDC
lsyoyom has quit [Ping timeout: 250 seconds]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 265 seconds]
felixfoertsch23 is now known as felixfoertsch
<{^_^}> [nixpkgs] @mnacamura opened pull request #84873 → cataclysmDDA: add modding interface → https://git.io/JvpyO
lsyoyom has joined #nixos
captjakk has joined #nixos
est31 has quit [Ping timeout: 240 seconds]
est31 has joined #nixos
rogue_koder_ has quit [Ping timeout: 264 seconds]
rogue_koder_ has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
zaeph1 has joined #nixos
spacefrogg has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
mexisme has joined #nixos
zaeph has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #84874 → dune_2: 2.4.0 -> 2.5.0 → https://git.io/JvpSG
vika_nezrimaya has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #84862 → croc: 8.0.5 -> 8.0.7 → https://git.io/Jvpoh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvpS8
<{^_^}> [nixpkgs] @marsam merged pull request #84859 → ncspot: 0.1.2 -> 0.1.3 → https://git.io/JvprS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvpSB
<{^_^}> [nixpkgs] @marsam merged pull request #84861 → skopeo: 1.41.0 -> 0.2.0 → https://git.io/Jvpop
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvpSE
rogue_koder_ has quit [Ping timeout: 260 seconds]
rogue_koder_ has joined #nixos
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84875 → memtest86-efi: 8.2 -> 8.3 → https://git.io/JvpSS
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
jmcasey has joined #nixos
jmcasey has quit [Client Quit]
vk3wtf has quit [Quit: WeeChat 2.7.1]
vk3wtf has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
jmcasey has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
zeta_0 has quit [Remote host closed the connection]
jbrock has quit [Client Quit]
jbrock has joined #nixos
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
EggSpurt has joined #nixos
EggSpurt has quit [Remote host closed the connection]
captjakk has quit [Ping timeout: 250 seconds]
swflint has quit [Ping timeout: 265 seconds]
<emmanuelrosa[m]> Does anyone know of a log monitoring system which can send out alerts (ex. email) when certain log entries are detected (using regex, for example)? My goal is to monitor for critical events in the Systemd journal and send them to myself via a Matrix client.
swflint has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
mexisme has quit [Quit: WeeChat 2.7.1]
<cole-h> emmanuelrosa[m]: Maybe Grafana + Loki? https://grafana.com/oss/loki/
<cole-h> I haven't tried setting up alerts, but there does appear to be an option for it
drakonis has quit [Quit: WeeChat 2.8]
srl295 has joined #nixos
<bdju> did the builds succeed yet?
<cole-h> What builds?
Kakky has joined #nixos
<bdju> the ones to make changes to master move to unstable
<evils> status.nixos.org
<bdju> I've got that trunk-combined page up but it's difficult to interpret. I guess it looks like the # of failed jobs has been going down but isn't at 0 yet
<bdju> oh thanks, hadn't seen this page yet
JJJollyjim has joined #nixos
palo1 has joined #nixos
<JJJollyjim> oh wow status.nixos.org is neat
<JJJollyjim> it's really hard to find this stuff
<JJJollyjim> there's some `/tested` variant of the hydra page that shows the jobs that actually have to get to zero
<JJJollyjim> but i can never find a link to it
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
<JJJollyjim> on hydra itself
<JJJollyjim> oh right tested is one of the 34000 jobs on the jobs tab
<JJJollyjim> sweet
freeman42x has quit [Ping timeout: 265 seconds]
revtintin has joined #nixos
<JJJollyjim> Does anyone know if it's possible to use openresty with the `services.nginx` module?
<JJJollyjim> pkgs.openresty has a very different directory structure to pkgs.nginx
<JJJollyjim> if you simply substitute it, it can't find the config which is in ${pkgs.openresty}/nginx/conf
xkapastel has quit [Quit: Connection closed for inactivity]
<JJJollyjim> it looks like i'm supposed to point it at the nginx subdirectory, but then that has the executable in sbin/nginx rather than bin/nginx, so that fails as well
pjt_014 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84876 → ocamlPackages.ctypes: 0.15.1 -> 0.17.1 → https://git.io/JvpQP
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84877 → pantheon.pantheon-agent-polkit: 1.0.0 -> 1.0.1 → https://git.io/Jvp7k
revtintin has quit [Ping timeout: 256 seconds]
revtintin has joined #nixos
xelxebar has quit [Remote host closed the connection]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
xelxebar has joined #nixos
growpotkin has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #84878 → python3Packages.somajo: 2.0.4 -> 2.0.5 → https://git.io/Jvp7R
revtintin has quit [Ping timeout: 256 seconds]
jmcasey has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
zaeph1 is now known as zaeph
<{^_^}> [nixpkgs] @Mic92 merged pull request #84770 → just: 0.4.5 -> 0.5.10 → https://git.io/JvxAO
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jvp7u
eoli3n__ has joined #nixos
revtintin has joined #nixos
asheshambasta has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84879 → odamex: 0.8.1 -> 0.8.2 → https://git.io/Jvp7M
h0m1 has quit [Quit: WeeChat 2.8]
h0m1 has joined #nixos
mallox has joined #nixos
Kakky has quit [Ping timeout: 260 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jmcasey has joined #nixos
ArchFeh has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
jmcasey has quit [Client Quit]
<{^_^}> [nixpkgs] @pmiddend opened pull request #84880 → fcppt: 3.2.2 -> 3.5.0 → https://git.io/Jvp7d
ArchFeh has quit [Client Quit]
<{^_^}> [nixpkgs] @pmiddend opened pull request #84881 → quake3e: 2020-01-23 -> 2020-04-04 → https://git.io/Jvp7F
mallox has quit [Ping timeout: 256 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @DamienCassou opened pull request #84882 → mono6: 6.0.0.313 -> 6.8.0.105 → https://git.io/Jvp7j
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #84883 → ocamlPackages.fmt: 0.8.5 → 0.8.6 → https://git.io/Jvp5U
cole-h has quit [Ping timeout: 264 seconds]
opticnerve has joined #nixos
johnny101m has quit [Ping timeout: 265 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
zaeph1 has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #84884 → maxscale: make broken package → https://git.io/Jvp58
revtintin has quit [Ping timeout: 265 seconds]
mallox has joined #nixos
zaeph has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @lheckemann opened pull request #84885 → freerdp: 2.0.0-rc4 -> 2.0.0 → https://git.io/Jvp5B
<{^_^}> [nixpkgs] @gebner merged pull request #84852 → lean: 3.7.2 -> 3.8.0 → https://git.io/JvpgX
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/Jvp5R
stranger has joined #nixos
stranger has quit [Client Quit]
<{^_^}> [nixpkgs] @vbgl merged pull request #84874 → dune_2: 2.4.0 -> 2.5.0 → https://git.io/JvpSG
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « dune_2: 2.4.0 -> 2.5.0 »: https://git.io/Jvp52
jakobrs has joined #nixos
endformationage has quit [Ping timeout: 264 seconds]
<jakobrs> When using a nix-shell shebang with a default.nix file,
<jakobrs> Should I use mkShell or stdenv.mkDerivation?
lsix has joined #nixos
arjen-jonathan has joined #nixos
mtjmullen has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #84878 → python3Packages.somajo: 2.0.4 -> 2.0.5 → https://git.io/Jvp7R
<{^_^}> [nixpkgs] @jonringer pushed commit from @danieldk to master « python3Packages.somajo: 2.0.4 -> 2.0.5 »: https://git.io/Jvp56
mtjmullen has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83910 → python3Packages.graspy: init at 0.2 → https://git.io/Jv5Ap
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « python3Packages.graspy: init at 0.2 »: https://git.io/Jvp5i
vk3wtf has quit [Quit: WeeChat 2.7.1]
vk3wtf has joined #nixos
revtintin has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1e925e1545b (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @jonringer merged pull request #84869 → magic-wormhole: 0.11.2 -> 0.12.0 → https://git.io/JvpP1
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « magic-wormhole: 0.11.2 -> 0.12.0 »: https://git.io/Jvp55
zeenk has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/Jvp5b
<{^_^}> [nixpkgs] @vcunat merged pull request #84279 → libjpeg_turbo: 2.0.3 -> 2.0.4 → https://git.io/Jvbdn
<{^_^}> [nixpkgs] @jonringer merged pull request #84871 → mediainfo: 19.09 -> 20.03 → https://git.io/JvpXY
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « mediainfo: 19.09 -> 20.03 »: https://git.io/Jvp5N
revtintin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #84879 → odamex: 0.8.1 -> 0.8.2 → https://git.io/Jvp7M
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « odamex: 0.8.1 -> 0.8.2 »: https://git.io/JvpdI
<sphalerite> jakobrs: if you want the expression to also be buildable, stdenv.mkDerivation
<sphalerite> jakobrs: otherwise I'd say mkShell just because it makes it simpler
<jakobrs> Yeah, it doesn't really make sense to build this project
<jakobrs> so I'll go with mkShell
<{^_^}> [nixpkgs] @jonringer merged pull request #84837 → geekbench: 5.1.0 -> 5.1.1 → https://git.io/JvpBy
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « geekbench: 5.1.0 -> 5.1.1 »: https://git.io/JvpdZ
<{^_^}> [nixpkgs] @jonringer merged pull request #84827 → drawio: 12.9.3 -> 12.9.9 → https://git.io/JvpCs
<{^_^}> [nixpkgs] @jonringer pushed commit from @danieldk to master « drawio: 12.9.3 -> 12.9.9 »: https://git.io/Jvpd8
<{^_^}> [nixpkgs] @jonringer merged pull request #84835 → gerrit: 3.1.2 -> 3.1.4 → https://git.io/Jvp4p
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « gerrit: 3.1.2 -> 3.1.4 »: https://git.io/Jvpdu
civodul has joined #nixos
<jakobrs> Does Nix have an equivalent to concatmap / (>>=)?
<jakobrs> Oh wait, I forgot to import <nixpkgs>
<jakobrs> it's just called lib.concatMap
<{^_^}> [nixpkgs] @jonringer merged pull request #84814 → crispyDoom: 5.7.1 -> 5.7.2 → https://git.io/Jvpsn
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « crispyDoom: 5.7.1 -> 5.7.2 »: https://git.io/Jvpda
revtintin has joined #nixos
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<{^_^}> [nixpkgs] @ehmry merged pull request #84870 → alephone-marathon: 20150620 -> 20190331 → https://git.io/JvpP5
<{^_^}> [nixpkgs] @ehmry pushed commit from @r-ryantm to master « alephone-marathon: 20150620 -> 20190331 »: https://git.io/JvpdK
<{^_^}> [nixpkgs] @cdepillabout merged pull request #84875 → memtest86-efi: 8.2 -> 8.3 → https://git.io/JvpSS
<{^_^}> [nixpkgs] @cdepillabout pushed 3 commits to master: https://git.io/Jvpdi
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84886 → omniorb: 4.2.3 -> 4.2.4 → https://git.io/JvpdP
marsel has joined #nixos
opthomasprime has joined #nixos
revtintin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ehmry pushed to master « alephone: fix maintainer propagation in wrapper »: https://git.io/Jvpd7
dermetfan has joined #nixos
opthomasprime has left #nixos [#nixos]
<ldlework> I wish I could understand how to use FSharp on NixOS
zupo has quit [Ping timeout: 265 seconds]
<ldlework> just wanna write some code
<{^_^}> [nix] @domenkozar merged pull request #2689 → Delete temporary directory on successful build → https://git.io/fhdgt
<{^_^}> [nix] @domenkozar pushed 2 commits to master: https://git.io/JvpFf
zupo has joined #nixos
monadplus has joined #nixos
revtintin has joined #nixos
<pjt_014> ldlework: nix-env -iA nixos.fsharp nixos.dotnetPackages.FSharpCompilerService nixos.dotnetPackages.FSharpCore
<pjt_014> for starters
<pjt_014> prolly wanna do something with nix-shell to use libraries while developing
zaeph1 is now known as zaeph
<ldlework> pjt_014: feel like writing an article on the wiki?
<{^_^}> [nixpkgs] @danieldk opened pull request #84887 → maturin: 0.7.9 -> 0.8.0 → https://git.io/JvpF0
<pjt_014> I don't know if that actually works, I just did `nix search fsharp`
bqv has quit [Ping timeout: 246 seconds]
pie_[bnc] is now known as pie_
pie_ is now known as pie__
<pjt_014> but the language does interest me
pie__ is now known as pi^e
pi^e is now known as pi^e_
pi^e_ is now known as pie_[bnc]
<pjt_014> and looks hella easier than h a s k e l l
<pjt_014> So I might give it a try, learn as I go
<pjt_014> I've had stranger reasons to learn a language
<pjt_014> Once I was trying to multithread in Python (a shitshow), so I got fed up and learned Elixir
bqv has joined #nixos
<pjt_014> And holy crap it might just be the most elegant language ever
<{^_^}> [nixpkgs] @jonringer merged pull request #84799 → brltty: 6.0 -> 6.1 → https://git.io/JvpLo
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « brltty: 6.0 -> 6.1 »: https://git.io/JvpFa
<{^_^}> [nixpkgs] @jonringer merged pull request #82962 → pythonPackages.pynanoleaf: init at 0.0.5 → https://git.io/JvpFM
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvpFD
<ldlework> pjt_014: do it
<ldlework> F# is awesome
<pjt_014> Looks like it--higher functions and pipes need to be in, like *every* language.
ottidmes has joined #nixos
thc202 has joined #nixos
chloekek has joined #nixos
cfricke has joined #nixos
monadplus has quit [Quit: Leaving]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c924ae5079a (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nix] @edolstra pushed to flakes « Remove flake 'edition' field »: https://git.io/Jvpbg
linarcx has joined #nixos
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
johnny101m2 has joined #nixos
turion has joined #nixos
marsh has quit [Ping timeout: 272 seconds]
<gentauro> pjt_014: go for `dotnet` (core)
<gentauro> that already includes F#
marsh has joined #nixos
<pjt_014> good to know
<{^_^}> [nix] @edolstra merged pull request #3481 → 2.3 bugfixes → https://git.io/JvpOf
<{^_^}> [nix] @edolstra pushed 4 commits to 2.3-maintenance: https://git.io/JvpNL
<pjt_014> gentauro: which one exactly? nixos.dotnet-sdk is the closest I see
<gentauro> btw, anybody using `eog`? I don't seem to be able to change these preferences (`Xmonad`) on my NixOS box -> https://askubuntu.com/a/237585
<gentauro> pjt_014: I'm using the latest `LTS` on and ad-hoc manner for my projects (`default.nix`)
maddo has joined #nixos
<gentauro> wait a second
<gentauro> pjt_014: just place this in the root folder of your project https://pastebin.com/aJSE45a1
<gentauro> and type `nix-shell`
<gentauro> ups, copy pasted the wrong version (sry)
<gentauro> pjt_014: this one -> https://pastebin.com/wNYk0m02
xantoz has quit [Ping timeout: 256 seconds]
<pjt_014> thanks
<pjt_014> that's a bit adhoc tho. any reason why this way?
o1lo01ol1o has joined #nixos
<gentauro> pjt_014: not all projects are the latest LTS
<gentauro> and I don't think the `dotnet` binary supports serveral versions
<{^_^}> [nixpkgs] @jonringer merged pull request #84876 → ocamlPackages.ctypes: 0.15.1 -> 0.17.1 → https://git.io/JvpQP
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « ocamlPackages.ctypes: 0.15.1 -> 0.17.1 »: https://git.io/JvpNO
<gentauro> so that's why I do it like this and it works perfectly :)
<{^_^}> [nix] @edolstra pushed 3 commits to 2.3-maintenance: https://git.io/JvpNG
<pjt_014> what's in the default nixpkgs version then? If LTS is 'long term support`, It'd make sense for *that* to be there and bleeding edge stuff to be in unstable
<gentauro> pjt_014: I use this to create projects -> https://pastebin.com/SkdMmzub
<gentauro> you can go for `dotnet`
<gentauro> but then you need to rely on the latest pkg version used by `Nix`
<gentauro> like I say, that will work for `hobby` and so
jbrock has quit [Quit: jbrock]
<gentauro> but not for real prod development
jbrock has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @edolstra pushed commit from @gnprice to 2.3-maintenance « installer: Fix terminal colors. »: https://git.io/JvpN8
<{^_^}> [nixos-search] @garbas pushed to netlify « deploy to netlify »: https://git.io/JvpN4
<{^_^}> [nixos-search] @garbas opened pull request #1 → deploy to netlify → https://git.io/JvpNB
jbrock has quit [Client Quit]
jbrock has joined #nixos
<pjt_014> It might be worth opening an issue for this. An LTS version ought to be in the main channel with a more rapidly released one in unstable
<gentauro> pjt_014: true that. But the sandbox approach seems to be a better approach, at least with regard of `dotnet` core, given that many proejcts I have work with, have no intention to upgrade to latest LTS (yet)
mallox_ has joined #nixos
<gentauro> so I like the flexibility to choose which versions I'll work with, based on my `default.nix` files :)
mallox has quit [Ping timeout: 265 seconds]
revtintin has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #84888 → doctl: 1.35.0 -> 1.40.0 → https://git.io/JvpNz
<pjt_014> Good approach I suppose. Lock in versions deterministically untill an upgrade can be done.
<pjt_014> how easy is upgrading in F#?
<pjt_014> on a scale from python2->3 to go
lopsided98 has quit [Ping timeout: 250 seconds]
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
xantoz has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to netlify « remove Debug »: https://git.io/JvpN6
<jakobrs> If I use a nur repo in a default.nix file, should I manually import nur inside of the default.nix file?
<jakobrs> Or just hope that the user has nur installed
<{^_^}> [nixos-search] @garbas pushed to master « deploy to netlify (#1) »: https://git.io/JvpN7
<{^_^}> [nixos-search] @garbas merged pull request #1 → deploy to netlify → https://git.io/JvpNB
linarcx has quit [Quit: WeeChat 2.8]
igghibu has joined #nixos
<gentauro> pjt_014: should be fairly easy. I think they are `upgrade backwards compatible` but some services like Google or AWS haven't gone to the latest LTS yet
<gentauro> so you can't really upgrade
linarcx has joined #nixos
<gentauro> jakobrs: if you add it to `default.nix`, when you type `nix-shell` it will be imported only for that shell
<pjt_014> jakobrs: how many people that are not you will be using whatever this is?
<gentauro> if you `CTRL-D` you can no longer use that package
<jakobrs> pjt_014: zero
<jakobrs> But how do I add it to default.nix?
revtintin has joined #nixos
nschoe has joined #nixos
linarcx has quit [Client Quit]
<pjt_014> I haven't done that before unfortunately. I imagine you can't go wrong with fetchUrl though.
<jakobrs> Just pass config.packageOverrides to import <nixpkgs> maybe?
igghibu_ has joined #nixos
igghibu_ has quit [Client Quit]
igghibu has quit [Quit: Textual IRC Client: www.textualapp.com]
<pjt_014> Try it I suppose. I'm about to pass out cuz its like 04:00 over here.
<jakobrs> { pkgs ? import <nixpkgs> { config.packageOverrides = pkgs: { nur = import (builtins.fetchTarball https://github.com/nix-community/nur/archive/master.tar.gz) { pkgs = import <nixpkgs> {}; }; }; } }: with pkgs;
<jakobrs> feels a bit too complicated
<ma27[m]> julm: sorry was sleeping, is there still an issue with a PR I merged?
<nschoe> Hi everyone. I am trying to diagnose my fresh nixOS install (LVM on LUKS). It apparently went okay, but I can boot it. So I´m looking everywhere. When I cryptsetup open my LUKS encrypted volume to mount it (Iḿ back in the USB now) it works **but** it complains ẄARNING: Locking directory /run/cryptsetup is missing¨ is that cause for concern ?
linarcx has joined #nixos
<pjt_014> jakobrs: Do you need all those vals? also put a > in front to see if the bot can eval it
<jakobrs> I know it evaluates, I just tried it
<ottidmes> nschoe: pretty sure it is not, I have seen and ignored it without issue
<nschoe> ottidmes, okay thanks for that
<jakobrs> > import <nixpkgs> { config.packageOverrides = pkgs: { nur = import (builtins.fetchTarball https://github.com/nix-community/nur/archive/master.tar.gz) { pkgs = import <nixpkgs> {}; }; }; }
<{^_^}> { AAAAAASomeThingsFailToEvaluate = <CODE>; AMB-plugins = <CODE>; AgdaSheaves = <CODE>; AgdaStdlib = <CODE>; CoinMP = <CODE>; DisnixWebService = <CODE>; EBTKS = <CODE>; EmptyEpsilon = <CODE>; FIL-plugi...
<pjt_014> wat
<pjt_014> bot pls
<jakobrs> > (import <nixpkgs> { config.packageOverrides = pkgs: { nur = import (builtins.fetchTarball https://github.com/nix-community/nur/archive/master.tar.gz) { pkgs = import <nixpkgs> {}; }; }; }).nur.repos
<{^_^}> access to URI 'https://github.com/nix-community/nur/archive/master.tar.gz' is forbidden in restricted mode
<pjt_014> eh, fair
<julm> ma27[m]: nope, thanks for merging it!
<julm> ma27[m]++
<{^_^}> ma27[m]'s karma got increased to 15
<jakobrs> Oh, I don't need packageOverrides, actually, now that I think about it
<jakobrs> Just
<{^_^}> [nix] @ehmry opened pull request #3484 → Passthrough nix.meta from nixpkgs → https://git.io/JvpAL
<pjt_014> ooh can I get a thing of mine merged while we're at it pretty please?
<jakobrs> { pkgs ? import <nixpkgs> {}, nur ? import (fetchTarball ...) { inherit pkgs; } }
<pjt_014> It's been reviewed and all
<jakobrs> How do I prevent import <nixpkgs> {} from reading my config.nix file?
cfricke has quit [Quit: WeeChat 2.8]
<ij> I found a "INSTALL = /usr/bin/install ..." in a Makefile. Converting it to "/usr/bin/env install" didn't help.
<pjt_014> ma27[m]: any chance you could quick give the ol' stamp of approval on this one?: https://github.com/NixOS/nixpkgs/pull/84078
<{^_^}> #84078 (by petersjt014, 1 week ago, open): catcli: init at 0.5.13
<{^_^}> [nixos-planet] @garbas pushed to master « init »: https://git.io/JvpAO
nocent has joined #nixos
jgeerds has joined #nixos
mananamenos has joined #nixos
<mananamenos> hi, suddenly while nixos-rebuild i get *error: camlp4 is not available for OCaml 4.09.1*. With --show-trace option, *error: while evaluating the attribute 'activationScript' of the derivation 'nixos-system-nixos-20.09pre220217.39247f8d04c' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:103:5:*
jbrock has quit [Quit: jbrock]
LarryTheCow has joined #nixos
jbrock has joined #nixos
<jakobrs> ij: /quit
jakobrs has quit [Quit: WeeChat 2.7.1]
<ij> :D
mallox has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<LarryTheCow> Hi. Can someone help me find a guide on nixos sandboxing?
<nschoe> Hi again, still regarding my failed nixOS install. In the hardware-configuration.nix, I have the fileystems things, the swapDevice thing, but at the top, there is one imports <nixpkgs/nixos/module/installer/scan/not-detected.nix> Is that normal? SHould I keep it ? Can I remove it?
<{^_^}> [nixpkgs] @schmittlauch opened pull request #84891 → [backport] cawbird: 1.0.4 -> 1.0.5 → https://git.io/JvpAo
<{^_^}> [nixos-planet] @garbas pushed to netlify « deploy to netlify »: https://git.io/JvpAi
<ij> nschoe, I have it. If everything works, try removing it. :)
<nschoe> ij, ok. Well it doesn wyet, thatś my issue :D
<nschoe> But okay it seems it´s okay ot have it
<ij> LarryTheCow, I don't know anything about it, but there's a wiki article about it. What exactly did you want to know?
<jtojnar> nschoe: that just enables firmware for stuff
<schmittlauch[m]> PR-workflow question: PRs to staging are still branched off from master, right?
<{^_^}> [nixos-planet] @garbas opened pull request #1 → deploy to netlify → https://git.io/JvpAM
<schmittlauch[m]> Jan Tojnar: I guess the st-plugins-bad zbar change should go to staging, right?
<schmittlauch[m]> *gst-plugins-bad
<{^_^}> [nixos-planet] @garbas pushed to netlify « typos »: https://git.io/JvpAy
<pjt_014> ma27[m]: thanks, I gotta sleep though. Should be done in ~16 hrs
<nschoe> jtojnar, okay thanks :)
knupfer has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<LarryTheCow> ij: I'm trying to put my application in a jail so it wouldn't be able to access other directories
<nschoe> jtojnar, I should have checked... sorry and thanks!
<ij> LarryTheCow, during the build?
<LarryTheCow> No after the build
<{^_^}> [nixos-homepage] @garbas closed pull request #381 → migrate planet to nixos.org/planet → https://git.io/JvbEo
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to planet: https://git.io/JvpAQ
<ij> I don't nix is concerned with what happens after the build – you'll have to build the jail with other linux tools..
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<LarryTheCow> Well that's the thing. I can't seem to be able to do it with firejail or chroot
<{^_^}> [nixos-planet] @garbas merged pull request #1 → deploy to netlify → https://git.io/JvpAM
<{^_^}> [nixos-planet] @garbas pushed to master « deploy to netlify (#1) »: https://git.io/JvpAd
<LarryTheCow> That's why I'm trying to find some documentation for it
<{^_^}> [nixos-planet] @garbas pushed 0 commits to netlify: https://git.io/JvpAb
noudle has joined #nixos
<jtojnar> schmittlauch you can branch of from either staging or something that is already in staging (e.g. common parent of staging and master), otherwie you will be pushing unmerged commits from master to staging
<ij> LarryTheCow, from the nix internal perspective? I speculate there isn't documentation for internal stuff. For that there's people and digging in the code.
Guest33784 has quit [Quit: ZNC 1.7.4 - https://znc.in]
o1lo01ol1o has joined #nixos
<{^_^}> [nix] @ehmry closed pull request #3484 → Passthrough nix.meta from nixpkgs → https://git.io/JvpAL
<nschoe> Is it safe to commit psk (given by wpa_passphrase) in the configuration.nix
thinkingeye has joined #nixos
<genevino> nschoe: i'd consider an "import" of some external file
<pjt_014> If nobody else has access to the file
mallox has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @andriokha opened pull request #84892 → [19.09] tor-browser-bundle-bin: 9.0.7 -> 9.0.9 → https://git.io/JvpxT
<thinkingeye> Hi, how can I add sth to the $PATH variable in an pure nix-shell environment by specifying in default.nix?
thibm has joined #nixos
<pjt_014> I personally don't care and do it that way but only I have access to machine
<nschoe> genevino, yeah I was planing to commit my configfuration.nix on github for instance
<nschoe> So in this case: the PSK should not appear in it?
<nschoe> Itś not secure?
o1lo01ol1o has quit [Remote host closed the connection]
<ij> nschoe, you can add private.nix to gitignore and commit private.nix.gpg
o1lo01ol1o has joined #nixos
<genevino> nschoe: unless you want attackers to be able to sit in front of your house having access to your wifi, no.
snicket_ has joined #nixos
<nschoe> genevino, yeah thatś what I was trying to understand: is it secured (like a userś password´hash for instance) or no. I got my answer. Thanks
<nschoe> ij, how would nixOS decrypt the gpg?
<ij> nschoe, private.nix is plaintext, but not commited in the repository
<ij> nschoe, you just import it like any other file
revtintin has quit [Ping timeout: 256 seconds]
<genevino> nschoe: well i know that wpa_passphrase command puts out some obfuscated version of your PSK in its output, but i'm not sure if it's actually 100% safe to share that output with the world.
<ij> it isn't
<genevino> since you can connect to a wifi with it, it isn't, obviously. :)
<ij> nschoe, got the gist of it?
<{^_^}> [nixpkgs] @andriokha opened pull request #84893 → [20.03] tor-browser-bundle-bin: 9.0.7 -> 9.0.9 → https://git.io/JvpxO
<nschoe> genevino, oh I was absolutely talking about the obfuscated psk, no the plaintext^^
<nschoe> But okay if itś not secure enough
est31 has quit [Remote host closed the connection]
<nschoe> ij, yes definitely. Just have to make sure they don diverge. But okay
<nschoe> Good idea
est31 has joined #nixos
<mananamenos> sorry guys, does anyone else suddenly get *error: camlp4 is not available for OCaml 4.09.1* with nixos-unstable channel?
pjt_014 has quit [Ping timeout: 264 seconds]
wspthr has quit [Read error: Connection reset by peer]
thinkingeye has quit [Quit: Konversation terminated!]
wspthr has joined #nixos
<ij> I really should make a NUR
snicket_ has quit [Quit: WeeChat 2.7]
gxt has quit [Ping timeout: 240 seconds]
<nschoe> Hum... how come I have a display manager asking me to log in in my all fresh nixOS install? The manual show that lightdm.enable is false by default o_O
revtintin has joined #nixos
<nschoe> ah this is maybe when I enabled X11
<niso> nschoe: some people don't use a login manager
<{^_^}> [nixpkgs] @maxeaubrey closed pull request #84601 → vault: disable_mlock option → https://git.io/JvAK5
<nschoe> niso yeah I know. I was just wondering how come lightdm was enabled, because I did not enable it myself. But I think this is when I enabled X11
<niso> oh, ic
<sshow> I have lost my password to a NixOS machine. Can I live-boot and change /etc/shadow? :S
<jtojnar> schmittlauch I am not sure how many things it rebuilds, either try nix-review (resource intensive) or look for past PRs touching just the package
<nschoe> sshow, you can edit the bootloader line and use something like `init=/bin/sh` which allows you to boot as root
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84894 → python37Packages.azure-core: 1.3.0 -> 1.4.0 → https://git.io/JvpxD
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to staging-next « python2Packages.cryptography: add missing ipaddress dependency »: https://git.io/JvpxQ
FRidh has joined #nixos
wspthr has quit [Read error: Connection reset by peer]
<sshow> nschoe: cool! thanks. I got a shell, but keyboard won't work :P
<nschoe> sshow, arg :/
<sshow> but I can boot live and change bootline manually "offline"
<sshow> nschoe++
<{^_^}> nschoe's karma got increased to 2
wspthr has joined #nixos
kaychaks has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 56 commits to staging-20.03: https://git.io/Jvpxj
snicket has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 659 commits to staging-next: https://git.io/Jvpp3
<{^_^}> [nixpkgs] @jtojnar pushed 830 commits to staging: https://git.io/Jvpps
<nschoe> sshow, :)
fendor has joined #nixos
mananamenos has quit [Remote host closed the connection]
jophish has joined #nixos
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
<sshow> editing /etc/shadow offline actually worked. I should read the source soon, so that I actually understand how nix is provisioned :P
m0rphism has joined #nixos
<bqv> Hey, not to be a total heathen but, is there a way to have a "try-catch" derivation? I.e. A derivation that falls back to another derivation if it fails to build?
<nschoe> sshow, good then :)
zupo has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @vbgl closed pull request #78247 → ocamlPackages.ppxlib: 0.8.1 -> 0.12.0 → https://git.io/JvL0B
<{^_^}> [nixpkgs] @Oro opened pull request #84895 → pythonPackages.HAP-python: init at 2.7.0 → https://git.io/JvppX
<{^_^}> [nixpkgs] @alyssais opened pull request #84896 → mailman-web: use default Nixpkgs Django → https://git.io/Jvpp1
c0c0 has quit [Quit: WeeChat 2.6]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<freethink> quick question: using the graphical .iso in a VM. When I run nixos-install does it use the cached packages from the ISO or latest from the build servers?
<freethink> wait nvm
<freethink> I see 'copying from local'
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<nschoe> Hum... anybody managed to enter the obfuscated psk in configuration.nix?
<nschoe> When I use psk = ¨<obfuscated psk here>¨ and try to switch it compains about incorrect key length
CMCDragonkai1 has joined #nixos
<nschoe> okay it´s call pskRaw, sorry :/
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
gxt has joined #nixos
iyzsong has joined #nixos
LarryTheCow has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<thibm> Does nixpkgs-review build itself all packages that depend on the PR's change?
<thibm> Or does it setup an environment to do so?
<b42> it builds them
<thibm> OK thanks
<thibm> This was not clear as there is no such dependency in my case, but there is the modified packages indeed
seanparsons has quit [Quit: ZNC 1.7.4 - https://znc.in]
seanparsons has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
lopsided98 has joined #nixos
pbogdan has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #84800 → btrfs-progs: 5.4.1 -> 5.6 → https://git.io/JvpL5
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/JvphW
<{^_^}> [nixpkgs] @prusnak opened pull request #84898 → jitsi-meet-electron: init at 2.0.5 → https://git.io/JvphR
Maxdamantus has quit [Ping timeout: 256 seconds]
<jtojnar> schmittlauch if nothing changed, master should be fine according to the number of rebuilds on https://github.com/NixOS/nixpkgs/pull/65305
<{^_^}> #65305 (by averelld, 37 weeks ago, merged): wine: disable zbar in gst-plugins-bad
Maxdamantus has joined #nixos
<hyper_ch> hmmmm, in virt manager I can't select UEFI... only bios
linarcx has quit [Quit: WeeChat 2.8]
marsel has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
turion has quit [Quit: Leaving.]
jakobrs has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<jakobrs> Theoretically speaking, could I build a python package using standard mkDerivation instead of buildPythonPackage?
<srk> sure
<jakobrs> What's the advantage of buildPythonPackage then?
<srk> it does a bunch of standard stuff for you :)
<srk> so you don't have to fiddle with python setup.py or so
<srk> what's the problem with buildPythonP?
<jakobrs> Nothing, it's just kind of confusing sometimes
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84899 → python27Packages.azure-mgmt-compute: 11.1.0 -> 12.0.0 → https://git.io/Jvphj
nschoe has quit [Ping timeout: 264 seconds]
CptCaptain has joined #nixos
cosimone has joined #nixos
arjen-jonathan has quit [Ping timeout: 246 seconds]
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84900 → python27Packages.azure-mgmt-resource: 8.0.1 -> 9.0.0 → https://git.io/JvpjT
pbogdan has quit [Remote host closed the connection]
pbogdan has joined #nixos
Naptra has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84901 → python27Packages.azure-mgmt-rdbms: 2.1.0 -> 2.2.0 → https://git.io/Jvpj3
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shyim has joined #nixos
urinal666 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 1000 commits to haskell-updates: https://git.io/JvpjB
<{^_^}> [nixpkgs] @ehmry pushed to master « alephone: do not build scenarios on Hydra »: https://git.io/Jvpja
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ehmry has joined #nixos
xO1 has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84902 → pianobar: 2019.02.14 -> 2020.04.05 → https://git.io/Jvpj5
edynoid has joined #nixos
edynoid has left #nixos [#nixos]
thibm_ has joined #nixos
ebopp has joined #nixos
CptCaptain has quit [Remote host closed the connection]
<jakobrs> Is there a shorthand for `if a.?b then a.b else null`?
<jakobrs> s/\.?/?/
CptCaptain has joined #nixos
ebopp has quit [Client Quit]
<thibm_> (a.b or null)
ebopp has joined #nixos
<jakobrs> ty
<urinal666> burn all jews in oven
<urinal666> death to infidels
<urinal666> allahu akhbar
<urinal666> god bless allah
thibm has quit [Ping timeout: 265 seconds]
CptCaptain has quit [Client Quit]
<{^_^}> [nixpkgs] @marius851000 closed pull request #83758 → citra: update to 2020-03-28 → https://git.io/Jv7z2
FRidh has quit [Quit: Konversation terminated!]
CptCaptain has joined #nixos
bqv has quit [Remote host closed the connection]
bqv has joined #nixos
<CptCaptain> I run gnome. Whenever I install a desktop app, there is no entry in the application menu until I log in and log out. How can I fix this?
astrofog has joined #nixos
<CptCaptain> *log out and log in obviously
johnny101m2 has quit [Read error: Connection reset by peer]
<jakobrs> CptCaptain: On Plasma I sometimes just have to wait a bit, maybe it's similar on gnome
johnny101m has joined #nixos
urinal666 has left #nixos [#nixos]
<jakobrs> Alternatively, maybe try
<jakobrs> update-desktop-database
<jakobrs> or
<jakobrs> gtk-update-icon-cache
captn3m0 has quit [Read error: Connection reset by peer]
captn3m0 has joined #nixos
kaychaks[m] is now known as kaychaks-riot
<CptCaptain> jakobrs: I don't have update-desktop-database. That might be the problem
kaychaks-riot has quit [Quit: authenticating]
<xfix> GNOME needs to be notified somehow about application list change
<xfix> i don't see anything that would notify GNOME in nixos code (unlike Plasma that gets notified)
ggpeti[m] has joined #nixos
<{^_^}> [nixpkgs] @Oro opened pull request #84903 → pythonPackages.aioharmony: init at 0.2.1 → https://git.io/Jvhe8
<xfix> if it doesn't work, chances are you will forced to log out, or you may try pressing Alt-F2, press "r" key, and then "Enter"
<xfix> to reload GNOME
<CptCaptain> I wonder why I don't have the update-desktop-database exec
<jakobrs> CptCaptain: update-desktop-database is in nix-env -iA nixpkgs.desktop_file_utils
<CptCaptain> Shouldn't gnome depend on it?
<xfix> no
<jakobrs> Apparently not
<niso> by chance someone can tell me why line 16 causes a type error? http://paste.debian.net/1139512/
<xfix> why should enabling GNOME put random binaries into user's path?
<xfix> that GNOME doesn't need
adrielus has joined #nixos
<adrielus> hey guys
<adrielus> so im trying to set some sessionvariables with home-manager
<adrielus> but the variables dont seem to have effet
<CptCaptain> xfix: My bad, it's installed, just not in the path
<adrielus> ```{ ... }:with import ../../secrets.nix; { home-manager.users.adrielus.home.sessionVariables = { inherit GITHUB_TOKEN; GITHUB_USERNAME = "Mateiadrielrafael"; };}```
<niso> adrielus: did you logout/login?
<adrielus> yes I did
<adrielus> niso
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
adrielus has quit [Remote host closed the connection]
qrnteen has joined #nixos
averell has joined #nixos
<CptCaptain> But, shouldn't nixos-rebuild also rebuild the desktop database? Is this intended behavior that the user has to do this by themselves?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84904 → python37Packages.aiosqlite: 0.11.0 -> 0.12.0 → https://git.io/Jvheg
adrielus has joined #nixos
<adrielus> @niso I just rebooted my laptop and it still doesnt work
<pbogdan> hmm, how do I put a negative number into a list?
<niso> adrielus: strange, no other ideas sry
<thibm_> pbogdan: use parenthesis
<pbogdan> oh nvm, just wrap it in ()
<pbogdan> yup, thanks thibm_
thibm_ is now known as thibm
phirsch has joined #nixos
<thibm> adrielus: stupid question - does what you installed contains .dekstop file?
<adrielus> what
<adrielus> idk
<snicket> trying to upgrade ums to 9.4.1, but I need to conditionally download a different tarball depending on whether building for x86 or x86_64 - as these tarballs contain some platform-speicfic binaries. could someone point me to a good place to use as a reference?
<phirsch> mananamenos: FWIW, I also got the same error message with home-manager switch, using a mix of stable/unstable (error: camlp4 is not available for OCaml 4.09.1)
<thibm> adrielus: sorry, I meant CptCaptain
adrielus has quit [Remote host closed the connection]
<CptCaptain> thibm: Yes it does and it is registered once Gnome is restarted
jakobrs has quit [Quit: WeeChat 2.7.1]
<thibm> OK
mallox_ has quit [Quit: Leaving]
nschoe has joined #nixos
adrielus has joined #nixos
<phirsch> mananamenos: - and anyone else interested - full error message (expanding on '(error: camlp4 is not available for OCaml 4.09.1)') with --show-trace: https://pastebin.com/JA9fQAGn
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #83193 → citra: 2019-10-05 -> 2020-03-21 → https://git.io/Jvyex
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JvheX
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
<thibm> phirsch: isn't camlp4 deprecated? It may have been removed at some point
mallox has joined #nixos
asbachb has joined #nixos
<CptCaptain> There is a share/applications directory somewhere in the system-path hierarchy. It seems to me that this is an issue of gnome resolving a symlink at startup and than not again.
<CptCaptain> Could someone using Gnome confirm this for me?
<thibm> There is no 4.09 branch on the camlp4 repo
<phirsch> thibm: Quite possible - don't think I referenced it anywhere. Looks like some change in unstable nixpkgs triggered this...
<asbachb> Is there a possibility to force collect garbage even if no space is left on dvice?
<thibm> Probably just an update of Ocaml?
<thibm> asbachb: nix-collect-garbage(1)
<thibm> Oh, sorry
<adrielus> ok gonna ask again
<adrielus> im trying to setup session variables with home-manager
<adrielus> but for some reason whatever I try the variables dont get set
<phirsch> thibm: Possibly - without updating unstable/lib/customisation.nix accordingly, it seems.
mallox has quit [Client Quit]
<{^_^}> [nixpkgs] @endocrimes opened pull request #84905 → plex: 1.19.1.2630-72c16a276 -> 1.19.1.2630-72c16a276 → https://git.io/Jvhvv
mallox has joined #nixos
fusion809 has joined #nixos
<{^_^}> #83592 (by vbgl, 1 week ago, merged): OCaml: default to version 4.09
<{^_^}> [nixpkgs] @raboof opened pull request #84906 → mastodon-bot: init at 2020-03-22 → https://git.io/JvhvL
kleisli_ has quit [Remote host closed the connection]
<thibm> They are comments on camlp4.
mallox has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 merged pull request #84724 → home-assistant: 0.107.7 -> 0.108.2 → https://git.io/Jvxa9
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jvhvn
kleisli_ has joined #nixos
chagra_ has joined #nixos
adrielus has quit [Remote host closed the connection]
<phirsch> thibm: Thanks, this somehow seems to affect including unstable.libguestfs-with-appliance in home.packages with home-manager/stable.
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/60c4ddb97fd (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<phirsch> thibm: For now, I am too tired to debug - might look into it some other time. For now it's just nix-channel --rollback ;-)
snicket has quit [Remote host closed the connection]
KeiraT has quit [Remote host closed the connection]
snicket has joined #nixos
KeiraT has joined #nixos
noudle has quit []
<thibm> I'm not sure its related to unstable/stable. I guess that just a package's dependency is broken in libguestfs-with-appliance, when switching to Ocaml 4.09 by default. You could override this to an older Ocaml version to get rid of the issue (when you want to fix it)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<asbachb> thibm: Yeah but the problem is it won't run until some space is left.
<{^_^}> [nixpkgs] @Mic92 merged pull request #84858 → nerdfonts: make it easier to configure and build → https://git.io/Jvpr1
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/Jvhfv
<thibm> asbachb: yes, I read your message too fast
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<asbachb> So currently I'm in kind of a deadlock.
adrielus has joined #nixos
ehmry has joined #nixos
<thibm> asbachb: does nix-store --optimize runs?
<adrielus> how do I let home-manager manage my bash config?
<asbachb> thibm: No. `error: writing to file: No space left on device`.
<thibm> That was expected
<rycee> adrielus: See https://rycee.gitlab.io/home-manager/options.html#opt-programs.bash.enable and associated options.
aiowej has joined #nixos
mallox has joined #nixos
mallox has quit [Client Quit]
<thibm> asbachb: you could try to delete store paths yourself to make a bit of space. Or delete/move files on the same partition. I'm not aware of a Nix way to deal with that
mallox has joined #nixos
<{^_^}> [nix] @edolstra pushed to 2.3-maintenance « Bump version »: https://git.io/Jvhfk
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<aiowej> Hi fellow nixotine addicts :). I've got a Macbook Pro Late 2013, that I don't want to waste on excessive unfree software. Previously, I've been able to make linux USB drives for Nixos with UNetbootin, but since High Sierra, it is lot starting. Are there any people here who have had success creating a Live USB drive with Nixos graphical installer, on a macbook running High Sierra? (fyi, mine is: "MacBook Pro (Retina, 13-inch, Late
<aiowej> 2013)").
<thibm> Except if some Nix operations do not need some disk space
pbb has joined #nixos
<aiowej> Catalina, sorry!
<aiowej> 10.15.3 (19D76)
adrielus has quit [Remote host closed the connection]
Jackneill has quit [Ping timeout: 240 seconds]
aiowej has quit [Remote host closed the connection]
adrielus has joined #nixos
<adrielus> and also set some session variables
<adrielus> logged out and in
<adrielus> and still cant see the variables
acmilanfan has joined #nixos
mallox has quit [Ping timeout: 256 seconds]
<asbachb> thibm: I'm unable to mount nix-store rw due lack of storage.
<bqv> wat
mallox has joined #nixos
<bqv> that makes no sense to me
<bqv> also, if you're out of space, either delete an old generation, or delete enough stuff until you have enough space to delete an old generation?
<adrielus> so I have this ```home-manager.users.adrielus.programs.bash.enable = true;```
<asbachb> bqv: But how?
<adrielus> `{ ... }:with import ../../../secrets.nix; { home-manager.users.adrielus.home.sessionVariables = { GITHUB_USERNAME = "Mateiadrielrafael"; inherit GITHUB_TOKEN; };}`
<adrielus> and idk why those variables dont get set...
<bqv> i'm really confused at how gc requires space (or at least enough that it's a problem)
<thibm> asbachb: if it's unmounted you can mount it manually and delete stuff manually
<niksnut> because it needs to do a sqlite transaction and that requires disk space
<bqv> yeah, that should be trivial, almost certainly there's enough non-nix data you can delete to allow that
<bqv> or at least to allow deleting a generation (nix-env --list-generations)
<bqv> once you've lost a generation, that's more than enough space for a gc
vykook has quit [Ping timeout: 260 seconds]
<asbachb> bqv: `nix-env --list-generations`: ` 1 2020-02-06 01:26:12 (current)
<bqv> oh no
gustavderdrache has joined #nixos
<bqv> in that scenario maybe it's better to just start again, then? you don't have any valid profiles to preserve
adrielus has quit [Remote host closed the connection]
<thibm> asbachb: is there something else on the partition when the store resides?
<thibm> where*
adrielus has joined #nixos
<adrielus> sorry for asking so many times, but ive been trying to fix this for hours and still cant figure it out, but why dont my sessionVariables set with home-manager work
Jackneill has joined #nixos
<asbachb> thibm: Not really. I guess I need to mount it on another system and free up some space.
<thibm> This does not make sense
<thibm> The store directory is on a file system, right?
<thibm> What else is on this fs?
<asbachb> yes
<thibm> (Oh, OK. I read fs instead of system. My bad)
<bqv> what is the output of `df -h /nix`
<asbachb> bqv: /dev/disk/by-label/NIXOS_SD 7.2G 7.2G 0 100% /
<bqv> yike
adrielus has left #nixos [#nixos]
adrielus has joined #nixos
<adrielus> so, nobody can help me with session variables in home manager:(
<asbachb> Basically I already deleted some stuff. But it seems that it hadn't free up some space.
<bqv> you're honestly going to have a lot of trouble fitting a full system on 7.2G, let alone just the nix store
<bqv> adrielus: give it an hour and ask again, rather than asking 3 times in 5 minutes
<bqv> alternatively go to #home-manager
<asbachb> bqv: Basically it's an rpi.
ashesham` has joined #nixos
<bqv> asbachb: i gathered, but i think most linux distros would struggle to fit on <8G
<NobbZ[m]> Just for reference my nix store alone is 7.1G, optimised and on a compressed data store.
<NobbZ[m]> 7 gig root? That's small...
<bqv> iirc the reccomended space for most rpi distros is 30G
<thibm> 8GB is enough but you need to do it carefully :>
<bqv> e.g. both my RPIs are on 32G SDs, and even that's tight
<NobbZ[m]> I've even heard about 15G+ while optimised!
<bqv> my store is 27G and optimized rn
<bqv> oh, no, 39G
<asbachb> bqv: Graphical environment?
<bqv> yes, but also i'm just building a whole load of duplicates
<bqv> and i haven't GCd for two hours
<niso> bqv: i installed nixos on a 13GB disk yesterday, space used: 2.8G
<bqv> damn
<NobbZ[m]> Possible, but I don't think it will remain like that forever...
<bqv> i mean as soon as you add anything more than an init daemon you're strapped for space, on that
<thibm> I make 2.3 GB images for rpi. The point is to make it offline to not pollute the store…
<NobbZ[m]> In my particular case I have 3 user profiles, each installing from different channels
<NobbZ[m]> Hard to keep the store sane under this conditions
<thibm> Indeed
<asbachb> I wonder if it's an option to stop nix-build/nixos-rebuild before filling up all space to prevent these kind of situations.
<bqv> i'm on 4 channels with 41 profiles
<asbachb> I guess you could argue: Watch out your space, but...
<bqv> it's not a surprise my store's crazy
<bqv> *410
<NobbZ[m]> No, as they are already root processes and therefore are explicitly allowed to touch the reserve....
pbogdan has quit [Quit: ERC (IRC client for Emacs 26.3)]
Thra11 has joined #nixos
<thibm> Just fallocate 100MB on the filesystem before getting in trouble and your're safe :>
evertedsphere has joined #nixos
<bqv> if you're feeling brave, can always just move a gig of stuff to ramdisk temporarily :D
<evertedsphere> does anyone here use `niv` for haskell projects?
<asbachb> thibm: Interesting idea.
<bqv> i'm on btrfs, i could just quota any subvolume to 90% of it's capacity
vykook has joined #nixos
pbogdan has joined #nixos
<thibm> That's what I wanted to say. Advanced FSs has tools to avoid being full
shibboleth has joined #nixos
cr4y1 has joined #nixos
adrielus has quit [Remote host closed the connection]
<thibm> Like zfs set reservation=1G IIRC
ArdaXi has quit [Ping timeout: 246 seconds]
h0m1 has quit [Quit: WeeChat 2.8]
revtintin has quit [Ping timeout: 264 seconds]
h0m1 has joined #nixos
ArdaXi has joined #nixos
adrielus has joined #nixos
<NobbZ[m]> That will say that a dataset has at least that space and it can't be claimed by another data store.
<Orbstheorem> Hello, what's the name of the nix function in nixpkgs that replaces `@foo@` in scripts?
<NobbZ[m]> So if you spill the dataset that has the reservation, you still can spill your filesystem.
vika_nezrimaya has joined #nixos
cosimone has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
<simpson> Orbstheorem: `substitute` and friends? https://nixos.org/nixpkgs/manual/#ssec-stdenv-functions
<NobbZ[m]> Though I'm wondering if activating `dedup` on the store would gain me anything...
vykook has quit [Ping timeout: 258 seconds]
<gchristensen> NobbZ[m]: do you know all the reasons you shouldn't use dedup
<gchristensen> ?
<thibm> NobbZ[m]: It can be used to reserve space that noone can use thought
<thibm> though*
<NobbZ[m]> No. I wouldn't use it anyway, it already blew my system when the set in question grew beyond 15GB ;) it has only 4gig of ram
<evertedsphere> dedup is, as far i can tell, incredibly scary even if you have the ram for it
<vika_nezrimaya> good morning #NixOS :3 Exploring a little bit more of what flakes offer; a bit puzzled around secrets handling. E.g. a flake providing a NixOps network; I want to make it public except for secrets (e.g. an access token or a password managed as a NixOps secret). Flakes are completely self-contained and disallow using something like an import of an arbitrary path outside the flake, so how can I inject secrets into a flake without
<vika_nezrimaya> compromising them by publishing them with the flake itself?
<evertedsphere> srhb spooked me and i went and read up on it and spooked myself further
<NobbZ[m]> Therefore it's more an experiment of thoughts
jgeerds has quit [Ping timeout: 250 seconds]
<vika_nezrimaya> One possibility is to provide a function that expects a set of secrets and then injects them into the network definition, returning a complete network armed with secrets. But can Nix accept something like `nix build vika-flake#nixopsConfigurations.home --arg secrets "import ./secrets.nix"? Will I need --impure for that or not?
ashesham` has quit [Ping timeout: 265 seconds]
vykook has joined #nixos
iyzsong has quit [Ping timeout: 265 seconds]
numkem has joined #nixos
acmilanfan has quit [Remote host closed the connection]
adrielus has quit [Remote host closed the connection]
ebopp has quit [Ping timeout: 256 seconds]
<Orbstheorem> simpson: Yes, thank you
vykook has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84907 → python37Packages.breathe: 4.14.1 -> 4.14.2 → https://git.io/JvhJB
chagra has joined #nixos
<evertedsphere> how do you do --attr with the new `nix build` command instead of `nix-build`?
<niso> by chance someone can tell me why line 16 causes a type error? http://paste.debian.net/1139512/
vykook has joined #nixos
chagra_ has quit [Ping timeout: 265 seconds]
<bqv> vika_nezrimaya: so i get around this by using git-crypet
<bqv> *git-crypt
<bqv> so i can have it all in git, but decrypted by a filter, and unlocked by gpg
<vika_nezrimaya> But then you always have to have a checkout for it to work, right?
<bqv> i only ever build it locally anyway
<bqv> but yes
<vika_nezrimaya> does Nix warn you about dirty tree when you use git-crypt?
<bqv> no, because of filters
noudle has joined #nixos
<bqv> git itself is doing the decrypting
<vika_nezrimaya> sounds great! :3
<vika_nezrimaya> might need to study it
<bqv> i think quite a few people use git-crypt
<bqv> but you can check my repo if you want an example
<vika_nezrimaya> bqv: link please?
<bqv> gh:bqv/nixos
<vika_nezrimaya> thanks <3 I'll put a TODO in Org-mode
<bqv> i need to use org-mode more
<bqv> i need a todo-tree
<vika_nezrimaya> If you use i3 or sway as your WM, I have some neat keybindings to call up org-capture or org-agenda from anywhere, but this is off-topic so it's better discussed in #nixos-chat
<bqv> i use exwm
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/807ca93fadd (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<bqv> and i'm not in that channel, but i can join if you like
<vika_nezrimaya> nah it's ok
<vika_nezrimaya> if you use exwm you should have no problems integrating with org-mode since emacs is your whole desktop
ebopp has joined #nixos
<bqv> exactly :)
<bqv> i just need to use org more
<gchristensen> lol
<gchristensen> just like violence
vykook has quit [Ping timeout: 264 seconds]
<gustavderdrache> and docker (trollface.jpg)
<gchristensen> gustavderdrache++
<{^_^}> gustavderdrache's karma got increased to 5
<gustavderdrache> :D
evertedsphere has quit [Ping timeout: 264 seconds]
<vika_nezrimaya> evertedsphere: `nix-build [PATH] -A <ATTR>` == `nix build [-f PATH] <ATTR>`
evertedsphere has joined #nixos
<bqv> best timing
<vika_nezrimaya> ?
<bqv> 15:12:49 <-- evertedsphere (~rlptgod@45.64.224.109) has quit (Ping timeout: 264 seconds)
abathur has joined #nixos
<bqv> 15:13:50 vika_nezrim…:evertedsphere: `nix-build [PATH] -A <ATTR>` == `nix build [-f PATH] <ATTR>`
<bqv> 15:14:30 --> evertedsphere (~rlptgod@47.15.223.146) has joined #nixos
<bqv> unless servers aren't linked properly rn, cause stuff looks out of order to me
<vika_nezrimaya> oops
<bqv> vika_nezrimaya: by the way, do you have a git repo of your configuration? i'm interested if there's anything i can poach
<vika_nezrimaya> Not yet uploaded, but I'm working on it!
<bqv> :+1:
mallox has quit [Ping timeout: 264 seconds]
vykook has joined #nixos
mallox has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84908 → python27Packages.casttube: 0.2.0 -> 0.2.1 → https://git.io/JvhUs
CMCDragonkai1 has quit [Ping timeout: 265 seconds]
<vika_nezrimaya> What would it take to implement git-crypt support in nixFlakes considering that fetching flakes already uses impurities like a user's SSH keys?...
ebopp has quit [Ping timeout: 265 seconds]
<bqv> good question.
michaelpj has quit [Quit: ZNC 1.7.5 - https://znc.in]
<bqv> i think it would make more sense to just implement the decryption in nix code and pass in a key as part of the build
michaelpj has joined #nixos
rogue_koder_ has quit [Ping timeout: 240 seconds]
jbrock has joined #nixos
alexherbo2 has joined #nixos
vykook has quit [Ping timeout: 240 seconds]
revtintin has joined #nixos
<vika_nezrimaya> No Nixops configs yet but already lots of stuff I use
<vika_nezrimaya> I hope I didn't leak any secret files :3
<evertedsphere> damn is everyone moving to flakes already
<evertedsphere> just as i figured out basic nixops :P
<bqv> ahh, damn, i was hoping to see some cool nixops stuff
<bqv> since i don't use it
<evertedsphere> well, more like .envrc-based pinning + nixops
<evertedsphere> i'm kinda ashamed of it but also happy i avoided making a submodule
<evertedsphere> i'm afraid of git
<niksnut> vika_nezrimaya: problem with git-crypt support is that the decrypted files would end up in the nix store...
<bqv> you should do what i did, i've left all my old configs in a git-crypt'd directory and i'm manually vetting each file to not have secrets
<bqv> niksnut: logically, they would anyway
<vika_nezrimaya> niksnut: full-disk encryption to the rescue
<bqv> how are you going to have a user password not end up in the nix store, for example
<evertedsphere> niksnut: i kinda assumed anyone that was doing all this had / encrypted
<vika_nezrimaya> bqv: by hashing it!
<evertedsphere> oh god we all @'d them in turn
<vika_nezrimaya> I have hashes of my passwords
<bqv> ok sure but then the hash ends up in the nix store
<vika_nezrimaya> yea but try cracking mine
<bqv> either way you end up with *something* in the nix store, is my point
<evertedsphere> does mkpasswd use some sort of salt
rardiol has quit [Ping timeout: 265 seconds]
<bqv> if nix needs to see/use it, it ends up in the nix store
<vika_nezrimaya> you'll waste so much time and electricity it would be easier to just ask me
<evertedsphere> as in, can it just be dictionary-ed
<vika_nezrimaya> evertedsphere: it should
<bqv> so quibbling about whether it's git-crypted or not is useless
<evertedsphere> if i put hashedPassword in my public config
<evertedsphere> which seems like a spectacularly bad idea
<vika_nezrimaya> you're safe as long as your hash function isn't total garbage
<bqv> NTLM :D
<vika_nezrimaya> lmao
<{^_^}> [nixpkgs] @raboof opened pull request #84910 → Consistently use quotes in metadata 'homepage' field → https://git.io/JvhUM
ddellacosta has joined #nixos
<evertedsphere> wow 4 characters and you took me waaaaay back suddenly
<evertedsphere> "NTLM" is the best Proustian madeleine
<bqv> haha
<gchristensen> hah
<vika_nezrimaya> bqv: I suggest to look at the /build.sh script and the activationScript set of outputs in flake.nix - these are my mini-masterpieces and I'm currently kinda proud of it
<bqv> i'm looking at them now
<bqv> very cool
<vika_nezrimaya> Total replacement for nixos-rebuild AND home-manager switch
<vika_nezrimaya> doesn't have rollbacks yet but it's planned
<evertedsphere> so erm. how does the flake-based system setup work if it doesnt use nixops? just copy-closure and the switch-to-configuration primitives?
drakonis has joined #nixos
<evertedsphere> wait vika_nezrimaya total replacement whaaat. that sounds amazing
<gchristensen> there is a branch of nixops which supports flakes, I think in edolstra's repo
drakonis1 has quit [Read error: Connection reset by peer]
<vika_nezrimaya> gchristensen: should actually be referred from my flake
<gchristensen> eh?
<gchristensen> cool, I didn't know that
drakonis_ has joined #nixos
<evertedsphere> i see
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<evertedsphere> okay now to wait and hope that my newly undervolted laptop doesn't die when it has to compile haskell for 10 minutes
<vika_nezrimaya> evertedsphere: nixos-rebuild is just a script that wraps ${nixosSystem}/bin/switch-to-configuration - and I use it manually here
<evertedsphere> ah
<vika_nezrimaya> same with ${home-manager-configuration}/activate
<evertedsphere> (echo "i think my laptop's running at a full 10C lower at peak load" > #nixos-chat)
vykook has joined #nixos
<bqv> vika_nezrimaya: funnily enough i went the opposite direction
<vika_nezrimaya> completely integrate the whole flake deployment process with nixos-rebuild, right?
<evertedsphere> aren't there cached builds for ghc-8.8.3 stuff yet?
<bqv> originally i was using a modified version of nrdxp's script (which used switch-to-configuration directly) but i switched to something based on nixos-rebuild
<infinisil> > ghc.name
<vika_nezrimaya> I don't trust nixos-rebuild's flake support for some reason
<bqv> evertedsphere: going by my current load avg, there isn't a cached build for anything...
<{^_^}> "ghc-8.8.3"
<bqv> vika_nezrimaya: it works :) been using it for weeks. the only thing missing is `switch --rollback`
fenedor has joined #nixos
<bqv> which breaks unexpectedly
<bqv> for reasons i've yet to determine
<infinisil> > nixos-unstable.ghc.name
<{^_^}> "ghc-8.8.3"
<infinisil> evertedsphere: Looks like 8.8.3 is the latest default, so you should have cached stuff if you use that
<evertedsphere> trying to make a basic haskell-on-niv default.nix/shell.nix template https://gist.github.com/evertedsphere/d38a55b29928a87c9df888c749601d03
<infinisil> nixos-unstable/nixpkgs-unstable
drakonis has quit [Ping timeout: 260 seconds]
<evertedsphere> yeah i pinned my nixpkgs version to nixos-20.03 with niv
<bqv> oh good lord, nixos-container is written in perl
revtintin has quit [Ping timeout: 256 seconds]
<evertedsphere> nice, moving to ghc865 gave me an instant nix-shell.
<evertedsphere> i have no idea what is going on
<vika_nezrimaya> bqv: lots of old NixOS stuff is written in perl
<bqv> i know, i just didn't expect that to be
<evertedsphere> is edolstra a native perl speaker
<bqv> it's his first language >_>
fendor has quit [Ping timeout: 250 seconds]
<niso> bqv: hydra too
<bqv> wow
vykook has quit [Ping timeout: 250 seconds]
<xfix> there are no particular requirements for languages used by NixOS tooling, Nix can deal with pretty much anything
<xfix> it just so happens Perl was picked
michaelpj has quit [Quit: ZNC 1.7.5 - https://znc.in]
<bqv> yeah, just, people that use perl are hard to come by these days
<infinisil> > nixos-2003.ghc.name
<gchristensen> perl was a super reasonable choice back in 2003
<{^_^}> undefined variable 'nixos-2003' at (string):296:1
<infinisil> > nixos-20_03.ghc.name
michaelpj has joined #nixos
<bqv> was that coincidence?
LysergicDreams has quit [Ping timeout: 256 seconds]
<bqv> that was a great coincidence.
<{^_^}> "ghc-8.6.5"
<infinisil> evertedsphere: 20.03's default is 8.6.5, so that makes sense
<evertedsphere> ahh
<evertedsphere> infinisil++ thank you!
<{^_^}> infinisil's karma got increased to 251
<infinisil> Np :)
<evertedsphere> prettyprinter somehow fails to work on 883, i haven't been keeping up, did fail finally get removed from Monad
<niso> vika_nezrimaya: your comment implys that this perl isn't used for new stuff anymore, what's used instead? nix?
<evertedsphere> there's a lot of C++ i think?
LysergicDreams has joined #nixos
<nschoe> Hi everyone. I´m configurting nixos to use i3 (i3-gaps actually) but inside XFCE as described here (https://nixos.wiki/wiki/Xfce#Using_as_a_desktop_manager_and_not_a_window_manager_) to see if this makes it better. I see in the otpins xfce.enable and xfce-4.14.enable. Is 4.14 newer or older?
<xfix> Most of Nix tooling is using C++, NixOS Test Suite is using Python
<vika_nezrimaya> btw old tests used Perl
<niso> oh, right, thanks!
<gchristensen> Nix was originally in Perl itself, of course
<vika_nezrimaya> REALLY?
<gchristensen> yep
<bqv> we should definitely be using javascript for tests
<vika_nezrimaya> mind.state == blown
<bqv> (i'm kidding, don't hurt me)
<gchristensen> it was converted to C++ in March of 2003
<simpson> Obligatory xkcd https://xkcd.com/224/
<vika_nezrimaya> bqv: s/javascript/typescript/ ftfy
<xfix> i assume it was rewritten because an interpreter in Perl was kinda slow the bigger nixpkgs has became
<evertedsphere> ...2003? nix was *around* then?
vykook has joined #nixos
<gchristensen> I wasn't making a joke when I said perl was a super reasonable choice in 2003 :)
<vika_nezrimaya> I think Nix is actually older than me
<evertedsphere> s/javascript/elm/
<etu> evertedsphere: It was very new back then
<bqv> simpson: :D
<etu> Most people don't realize how old nix is
<vika_nezrimaya> I'm born in 2001, what year Nix was born in?
<gchristensen> 2003
<simpson> xfix: I bet that there's an explanation in the thesis, but the primary motivation I've heard for moving to C++ was reducing the size of the bootstrap footprint, since GCC was already required anyway and C++ was an acceptable compromise language. I bet that there's more history here, but I don't know where to look.
<gchristensen> (Nix was first checked in to a source repository in March of 2003. it was Perl for roughly 1 day, and hten rewritten to C++)
bhipple has joined #nixos
<gchristensen> check out Nix, `git log --reverse`
<xfix> well, Perl makes experimenting easier than C++, at the very least
<bqv> --reverse is a thing? goddamn, i've been doing some silly hack to get the first commit all this time...
<evertedsphere> gchristensen: since you're around, something i always wanted to ask you: are there any plans to support nix on BSDs or any weird experimental microkernels (genode etc), and has anyone ever proposed making some sort of super-containerised/secure Qubes-like OS on top of nix/nixos
<bqv> there's a freebsd effort afaik
<jtojnar> nschoe on 19.09 xfce == 4.12, on 20.03 xfce == 4.14
<xfix> i'm guessing that if there would be an interest, it would be done
<ehmry> evertedsphere: genode is in progress http://git.sr.ht/~ehmry/genodepkgs
<gchristensen> evertedsphere: for the second part yes, qyliss, for spectrum-os.org. for the first part, people propose doing BSD support all the time. in fact, hydra used to build for FreeBSD, but then the contributors who cared stopped caring and so we got rid of it.
<evertedsphere> huh, i see
<nschoe> jtojnar, is nixos 20.03 out yet ?
<evertedsphere> dhall + genode + nix be still my beating heart
<xfix> i don't think there is anything preventing Nix from working on POSIX operating systems, but somebody would need to do some effort to make stdenv work under a given POSIX platform
jgeerds has joined #nixos
<gchristensen> supporting an architecture is very much "scratch that itch!". make it happen. if enough users start caring about it, it'll become a well supported thing
<gchristensen> s/architecture/platform/
<{^_^}> [nixpkgs] @joachifm merged pull request #84892 → [19.09] tor-browser-bundle-bin: 9.0.7 -> 9.0.9 → https://git.io/JvpxT
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to release-19.09: https://git.io/JvhTQ
* niso is looking forward to windows support
<bqv> i'd be quite interested to see if any microkernel OSs actually get popular
<{^_^}> [nixpkgs] @joachifm merged pull request #84893 → [20.03] tor-browser-bundle-bin: 9.0.7 -> 9.0.9 → https://git.io/JvpxO
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to release-20.03: https://git.io/JvhT7
<nschoe> https://channels.nixos.org/ looks like it is.
<nschoe> Is it stable? A proper release?
<evertedsphere> i have this cursed idea of using not-os for a personal system
<xfix> Windows could be interesting, it's more complicated I assume however, as Windows is not a POSIX platform
<gchristensen> nschoe: not yet, still beta
<evertedsphere> and just reinstalling the whole thing from scratch when i need to change the system environment
<xfix> even Windows Subsystem for Linux is somewhat problematic, I heard
<xfix> mostly due to its bugs
<ehmry> evertedsphere: yea, it needs some work before its ready, bbiab
<nschoe> gchristensen, oh, okay thanks :)
vykook has quit [Ping timeout: 256 seconds]
<evertedsphere> i barely understand what not-os is but i see "tiny runit-based system generated from Nix" and it sounds interesting to me
<gchristensen> nschoe: maybe the go/no-go meeting today will declare it ready to go :)
<nschoe> gchristensen, ah! Thing is: I have juuust (like in last night!) nuked my previous nixos install and am juuuust re-installing now. So Im wondering if I should change or not ^^
<evertedsphere> if i could run a home-manager-based single-user setup off of a not-os install... hm, maybe a good weekend project to play with
<gchristensen> nschoe: eh, go for 20.03
<xfix> do whatever
<xfix> i'm using 20.03 myself, works for me
<nschoe> gchristensen, okay then, trusting you ^^
mallox has quit [Quit: WeeChat 2.8]
<gchristensen> nschoe: I have gone to the beta release the day it was announced as a beta for the past 4 years. sometimes I find a couple bugs and report them, but usually it is a good experience
<nschoe> gchristensen, awesome. Will do that then
<gchristensen> it is hard for a NixOS update to brick a system
<gchristensen> things have to go seriously seriously wrong
mallox has joined #nixos
<xfix> yeah, that too, if anything goes wrong, you can always go to the previous release
<nschoe> xfix, yes. But since I´m reinstalling from scratch and doing this right this time, I won´t know whta went wrong and if it´s related to 20.03 or not ^^
astrofog has quit [Quit: Quite]
<niso> bqv: maybe the linux kernel will get more microkernel-like (you can extend the kernel with BPF)
<{^_^}> [nixpkgs] @marsam opened pull request #84911 → xonsh: 0.9.16 -> 0.9.17 → https://git.io/JvhTF
vykook has joined #nixos
pamplemousse has joined #nixos
<ehmry> linux won't get microkernel
<qyliss> evertedsphere: There are some PRs for FreeBSD
CptCaptain has quit [Ping timeout: 264 seconds]
zupo has joined #nixos
<qyliss> And an IRC channel, #freebsd-nix
<ehmry> its C
pamplemousse has quit [Client Quit]
<bqv> yeah i think at this point it's just unrealistic
<qyliss> So it's coming back
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<vika_nezrimaya> bqv: looks like I've just implemented rollback in my flake's deployment script!
<bqv> heh
<bqv> nice
<{^_^}> [nixpkgs] @NorfairKing opened pull request #84912 → Update imapfilter.nix → https://git.io/JvhkT
jbrock has quit [Client Quit]
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jvhkk
<{^_^}> [nixpkgs] @marsam merged pull request #84888 → doctl: 1.35.0 -> 1.40.0 → https://git.io/JvpNz
jbrock has joined #nixos
<bqv> vika_nezrimaya: ah, i remember having that problem. did you also suffer from the issue of systems not persisting across reboots?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84891 → [backport] cawbird: 1.0.4 -> 1.0.5 → https://git.io/JvpAo
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jvhkt
<vika_nezrimaya> bqv: I use switch-to-configuration switch, so it writes to bootloader
<vika_nezrimaya> shouldn't have any problems with that
<gchristensen> also make sure to set the profile
<bqv> it actually didn't, for me
<{^_^}> [nixpkgs] @worldofpeace closed pull request #84877 → pantheon.pantheon-agent-polkit: 1.0.0 -> 1.0.1 → https://git.io/Jvp7k
<evertedsphere> isn't this a cute name https://github.com/evertedsphere/niv-skel/
<bqv> switch-to-configuration didn't do it on it's own so i had to set the profile and use switch-to-configuration boot to make sure
<{^_^}> [nixpkgs] @marsam merged pull request #84908 → python27Packages.casttube: 0.2.0 -> 0.2.1 → https://git.io/JvhUs
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvhkm
zaeph1 has joined #nixos
<evertedsphere> i'm quite proud of myself for coming up with a way to shorten "niv + haskell + skeleton" like that lol
<gchristensen> right, switch-to-configuration isn't responsible for setting profiles
<bqv> so the problem was that switch-to-configuration was just setting what the current system profile was for boot
<evertedsphere> how does nixos-rebuild's vm option work with hardware setups
<bqv> which if you weren't setting profile at all, could be several profiles behind
<evertedsphere> like if i have some weird zfs setup does it make a vm with that exact partition scheme? seems unlikely
<bqv> so i would reboot and get knocked back 20 generations
<gchristensen> evertedsphere: no usualy it just discards your filesystem setup
<bqv> vika_nezrimaya: presumably in your case you'll reboot and get knocked back only one generation, so might not notice?
<vika_nezrimaya> I shouldn't get knocked back at all, but I'll try to reboot right now
vykook has quit [Ping timeout: 256 seconds]
<evertedsphere> i would love to do something like a "build it in a vm, run some health checks on it, and if it passes we switch to it"
<miscellaneousbus> id like to convert a program into a nixpkg. I've new to nix. It modifies Xorg config. any guess how hard itll be? https://github.com/Askannz/optimus-manager
<vika_nezrimaya> Currently I'm running revision 1516686 - I'll be back with the reboot results
opthomasprime has joined #nixos
<evertedsphere> for something less ambitious i'd love just a way to rebuild/deploy that autorollbacks on health check failure
<bqv> 1516686?! is that a git ref or your generation number
<evertedsphere> i guess i could extend infinisil's setup
zaeph has quit [Ping timeout: 260 seconds]
vika_nezrimaya has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #84887 → maturin: 0.7.9 -> 0.8.0 → https://git.io/JvpF0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvhkG
<gchristensen> evertedsphere: maybe check this out too https://github.com/NixOS/nixops/pull/1245
<{^_^}> nixops#1245 (by grahamc, 4 weeks ago, open): Deploy Targets: Policy/Behavior-free Deployment Hooks (auto-rollbacks, drain events, etc.)
<nschoe> gchristensen, is it also safe to change system.stateVersion to ¨20.03¨ then?
mallox has quit [Ping timeout: 256 seconds]
vykook has joined #nixos
<gchristensen> nschoe: I pretty much never change it
justanotheruser has quit [Ping timeout: 260 seconds]
vika_nezrimaya has joined #nixos
<evertedsphere> are timers like... does systemd have its own cron
<gchristensen> yeah
<nschoe> gchristensen, so you´re still on a very old version?
<bqv> they're quite useful
<nschoe> I mena in this parameter
<evertedsphere> so thats how my screenlocker works
<nschoe> What/who uses this stateVersion then?
mallox has joined #nixos
<evertedsphere> the sqlite db of nixos state i think
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<vika_nezrimaya> bqv: Well I wasn't kicked back, 1516686 is my current configuration revision :3
<bqv> huh, okay
<bqv> cool
philr has quit [Ping timeout: 256 seconds]
asbachb has quit [Ping timeout: 240 seconds]
<gchristensen> nschoe: not many things. if this is a new system, go ahead and set it to 20.03
<evertedsphere> is there a way to easily pin oneself to a nixos-unstable commit hash like the ones given on releases.nixos.org
<nschoe> gchristensen, thanks for the answers :)
<evertedsphere> s/pin oneself/find from github/
<gchristensen> nschoe: https://search.nix.gsc.io/?q=stateVersion&i=nope&files=nixos.*%5C.nix%24&repos= if you want to go spelunking :~)
<vika_nezrimaya> evertedsphere: github:NixOS/nixpkgs-channels
<niso> bqv: why unrealistic? isn't the ability to replace kernel-modules with bpf-modules kinda the basis for modularizing the kernel?
<vika_nezrimaya> what is bpf
<evertedsphere> berkeley packet filters?
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/9b0d2f3fd15 (from 4 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
knupfer has quit [Client Quit]
erasmas has joined #nixos
<vika_nezrimaya> Ok great now is the time to test `nix flake update`
<ehmry> niso: if it loads modules then its not a microkernel
vykook has quit [Ping timeout: 265 seconds]
<evertedsphere> so if i use niv to track nixos-unstable i should get binary caches working right
linarcx has joined #nixos
<evertedsphere> i want the latest version that doesn't need me to build the whole world from atoms on my laptop
opthomasprime has left #nixos [#nixos]
<bqv> why in the good heck is nix trying to build *chromium*
<srk> evertedsphere: correct
<evertedsphere> -funroll-frootloops
<bqv> lmao
__monty__ has joined #nixos
<nschoe> gchristensen, oh thanks.
<wrl> the funnest roll loops
<evertedsphere> tbh gentoo taught me a lot about what i did not want to do when playing with linux and that was dealing with versioning/dependency hell
zaeph1 is now known as zaeph
cruxeternus has quit [Ping timeout: 240 seconds]
<srk> -funroll-infinite-loops
<evertedsphere> i actually compiled kde on a chromebook
<bqv> D:
<gchristensen> you poor thing
<evertedsphere> it's not even like i live in a cold part of the world
<srk> I've used to run gentoo on Pentium 4
<{^_^}> [nix] @edolstra pushed 0 commits to refs/tags/2.3.4: https://git.io/Jvhko
fenedor is now known as fendor
<bqv> i think i first used gentoo on a pentium 2
<srk> something like a week to get to Xorg
<vika_nezrimaya> 0 commits? how is this possible?
<bqv> i ...made mistakes
<gchristensen> niksnut: w00t
<bqv> vika_nezrimaya: branch deleted
<bqv> (tag)
<vika_nezrimaya> I was on Gentoo before I hopped to NixOS. The binary cache is my savior since I don't need any more heating
<vika_nezrimaya> in Russia our heating company heats our homes too much
<bqv> i halved my electricity bill
* ehmry was a gentoo convert
<bqv> (not really, but gentoo was genuinely a bit more expensive)
<srk> time wise :D
<bqv> that too
<evertedsphere> this reminds me, i might have asked this question here before but is the reason for not using -march=native when nixos compiles locally the fact that it changes hashes from what's in the caches?
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
<niso> ehmry: my point was that the kernel might get smaller if they start outsourcing modules - thus decreasing the difference to microkernels
knupfer has joined #nixos
<clever> niso: i think part of the point of a microkernel, is to have fewer things in ring0, and out-of-tree modules dont give you that
<__monty__> vika_nezrimaya: Central heating still?
<vika_nezrimaya> yep
<vika_nezrimaya> >&#nixos-chat
<ehmry> a modern microkernel is less then 10KLOC
<{^_^}> [nix] @edolstra pushed to master « Update release script »: https://git.io/JvhkS
<ehmry> linux is doomed, there is no saving it
<gchristensen> lol
<bqv> sarcasm?
<__monty__> Yes, doomed to success.
<evertedsphere> "linux is the js of operating systems"
<evertedsphere> wlel, kernels
<vika_nezrimaya> NixOS is TypeScript then <3
knupfer1 has joined #nixos
<evertedsphere> who's elm and who's purescript
<vika_nezrimaya> not familiar with any of these, so I'll leave this as an exercise for the reader
knupfer1 has quit [Client Quit]
justanotheruser has joined #nixos
<bqv> purescript is great
<bqv> i imagine haiku would fit
<bqv> elm? maybe osx?
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<niso> clever: doesn't result the usage of bpf-helper-calls in fewer things in ring0?
<{^_^}> [nixpkgs] @edolstra pushed to master « nix: 2.3.3 -> 2.3.4 »: https://git.io/Jvhk7
knupfer has quit [Ping timeout: 256 seconds]
jbrock has quit [Client Quit]
knupfer has joined #nixos
jbrock has joined #nixos
<{^_^}> [nixos-homepage] @edolstra pushed to master « Nix 2.3.4 released »: https://git.io/Jvhk5
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jvhkd
<{^_^}> [nixpkgs] @Ma27 merged pull request #84911 → xonsh: 0.9.16 -> 0.9.17 → https://git.io/JvhTF
mallox_ has joined #nixos
knupfer has quit [Client Quit]
morgrimm has joined #nixos
jgeerds has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
<evertedsphere> clever: is there any potential at all for using not-os as a daily driver for a personal system assuming my system configuration is locked
knupfer has quit [Read error: Connection reset by peer]
knupfer1 has joined #nixos
<evertedsphere> i guess you can't run nix on runit
knupfer1 has quit [Client Quit]
<evertedsphere> ...or can you? does someone have a branch somewhere that lets you do that
<qyliss> why wouldn't you be able to?
knupfer has joined #nixos
<vika_nezrimaya> evertedsphere: I think nothing prevents Nix from running with runit
<evertedsphere> *nixos
<gchristensen> heck, it runs under launchd
<evertedsphere> or, well. here's the actual question
<clever> evertedsphere: you would need to add the services you care about, or fully translate systemd->runit, like my recent docker thing
<vika_nezrimaya> just write a runit service for EVERYTHING you use in NixOS
knupfer has quit [Client Quit]
<evertedsphere> can i run a system that is like home-manager on not-os
knupfer1 has joined #nixos
<clever> vika_nezrimaya: i have a half-working util to translate systemd to runit
<bqv> https://github.com/NixOS/nixpkgs/issues/69414 ugh so this is why my matrix homeserver has stopped working
<evertedsphere> i realised i barely touch my system config, it's just a bunch of services + environment.systemPackages is literally [ ], so i got to wondering
<{^_^}> #69414 (by arianvp, 28 weeks ago, open): Implement NixOS container networking with networkd
<clever> evertedsphere: the biggest thing not-os currently lacks, is xorg
<evertedsphere> oh. oh no
mallox has quit [Ping timeout: 260 seconds]
<evertedsphere> is there a deep problem there or just a lack of available time on your part
<clever> evertedsphere: just never tried to port it over
<vika_nezrimaya> clever: This thing looks kinda elegant, what does it do?
<clever> evertedsphere: it was originally meant to be an embedded image in a server
<clever> vika_nezrimaya: it runs a range of systemd services (grafana, prometheus, nginx, oauth_proxy, and others) under runit, inside a single docker image
<evertedsphere> yeah i just had this wish for a really minimal system that i understand everything about
knupfer1 is now known as knupfer
<ehmry> microkernels are a pain though because of configuration, imagine nixos modoules for each of your drivers
<clever> ehmry: i already have nix compiling rpi firmware
ebopp has joined #nixos
<evertedsphere> what does the ro squashfs bit mean though. can i have a mutable /nix/store on a not-os "install"
<evertedsphere> can you even install not-os or is it just a livecd of sorts
<vika_nezrimaya> You can boot it
<evertedsphere> i guess i could write the livecd to an ssd
<clever> evertedsphere: with a few tweaks to stage1, you can make /nix just be a normal partition on a normal hdd
<vika_nezrimaya> and you probably may be able to configure GRUB to boot to it
<clever> evertedsphere: oh, but i also didnt implement any switch mechanics, so you have to reboot for any changes
vykook has joined #nixos
<evertedsphere> what if my entire setup is inside home-manager
<ehmry> clever: neat
<evertedsphere> like i said my system configuration changes, like, once a week now that i've got it all set up
<clever> evertedsphere: then it could maybe work
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1_ has joined #nixos
<evertedsphere> so i guess the services would not be managed by nix, but by not-os?
<evertedsphere> system* servies
<clever> evertedsphere: ive also got a kernel building here: https://github.com/librerpi/lk
<clever> ehmry: oops, ^
<evertedsphere> btw your /run/current-system/{nixpkgs,overlays} etc NIX_PATH trick is working incredibly well for me, clever++
<{^_^}> clever's karma got increased to 384
<evertedsphere> dont think i ever thanked you
<evertedsphere> gonna try out the not-os stuff on sunday maybe if i have some time
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
chloekek has quit [Quit: WeeChat 2.7]
mallox_ has quit [Ping timeout: 265 seconds]
mallox has joined #nixos
<ehmry> yea, this looks interesting, I want minimal linux guests for VMs
<evertedsphere> oh it has a service/nix already, huh
vykook has quit [Ping timeout: 264 seconds]
<evertedsphere> i guess what im seeing here is a sort of LFS thing except minus the suffering
<peelz> clever: since you're here... would you mind helping me understand what kind of sorcery is going on in here? https://github.com/input-output-hk/gclient2nix/blob/master/default.nix#L186
<evertedsphere> and since my setup is already almost completely declarative (it's just the partitioning that i did imperatively), i could see just reinstalling the system whenever i want as a normal thing
<evertedsphere> perhaps /nix could be made its own thing so i dont have to redownload/rebuild things
<clever> peelz: gclient wants to download over 30gig worth of junk to build electron, this code is supposed to download everything as seperate fetchurl/fetchzip/fetchFromGitHub calls, and then mash it all together into a single 30gig heap
<clever> peelz: but gclient also wants to patch things as it goes, and re-run copies of itself (that havent been nixified) after it downloads them
<vika_nezrimaya> What's a modern nix subcommand replacement for nix-instantiate?
<evertedsphere> clever: is not-os hard-dependent on docker
<clever> peelz: which is a nightmare to try and get nix to wrap, so i was trying to re-implement gclient in nix
<peelz> clever: oh god...
<clever> evertedsphere: nope, not-os can boot on qemu withotu any docker
<peelz> clever: I'm trying to build electron 7.x and I stumbled upon that project. I've never used gclient/gn before so it's rather confusing for me...
growpotkin has joined #nixos
<evertedsphere> and by extension on bare metal too i guess?
<clever> evertedsphere: yeah, ive ran not-os on my rpi's before
<evertedsphere> nice nice
<clever> peelz: ive yet to even get nix to download electron's source in a pure manner, its a nightmare :P
<evertedsphere> but docker is probably the best way to iterate on a not-os setup i suppose. okayi should stop dreaming up fun stuff and go back to work
<peelz> clever: sigh. would I be better of building it in a non-nix environment? I'm trying to backport a WebRTC patch to chromium for electron 7.x. All I need is for the electron APIs to be compatible with the app I'm patching
<clever> peelz: ive mostly just been patchelf'ing the binary builds of electron
<{^_^}> [nixpkgs] @bhipple merged pull request #84907 → python37Packages.breathe: 4.14.1 -> 4.14.2 → https://git.io/JvhJB
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvhIB
<clever> peelz: just override the nixpkgs electron derivation to change the src, and your done
vykook has joined #nixos
<clever> peelz: the reason the whole gclient2nix thing started, is because i had a bug in electron (hanging), and needed a build with debug symbols
<peelz> clever: but the nixpkg's electron derivation uses the binaries. Are you saying libwebrtc (or whatever it's called) is dynamically linked?
<clever> peelz: ive not looked into how electron is doing webrtc
<peelz> clever: yeah I think it's statically linked by chromium
mallox has quit [Ping timeout: 256 seconds]
<peelz> clever++
<{^_^}> clever's karma got increased to 385
<{^_^}> [nixpkgs] @bhipple merged pull request #84886 → omniorb: 4.2.3 -> 4.2.4 → https://git.io/JvpdP
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvhIi
<thibm> Do builtins.fetchGit do a shadow clone or a deep clone?
mallox has joined #nixos
drakonis has joined #nixos
LysergicDreams has quit [Ping timeout: 256 seconds]
<evertedsphere> deep, thibm
<thibm> OK thanks
<thibm> Not a good idea to deep clone nixpkgs with this internet access then
<evertedsphere> erm. actually i'm not sure now
<{^_^}> nix#1837 (by shlevy, 2 years ago, open): fetchGit should do shallow fetches when possible
LysergicDreams has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/87d32177619 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> thibm: builtins.fetchTarball would likely be the fastest, http://github.com/nixos/nixpkgs/archive/${REV}.tar.gz
drakonis_ has quit [Ping timeout: 250 seconds]
vykook has quit [Ping timeout: 265 seconds]
<thibm> Yes I switch to that
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
mallox has quit [Ping timeout: 264 seconds]
<thibm> No I have a second problem. nixos-rebuild is using ~16GB before I kill it
<thibm> I may have done something wrong. I'm trying to use a package from the tarball
mallox has joined #nixos
<{^_^}> [nixpkgs] @edef1c merged pull request #84602 → nixos/ssh: don't accept ssh-dss keys → https://git.io/JvA6G
<{^_^}> [nixpkgs] @edef1c pushed 2 commits to master: https://git.io/JvhIx
vykook has joined #nixos
<thibm> With packageOverrides = _: { thepackage = ((import (fetchTarbal …) { config = …; }).thepackage; }
<thibm> Is there a better way?
<evertedsphere> cabal2nix: nix-prefetch-url: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
<evertedsphere> hmm
<{^_^}> [nixpkgs] @edef1c merged pull request #84412 → acme.sh: add bind.dnsutils to PATH → https://git.io/JvNok
knupfer has quit [Quit: knupfer]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @edef1c pushed 3 commits to master: https://git.io/JvhLJ
<{^_^}> [nixpkgs] @bhipple merged pull request #84905 → plex: 1.19.1.2630-72c16a276 -> 1.19.1.2645-ccb6eb67e → https://git.io/Jvhvv
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvhLU
knupfer has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @vbgl closed pull request #79573 → ocamlPackages.ctypes: 0.15.1 -> 0.16.0 → https://git.io/Jvnbg
knupfer has joined #nixos
<evertedsphere> is there a way to force nixops deploy to use "modern" nix executables under the hood so i get the nice `nix build` output
phirsch has quit [Ping timeout: 258 seconds]
<nschoe> In my configuration.nix, under the i3 options there is an ´extraPackages´ list which is usually populated with dmenu, i3status and i3lock. I have two questions: 1) how is it different to put them here instead of in environment.systemPackages? And 2) I want to use rofi as a launcher instead of dmenu, should I put rofi inside i3´s extraPackages or in systemPackages? thanks!
<{^_^}> [nixpkgs] @raboof closed pull request #84910 → Consistently use quotes in metadata 'homepage' field → https://git.io/JvhUM
vykook has quit [Ping timeout: 256 seconds]
<thibm> nschoe: you can look at the i3 module definition to figure it out
chloekek has joined #nixos
<thibm> It's in nixos/modules/services/x11/window-managers/i3.nix
<nschoe> But I am not sure how I would know this.
<thibm> So there's no difference
<peelz> clever: if I were to attempt building non-nix electron binaries with gclient+gn, would it be easier if I just set up a shell with FHS?
<nschoe> but that doesn´t explain the differences nor if I can/should put rofi in there
<clever> peelz: either an FHS shell, or a full debian docker container
<peelz> clever: aight, thanks
<thibm> Yes it's here
<nschoe> It indeed just adds them in the systemPackages. So it´s the same.
<nschoe> I can add rofi in there then. Thanks
<thibm> Maybe at some point in history it was useful :<
<thibm> :>
<thibm> nschoe: you can override it to get rid of dmenu
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84914 → python27Packages.fire: 0.3.0 -> 0.3.1 → https://git.io/JvhLn
<clever> yeah, you could mkFore the extraPackages, and undo something that was being added to systemPackages
<nschoe> thibm, yes definitely. I just wanted to know if there was anything special done when you put a packages inside ´extraPackages´vs just putting them in systemPackages.
<nschoe> I guess it´s a way to groups relevant packages together: so if one day I want to remove i3, I won have a trailing dmnue/rofi/whatever.
johnw has joined #nixos
<nschoe> (Well this is my guess at how this work anyway)
<thibm> nschoe: may be at some point it was setting $PATH for the config file… Just guessing
<niso> by chance someone can tell me why line 16 causes a type error? http://paste.debian.net/1139512/
<nschoe> thibm, possible yes.
<thibm> nschoe: we could add a mechanisme to tie programs to each other. Removing one removes its "dependencies"
<thibm> Or you just group programs in your systemPackages like everyone :p
knupfer has quit [Quit: knupfer]
ebopp has quit [Ping timeout: 265 seconds]
<nschoe> thibm, yes but I think this ´extraPackages´ thing **is** a kind of grouping, right?
knupfer has joined #nixos
<nschoe> In this case, if I comment out the i3 section, since rofi, i3status and all will be commented and since the yare only there and not manaully in systemPackages, I guess they will be removed. I find this pretty smart.
knupfer has quit [Client Quit]
knupfer has joined #nixos
<thibm> Yes, maybe, but it's not pervasive.
knupfer has quit [Client Quit]
knupfer has joined #nixos
vykook has joined #nixos
aranea has joined #nixos
<thibm> nschoe: apparently, dmenu and i3status were hardcoded dependency. extraPackages was just a way to allow user to override it, while keeping them by default
<thibm> But you can use it for your purpose, it's a good idea
<{^_^}> #25633 (by tripokey, 2 years ago, closed): i3 config generation uses absolute path for dmenu_run in nix store
<{^_^}> [nixpkgs] @bhipple merged pull request #84881 → quake3e: 2020-01-23 -> 2020-04-04 → https://git.io/Jvp7F
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvhL0
knupfer has quit [Client Quit]
knupfer has joined #nixos
abathur has quit [Quit: abathur]
abathur has joined #nixos
lorimer has quit [Quit: NAE TROOSERS]
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
morgrimm has quit [Ping timeout: 258 seconds]
vika_nezrimaya has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
anderslu1dstedt has joined #nixos
<nschoe> thibm, oh good. Thanks :)
vykook has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
anderslundstedt has quit [Ping timeout: 240 seconds]
<xfix> machine e05744a2 on https://hydra.nixos.org/machines seems to be stuck
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<gchristensen> it sure does, xfix
<gchristensen> will fix it shortly
<gchristensen> thanks
<thibm> niso: it works if you remove the type in mkOption, so the problem is here
anderslu1dstedt has quit [Ping timeout: 258 seconds]
drakonis_ has quit [Ping timeout: 256 seconds]
vykook has joined #nixos
anderslundstedt has joined #nixos
<niso> thibm: the type of subs ?
<thibm> The type error is in the modules.nix, it comes from your type definition. I don't know well module type definition, so I'll stop here
<thibm> yes
<niso> thibm: huh, i removed line 14 (the concatMapStrings) and it caused the error to dissapear too, thus i assumed the type is correct
<thibm> I can understand that
psymin has joined #nixos
<thibm> It's tricky to figure out where the error comes from
<thibm> Remember that Nix is lazy
<niso> means options get evaluated when they are used, but not their types (due to nix beeing lazy?)
<thibm> If you don't use cfg.subs, you don't have any problem
<thibm> TBH, I don't know how modules types are handled. But the types are not in the language, for sure
<thibm> niso: no you did not use cfg.subs
kai_w has quit [Remote host closed the connection]
<thibm> (when removing line 14)
mkg20001 has quit [Ping timeout: 246 seconds]
mkg20001 has joined #nixos
kai_w has joined #nixos
<niso> thibm: exaclty, i already tested that
<thibm> If you don't use cfg.subs, you don't need to evaluate it's "type" => no problem
knupfer has quit [Quit: knupfer]
<thibm> Line 10 do NOT use cfg.subs
knupfer has joined #nixos
<thibm> If this was not clear :p
<niso> thibm: i'm confused, line 10 of the paste or line 10 of the submodule file?
<thibm> Sorry, line 12 on the paste
pamplemousse has joined #nixos
<thibm> The ${concatMapStrings (x: "test;") cfg.subs}
vykook has quit [Ping timeout: 258 seconds]
<niso> thibm: uhm, but that works? - only line 16 of the paste causes an error
<thibm> Yes it works because it does not evaluate cfg.subs
<thibm> You have a constant function here. Why Nix would bother evaluate its argument?
knupfer has quit [Client Quit]
<niso> oh, you are right
knupfer has joined #nixos
<thibm> ((x: "test;") cfg.subs) reduces to "test;"
<thibm> OK :)
<{^_^}> [hydra] @Ma27 opened pull request #737 → Get rid of dependency to SQLite → https://git.io/JvhLN
<niso> it reduces to "test;test;" :P
<{^_^}> [nixpkgs] @bhipple merged pull request #84840 → [20.03] unit: 1.14.0 -> 1.16.0 → https://git.io/Jvp0o
<{^_^}> [nixpkgs] @bhipple pushed 3 commits to release-20.03: https://git.io/JvhLA
<niso> thibm: leaves the question why the type causes the error?
<thibm> Ah right. So maybe it actually check that cfg.subs is a list, but did not check its member types
fresheyeball has quit [Quit: WeeChat 2.7.1]
<niso> thibm: yes, counting the number of element doesn't require evaluating their content
<thibm> niso: yes and I'll leave you here :p I not comfortable with module types things. Try to find an example in nixpkgs that do what you want
<thibm> Yes. I was just wondering if the "type system" actually checked that it's a list. I think so
<niso> thibm: alright, i'll recheck the type (with lazyness in mind) :)
<niso> thibm: thanks for the help!
<niso> thibm++
<{^_^}> thibm's karma got increased to 3
rardiol has joined #nixos
<niso> thibm: oh, yes, i think it does (got an error before)
chpatrick has quit [Quit: Connection closed for inactivity]
knupfer has quit [Quit: knupfer]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/02f2241354a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
drakonis_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Client Quit]
knupfer has joined #nixos
alj[m] has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84221 → [20.03] nixos/network-interfaces: Assert that bridges can get an address via DHCP → https://git.io/JvbWV
drakonis has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JvhtI
knupfer has quit [Client Quit]
knupfer has joined #nixos
<niso> thibm: lol - thanks again for pointing me to the type..... turns out i was missing "mkOption" for id..... :( (line 28)
<niso> thibm++
<{^_^}> thibm's karma got increased to 4
<alj[m]> Hello friends, I spent the last 8 hours figuring out distributed builds, and now I see nixbld1 doing stuff on my server, but only that one user. I expected it to start more builders and use more cpu as I am far from maxed out even tho I specified my maxJobs. Does anyone have a clue how I can make my build use start more builders?
pbogdan has quit [Quit: ERC (IRC client for Emacs 26.3)]
jakobrs has joined #nixos
<jakobrs> Can I setup a nix-shell script as a systemd service?
pbogdan has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
vykook has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84915 → python27Packages.gmusicapi: 12.1.1 -> 13.0.0 → https://git.io/Jvhtq
drakonis has quit [Read error: Connection reset by peer]
<ashkitten> jakobrs: yes, but there are better ways
drakonis_ has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
Keith[m] has quit [Ping timeout: 246 seconds]
nilsirl[m] has quit [Ping timeout: 246 seconds]
knupfer has quit [Client Quit]
nilsirl[m] has joined #nixos
Keith[m] has joined #nixos
knupfer has joined #nixos
<jakobrs> Like?
<ashkitten> jakobrs: for instance adding a package to systemd.services.foo.path will add it to the path for that service
phittacus has quit [Ping timeout: 246 seconds]
kai_w has quit [Remote host closed the connection]
phittacus has joined #nixos
<jakobrs> And then I can just put the content of the script in ExecStart, basically?
kai_w has joined #nixos
<jakobrs> Or `bash ./script.sh`
zeenk has quit [Quit: Konversation terminated!]
<ashkitten> if it's short you can just put the script itself in the service definition
<alj[m]> can you see my message?
<thibm> niso: your welcome :)
<jakobrs> Thing is, it results in duplication
<nschoe> Hi again. I have configured (at least supposedly) i3 + xfce. Lightdm is used as display manager. I successfully logged in but I feel like Iḿ in i3 alone, no xfce. How can I check?
<{^_^}> [nixpkgs] @Mic92 pushed commit from @OmnipotentEntity to master « treewide: Per RFC45, remove all unquoted URLs »: https://git.io/Jvhtn
<jakobrs> Because the dependencies are written down in both the nixos config *and* path/to/shell.nix
<nschoe> I´ve run ps aux | grep xfce but its empty. **But** I have the XFCE wallpaper image, so.. something set it
<gchristensen> Mic92++
<{^_^}> Mic92's karma got increased to 20
<{^_^}> [nixpkgs] @Mic92 closed pull request #83909 → treewide: Per RFC45, remove all unquoted URLs → https://git.io/Jv5Ar
<alj[m]> hello am i now visible?
<Mic92> gchristensen: My biggest review ever :)
<qyliss> alj[m]: yes
<alj[m]> nice! ok
<qyliss> your message a few minutes ago was also visible, fwiw
vykook has quit [Ping timeout: 256 seconds]
<alj[m]> Hello friends, I spent the last 8 hours figuring out distributed builds, and now I see nixbld1 doing stuff on my server, but only that one user. I expected it to start more builders and use more cpu as I am far from maxed out even tho I specified my maxJobs. Does anyone have a clue how I can make my build use start more builders? (I already tried to send this but apparently i wasnt registered then or something)
linarcx has quit [Ping timeout: 258 seconds]
<ashkitten> jakobrs: you can ofc still use "${pkgs.nix}/bin/nix-shell" in your command
<alj[m]> ah. thats... embaressing
<Mic92> alj[m]: do you have enough build users/build jobs?
<jakobrs> ashkitten: Like `ExecStart="${pkgs.nix}"/bin/nix-shell shell.sh`?
<alj[m]> @mic
<ashkitten> jakobrs: are you writing this yourself? i assumed you were using the systemd nixos module
<jakobrs> what do you mean?
linarcx has joined #nixos
<ashkitten> are you writing a systemd service file directly, or are you writing this in your configuration.nix?
<jakobrs> in configuration.nix
<alj[m]> I havent used this client in forever, I'm sorry. Mic92 I have set the local machine to --max-jobs 0 the remote to handle 8 and on both machines I checked that the nrBuildUsers are 32
cole-h has joined #nixos
<ashkitten> jakobrs: okay, that line you posted is not valid nix. you would want `systemd.services.foo.script = "${pkgs.nix}/bin/nix-shell path/to/shell.sh"`
kleisli_ has quit [Remote host closed the connection]
kleisli_ has joined #nixos
<jakobrs> I ended up writing systemd.services.<servicename>.serviceConfig.ExecStart = "${pkgs.nix}/bin/nix-shell --run \"bash ./launch.sh\"";
vykook has joined #nixos
<ashkitten> jakobrs: you should know that using nix-shell like this will have some implications like slow startup time and dependencies not being kept on a nix garbage collection
phirsch has joined #nixos
<jakobrs> Yeah, sure
vika_nezrimaya has joined #nixos
phirsch has quit [Client Quit]
<ashkitten> also, you don't need `serviceConfig.ExecStart`, that's what `script` is for
<jakobrs> I could possibly just do systemd.services.<service name>.path = (import path/to/shell.nix { inherit pkgs; })).buildInputs
<ashkitten> yes, you could
<jakobrs> I used ExecStart because I needed to set the PWD (which I did via serviceConfig.WorkingDirectory)
<{^_^}> [nixpkgs] @worldofpeace opened pull request #84916 → Pantheon update 2020-04-10 → https://git.io/Jvhty
<ashkitten> okay
vykook has quit [Ping timeout: 260 seconds]
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @makefu opened pull request #84917 → python3Packages.hydra-check: init at 1.1.1 → https://git.io/JvhtF
lassulus has quit [Ping timeout: 258 seconds]
linarcx has quit [Quit: WeeChat 2.8]
rembo10 has quit [Quit: ZNC 1.7.5 - https://znc.in]
linarcx has joined #nixos
evertedsphere has quit [Ping timeout: 264 seconds]
<jakobrs> ey, it works now
Guest1 has joined #nixos
vykook has joined #nixos
rembo10 has joined #nixos
<Guest1> Hello; something very strange has happened with my nixos install a few minutes ago and I'm wondering what the problem is. A few minutes ago, whenever I open a shell, I get the following output:
drakonis has joined #nixos
<Guest1> I did not run any nixos-* commands, and for some reason I can't run sudo (even in already open shells)
pbogdan has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> [nixpkgs] @woffs opened pull request #84918 → [nixos-20.03] pingus: 0.7.6 -> unstable → https://git.io/Jvhqq
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<vika_nezrimaya> Question. Why does Nixpkgs flake's main packages output is named legacyPackages and not packages? Is there supposed to be some sort of migration in the future?
<Guest1> Is there a nix command to do some sort of sanity check on the filesystem?
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #84919 → freerdp: 2.0.0-rc4 -> 2.0.0 → https://git.io/JvhqY
drakonis_ has quit [Read error: Connection reset by peer]
<vika_nezrimaya> Guest1: nix-store --repair
<vika_nezrimaya> Fixes corrupted store paths
<vika_nezrimaya> but it's slow
<vika_nezrimaya> saved me once from /nix/store corruption
<Guest1> error: no operation specified
pbogdan has joined #nixos
<Guest1> unfortunately I can't run sudo
<Guest1> In the new shells (for example if I run su), i cannot type the letter i, and thus can't type "nix"
jakobrs has quit [Quit: WeeChat 2.7.1]
<vika_nezrimaya> nix-store --verify --check-contents --repair
<vika_nezrimaya> shouldn't require sudo
<vika_nezrimaya> it works with the daemon which already has root privileges
<Guest1> error: you are not privileged to repair paths
<Guest1> ack
<vika_nezrimaya> oops, you're not in trustedUsers...
<{^_^}> [nixpkgs] @bhipple closed pull request #84919 → freerdp: 2.0.0-rc4 -> 2.0.0 → https://git.io/JvhqY
lassulus has joined #nixos
<vika_nezrimaya> su -c "nix-store --verify --check-contents --repair"
<Guest1> can I run a command using su as if it was sudo?
<Guest1> thx
ebopp has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
<Guest1> it has now exited without any output and has returned with a status of 0
<Guest1> will a misconfigured bash prevent me from booting?
<vika_nezrimaya> Guest1: it couldn't have done that, it's extremely slow
<Guest1> oof
<vika_nezrimaya> can you boot from a NixOS flash drive?
<Guest1> I do have an old flash drive with nix on it
<Guest1> i believe it happens to be the same state version as what is installed on this laptop
<vika_nezrimaya> great
<vika_nezrimaya> if your /etc/nixos on the hard drive is intact, you can just mount your / partition at /mnt and nixos-install
<vika_nezrimaya> it'll rebuild your configuration from scratch
<thibm> (The stateVersion misunderstanding is really a thing…)
<Guest1> will that preserve the user directory?
<vika_nezrimaya> Yep, nixos-install doesn't touch /home
<Guest1> yeah, i dont know exactly what problem stateVersion solves, but i believe my flash drive has the same version as this install
<vika_nezrimaya> also you might find command `rm -rf /mnt/nix` useful once you booted
<Guest1> ok
<vika_nezrimaya> Guest1: doesn't really matter unless the difference is more than 3 versions lol
<thibm> OK, good for you. This is not the state version then. (And it's really a thing, even if you hopefully understand what it is)
<Guest1> what are the possible causes of this (corruption?)?
<Guest1> what's weird is i didnt run any nix commands today, so my first thought would be that this machine was exploited
<Guest1> is it safe to run the version of nixos-install on the local machine?
<vika_nezrimaya> Guest1: not sure what could've happened. Check your HDD, might have bad sectors on it
<vika_nezrimaya> Guest1: Should be relatively safe, at least it doesn't touch your /home
<clever> Guest1: smartctl -a /dev/sdX, what does it report for the hdd in question?
<Guest1> just a sec, i dont have smartctl installed (this machine uses an ssd, not hdd)
<vika_nezrimaya> SSDs also can do SMART I think
<clever> vika_nezrimaya: yep
<Guest1> smartctl command not found
<Guest1> what is the nixos package name?
<Guest1> smartmontoolls apparently
<clever> ,locate bin smartctl
<{^_^}> Found in packages: smartmontools
nino34 has joined #nixos
<Guest1> SMART Error Log Version: 1
<Guest1> No Errors Logged
<Guest1> SMART Self-test log structure revision number 1
<Guest1> No self-tests have been logged. [To run self-tests, use: smartctl -t]
<clever> Guest1: can you pastebin the entire output?
<Guest1> sure
<clever> 0 Reallocated_Sector_Ct
<Guest1> what does that mean?
<clever> Guest1: no sectors have failed and been remapped
<Guest1> ok
<Guest1> its a fairly new, albeit low-end laptop, so i would be surprised if its a hardware failure
<clever> and the drive is only ~132 days old
<Guest1> this is what i get whenever i open a new shell:
drakonis has joined #nixos
<clever> Guest1: can you run `nix-store --verify --check-contents` ?
<Guest1> i will re-run it
captjakk has joined #nixos
<clever> Guest1: also, what are the contents of /etc/inputrc ?
<Guest1> for some reason, with all new shells, i cannot type the letter i
<clever> Guest1: that is totally wrong for that file, what about `ls -l /etc/inputrc` ?
<Guest1> sudoers is wrong too
<Guest1> lrwxrwxrwx 1 root root 27 Apr 10 05:42 /etc/inputrc -> /etc/static/resolvconf.conf
<Guest1> it seems every file is pointing there
<clever> thats not where that symlink should go!
<clever> try a `nixos-rebuild switch` or just plain reboot
drakonis1 has quit [Ping timeout: 260 seconds]
<Guest1> ack
<Guest1> it wants to recompile virtualbox, flightgear, etc to switch
<Guest1> if i start nano it messes up the terminal
<clever> Guest1: try `/run/current-system/bin/switch-to-configuration switch` ?
<{^_^}> [nixpkgs] @peti pushed 56 commits to haskell-updates: https://git.io/JvhmY
<vika_nezrimaya> if this fails, boot up from the flash drive, it'll help - your config files are damaged, Nix may not be able to connect to the binary cache (that's why it tries to rebuild some stuff from scratch)
<clever> ln: failed to create symbolic link '/bin/.sh.tmp': Bad message
<Guest1> well, it actaully always built virtualbox and flightgear from soruce
<clever> wut??
<Guest1> all my other packages are cached though
<clever> Guest1: anything in `dmesg` ?
<Guest1> yep
<clever> [21585.443642] EXT4-fs error (device sda5) in ext4_free_inode:357: Corrupt filesystem
<Guest1> ye
<clever> Guest1: youll want to run `fsck` on it, probably from a livecd
<vika_nezrimaya> Run fsck from a flash drive
<clever> Guest1: and then try booting again
<vika_nezrimaya> IF it ever boots again
<Guest1> so reboot, and run fsck from the flash drive?
<vika_nezrimaya> I hope the FS isn't beyond repair and your /home lives on a separate partition
<vika_nezrimaya> yep
<Guest1> unfortunately, no, /home is in the same partition
<Guest1> ahhhhhh
<Guest1> i think i know what caused this
<{^_^}> [nixpkgs] @eraserhd opened pull request #84920 → plan9port: 2019-02-25 -> 2020-01-08 → https://git.io/Jvhmn
<clever> ?
<Guest1> even though i have never had problems with it before,
<Guest1> i run windows in qemu
<Guest1> and it has access to the raw disk
<Guest1> (win 10)
<clever> Guest1: that will do it
<vika_nezrimaya> OOOOOOO
<vika_nezrimaya> yeah that could corrupt more than one partition
<Guest1> its never corrupted anything before tho
<vika_nezrimaya> then it was a miracle
<clever> Guest1: https://www.youtube.com/watch?v=J6UG1Jlwiow Dueling Banjos
<vika_nezrimaya> This is a recipe for HDD corruption, especially when Windows tries to update
asheshambasta has quit [Ping timeout: 265 seconds]
<Guest1> will the windows partition at least not be corrupted?
<Yaniel> maybe :^)
<vika_nezrimaya> Not. Sure.
<clever> Guest1: depends on if you mounted it from both windows and linux at the same time...
<vika_nezrimaya> If you NEVER mounted it from NixOS, it might be undamaged
<Guest1> ok, so the best solution i assume the best thing to do is to attempt to copy files out of the partition, then reinstall the whole thing
<vika_nezrimaya> yep
KennosiS has quit [Ping timeout: 240 seconds]
<Guest1> the windows partition is only accessed from windows
<clever> ive seen one user that went back to ext2, specifically so he COULD mount it from both at once
<clever> and then wondered why he lost all his data :P
<vika_nezrimaya> eep
<Guest1> doesnt win 10 force a reboot every two hours if its not licensed after (30?) days?
<{^_^}> [nixpkgs] @bhipple merged pull request #84855 → python3Packages.cvxpy: 1.0.25 -> 1.0.31 → https://git.io/JvpVJ
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvhmB
<clever> Guest1: its never done that to me
<Yaniel> clever: I prefer https://youtu.be/nAI8VasfbOg?t=172
<Guest1> even if not activated?
KennosiS has joined #nixos
<clever> Guest1: not activated here
<Guest1> ok
<clever> its in virtualbox, with proper virtual disk images
freeman42x has joined #nixos
<clever> Yaniel: havent heard that one before
<Guest1> unfortunately i am forced to use e.g. visual studio, maple, etc
<clever> Guest1: and they dont work in virtualbox?
<Guest1> i never put the windows vm in virtualbox, because i dont have enough disk space for both at the same time :P
<Guest1> modern proprietary software tends to be rather large
<Yaniel> virtualbox can use a physical partition
<Yaniel> instead of a vdisk
<Guest1> see, i was using the physical partition with qemu
<clever> Guest1: partition, or entire disk?
<Guest1> let me find the command again
<Guest1> i believe its the entire disk
LysergicDreams has quit [Ping timeout: 240 seconds]
<clever> thats where things go wrong
<Guest1> sudo qemu-system-x86_64 -bios ~/Downloads/bios64.bin -enable-kvm -vga std -cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time -machine type=pc,accel=kvm -smp 4 -m 3G -drive file=/dev/sda,format=raw,media=disk
<Guest1> bios64.bin is tianocore
<clever> Guest1: if you instead used `file=/dev/sda2` for example, then windows can only access a subset of the disk, and cant mess with sda5
<Guest1> why would windows need to touch these other partitions though?
<clever> Guest1: because windows is windows
<Guest1> especially because it probably doesnt have an ext4 driver
<Yaniel> windows does Fun stuff yes
Thra11 has quit [Ping timeout: 264 seconds]
<Guest1> xD
<peelz> ,tofu-vim
LysergicDreams has joined #nixos
<peelz> ,vim-tofu
<Yaniel> like overwriting your UEFI boot order every time you boot into windows
<Guest1> yes, that problem is very annoying
<clever> peelz: escape, 52i0, escape
<peelz> clever: thanks lol
<Guest1> i actually replaced the boot entry to point to systemdboot, and windows undid it
<clever> Yaniel: i tried booting my windows disk (dual-boot) ~2 days ago, only to discover it was missing
<Yaniel> :D
<clever> Yaniel: it had just vanished, lsblk, bios, grub, nothing could see it
<Guest1> oof
<{^_^}> <esc>52i0<esc>
<clever> Apr 08 15:04:17 amd-nixos kernel: ata3: link online but 1 devices misclassified, device detection might fail
<clever> Yaniel: that was the only trace left
<Yaniel> sounds more like total drive failure than something of windows' doing
<{^_^}> [nixpkgs] @bhipple merged pull request #84451 → mkl: 2020.0.166 -> 2020.1.217 (Linux only) → https://git.io/JvNHM
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvhmP
<clever> Yaniel: but, a simple power-cycle later (full shutdown, not reboot) and the drive magically returned
<clever> Yaniel: smartctl says nothing is wrong
<Yaniel> nice
<Guest1> are there any well-known ways of migrating windows to a vm?
<nschoe> What´s the difference between firefox, firefox-bin and firefox-wrapper? IIRC firefox-bin is Unfree and is the real firefox. The others a Nightly (what changes exatly?). And why is firefox-wrapper ¨preferred¨ over firefox as seen here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/firefox/wrapper.nix#L189
ATuin has joined #nixos
<clever> nschoe: the wrapper sets env vars, so the plugins youve chosen can be loaded by firefox
<Guest1> i think firefox-wrapper is supposed to work with plugins like flash
<nschoe> clever, by ¨plugins¨ you mena the pljugins I can install through firefox´s ¨Extension¨ thing?
<nschoe> Guest1, oh, okay. No need then
<clever> nschoe: plugins are binary, extensions are pure JS and xml
<clever> nschoe: plugins do things like flash and java
<Guest1> extensions are similar to chromium WebExtensions
<nschoe> clever, oh, I see. Okay
<Yaniel> they are literally that, WebExtensions
<Yaniel> nowadays anyway
<nschoe> So unless I plan to use flahs (which I don´t ^^) there is no need for firefox-wrapper then?
<Yaniel> I just use the plain firefox
<nschoe> I can safely go with firefox-bin
<Guest1> me too
<Guest1> ive always just used "firefox" in nixos packages
<nschoe> Yaniel, plain old firefox: is that ´firefox´ on ´firefox-bin´ (in systemPackages)?
<clever> nschoe: if you havent enabled any plugins, then pkgs.firefox silently acts like an alias to pkgs.firefox-unwrapped
<Yaniel> `firefox`
<nschoe> Ok
<{^_^}> [nixpkgs] @eonpatapon opened pull request #84921 → cue: 0.0.15 -> 0.1.0 → https://git.io/JvhmN
<nschoe> And so what is the ´firefox-bin´ thing then?
Keith[m] has quit [*.net *.split]
ggpeti[m] has quit [*.net *.split]
Elorm[m] has quit [*.net *.split]
icetan has quit [*.net *.split]
domenkozar[m] has quit [*.net *.split]
b42 has quit [*.net *.split]
ukazka[m] has quit [*.net *.split]
roberth has quit [*.net *.split]
matthewbauer has quit [*.net *.split]
tpmadz[m] has quit [*.net *.split]
mica[m] has quit [*.net *.split]
fasd has quit [*.net *.split]
evanjs[m] has quit [*.net *.split]
boogiewoogie[m] has quit [*.net *.split]
Smith[m] has quit [*.net *.split]
wildtrees[m] has quit [*.net *.split]
M4cheese[m] has quit [*.net *.split]
jonreeve[m] has quit [*.net *.split]
imj[m] has quit [*.net *.split]
xa0[m] has quit [*.net *.split]
chvp has quit [*.net *.split]
abbradar[m] has quit [*.net *.split]
ZerataX has quit [*.net *.split]
rgb[m] has quit [*.net *.split]
nolan_d has quit [*.net *.split]
Amit[m] has quit [*.net *.split]
Guest7156 has quit [*.net *.split]
bachp has quit [*.net *.split]
exprez135[m] has quit [*.net *.split]
quiet_laika[m] has quit [*.net *.split]
Ox4A6F has quit [*.net *.split]
goibhniu has quit [*.net *.split]
Notkea[m] has quit [*.net *.split]
Dandellion has quit [*.net *.split]
emily has quit [*.net *.split]
fgaz has quit [*.net *.split]
siraben has quit [*.net *.split]
uwap has quit [*.net *.split]
sepi``` has quit [*.net *.split]
nbp has quit [*.net *.split]
awygle has quit [*.net *.split]
cocreature has quit [*.net *.split]
ShaRose has quit [*.net *.split]
LeshaInc has quit [*.net *.split]
Dagger has quit [*.net *.split]
symphorien has quit [*.net *.split]
misuzu has quit [*.net *.split]
typetetris has quit [*.net *.split]
claudiii has quit [*.net *.split]
abbe has quit [*.net *.split]
lightbulbjim has quit [*.net *.split]
stevenroose has quit [*.net *.split]
torque has quit [*.net *.split]
<peelz> uhh
<nschoe> (Thanks clever , Yaniel Guest1 )
<clever> nschoe: firefox-bin is the official firefox build, that has been patchelf'd
<clever> nschoe: while firefox(-unwrapped) is compiled by nix
CptCaptain has joined #nixos
<nschoe> I see.
<Guest1> what i love is that you can even get zoom straight from nixpkgs
<nschoe> I am curious: why provide the official build?
<Guest1> sometimes the native one doesnt work
<Guest1> like with tor browser
<clever> nschoe: mozilla doesnt allow the title bar to say firefox, on any unofficial build
<clever> nschoe: something about you could use the wrong compile flags, and give firefox a bad name
<Guest1> it says "Mozilla Firefox" in my titlebar
<clever> Guest1: nixpkgs or -bin?
<Guest1> nixpkgs
<Yaniel> nixpkgs, says Mozilla Firefox here too
<clever> maybe things have changed since i last looked at it
martyet-o has quit [Ping timeout: 263 seconds]
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84922 → python27Packages.django-webpack-loader: 0.6.0 -> 0.7.0 → https://git.io/Jvhmh
<Yaniel> I do distinctly remember that it used to say Nightly and have the blue icon
<clever> yeah, that
<nschoe> Okay, well thanks. I ll be using plain old ´firefox´ then ^^
<Yaniel> but I think mozilla gave permission to use the firefox branding?
<Yaniel> in nixpkgs specifically
<thibm> I think so. You can ask for permission
<Guest1> ok, so before my browser crashes, what parameters should i pass to fsck from the flash drive once i reboot
vykook has quit [Ping timeout: 264 seconds]
<clever> Guest1: just `fsck /dev/sda5` should do
<Guest1> ok
jmcasey has joined #nixos
<Guest1> should i copy files beforehand or is fsck safe?
Elorm[m] has joined #nixos
icetan has joined #nixos
ggpeti[m] has joined #nixos
roberth has joined #nixos
ukazka[m] has joined #nixos
Smith[m] has joined #nixos
tpmadz[m] has joined #nixos
domenkozar[m] has joined #nixos
wildtrees[m] has joined #nixos
mica[m] has joined #nixos
b42 has joined #nixos
chvp has joined #nixos
claudiii has joined #nixos
nbp has joined #nixos
Amit[m] has joined #nixos
exprez135[m] has joined #nixos
uwap has joined #nixos
cocreature has joined #nixos
Dagger has joined #nixos
sepi``` has joined #nixos
abbradar[m] has joined #nixos
Keith[m] has joined #nixos
M4cheese[m] has joined #nixos
Notkea[m] has joined #nixos
symphorien has joined #nixos
stevenroose has joined #nixos
fgaz has joined #nixos
tdeo has joined #nixos
boogiewoogie[m] has joined #nixos
typetetris has joined #nixos
ZerataX has joined #nixos
emily has joined #nixos
ShaRose has joined #nixos
misuzu has joined #nixos
LeshaInc has joined #nixos
bachp has joined #nixos
Ox4A6F has joined #nixos
nolan_d has joined #nixos
quiet_laika[m] has joined #nixos
lightbulbjim has joined #nixos
Guest7156 has joined #nixos
goibhniu has joined #nixos
imj[m] has joined #nixos
evanjs[m] has joined #nixos
awygle has joined #nixos
jonreeve[m] has joined #nixos
Dandellion has joined #nixos
siraben has joined #nixos
xa0[m] has joined #nixos
matthewbauer has joined #nixos
fasd has joined #nixos
abbe has joined #nixos
rgb[m] has joined #nixos
torque has joined #nixos
linarcx has quit [Quit: WeeChat 2.8]
martyet-o has joined #nixos
vykook has joined #nixos
<peelz> clever: google's depot_tools should be fairly easy to wrap, right?
zeenk has joined #nixos
linarcx has joined #nixos
<Guest1> is it just me or did 20 people just join the channel?
<peelz> not just you
sepi``` has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84923 → python27Packages.databricks-cli: 0.9.1 -> 0.10.0 → https://git.io/JvhYT
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84341 → drm_info: 2.1.0 -> 2.2.0 → https://git.io/JvN3Q
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvhYk
Thra11 has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
detran has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
detran has joined #nixos
knupfer has joined #nixos
<clever> Guest1: 2020-04-10 15:03:52 -!- Netsplit over, joins: claudiii, emily, Ox4A6F, cocreature, Dandellion, awygle, matthewbauer, goibhniu, nbp, misuzu (+44 more)
<clever> Guest1: my irc client colapses it down
<Guest1> nice
<cole-h> clever: What IRC client is that? If weechat, how?
<clever> cole-h: irssi
<cole-h> Figures. Weechat doesn't have those nice features :(
o1lo01ol1o has quit [Remote host closed the connection]
vykook has quit [Ping timeout: 240 seconds]
<clever> peelz: there are 2 main routes you can go
<clever> peelz: the simplest is the route pkgs.fetchgit does, just define the hash of $out, and run a tool in a derivation to generate $out, and if you can create a bit-identical $out each time, you win
<clever> peelz: but, when the product is 30gig in size, it becomes a pain to re-download when one piece changes, so you want to do something more like yarn2nix, where it uses pkgs.fetchurl to fetch each piece, and puts it all together
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JvhYW
<{^_^}> [nixpkgs] @nlewo merged pull request #84921 → cue: 0.0.15 -> 0.1.0 → https://git.io/JvhmN
<{^_^}> [nixpkgs] @bhipple opened pull request #84924 → opencl-clhpp: fix install directory → https://git.io/JvhY8
<Guest1> firefox profiles can be copied while the browser is running, correct?
<clever> Guest1: i would stop the browser before copying it
<Guest1> ok
orivej has quit [Ping timeout: 264 seconds]
<clever> Guest1: but your better off just rebooting asap
<Guest1> yeah, ill do that
<clever> Guest1: the longer its running, the more likely it is to scramble things
<peelz> clever: hmm, right. I was thinking of making a derivation for depot_tools and using that for checking out electron in an FHS, build it then patchelf the resulting binary.
<Guest1> well, here goes nothing
Guest1 has quit [Quit: Connection closed]
vykook has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
<peelz> clever: does gclient have a way of checking out an exact revision with the exact same set of dependencies?
<clever> peelz: i think so, you start from a git repo and a DEPS file, and that DEPS file says what version of things to get, recursively
nbp has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84916 → Pantheon update 2020-04-10 → https://git.io/Jvhty
<{^_^}> [nixpkgs] @worldofpeace pushed 14 commits to master: https://git.io/JvhY2
<{^_^}> [nixpkgs] @NilsIrl opened pull request #84925 → ghidra: 9.1 -> 9.1.2 → https://git.io/JvhYa
nbp has joined #nixos
<peelz> clever: you were saying earlier something about gclient about downloading its own dependencies? should I try to run `gclient` and let it set itself up during the installPhase or something?
zeenk has quit [Quit: Konversation terminated!]
<clever> peelz: the problem is that gclient will run post-fetch hooks in the dependencies
<clever> peelz: and some of those post-fetch hooks, run a copy of gclient, that was shipped with that dep, and hasnt been patched yet
<peelz> uhhhhh
<peelz> clever: that's awfully confusing
<clever> peelz: yeah
Guest1 has joined #nixos
<Guest1> ok, i just ran fsck telling it yes to all
vykook has quit [Ping timeout: 264 seconds]
<Guest1> i have rebooted and the system seems to work
<Guest1> i am currently running nixos-rebuild switch --upgrade -j 1
<clever> peelz: the only real solution is to patch gclient to be able re-patch more gclients after fetching but before running a post-fetch hook, so the patch spreads like a virus
<clever> peelz: or re-write gclient in nix
ATuin has quit [Ping timeout: 258 seconds]
<Guest1> i wonder, how reliable is zfs and btrfs compared to ext4?
<clever> Guest1: i run zfs on all of my machines
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<Guest1> i only use ext4 because its what im used to
<bhipple> I've heard great reviews of ZFS, and a lot of terrible reviews of btrfs. Been thinking of switching to NixOS on ZFS myself
<clever> bhipple: i tried btrfs on nixos a while back, i ran some hydra related stuff, and it took several hours to create 1000's of .drv files (rather slow performance) and then hard-crashed the machine
<clever> bhipple: it then took just as many hours to delete those .drv files
<emily> clever: pls don't mass-ping people on a channel of 2k :')
<Guest1> lol
<nschoe> Hey, what´s the trend as a terminal these days? I´ve been using urxvt for years. Haven bothered to check if something else has taken the heat?
<Guest1> i will say, im pretty happy with nixos. its awesome having almost the entire system configuration in one small file
<nschoe> (Also I´m using i3 if that helps)
<Guest1> im using i3 too
amosbird has left #nixos ["WeeChat 2.6"]
<clever> bhipple: but, i have since discovered that the SSD i was running on at the time, had a firmware bug
<Guest1> ah
<clever> Guest1: one min...
<Guest1> so btrfs was simply triggering that bug?
knupfer has quit [Client Quit]
jeromelanteri has joined #nixos
<jeromelanteri> hi, i do read this: https://nixos.wiki/wiki/Nix
knupfer has joined #nixos
<bhipple> nschoe: I actually migrated over from the fancier terminals back to uxterm, because it has the lowest input latency and I don't need any other features (tmux/xmonad handle it)
<jeromelanteri> but i missunderstand what is "update channel" meaning. Does it means that repos are updated ?
<Guest1> if xterm had a scrollbar and configurable fonts i'd probably use it
<clever> Guest1: the 5th box on the 3rd page
<nschoe> bhipple, ah, okay ^^
vykook has joined #nixos
<nschoe> bhipple, maybe I´ll stay the n^^
<clever> Guest1: xterm does have a scrollbar, and a whole menu youve never seen
<{^_^}> [nixpkgs] @bhipple merged pull request #84847 → highlight: 3.55 -> 3.56 → https://git.io/Jvpz9
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvhYS
<nschoe> bhipple, I´ve been wondering about st (SimpleTerminal) for a long time. Any experience with this?
<Guest1> how do you open this menu?
<clever> Guest1: hold control and middle-mouse to get the menu with the scrollbar option
<clever> Guest1: ctrl+left and ctrl+right are the other 2 menus
<Guest1> huh
<Guest1> that is ridicoulously non-discoverable
<clever> Guest1: press and hold control, then press and hold left/middle/right, release to activate something
<Guest1> thats like how you have to shift+click on windows to configure a joystick
<clever> Guest1: there is also a CLI flag to turn on a normal menu bar at the top
<xfix> jeromelanteri: updating channel is like updating package list, it doesn't update the packages themselves, if that helps
<Guest1> ok
<peelz> clever: yikes... uh, well considering this is most likely a one-off, I don't really mind having a 30GB entry in my nix store. I've never used google's toolchain before so I don't have much of an idea what I'm getting into lol
<clever> Guest1: check the man page for more
<jeromelanteri> xfix, that help, sure. Thank you
<clever> peelz: in my case, the problem is more that it fetched 30gig, then failed to run a post-fetch hook
<clever> peelz: so i had to edit something, re-download 30gig, and re-fail, 10+ times in a row
<peelz> clever: oh damn
<clever> peelz: until it began looking simpler to re-write all of gclient in nix :P
<jeromelanteri> an other one question... i see nix-env -id <name> to install a package name <name>, but if i add a package name inside configuration.nix file, how to, then, update from this file packages list ?
<peelz> clever: haha... I see why you did that now
<Guest1> i assume that `st` is less bloated than `xterm`?
<Guest1> depending on your definition of bloat of course
<jeromelanteri> and sure, how to get confçiguration.nix file config to happen ? do i have to run nix-install again ?
<nschoe> Guest1, it is supposed to be yes.
<xfix> jeromelanteri: use nix-channel --update as root, or alternatively rebuild with --upgrade flag
<nschoe> Guest1, but configuration is done through a .h file and you need to rebuild.
<Guest1> yes, im aware of that
<peelz> clever: how did you generate your list of dependencies/hashes?
<Guest1> suckelss tools tend to build very fast though
cosimone has quit [Remote host closed the connection]
<Guest1> suckless*
<Guest1> @jeromelanteri: just run nixos-rebuild switch
cosimone has joined #nixos
<xfix> nixos-install is only used for installation on LiveCD, after you successfully install NixOS, you will be using nixos-rebuild
<clever> peelz: this haskell code will parse the DEPS file, then recursively fetch everything and parse more DEPS files
o1lo01ol1o has joined #nixos
<nschoe> Guest1, do you have experience with suckless tools?
<peelz> clever: ahh
<jeromelanteri> xfix, so nix-channel --update will update package list. and nix-channel --upgrade will install the configuration.nix file (from /etc/nix/configuration.nix content)
<clever> peelz: and generate some nix code containing URLs, names, and sha256's
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-tensorflow: fix evalution errors »: https://git.io/JvhOk
<Guest1> nschoe: ive used them a little bit
<clever> peelz: then i use normal nix to fetch each part, and jam them all together, to re-create the 30gig mess, from 100's of smaller fetches
<Guest1> dwm is too minimal for me though
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.azure-mgmt-rdbms: 2.1.0 -> 2.2.0 »: https://git.io/JvhOt
<{^_^}> [nixpkgs] @jonringer merged pull request #84901 → python27Packages.azure-mgmt-rdbms: 2.1.0 -> 2.2.0 → https://git.io/Jvpj3
<clever> peelz: and nix can reuse those smaller fetches
<xfix> --upgrade flag of nixos-rebuild will automatically call nix-channel --update before rebuilding
<jeromelanteri> Guest1, nixos-rebuild switch will update all from configuration.nix file ?
<Guest1> yes
<Guest1> when you want to upgrade the system, just run nixos-rebuild switch --upgrade
<jeromelanteri> Guest1, good. Thank you. what does nix-channel --upgrade will do exactly then ?
<clever> peelz: the root problem though, is not fully understanding what gclient is doing, and how to recreate it all
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable failing builds to fix Nixpkgs evaluation errors »: https://git.io/JvhO3
<Guest1> jeromelanteri: it will fetch the latest derivations from nixpkgs
vykook has quit [Ping timeout: 256 seconds]
<peelz> clever: right. Google's toolchain is a tad complex lol
<jeromelanteri> ok, thank you
<Guest1> jeromelanteri: think of it like running apt-get update
<Guest1> and nixos-rebuild switch like apt-get upgrade
spacefrogg has quit [Ping timeout: 246 seconds]
<nschoe> Guest1, yeah, same.
<xfix> nixos-rebuild switch --upgrade combines both
zeenk has joined #nixos
spacefrogg has joined #nixos
anderslu1dstedt has joined #nixos
jared-w has quit [Ping timeout: 246 seconds]
<nschoe> Guest1, I´m trying st then... See how it goes.
<jeromelanteri> Guest, i'm from archlinux, i don't know to much about apt-get package manager
<peelz> clever: does the haskell code generate all of the nix code or just the hashes attrset? I also noticed that there's a missing `gn.nix`, which I've replaced with `pkgs.gn`
<xfix> pacman -Sy vs pacman -Su then
<xfix> combining both is pacman -Syu
<peelz> clever: unless you forgot to check in that file?
<Guest1> when i first tried out linux it was lubuntu, which uses apt
<jeromelanteri> xfix, so kind of alias with a pipe of nixos-channel --update and --upgrade... cool.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83995 → xorg.xorgserver: 1.20.7 -> 1.20.8 → https://git.io/Jvd06
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvhOZ
<clever> hmmm, no, thats just a cache to generate faster
gudea[m] has quit [Ping timeout: 246 seconds]
petersjt014[m] has quit [Ping timeout: 246 seconds]
dtz has quit [Ping timeout: 246 seconds]
kai_w has quit [Remote host closed the connection]
<jeromelanteri> xfix, wonderfull ! thank you very much
jared-w has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvhOn
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84811 → [20.03] xorg.xorgserver: 1.20.7 -> 1.20.8 → https://git.io/Jvp3a
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JvhOc
jasom has quit [Ping timeout: 246 seconds]
petersjt014[m] has joined #nixos
<clever> peelz: oh, line 150, it just prints the generated nix to stdout!
kai_w has joined #nixos
dtz has joined #nixos
jasom has joined #nixos
gudea[m] has joined #nixos
<clever> peelz: it should generate a file something like `{ runCommand, fetchzip, fetchgit ....}: let sources = ...`
knupfer has quit [Quit: knupfer]
<jeromelanteri> Guest1, yes. Is there a link with all of that indicate ?
knupfer has joined #nixos
<Guest1> just a sec...
cosimone has quit [Ping timeout: 260 seconds]
cosimone_ has joined #nixos
abathur has quit [Ping timeout: 240 seconds]
<Guest1> i didnt know the wiki supported "skins"
anderslundstedt has quit [Ping timeout: 260 seconds]
vykook has joined #nixos
<xfix> this table shows Ubuntu commands, but as far Arch Linux is concerned, for reading the Ubuntu table: install is -S, update is -Sy, and upgrade is -Su
<clever> peelz: i cant find any example outputs though
<Guest1> ive never actaully used pacman before
<peelz> clever: I've never done any haskell so it's a bit hard to understand haha
<clever> peelz: line 150 will turn topLevel into nix code, and print it
<clever> peelz: line 149 says topLevel is a function, that takes a certain set of params, and returns a let block, so `{ stuff }: let stuff`
<jeromelanteri> xfix, very good... and i can see package list on repo avaiable, but for exemple if i want to install xfce4-14, possible to just indicate xfce4-14 in package list inside my configuration.nix file, then nixos-rebuild switch to see all dependent apps of xfce4-14 to be install ?
<clever> peelz: 148 says what the arguments to the function are, and 147 says its going to be `let sources = stuff; in stuff`
<Guest1> so how exactly does nix configure granular things like shell aliases? for example when i set environment.shellAliases = {};, what does nix do behind the scenes?
<xfix> if you want to install XFCE, chances are you want to use an option for that
<{^_^}> [nixpkgs] @jonringer merged pull request #84900 → python27Packages.azure-mgmt-resource: 8.0.1 -> 9.0.0 → https://git.io/JvpjT
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.azure-mgmt-resource: 8.0.1 -> 9.0.0 »: https://git.io/JvhOo
<peelz> clever: that's pretty cool. Is there a big community around haskell-nix stuff?
<peelz> clever: those haskell bindings seem really nice to work with
<clever> peelz: and 146 says its `let sources = stuff; in runCommand "name" { preferLocalBuild = true; } stuff`
endformationage has joined #nixos
<clever> peelz: thats all using the hnix project, which is also trying to re-produce the full nix-build in haskell
<jeromelanteri> xfix, ok, but do i have to write all the apps xfce4-14 would have to install or only xfce4-14 suffisant ? (with some config then)
<evanjs> Anybody have good suggestions for constant updates for a NixOS laptop? For context, I have all my desktop systems updating every 6h... but that doesn't work so well for my laptop, which may be closed during said times
<jeromelanteri> xfix, ho... just see your link, thank you
<evanjs> And if it happens to be updating when I do close it, I can get it into a weird state where I need to reboot (or clean up manually) before I can properly perform further updates, etc
<peelz> clever: damn, that's pretty sweet. What's the motivation for hnix?
zupo has joined #nixos
<clever> peelz: not sure, heh
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable failing builds to fix Nixpkgs evaluation errors »: https://git.io/JvhOM
<evanjs> clever: aside from setting up hydra and only using channels from there :P
Guest1 has quit [Quit: Connection closed]
<evanjs> e.g. for packages that will likely be built on my end, e.g. linuxPackages_latest, openrazer (kernel drivers), nvidia, etc
cosimone has joined #nixos
Guest1 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvhOS
<peelz> clever: are there any other languages with nix bindings?
cosimone_ has quit [Ping timeout: 260 seconds]
<evanjs> rnix comes to mind but idk how mature it is
<clever> peelz: cant think of any others
<peelz> clever: I might have to learn some haskell then haha
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #84926 → dell-command-configure: init at 4.2.0 with module → https://git.io/JvhOH
<Guest1> so whats the proper way of running windows in qemu without corrupting my linux partition again?
<evanjs> jD91mZM2: how does rnix compare to hnix atm?
<{^_^}> [nixpkgs] @bhipple opened pull request #84927 → ethminer: mark as broken → https://git.io/JvhOQ
<Guest1> technically i could also run it in virtualbox
<xfix> evanjs: system.autoUpgrade was fixed to work correctly when disconnected from internet in 20.03, it now properly waits for internet connection to become available
vykook has quit [Ping timeout: 256 seconds]
<evanjs> xfix: Oh.
<evanjs> So I guess I can re-enable that on my laptop, huh?
<xfix> if you use 20.03, yes
<Guest1> xfix: how often does system.autoUpgrade attempt an upgrade?
<{^_^}> [nixpkgs] @jonringer opened pull request #84928 → fluidasserts: mark broken → https://git.io/JvhO7
<xfix> in 19.09, rebuild got stuck when disconnected from internet, and I don't think that was ever fixed
<clever> Guest1: thats an option
<clever> Guest1: https://nixos.org/nixos/options.html#ystem.autoupgrade.da
<evanjs> "Whether to periodically upgrade NixOS to the latest version. If enabled, a systemd timer will run nixos-rebuild switch --upgrade once a day."
<xfix> Guest1: once a day, but you can change that
<evanjs> ^ yeah that
<evanjs> default at 4:40
<evanjs> ** 04:40
<{^_^}> [nixpkgs] @Trundle opened pull request #84929 → v4l2loopback: 0.12.3 -> 0.12.4 → https://git.io/JvhOb
<evanjs> xfix: gotcha, thank you! I never realized it was a nix issue, and sorta just figured I simply couldn't use that on a laptop
<evanjs> yeah, nixos-unstable on all my machines atm, so I suppose I'll do that thanks!
<xfix> 20.03 fixed the issue
<{^_^}> [nixpkgs] @peti pushed 18 commits to haskell-updates: https://git.io/JvhOA
<evanjs> Would still be nice to get some hydra channels or something set up for getting kernel drivers and etc to install in less time
<{^_^}> [nixpkgs] @jonringer merged pull request #84899 → python27Packages.azure-mgmt-compute: 11.1.0 -> 12.0.0 → https://git.io/Jvphj
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.azure-mgmt-compute: 11.1.0 -> 12.0.0 »: https://git.io/JvhOp
zeenk has quit [Quit: Konversation terminated!]
<evanjs> That, and I don't have to change my config when things like VirtualBox/NVIDIA/OpenRazer fail with linuxPackages_latest... which is not totally uncommon
<evanjs> xfix: right right, I guess I'll try that then. Thanks!
<evanjs> xfix++
<{^_^}> xfix's karma got increased to 3
<xfix> yeah, Hydra doesn't build NVIDIA because it's proprietary, so it may break every once a while
<Guest1> is there is nix way of specifying virtualbox machines to exist? for example, suppose i wanted to run zoom in a VM with webcam passthrough. does nix have options to configure things that granular?
<{^_^}> #73945 (by callahad, 19 weeks ago, open): Autoupgrade fails on laptops with wi-fi
<evanjs> Hrmmm
<evanjs> Open?
<qyliss> Guest1: you might be able to do that through libvirtd, but probably not with VirtualBox.
vykook has joined #nixos
<xfix> from my experience, the problem fixed itself with 20.03
<Guest1> ok
<xfix> your mileage may vary
<qyliss> Guest1: you can generate VM images with NixOS, if that helps
<evanjs> xfix: ah gotcha. I'll give it a shot, but thanks for further clarifying there hasn't been an explicit commit for it, yet, as I try to include such details with my config commits
<qyliss> I'm not sure where the documentation for it would be
<Guest1> qyliss: would i need nixops for that?
<qyliss> no
<xfix> the problem specifically is that retry was broken for nix channel updates, now it's properly retrying HTTP requests
<evanjs> Ohhhh gotcha alright then
<evanjs> So many layers, it's hard to keep track of what's what at times
<peelz> clever: so say that I wanted to run gclient2nix.hs in a nix-shell? How would I do that? I've never used haskell
slack1256 has joined #nixos
<xfix> programming is hard
<evanjs> xfix: does my use case of setting up hydra for stuff that takes a while to build + might sometimes fail still make sense, though? Like can I have hydra build all that it can, and have my nix machines simply take all _last succesfull_ builds from said hydra instance?
<evanjs> Blah, if that makes sense haha
<clever> peelz: the project already has a default.nix, try `nix-build -A gclient2nix'`
<{^_^}> [nixpkgs] @peti pushed 12 commits to haskell-updates: https://git.io/Jvh3U
<evanjs> I just don't want to have to check if stuff is failing and have autoUpgrade work like 100% of the time without intervention, more or less
<clever> peelz: that should build all of the haskell code, then you can just ./result/bin/something
<xfix> evanjs: you probably could do that
<xfix> it's not very easy to set up, but i think it could be done in some way
<evanjs> xfix: okay, it was more of a "does this sound reasonable/feasible" question
<evanjs> And by not very easy, do you mean hydra in general, or the whole scenario I described?
<{^_^}> [nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/Jvh3L
<{^_^}> [nixpkgs] @jonringer merged pull request #84787 → suitesparse: 5.7.1 -> 5.7.2 → https://git.io/JvpTT
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « suitesparse: 5.7.1 -> 5.7.2 »: https://git.io/Jvh3t
<peelz> clever: nice, will experiment with it
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 10 commits to haskell-updates: https://git.io/Jvh3O
<clever> peelz: line 118 of gclient2nix.hs is hard-coded to start fetching a specific revision of electron
<{^_^}> [nixpkgs] @peti pushed 10 commits to haskell-updates: https://git.io/Jvh33
<clever> peelz: and then generate everything from there
<evanjs> on a different note, can somebody give me some pointers on "mitigating breakages" introduced by big python deps? (#77714)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/77714 (by evanjs, 12 weeks ago, open): pythonPackages.pillow: 6.2.1 -> 7.0.0
vykook has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @bhipple merged pull request #84883 → ocamlPackages.fmt: 0.8.5 → 0.8.6 → https://git.io/Jvp5U
<evanjs> Not totally sure where I should even start, aside from bumping as this has been open for some time, now)
<{^_^}> [nixpkgs] @bhipple pushed 6 commits to master: https://git.io/Jvh3s
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvh3Z
<peelz> clever: hmm I can't get it to compile though: https://termbin.com/wqom
<{^_^}> [nixpkgs] @aanderse merged pull request #80878 → nnn: Fix configuration file → https://git.io/Jv06f
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jvh38
<peelz> clever: oh nvm, I guess you pinned the nixpkgs for a reason.
<clever> peelz: looks like the error type has changed, so you either need to use the last-known-good nixpkgs, or update the code
<{^_^}> [nixpkgs] @jonringer merged pull request #84923 → python27Packages.databricks-cli: 0.9.1 -> 0.10.0 → https://git.io/JvhYT
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.databricks-cli: 0.9.1 -> 0.10.0 »: https://git.io/Jvh3R
ebopp has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #84922 → python27Packages.django-webpack-loader: 0.6.0 -> 0.7.0 → https://git.io/Jvhmh
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.django-webpack-loader: 0.6.0 -> 0.7.0 »: https://git.io/Jvh3E
<gchristensen> GO / NO-GO call: https://meet.jit.si/GoMarkhorGo and live stream: https://youtu.be/gLrJulUGeBg
<peelz> clever: what's nix-universal-prefetch?
<evanjs> finalllyyyyy. looks like either gh 0.6.3 or 0.6.4 fixed using it for nixpkgs on my system :D
linarcx has quit [Ping timeout: 265 seconds]
<peelz> clever: ah it's in nixpkgs
<evanjs> peelz: it's like nix-prefetch-git or etc but like a bunch of them in one
vykook has joined #nixos
<evanjs> "Uses nixpkgs fetchers to figure out hashes"
<peelz> evanjs: that's pretty neat. Adding it to my user pkgs :P
<evanjs> Yeah I need to factor it into my scripts more lol
<clever> peelz: i might be using a fork of nix-universal-prefetch, to deal with my custom fetch functions
<evanjs> for #77714, is bumping the broken packages and seeing if that helps one possible approach?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/77714 (by evanjs, 12 weeks ago, open): pythonPackages.pillow: 6.2.1 -> 7.0.0
<{^_^}> [nixpkgs] @jonringer merged pull request #84915 → python27Packages.gmusicapi: 12.1.1 -> 13.0.0 → https://git.io/Jvhtq
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.gmusicapi: 12.1.1 -> 13.0.0 »: https://git.io/Jvh3r
<evanjs> Bumping 30+ packages, though... x_x
<clever> peelz: you can also run `nix-shell` in that dir, to get a shell with the "right" nix-universal-prefetch
<jeromelanteri> xfce4-14 inside environnment-systemPackages = with pkgs; [ ] does works... do i have to indicate xfce4-14.* instead or write all of them one by one ?
<jeromelanteri> does NOT works, sorry
CptCaptain has quit [Ping timeout: 256 seconds]
<peelz> clever: how is gclient2nix (in default.nix) finding nix-universal-prefetch?
<jeromelanteri> i want to include all packages from nix-env -qaP | grep xfce4-14
<Guest1> jeromelanteri: you need to set another option, services.xserver.desktopManager.xfce.enable
<peelz> clever: or are you supposed to run the shell then run nix-build?
<jeromelanteri> Guest1, ho, just this then... good, thank you
<Guest1> most programs that interact with other programs are installed by setting options and not from systemPackages
<clever> peelz: i dont think it is, it only works from within that nix-shell
<evanjs> great... more deps after bumping it...
<jeromelanteri> Guest1, ho ok... it is this way to thinking like Functional config code then ?
<Guest1> jeromelanteri: what do you mean?
vykook has quit [Ping timeout: 265 seconds]
<jeromelanteri> Guest1, i mean it is imperative command through this config file.
<{^_^}> [nixpkgs] @jonringer merged pull request #84914 → pythonPackages.fire: 0.3.0 -> 0.3.1 → https://git.io/JvhLn
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jvh37
<evanjs> if I am bumping the version of a package in a PR, but said bump needs another dependency added to nixpkgs, do I add the other dependency in a new PR and block on that?
<jeromelanteri> like with a kind of Haskell code...
<Guest1> jeromelanteri: no, configuration.nix is entirely declarative
<jeromelanteri> yes, declarative, sorry.
<Guest1> jeromelanteri: imperative would be whatever random state is in your home directory
<jeromelanteri> ok, i think i get it now. Thank you guys.
ixxie has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to master « nix: Fix fallback paths »: https://git.io/Jvh3d
vykook has joined #nixos
luna has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @uosis closed pull request #80690 → nerdfonts: fix build on MacOS → https://git.io/JvRcr
<ixxie> Hello folks... anybody using and/or familiar with the steam package? It seems to be missing a runtime depedency (libva) when I try and run it
<{^_^}> [nixpkgs] @jonringer merged pull request #84903 → pythonPackages.aioharmony: init at 0.2.1 → https://git.io/Jvhe8
<{^_^}> [nixpkgs] @jonringer pushed commit from @Oro to master « pythonPackages.aioharmony: init at 0.2.1 »: https://git.io/Jvhsf
CptCaptain has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #84930 → nixos/release-notes/rl-2003.xml: add highlights → https://git.io/JvhsU
<evanjs> ixxie: seen this page, yet? https://nixos.wiki/wiki/Steam#Prerequisites
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.aiosqlite: 0.11.0 -> 0.12.0 »: https://git.io/JvhsT
<{^_^}> [nixpkgs] @jonringer merged pull request #84904 → python37Packages.aiosqlite: 0.11.0 -> 0.12.0 → https://git.io/Jvheg
<evanjs> notably: 'hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];', etc
<ixxie> oooh missed that evanjs, thans!
<{^_^}> [nixpkgs] @bendlas closed pull request #71951 → buildLazyBinaries: init build support helper → https://git.io/Je09r
vykook has quit [Ping timeout: 240 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
shibboleth has joined #nixos
<Guest1> does anyone know how to get an i3bar in sway?
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jvhsq
<{^_^}> [nixpkgs] @bhipple merged pull request #84795 → yafaray-core: 3.3.0 -> 3.4.1 → https://git.io/JvpIC
<{^_^}> [nixpkgs] @jonringer merged pull request #84924 → opencl-clhpp: fix install directory → https://git.io/JvhY8
<{^_^}> [nixpkgs] @jonringer pushed commit from @bhipple to master « opencl-clhpp: fix install directory »: https://git.io/Jvhsm
jbrock has quit [Client Quit]
jbrock has joined #nixos
CptCaptain has quit [Ping timeout: 246 seconds]
<peelz> clever++ thanks a bunch for the help. I might try to build this in a docker container instead. Your nix magic is too strong for me :P
<{^_^}> clever's karma got increased to 386
<{^_^}> [nixpkgs] @bhipple merged pull request #84833 → libgnurl: 7.67.0 -> 7.69.1 → https://git.io/Jvp4R
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvhsO
CptCaptain has joined #nixos
<ixxie> evanjs++
<{^_^}> evanjs's karma got increased to 11
<Guest1> ixxie++
<{^_^}> ixxie's karma got increased to 1
<{^_^}> [nixpkgs] @domenkozar merged pull request #84276 → elmPackages.create-elm-app: init at 4.2.4 → https://git.io/Jvb5y
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JvhsZ
<Guest1> xD
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-ShellCheck: drop obsolete patch to fix the build »: https://git.io/Jvhsc
<Guest1> Guest1++
<{^_^}> Guest1's karma got decreased to -1
<Guest1> noice
<Guest1> Guest1--
<evanjs> oh boy. what's the usual procedure for fixing relative program paths? e.g. https://github.com/python-pillow/Pillow/blob/3bb39c73dd75f34c470c6ee1521f9bfa22162f5f/setup.py#L2
vykook has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #84894 → python37Packages.azure-core: 1.3.0 -> 1.4.0 → https://git.io/JvpxD
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.azure-core: 1.3.0 -> 1.4.0 »: https://git.io/Jvhs8
<evanjs> Just e.g. substituteInPlace setup.py --replace 'pyroma .' "${pyroma}/bin/pyroma ."?
NightTrain has joined #nixos
<peelz> evanjs: patch + substitute AFAIK
mallox has quit [Ping timeout: 256 seconds]
ixxie has quit [Quit: Lost terminal]
<peelz> evanjs: unless there's just that one occurrence of "pyroma", then no need for a patch
<evanjs> yeah, I think it might just be in the setup file. We shall see
mallox has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « darcs: don't try to build the package with ghc-8.8.x »: https://git.io/JvhsE
ixxie has joined #nixos
<pinkieval> this is not technically a nix question; but a software I maintain assumes /bin/ls in its test suite, so it fails when run in nix. Do you think I should change the source code?
<{^_^}> [nixpkgs] @edolstra pushed 4 commits to release-20.03: https://git.io/Jvhsg
<pinkieval> it also assumes /bin exists at all
<bhipple> pinkieval: yes, just make it use ls from $PATH, would probably be much cleaner not just for Nix
<evanjs> or maybe I should just disable it, hrm (e.g. https://discourse.nixos.org/t/non-mandatory-test-with-pytest/3273/5)
<pinkieval> it assumes /boot exists, actually
zeta_0 has joined #nixos
LysergicDreams has quit [Ping timeout: 256 seconds]
CptCaptain has quit [Ping timeout: 256 seconds]
vykook has quit [Ping timeout: 260 seconds]
<zeta_0> hello there, i was just wondering if the new nixos-stable is ready yet? i have a little bit of free time right now to upgrade my system
<{^_^}> [nixpkgs] @ngerstle opened pull request #84931 → minikube: 1.8.1 -> 1.9.2 → https://git.io/JvhsX
LysergicDreams has joined #nixos
arjen-jonathan has quit [Ping timeout: 258 seconds]
AMD1212 has joined #nixos
<evanjs> "pytest.importorskip() doesn't work when we don't use pytest to run tests" :D
<evanjs> checkPhase = '' py.test ''; seems to run the tests fine
<evanjs> okay, so, new dep in nixpkgs: do I need to make a new PR for adding this to nixpkgs? Or can it be included as a separate commit to my PR? (#77714)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/77714 (by evanjs, 12 weeks ago, open): pythonPackages.pillow: 6.2.1 -> 7.0.0
<bhipple> evanjs: either works, but it's often nice to get the dependency reviewed/merge/added first, as others might need it while you continue to work on your PR (and it's nice to avoid making the PR too huge)
<evanjs> bhipple: yeah, I figured as much. I'll add a new PR and block on that, but run nix-review or etc with the change in the meantine
<evanjs> *meantime
vykook has joined #nixos
zarel has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos
munksgaard has left #nixos ["WeeChat 1.0.1"]
munksgaard has joined #nixos
opthomasprime has joined #nixos
opthomasprime has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bhipple merged pull request #84884 → maxscale: make broken package → https://git.io/Jvp58
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jvhsh
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @bhipple pushed commit from @Izorkin to release-20.03 « maxscale: make broken package »: https://git.io/JvhGm
<{^_^}> [nixpkgs] @evanjs opened pull request #84932 → pythonPackages.pyroma: init at 2.6 → https://git.io/JvhGY
CptCaptain has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #84933 → build-bazel-package: fix linkopt flags → https://git.io/JvhGO
shafox has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #84712 → Update Haskell package set to LTS 15.7 (plus other fixes) → https://git.io/JvxRF
<{^_^}> [nixpkgs] @peti pushed 15 commits to master: https://git.io/JvhG3
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84934 → python27Packages.pid: 3.0.0 -> 3.0.3 → https://git.io/JvhGn
linarcx has joined #nixos
drakonis1 has joined #nixos
Darkmatter66 has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<vika_nezrimaya> / as tmpfs with /nix and /var being on separate partitions, kinda like Android before Android P with system-as-root... This sounds like a great idea on paper
<Guest1> its nice that we have 2**10+3 people here
<{^_^}> [nixpkgs] @jonringer merged pull request #84934 → python27Packages.pid: 3.0.0 -> 3.0.3 → https://git.io/JvhGn
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.pid: 3.0.0 -> 3.0.3 »: https://git.io/JvhGK
<clever> vika_nezrimaya: `nixos-rebuild build-vm` and the ISO's basically boot just like that
bqv has quit [Ping timeout: 265 seconds]
<vika_nezrimaya> Can I set / in fileSystems as tmpfs and make my laptop boot like that? (assuming /nix on separate partition)
<vika_nezrimaya> or is it a bit more complex?
<evanjs> gr... what's the typical fix for apps not having their icons in hicolor? (or whatever I'm trying to say lol). Adding hicolor-icons to buildInputs? I feel like it might just be a problem with how the expression is written
<clever> vika_nezrimaya: yeah, that should boot just fine
<evanjs> texstudio isn't appearing in hicolor icons in this case
<evanjs> crashes taffybar
<clever> vika_nezrimaya: technically, all nixos needs to boot is /nix, but you will need /boot mounted to update the config, and the rest is more what you want to have persist
<vika_nezrimaya> basically /var and /home
<vika_nezrimaya> even /home can be mounted from a networked storage - this means the laptop won't be able to work offline and it may create trouble with home-manager stuff
<vika_nezrimaya> I'll probably need to make some clever links then
bqv has joined #nixos
<clever> vika_nezrimaya: note that if you have any result symlinks in NFS, and you run a garbage collection when it isnt mounted, the things they point to will get deleted
<vika_nezrimaya> and /var... is there a lot of data in /var that really needs to be persisted on a non-server machine?
<{^_^}> [nixpkgs] @doronbehar opened pull request #84935 → python.pkgs.sane: init at 2.8.2 → https://git.io/JvhGS
<clever> vika_nezrimaya: about the only thing of importance i can think of is the uid map (or define all uid's in configuration.nix) and the journals
<vika_nezrimaya> clever: which is why home-manager always infects /nix/var/nix/profiles/per-user/$USER/ with itself
<vika_nezrimaya> clever: networked journaling?
<clever> vika_nezrimaya: that can work, as long as its not a network error causing the failure you want to debug
<vika_nezrimaya> lol
<clever> Apr 06 04:50:45 router kernel: e1000 0000:04:02.1 enp4s2f1: Detected Tx Unit Hang
<clever> vika_nezrimaya: have fun with problems like this :P
<vika_nezrimaya> in which case I'll probably be dropped to a recovery console in the tmpfs
ggpeti[m] is now known as ggpetiOld[m]
ggpeti[m] has joined #nixos
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84936 → python27Packages.jwcrypto: 0.6.0 -> 0.7 → https://git.io/JvhGb
<{^_^}> [nixpkgs] @jonringer merged pull request #84895 → pythonPackages.HAP-python: init at 2.7.0 → https://git.io/JvppX
<{^_^}> [nixpkgs] @jonringer pushed commit from @Oro to master « pythonPackages.HAP-python: init at 2.7.0 »: https://git.io/JvhGN
<Guest1> is this home-manager only useful for multiuser environments? I keep hearing about it in nix-related things
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
ATuin has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #84936 → python27Packages.jwcrypto: 0.6.0 -> 0.7 → https://git.io/JvhGb
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.jwcrypto: 0.6.0 -> 0.7 »: https://git.io/JvhZe
<vika_nezrimaya> Guest1: home-manager is NixOS for your ~/.config
<vika_nezrimaya> well kinda
cjpbirkbeck has joined #nixos
<Guest1> ok
<clever> i think the main value of home-manager is to update stuff in your user, seperately from nixos
<vika_nezrimaya> It can install programs into your user profile using Nix, it can manage your config files and even configure your window manager for you
<{^_^}> [nixpkgs] @rnhmjoj pushed commit from @JoshuaFern to release-20.03 « citra: 2019-10-05 -> 2020-03-21 »: https://git.io/JvhZJ
<vika_nezrimaya> clever: lol my flake makes me update both in lockstep
<clever> for example, you may find yourself unable to nixos-rebuild a simple 1 line config change, because virtualbox needs 2 hours to compile
<clever> vika_nezrimaya: then why even do it? :P
<vika_nezrimaya> ~/.config management
<vika_nezrimaya> also it downloads my wallpaper
<pie_[bnc]> wish we had something to deal with this <clever> for example, you may find yourself unable to nixos-rebuild a simple 1 line config change, because virtualbox needs 2 hours to compile
jbrock has quit [Quit: jbrock]
<pie_[bnc]> consider: have the nix config generate a wrapper that builds it the first time you call it
jbrock has joined #nixos
<pie_[bnc]> otoh...that doesnt work does it because kernel modules
<vika_nezrimaya> modprobe
<pie_[bnc]> so it would have to be more complicated
<pie_[bnc]> well yeah, lazy modprobe anyone? :P
<pie_[bnc]> with file watches?
<pie_[bnc]> * inotify
<vika_nezrimaya> { package, binaryName ? package.pname }: writeShellScriptBin package.name "$(nix build --no-link ${package.drvPath})/bin/${binaryName}"
<vika_nezrimaya> pie_[bnc]: kinda like this? ;3
OrangeTetra has joined #nixos
<vika_nezrimaya> this pins the derivation but doesn't build the package itself until runtime. Please note that the build result WILL BE garbage-collected.
luna has quit [Ping timeout: 256 seconds]
<vika_nezrimaya> s/package\.name/binaryName/
ggpeti[m] is now known as ggpeti1[m]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ab018f754bc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<Guest1> does anyone else here use waybar? i keep getting "missing require resource files" even though a config file is present in ~/.config/waybar/config
<Guest1> required*
<vika_nezrimaya> do you have css?
<vika_nezrimaya> in the same folder
<Guest1> no, just the config file
<cole-h> You need a css lol
<Guest1> there we go
<Guest1> unicode characters aren't showing properly though
<pie_[bnc]> vika_nezrimaya: that wont get you the kernel module set up automatically though ;p
<pie_[bnc]> also why are you building the drvpath instead of just the package directly?
<vika_nezrimaya> This is the magic trick
<vika_nezrimaya> drvPath is the .drv file, it's easy to produce
<vika_nezrimaya> and it can reconstruct the whole package
<pie_[bnc]> I dont follow
<vika_nezrimaya> I'm deferring the realization of the package
<pie_[bnc]> > pkgs.hello
<{^_^}> "<derivation /nix/store/1g5j94c1jb7dm1qd0wdrxbax2a16qba7-hello-2.10.drv>"
<pie_[bnc]> > pkgs.hello.drvPath
<{^_^}> "/nix/store/1g5j94c1jb7dm1qd0wdrxbax2a16qba7-hello-2.10.drv"
<pie_[bnc]> oh
<pie_[bnc]> duh
<vika_nezrimaya> It only keeps immediate dependencies of the package
shafox has quit [Remote host closed the connection]
<vika_nezrimaya> won't work for steam for exactly this reason
<cole-h> Guest1: Need to set your font fallback in that css then, probably
<pie_[bnc]> you want the string not forit to be built when coerced
<vika_nezrimaya> yep
<vika_nezrimaya> Coercion of a derivation to string builds the actualy package
<vika_nezrimaya> drvPath should avoid that
arjen-jonathan has joined #nixos
<vika_nezrimaya> drvPath only requires immediate dependencies
<vika_nezrimaya> with flakes I think one could go one step further by referencing a Nix expression instead of a drv, saving on dependency builds
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<pie_[bnc]> well technically IfD is a thing
jbrock has quit [Client Quit]
<vika_nezrimaya> no, IfD probably won't save us here
jbrock has joined #nixos
acarrico1 has joined #nixos
<pie_[bnc]> i dont really see how to avoid a drv
<vika_nezrimaya> { flake, outputPath, binaryName }: pkgs.writeShellScriptBin binaryName "${pkgs.nixFlakes} run ${flake}#${outputPath} -c ${binaryName} \"$@\""
<vika_nezrimaya> like this! >:3
<pie_[bnc]> also does pulling in the drv really force dependencies?
<vika_nezrimaya> Yep
jeromelanteri has quit [Quit: Leaving]
<pie_[bnc]> i find that a bit odd but ok. I havent played with this delayed stuff
<vika_nezrimaya> but this variant which only works with flakes forces the instantiation also to be deferred, which stops dependencies from downloading
<pie_[bnc]> does it really force the deps, and not just dep drvs?
<vika_nezrimaya> I've just tested it
<pie_[bnc]> mh
<pie_[bnc]> maybe theres some way to magically lazyify it
linarcx has quit [Quit: WeeChat 2.8]
<Guest1> how would you programmatically instantiate it?
<pie_[bnc]> by which i mean have it generate the drvs (though I guess im not sure how this will tie into GC)
<ixxie> s
acarrico has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #nixos
glittershark has joined #nixos
<pie_[bnc]> i could see myself just making a nix file to which i defer the call x)
ggpeti[m] has joined #nixos
<vika_nezrimaya> { description = "Test"; edition = 201909; inputs.nixpkgs = { type = "indirect"; id = "nixpkgs"; }; outputs = { self, nixpkgs }: { test = lazyFlakePackage { flake = nixpkgs; outputPath = "legacyPackages.x86_64-linux.steam"; binaryName = "steam"; }; }; }
<glittershark> I have this crazy idea I can't shake of making machine learning models nix derivations
* pie_[bnc] hasnt touched flakes at all yet
<glittershark> has anyone else looked into that at all?
<pie_[bnc]> wow so many new usernames in here
<vika_nezrimaya> this is a simple flake that takes nixpkgs as an input and produces an output called "test" that runs steam lazily
<ixxie> glittershark: cool idea!
<pie_[bnc]> or at least ones i havent seeen ye-WHAO WHEN DID WE TOP 1000 PEOPLE IN THE CHAN
<vika_nezrimaya> nix build $FLAKE#test
<vika_nezrimaya> then result/bin/steam
<vika_nezrimaya> BOOM
<glittershark> there are some obvious downsides with machine learning in nix
<ixxie> glittershark: so you can version the model much the same way nixos generations are
<pie_[bnc]> glittershark: what do you mean machine learning models as nix derivations
<vika_nezrimaya> like no randomization?
<glittershark> the big one is that datasets tend to be large enough that hashing them is probably impractical
<glittershark> I mean like, the training of the model is the builder of a derivation
<glittershark> and the output is the model weights
<ixxie> training is effectively a build process
<glittershark> exactly
<ixxie> input = model + data
<ixxie> model here meaning the code
<glittershark> this idea has been stuck in my head for more than a year at this point
<ixxie> model is an overloaded term in ML, it can mean both the code and the build output
<vika_nezrimaya> output = an AI that finds cuties in chat
<glittershark> I mean in the python world you generally ship models as pickle files
<glittershark>
<vika_nezrimaya> already trained and ready to test
<glittershark> which contain both the code and the weights
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<pie_[bnc]> doesnt sound problematic if you can run all your cuda whatever in the build sandbox
<glittershark> exactly
<glittershark>
<glittershark> but like
aw has joined #nixos
<glittershark> for example I have one model where the training dataset is 500TB
<glittershark> lol
<pie_[bnc]> i heard of someone else doing their pdf processing in the builder
<glittershark> "dumping large path (more than 256MB), this may run out of memory"
<ixxie> I think the difficulty here is more that typically Nix is designed to build code... and data is normally stored in different places
<vika_nezrimaya> 500TB in nix store? that's not a problem, that's a CHALLENGE >:3
<glittershark> yeah like
<pie_[bnc]> after that i ended up just using nix as a runner thingy
spacefrogg has joined #nixos
<glittershark> honestly this isn't a technically insurmoutable problem
<pie_[bnc]> that gave parallelism and sandboxing
<pie_[bnc]> i kind of overcomplicated it but it was coolwhen it worked imo
<glittershark> like... even remote builds in nix seem like a perfect use case for ML
<pie_[bnc]> glittershark: looool
<pie_[bnc]> @ 500TB
<vika_nezrimaya> If you can split your dataset into separate chunks, it'll become a little bit easier
<pie_[bnc]> wait
<glittershark> where you want to have distributed execution of machine learning
<pie_[bnc]> 500TB? do you work for google or something
<ixxie> glittershark: indeed... its just about figuring out the porcelain here...
<pie_[bnc]> yeah nix isnt exactly IO optimized
<glittershark> pie_[bnc]: no but 500TB isn't unheard of for large-scale image recognition
<pie_[bnc]> aha
acarrico has joined #nixos
<ixxie> ML models are data hogs
<glittershark> yeah
<glittershark>
<glittershark> like...
<glittershark> I want to make nix work for ML
<vika_nezrimaya> how about chunks around 256M each? can your dataset then guzzle up data from several chunks sequentially?
<glittershark> but I think it'd require a significant reworking
<pie_[bnc]> glittershark: might want to talk to tbenst[m] btw
<glittershark> yeah I have the suspicion that this'd require recursive nix
<ixxie> well the models are typically single binaries afaik
<glittershark> where you have a nix builder to chunk up the data and shove it in the nix store
<glittershark> yeah the problem isn't the model, the problem is the training set
<vika_nezrimaya> then you just import the chunks into /nix/store, create a derivation that gathers paths for all the chunks and then trains the model sequentially on every chunk
<pie_[bnc]> he did https://github.com/nix-community/nix-data at least
<glittershark> ooh I hadn't heard about that, thanks
<{^_^}> [nixos-search] @garbas pushed 0 commits to netlify: https://git.io/JvhZh
<Keith[m]> I'm trying to make a wrapper around stdenv.mkDerivation specifically for compiling forks of dolphin-emu. The wrapper has about 30 dependencies. Is there a good way to not have to add all those dependencies to every derivation that uses it without making the wrapper import nixpkgs?
<pie_[bnc]> not sure if its anytihng fancy but i think you have similar interests so i thought id bring itup
acarrico1 has quit [Ping timeout: 265 seconds]
<glittershark> yeah so I currently have a team of data scientists + ML engineers who use nix in their main workflow every day
<pie_[bnc]> im not sure you *have* to put the 500TB in the store
<pie_[bnc]> maybe you can do something where its just a pointer
<glittershark> but that's just for managing dependencies of jupyter notebooks
<ixxie> glittershark: neat! which company?
<pie_[bnc]> it remains a question how to mount it in the builder
<vika_nezrimaya> pie_[bnc]: Nope, not reproducible then
<glittershark> https://urbint.com/
<vika_nezrimaya> This won't work
<pie_[bnc]> vika_nezrimaya: just because its not in the store doesnt mean it cant be immutable
<glittershark> I mean you could fake reproducibility by saying "here's the hash of this data, I promise it won't change"
<glittershark>
<pie_[bnc]> then again
<vika_nezrimaya> it has eventually to be in the store for it to be accessible to the builder
<glittershark> not reproducible enough to hold up in a court but reproducible enough to get by probably
<pie_[bnc]> i really dont see why this cant be in the store
<glittershark> well you'd probably have to build without sandboxing
<pie_[bnc]> its probably possible to avoid copying it
<pie_[bnc]> i dont know enough internals
<glittershark> I wonder if it'd be feasible to build something into nix to read something out of a remote store without directly substituting it
<pie_[bnc]> youd need (?) the sqlite database to be synced up and you could maybe just mount the dataset in or something
<glittershark> yeah like a fuse mount
<glittershark> kinda thing
<pie_[bnc]> glittershark: that sounds like something that might exist already
<pie_[bnc]> also i think you can specify other store paths but i dont know if thats in any way actually usable for anything
<glittershark> again, this feels like something that needs recursive nix
<glittershark> wanna play around with that POC branch eelco has
<pie_[bnc]> consider the possibility that it might not be needed
<psiperator[m]> How do i get a NixOS system to detect/register .desktop files for packages in my user configuration (~/.config/nixpkgs/config.nix)?
lsix has quit [Quit: WeeChat 2.7.1]
<pie_[bnc]> maybe it is but what if its not
<glittershark> so like
<glittershark> take for example
<glittershark> a GIS dataset
<glittershark> like a big old pile of geotiff rasters
<vika_nezrimaya> psiperator[m]: home-manager does that with a bit of environment variables AFAIK
<glittershark> if those are in the nix store *directly*, I don't know which file I'm looking for without being able to query the nix store directly, right
<glittershark> like I feel like what I need is a GIN index *into* the nix store
<pie_[bnc]> glittershark: dunno?
<glittershark> like uh
<glittershark>
<pie_[bnc]> normally you point at whatever and nix deduplicates into the same store object
<glittershark> right
<glittershark>
<glittershark> I mean like
<pie_[bnc]> (not even sure how that works actually)
<glittershark> without explicitly passing in a full map from lat/lon to raster file as the environment
<glittershark>
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84937 → python27Packages.podcastparser: 0.6.4 -> 0.6.5 → https://git.io/Jvhnk
<glittershark> which would blow up the env var limits
<glittershark> and potentially OOM
<psiperator[m]> <vika_nezrimaya "psiperator: home-manager does th"> Thanks, ive put off using home manager so i guess this is an excuse to check it out. I assume theres no easier way where i just declare a pathsToLink or something?
LRB has joined #nixos
<pie_[bnc]> well im pretty sure we've established we dont want to be copying anything around anywhere xD
<glittershark> what I feel like I need is an index from lat/lon to raster file
<glittershark> yeah also that :P
<vika_nezrimaya> psiperator[m]: For me if it's in ~/.nix-profile/share/applications it somehow shows up
<glittershark> where "raster file" is a nix store path
<pie_[bnc]> vika_nezrimaya: psiperator[m]: idk but nixos does some stuff with the XDG variables, so something might be happening through that
<glittershark> *shrug* anyway, if anyone has any thoughts about this get at me
<pie_[bnc]> glittershark: well, you could build a database while importing stuff into the store i think?
LRB has quit [Client Quit]
<pie_[bnc]> if nothing else you can run a script that imports everytihng into the store manually, adds (a?) GC roots, and creates some kind of database
<pie_[bnc]> (well ideally the other stuff would be dependencies of the database instead of random gc roots i guess)
<pie_[bnc]> then you import the database into whatever needs it
<pie_[bnc]> im justcluelessly handwaving here
<zeta_0> does anyone here know how to use the M-x nix-shell command in emacs, the prompt asks for a nix-attr, what does that mean, i'm not sure what to fill in?
<pie_[bnc]> like, if the big data is immutable, its worst case one copy. i dont know about nix's performance characteristics over networked storage (i imagine you dont have 500TB on one machine)
<pie_[bnc]> but once everything is built its just normal linux binaries with weird env vars and paths
<{^_^}> [nixpkgs] @doronbehar opened pull request #84938 → gjo: init at 1.0.2 → https://git.io/JvhnZ
<ixxie> I'm having trouble with minecraft... I run nixos-unstable and the build fails with a 404 on fetching version 2.1.5965 but this is weird because it seems 2.1.13509 the version on the nixos-unstable branch on nixpkgs
<pie_[bnc]> zeta_0: looks for examples, check the source code, attr sounds like attribute so its probably just something like nixpkgs.hello or whatever
<pie_[bnc]> zeta_0: also considering that its the nix-shell command, its probably an argument that nix shell takes. if you check the source you might see something like -A, which would make sense for consuming an attribute
oranginal has joined #nixos
<pie_[bnc]> zeta_0: i have no idea, im just guessing here based off what i know
<pie_[bnc]> ixxie: are you looking at the repository? im not sure if that matches up with whats actually on the channels
<pie_[bnc]> ixxie: theres a link but idk off the top of my head, for checking how far channels have advanced
<energizer> zeta_0: i just use lorri with emacs-direnv
<ixxie> pie_[bnc]: yeah I am looking at the repo
<pie_[bnc]> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<ixxie> pie_[bnc]: but checking the branch corresponding to the channel I use (which I assumed would show the correct commit)
OrangeTetra has quit [Ping timeout: 250 seconds]
<pie_[bnc]> uhh wait this looks broken
<clever> pie_[bnc]: it got moved to https://status.nixos.org/
<pie_[bnc]> ixxie: here we go https://status.nixos.org/
<pie_[bnc]> clever: yeah just found it
drakonis has quit [Read error: Connection reset by peer]
<ixxie> anyway, I just need to override the version in the package... how do I do that?
<pie_[bnc]> glittershark: you might also just run into someone who has a much better idea of things than i do and acutually get some answers :P
arjen-jonathan has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
<pie_[bnc]> ixxie: global config or just one-off?
<{^_^}> [nixpkgs] @doronbehar opened pull request #84939 → gnome3.ocrfeeder: init at 0.8.3 → https://git.io/Jvhnu
<ixxie> pie_[bnc]: in the global config but for the one package
<pie_[bnc]> ixxie: also i think nixpkgs-ustable is newer, but this is dangerous to use for system stuff because i think it doesnt go through CI or something
<pie_[bnc]> or maybe just doesnt have bootability checks
<ixxie> pie_[bnc]: yeah don't wanna do that
<pie_[bnc]> i never really looked into it because i didnt need to
<pie_[bnc]> but for minecraft it should be fine
<pie_[bnc]> or you can just override the jar url or whataever it is that minecraft takes, sure
<pie_[bnc]> .overrideAttrs is probably what you want in that case
ATuin has quit [Ping timeout: 256 seconds]
<ixxie> pie_[bnc]: do you have an example of how to call that in a config?
<zeta_0> pie_[bnc] energizer : thanks for the tips, i'll try that stuff out, the emacs pkgs for nix don't have documentation on using nix-shell in emacs, so i'm trying to understand the src code to figure it out
<energizer> zeta_0: i'm saying i don't use nix-shell in emacs, i use lorri+direnv instead
<glittershark>
<glittershark> lorri++
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<pie_[bnc]> ixxie: how familiar are you with functional languages? https://en.wikipedia.org/wiki/Referential_transparency "In languages with no side-effects, like Haskell, we can substitute equals for equals: i.e. if x=y then f(x) = f(y)"
<pie_[bnc]> ixxie: so if `minecraft` is a derivation, and `minecraft.overrideAttrs whatever` also returns a derivation, you can just substitute it
qrnteen has quit [Remote host closed the connection]
<pie_[bnc]> basically just stick a derivation typed thing in the same place
<ixxie> glittershark: so you manage all your data science environments in Nix without using anything like venvs?
<pie_[bnc]> and then you need to pass the appropriate arguments in place of whatever
OrangeTetra has joined #nixos
<pie_[bnc]> glittershark: do you guys use R?
<pie_[bnc]> glittershark: do you use the R packages infrastructure?
<ixxie> pie_[bnc]: not too familiar with them except Nix but I feel like it never quite completely clicked for me tbh
<pie_[bnc]> ixxie: no big deal, if you spend time with it itll begin to make more sense
<Guest1> well, thanks for the help everyone
Guest1 has quit [Quit: Connection closed]
<ixxie> thanks pie_[bnc]++ :)
<{^_^}> pie_[bnc]'s karma got increased to 2
<pie_[bnc]> it took me a long time to get bootstrapped till i managed to start doing things by myself
<pie_[bnc]> i still just hope people have the patience to deal with me ;p
<zeta_0> energizer: will lorri+direnv use my user pkgs? i'm trying to figure out how to use nix-shell in emacs, because i need an isolated environment
oranginal has quit [Ping timeout: 265 seconds]
<pie_[bnc]> but yeah in a pure language with referential transparency, equality really means equality, which means you can just substitute whichever side of the equals sign and get the same thing
<energizer> zeta_0: lorri+direnv will use the packages defined in your project environment
knupfer has quit [Client Quit]
knupfer has joined #nixos
<pie_[bnc]> (well equality in a certain sense, because different kinds of equality exist, but nevermind)
knupfer has quit [Client Quit]
knupfer has joined #nixos
glitters` has joined #nixos
<pie_[bnc]> ixxie: so you can probably find some examples, but what youre interested in is going to be the src parameter, and you should probably look at how the minecraft package is defined
<pie_[bnc]> ixxie: have you ever used overrideDerivation?
<{^_^}> [nixpkgs] @symphorien opened pull request #84940 → roundcube: use pspell for spellchecking → https://git.io/Jvhny
knupfer has quit [Client Quit]
<pie_[bnc]> it just takes the same arguments as mkderivation
knupfer has joined #nixos
glittershark has quit [Ping timeout: 260 seconds]
knupfer has quit [Client Quit]
<pie_[bnc]> ixxie: its also probably worth prototyping your expression with nix-build before adding it to your system
<pie_[bnc]> its a bit faster
knupfer has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #84941 → qtemu: init at 2.1 → https://git.io/JvhnS
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
ambroisie has quit [Ping timeout: 265 seconds]
<zeta_0> energizer: so will that setup use cabal2nix to translate the .cabal file to nix? i use developPackage(it uses callCabal2nix) in my default.nix file to automate that for me
jbrock has quit [Quit: jbrock]
morgrimm has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/66d8a2bda51 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
jbrock has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
ggpetiOld[m] has left #nixos ["User left"]
knupfer has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<energizer> zeta_0: write a shell.nix that imports your default.nix and does mkShell{buildInputs=[yourpackage];}, then lorri will behave like nix-shell
knupfer has joined #nixos
ggpeti1[m] has left #nixos ["User left"]
knupfer has quit [Client Quit]
<zeta_0> energizer: thanks, i'll try that out
<zeta_0> energizer++
<{^_^}> energizer's karma got increased to 3
knupfer has joined #nixos
knupfer has quit [Client Quit]
<zeta_0> also, is stack2nix broken in nixos 19.09 ? i need to use that tool
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
OrangeTetra has quit [Quit: Leaving]
knupfer has quit [Client Quit]
knupfer has joined #nixos
opticnerve has quit [Ping timeout: 260 seconds]
<zeta_0> will stack2nix work on the new nixos stable 21.03 version ?
<zeta_0> i tried to install the unstable version of stack2nix, but that's broken as well
esemds has quit [Quit: Connection closed for inactivity]
Naptra has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #84937 → python27Packages.podcastparser: 0.6.4 -> 0.6.5 → https://git.io/Jvhnk
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.podcastparser: 0.6.4 -> 0.6.5 »: https://git.io/JvhcT
<infinisil> stack2nix doesn't get maintained anymore, and old versions also won't work with newer stackage snapshots
<{^_^}> input-output-hk/stack2nix#140 (by idontgetoutmuch, 1 year ago, open): stack2nix fails to install
<{^_^}> input-output-hk/stack2nix#171 (by domenkozar, 31 weeks ago, open): Maintenance ownership
<cole-h> "idontgetoutmuch" Me neither, now.
<{^_^}> [nixpkgs] @jonringer merged pull request #84929 → v4l2loopback: 0.12.3 -> 0.12.4 → https://git.io/JvhOb
<{^_^}> [nixpkgs] @jonringer pushed commit from @Trundle to master « v4l2loopback: 0.12.3 -> 0.12.4 »: https://git.io/JvhcI
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
chloekek has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #84942 → zeek: 3.0.3 -> 3.1.1 → https://git.io/JvhcZ
knupfer has quit [Client Quit]
knupfer has joined #nixos
mallox has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « chromium: Fix the VA-API build »: https://git.io/Jvhcn
knupfer has quit [Client Quit]
knupfer has joined #nixos
thibm has quit [Quit: WeeChat 2.6]
<zeta_0> oh ok, that haskell.nix seems to be just what i need, and they already provide default.nix files, that's nice
<ixxie> when should I use overrideDerivation over overrideAttrs? I don't quite understand the difference
knupfer has quit [Client Quit]
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 265 seconds]
thibm has joined #nixos
<infinisil> ixxie: Just use .overrideAttrs, don't even bother about the other one, it's never what one wants
<{^_^}> [nixpkgs] @marsam merged pull request #84646 → tautulli: 2.2.0 -> 2.2.1 → https://git.io/JvAbB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvhcW
<infinisil> (well, almost never)
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<zeta_0> infinisil: thanks for pasting the information regarding my problem, that haskell.nix tool looks like it's going to be very useful
<zeta_0> infinisil++
<{^_^}> infinisil's karma got increased to 252
chagra_ has joined #nixos
jbrock has quit [Client Quit]
chagra has quit [Ping timeout: 256 seconds]
ddellacosta has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @drewrisinger opened pull request #84943 → python3Packages.qiskit: 0.17.0 -> 0.18.0 → https://git.io/Jvhcu
morgrimm has quit [Ping timeout: 264 seconds]
<energizer> it would be helpful to have a table or flowchart about when to use all the different overrideFoo functions, and all the different FooBuildInputs=
Baughn has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @woffs opened pull request #84944 → pingus: move cmake to nativeBuildInputs → https://git.io/Jvhca
drakonis has quit [Read error: Connection reset by peer]
Baughn has joined #nixos
drakonis has joined #nixos
<energizer> gchristensen: that's great
<ixxie> good to know infinisil
<energizer> ixxie: check out gchristensen's link
<ixxie> what was the command to delete old generations?
<ixxie> aha, thanks gchristensen, energizer :)
<bqv> hey, nice, i fixed matrix
<bqv> my problem wasn't networkd
<bqv> it was the lack of iptables
<zeta_0> the link to iohk.cachix.org is broken, could you guys paste the correct link
dermetfan has quit [Ping timeout: 265 seconds]
ddellacosta has joined #nixos
ixxie has quit [Quit: Lost terminal]
ixxie has joined #nixos
<zeta_0> that link was in the haskell.nix repository, so maybe that haven't updated the link yet: https://github.com/input-output-hk/haskell.nix
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84268 → python3Packages.nose2: 0.9.1 -> 0.9.2 and fix build for ZHF → https://git.io/JvbQm
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvhcN
__monty__ has quit [Quit: leaving]
erasmas has quit [Quit: leaving]
dongcarl has quit [Ping timeout: 260 seconds]
dermetfan has joined #nixos
<zeta_0> nevermind, there's another cachix link at towards the bottom of the repository, they need to fix those broken links
noudle has quit []
<thibm> I assume there is no way to prioritize dependency evaluation order?
ambroisie has joined #nixos
jbrock has joined #nixos
<thibm> A derivation depends on a list of derivations. I would like one of them to be built before the others
<energizer> curious why do you want one of them built before the others?
<thibm> Why? Because each of them takes hours to build, and I'll see tomorrow how far it went.
<ixxie> would `sudo nix-collect-garbage --delete-older-than 14d` remove all generations of nixos older than two weeks?
jbrock has quit [Client Quit]
<simpson> thibm: You can take the one that you want built, and directly build that one. It sounds like this is more about how to ask Nix to do that?
jbrock has joined #nixos
<simpson> thibm: If you can get your attrset into nix-repl, for example, then `:b` can build just the given derivation, and not the entire attrset.
<thibm> If it builds like 50% of the derivations, I change the "main" one to depend only on those 50%, so I get my result I want only of those 50%
<thibm> simpson: yes I can just do it myself
<{^_^}> [nixpkgs] @drewrisinger opened pull request #84945 → [WIP][HELP NEEDED PyPi Wheel or Rust in Python]: python3Packages.retworkx: init at 0.3.3 → https://git.io/JvhCT
<thibm> I may be trying to put to much work on Nix's shoulders
<thibm> (Just wanted to nix-build the damn thing before going to bed)
zeta_0 has quit [Quit: rebuilding]
<thibm> I used to use parallel to build this kind of stuff, but nix `max-jobs' is good for that.
<simpson> thibm: Well, like, suppose you have derivations X and Y, with Y depending on X. If you attempt to build X, and then attempt to build Y regardless of the first build's status, then you'll get the effect that you want.
<thibm> Since here max-jobs=1 I'll just build them one after one
dermetfan has quit [Ping timeout: 260 seconds]
<thibm> I have derivation Y that depends on [ X1 X2 X3 X4 ]
fendor has quit [Read error: Connection reset by peer]
<thibm> I may be fine with only half of the dependencies, but I prefer to have X1 X2 over X3 X4.
<thibm> I'll just build them sequentially in a shell script
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @worldofpeace pushed 13 commits to release-20.03: https://git.io/JvhCL
<{^_^}> [nixpkgs] @worldofpeace pushed to release-20.03 « nixos/gnome-remote-desktop: enable pipewire »: https://git.io/JvhCm
<simpson> Sure. I don't think that there's a good long-term solution, though, other than to just not have such a cold cache.
<energizer> or just write a derivation that depends on the things you want
<thibm> In fact, it seems (really, seems) that Nix build derivation in their name's lexicographic orders. It has to choose an order (even random). All my derivations have the same name except the last few characters
<thibm> I added a "0" before those character for the derivation that I really want, and it does the trick
<energizer> haha
<thibm> It's probably not reliable, but it's a one-time thing
<infinisil> thibm: If you see the logs "Building derivations bla bla bla", you can copy the .drv path you want and run `nix-store -r /nix/store/....drv` to build that one exclusively
<thibm> (To give more context, each derivation try to do something at X frequency. The main derivation gathers result and extracts the best one. So it's fine to keep 50% of dependency)
alexherbo2 has quit [Ping timeout: 240 seconds]
drakonis has quit [Read error: Connection reset by peer]
<thibm> infinisil: the thing is that I don't want to build only this one. I want it to do the maximum until tomorrow morning :>
<thibm> But with priority on 1 or 2 of them
<simpson> I don't know enough, but IMO I would consider choosing something like GNU Parallel for this, rather than Nix, if you have a really flat dependency graph and you want to have fine-grained control over a massively-parallel "build" not-really-a-build process.
drakonis_ has joined #nixos
<simpson> (Again, in the long term.)
<thibm> Yes I used to use GNU Parallel
drakonis2 has joined #nixos
<infinisil> I think recursive Nix is a thing since recently
<infinisil> So you could potentially use Nix within a derivation
<thibm> But Nix is better :p. Normally, you really don't care about the build order. It's a corner case. I change Nix's max-jobs option according to how jobs will use the server's ressource, to not get them killed. And Nix build them in parallel
<infinisil> To handle more complicated flows
<bqv> oh yeah, i enabled that as an experimental feature but i've yet to have a play with it
<bqv> is anyone using it anywhere?
gustavderdrache has quit [Quit: Leaving.]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thibm> What the recent news about recursive Nix?
<thibm> (I missed a big parts of last month's Nix news)
drakonis_ has quit [Ping timeout: 265 seconds]
<energizer> thibm: builds in order of derivation name for this exact reason https://github.com/NixOS/nix/commit/b7b6e3ddecae5a0463861ec6b1f400f2e37fd2a7
<thibm> Oh I was right! Thanks to finding this
hoplaahei has joined #nixos
<thibm> I was really a guess like: launch the thing 3 times, kill it 3 times, noticing that it's starting with the lowest frequency (in the name) derivation
<thibm> The "b$" trick
CptCaptain has quit [Ping timeout: 256 seconds]
<hoplaahei> hi. How can I run a system-wide auto-start script using sddm? services.xserver.displayManager.sessionCommands doesn't seem to work.
drakonis has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Thra11 has quit [Quit: WeeChat 2.7.1]
drakonis2 has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
o1lo01ol1o has joined #nixos
<peelz> is there a stable interface for `nix eval`?
thibm has quit [Quit: WeeChat 2.6]
zeta_0 has joined #nixos
<infinisil> peelz: nix-instantiate --eval
<peelz> infinisil++ thanks :P
<{^_^}> infinisil's karma got increased to 253
drakonis has quit [Ping timeout: 256 seconds]
<infinisil> :)
chloekek has joined #nixos
pbogdan has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
xO1 has quit [Ping timeout: 240 seconds]
<zeta_0> i went into a nix-shell using the haskell.nix tool and it worked, it automatically translated stack into nix, nice
cosimone has quit [Quit: Quit.]
snicket has quit [Ping timeout: 240 seconds]
pbb has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
pbb has quit [Excess Flood]
pbb has joined #nixos
jbrock has quit [Quit: jbrock]
<{^_^}> [nixpkgs] @bqv opened pull request #84946 → nixos/nftables: fix typo in ruleset example → https://git.io/JvhWr
jbrock has joined #nixos
mananamenos has joined #nixos
<bqv> ^ if anyone's bored, that doesn't involve any changes to any derivations or module code
eoli3n__ has quit [Ping timeout: 256 seconds]
jbrock has quit [Client Quit]
<mananamenos> hi, this line `virtualisation.virtualbox.host.enable = true;` with nixos-unstable channel now. Can i wrap into some expression to install from stable channel? For systems packages i do `let stable = import <stable> { config.allowUnfree = true; }; in with pgks; [..., stable.git ]`.
jbrock has joined #nixos
drakonis has joined #nixos
<mananamenos> for the packages that do not build with unstable channel.
ZoomZoomZoom has joined #nixos
citrinitas has joined #nixos
<drakonis1> someone should merge #84261
<{^_^}> https://github.com/NixOS/nixpkgs/pull/84261 (by catern, 6 days ago, open): cataclysm-dda: 0.D -> 0.E
<drakonis1> i'm hankering for some cdda right now
<drakonis1> i should also turn off the mitigations
drakonis has quit [Client Quit]
drakonis1 is now known as drakonis
drakonis_ has quit [Ping timeout: 260 seconds]
<drakonis> desktop slower than when i bouhgt
<drakonis> bought
<{^_^}> [nixpkgs] @nyanloutre opened pull request #84948 → nginx-sso: 0.24.0 -> 0.24.1 → https://git.io/JvhWN
<ixxie> what was the function for loading a string from a file again?
<chloekek> builtins.readFile
<qyliss> builtins.readFile?
<bqv> lib.fileContents!
<bqv> wait, oops
<bqv> i meant builtins.readFile, definitely
jgeerds has joined #nixos
<ixxie> cheers golks
<ixxie> folks*
mananamenos has quit [Remote host closed the connection]
Serus_ is now known as Serus
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @bqv opened pull request #84949 → nixos/nat: substitute iptables for compat under nftables → https://git.io/JvhlV
jbrock has quit [Client Quit]
<bqv[m]> hey it me again
<bqv[m]> that one's less trivial
jbrock has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #84950 → [20.03] python3Packages.nose2: 0.9.1 -> 0.9.2 and fix build for ZHF → https://git.io/Jvhl6
<{^_^}> [nix] @bqv closed pull request #3443 → Update hacking.xml → https://git.io/JvyMt
ixxie has quit [Quit: Lost terminal]
abathur has joined #nixos
maddo has quit [Quit: See ya]
philr has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #84951 → samba: Fix path to krb5kdc → https://git.io/Jvhl5
<{^_^}> [nixpkgs] @danielfullmer opened pull request #84952 → zoneminder: fix evaluation with new php refactor → https://git.io/JvhlF
<bqv> hey, question, if i start building a system, but it doesn't finish, and i take a break to sleep, and in between my auto gc runs, it's gonna purge all the progress on that system, isn't it
<energizer> i'm following these instructions https://nixos.org/nixos/manual/index.html#sec-installation-partitioning-UEFI and `parted /dev/sda -- mkpart primary linux-swap -8GiB 100%` leaves me with a swap partition that's 512B (yes, B). did i do something wrong?
<bqv> uh, are you trying to make it minus 8 gigs?
<energizer> bqv: i dont understand the syntax
<energizer> but that is what the instructions say
<bqv> take the minus out, see what happens
jrddunbr has quit [Ping timeout: 240 seconds]
<energizer> same thing
justanotheruser has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84953 → python37Packages.pyhomematic: 0.1.62 -> 0.1.65 → https://git.io/Jvh8U
<ZoomZoomZoom> Hi. Could anyone with merging rights take a look at #84687 ? linuxPackages_testing_bcachefs fails to build without it
<{^_^}> https://github.com/NixOS/nixpkgs/pull/84687 (by jonringer, 2 days ago, open): linuxPackages_testing_bcachefs.fwts-efi-runtime: remove failing patch
LysergicDreams has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
ixxie has joined #nixos
<citrinitas> Is this a good place to ask about nodePackages / node2nix ?
shibboleth has quit [Quit: shibboleth]
<zeta_0> could someone paste a link that has the documentation for withHoogle? i can't seem to get it working in my default.nix(line: 27): https://dpaste.org/HUzx
justanotheruser has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
marsh has quit [Ping timeout: 256 seconds]
marsh has joined #nixos
cr4y1_ has quit [Ping timeout: 250 seconds]
<Orbstheorem> `nix-shell '<nixpkgs>' -A pkgsCross.armv7l-hf-multiplatform.linux` is awesome :)
* Orbstheorem remembers the pains of cross compiling years ago
* Orbstheorem is happy
<infinisil> I can't imagine how this kind of thing would be done without Nix
<peelz> that's pretty neat
<clever> this is how ive been doing similiar
<clever> ncurses has to be added to the pkgconfig path, to allow `make menuconfig`
<{^_^}> [nixpkgs] @unode opened pull request #84954 → mnemosyne: Fix Qt related segfault and OpenGL warning → https://git.io/Jvh82
<zeta_0> clever: should i just give up on this withHoogle function? i can't seem to get it to work in my default.nix file: https://dpaste.org/HUzx
ixxie has quit [Quit: Lost terminal]
ixxie has joined #nixos
<zeta_0> clever: the online example i found looks like it's for something else: https://stackoverflow.com/questions/27728838/using-hoogle-in-a-haskell-development-environment-on-nix
<Orbstheorem> I'm trying to build a DS with two SPI screens and an odroid XU4 ^^