worldofpeace 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
xkapastel has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
dbmikus__ has joined #nixos
<{^_^}> jnas: Please expand your question to include more information, this will help us help you :)
toppler has joined #nixos
lunik1 has quit [Ping timeout: 268 seconds]
lunik1 has joined #nixos
inkbottle has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #71212 → nixosTests.gnome3-flashback: init → https://git.io/Je4vV
selfsymmetric-mu has quit [Remote host closed the connection]
toppler has joined #nixos
liamdiprose has quit [Remote host closed the connection]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je4vP
<aanderse> hey infinisil you around?
inkbottle has joined #nixos
<infinisil> Yup
<aanderse> favour if you don't mind... see pm please
mexisme has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
inkbottle has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
selfsymmetric-mu has joined #nixos
inkbottle has joined #nixos
<lunik1> is hardware acelleration enabled for chromium? the wiki says it is but in https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/chromium/default.nix useVaapi is false by default. Anybody know why this is?
toppler has quit [Ping timeout: 268 seconds]
wildtrees has quit [Quit: Leaving]
inkbottle has quit [Ping timeout: 276 seconds]
o1lo01ol1o has joined #nixos
toppler has joined #nixos
Arahael has quit [Ping timeout: 264 seconds]
slack1256 has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
Arahael has joined #nixos
freeman42xx has quit [Ping timeout: 276 seconds]
inkbottle has joined #nixos
Neo-- has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/04315358a93 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
toppler has joined #nixos
<AmandaC> whoops
dbmikus__ has quit [Ping timeout: 276 seconds]
<AmandaC> Turns out I messed up with this PR -- vscode-with-extensions doesn't link the .app correctly: https://github.com/NixOS/nixpkgs/pull/70486/files
<AmandaC> I'll hack on that in the morning I guess.
<AmandaC> I swear I tested that, but I guess I didn't
<worldofpeace> AmandaC: weird, it appears marsam did as well
toppler has quit [Ping timeout: 268 seconds]
ddellacosta has joined #nixos
jnas has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67670 → zsh-history: init at unstable-2019-08-29 → https://git.io/fjx4J
<{^_^}> [nixpkgs] @worldofpeace pushed 9 commits to master: https://git.io/Je4f3
ottidmes has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xrelkd opened pull request #71213 → youtube-dl: 2019.09.28 -> 2019.10.16 → https://git.io/Je4fc
oscarvarto has quit [Quit: Konversation terminated!]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
dsx has quit [Quit: dsx]
dsx has joined #nixos
doublex_ has joined #nixos
doublex has quit [Ping timeout: 245 seconds]
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #70781 → ocamlPackages.lru: 0.2.0 → 0.3.0; ocamlPackages.psq: 0.1.0 → 0.2.0 → https://git.io/JeW4c
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.lru: 0.2.0 → 0.3.0 »: https://git.io/Je4fw
<{^_^}> [nixpkgs] @vbgl merged pull request #70642 → coq_8_10: 8.10+β3 → 8.10.0 → https://git.io/JeCdM
<{^_^}> [nixpkgs] @vbgl pushed 4 commits to master: https://git.io/Je4fo
toppler has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #71199 → cargo-deps: init at 1.1.1 → https://git.io/Je8NJ
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Je4fP
dsx has quit [Quit: dsx]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #71156 → pythonPackages.elementpath: 1.1.8 -> 1.3.0 → https://git.io/Je8KB
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Je4f1
toppler has quit [Ping timeout: 265 seconds]
dsx has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #71214 → [19.09] Coq 8.10.0 → https://git.io/Je4fQ
orivej has quit [Ping timeout: 246 seconds]
mexisme has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
iqubic has joined #nixos
jasom has quit [Ping timeout: 245 seconds]
wfranzini has quit [Remote host closed the connection]
<ivan> lunik1: it's false after I found that it results in unplayable video on radeon
wfranzini has joined #nixos
<jophish> Squarism, right. Any extra packages go in extraenvpackages. Its important to note that these shouldn't be dependencies as ghc sees them, as in they won't appear in 'ghc-pkg list' or in the Hoogle database. I use this list for tools such as cabal-install, Vim, other binaries which are useful only in the nix-shell and required for building
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
wtv_nick has joined #nixos
Supersonic112 is now known as Supersonic
wtv_nick has quit [Client Quit]
wtv_nick has joined #nixos
ebzzry has quit [Ping timeout: 268 seconds]
dansho has quit [Quit: Leaving]
slack1256 has quit [Remote host closed the connection]
<clever> ivan: video playback works fine for me, but has some tearing
toppler has quit [Ping timeout: 276 seconds]
dsx has quit [Quit: dsx]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fce8b4837ae (from 83 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/04315358a93 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
domogled has quit [Quit: domogled]
toppler has joined #nixos
wtv_nick has quit [Quit: Lost terminal]
mexisme has joined #nixos
romce has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
wedens[m] has joined #nixos
toppler has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.2]
justanotheruser has joined #nixos
abathur has joined #nixos
doublex_ has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 268 seconds]
Dagger has quit [Quit: Quitting]
Dagger has joined #nixos
Arahael has quit [Ping timeout: 276 seconds]
doublex has joined #nixos
Arahael has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.6]
toppler has joined #nixos
ee194350 has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 240 seconds]
ee194350 has joined #nixos
schjetne has joined #nixos
<iqubic> Does NixOS correctly respect Daylight Savings? Like, when the USA's clocks change at the start of November, will I have to manually change my system's clock?
toppler has quit [Ping timeout: 265 seconds]
schjetne has quit [Ping timeout: 240 seconds]
pikajude has quit [Quit: ZNC 1.7.4 - https://znc.in]
toppler has joined #nixos
romce has left #nixos [#nixos]
<{^_^}> [nixpkgs] @jonringer merged pull request #70978 → discord-canary: 0.0.96 -> 0.0.97 → https://git.io/JelEe
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Je4UB
o1lo01ol1o has quit [Remote host closed the connection]
dsx has joined #nixos
iqubic` has joined #nixos
o1lo01ol1o has joined #nixos
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 245 seconds]
toppler has quit [Ping timeout: 265 seconds]
iqubic has joined #nixos
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
MrCCoffee has quit [Ping timeout: 276 seconds]
felixfoertsch has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #71202 → pythonPackages.hcloud: 1.6.1 -> 1.6.2 → https://git.io/Je8Nh
<{^_^}> [nixpkgs] @jonringer pushed commit from @liff to master « pythonPackages.hcloud: 1.6.1 -> 1.6.2 »: https://git.io/Je4Uo
Neo-- has joined #nixos
pikajude has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 265 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
dsx has quit [Quit: dsx]
o1lo01ol1o has joined #nixos
toppler has joined #nixos
dsx has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
wfranzini has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
endformationage has quit [Quit: WeeChat 2.6]
o1lo01ol1o has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
mexisme has joined #nixos
Ariakenom has joined #nixos
<wedens[m]> @iq
<wedens> * iqubic: why do you think its nixos specific?
tertl3_ has quit [Quit: Connection closed for inactivity]
phreedom has quit [Quit: phreedom]
dbmikus__ has joined #nixos
palo1 has joined #nixos
parity has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
o1lo01ol1o has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
Tucky has joined #nixos
nikivi has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Ping timeout: 276 seconds]
<Squarism> jophish, thanks.
mexisme has quit [Ping timeout: 264 seconds]
<Squarism> So I seem to fail making a an executable to be available on the path for a certain step of the build. Im not really sure if its because of my PATH isnt correct or if the the package hasnt been added to the build (Nixos doesnt seem to fail if you specify non-existen packages)
<Squarism> what means to I have to debug the build?
zupo has joined #nixos
toppler has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @veprbl merged pull request #69584 → kicad: 5.1.2 -> 5.1.4 → https://git.io/JeG7X
<{^_^}> [nixpkgs] @veprbl pushed commit from @tokudan to master « kicad: 5.1.2 -> 5.1.4, fix ngspice, mark broken on aarch64 (#69584) »: https://git.io/Je4Tr
Ariakenom has quit [Quit: Leaving]
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/8bf142e001b (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
lord| has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
abathur has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
schjetne has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
abathur has joined #nixos
toppler has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
abathur has quit [Ping timeout: 264 seconds]
Okinan has joined #nixos
mexisme has joined #nixos
rauno has joined #nixos
Ariakenom has joined #nixos
schjetne has quit [Ping timeout: 265 seconds]
bahamas has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
wfranzini has joined #nixos
marusich has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
gila has joined #nixos
<jophish> Squarism can you post your nix expression?
Ariakenom has joined #nixos
<jophish> If you want an executable to be on PATH you'll need to add its package to nativeBuildInputs in the call to mkderivation
<Squarism> Mainly for the compilation of server i need "R" on the PATH
<Squarism> seems theres no way around that and I dont know how I can verify it is.
<Squarism> jumping to work. Back in 20 mins
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
<jophish> Squarism so R is not in the path in the call to runCommand?
parity has quit [Read error: Connection reset by peer]
<jophish> Try adding nativeBuildInputs = [r] in the attrset you pass to runCommand
Heirlung has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @JustinLovinger opened pull request #71215 → nodePackages.purescript-language-server: init at 0.12.7 → https://git.io/Je4kB
m0rphism has joined #nixos
toppler has joined #nixos
Jackneill has joined #nixos
FRidh2 has joined #nixos
<{^_^}> [nixpkgs] @angerman opened pull request #71216 → Wine series3 → https://git.io/Je4k2
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #68397 → fix wine → https://git.io/JeqMB
lukash_|away is now known as lukash_
toppler has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to staging « python37: 3.7.4 -> 3.7.5 »: https://git.io/Je4kM
<{^_^}> [nixpkgs] @FRidh pushed to release-19.09 « python37: 3.7.4 -> 3.7.5 »: https://git.io/Je4k9
toppler has joined #nixos
<Squarism> jophish, ok Ill try that. Should I add it to "runCommand" even if its only needed for "server" build?
dbmikus__ has quit [Ping timeout: 276 seconds]
schjetne has joined #nixos
<{^_^}> [nixpkgs] @sikmir opened pull request #71217 → xournalpp: 1.0.12 -> 1.0.15 → https://git.io/Je4kp
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1c40ee6fc44 (from 3 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<jophish> Ah I misunderstood squarism
<Squarism> jophish, thanks. Just checking. Im very green on this tool
<jophish> You'll need to add something to the options of callcabal2nix on line 35
philr has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<jophish> Squarism:something like: drv = pkgs.haskell.lib.addBuildDepends (callcabal2nix whatever) [R]
<jophish> Or addBuildDepend without the list around R
<Squarism> okok
<jophish> Sorry, I should have been more clear about extraEnvPackages, that's only useful for nix-shell and not for building the derivation
toppler has joined #nixos
<Squarism> oh ok. Im trying to build with "nativeBuildInputs = attrs.nativeBuildInputs ++ extraEnvPackages;" now
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b4136a8f5b1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @Lassulus opened pull request #71218 → bepasty: add setuptools → https://git.io/Je4IZ
toppler has quit [Ping timeout: 265 seconds]
ng0 has joined #nixos
schjetne has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #71219 → pwndbg: fix runtime python deps, fixes #71071 → https://git.io/Je4Ic
toppler has joined #nixos
bahamas has quit [Ping timeout: 265 seconds]
niso has quit [Remote host closed the connection]
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
ebzzry has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-weekly] @MindTooth opened pull request #104 → Change attribute from width to max-width → https://git.io/Je4Io
toppler has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
ebzzry has quit [Read error: Connection reset by peer]
qubasa has quit [Read error: Connection reset by peer]
qubasa has joined #nixos
ebzzry has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar merged pull request #104 → Change attribute from width to max-width → https://git.io/Je4Io
<{^_^}> [nixos-weekly] @domenkozar pushed 2 commits to master: https://git.io/Je4Id
<{^_^}> [nixpkgs] @FRidh merged pull request #71008 → kde_applications: 19.08.1 -> 19.08.2 → https://git.io/Jel6S
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/Je4Ib
fendor has joined #nixos
eeva has quit [Ping timeout: 250 seconds]
toppler has quit [Ping timeout: 265 seconds]
joshuagl has joined #nixos
veske has joined #nixos
lord| has quit [Ping timeout: 265 seconds]
thc202 has joined #nixos
Ariakenom has joined #nixos
toppler has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/9d55c1430af (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
lord| has joined #nixos
veske has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @vcunat pushed 78 commits to staging-19.09: https://git.io/Je4L3
<{^_^}> [nixpkgs] @vcunat merged pull request #70560 → zziplib: apply patches for CVE-2018-16548 [19.09] → https://git.io/JeCir
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70736 → python37Packages.pathspec: 0.5.9 -> 0.6.0 → https://git.io/JeWOn
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je4Ls
<{^_^}> [nixpkgs] @vcunat pushed 5 commits to release-19.09: https://git.io/Je4LG
buckley310 has quit [Read error: Connection reset by peer]
orivej has joined #nixos
buckley310 has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to master « python38Packages: build packages on Hydra »: https://git.io/Je4LZ
aswanson has quit [Quit: WeeChat 2.4]
schjetne has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/Je4L8
<{^_^}> [nixpkgs] @gebner pushed to master « viewnior: do not remove icon-theme.cache »: https://git.io/Je4L4
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schjetne has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @gebner pushed to master « opencsg: fix build »: https://git.io/Je4LV
karetsu has joined #nixos
<karetsu> how should I deal with a LaTeX medium scheme installation missing a specific package? tlmgr doesn't appear to be included in the scheme and I'm loathe to have to download each .cls/bst individually and scheme-full is overkill
schjetne has joined #nixos
<etu> karetsu: That way I start with basic and add the things I need for that project
<yorick> ] (import <nixpkgs/nixos> { configuration.system.build.nixos-rebuild = null; }).config.system.build.nixos-rebuild
<yorick> > (import <nixpkgs/nixos> { configuration.system.build.nixos-rebuild = null; }).config.system.build.nixos-rebuild
<{^_^}> "<derivation /nix/store/z1a0d9qw938590qlp79z6dqghfwqqi9j-nixos-rebuild.drv>"
<yorick> why
<karetsu> etu: many thanks
gxt has quit [Ping timeout: 260 seconds]
<alexarice[m]> Anyone got `swaylock` working on nixos. I believe there is a missing pam file
toppler has quit [Ping timeout: 268 seconds]
<yorick> alexarice[m]: works for me
<yorick> alexarice[m]: but you need to enable it
<{^_^}> [nixpkgs] @domenkozar merged pull request #70011 → elm.elmPackages: Cleanup code → https://git.io/JeZNT
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/Je4tv
<karetsu> etu: is it worthwhile having a 'per-document' default/shell.nix in your experience or better to have it in the wider nix-env?
drakonis_ has joined #nixos
<alexarice[m]> yorick: Ah, I was missing that, thanks
ottidmes has joined #nixos
schjetne has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-19.09: https://git.io/Je4tJ
drakonis has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
<etu> karetsu: I think it depends on your usecase. In that case I linked we generate a bunch of latex/org-documents as PDF on deploy of hugo.
FRidh2 has quit [Remote host closed the connection]
ebzzry has quit [Remote host closed the connection]
<karetsu> this is just for editing a colleagues paper and then done with tex and back to org/pandoc so I'll dump it local to the paper I think
drakonis_ has quit [Read error: Connection reset by peer]
<etu> karetsu: But if you have very different documents, it may be worth it? But I think most often you won't have *that* big differences so the extra packages isn't much overhead compared to running a medium or full sized texlive install
toppler has joined #nixos
<ptotter[m]> I'm having trouble upgrading to nixos 19.09
<ptotter[m]> I'm getting level=error ts=2019-10-16T09:12:37.250Z caller=main.go:216 msg="Error loading config" err="error reading config file: open /nix/store/wvny1dxlchpr7fcnay382mm6zgwxb3w3-checked-blackbox-exporter.conf: no such file or directory"
<{^_^}> [nixpkgs] @FRidh pushed 374 commits to staging-next: https://git.io/Je4t3
<ptotter[m]> the path is of course a symlink
<ptotter[m]> but the file the symlink points to exists
<ptotter[m]> and seems to be readable
ebzzry has joined #nixos
<ptotter[m]> is "building '/nix/store/3gjs4p0wcaldary882hbwl3x2bicb03g-checked-blackbox-exporter.conf.drv'..." executed in some namespace where it cannot see /var/lib/prometheus/blackbox/config.yaml ?
<{^_^}> [nixpkgs] @FRidh pushed 570 commits to staging: https://git.io/Je4tc
<{^_^}> [nixpkgs] @FRidh merged pull request #70289 → glibc: patch CVE-2018-11236, CVE-2018-11237 → https://git.io/JecOe
<{^_^}> [nixpkgs] @FRidh pushed 114 commits to staging-next: https://git.io/Je4tC
<sphalerite> ptotter[m]: yes
<{^_^}> [nixpkgs] @FRidh opened pull request #71221 → Staging next → https://git.io/Je4tW
<ptotter[m]> where can I find more info? and what should the path be in order to be included?
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @FRidh pushed 0 commits to python-unstable: https://git.io/Je4t0
FRidh2 has joined #nixos
gila has joined #nixos
ThatDocsLady has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
Zer0xp has joined #nixos
schjetne has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/Je4tQ
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging-next: https://git.io/Je4t7
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/Je4t7
<ddima_> ptotter[m]: my guess is that you are using a string for `configFile`, if you drop the quotes and make it a proper nix path it should work.
Makaveli7 has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 206 commits to python-unstable: https://git.io/Je4qe
is_null has joined #nixos
fling has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
ddima_ is now known as ddima
fling has joined #nixos
alex```82 has joined #nixos
toppler has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
fendor has quit [Ping timeout: 268 seconds]
NGravity has joined #nixos
schjetne has quit [Ping timeout: 240 seconds]
bahamas has quit [Ping timeout: 240 seconds]
<ddima> ptotter[m]: there is a brief explanation for the `sandbox` property in https://nixos.org/nix/manual/#ch-files and there is a nice talk about it here: https://www.youtube.com/watch?v=ULqoCjANK-I - I'm not aware of another good exhaustive source.
toppler has quit [Ping timeout: 240 seconds]
ebzzry has quit [Read error: Connection reset by peer]
ebzzry has joined #nixos
gxt has joined #nixos
toppler has joined #nixos
is_null has quit [Ping timeout: 264 seconds]
Zer0xp has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #71222 → Python: package set updates primarily for Python 3.8 support → https://git.io/Je4qH
<{^_^}> [nixpkgs] @woffs opened pull request #71223 → trebleshot: init at 0.1.0-alpha2-15-ga7ac23c → https://git.io/Je4qQ
toppler has quit [Ping timeout: 240 seconds]
feep has quit [Ping timeout: 264 seconds]
feep has joined #nixos
is_null has joined #nixos
<ptotter[m]> ddima, ah, I've read about string vs file types, but forgotten
<ptotter[m]> and it used to work in 19.03
<ptotter[m]> but you're correct, making it a path instead of string worked
<ptotter[m]> thank you
toppler has joined #nixos
peanutbutter144_ has joined #nixos
nwspk has quit [Quit: nwspk]
Ariakenom has joined #nixos
nwspk has joined #nixos
civodul has joined #nixos
is_null has quit [Ping timeout: 250 seconds]
iyzsong has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
nwspk has quit [Quit: nwspk]
ebzzry has quit [Remote host closed the connection]
nwspk has joined #nixos
cosimone has joined #nixos
rot13 has joined #nixos
<ddima> ptotter[m]: it would be nice for UX if it would barf or work on strings correctly too. maybe I'll make a fix.
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-make: 0.22.2 -> 0.23.0 »: https://git.io/Je4mW
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<rot13> Hi, a very basic question: I'm trying to understand how a function defined in nixpkgs works. Specifically attrsToSection defined in `nixos/modules/system/boot/systemd-lib.nix`. I want to explore it using `nix repl` t
<rot13> and try out different argumtents
<rot13> how can I import this function into nix repl?
toppler has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<tokudan[m]> could we get these two PRs merged? they're just simple documentation updates: https://github.com/NixOS/nixpkgs/pull/70887 https://github.com/NixOS/nixpkgs/pull/71056
<{^_^}> #70887 (by tokudan, 6 days ago, open): Update to PR #64267, add missing release notes and documentation
<{^_^}> #71056 (by tokudan, 3 days ago, open): Update to PR #64267, add missing release notes and documentation [19.09]
<{^_^}> [nixpkgs] @johnchildren opened pull request #71224 → prototool: 1.8.0 -> 1.9.0 → https://git.io/Je4mE
fendor has joined #nixos
gila has joined #nixos
realrokka has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #71225 → freeoffice: fix sha256 → https://git.io/Je4mK
nwspk has quit [Quit: nwspk]
nwspk has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #71226 → zsh-history: Update gomod hashsum → https://git.io/Je4YU
<rot13> ddima: Thx, a lot! callPackage requires a path to the lib (systemd-lib.nix). Is there a shortcut by which I can refer to it other than pasting the whole path from /nix/store?
eraserhd has quit [Ping timeout: 265 seconds]
schjetne has joined #nixos
<ddima> rot13: I did it from my local nixpkgs fork. you can also do sth like `systemdlib = callPackage <nixpkgs/nixos/modules/system/boot/systemd-lib.nix> {}`
<ddima> or add arbitrary paths to the nix search path via `-I` and then reference them in a similar fashion.
<rot13> ddima: That was exactly what I was looking for. thanks again!
toppler has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
alex```82 has quit [Quit: The Lounge - https://thelounge.chat]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #67722 → wasm-bindgen-cli: init at 0.2.51 → https://git.io/fjxrT
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Je4Yn
<teto> is there a way to convert a submodule to an attrset ?
toppler has joined #nixos
<hyperfekt> The wiki page for Docker mentions that dockerTools requires nix 'on the host system'. Does this mean the system where the containers are run or the one where they are built?
<hyperfekt> I presume the latter but I wanted to make sure before I make a clarifying edit.
<ddima> teto: how do you mean? they are still attribute sets which you can access through `options`, like `options.services.foo`
<teto> ddima: I am trying to use generators.toINI on an attrofs submodule and toINI fails because the submodule adds fields in the seemingly attrset
<teto> I know you can do ".value" in general but it doesn't seem to work with submodules
schjetne has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/026f99c119b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> [nixpkgs] @Mic92 merged pull request #71219 → pwndbg: fix runtime python deps, fixes #71071 → https://git.io/Je4Ic
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/Je4Y2
klntsky has quit [Remote host closed the connection]
<tetdim> AAA
<tetdim> I FIXED IT
<tetdim> I GODDARN FIXED IT
mounty has quit [Remote host closed the connection]
<tetdim> IT WAS LDCONFIG
<tetdim> AFTER ALL THIS
<tetdim> L
<tetdim> D
<tetdim> HECKIN
<tetdim> CONFIG
<tetdim> >:CCCCCCCCCCCCC
mounty has joined #nixos
<tetdim> clever, :)
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-19.09: https://git.io/Je4Yr
<Izorkin> aanderse: Mic92: please check PR #70924
<{^_^}> https://github.com/NixOS/nixpkgs/pull/70924 (by Izorkin, 5 days ago, open): mariadb: remove development components
toppler has joined #nixos
<ddima> teto: I think toINI might just be a bit too limited wrt nesting levels.
<teto> ddima: the problem is not about nesting level, just that my config { a = b; } becomes in fact due to the submodule { a = { value= b; check=false; _merge=...} in which case toINMI legitimately fails
fendor has quit [Ping timeout: 240 seconds]
<jophish> Squarism: how goes it?
karetsu has quit [Quit: WeeChat 2.4]
<Squarism> jophish, sorry for not getting back to you. At work doing work things. (this is for a private project). I tried different variants. This is the last one I tried https://paste.ofcode.org/cMrDLkqB2SZuupHYbj9WFy
toppler has quit [Ping timeout: 268 seconds]
<Squarism> Below is the error that wont go away - that I THINK is that System.Process doesnt find "R"
o1lo01ol1o has joined #nixos
fendor has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
toppler has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
alexherbo2 has joined #nixos
<jophish> Squarism: no worries, I'll take a look
<Ariakenom> is nix-env -i in a nix-shell limited to within the shell?
bahamas has joined #nixos
<immae> ariakenom: no, nix-env has effect on your ~/.nix-profile/, so it stays when you leave the shell
rauno has quit [Ping timeout: 276 seconds]
<Ariakenom> immae: thanks
<Ariakenom> is there a way to add packages locally when in nix-shell?
toppler has quit [Ping timeout: 246 seconds]
<immae> you mean while being in a nix-shell, you want to add more things than what you gave initially?
strobelight has joined #nixos
<jophish> Squarism: perhaps try something like this: https://gist.github.com/c1d3ef4272179433028fdd2777fd051e
<Squarism> jophish, Great. Ill try that directly
orivej has quit [Ping timeout: 265 seconds]
<Ariakenom> immae: yes
strobelight has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
<schmittlauch[m]> Hi, what's the easiest way to use stdenv shell functions like `subst-var` outside of derivations, like in modules and systemd preStart scripts?
<immae> I don’t know of a standard way, but you could go into another nix-shell that completes what you already have. Or following your idea of nix-env, you could use it with a `NIX_PROFILE=/some/temp/folder` (it will override the default value of ~/.nix-profile) env var and add /some/temp/folder/bin to your PATH manually
<schmittlauch[m]> I mean `substitute --subst-var`
eraserhd has joined #nixos
<Ariakenom> immae: ok
<immae> it may or may not work depending on what your use case is though
pbogdan has joined #nixos
<Squarism> jophish, its running. R and dependencies seems to be building.
<Squarism> jophish, I LOVE YOU! It works
layus has quit [Quit: ZNC 1.7.3 - https://znc.in]
o1lo01ol1o has joined #nixos
feep_ has joined #nixos
feep has quit [Disconnected by services]
bahamas has quit [Ping timeout: 250 seconds]
klntsky has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
Tucky has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #66841 → nftables: enable all features in kernel → https://git.io/fjF4M
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Je4Ow
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #71229 → spotify-tui: 0.5.0 -> 0.6.2 → https://git.io/Je4Or
asymptotically has joined #nixos
aswanson has joined #nixos
toppler has joined #nixos
Bryophyllum has joined #nixos
<tetdim> Ericson2314, you around?
Bryophyllum has quit [Client Quit]
NGravity has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
<jophish> Squarism, great to hear it!
<Squarism> Thanks a bunch! Really needed this one for a semi deadline
strobelight has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
Tucky has joined #nixos
<jophish> I think the problem might have been that you were overwriting PATH with something where 'R' wasn't present
<{^_^}> [nixpkgs] @kwohlfahrt opened pull request #71230 → dnsutils: add 'delv' binary, remove obsolete sigchase → https://git.io/Je4ON
o1lo01ol1o has joined #nixos
strobelight_ has joined #nixos
strobelight is now known as Guest63503
toppler has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
strobelight_ is now known as strobelight
Guest63503 has quit [Ping timeout: 252 seconds]
bahamas has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
Shoubit has joined #nixos
strobelight has quit [Ping timeout: 276 seconds]
strobelight has joined #nixos
<pbb> Has anyone recently used the system tarball-pc with PXE and NFS? Or is it completely dead?
<pbb> clever maybe?
bahamas has quit [Ping timeout: 276 seconds]
toppler has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Ping timeout: 240 seconds]
Makaveli7 has quit [Quit: WeeChat 2.6]
philr has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @magnetophon opened pull request #71231 → gxmatcheq-lv2: init at 0.1 → https://git.io/Je43r
AluisioASG has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
toppler has joined #nixos
AluisioASG has joined #nixos
is_null has joined #nixos
drakonis1 has joined #nixos
dbe has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @nyanloutre opened pull request #71232 → plasma-5: 5.16.5 -> 5.17.0 kdeFrameworks: 5.62 -> 5.63 → https://git.io/Je43M
Ariakenom has joined #nixos
o1lo01ol1o has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @migmruiz closed pull request #64332 → pythonPackages.flask: 1.0.3 -> 1.1.0 → https://git.io/fj617
schjetne has joined #nixos
<Shoubit> I'm trying to package an electron application. After launching the renderer process I get an error about a missing libxkbcommon-x11.so.0 which I've included in the rpath when I use patchelf on the electron binary, but the error is still there. What else do I need to do to make it find this shared object file?
drewr has quit [Quit: ERC (IRC client for Emacs 26.3)]
toppler has joined #nixos
ddellacosta has joined #nixos
fendor has quit [Ping timeout: 268 seconds]
fendor has joined #nixos
oscarvarto has joined #nixos
bahamas has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
psyanticy has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
schjetne has quit [Ping timeout: 268 seconds]
strobelight_ has joined #nixos
strobelight is now known as Guest49078
strobelight_ is now known as strobelight
drewr has joined #nixos
is_null has quit [Ping timeout: 265 seconds]
Guest49078 has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
freeman42xx has joined #nixos
o1lo01ol1o has joined #nixos
fendor has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
Ariakenom has quit [Quit: WeeChat 2.6]
<{^_^}> [nixos-hardware] @adamse opened pull request #126 → Fix readme markdown syntax → https://git.io/Je4Gf
isHavvy has quit [Read error: Connection reset by peer]
toppler has quit [Ping timeout: 240 seconds]
is_null has joined #nixos
endformationage has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @Moredread opened pull request #71233 → (WIP) vcv-rack: Fix broken glfw fork issue → https://git.io/Je4GY
<{^_^}> [nixpkgs] @FRidh closed pull request #60889 → KDE / Plasma updates → https://git.io/Je4Gs
toppler has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
Havvy has joined #nixos
schjetne has joined #nixos
strobelight_ has joined #nixos
strobelight is now known as Guest33628
strobelight_ is now known as strobelight
ebzzry has joined #nixos
Guest33628 has quit [Ping timeout: 268 seconds]
<clever> pbb: i use a squashfs in the initrd, over pxe
<clever> tetdim: dang impure distro!!
<tetdim> mm
<tetdim> should i submit a pull request now
<tetdim> ive not got tests working yet but thats all
toppler has quit [Ping timeout: 240 seconds]
asymptotically has quit [Remote host closed the connection]
bahamas has joined #nixos
o1lo01ol1o has joined #nixos
samrose has quit [Ping timeout: 240 seconds]
samrose has joined #nixos
nixhost has quit [Remote host closed the connection]
bahamas has quit [Ping timeout: 250 seconds]
<Ericson2314> tetdim: congrats!
<tetdim> Ericson2314, ty
<tetdim> weirder error now
<tetdim> could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted
<Ericson2314> I need to go to work after nix RFC call, but good progress!
<Ericson2314> I think a WIP PR is fine
<Ericson2314> take off WIP once tests pass
<tetdim> ok :)
waleee-cl has joined #nixos
<Ericson2314> gotta get ready so ttyl
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<clever> tetdim: are you root? who owns profiles?
<tetdim> root owns profiles
<tetdim> chown?
toppler has joined #nixos
<clever> tetdim: if its a single-user setup, then you should own everything under /nix/
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravndal has quit [Quit: WeeChat 2.6]
ravndal has joined #nixos
schjetne has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
schjetne has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/Je4ZJ
<{^_^}> [nixpkgs] @flokli merged pull request #70900 → python.pkgs.google_cloud_storage: propagate setuptools → https://git.io/JeWp7
<{^_^}> [nixpkgs] @flokli pushed 7 commits to master: https://git.io/Je4ZU
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to python-unstable: https://git.io/Je4ZI
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @nbr opened pull request #71234 → elasticsearchPlugins: add analysis-icu plugin → https://git.io/Je4Zt
schjetne has quit [Ping timeout: 240 seconds]
schjetne has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
knupfer has quit [Ping timeout: 240 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
bahamas has joined #nixos
Havvy has quit [Ping timeout: 265 seconds]
knupfer has joined #nixos
Havvy has joined #nixos
knupfer has quit [Client Quit]
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @nbr closed pull request #71234 → elasticsearchPlugins: add analysis-icu plugin → https://git.io/Je4Zt
knupfer has joined #nixos
bahamas has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @nbr opened pull request #71235 → elasticsearchPlugins: add analysis-icu plugin → https://git.io/Je4ZR
isHavvy has joined #nixos
Havvy has quit [Ping timeout: 240 seconds]
is_null has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 240 seconds]
lunik1 has quit [Ping timeout: 240 seconds]
cosimone has quit [Remote host closed the connection]
toppler has joined #nixos
cosimone has joined #nixos
cosimone has quit [Client Quit]
lunik1 has joined #nixos
Havvy has joined #nixos
schjetne has quit [Ping timeout: 268 seconds]
isHavvy has quit [Ping timeout: 240 seconds]
fusion809 has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.6]
Havvy has quit [Ping timeout: 240 seconds]
bahamas has joined #nixos
erasmas has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
Havvy has joined #nixos
cosimone has joined #nixos
<Squarism> in
<Squarism> ops
byrn has joined #nixos
<Squarism> In a "runCommand" block how do i refer to the location where default.nix is locate. Say I want to copy some resource files into the resulting build.
drakonis_ has joined #nixos
<jophish> Squarism: you can use ${./some/file} to refer to a file relative to the .nix file this is written in
fendor has quit [Ping timeout: 250 seconds]
isHavvy has joined #nixos
asymptotically has joined #nixos
Havvy has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
Havvy has joined #nixos
<wedens> if I specify multiple values of `environment.etc.XYZ.text`, will they be merged or overwritten?
<infinisil> wedens: Depends on what the type of the option is, let's see..
<Squarism> thanks, that worked well.
isHavvy has quit [Ping timeout: 276 seconds]
<infinisil> wedens: It's `types.nullOr types.lines`, and types.lines does indeed merge multiple definitions, so yes it does
toppler has quit [Ping timeout: 240 seconds]
isHavvy has joined #nixos
qqlq has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #71225 → freeoffice: 970 -> 971 → https://git.io/Je4mK
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/Je4n0
o1lo01ol1o has joined #nixos
<tetdim> hmm
<tetdim> clever another problem
<tetdim> nix-env while setting up the build environment: executing '/usr/bin/bash': No such file or directory
Havvy has quit [Ping timeout: 276 seconds]
freeman42xx has quit [Ping timeout: 276 seconds]
bahamas has quit [Quit: leaving]
<wedens> infinisil: thanks. should I use `lib.mkForce` to set specific value without merging?
bvdw has joined #nixos
knupfer has joined #nixos
<infinisil> wedens: All definitions of the highest priority get merged, so all values with mkForce get merged together, which is probably good enough in your case
<wedens> so, if I have only one `lib.mkForce` for the value, it'll be that value, correct?
toppler has joined #nixos
<{^_^}> [nix] @edolstra pushed to flakes « Add experimental-features setting »: https://git.io/Je4n9
<simpson> Hm. Cause for excitement?
isHavvy has quit [Read error: Connection reset by peer]
<Taneb> simpson: everything's a cause for excitement if you're excitable enough! \o/
<buckley310> does anyone here know how to boot EFI off of a raid1 ESP partition? the internet says i can use mdadm with metadata=1.0, but the install always fails. the best i could get was `grub.mirroredBoots`
<Taneb> simpson: but it does look like it's getting ready to be merged
Havvy has joined #nixos
<{^_^}> [nixpkgs] @multun opened pull request #71237 → sane-backends: remove /etc/sane.d/net.conf → https://git.io/Je4n7
toppler has quit [Ping timeout: 245 seconds]
<Squarism> jophish, sorry to bother you again. As I said, the compilation now works. But now I get the same problem running the end results. So R didnt make it to the runtime environment so to speak.
wfranzini has quit [Remote host closed the connection]
<Squarism> (If it wasnt I had my deadline tomorrow Id be searching myself )
<jophish> Squarism:could you paste the code please?
<jophish> I'll have to go to bed in 10 mins but I'll have a quick look
dm9 has joined #nixos
<Squarism> Its the same you sent.
<Squarism> so building works but I get : server: R: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
<Squarism> when running
<Squarism> the "result"
<jophish> Squarism:use in runCommand "lambda-forms" {nativeBuildInputs = [r];} ''
<jophish> the attribute set there is appended to the call to mkDerivation, so you can put anything in there that one would normall find in the calls to mkDerivation
avn has quit [Remote host closed the connection]
<jophish> that will make sure that "${r}/bin" is in PATH when the command is run
toppler has joined #nixos
<Squarism> nix-build works flawlessly. Its just that ./result/bin/server throws this error
justanotheruser has quit [Ping timeout: 240 seconds]
<Squarism> I thought runCommand was just used to run some post processing
<{^_^}> [nixpkgs] @emilazy opened pull request #71238 → Update FPGA tools → https://git.io/Je4cT
<gchristensen> runCommand creates a build step which is executed at build time. not something which is run later
<Squarism> right
<{^_^}> [nixpkgs] @WilliButz opened pull request #71239 → grafana: 6.4.2 -> 6.4.3 → https://git.io/Je4cL
<Squarism> So how do I "extend" the environment of "server"?
freeman42x has joined #nixos
<infinisil> wedens: Yup
<Squarism> (for running the resulting executable that is)
DenisLehmann[m] has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
toppler has quit [Ping timeout: 276 seconds]
Havvy has joined #nixos
<{^_^}> [nixos-homepage] @danielstaleiny opened pull request #314 → Add Manual link to menu bar. as layout → https://git.io/Je4cB
dfordiva1 has quit [Ping timeout: 240 seconds]
Havvy has quit [Ping timeout: 240 seconds]
<evils> how do i run a nixos test?
Havvy has joined #nixos
toppler has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
<tilpner> evils: nix-build --no-out-link '<nixpkgs>' -A nixosTests.matrix-synapse
ixxie has joined #nixos
<tilpner> Alias the first part up to -A
<{^_^}> [nix] @adamse opened pull request #3152 → Use `lib.version` instead of the deprecated `lib.nixpkgsVersion` → https://git.io/Je4ci
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
Havvy has joined #nixos
<tilpner> evils: Or go to <nixpkgs/nixos/tests> and nix-build a file directly
<evils> tilpner: that seems more straight forward xD
dfordivam has joined #nixos
<tilpner> evils: With an alias it's just: nip nixosTests.matrix-synapse
<tilpner> Nicer than the second option IMO
<evils> but the first optino given don't seem to work for me :P
<tilpner> For which test?
knupfer has joined #nixos
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
knupfer has quit [Client Quit]
<evils> a new one on my local branch
<tilpner> evils: You didn't add it to all-tests.nix
<evils> tilpner: ah!
dm9 has quit [Quit: WeeChat 2.6]
knupfer has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71200 → Add support for libgda on darwin → https://git.io/Je8NX
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/Je4ch
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 17 commits to python-unstable: https://git.io/Je4CU
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
lukash_ is now known as lukash_|away
toppler has joined #nixos
<wedens> what's the difference between qemu_kvm and qemu?
<{^_^}> [nixpkgs] @jonringer opened pull request #71240 → [staging]python3Packages.pytest: 5.1.0 -> 5.2.1 → https://git.io/Je4CL
drakonis_ has quit [Ping timeout: 276 seconds]
<evils> tilpner: another noob question, how do i see if the test failed? and is there documentation on this stuff?
<tilpner> evils: Did it build?
<evils> jup
ixxie has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @jonringer closed pull request #71240 → [staging]python3Packages.pytest: 5.1.0 -> 5.2.1 → https://git.io/Je4CL
<tilpner> wedens: qemu_kvm doesn't support architectures other than the native one
lawlesseel has joined #nixos
<wedens> tilpner: ok. thanks
<tilpner> wedens: So on x86_64 if you want to use KVM, you can only run x86_64 VMs
<tilpner> evils: You can check the output for log.html, but IINM build success should mean test sucess
<evils> tilpner: yea, i thought i invalidated my test, but changing it to `false` shows a clear failure xD
<AmandaC> is there something like a combined `nix-build -E ...` then `nix-env -i <resilting nix store path>`?
<tilpner> nix-env -i $(nix-build --no-out-link -E ...)
<tilpner> c.c
<evils> tilpner++
<{^_^}> tilpner's karma got increased to 46
<{^_^}> [nixpkgs] @FRidh merged pull request #71155 → [staging]pythonPackages.docker: 4.0.2 -> 4.10 → https://git.io/Je8K4
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to python-unstable « pythonPackages.docker: 4.0.2 -> 4.1.0 »: https://git.io/Je4CO
<AmandaC> ... why the heck didn't I think of that.
<tilpner> You may to do better error handling than that line if you use it often
<tilpner> *may want to do
<Squarism> where is a good place to learn Nix (Nixos). I feel the manual is too daunting / verbose. Like where can I get the core concepts
<simpson> Squarism: Have you seen the Pills? https://nixos.org/nixos/nix-pills/index.html
<tilpner> ,nix-1p
eeva has joined #nixos
chloekek has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/Je4CZ
<Squarism> thanks simpson tilpner
freeman42x has quit [Remote host closed the connection]
feep_ is now known as feep
<tetdim> Ericson2314, clever https://snipboard.io/XCy5cw.jpg build & execute on freebsd
<tetdim> all builtins there
<tetdim> *dab*
freeman42x has joined #nixos
freeman42xx has joined #nixos
freeman42xx has quit [Client Quit]
<Ericson2314> tetdim: nice!
<Ericson2314> got a WIP PR up yet?
<tetdim> err
<tetdim> no i got distracted
<tetdim> made more improvements
<tetdim> still no tests
mexisme has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
<Squarism> is stdenv.mkDerivation key to manipulating the build or the runtime or both?
toppler has quit [Ping timeout: 245 seconds]
<FRidh2> Squarism: that function manages the build. What one then does in a build, decides how the program will behave during runtime.
mexisme has quit [Ping timeout: 265 seconds]
<Squarism> FRidh, so what is the normal way of extending the *runtime* environment with extra packages?
<Squarism> ...for the build *result* (typically an .exe)
<Squarism> FRidh2^
<{^_^}> [nixpkgs] @dywedir opened pull request #71241 → oxipng: 2.2.2 -> 2.3.0 → https://git.io/Je4CR
<mdash> Squarism: build it with extra stuff in it
<FRidh2> let's say you want several programs available. With nix you could instead these individually using nix-env -iA. Better, put them in a list and install the list. On NixOS you could add them to environment.systemPackages
<FRidh2> if your program needs certain packages at runtime, then you need to refer to them in your recipe in such a way that they can be found during runtime (as mdash says)
<{^_^}> [nixpkgs] @lsix opened pull request #71242 → aspell: 0.60.6.1 -> 0.60.8 → https://git.io/Je4C0
feep has left #nixos ["Konversation terminated!"]
<FRidh2> often one patches references or creates wrappers extending e.g. PATH
<aristid> since somewhat recently, firefox/the gtk printing dialog doesn't find any printers, whereas localhost:631 and chrome do find it
<aristid> has anybody else seen this?
dbmikus__ has joined #nixos
<Squarism> I just seem to fail to add "r" to "server" in this https://paste.ofcode.org/aZ6qUtApn37Draa9Rg5nQG
<Squarism> it works for building, but not for running
boxscape has joined #nixos
toppler has joined #nixos
<aristid> looks like this is probably my issue: https://github.com/NixOS/nixpkgs/issues/69559
<{^_^}> #69559 (by wkral, 2 weeks ago, closed): CUPS Printers not found in GTK applications
<FRidh2> Squarism: you'll probably want to use wrapProgram (in makeWrapper package) to create a wrapper so R can be found
<evils> how do i make (at least the man pages of) a package available to the user if they're enabling a service that uses that package?
7JTAARH42 has joined #nixos
17SAALY3L has joined #nixos
<dminuoso> evils: I wonder, isnt it enough to just put them into manpages of your derivation?
<dminuoso> Or no, I suppose installShellFiles is that hook
<dminuoso> (or just plain doc/ from fixup)
<evils> dminuoso: not sure what you mean with that
noudle has joined #nixos
byrn has quit [Quit: WeeChat 2.6]
<tetdim> clever, Ericson2314 waddup theres errors in nixpkgs/pkgs/stdenv/freebsd/default.nix
<{^_^}> [nixpkgs] @d-goldin opened pull request #71243 → prometheus-blackbox-exporter: coercing cfg to path → https://git.io/Je4Ci
<tetdim> im fixing em, should i pr those also
toppler has quit [Ping timeout: 240 seconds]
<Ericson2314> tetdim: Sure, but until we get official machines up for hydra.nixos.org for FreeBSD it's likely to bit-rot again
<tetdim> rite
gila has joined #nixos
is_null has joined #nixos
<gchristensen> Ericson2314: what would you think about things like freebsd (or cross, or riscv, or armv7l) being a different sort of build, where each instantiation all build jobs of prior instantiations are killed? that way it never really finishes anything, but as much of the bootstrapping as possible can be pre-built
toppler has joined #nixos
<tetdim> Ericson2314, ok so nixpkgs is royally fucked for freebsd
<tetdim> it basically errors non stop, itll be an entire thing to get that working
<simpson> tetdim: Communities don't exist in a vacuum, and neither does code. Regardless of whether there's CI, we still need people who know FreeBSD to actively maintain those sections of nixpkgs.
<{^_^}> [nixos-hardware] @Mic92 merged pull request #126 → Fix readme markdown syntax → https://git.io/Je4Gf
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/Je4C7
<tetdim> simpson, i agree..?
<simpson> tetdim: I guess what I'm saying is that we want your PRs, but also you shouldn't have to feel like one single person needs to heroically unbreak an entire port.
<tetdim> ah :)
<aristid> yay, rebooting fixed my gtk printing issue (as i had already built the fix, but the environment variables need to be updated)
ixxie has joined #nixos
gaisseml[m]1 has joined #nixos
ee194350 has quit [Ping timeout: 268 seconds]
ee194350 has joined #nixos
<betaboon> does nixos.org block ping ? oO
<gchristensen> I believe so
ris has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<betaboon> god damn ... I'm just setting up a new network with vlans, firewalling etc and was wondering why i couldnt ping out to wan from the guest network even tho i had the firewall configured accordingly :/
gaisseml[m] has joined #nixos
* betaboon is not blaming anyone but itself
reanimus has quit [Ping timeout: 268 seconds]
ddellacosta has quit [Ping timeout: 276 seconds]
<Ericson2314> gchristensen: I'm fine for quoting it's resources
<Ericson2314> I mean if it's all cancelled builds and nothing finishes, well that's not too great
<gchristensen> Ericson2314: what do you mean, quoting?
<Ericson2314> *quota-ing
<Ericson2314> oops
<Ericson2314> but I am not to concerned on the exact method of the quota
<{^_^}> [nixpkgs] @dpaetzel opened pull request #71244 → pythonPackages.mesa: init at 0.8.6 → https://git.io/Je4Cj
toppler has joined #nixos
Lears has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
Jackneill has quit [Remote host closed the connection]
is_null has quit [Ping timeout: 240 seconds]
lunik1 has quit [Ping timeout: 240 seconds]
fendor has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1737cd07ca0 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
lunik1 has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
lunik1 has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
freeman42x has quit [Remote host closed the connection]
freeman42x has joined #nixos
freeman42xx has joined #nixos
freeman42xx has quit [Client Quit]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/12c10e256ad (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
byrn has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-hardware] @Mic92 pushed commit from @rummik to master « Initial p53 hardware configuration (#125) »: https://git.io/Je4W8
<{^_^}> [nixos-hardware] @Mic92 merged pull request #125 → Initial p53 hardware configuration → https://git.io/Je8dV
<ddima> does someone have time to look at this one: https://github.com/NixOS/nixpkgs/pull/70593 ? it has been hanging there for a bit.
<{^_^}> #70593 (by cko, 1 week ago, open): sqlite: 3.28.0 -> 3.30.0, sqlite-analyzer: 3.28.0 -> 3.30.0, resolves #70127 and #68583
rossabaker has quit [Quit: Lost terminal]
<ShaRose> so, I seem to be having issues with dnsdist. When it starts via the generated systemd service, it fails to bind the socket for access denied, but starting it manually from root works.
drakonis_ has joined #nixos
toppler has joined #nixos
drakonis_ has quit [Client Quit]
anderslundstedt has quit [Quit: leaving]
anderslundstedt has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
knupfer1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #71196 → Backport pull request #69131 from xzfc/subshells → https://git.io/Je8Fp
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging-19.09: https://git.io/Je4W2
ambro718 has joined #nixos
<gchristensen> tetdim: what did it take to get a working Nix on freebsd?
kaba_ has joined #nixos
jnas has joined #nixos
<tetdim> gchristensen, a lot of modifying build files, a couple of new header declarations and some __attribute__ modificatins
<tetdim> *modifications
<tetdim> like sys/wait.h was missing for example
<gchristensen> ah
o1lo01ol1o has quit [Remote host closed the connection]
<tetdim> yea
<tetdim> not too much, most of the effort was in fixing the build files
<tetdim> which is why i just flat out ported it to meson
<tetdim> weird autotools errors are weird
toppler has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
fendor_ has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0f9b2d9c860 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
toppler has joined #nixos
knupfer has joined #nixos
lord| has quit [Read error: Connection reset by peer]
mexisme has quit [Ping timeout: 245 seconds]
lord| has joined #nixos
<freeman42x> when I run nix-shell in https://github.com/razvan-flavius-panda/Electron-Miso-Example/tree/electron-miso-jsaddle-hie I am getting following error: error: anonymous function at /nix/store/v7wxw8hnwxciazl47sa6xpsji59k4517-cabal2nix-app/default.nix:1:1 called with unexpected argument 'miso', at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:87:27
<freeman42x> I don't know what to do about it since apparently the same code works fine in another project
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
knupfer has quit [Quit: knupfer]
<{^_^}> [nixpkgs] @basile-henry opened pull request #71245 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/Je4W7
knupfer has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @leo60228 opened pull request #71247 → atheme: init at 7.2.9 → https://git.io/Je4Wd
psyanticy has quit [Quit: Connection closed for inactivity]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #71239 → grafana: 6.4.2 -> 6.4.3 → https://git.io/Je4cL
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Je4Wp
Lears has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #71167 → ocamlPackages.doc-ock: remove at 1.2.1 → https://git.io/Je8iW
<{^_^}> [nixpkgs] @mmahut pushed 4 commits to master: https://git.io/Je4lv
oscarvarto_ has joined #nixos
Ariakenom has joined #nixos
oscarvarto has quit [Ping timeout: 265 seconds]
byrn has quit [Quit: WeeChat 2.6]
mexisme has quit [Ping timeout: 268 seconds]
FRidh2 has quit [Quit: Konversation terminated!]
oscarvarto has joined #nixos
oscarvarto_ has quit [Read error: Connection reset by peer]
<Ericson2314> tetdim: did you make a PR or pass tests on linux?
<tetdim> not yet
<tetdim> trying to get docs to compile now
<Ericson2314> certainly nixpkgs being broken is *not* a reason not to merge your nix PR :)
<Ericson2314> ok cool
<{^_^}> [nixpkgs] @Ma27 pushed commit from @WilliButz to release-19.09 « grafana: 6.4.2 -> 6.4.3 »: https://git.io/Je4lq
<tetdim> idk should i leave docs?
<Ericson2314> tetdim: nothing blocks a WIP PR :)
<Ericson2314> you can make a little checklist too
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71197 → vit 2.0.0 → https://git.io/Je8bV
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Je4ln
mexisme has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
<wormwood> whats best practice when installing software on a system? should nix-env type installs be avoided if reproducibility is important?
<wormwood> or should everything go / be imported into configuration.nix?
<wormwood> what about at the user level?
<gchristensen> I use systemPackages for everything I want system-wide, and I use a shell.nix for every project. so, no project-specific stuff in my global config
<wormwood> (non-root)
<wormwood> hmm, ok
<wormwood> interesting
<wormwood> gchristensen: so you don't do any user-level "global" installs via nix-env -iA?
<tilpner> wormwood: Another option, users.users.wormwood.packages = ...;
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « zerotierone: 1.4.4 -> 1.4.6 »: https://git.io/Je4lc
<Ericson2314> wormwood: I use home-manager for "user" stuff
Neo-- has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
<wormwood> sorry, new to nixOS, so not sure if I'm using the correct terminology
<wormwood> thanks
<cransom> most consider a nix-env a dirty word, but we all swear from time to time.
<gchristensen> you're doing great
<Ericson2314> no worries
<Ericson2314> i see nothing wrong with termoology
lord| has quit [Ping timeout: 268 seconds]
<wormwood> cransom: interesting!
<Ericson2314> nixos -> global; home-manager -> user; nix-shell -> project
toppler has joined #nixos
<tetdim> Ericson2314, is there a maintainers file somewhere?
<wormwood> that makes sense, thank you
o1lo01ol1o has quit [Remote host closed the connection]
lord| has joined #nixos
o1lo01ol1o has joined #nixos
<Ericson2314> tetdim: what do you mean?
<Ericson2314> in nix itself like authors file?
jb55 has quit [Remote host closed the connection]
<tetdim> ye
<tetdim> sometimes projects want you to fill it in
<Ericson2314> or in nixpkgs?
jb55 has joined #nixos
<Ericson2314> tetdim: I don't know of any
lunik1 has joined #nixos
<tetdim> k
<Ericson2314> doing a qucik loook
<Ericson2314> tetdim: 13a63b59bb821b3ac6600879acc19ff945e0099f
<tetdim> ?
<Ericson2314> no more authors file since then
<tetdim> o
<tetdim> k then :)
<Ericson2314> that is a commit in the nix repo when the file was removed
<tetdim> should i add it back? ;)
<Ericson2314> `git log --all --format='%aN' | sort -u` there is always that for that info
<Ericson2314> tetdim: no i don't think so
<Ericson2314> just commit with the name you wish to be creddited by
<tetdim> OK
<tetdim> theres no license file there though
<tetdim> ?
<tilpner> There is: COPYING
<tetdim> oh no wait its copying
lord| has quit [Remote host closed the connection]
<Ericson2314> FRidh what would you like done for https://github.com/NixOS/nixpkgs/pull/65026 ?
<{^_^}> #65026 (by costrouc, 12 weeks ago, open): pythonPackages.apache-airflow: init at 1.10.3
<Ericson2314> I might take it over from the original author or whatever, but I don't know about those python tools or what the normal way is 😊
lord| has joined #nixos
fendor_ has quit [Ping timeout: 240 seconds]
<red[m]> isn't the maintainers datastructure the closest we have to an AUTHORS file?
<red[m]> oh - I have a build infrastructure question - and the answer may very well be "yes" already - I'm just not a maintainer on anything that's broken (yet)
<Ericson2314> red: tetdim was asking about nix not nixpkgs
toppler has quit [Ping timeout: 265 seconds]
<gchristensen> red[m]: what's up?
<red[m]> ... but CPAN had this great function by where if any of your published packages broke when the new rev of perl came out or one of your dependancies dropped through the floor - it would email the maintainers of those packages that started failing tests
<red[m]> does Nix hydra do that?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71147 → More Gnome 3.34.1 → https://git.io/Je8VG
<{^_^}> [nixpkgs] @worldofpeace pushed 16 commits to master: https://git.io/Je4la
<gchristensen> it does-ish
<gchristensen> it was disabled when we mistakenly sent a million zillion emails in one day, and I'm not sure it was ever re-enabled
<ajs124> gchristensen: it wasn't
<red[m]> gchristensen: I'm testing a patch that jtojnar2 posted on PR#71142
<ajs124> my (one) test broken recently. I didn't get an email.
<red[m]> It compiled after the patch - now testing it against my world.
<gchristensen> ajs124: ah :) I'll ping niksnut
<red[m]> If that works, it can go into the "ItWorksForMe"™ branch I'm working on.
<red[m]> gchristensen: I'm trying to add an LTFS package to NixOS - but the broken icu package is a dependency that needs fixing first
<gchristensen> ah.
wfranzini has joined #nixos
<red[m]> gchristensen: yeah- once that adds, I'll have access to a theoretical 144Tb of storage on my desktop
orivej has joined #nixos
<red[m]> still not quite sure what I'll do with it...
<gchristensen> :o
<gchristensen> that is almost enough to back up the cache :D
toppler has joined #nixos
<red[m]> Well, with a "slight" upgrade I could increase it to a theoretical 720Tb
<red[m]> but if you're willing to have humans switch tapes on demand, the size limitation just goes away
<gchristensen> what tape hw do you have? :)
<red[m]> really - I'm only limited by the 24 slots I have available in the robot
<red[m]> I'll show you:
<tetdim> OH NICE
<tetdim> GIT DERPED OUT AND DELETED MY COMMIT WHEN I PUSHED IT
<red[m]> in my estimation is was way underpriced for what it was
<tetdim> grrrrrrrrrrrrrrrrrrrrrrrRRRRRRRRRRRR
<gchristensen> red[m]: oh wow
<red[m]> (and they accepted an offer on it too)
<red[m]> yeah - that'[s LTO6, which is perfect for me since I have historical backups on LTO4
<symphorien> tetdim: git reflog might still have it
<red[m]> LTO rules. 2 revs back to read, 1 rev back to write
<gchristensen> hmm that is a really very nice idea to build in
<red[m]> unfortunately, both the bacula and the bareos packages are b0rked in nixos
<red[m]> and I know that at some point I'm going to have to fix and maintain the bareos thing
<red[m]> People wonder why I'm obsessed with tape - it's simple.
<red[m]> I did computer forensics and employee investigations at work for a fair few years.
<red[m]> I have lost count the number of grown men who have openly wept in my cube after I tried to recover pictures of their children off dead devices.
<red[m]> I tried backing up to the cloud... used crashplan. Crashplan deleted 7.2Tb of my data with a 7 day notice
jnas has quit [Remote host closed the connection]
<gchristensen> neat.
<tetdim> symphorien, IT IS
<tetdim> THANK THE STARS
<symphorien> :)
<red[m]> and, being brutally honest - if I want my kid's pictures to still exist in 30 years... am I going to remember to pay my cloud backup subscription every month for the next 30 years?
<red[m]> so yeah
<tetdim> god i went into an adhd trance the last 3 hours of coding i have no idea what changes ive made
<{^_^}> [nixpkgs] @mmahut merged pull request #71044 → cargo-audit: 0.9.1 -> 0.9.3 → https://git.io/Jel7W
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Je4l5
<red[m]> tape is an achival medium still in massive use in business. It just makes sense.
<{^_^}> [nixpkgs] @mmahut merged pull request #71041 → fs-uae: 2.8.4 -> 3.0.0 → https://git.io/JelQP
<{^_^}> [nixpkgs] @mmahut merged pull request #71041 → fs-uae: 2.8.4 -> 3.0.0 → https://git.io/JelQP
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Je4ld
<lunik1> I'm trying to get docker to work with "lockKernelModules = true;" but I'm getting "Error response from daemon: failed to create endpoint [...] operation not supported." I assume there is some kernel module that it needs, anybody know what it could be?
<nilsirl[m]> How should docker-credential-pass be installed on nixos?
doublex has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 268 seconds]
Neo-- has quit [Ping timeout: 265 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
karetsu has joined #nixos
<karetsu> is anyone here a plex subscriber and set up their own services.plex.package (https://nixos.org/nixos/options.html#plex)? Looking for an assist
toppler has joined #nixos
<gchristensen> I have in the past, but I don't keep up with it
<karetsu> gchristensen: much appreciated
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @melsigl opened pull request #71248 → pythonPackages.phik: init at 0.9.8 → https://git.io/Je4lp
<gchristensen> karetsu: if you can send me your expression when you're done, that'd be cool :P
<karetsu> ha ok will do, will more than likely be tomorrow but I'll namecheck you
o1lo01ol1o has quit [Remote host closed the connection]
thc202 has quit [Ping timeout: 250 seconds]
doublex has joined #nixos
chloekek has quit [Quit: WeeChat 2.4]
alkeryn has joined #nixos
chloekek has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
Tucky has quit [Quit: WeeChat 2.6]
o1lo01ol1o has joined #nixos
alkeryn has quit [Quit: WeeChat 2.6]
allgreed has joined #nixos
karetsu has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Remote host closed the connection]
<tetdim> Ericson2314, does it have to be a WIP pr?
<tetdim> doesnt that mean it wont be merged
allgreed has left #nixos ["The Lounge - https://thelounge.chat"]
toppler has joined #nixos
fendor_ has joined #nixos
<red[m]> gcc: error: ../../device_mapper/libdevice-mapper.a: No such file or directory
<red[m]> Who broke boost :-P
fendor_ has quit [Client Quit]
Soo_Slow has joined #nixos
* red[m] wanders over to hydra
ixxie has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
karetsu has joined #nixos
<karetsu> gchristensen: yeah, its missing libsoci_core (or similar) and that's more than I can be bothered with tonight
<{^_^}> [nixpkgs] @shreyanshk opened pull request #71250 → anydesk: fix icons → https://git.io/Je48s
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @hyperfekt opened pull request #71251 → vscode-with-extensions: fix insiders build → https://git.io/Je48n
toppler has quit [Ping timeout: 240 seconds]
chloekek has quit [Ping timeout: 276 seconds]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @shreyanshk opened pull request #71252 → neovim-qt: fix icons → https://git.io/Je48C
<{^_^}> [nixpkgs] @jonringer opened pull request #71253 → python35Packages.sqlalchemy: fix tests → https://git.io/Je48W
<{^_^}> [nixpkgs] @MicrosoftTakeover opened pull request #71254 → minetest 5.0.1 -> 5.1.0 → https://git.io/Je48l
<{^_^}> [nixpkgs] @jonringer merged pull request #70940 → keybase: 4.3.1 -> 4.6.0 → https://git.io/Jel3q
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Je48B
o1lo01ol1o has joined #nixos
toppler has joined #nixos
<AmandaC> any idea why makeWrapper would be spitting this out? ` /nix/store/grr20p5m5k2qw0p0rfx7hihrvm8gd86a-hook/nix-support/setup-hook: line 43: /nix/store/rj9vnnj0cr6344vy8h5jcx08y5g9q0hj-vscode-with-extensions-1.39.1/Applications/Visual Studio Code.app/Contents/MacOS/Electron: Permission denied`
doublex has quit [Ping timeout: 276 seconds]
<AmandaC> oh wait
<{^_^}> [nixpkgs] @shreyanshk opened pull request #71255 → tor-browser-bundle-bin: fix icons → https://git.io/Je48z
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
brnzz has joined #nixos
<{^_^}> [nixpkgs] @geistesk opened pull request #71256 → neteria: init at 1.0.3.160123.05 → https://git.io/Je48w
karetsu has quit [Quit: WeeChat 2.4]
drakonis has quit [Quit: Leaving]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @geistesk opened pull request #71257 → pyscroll: init at 2.19.2 → https://git.io/Je48r
<{^_^}> [nixpkgs] @geistesk opened pull request #71258 → pytmx: init at 3.21.7 → https://git.io/Je48o
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @Shou opened pull request #71259 → obinskit: init at 1.1.1 → https://git.io/Je486
<AmandaC> answer: I was trying to overwrite the executable I copied from the vscode package with the wrapper
<{^_^}> [nixpkgs] @worldofpeace opened pull request #71260 → gnome3.gnome-online-accounts: build with meson → https://git.io/Je48i
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @geistesk opened pull request #71261 → golangci-lint: 1.20.0 -> 1.21.0 → https://git.io/Je481
<{^_^}> [nix] @adamse closed pull request #3152 → Use `lib.version` instead of the deprecated `lib.nixpkgsVersion` → https://git.io/Je4ci
<duairc> I obviously know that doing so defeats the whole point of NixOS, but is there at all to temporarily edit the /nix/store? I finally got a massive python package to build, but I'm getting an error (I think paths are getting messed up somewhere) and it would be really nice if I could just quickly throw in few print(__import__('sys').path) in the right places to help me untangle what's going on...
cosimone has quit [Quit: Quit.]
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
broccoli has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/578fb2c5fa9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
o1lo01ol1o has quit [Remote host closed the connection]
<symphorien> Enter a nix shell as root, duairc
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
toppler has joined #nixos
lunik10 has joined #nixos
lunik1 has quit [Remote host closed the connection]
<gchristensen> symphorien: ..really?
<duairc> mount -o rw,remount /nix/store seems to have worked anyway
<gchristensen> oh no
<symphorien> gchristensen: for example https://github.com/NixOS/nix/issues/1336
<{^_^}> nix#1336 (by volth, 2 years ago, open): nix-shell in shebang remounts /nix/store in readwrite mode
<red[m]> it will, but there be dragons that way
zupo has joined #nixos
<red[m]> you lose all your assurances
<{^_^}> [nixpkgs] @worldofpeace opened pull request #71262 → Merge funkwhale python packages → https://git.io/Je487
<symphorien> Ah found the issue I had reported: https://github.com/NixOS/nixpkgs/issues/27362
<{^_^}> #27362 (by symphorien, 2 years ago, closed): /nix/store is writable inside root nix-shell
<{^_^}> [nixpkgs] @melsigl opened pull request #71263 → Add confuse → https://git.io/Je48d
* cransom is similarly blown away.
<red[m]> Wow, so a patch that I applied broke a whole world of stuff
immae has quit [Quit: WeeChat 2.4]
<red[m]> Can someone tell me how to determine which packages are downstream dependancies of something?
<red[m]> (and upstream would be interesting too)
<gchristensen> ofborg can provide a list
<gchristensen> I think it is done by doing a full eval of nixpkgs before and after, and reporting a list of which packages were different
<{^_^}> [nixpkgs] @AmandaCameron opened pull request #71264 → vscode: Fix vscode-with-extensions with #70486 → https://git.io/Je48A
<{^_^}> [nixpkgs] @wooosh opened pull request #71265 → cetch: init at 071796f → https://git.io/Je48x
sellout-1 has quit [Quit: Leaving.]
<Ericson2314> tetdim: I just mean WIP cause I thought the test used to pass and now they don't
toppler has quit [Ping timeout: 240 seconds]
<Ericson2314> that indeed should be WIP
<Ericson2314> and not merged until fixed
o1lo01ol1o has joined #nixos
<red[m]> gchristensen: my problem is that I can't get nixpkgs to evaluate after my change
<red[m]> I'm trying to work out how this like butterfly wing caused a tsunami downstream
<red[m]> how would I get that information from orborg?
<red[m]> err, ofborg
waleee-cl has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<red[m]> I'm working Issue #71142
<{^_^}> https://github.com/NixOS/nixpkgs/issues/71142 (by redvers, 2 days ago, open): icu-config package reports wrong location for --incpkgdatafile
<red[m]> and it hates me :-P
Soo_Slow has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
toppler has joined #nixos
o1lo01ol1o has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @philandstuff opened pull request #71266 → gnupg-pkcs11-scd: init at 0.9.2 → https://git.io/Je44q
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Ariakenom has quit [Quit: Leaving]
<red[m]> so - is it fair to say that if I only make changes on my nixpkgs branch and re-run a nixos-rebuild against it... the "rebuilding the following..." at the top of the rebuild output is the list of downstream?
<red[m]> oh wait - it won't include anything that was successfully evaluated in previous runs
<red[m]> crap
<red[m]> thanks
<red[m]> ... and why is it building two different lvm2.drv s
toppler has quit [Ping timeout: 268 seconds]
ottidmes has quit [Ping timeout: 268 seconds]
lunik10 has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
lunik10 has joined #nixos
<duairc> I can't get past this problem I'm having. I'm not sure if I don't know enough about Nix, or enough about python, or both, but I can't tell whose fault this is
lunik10 has quit [Client Quit]
<duairc> I know what sys.path is
<duairc> But python modules, they seem to also have a __path__ attribute
Jackneill has joined #nixos
<duairc> If I have a package foo-bar that defines a foo.bar module, and a foo-bar-baz that defines a foo.bar.baz module, even though I have both foo-bar and foo-bar-baz in my PYTHONPATH, foo-bar-baz doesn't seem to end up in foo.bar.__PATH__
<duairc> *__path__
<duairc> Does this make any sense to anybody?
o1lo01ol1o has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
<c00w> Does foobar have a dep on foo.bar.baz?
sellout- has joined #nixos
<c00w> Or vice versa?
ng0 has quit [Quit: Alexa, when is the end of world?]
toppler has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<duairc> No, as far as I can tell. Actually, it's more like I have a foo.bar.baz and a foo.bar.quuz, that are independent of each other (except lots of them), and foo.bar.__path__ only seems to have a subset of them
lunik10 has joined #nixos
<duairc> c00w: ^
o1lo01ol1o has quit [Ping timeout: 265 seconds]
fendor has quit [Quit: Leaving]
asymptotically has quit [Quit: Leaving]
drakonis_ has quit [Ping timeout: 264 seconds]
<red[m]> So -- nixos-rebuild is building more than one package at once so I can't actually tell which of the packages is failing to build.
<c00w> My guess - is that foo.bar.__path__ is set by foo.bar, and if it doesn't know about something it won't set it correctly.
<red[m]> How would I determine that? (the output to stdout appears to be from every package building concurrently)
<c00w> But why do you need foo.bar.__path__ populated anyway?
<c00w> red[m]: Does --show-trace help?
<duairc> c00w: I don't actually know. All I know is the program that uses all of these libraries crashes on ModuleNotFoundError: No module named 'foo.bar.baz'. But the directory that contains foo/bar/baz.py is definitely in sys.path.
drakonis has joined #nixos
<c00w> Huh - got it. You've hit the limits of my common debugging. I'd probably look up how __path__ and import work in python and see if I could get a minimal repro (i.e. 2 dummy packages).
<duairc> The only reason I'm mentioning __path__ is because when I googled it, someone suggested doing import foo.bar; print(foo.bar.__path__) to debug, and when I do that the path that contains foo/bar/baz.py isn't there (though maybe that's a red herring)
dermetfan has joined #nixos
<red[m]> c00w: I'll try that now. It didn't suggest it so I didn't try it
<red[m]> ;-)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6695d3f08f2 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Jackneill has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 268 seconds]
<duairc> c00w: I guess a making a minimal repro is a good shout
<red[m]> I suspect it's systemd, because it's never dns ;-)
<red[m]> I'll give that a shot now.
<red[m]> duairc: all my servers run on unstable-minimal ;-)
<evelyn> red[m]: whether "it's never DNS" depends if your crappy wifi router pings some unfortunate individual's nameserver by default without their knowledge
lunik10 has quit [Ping timeout: 240 seconds]
<red[m]> duairc:
<red[m]> [root@evil:~]# nix-channel --list
sigmundv has joined #nixos
lunik10 has joined #nixos
<red[m]> c00w: adding --show-trace didn't add anything.
dbmikus__ has quit [Quit: WeeChat 2.6]
<red[m]> but I did notice something else
<{^_^}> [nixpkgs] @jsamsa opened pull request #71268 → Fix path for darwin downloads → https://git.io/Je44a
<duairc> extend_path helps, maybe?
<red[m]> builder for '/nix/store/ywb4gvm86idl0v0613msaq6si5jifmv7-lvm2-2.03.01.drv' failed with exit code 2
<red[m]> yet when I nix-shell -p lvm2
<red[m]> it comes from a different store entry
abathur has joined #nixos
toppler has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<red[m]> Can you configure nixos-rebuild to only build one package at a time?
<infinisil> red[m]: Yeah, --max-jobs 1
gjabell has joined #nixos
<gjabell> anyone know if there's a way to force nixops to rebuild? I am setting up a matrix server but it won't use the up-to-date package for some reason
philr has joined #nixos
<red[m]> thanks - I'll see if that will help
<red[m]> nixos-rebuild: unknown option `--max-jobs=1'
<red[m]> ?
lunik10 has quit [Ping timeout: 240 seconds]
<red[m]> (I also have "nix.buildCores = 1" too in my configuration.nix)
<gjabell> defaults to v1.3.1, even though 1.4.0 is available, and running nix-shell -p matrix-synapse on the server even brings down 1.4.0
<infinisil> red[m]: --max-jobs 1
<infinisil> gjabell: Soo you're using nixops?
toppler has quit [Ping timeout: 250 seconds]
<red[m]> doh - thank you
<gjabell> yarp
<infinisil> gjabell: The packages nixops uses usually come from <nixpkgs> in your NIX_PATH on the deploy machine, so what does `nix-instantiate '<nixpkgs>' -A <your matrix server, synapse? attribute>` eval to?
ambro718 has quit [Quit: Konversation terminated!]
<hpfr[m]> My laptop is trying to build qtbase again :(
<gjabell> infinisil: /nix/store/42ciclq9jba8hm3p16zr9fydz0rx240q-matrix-synapse-1.4.0.drv :P
<AmandaC> Then stop radioing in the locations to the GNOME Strike force, hpfr[m] /s :P
<red[m]> huh, gjabell - mine is at 1.3.1 too and I didn't notice
<hpfr[m]> AmandaC: unfortunately I don’t get the joke lol
<gjabell> red[m]: I know it got back-ported since it has (eventually) breaking changes, but I know if that would cause the issue
<red[m]> gjabell: are you using the module to configure it?
<AmandaC> hpfr[m]: base as in a military base, base of operations, etc.
<gjabell> red[m]: ie services.matrix-synapse?
<red[m]> services.matrix-synapse = {
<red[m]> ?
<gjabell> red[m]: yea
<hpfr[m]> Oh gotcha haha
<red[m]> wonder if that's pinned to the old version
<infinisil> gjabell: And you're sure you deployed with your updated nixpkgs?
<red[m]> looking...
broccoli has quit [Quit: leaving]
<gjabell> infinisil: not sure; does that mean my nixpkgs channel?
<red[m]> ohwait... it was only bumped 2 days ago
<red[m]> it may not be in your channel
<infinisil> Whatever your <nixpkgs> is, probably your channels yeah
<gjabell> infinisil: oh rip, I ran the command earlier on the remote not deploy machine lol
<infinisil> red[m]: Well they said <nixpkgs>.matrix-synapse was 1.4.0
<gjabell> looks like my local version is still 1.3.1, that's probably it
<infinisil> Aha! :D
toppler has joined #nixos
<red[m]> huh
<red[m]> well, I'm nixos-rebuilding my server right now which is on nixos-unstable-small
<gjabell> hmm, I'm running on unstable but it's still using 1.3.1
<__red__> Note to self... don't hold a conversation about matrix and testing it... while communicating THROUGH said matrix server :-P
<gjabell> :P
<infinisil> > unstable.matrix-synapse.name
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<{^_^}> "matrix-synapse-1.3.1"
<infinisil> Apparently not in unstable yet
<gjabell> is it normal for unstable to be behind stable? :P
<infinisil> Somewhat, yes!
<infinisil> Because stable receives much fewer updates, a stable update can go through much quicker
<AmandaC> unstable has more packages to build more regularly than stable
<__red__> it's in unstable-small
<gjabell> ah, that makes sense
<__red__> because I got it
<__red__> (and it broke... hence unstable) ;-)
<infinisil> > stable.matrix-synapse.name
<{^_^}> "matrix-synapse-1.4.0"
<__red__> Before reload:
<__red__> [red@evil:~]$ ps uaxwwww | grep matr
<__red__> matrix-+ 30671 1.3 19.9 1916620 805220 ? Ssl Oct02 293:39 /nix/store/swy0p01xr0wyh907d67hkxr1g0kngcpn-python3-3.7.4/bin/python3.7 /nix/store/lqh5iwhhvx4naijlx10x13gl
<__red__> 12gdxc9s-matrix-synapse-1.3.1/bin/.homeserver-wrapped --config-path /nix/store/7z1kpa3m32f4yn56n2w5a9lhp6g22ial-homeserver.yaml --keys-directory /var/lib/matrix-synapse
<__red__> after reload:
<__red__> [red@evil:~]$ ps auxwww | grep matr
<__red__> matrix-+ 5324 94.0 1.1 178708 46868 ? Rs 22:23 0:00 /nix/store/8lhmyjarm73453f2mdz0xli9w8sy0wvh-python3-3.7.4/bin/python3.7 /nix/store/q6vrigf49jv4psfpi4016h41
<__red__> m6ny5bcq-matrix-synapse-1.4.0/bin/.homeserver-wrapped --config-path /nix/store/nnclhdfbrsqvgld96vsdmk8kca95px7j-homeserver.yaml --keys-directory /var/lib/matrix-synapse
<gjabell> neato
<infinisil> __red__: What broke?
<gjabell> guess I'll just cherry-pick the patch locally then
<__red__> after the reload it can no longer connect to the postgres databasee
<__red__> specifically:
<__red__> Oct 16 22:29:04 evil.red synapse[6175]: twisted: [] psycopg2.OperationalError: FATAL: role "matrix-synapse" does not exist
<__red__> which is concerning...
<infinisil> That is a bit concerning indeed
* infinisil checks the changes made
<__red__> where do postgresql database files live again?
toppler has quit [Ping timeout: 268 seconds]
<__red__> I'm hoping it didn't rerun an installation script which nukes the database :-P
<clever> __red__: /var/lib/postgres i think
<infinisil> Hm there weren't any obviously related changes
<__red__> it *MAY* be that postgres bumped
<__red__> checkign that now
<__red__> how do you revert the switch again? (without going back to the grub menu)
<gjabell> might need to restart postgres, I've had issues with prosody losing connection to postgres after an update
<__red__> This is why I ask...
<__red__> drwx------ 19 postgres postgres 4096 Oct 16 22:31 11.1
<__red__> drwx------ 20 postgres postgres 4096 Oct 16 22:22 9.6
<__red__>
<hpfr[m]> Does nix-collect-garbage have an equivalent in the nix [subcommand] form
<__red__> That kinda suggests that we went from 9.6 to 11.1
<infinisil> __red__: gjabell: The postgres service should also have been restarted with the update anyways
<gjabell> I have postgres and prosody on different servers so they don't always update together
<infinisil> Ah yeah then it made sense
<infinisil> Although
<__red__> Nope
<infinisil> Ohh I have a suspicion..
<__red__> it's apparently gone
<infinisil> What's gone?
<__red__> lemme check my **TAPE BACKUPS**
toppler has joined #nixos
<__red__> ;-)
broccoli has joined #nixos
<__red__> I just did a psql \l with the 9.6 client and then
<__red__> OH WAIT
<__red__> I have to restart the server
<__red__> sorry
* __red__ facepalms
<infinisil> Ah the init change thing?
drakonis_ has joined #nixos
<__red__> rolling back
<__red__> yup
<__red__> confirmed
<__red__> it bumped postgresql from 9.6 to 11.1
<__red__> and my data didn't go with it
lunik10 has joined #nixos
<__red__> that's one hell of a surprise
drakonis has quit [Ping timeout: 268 seconds]
<broccoli> hi, do someone have any experience with cuda/bumblebee? I managed to configure it somehow: I use the intel gpu for regular display, and start "optirun python" for instance when I need cuda, but I need to manually load nvidia_uvm kernel module, any ideas?
<gjabell> oof
<__red__> so I guess I have to either migrate my data, or pin postgres at that version
<gjabell> isn't the whole point of the stateVersion to prevent that from happening?
<__red__> well, I'm on unstable...
dermetfan has quit [Quit: WeeChat 2.6]
<__red__> and I don't have a system.stateVersion in my configuration.nix
<gjabell> ah
<__red__> so this may very well be self-inflicted
<__red__> What should you set it to when your nix-version looks like this: 20.03.git.aaa1ba3 (Markhor)
<infinisil> __red__: Set stateVersion!
<infinisil> ,stateVersion
<{^_^}> Setting stateVersion to the latest release doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you want to update the stateVersion option regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value.
dermetfan has joined #nixos
immae has joined #nixos
<infinisil> Not setting state version and updating is like setting stateVersion to the latest version
toppler has quit [Ping timeout: 265 seconds]
<gjabell> so since nixops packages are built on the deploy machine and not the server, is it generally a problem to have both machines tracking different channels?
oldandwise has joined #nixos
<gchristensen> no
<__red__> infinisil: what should I set it to on a system (rolled back and working) that displays 20.03.git.aaa1ba3 (Markhor) as a version?
<__red__> 20.03?
<infinisil> gjabell: I personally set it up so whatever nixpkgs the deploy machine uses gets copied to the server
<oldandwise> how to install latest java in nixos?
<infinisil> So no need for nix-channel nastiness on the server
lunik1 has joined #nixos
<__red__> did the stateVersion bump then for unstable-small?... and how would I see that commit? where would it be?
<lunik1> Does anybody on here use mergerfs? I'm running into some issues.
jb55 has quit [Disconnected by services]
<gjabell> infinisil: hmm ok, do the nix-channels on the server even do anything if you're deploying with nixops?
<infinisil> __red__: Well it ideally would be set to the version of NixOS you initially installed
jb551 has joined #nixos
<infinisil> But since it hasn't been set before this shouldn't be done
<infinisil> __red__: So use whatever value works, anything really, just so it's not unset
oldandwise has quit [Client Quit]
<infinisil> Well I was gonna answer oldandwise but I guess not then
lunik10 has quit [Read error: Connection reset by peer]
lunik10 has joined #nixos
<__red__> okay - thanks
toppler has joined #nixos
broccoli has quit [Quit: leaving]
erasmas has quit [Quit: leaving]
<infinisil> lunik1: Nope, but maybe somebody can help if you actually described what the issue is
<lunik1> basically mergerfs crashes as soon as I try to write to the filesystem
lunik10 has quit [Read error: Connection reset by peer]
<lunik1> nixos 19.09, default kernel
<__red__> infinisil: it didn't stop the upgrade or copy the data. Not a big deal - I'll just copy my data over from 9.6 to 11.1 and get on with my life :-)
<__red__> I'm on unstable, so it's not like it's unexpected
wildtrees has quit [Quit: Leaving]
m0rphism has quit [Ping timeout: 240 seconds]
<infinisil> Hm wait, but why is it 11.1 anyways
<infinisil> The default should be 9.6 I think
<infinisil> __red__: Do you have meguca enabled perhaps?
freeman42x has quit [Remote host closed the connection]
<__red__> I don't know what that is
<infinisil> Weird..
<infinisil> > nixos.config.services.postgresql.package.name
<{^_^}> The option `services.postgresql.package' is used but not defined.
<__red__> infinisil: I'll work it out... chasing down the channel
<infinisil> > nixosConfig = { services.postgresql.enable = true; }
<{^_^}> nixosConfig defined
<infinisil> > nixos.config.services.postgresql.package.name
<{^_^}> "postgresql-11.5"
<infinisil> Huh
<gjabell> I think 19.09 bumped the version up
<infinisil> Ah not 19.09 but master
toppler has quit [Ping timeout: 268 seconds]
<gjabell> ah nvm was remembering that 9.4 is being deprecated
<__red__> where are the constituent packages of channels defined? in hydra? in channels?
broccoli has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<infinisil> > nixosConfig = { services.postgresql.enable = true; system.stateVersion = "19.09"; }
<{^_^}> nixosConfig defined
<infinisil> > nixos.config.services.postgresql.package.name
<{^_^}> "postgresql-9.6.15"
<infinisil> There's the problem __red__ ^^
<infinisil> > nixosConfig = { services.postgresql.enable = true; system.stateVersion = "20.03"; }
<{^_^}> nixosConfig defined
<infinisil> > nixos.config.services.postgresql.package.name
<{^_^}> "postgresql-11.5"
<__red__> so I should set my stateVersion to 19.09?
<infinisil> So you could just fix it by setting stateVersion to 19.09
<__red__> doing so npw
<__red__> err, now
<__red__> where are these things defined in the tree?
<__red__> I'd like to start understanding better how this stuff hangs together
<__red__> a pointer in the right direction is enough
<__red__> yup - that made it stick at 19.09
<__red__> but of course - now I'm curious if I accidentally reverted something back to the 19.09 version ;-)
<infinisil> (this is master)
<infinisil> No, stateVersion doesn't do any reverting or such
<infinisil> (well it does end up using an older postgresql version, but no state has been changed)
vika_nezrimaya has joined #nixos
realrokka has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos
kaba_ has quit [Remote host closed the connection]
<__red__> I guess what I'm saying is this...
<__red__> say I never used postgresql before today
<{^_^}> [nixpkgs] @flokli merged pull request #71105 → nixos/pppd: init → https://git.io/Je8Zz
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/Je4Bo
<__red__> and I installed it and got 11.1 installed
<lunik1> ok I am seeing the mergerfs issue on two different systems now. could somebody try to reproduce on 19.09? Install pkgs.mergerfs, create three empty directories, run "mergerfs /path/to/dir1:/path/to/dir2 /path/to/dir3", and then try to create and rm a file in dir3?
<__red__> then, because of something else - I set my stateVersion to 19.09
<vika_nezrimaya> Hey. NixOps seems to have a container backend, but it's largely undocumented. I assume that `nixops ssh` will still work when deploying as a container? Also how to forward ports from container? Can I make it connect to a bridge of some sort so the container will get its own IP from DHCP?
<__red__> it would then install 9.6 instead on my next rebuild right?
<vika_nezrimaya> (the container host is obviously accessible via ssh already)
<vika_nezrimaya> (but not deployed with NixOps)
<{^_^}> [nixpkgs] @flokli merged pull request #71170 → nodePackages_10_x.azure-cli, nodePackages_10_x.azure-functions-core-tools: remove → https://git.io/Je8Xw
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Je4BK
<infinisil> __red__: Yea
<infinisil> The problem here is not having set stateVersion in the first place
<__red__> understood
<__red__> interesting mess I got myself into
<__red__> ;-)
<infinisil> There is effort to make stateVersion mandatory (which imo should have been done from the beginning): https://github.com/NixOS/nixpkgs/pull/65314
<{^_^}> #65314 (by aristidb, 12 weeks ago, open): make nixos.stateVersion mandatory
chrachw has joined #nixos
toppler has joined #nixos
<infinisil> Unfortunately not setting stateVersion is more common than I'd like
growpotkin has joined #nixos
<__red__> for most packages like that they let you pin your version in your configuration.nix anyways so easy enough to override people get into too much of a tither.
<infinisil> And because it looks like a version number people like to increase it, which defeats its whole purpose..
<__red__> I removed it because I went from stable to unstable
<__red__> and didn't know what I should set it to
<__red__> so just removed it
<__red__> (since it didn't seem to break anything)
mexisme has quit [Ping timeout: 246 seconds]
<__red__> I also removed the warning and the comment above it because "You're not the boss of me now"[tm]
<__red__> lesson learned :-)
<infinisil> I see, yeah you could've kept it
<infinisil> Hehe :P
<__red__> I've always been blown away by how resiliant nixos actually is
<__red__> every time I do a talk on it, I switch my production server from unstable to stable and back again
<__red__> it blows minds
<gchristensen> same, __red__ :)
<__red__> since half the people using .rpm based distros etc can barely run regular patches without everything breaking from time to time
<Ashy> it's amazing
<flokli> We might just want to increase stateVersion to something not matching the release number, like 3000, and then just increment the "suggested value" on every state migration we have to do, or every release
<danderson> Probably a stupid question, but: are new nixos modules eligible for backport into 19.09? Or is it bugfixes only?
philr has quit [Ping timeout: 265 seconds]
<flokli> danderson: hi :-)
<Ashy> i've been completely failing to explain nixos to colleagues and friends
<danderson> I ask only because I'm planning how long I will have to keep my shiny, just-merged pppd module in my own lib/ folder :P
<__red__> Ashy: I have a presentation format you can borrow
<Ashy> the closest analogy i can think of is that it's like git in the early days
<danderson> flokli: hi! Thanks for the code review!
<__red__> Ashy: it's really just a map for a demo - but I converted about 30 people with it
<Ashy> it is going to revolutionize linux distros, but it hasnt quite reached critical mass yet
<infinisil> flokli: Yeah maybe, but as discussed in #65314, I think the best fix for the current mess is to have per-module stateVersions
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65314 (by aristidb, 12 weeks ago, open): make nixos.stateVersion mandatory
realrokka has joined #nixos
<infinisil> flokli: Which all start at 0, so we have services.postgres.stateVersion, which is mandatory if postgres is enabled
<infinisil> Same for all others that need stateVersion
<flokli> infinisil: the only problem I have with that is that nixos modules don't really clearly define a proper config namespace
<infinisil> flokli: Their option namespace?
<__red__> I really should put some meat on that presentation's bones and offer it up for people to use.
<infinisil> It's just gonna be another option
<infinisil> options.services.postgres.stateVersion = mkStateVersionOption { .. }
<flokli> infinisil: ah, hmm. this might become a bit unintuitive
<infinisil> flokli: How so?
broccoli has quit [Quit: leaving]
<flokli> infinisil: I'm worried about visibility
<flokli> and repetition of error handling etc. It shouldn't feel like some custom code somewhere in each module system
<flokli> danderson: in general, nixos modules not changing behaviour for existing configurations should be fine
abathur has quit [Ping timeout: 240 seconds]
<flokli> we also recently backported iwd networkmanager support
freeman42x has joined #nixos
freeman42xx has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
<Ashy> __red__: yeah, got a link?
<flokli> (requires changing a value to be enabled)
<danderson> flokli: cool! In that case I'll go figure out how to send a backport PR :D
freeman42xx has quit [Client Quit]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71207 → [19.09] nixos/networkmanager: allow iwd as Wi-Fi backend → https://git.io/Je8hp
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/Je4BH
<infinisil> flokli: Visibility for the end user? This shouldn't be a problem, they'll get an error if they don't set this option. Visibility for the module authors? Should not be a big problem, because the global stateVersion won't exist anymore but be replaced with a message explaining how to use mkStateVersionOption
<worldofpeace> flokli: now we have it backported 😺
toppler has quit [Ping timeout: 276 seconds]
<flokli> worldofpeace: ah
<__red__> Basically: I go: 1. This is nix - platform independent. We don't break your env like brew and its ilk (that gets the Mac developers interested)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71262 → Merge funkwhale python packages → https://git.io/Je487
<{^_^}> [nixpkgs] @worldofpeace pushed 19 commits to master: https://git.io/Je4BQ
<Ashy> __red__: haha nice
<flokli> infinisil: The error message generation, comparison etc. will be provided by some module-system-wide tooling? ok
<__red__> 2. If only there was an OS that used these principles... oh yeah, there is... it's called NixOS. Here's me being so confident I'll move my production systems back and forward major revisions. "Enterprise Linux" can barely patch itself.
<flokli> mkStateVersionOption, ok
lord| has joined #nixos
<__red__> 3. If I do mess up - here's my rollback (show rollbacks and grub screen) -- That's recruited the OS developers.
<flokli> danderson: we `cherry-pick -x ` the individual commits. In your case, it'd be a PR against the release-19.09 branch.
<infinisil> flokli: Yeah that
<__red__> 4. Then there's nixops -- That gets the infrastructure people
<danderson> flokli: perfect, thank you!
<__red__> Then lastly... I show them qmk_firmware's github which has a shell.nix file in their repo for building microcontroller firmware.
<__red__> Then I run that on my server, installing all the cross-platform compilers and dependancies... then when I exit the shell they've all gone poof
<__red__> and that's it. Room converted
phyfey[m] has joined #nixos
<Ashy> nice
<Ashy> got a youtube link of you doing your talk? :P
<worldofpeace> infinisil: I've merged the python modules on the funkwhale PR,https://github.com/NixOS/nixpkgs/pull/53416#issuecomment-542932709. So it's just funkwhale and the module
<__red__> No, the Illuminati don't allow cameras.
<infinisil> worldofpeace: Neat
<__red__> but arguably I could do it ahain
<__red__> again
<17SAALY3L> I'm trying to set up a nix-shell shebang, and I'm getting an error as if the script is being interpreted as nix
17SAALY3L has quit [Quit: Leaving]
7JTAARH42 has quit [Quit: Leaving]
judson__ has joined #nixos
<judson__> I'm trying to set up a nix-shell shebang, and I'm getting an error as if the script is being interpreted as nix
toppler has joined #nixos
<judson__> i.e "error: undefined variable 'pg_dump' at ..."
<gchristensen> that is weird
<Ashy> __red__: got a youtube channel i could subscribe to so i get notified?
<gchristensen> judson__: what does your first three lines look like?
<judson__> shebang like `#! /usr/bin/env nix-shell` `#! nix-shell -i bash -p postgresql_11` ``
<__red__> Ashy: you do things like that and I may be encouraged to do it
Soo_Slow has joined #nixos
<__red__> I'm actually kinda disheartened because I posted a few slides of my previous talks on twitter and got zero interest. Compare to when I inform the American audience that people in the UK eat with the fork upside down at 13,000 responses. Life is weird,
noudle has quit []
<__red__> Ashy: this is the channel I'd post it to: https://www.youtube.com/channel/UCw35hGSXpHpi97QNH7P4Rpg/videos
<__red__> but you'd be better off following me on twitter or github (@noidd and redvers respectively)
sigmundv has quit [Ping timeout: 265 seconds]
<Ashy> cheers, subscribed
<Ashy> youtube will notify me when you post a video, on twitter you'll just be a lost voice in the void of that perpetual scroll...
<__red__> understood
<infinisil> judson__: Can you reduce the script so you can still reproduce it and then gist it so we can see?
<__red__> I'll try and remember to poll you when I do it
<Ashy> followed you on all 3 anyway :)
<{^_^}> [nixpkgs] @risicle opened pull request #71270 → putty: 0.71 -> 0.73, fixing CVE-2019-17069 → https://git.io/Je4Rd
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @danderson opened pull request #71271 → [19.09] nixos/pppd: init → https://git.io/Je4RF
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
<danderson> Wheee! Okay, now, I *was* configuring a nixos router at some point in the past, before I started writing nixos modules...
<judson__> Thanks, btw, gchristensen and infinisil
<gchristensen> worked from here ...
<judson__> Hm. I'd thought maybe because it was inside an existing nix-shell that might be a problem. So I tried running it from outside a direnv'd directory.
<judson__> Possible having it in direnv-lorri env is the problem.
<judson__> That's weird.
<gchristensen> hrm...
<infinisil> And it worked outside the dir or..?
toppler has quit [Ping timeout: 240 seconds]
<judson__> cp pg_back /tmp; /tmp/pg_back works.
<judson__> But ~/dev/proj/pg_back doesn't (where there's a nix/lorri .envrc in ~/dev/proj)
<infinisil> Weird
<judson__> Ok, no -- it's that I'd named the script pg_back.nix-shell.
<judson__> Removing that suffix fixes it.
<judson__> And that suffix anywhere breaks it.
<gchristensen> wat
<infinisil> judson__: Even /tmp/pg_back.nix-shell?
<infinisil> That's very weird
<infinisil> Damn, can reproduce
<infinisil> It happens anywhere indeed
alexherbo2 is now known as alex```
<judson__> Yep
<infinisil> Doesn't happen with the extension .nix
<judson__> Glad I'm not the only one saying "wat"
ris has quit [Ping timeout: 258 seconds]
<infinisil> That *has* to be a bug
<gchristensen> how cool
<freeman42x> how can I ehm... stop this balloo / tags.so / kde thingie stop using CPU doing like... nothing probably without switching from KDE?
<judson__> `strings (which nix-shell)` includes 'nix-shell$'
<gchristensen> oh good grief
<infinisil> gchristensen: I was just looking at it too..
<pikajude> uhhhhh
noogie has quit [Remote host closed the connection]
<pikajude> oh, that's a bool
<judson__> That's... :D
<judson__> I'm weirdly delighted by this.
<infinisil> judson__: That's an amazing find!
toppler has joined #nixos
oscarvarto has quit [Quit: Konversation terminated!]
<judson__> So, is this a "well, don't do that"?
<infinisil> But still, I don't immediately see how that causes this
<gchristensen> I think first it is a bug report
<gchristensen> second it is a don't do that
<infinisil> Ah: if (runEnv && argc > 1 && !std::regex_search(argv[1], std::regex("nix-shell"))) {
<infinisil> That's the real cause I think
<infinisil> This is the "am I in a shebang" detection
freeman42x has quit [Remote host closed the connection]
<judson__> nixos/nix?
<gchristensen> right
<infinisil> Wait what's argv[1] in this case?
freeman42x has joined #nixos
freeman42xx has joined #nixos
freeman42xx has quit [Remote host closed the connection]
<infinisil> Ah it's the filename right
<infinisil> `#!/usr/bin/env nix-shell` becomes `nix-shell <filename>`