gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<exarkun> using this w/ nix-shell - https://github.com/exarkun/tahoe-lafs/blob/nix-dev-environment/nix/dev.nix - gets me an environment where appdirs, a dependency of twisted which is a dependency of tahoe-lafs, is not importable
sigmundv has joined #nixos
kleisli_ has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos
qubasa_ has joined #nixos
tmaekawa has joined #nixos
qubasa has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ddf38a82410 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
drakonis_ has joined #nixos
Guanin has quit [Remote host closed the connection]
Shouou has quit [Ping timeout: 252 seconds]
jgt has quit [Ping timeout: 252 seconds]
vika_nezrimaya has quit [Remote host closed the connection]
iyzsong has joined #nixos
ris has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #66402 → bazel: 0.28.0 -> 0.28.1 → https://git.io/fj70z
<{^_^}> [nixpkgs] @kalbasit pushed to master « bazel: 0.28.0 -> 0.28.1 (#66402) »: https://git.io/fj7zo
ToxicFrog has joined #nixos
vika_nezrimaya has joined #nixos
<pie_> clever: any ways I could improve this issue? https://github.com/zfsonlinux/zfs/issues/9148
<{^_^}> zfsonlinux/zfs#9148 (by deliciouslytyped, 49 seconds ago, open): Massive read latency under write load with root on ZFS 0.8-on-LUKS on SSD
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3cde54ceb99 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ToxicFrog has quit [Ping timeout: 245 seconds]
ToxicFrog has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
jgt has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #66412 → intake: 0.4.4 -> 0.5.3 → https://git.io/fj7zb
<pie_> elvishjerricco: do you think its meaningful to try creating another dataset that isnt the root dataset to see if thats relevant to the problem?
<{^_^}> [nixpkgs] @kalbasit merged pull request #66348 → pythonPackages.dask: 1.2.2 -> 2.2.0 → https://git.io/fj7LW
<{^_^}> [nixpkgs] @kalbasit pushed 4 commits to master: https://git.io/fj7zN
ToxicFrog has quit [Ping timeout: 268 seconds]
ToxicFrog has joined #nixos
<pie_> wellll uhhhhh.....
<pie_> elvishjerricco: unless i did something wrong i only have the problem if its my root device
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
justanotheruser has quit [Read error: Connection reset by peer]
ToxicFrog has quit [Ping timeout: 248 seconds]
ng0_ has joined #nixos
wildtrees has quit [Quit: Leaving]
ng0 has quit [Ping timeout: 260 seconds]
ToxicFrog has joined #nixos
mthst has quit [Ping timeout: 264 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
mthst has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #65924 → gitkraken: 6.0.0 -> 6.0.1 → https://git.io/fjHct
<{^_^}> [nixpkgs] @ryantm pushed 4 commits to master: https://git.io/fj7gU
froseph has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
vika_nezrimaya has quit [Quit: ERC (IRC client for Emacs 26.2)]
vika_nezrimaya has joined #nixos
jgt has quit [Ping timeout: 276 seconds]
justanotheruser has joined #nixos
iyzsong has joined #nixos
mthst has quit [Read error: Connection reset by peer]
mthst has joined #nixos
dl4mfo_ has joined #nixos
vika_nezrimaya has quit [Ping timeout: 245 seconds]
ng0_ has quit [Quit: Alexa, when is the end of world?]
thc202 has quit [Ping timeout: 250 seconds]
dl4mfo has quit [Ping timeout: 268 seconds]
oida has quit [Ping timeout: 260 seconds]
<pie_> can any of these top utilities show disk io of kernel threads?
jgt has joined #nixos
justanotheruser has quit [Ping timeout: 245 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<pie_> elvishjerricco: well, im stumped :(
schjetne has joined #nixos
<drakonis> pie_: iotop?
schjetne has quit [Ping timeout: 258 seconds]
<pie_> doesnt seem to work for kernel threads
<pie_> err, actually havent tried iotop yet
<pie_> nvm
<pie_> elvishjerricco: i was rather inaccurate earlier, its probably not application switching thats problematic but maybe if an application accesses the disk
<pie_> *shrug*
<pie_> like irc presumably does constantly
<pie_> not sure tho
justanotheruser has joined #nixos
<Ashy> is there something in bcctools that might help? http://www.brendangregg.com/ebpf.html#bcctools
<Ashy> help track down the issue i mean
<{^_^}> [nixpkgs] @marsam opened pull request #66413 → flow: 0.104.0 -> 0.105.0 → https://git.io/fj7gl
sigmundv has quit [Ping timeout: 246 seconds]
jgt has quit [Ping timeout: 264 seconds]
tmaekawa has quit [Quit: tmaekawa]
selfsymmetric-mu has quit [Remote host closed the connection]
mexisme has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
justanotheruser has quit [Read error: Connection reset by peer]
duckonomy has quit [Quit: z.z]
duckonomy has joined #nixos
pie_ has joined #nixos
selfsymmetric-mu has joined #nixos
pie_ has quit [Client Quit]
<hodapp> odd. one can no longer plot in wxmaxima, but I am not sure if this is a NixOS problem or an upstream wxmaxima problem
ToxicFrog has quit [Ping timeout: 272 seconds]
___laika has joined #nixos
duckonomy has quit [Quit: z.z]
alex`` has quit [Ping timeout: 258 seconds]
duckonomy has joined #nixos
fusion809 has quit [Remote host closed the connection]
ToxicFrog has joined #nixos
justanotheruser has joined #nixos
jgt has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
duckonomy has quit [Quit: z.z]
ddellacosta has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
dansho has quit [Ping timeout: 248 seconds]
duckonomy has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
mexisme_ has joined #nixos
MmeQuignon has quit [Ping timeout: 258 seconds]
mexisme has quit [Read error: Connection reset by peer]
froseph has quit [Remote host closed the connection]
_reanimus_ has joined #nixos
reanimus has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @ToxicFrog opened pull request #66415 → Crossfire → https://git.io/fj7g7
abathur has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
sb0 has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
jgt has joined #nixos
duckonomy has quit [Quit: z.z]
duckonomy has joined #nixos
<{^_^}> [nixpkgs] @nh2 opened pull request #66416 → pkgsStatic: Don't disable static on curl for git → https://git.io/fj72C
sogatori has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @nh2 opened pull request #66417 → pkgsStatic: Add libffi override → https://git.io/fj72W
Rusty1 has quit [Quit: Konversation terminated!]
ddellacosta has quit [Ping timeout: 244 seconds]
gentauro has joined #nixos
mrCyborg has quit [Read error: Connection reset by peer]
mrCyborg has joined #nixos
[Leary] has joined #nixos
Lears has quit [Read error: Connection reset by peer]
noogie has quit [Ping timeout: 245 seconds]
_reanimus_ has quit [Quit: Logging off...]
reanimus has joined #nixos
dispanser has quit [Ping timeout: 272 seconds]
noogie has joined #nixos
duckonomy has quit [Quit: z.z]
duckonomy has joined #nixos
kleisli_ has quit [Ping timeout: 246 seconds]
uranther has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/07ce48cc3a1 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @jlesquembre opened pull request #66418 → clojure: 1.10.1.466 -> 1.10.1.469 → https://git.io/fj72w
gentauro has quit [Quit: leaving]
endformationage has quit [Ping timeout: 246 seconds]
jgt has joined #nixos
rainmanjam has joined #nixos
schjetne has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
schjetne has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @takeda opened pull request #66419 → busybox: apply clang-cross patch when host is different than build system. → https://git.io/fj72P
palo1 has joined #nixos
dispanser has joined #nixos
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
jgt has quit [Ping timeout: 264 seconds]
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
pie_ has joined #nixos
<pie_> clever, elvishjerricco, ironically, firefox is one of the things that doesnt hang. i also had to switch to alacritty
<pie_> clever, its not quite in the spirit of the thing but i wonder if https://criu.org/Live_migration could be used + kexec sytle stuff to migrate a live system
<pie_> (*so im using the freenode webchat, lol sigh)
<pie_> someone _has_ to have done more research on this stuff..im not really getting any good google results
<pie_> im not expecting it to work but still :D
jgt has joined #nixos
<etu> ,tofu etu
<{^_^}> etu: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<etu> Thanks {^_^} :)
<{^_^}> [nixpkgs] @peterhoeg opened pull request #66420 → maestral: init at 0.2.6 → https://git.io/fj72p
rainmanjam has quit []
<{^_^}> [nixpkgs] @mmahut merged pull request #62344 → airsonic: 10.2.1 -> 10.3.1 → https://git.io/fjEqY
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj72h
zupo has joined #nixos
karswell_ has quit [Read error: Connection reset by peer]
karswell_ has joined #nixos
jgt has quit [Ping timeout: 276 seconds]
Okinan has quit [Quit: Konversation terminated!]
orivej has joined #nixos
drakonis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nek0 opened pull request #66421 → apply only patches for the right kernel → https://git.io/fj7aU
dm9 has joined #nixos
drakonis has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ilya-fedin has joined #nixos
lord| has quit [Quit: WeeChat 2.5]
lord| has joined #nixos
sb0 has quit [Quit: Leaving]
___laika has quit [Ping timeout: 245 seconds]
nexgen has joined #nixos
jgt has joined #nixos
lambda-11235 has quit [Quit: Bye]
<{^_^}> [nixpkgs] @mmahut merged pull request #65981 → liblockfile: 1.14 -> 1.15 → https://git.io/fjHPP
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7aG
<{^_^}> [nixpkgs] @mmahut merged pull request #65867 → caf: 0.16.3 -> 0.17.0 → https://git.io/fjHIO
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7aZ
<{^_^}> [nixpkgs] @stefano-m opened pull request #66422 → icedtea_web: 1.7.1 -> 1.8.3 → https://git.io/fj7ac
<petercommand> ,help petercommand
<{^_^}> petercommand: Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<petercommand> ,
<{^_^}> Special commands: find tell locate expand - Commands sorted by use count, page 0 (use ,<n> to view page <n>): tofu help libraries unstable unfree library declarative escape'' ping overlay escape" howoldis pinning profiling ask pr -a callpackage cache imperative which-channel paste xy exec nixlang++ wololo fancy-uninstall pills stateversion botsnack channels haskell home-manager loot stuck tias timer dontask pointers pure-eval runtimedeps xml cloak
<{^_^}> [nixpkgs] @mmahut merged pull request #65175 → rapid-photo-downloader: 0.9.14 -> 0.9.15 → https://git.io/fjM83
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj7al
thomashoneyman has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #65192 → uid_wrapper: 1.2.4 -> 1.2.7 → https://git.io/fjM0m
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7aR
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #65871 → abcmidi: 2019.06.14 -> 2019.08.02 → https://git.io/fjHIa
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj7aE
<{^_^}> [nixpkgs] @mmahut merged pull request #65051 → abcm2ps: 8.14.4 -> 8.14.5 → https://git.io/fj1Ay
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7ag
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #66423 → pptp: Fix shebangs → https://git.io/fj7aK
rumblefrog has joined #nixos
<rumblefrog> Greetings, I recently switched from 19.03 channel to unstable hoping to upgrade my plasma version. However, upon running `nixos-rebuild switch --upgrade`, my plasma version remained at 5.14.5 instead of upgrading to what appears to be 5.15.5 on the master branch. Any guidance would be appreciated.
<petercommand> rumblefrog: maybe just import master directly?
<rumblefrog> petercommand: Sorry, how would I go about importing master directly?
<petercommand> rumblefrog: import the result of fetchgit?
cjpbirkbeck has quit [Quit: Quitting now.]
sb0 has joined #nixos
cjpbirkbeck has joined #nixos
thomashoneyman has quit [Quit: Lost terminal]
thomashoneyman has joined #nixos
<petercommand> rumblefrog: import (pkgs.fetchgit { src = "url to nixpkgs github"; rev = ...; sha256 = ...; }) {}
thomashoneyman has quit [Client Quit]
o1lo01ol1o has joined #nixos
<rumblefrog> petercommand: I'm new to nix, so I'm not sure where to use that. I thought you were referring to something like `builtins.fetchGit { url = https://github.com/NixOS/nixpkgs; rev = "f93da326abf32eea179ecfabb2e09f36d6ab8ca9"; }` in nix repl
<petercommand> rumblefrog: use the fetchgit from nixpkgs
<petercommand> rumblefrog: I remember I wasn't able to specify rev with the builtin fetchGit
<rumblefrog> I was looking at master's plasma srcs.nix and saw that plasma was at 5.15.5 https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/plasma-5/srcs.nix
<{^_^}> [nixpkgs] @mmahut merged pull request #65126 → powershell: 6.2.1 -> 6.2.2 → https://git.io/fjMGs
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj7aQ
iyzsong has joined #nixos
Yakulu has quit [Quit: Gateway shutdown]
<petercommand> rumblefrog: maybe you can import this file in nix repl and see if the version is correct?
Yakulu has joined #nixos
<petercommand> rumblefrog: how did you switch to unstable?
<petercommand> rumblefrog: I think I am also quite new to nix..just finished reading nix pills a couple of days ago :D
<rumblefrog> petercommand: I ran `nix-channel --add https://nixos.org/channels/nixos-unstable nixos`
<rumblefrog> Then `nixos-rebuild switch --upgrade` for the upgrade
iyzsong has quit [Ping timeout: 268 seconds]
<petercommand> rumblefrog: what's the result of nix-channel --list?
<rumblefrog> petercommand: `nixos https://nixos.org/channels/nixos-unstable`
<petercommand> rumblefrog: perhaps `nix-channel --update`?
<petercommand> rumblefrog: then rebuild again
o1lo01ol1o has quit [Remote host closed the connection]
<rumblefrog> the switch upgrade should be equav to `nix-channel --update nixos; nixos-rebuild`
liberiga has joined #nixos
oida has joined #nixos
<petercommand> hmm
<rumblefrog> Going to try another option and give it a reboot
rumblefrog has quit [Remote host closed the connection]
thc202 has joined #nixos
rumblefrog has joined #nixos
<rumblefrog> petercommand: aha, that did it. I had to run the channel add with sudo, otherwise it wouldn't affect packages within configuration.nix
<rumblefrog> can't believe I missed that part in the doc
<rumblefrog> thanks for the help
<petercommand> :D
phreedom_ has joined #nixos
<pie_> im feeling the urge to write a DSL for managing zfs
<pie_> [internal screaming]
<petercommand> pie_: what kind of DSL?
cjpbirkbeck has quit [Quit: Quitting now.]
<pie_> the kind i will never actually implement
<pie_> all the things i want to do seem just a bit broken
<pie_> PEBKAC i need a hug
<petercommand> um, like, what operations would you want in the DDSL?
<pie_> well right now rules to transfer snapshot structures between two pools
phreedom has quit [Ping timeout: 260 seconds]
<pie_> -R didnt do what i wanted, or i couldnt figure it out, so im using some thing called syncoid which kind of does what i want but it creates its own snapshots
<pie_> and the tool isnt particularly atomic in that killing it leaves a bunch of running child processes
<pie_> someone please throw lots of money at me
<{^_^}> [nixpkgs] @mmahut merged pull request #41701 → gperftools: 2.6.3 -> 2.7 → https://git.io/vhg8f
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7VJ
ixxie has joined #nixos
<pie_> on the other hand syncoid does seem to actually be doing a variant of what i wanted sooo, thats a start
<pie_> im feeling the urge to write a DSL for managing zfs[internal screaming]the kind i will never actually implementall the things i want to do seem just a bit brokenPEBKAC i need a hug
<pie_> whoops
rumblefrog has quit [Remote host closed the connection]
asymptotically has joined #nixos
<petercommand> hmmm...I thought I can do sth like import <nixpkgs>/pkgs/desktops/plasma-5/srcs.nix {}
<pie_> petercommand try the > at the end
<petercommand> oh..
<petercommand> pie_: that works! thanks!
<pie_> ^.^ yay
<petercommand> ^.^
<{^_^}> [nixpkgs] @Gerschtli opened pull request #66425 → environment.profiles: fix order of profiles and PATH → https://git.io/fj7Vq
<petercommand> what's the best way to build packages that use package managers to dynamically determine dependency versions through solvers?
<petercommand> fixed-output derivation?
lord| has quit [Quit: WeeChat 2.5]
<petercommand> in nixos
<pie_> i dont know about best way, but if you can get some sort of lock file that would be good
<pie_> theres stuff about this in the issue tracker but i cant think of how to find it offhand
<pie_> you _can_ use a fixed output derivation, but thats generally bad because reasons
<pie_> that i always forget
<pie_> well, its bad *most of the time but not always
<pie_> petercommand what language
<petercommand> because the solver might resolve the dependencies to a different version?
<pie_> err what package manager
<{^_^}> [nixpkgs] @jdanekrh opened pull request #66426 → jetbrains.rider: 2019.1.2 -> 2019.2 → https://git.io/fj7VY
<petercommand> pie_: yarn (e.g. electron-builder)
<pie_> ok yeah idk
<pie_> i think theres at least one yarn2nix
<pie_> dunno how well it works
<petercommand> yes..
<pie_> iirc electron stuff is a bit weird
<petercommand> I wasn't able to get it to work with electron-builder
<petercommand> pie_: anyway, this isn't a problem that's specific to a particular language
<pie_> yeah i know, hence the mention of github issues
<{^_^}> nix#2270 (by edolstra, 1 year ago, open): Restrict fixed-output derivations
<pie_> that _seems_ like one of them, i think tere was something more languge package manager oriented, but im really not sure
<{^_^}> [nixpkgs] @pacien opened pull request #66427 → pure-prompt: init at 1.10.3 → https://git.io/fj7VG
<petercommand> many of the electron-builder apps on nixpkgs just unpack deb files and patch the binaries
<petercommand> like atom
<pie_> depending on how deep you want to dig, some of these might be related https://github.com/NixOS/nixpkgs/issues?page=2&q=language+package++lock&utf8=%E2%9C%93
<pie_> petercommand, well, that also seems viable, you can also try steam-run
<pie_> though thats got its own problems, but if you just want something to work
<pie_> theres also appimage-run i think
<petercommand> i.e. buildFHSUserEnv?
<petercommand> (steam-run)
lord| has joined #nixos
<petercommand> Ah, steam-run looks nice
<pie_> yeah but im lazy so i just use steam-run directly
<petercommand> pie_: steam-run might miss dependencies
<petercommand> or maybe I am not doing it correctly
<petercommand> trying steam-run on electron, I got a message saying that libgtk3 is missing
<pie_> yeah exactly, so yeah ok
alex`` has joined #nixos
qqlq has joined #nixos
<pie_> you might be able to just add that to steam run though, im not sure
<pie_> eh, sorry, my head is elsewhere and i dont know much about this stuff anywayt
<pie_> elvishjerricco: so... does a DSL for managing ZFS sound like a bad idea
o1lo01ol1o has joined #nixos
<petercommand> anyway yesterday I copied the files from buildFHSUserEnv and made some changes to the scripts so that it would instead chroot into an existing chroot fs
<petercommand> so I would be able to directly install deb and rpm files
<petercommand> into the chroots
<sb0> on nixos 19.03, I added a user that does not belong to the networkmanager group and it is still possible to alter connections from the KDE interface when logged into that account
<petercommand> and yeah, overriding steam-run might be a good idea
<sb0> is that expected behavior?
Shouou has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<petercommand> pie_: ah, yeah, there is an add missing dependencies on the steam-run nixos wiki page
<{^_^}> [nixpkgs] @domenkozar merged pull request #66364 → elm-format: 0.8.1 -> 0.8.2 → https://git.io/fj7Ok
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/fj7VB
<petercommand> pie_: thanks for the steam-run/appimage-run suggestion :D
<pie_> nice find
<pie_> didnt think it would be that easy :D
<petercommand> :D
mexisme_ has joined #nixos
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
qqlq has joined #nixos
o1lo01ol1o has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
schjetne has joined #nixos
mexisme_ has joined #nixos
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 9 commits to haskell-updates: https://git.io/fj7V6
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj7VP
Chiliparrot has joined #nixos
liberiga has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @marsam merged pull request #66031 → pony-stable: 0.2.0 -> 0.2.1 → https://git.io/fjH9F
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7VS
<{^_^}> [nixpkgs] @marsam merged pull request #66043 → python37Packages.django_polymorphic: 2.0.3 -> 2.1.2 → https://git.io/fjHQm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7VH
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fj7VF
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj7VN
<{^_^}> [nixpkgs] @marsam merged pull request #66000 → now-cli: 15.5.0 -> 15.8.7 → https://git.io/fjHMt
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7VA
irl25519 has joined #nixos
<{^_^}> [nixpkgs] @Gerschtli opened pull request #66428 → zsh-better-npm-completion: init at 2017-07-02 → https://git.io/fj7Vp
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fj7Vh
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj7we
phreedom_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #65996 → neo4j: 3.5.6 -> 3.5.8 → https://git.io/fjH18
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7wv
orivej has joined #nixos
chris__ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #66056 → pngpp: 0.2.9 -> 0.2.10 → https://git.io/fjH5w
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7wf
<{^_^}> [nixpkgs] @mmahut merged pull request #64781 → clickhouse: 19.6.2.11 -> 19.9.2.4 → https://git.io/fjXo3
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj7wk
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @adisbladis merged pull request #66360 → Emacs packages update: 2019-08-09 → https://git.io/fj7mX
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fj7wO
<{^_^}> [nixpkgs] @markuskowa merged pull request #66380 → rdma-core: 24.0 -> 25.0 → https://git.io/fj7nC
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fj7w3
<laas> does anyone here have experience with adding a custom keyboard layout when using wayland?
<laas> setxkbmap doesn't work after all
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #65969 → liblcf: 0.6.0 -> 0.6.1 → https://git.io/fjH63
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7ws
<{^_^}> [nixpkgs] @Gerschtli opened pull request #66429 → liquidprompt: init at 2018-05-21 → https://git.io/fj7wZ
bennofs has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #65974 → lxcfs: 3.0.4 -> 3.1.2 → https://git.io/fjH6x
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7wc
<{^_^}> [nixpkgs] @marsam merged pull request #65988 → lxc: 3.1.0 -> 3.2.1 → https://git.io/fjHXm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7wl
iyzsong has joined #nixos
ris has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #65967 → liblastfm: 1.0.9 -> 1.1.0 → https://git.io/fjH6I
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7w0
phreedom has joined #nixos
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj7wz
<{^_^}> [nixpkgs] @marsam merged pull request #66413 → flow: 0.104.0 -> 0.105.0 → https://git.io/fj7gl
orivej has quit [Ping timeout: 245 seconds]
mkoenig has quit [Read error: No route to host]
mkoenig_ has joined #nixos
schjetne has quit [Ping timeout: 244 seconds]
dispanser has quit [Ping timeout: 244 seconds]
chris__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.beta: 3.5.0.19 -> 3.5.0.20 »: https://git.io/fj7wM
jtojnar has joined #nixos
schjetne has joined #nixos
<Gopal[m]> hello! wasn't someone trying to update Plasma in nixpkgs the other day?
<{^_^}> [nixpkgs] @szszszsz opened pull request #66430 → glm: 0.9.8.5 -> 0.9.9.5 → https://git.io/fj7wH
schjetne has quit [Remote host closed the connection]
<pie_> ugh, stuck with pkgconfig yak shaving...i think?
dm9 has quit [Quit: WeeChat 2.5]
<pie_> ./configure finds one set of header files but not the other
<ar> ,locate vega20_ta.bin
<{^_^}> Couldn't find in any packages
tg has quit [Ping timeout: 272 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Miyu-chan> Hm, what's the last section of NixOps deployment's UUID? I'm getting the same one every nixops create?
tg has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 12 commits to haskell-updates: https://git.io/fj7rk
bakakuna has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.7.14 -> 1.8.0 »: https://git.io/fj7rL
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken builds »: https://git.io/fj7rm
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj7rO
<{^_^}> [nixpkgs] @peti pushed 15 commits to haskell-updates: https://git.io/fj7rG
<Orbstheorem> On `nix repl`, is there any way to access the place where a attrset was declared in nixpkgs?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj7rc
<clever> > builtins.unsafeGetAttrPos "hello" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/all-packages.nix"; line = 18593; }
<clever> Orbstheorem: ^^
<Orbstheorem> yay, thanks!
<Orbstheorem> I suppose the primop is called unsafe because is not pure. Do you advice against using this in a “quick” shell script?
mexisme_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @mmahut closed pull request #60710 → python37Packages.azure-mgmt-network: 2.5.1 -> 2.6.0 → https://git.io/fjZPz
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/62509f72cf1 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
bennofs has quit [Ping timeout: 245 seconds]
<clever> Orbstheorem: id say go ahead, its even used by things like
<clever> > pkgs.hello.meta.position
<{^_^}> "/var/lib/nixbot/nixpkgs/master/repo/pkgs/applications/misc/hello/default.nix:15"
<{^_^}> [nixpkgs] @mmahut closed pull request #60711 → python37Packages.azure-mgmt-compute: 4.4.0 -> 4.6.2 → https://git.io/fjZPw
<{^_^}> [nixpkgs] @timokau merged pull request #66396 → sage: default to long tests again → https://git.io/fj78A
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fj7r8
<Orbstheorem> Alirght, cool ^^
MmeQuignon has joined #nixos
dispanser has joined #nixos
npmccallum has joined #nixos
chloekek has joined #nixos
<worldofpeace> Gopal: Current wip for plasma updates is in #65561
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65561 (by nyanloutre, 1 week ago, open): kde_applications: 19.04.1 -> 19.04.3; kdeFrameworks: 5.58 -> 5.60; plasma-5: 5.15.5 -> 5.16.4
<Gopal[m]> thank you <3
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5b874f2399f (from 86 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<exarkun> using this w/ nix-shell - https://github.com/exarkun/tahoe-lafs/blob/nix-dev-environment/nix/dev.nix - gets me an environment where appdirs, a dependency of twisted which is a dependency of tahoe-lafs, is not importable
kenshinCH has joined #nixos
reanimus has quit [Quit: Logging off...]
reanimus has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @andir merged pull request #66393 → chromium: 76.0.3809.87 -> 76.0.3809.100 → https://git.io/fj780
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fj7oq
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-19.03: https://git.io/fj7om
<{^_^}> [nixpkgs] @andir merged pull request #66394 → [19.03] chromium: 76.0.3809.87 -> 76.0.3809.100 → https://git.io/fj78E
ris has quit [Ping timeout: 258 seconds]
<worldofpeace> nyanloutre: you might to consider plasma-5 maintainership if you can. You've been real essential in keeping that up to date.
<{^_^}> [nixpkgs] @primeos opened pull request #66433 → scons: 3.1.0 -> 3.1.1 → https://git.io/fj7oY
<gchristensen> nyanloutre[m]++ worldofpeace++
<{^_^}> nyanloutre[m]'s karma got increased to 1, worldofpeace's karma got increased to 28
<nyanloutre[m]> worldofpeace ok, I will add myself :)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66322 → rapid-photo-downloader: fix QT wrapping → https://git.io/fjQh8
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj7oO
Chiliparrot has joined #nixos
vika_nezrimaya has joined #nixos
bakakuna has quit [Ping timeout: 248 seconds]
<worldofpeace> It's most helpful for others also , since you've performed most of the last changes you'll be in the know of where things are.
crmlt has joined #nixos
edef has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @domenkozar merged pull request #66328 → Extract NixOS options documentation generation to a function → https://git.io/fj7ep
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/fj7oW
jelion15 has joined #nixos
edef has joined #nixos
ng0 has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #66434 → ffmpeg_4: 4.1.4 -> 4.2 → https://git.io/fj7oz
<{^_^}> [nixpkgs] @lightbulbjim opened pull request #66435 → sigil: use qt5's mkDerivation → https://git.io/fj7o2
<{^_^}> [nixpkgs] @domenkozar opened pull request #66436 → make-options-doc: expose Nix set → https://git.io/fj7ow
dispanser has quit [Ping timeout: 268 seconds]
abathur has quit [Ping timeout: 272 seconds]
chloekek has quit [Ping timeout: 245 seconds]
dispanser has joined #nixos
ottidmes has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3e0e15665a9 (from 41 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @AtkinsChang opened pull request #66437 → vistafonts-cht: init → https://git.io/fj7o1
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/fj7oS
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « Merge #65668: wavpack: CVE-2019-1010317 CVE-2019-1010319 »: https://git.io/fj7o9
<{^_^}> [nixpkgs] @vcunat merged pull request #65668 → wavpack: CVE-2019-1010317 CVE-2019-1010319 → https://git.io/fj9fB
<{^_^}> [nixpkgs] @vcunat pushed 10 commits to master: https://git.io/fj7ob
<{^_^}> [nixpkgs] @volth opened pull request #66438 → chromium-git: init at 78.0.3879.1 → https://git.io/fj7oh
npmccallum has quit [Quit: npmccallum]
chloekek has joined #nixos
<nek0> hi folks, I have a problem with graphics acceleration on nixos-unstable. Even glxgears fails with "Error: couldn't get an RGB, Double-buffered visual". Can anybody help me?
<{^_^}> [nixpkgs] @vcunat merged pull request #65846 → Update php packages → https://git.io/fjHeb
<{^_^}> [nixpkgs] @mmahut closed pull request #59578 → lsp-plugins: 1.1.5 -> 1.1.9 → https://git.io/fjmHT
MmeQuignon has quit [Quit: WeeChat 2.4]
<ivan> nek0: which GPU?
<nek0> ivan: nvidia. I need the nvidiaLegacy390 driver.
<ivan> did you reboot after nixos-rebuild?
seppellll has joined #nixos
seanparsons has quit [Quit: ZNC 1.7.3 - https://znc.in]
<nek0> ivan: yes
seanparsons has joined #nixos
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj7KG
<{^_^}> [nixpkgs] @aanderse merged pull request #66169 → subversionClient: 1.12.0 -> 1.12.2 → https://git.io/fjQmJ
domogled has joined #nixos
<ivan> nek0: you can check your ~/.xorg.log to see if it's using the nvidia driver
<ivan> journalctl -b is the other place to look for anything nvidia-related
<nek0> ivan: 08:51:06 miskatonic systemd-modules-load[630]: Failed to find module 'nvidia_x11'
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c0e56afddbc (from 27 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<ivan> nek0: legacy kernel module may be failing to load on newer kernels, you might try 4.14
<nek0> I am using kernel 4.19
orivej has joined #nixos
shabius has joined #nixos
ixxie has quit [Ping timeout: 248 seconds]
<nek0> ivan: I am trying to install kernel 4.14 now. let's see, what happens.
<{^_^}> [nixpkgs] @mmahut closed pull request #61015 → python37Packages.azure-mgmt-storage: 3.1.1 -> 3.3.0 → https://git.io/fj7KR
<{^_^}> #66421 (by nek0, 6 hours ago, open): nvidia-x11 - apply only patches for the right kernel
<nek0> ivan: yes, this is my own pull request.
<{^_^}> [nixpkgs] @aanderse opened pull request #66439 → subversion: 1.9.10 -> 1.9.12, 1.10.4 -> 1.10.6 → https://git.io/fj7Kz
<ivan> oh heh
<nek0> I am building the system from my repo
alex`` has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @mmahut closed pull request #61881 → python37Packages.azure-storage-common: 1.4.0 -> 2.0.0 → https://git.io/fj49I
jelion15 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fj7Ka
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.03: https://git.io/fj7Kw
<ivan> oh heh
<ivan> (wrong window)
<ivan> (trying to make Rust compile)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/387e6952d33 (from 48 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
shabius_ has joined #nixos
shabius_ has quit [Max SendQ exceeded]
shabius has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @grahamc closed pull request #48497 → Verify doc examples → https://git.io/fxucq
shabius_ has joined #nixos
shabius_ has quit [Max SendQ exceeded]
shabius_ has joined #nixos
shabius_ has quit [Max SendQ exceeded]
shabius_ has joined #nixos
<nek0> ivan: I built my system now with kernel 4.14 and rebooted, but the problem prevails.
<ivan> if `lsmod | grep -i nvidia` doesn't list loaded modules I would investigate why they failed to load
<nek0> ivan: it's loaded.
<ivan> very interesting, maybe xorg is to blame then
shabius_ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #66440 → subversion: 1.9.9 -> 1.9.12, 1.10.4 -> 1.10.6 → https://git.io/fj7KS
laalf has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #62377 → cli11: 1.7.1 -> 1.8.0 → https://git.io/fjEOb
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj76T
<{^_^}> [nixpkgs] @mmahut merged pull request #62515 → python37Packages.azure-mgmt-resource: 2.1.0 -> 2.2.0 → https://git.io/fjEaB
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj76I
vika_nezrimaya has quit [Read error: Connection reset by peer]
<nek0> ivan: so what do I do now?
dansho has joined #nixos
<yorick> removing user ‘’ <-- sure hope that wasn't important
zupo has joined #nixos
<{^_^}> [nixpkgs] @mmahut closed pull request #63462 → wiredtiger: 2.6.1 -> 3.2.0 → https://git.io/fjVU8
<Miyu-chan> Since jq is probably the most used "stream"-processing program in nixpkgs(after sed and awk, ofc.), then have any of you heard of q? https://github.com/harelba/q
<Miyu-chan> SQL on textual tabular data
<simpson> Miyu-chan: Nice!
switchy has quit [Ping timeout: 272 seconds]
<Miyu-chan> Only `select` is implemented though.
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
<ivegotasthma> how do I patch a package only if it's being built using python3x?
<petercommand> is there any FFI support in nix?
<{^_^}> [nixpkgs] @vbgl merged pull request #65845 → ocamlPackages.pgocaml: 2.3 -> 3.2 → https://git.io/fjHey
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.pgocaml: 2.3 -> 3.2 »: https://git.io/fj760
<simpson> petercommand: For the Nix language? Not really, and it's not that sort of language. What did you want to build?
<simpson> ivegotasthma: You can ask your pythonPackages.python whether it is py3.
<simpson> > python2Packages.python.isPy3
<{^_^}> false
<simpson> > python3Packages.python.isPy3
<{^_^}> true
<ivegotasthma> simpson: how do I use that variable for conditionally patching a package?
<petercommand> simpson: I am not trying to use FFI right now, it's just that I don't see any reason why FFI might be bad (other than impurities I guess?)
<simpson> ivegotasthma: `patches = if python.isPy3 then [ cool.patch ] else [];` or something like that. There's combinators for making it easier but I don't remember their names.
<petercommand> simpson: what do you mean that sort of language?
<ivegotasthma> currenty I'm using patchPhase to inject my changes
<balsoft> `patches = lib.optional python.isPy3 cool.patch;`
<simpson> petercommand: FFI is bad not just because of impurities, but because Rice-trivial properties of a language usually can't be enforced across the FFI barrier. For example, good luck extending a language's memory-safety properties across an FFI to C.
<ivegotasthma> is there a manual on how to do it with patches?
shabius has joined #nixos
<petercommand> simpson: Rice-trivial..as in ..the Rice in Rice theorem?
<simpson> petercommand: Nix is a description (meta-)language for a capability-aware package manager. There's some basic security properties, confinement, integrity, and confidentiality, given for free by the fact that Nix is lambda-calculus-shaped. FFI would jeopardize these properties. (FWIW this is also why there's no FFI in my Monte language.)
LogicAside has quit [Ping timeout: 245 seconds]
<simpson> ivegotasthma: You can configure patchPhase optionally, too.
<ivegotasthma> the same way?
<simpson> Or something similar. I'm not sure; play with it until it works.
qqlq has quit [Ping timeout: 272 seconds]
<petercommand> simpson: are these security properties documented anywhere?
<petercommand> like, what's confinement?
Ariakenom has joined #nixos
mexisme_ has joined #nixos
<simpson> petercommand: A quick search engine query has persuaded me to add some writeups to capability.party. For now, p99 of http://erights.org/talks/thesis/markm-thesis.pdf
<simpson> A pocket calculator is confined; it has an air gap around it and a clearly defined interface of input and output. "The air gap let[s] you see that the box came with *no strings attached*."
fendor has joined #nixos
mexisme_ has quit [Ping timeout: 252 seconds]
<simpson> petercommand: Ah, found an old Lampson paper that discusses confinement a lot more: https://users.soe.ucsc.edu/~sbrandt/221/Papers/Security/lampson-cacm73.pdf
orivej has joined #nixos
<petercommand> thanks
crmlt has quit [Quit: leaving]
<{^_^}> [nixpkgs] @teto closed pull request #48139 → subtitles-rs: init at 20180611 → https://git.io/fxcF4
<simpson> petercommand: Closer to Nix, p63 of https://nixos.org/~eelco/pubs/phd-thesis.pdf describes an extended correspondence between memory-safety properties in programming languages and Nix-like security properties in software deployments.
<petercommand> simpson: well, shouldn't the user be able to, say, trust a specific code snippet and claim that calling that code with FFI is safe?
<petercommand> like, trust that the code is pure
zombyz03 has joined #nixos
<petercommand> and doesn't do anything else besides producing its primary output
<simpson> petercommand: Maybe. After all, when we trust code, bringing it inside our TCB, what we're really saying is that we are allowing this code to exploit our vulnerabilities.
zombyz03 has quit [Excess Flood]
<simpson> And ideally we would not really like for *any* Nix code to have this property!
<simpson> I know that there are ecosystems, like Haskell and Rust, where folks do this on a regular basis. It's not sufficient, though; the system is based on social trust (ironic?) and is easily subverted.
<simpson> petercommand: So, like, returning to my primary question: What do you want to build?
<petercommand> simpson: I am just trying to get to know more about the language design I guess
<balsoft> I've seen some work on calling arbitrary functions with FFI by creating a new builtin, but I can't find it unforunately
<simpson> petercommand: I linked Eelco's thesis above, and it's quite good reading.
seppellll has quit [Ping timeout: 248 seconds]
seppellll has joined #nixos
<petercommand> simpson: well, if a system doesn't depend on social trust, that means that the user has to spend *a lot* of effort to make sure that they are not exploited
<petercommand> like, when I do nix-channel --update, I am trusting that the channels that I subscribed are not malicious
<simpson> petercommand: Yep! Hence why I've taken years out of my life to build a modern flavor of E. We need tools to enable secure distributed computation between mutually-untrusting machines.
<Miyu-chan> Also. Nix does have FFI, right?
<simpson> Nix is a powerful and useful *transitional* technology. It's not perfect. By the time the revolution comes, we will not be building piles of C.
<Miyu-chan> plugin-files
<Miyu-chan> A list of plugin files to be loaded by Nix. Each of these files will be dlopened by Nix, allowing them to affect execution through static initialization.
iyzsong has quit [Ping timeout: 245 seconds]
<simpson> Miyu-chan: You give me the security-feelings. Thanks, I hate it~
<Miyu-chan> :D
<Miyu-chan> Again!
<ivegotasthma> simpson: the revolution?
<{^_^}> [nixpkgs] @primeos opened pull request #66442 → iw: 5.0.1 -> 5.3 → https://git.io/fj76i
<simpson> ivegotasthma: Imagine if our approach to programming hardware was to, first, craft an interface above the hardware, and then program to that interface.
<ivegotasthma> essentially what an OS does? :D
<simpson> Yes, but don't stop. By the time you get to an OS, you should be writing in a memory-safe, capability-safe language, right? Not C or C++.
<{^_^}> [nixpkgs] @marsam merged pull request #52588 → fffuu: init at unstable-2018-05-26 → https://git.io/fhvcP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj76y
<simpson> Put another way, how many lines of assembly do we *need* for a machine? How many lines of C?
<ivegotasthma> a lot
<ivegotasthma> but I get your point
ThatOtherGuy has joined #nixos
<simpson> http://sel4.systems/ would be an OS to look at to get a better idea of what I'm advocating.
<ivegotasthma> it's still written in C though
<ivegotasthma> generated through haskell though
ThatOtherGuy is now known as LogicAside
<simpson> Yep; it, too, is transitional. We can't really properly start on capability-safe systems until we've finished getting the world to stop writing in memory-unsafe languages.
justanotheruser has quit [Ping timeout: 245 seconds]
chloekek has quit [Ping timeout: 248 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest29 has joined #nixos
<Guest29> Hey everyone
<Yaniel> hi
<Guest29> Is there any common resource for best practices when hacking on nixpkgs? Seems like I'm finding a lot of info in my searches, but it's kinda all over the place, and sometimes seems outdated
<Yaniel> personally I test by using nix-env -f /path/to/my/nixpkgs -iA thing.im.working.on
<ivegotasthma> Guest29: this channel is helpful
<Guest29> So in that case you've cloned nixpkgs somewhere and you're just test installing the one package you're working on?
<Guest29> Yeah, I gotta say I've been coming back to this channel every time I run into issues, and it's always been helpful
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66398 → Move certain GNOME3 options to programs → https://git.io/fj74n
<{^_^}> [nixpkgs] @worldofpeace pushed 7 commits to master: https://git.io/fj7ic
<Yaniel> yeah that's what I do for stuff that I want to get into the official nixpkgs
kleisli_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-19.03: https://git.io/fj7iW
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66236 → Reorganize GNOME tests, re-enable LightDM for release-combined → https://git.io/fjQuT
<{^_^}> [nixpkgs] @worldofpeace pushed 11 commits to master: https://git.io/fj7il
ixxie has joined #nixos
<Guest29> Is there any simpler way to debug a single derivation without cloning the entire nixpkgs? Say something like https://pastebin.com/8E4ajHjP
<Yaniel> you can set it up as an overlay
<ajs124> You can simply run nix-build -E '(import <nixpkgs> {}).callPackage ./bla.nix {}'
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2eed7af1cb8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @vcunat pushed commit from @Izorkin to release-19.03 « libssh2: 1.8.2 -> 1.9.0 »: https://git.io/fj7iu
<Guest29> Thanks all, that should help
cjpbirkbeck has quit [Quit: Quitting now.]
bakakuna has joined #nixos
<Guest29> I guess there are many ways of getting the job done, just gotta figure out which works best for my workflow
chris__ has joined #nixos
drakonis_ has joined #nixos
fendor_ has joined #nixos
fendor has quit [Ping timeout: 245 seconds]
drakonis has quit [Ping timeout: 258 seconds]
<infinisil> Guest29: Alternatively you can do a shallow nixpkgs clone, which is much faster to clone
<allgreed> Howdy, is there an easy, idiomatic way to merge two sets? As in: f { a = 5; } {b = 3; } == { a = 5; b = 3; }.
<infinisil> > { a = 5; } // { b = 3; }
<{^_^}> { a = 5; b = 3; }
<chris__> Does anyone have any recommendations for learning how 'Nixos' works? I've got some understanding of Nix/store/packages but I'm not sure how Nixos is put together? My guess would be to look at nixos-rebuild, but if anyone has any suggetions that would be great.
<infinisil> allgreed: Like this?
<Guest29> What is a shallow nixpkgs clone?
<infinisil> Guest29: Look at the --depth option in `man git clone`
<allgreed> infinisil: yup, thx. I've somehow missed it when reading operator list o.0
<infinisil> > { a = 1; } // { a = 2; b = 3; }
<{^_^}> { a = 2; b = 3; }
<infinisil> allgreed: Note this however ^^ it will just override the other `a`
englishm has quit [Excess Flood]
<clever> > let foo = { a = 42; } in foo ? a
<{^_^}> error: syntax error, unexpected IN, expecting ';', at (string):256:23
<clever> > let foo = { a = 42; }; in foo ? a
<{^_^}> true
<clever> > let foo = { a = 42; }; in foo.b or "not found"
<{^_^}> "not found"
englishm has joined #nixos
Thra11 has joined #nixos
fendor_ has quit [Ping timeout: 268 seconds]
<petercommand> > 1 ? a
<{^_^}> false
<petercommand> > a ? a
<{^_^}> false
<petercommand> > rec { a = a } ? a
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):256:13
<petercommand> > (rec { a = a }) ? a
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):256:14
<petercommand> > (rec { a = a; }) ? a
<{^_^}> true
<petercommand> > (rec { inherit a; }) ? a
<{^_^}> true
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
ixxie has quit [Ping timeout: 245 seconds]
<infinisil> petercommand: Can also do this in a `nix repl` fyi :)
<petercommand> :D
<infinisil> Or the bot is also in PM's and #bottest for spammier stuff
<petercommand> infinisil: thx :D
Guest29 has quit [Ping timeout: 244 seconds]
<m1crOman> Hey folks. As per https://github.com/NixOS/nixpkgs/issues/53852 how does using systemd-tmpfiles replace creating persistent directories in preStart? I mean, are they _not_ temp dirs when you use tmpfiles?
<{^_^}> #53852 (by nh2, 29 weeks ago, open): systemd's PermissionsStartOnly is deprecated
ddellacosta has joined #nixos
<infinisil> m1crOman: tmpfiles, contradictory to its name, is not only useful for temporary files
<infinisil> But all kinds of file related setup
<infinisil> See `man tmpfiles.d` for what it can do
<m1crOman> Ok that's what I thought. Thanks :) Will check that man page too
<nh2[m]> dtz: I have a problem with musl: When I `fetchpatch` something (e.g. the libdrm patch I just CC'd you on), it tries to build `curl` and fails with krb5 linker errors. How should we make sure that curl-via-fetchpatch works for musl?
<nh2[m]> dtz: If I evaluate `pkgsMusl.curl` that builds fine, but the one pulled in via `fetchpatch` doesn't
selfsymmetric-pa has joined #nixos
<{^_^}> [nixpkgs] @stefano-m opened pull request #66444 → icedtea_web: 1.7.1 -> 1.7.2 (plus CVE patches) → https://git.io/fj7ix
<{^_^}> [nixpkgs] @Gerschtli opened pull request #66445 → nixos/dwm-status: improve composability of service config → https://git.io/fj7ij
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7e28652e098 (from 42 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60796 → standardnotes: 3.0.6 -> 3.0.15 → https://git.io/fjZxs
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj7PI
Thra11 has quit [Quit: IRC for Sailfish 1.0-alpha]
chloekek has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
freeman42x has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
schneid3306 has quit [Ping timeout: 248 seconds]
<Gopal[m]> <simpson "Yes, but don't stop. By the time"> But so many things currently use C and C++. It's impossible to contribute to them otherwise
drakonis_ has joined #nixos
<Gopal[m]> <Gopal[m] "But so many things currently use"> (Sorry for the confusing reply text)
<Gopal[m]> @nyanloutre:nyanlout.re: is there a way I can help with Plasma?
<nyanloutre[m]> Hello Gopal
<nyanloutre[m]> The last PR could need more testings of applications (I don't use everything)
<Gopal[m]> Can you point me in the right direction? I'm quite the beginner with Nix
drakonis has quit [Ping timeout: 268 seconds]
chris__ has quit [Quit: Lost terminal]
growpotk- has quit [Ping timeout: 268 seconds]
siers has joined #nixos
<siers> hello. I entered a nix shell with nix-shell -E "$(cabal2nix --shell .)" successfully, but neither cabal build nor cabal new-build don't work
selfsymmetric-mu has quit [Remote host closed the connection]
<siers> okay, I actually read the output now (day 2 of struggling with this and my brains had decided to take a involuntary break from thinking yesterday) and
<siers> it looks like a dependency conflict, so I can probably solve that on my own
fendor has joined #nixos
selfsymmetric-mu has joined #nixos
lambda-11235 has joined #nixos
npmccallum has joined #nixos
meck has quit [Quit: WeeChat 2.5]
meck has joined #nixos
dispanser has quit [Read error: Connection reset by peer]
dispanser has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #66423 → pptp: Fix shebangs → https://git.io/fj7aK
<{^_^}> [nixpkgs] @teto pushed commit from @JohnAZoidberg to master « pptp: Fix shebangs »: https://git.io/fj7Pr
eyJhb is now known as eyJhb
ris has joined #nixos
<{^_^}> [nixpkgs] @bdesham opened pull request #66446 → Updated fix for Perl programs on Darwin → https://git.io/fj7P6
kenshinCH has quit [Quit: WeeChat 2.4]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #66352 → nixos/beegfs: mark as broken → https://git.io/fj7t1
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj7PM
ixxie has joined #nixos
drakonis_ has quit [Ping timeout: 268 seconds]
obadz has quit [Ping timeout: 268 seconds]
obadz has joined #nixos
<asymmetric> is there a recommended way to make sure that a systemd unit is restarted when the daemon's config is changed?
<asymmetric> i'm writing a module where the daemon doesn't take a --config argument, it simply reads from /etc/pihole/config
<asymmetric> so there's no explicit linkage between that file and the daemon in the systemd unit
<ToxicFrog> restartTriggers?
<ToxicFrog> restartIfChanged?
<infinisil> Yeah the former
drakonis_ has joined #nixos
<nyanloutre[m]> Gopal to test it you can clone my branch and then use nix-build to test the application you want
<nyanloutre[m]> For example nix-build -A konsole
<nyanloutre[m]> To find kde apps you can use nix-build -A kdeApplications. and then press tab
drakonis has quit [Ping timeout: 252 seconds]
chloekek has quit [Ping timeout: 244 seconds]
Okinan has joined #nixos
<m1crOman> Does anyone have a good solution to creating htpasswd files (or any generated password hash files) in their nix config? I just want to add basic auth to the reverse proxy for a service. The actual password is stored in a git-crypt part of my nix config repo.
xkapastel has joined #nixos
<asymmetric> ToxicFrog: thanks!
drakonis has joined #nixos
<ajs124> m1crOman: the nginx module seems to support basic auth via services.nginx.virtualHosts.<name>.basicAuth or services.nginx.virtualHosts.<name>.basicAuthFile
<m1crOman> ajs124, I'm using httpd actually :P But I'd be presented with the same problem either way. I thought of a better solution actually - I'm going to pregen the htpasswd file locally and push it to my git.
fendor_ has joined #nixos
fendor has quit [Read error: Connection reset by peer]
drakonis_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @srghma opened pull request #66447 → nix-gitignore: update to addd0c9665ddb28e4dd2067dd50a7d4e135fbb29 version (contains fix for https://github.com/siers/nix… → https://git.io/fj7Px
switchy has joined #nixos
fendor_ has quit [Read error: Connection reset by peer]
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @bkchr opened pull request #66448 → programs.browserpass: Do not touch `nixpkgs.config` → https://git.io/fj7Ph
drakonis_ has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmahut merged pull request #62348 → argyllcms: 2.1.0 -> 2.1.1 → https://git.io/fjEqg
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7Xf
<{^_^}> [nixpkgs] @mmahut merged pull request #62418 → glbinding: 3.0.2 -> 3.1.0 → https://git.io/fjEW6
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7XJ
drakonis has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #62467 → librealsense: 2.21.0 -> 2.22.0 → https://git.io/fjE00
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj7XU
Shouou has quit [Ping timeout: 252 seconds]
Makaveli7 has joined #nixos
Shouou has joined #nixos
<{^_^}> [nixpkgs] @delroth opened pull request #66449 → nixos/ibus: do not default-install ibus-qt → https://git.io/fj7XL
karswell_ has quit [Remote host closed the connection]
karswell_ has joined #nixos
qqlq has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @Infinisil opened pull request #66450 → nixos/misc: Fix nixpkgs.config merge function → https://git.io/fj7XR
phreedom has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @bkchr closed pull request #66448 → programs.browserpass: Do not touch `nixpkgs.config` → https://git.io/fj7Ph
orivej has quit [Quit: orivej]
orivej has joined #nixos
wildtrees has joined #nixos
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
seppellll has quit [Ping timeout: 268 seconds]
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
<nexgen> please let me know is systemD required in your distro?
<gchristensen> nix the package manager does not require systemd. nixos does require systemd.
qqlq has joined #nixos
<{^_^}> [nixpkgs] @ruuda opened pull request #66452 → libressl_3_0: init at 3.0.0 → https://git.io/fj7X1
Soo_Slow has joined #nixos
drakonis has joined #nixos
<nexgen> is it ok to use nix in Gentoo or Debian?
<Taneb> nexgen: I've used it in Ubuntu a lot with no problems, if that's any help
<nexgen> specifically Devuan (no systemD in it)
<Taneb> Without systemd you can't do multi-user nix
<Taneb> (I believe)
johnw has quit [Ping timeout: 264 seconds]
<nexgen> Taneb, do you use nix in Ubuntu as a main package manager?
<nexgen> or do you still use apt?
ddellacosta has joined #nixos
<Taneb> I use apt for a handful of things but almost entirely nix
<nexgen> nix os able to update root fs /bin/ in Ubuntu?
<Taneb> No
<nexgen> Nix packages live in a subdirectory
<nexgen> hashes, etc.
<nexgen> How do you call them?
<ajs124> store-paths?
<nexgen> PATH is updated per user when required?
<gchristensen> you could get a ubuntu VM and install Nix and see how itgoes
<nexgen> I already have a Gentoo in a Devuan chroot
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
<nexgen> installed nix in Gentoo
<nexgen> guix also
<gchristensen> cool
<nexgen> only as package managers
<gchristensen> sounds like you have all the tools to experiment then
phreedom has joined #nixos
qqlq has joined #nixos
jgt has joined #nixos
o1lo01ol1o has joined #nixos
selfsymmetric-mu has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<exarkun> using this w/ nix-shell - https://github.com/exarkun/tahoe-lafs/blob/nix-dev-environment/nix/dev.nix - gets me an environment where appdirs, a dependency of twisted which is a dependency of tahoe-lafs, is not importable. why doesn't the twisted propagatedBuildInput end up in the nix-shell environment?
<{^_^}> [nixpkgs] @Infinisil merged pull request #66450 → nixos/misc: Fix nixpkgs.config merge function → https://git.io/fj7XR
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj7Xp
npmccallum has quit [Quit: npmccallum]
<{^_^}> [nixpkgs] @Infinisil pushed to release-19.03 « nixos/misc: Fix nixpkgs.config merge function »: https://git.io/fj71e
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @RustemB closed pull request #66213 → discord-canary: 0.0.85 -> 0.0.91 → https://git.io/fjQWg
johnw has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #61438 → scylladb: init at 3.0.5 → https://git.io/fjWRU
<{^_^}> [nixpkgs] @Infinisil pushed 6 commits to master: https://git.io/fj71U
johnw has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #66102 → python37Packages.poyo: 0.4.2 -> 0.5.0 → https://git.io/fjQeC
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj71I
zupo has quit [Client Quit]
jgt has quit [Ping timeout: 264 seconds]
<dminuoso> Hi. Im trying to use nixops to deploy to a local nixos machine. Ive created a deployment and some nix file, but deploy complains about "- The ‘fileSystems’ option does not specify your root file system." and "- You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable."
<dminuoso> Does nixops create a profile using just my local nix configuration? Do I have to copy over say the "/etc/nixos/hardware-configuration.nix" and reconstruct the exact same configuration locally?
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj71t
<{^_^}> [nixpkgs] @mmahut merged pull request #66106 → python37Packages.plotly: 3.10.0 -> 4.0.0 → https://git.io/fjQvI
npmccallum has joined #nixos
<pie_> is there any reason why NIX_DEBUG=8 ./configure wouldnt output any debug info....?
<pie_> i can almost never get nix_debug to work
irl25519 has joined #nixos
bakakuna has quit [Ping timeout: 244 seconds]
npmccallum has quit [Quit: npmccallum]
<gchristensen> what is ./configure ?
<gchristensen> NIX_DEBUG is implemented by stdenv, not in any ./configure script
wfranzini has joined #nixos
<dminuoso> nixops is really badly documented mmm.
<pie_> gchristensen well i was expecting output from GCC
<pie_> from the GCC wrapper
<gchristensen> I don't thin kthe GCC wrapper does NIX_DEBUG either
<{^_^}> [nixpkgs] @mmahut merged pull request #65962 → libfilezilla: 0.17.1 -> 0.18.0 → https://git.io/fjHK8
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj71W
<{^_^}> [nixpkgs] @mmahut merged pull request #66101 → python37Packages.folium: 0.9.1 -> 0.10.0 → https://git.io/fjHjd
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj71B
quickquestion has joined #nixos
<ixxie> hello folks
<quickquestion> Quick question: How do I mount an exFat drive on nixos? I tried installing exfat-utils and fuse_exfat just as one would on an Ubuntu system but when I try to mount the drive using `sudo mount -t exfat /dev/sdb Temp/` it still gives me an error
<{^_^}> [nixpkgs] @mmahut merged pull request #65907 → fasm-bin: 1.73.12 -> 1.73.15 → https://git.io/fjHmS
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj71a
slack1256 has joined #nixos
<ixxie> just my luck, Saturday night and my system will not boot, failing at stage 1. Swap device mounts, but the the root partition fails with `mount: mounting /dev/disk/by-uuid/${uuid} on /mnt-root/ failed: No such file or directory.
<pie_> ixxie boot previous state?
<slack1256> Do you have previous generations available at grub? try one of those
<pie_> or idd you just GC :P
<ixxie> it fails for all generations
<ixxie> I didn't rebuild before this happened
<ixxie> I was watching netflix, it froze and I had to reboot, but it never booted again
<pie_> well https://bpaste.net/show/giGk explains why setting --prefix did something
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/732c1671f50 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<ixxie> I have a feeling its corruption of the hard drive or something like that
<gchristensen> ouch :(
<ixxie> tried to make a bootable usb with NixOS on it but - as usual - I am having trouble making a properly bootable usb drive for my dell xps 9350
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<gchristensen> what troubles have you had?
<ixxie> tried Rufus with GPT which should work for UEFI systems
<ixxie> well it simply will not boot
<ixxie> I have usb as the first boot option
<{^_^}> [nixpkgs] @mmahut merged pull request #64043 → guile-sdl2: 0.3.1 -> 0.4.0 → https://git.io/fjK4s
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj71M
<gchristensen> are you trying t oboot from the left side USB ports?
<ixxie> I tried both
<quickquestion> Terribly sorry btw, instead of `sudo mount -t exfat /dev/sdb Temp/` I shouldve typed `sudo mount -t exfat /dev/sdb1 Temp/` to indicate the actual exfat partition. Have a nice evening :)
<ixxie> (double checking now to make sure I have)
<gchristensen> https://grahamc.com/blog/nixos-on-dell-9560 these tips worked for me on my 9380
<dminuoso> Mmm. Am I required to keep the entire machine configuration.nix/hardware-configuration.nix locally when I do nixops?
<gchristensen> dminuoso: yes
<ixxie> thanks gchristensen
<gchristensen> dminuoso: the entire system is built locally, and then copied over
<pie_> gchristensen so yeah any idea about NIX_DEBUG? >_>
<gchristensen> pie_: no idea, that is outside of my normal stuff. I know it works when using nix-build
<pie_> ok
jgt has joined #nixos
<dminuoso> gchristensen: I see. So the nixops manually *really* should say this. Ive been sitting here, staring why nixops couldn't work (and it kept complaining about missing fileSystems/grub configuration) - when I merely followed the manual.. :)
<dminuoso> gchristensen: I suppose I would just scp over the initial configuration.nix and hardware-configuration.nix, and then manage them via nixops instead?
<gchristensen> dminuoso: yeah. ... it depends on a touch of magic to support AWS and vbox. the "none" type should be more explicit.
<{^_^}> [nixpkgs] @volth opened pull request #66453 → buildPerlPackage: phase out name → https://git.io/fj719
<ixxie> gchristensen: the right side usbs work and the left dont?
<gchristensen> on my 9380, left side only. right side is like, barely usb
<{^_^}> [nixpkgs] @mmahut merged pull request #63990 → byacc: 20180609 -> 20190617 → https://git.io/fjKmb
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj71Q
Shouou has quit [Ping timeout: 252 seconds]
<ixxie> okay... gchristensen - I fiddled with the settings like the link said and now the system boots without usb xD
<gchristensen> :x
<gchristensen> wat
<ixxie> it seems bios keeps switching from AHCI to RAID randomly
<gchristensen> oooh
* ixxie shrugs
<gchristensen> cool cool cool definitely a good sign :|
<ixxie> thanks dude
<ixxie> I wonder what happened really
<gchristensen> yep! glad that helped :)
<dminuoso> gchristensen: alright cheers. :)
<dminuoso> gchristensen: One question if you dont mind. I just copied the configuration over, unmodified, and did a deploy - and it does a copy closure for everything... why does it do that?
<dminuoso> I assumed it would just do nothing since the machine is already in the desired state
<gchristensen> dminuoso: the version of nixos deployed is dependent on what version of nixpkgs is in NIX_PATH on your deploy host
<dminuoso> Argh! I see.
<gchristensen> which by default, means the version of nixpkgs your computer is running :)
bakakuna has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #66053 → pmd: 6.16.0 -> 6.17.0 → https://git.io/fjH7d
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj71b
ixxie has quit [Remote host closed the connection]
ixxie has joined #nixos
growpotkin has joined #nixos
<ixxie> gchristensen: hows everything going?
<ixxie> I feel like I have missed a lot in the last year or so
<rnhmjoj> do you know if the eval command ofBorg runs is really the one mentioned in the readme (https://github.com/NixOS/ofborg)? running that locally succeeds while ofBorg finds and error
jgt has quit [Ping timeout: 252 seconds]
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmahut merged pull request #65992 → mullvad-vpn: 2019.5 -> 2019.6 → https://git.io/fjH1v
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7MU
drakonis1 has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
quickquestion has quit [Remote host closed the connection]
drakonis_ has quit [Ping timeout: 250 seconds]
johnw has joined #nixos
drakonis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
ilya-fedin has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @mmahut merged pull request #64073 → live555: 2019.05.29 -> 2019.06.28 → https://git.io/fjKuM
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7Mt
drakonis1 has quit [Ping timeout: 272 seconds]
johnw has quit [Ping timeout: 264 seconds]
irl25519 has joined #nixos
mexisme_ has joined #nixos
johnw has joined #nixos
<{^_^}> [nixpkgs] @ruuda opened pull request #66454 → libressl: build libcrypto with noexecstack → https://git.io/fj7Mn
<{^_^}> [nixpkgs] @mmahut merged pull request #65908 → fldigi: 4.1.04 -> 4.1.07 → https://git.io/fjHmb
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj7MB
johnw has quit [Ping timeout: 245 seconds]
kleisli_ has quit [Ping timeout: 245 seconds]
johnw has joined #nixos
jgt has joined #nixos
johnw has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #66442 → iw: 5.0.1 -> 5.3 → https://git.io/fj76i
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7MV
EDMhotdog has joined #nixos
<EDMhotdog> hey guys :))) have a great day and please have a look at my friends house music productions!!!! THANKYOU so much!!! https://www.youtube.com/watch?v=fXEC_zGSW3w
<EDMhotdog> The music will give you smiles, happiness and boing boing jump up energy! :D REMEMBA 2 SUBSCRIBE :D
EDMhotdog has left #nixos [#nixos]
johnw has joined #nixos
growpotkin has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #65932 → gdcm: 3.0.0 -> 3.0.1 → https://git.io/fjHCD
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj7MX
<selfsymmetric-mu> A curse on marketing. Anyone invent ad block for IRC yet?
johnw has quit [Ping timeout: 248 seconds]
jgt has quit [Ping timeout: 276 seconds]
sogatori has quit [Remote host closed the connection]
<slack1256> selfsymmetric-mu: maybe /ignore?
<gchristensen> Sigyn does a good job, but is a big hammer.
bakakuna has quit [Ping timeout: 248 seconds]
casaca has joined #nixos
<pie_> bendlas hey do you use criu?
johnw has joined #nixos
<bendlas> pie_, I've played around with it at some point .. not in production, though ... why?
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
<pie_> bendlas just saw that you packaged it, i might play with it a bit
johnw has quit [Ping timeout: 250 seconds]
<pie_> err ok that was the module :D the actual package has a bit larger contributor list xD
freeman42x has quit [Read error: Connection reset by peer]
<selfsymmetric-mu> gchristensen++
<{^_^}> gchristensen's karma got increased to 138
<bendlas> pie_, hope you find it useful, enjoy
<selfsymmetric-mu> slack1256: Yeah, I added them to my fools list but they'll probably come back under a different username.
<pie_> bendlas the crazy idea is to try to migrate as much of userspace as possible and do a "seamless" swap out of the root filesystem
<pie_> though this is way over my head probably
endformationage has joined #nixos
kleisli_ has joined #nixos
<bendlas> pie_, I found that it works best with containers. at least, you should unshare(2) your PID namespace, otherwise you can thaw a process just once because of PID collisions ..
freeman42x has joined #nixos
<pie_> bendlas: not surprised about the containers thing, but if youre stuff isnt already running in a container...
<pie_> *your
<pie_> i imagine the kernel module for criu can be loaded on the fly?
asymptotically has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
drakonis_ has joined #nixos
jtojnar has quit [Ping timeout: 245 seconds]
johnw has joined #nixos
<bendlas> pie_: you can avoid dealing with container software, by using unshare directly. In this case `unshare -p` http://man7.org/linux/man-pages/man1/unshare.1.html
<bendlas> see https://gist.github.com/bendlas/a5eb77731d58eb9fbb051c958b3efa1f for a loosely related example
drakonis1 has joined #nixos
<pie_> bendlas: to clarify: ideally i would want to put something together that doesnt have any preexisting requirements on how things are set up
drakonis has quit [Ping timeout: 250 seconds]
<bendlas> pie_: the kernel needs to be built with with CONFIG_CHECKPOINT_RESTORE, a flag that's hidden behind CONFIG_EXPERT. Not a module
<clever> pie_: have you seen nix-bundle and nix-user-chroot?
<pie_> clever i vaguely remember something
<pie_> bendlas im assuming nixos does not enable that by default?
<clever> pie_: thats a staticly linked c binary, using the namespace api's, to mount a nix store to /nix/
<bendlas> yeah, as I said, criu restores the PIDs it froze, so using PID namespaces is pretty much required
<clever> ahh, someone else linked crui to me recently
<clever> that would explain how its aboe to restore certain elements of the state
<pie_> bendlas: ok running a recompiled kernel makes that a pointless exercise then, the whole point is to avoid teardown of an existing userspace
Ariakenom_ has joined #nixos
johnw has quit [Ping timeout: 264 seconds]
<bendlas> pie_: yeah, I don't think NixOS default kernel can do that
Ariakenom has quit [Ping timeout: 245 seconds]
<pie_> any reason to not enable it by default? :PP
eof_ has quit [Ping timeout: 244 seconds]
<pie_> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
* pie_ copies zeros
<gchristensen> pie_: well it is hidden behind CONFIG_EXPERT, so presumably there is a good reason.
<bendlas> reason being that linus torvalds didn't want to enable it by default either
<bendlas> you can find his quote about "mad russians implementing c/r in userspace" and "being able to remove the feature, when it inevitably falls over"
<pie_> lol
eof_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil closed pull request #9250 → nixuser: declarative user environments → https://git.io/v31Nk
tpanum- is now known as tpanum
jgt has joined #nixos
johnw has joined #nixos
fendor_ has quit [Remote host closed the connection]
fendor_ has joined #nixos
johnw has quit [Ping timeout: 276 seconds]
kleisli_ has quit [Ping timeout: 268 seconds]
drakonis1 has quit [Quit: WeeChat 2.4]
<kaliumxyz> how would you add to a running `nix-shell`?
<kaliumxyz> say I want to add another package after I spin it up.
drakonis has joined #nixos
<infinisil> You can't really do that in general
<infinisil> Although actually, iirc lorri might live-reload the session
<infinisil> kaliumxyz: https://github.com/target/lorri
<infinisil> Ah right, uses direnv
<infinisil> So yeah that would work
<infinisil> direnv or lorri (which is like an extension to direnv)
<kaliumxyz> someone asked me it
<kaliumxyz> honestly I just reload the shell normally.
jgt has quit [Ping timeout: 264 seconds]
<kaliumxyz> whats the proper way to add python dependencies with nix?
Shouou has joined #nixos
<kaliumxyz> I realized just now I normally add them to shell.nix as shell hooks, but thats kinda terrible when you actually want to make services.
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<Yaniel> pythonPackages.foo in your nativeBuildInputs apparently
<selfsymmetric-mu> I could never figure out the point of lorri. Played with it a bit and it just broke things for me.
ddellacosta has quit [Ping timeout: 248 seconds]
<selfsymmetric-mu> What does it do that direnv doesn't?
<Yaniel> or in propagatedBuildInputs
nexgen has quit [Ping timeout: 248 seconds]
johnw has joined #nixos
erhandsome has quit [Quit: %null%]
lambda-11235 has quit [Ping timeout: 245 seconds]
Shouou has quit [Ping timeout: 252 seconds]
drakonis1 has joined #nixos
<kaliumxyz> what if its a package thats not in ther Yaniel?
<kaliumxyz> Write a default.nix for it?
erhandsome has joined #nixos
<infinisil> selfsymmetric-mu: It makes direnv really fast for one
<kaliumxyz> actually I should check I can probably copy+paste it from another package and it will werk
<Yaniel> yeah, or define it in the same file with let ... in
drakonis2 has joined #nixos
johnw has quit [Ping timeout: 264 seconds]
<selfsymmetric-mu> infinisil: Fast to switch environments or fast to rebuilt one environment? Or are those equivalent?
<infinisil> selfsymmetric-mu: And I think it can automatically detect when it needs reloading and does it
<selfsymmetric-mu> I think I'll take another crack at it once it's stabilized and put into nixpkgs.a
domogled has quit [Ping timeout: 268 seconds]
<kaliumxyz> oh ye good point, thats way lazier
<infinisil> selfsymmetric-mu: Fast switch to environment, if it's cached
<infinisil> For rebuilding an environment when something has changed, nix still needs to be called, which is slow
fendor_ has quit [Ping timeout: 268 seconds]
drakonis_ has quit [Ping timeout: 272 seconds]
<infinisil> selfsymmetric-mu: But tbh, I also can't use lorri because it doesn't work with how I normally declare haskell packages, see https://github.com/target/lorri/issues/22
<{^_^}> target/lorri#22 (by Infinisil, 18 weeks ago, open): Doesn't watch paths through IFD + filterSource (unsure if proper diagnosis)
lpil has left #nixos ["The Lounge - https://thelounge.chat"]
drakonis1 has quit [Ping timeout: 276 seconds]
jwaksbaum[m] has joined #nixos
<selfsymmetric-mu> infinisil Okay, that sounds pretty great. It's too raw for me right now but I'll be looking out for it.
chiefgoat has quit [Quit: ZNC 1.7.4 - https://znc.in]
chiefgoat has joined #nixos
szicari has quit [Ping timeout: 264 seconds]
<jwaksbaum[m]> Does anyone have experience installing nixos on a raspberry pi 4? I just got one and I'm going to give it a shot.
chiefgoat has quit [Client Quit]
lambda-11235 has joined #nixos
<gchristensen> I think many people have at this point :)
<infinisil> Damn that's a nice wiki page
chiefgoat has joined #nixos
shibboleth has joined #nixos
szicari has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
justanotheruser has joined #nixos
johnw has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/387e6952d33 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
drakonis has joined #nixos
johnw has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e1a54840985 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<andi-> Wasn't there a setting to limit the amount of generations? I fail to find it :/
jgt has joined #nixos
johnw has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
meck has quit [Quit: WeeChat 2.5]
johnw has quit [Ping timeout: 276 seconds]
johnw has joined #nixos
meck has joined #nixos
johnw has quit [Ping timeout: 258 seconds]
Ariakenom_ has quit [Quit: Leaving]
meck has quit [Quit: WeeChat 2.5]
meck has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ea7c049d54d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
johnw has joined #nixos
johnw has quit [Ping timeout: 264 seconds]
johnw has joined #nixos
growpotkin has joined #nixos
johnw has quit [Ping timeout: 250 seconds]
karswell_ has quit [Ping timeout: 246 seconds]
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/68dd7786de5 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
jgt has quit [Ping timeout: 264 seconds]
mbrgm_ has joined #nixos
erba has quit [Quit: WeeChat 2.4]
mbrgm has quit [Ping timeout: 244 seconds]
mbrgm_ is now known as mbrgm
ciil has quit [Quit: Lost terminal]
mmlb3 has quit [Ping timeout: 258 seconds]
thc202 has quit [Ping timeout: 250 seconds]
meck has quit [Quit: WeeChat 2.5]
ng0 has quit [Quit: Alexa, when is the end of world?]
meck has joined #nixos
Fahrradkette has joined #nixos
meck has quit [Client Quit]
meck has joined #nixos
<andi-> Someone running unstable with multiple initrds? I just had to remove my 2nd initrd to boot with linux 5.2.7 and grub 2.04-rc1 :/ Kernel would panic in the initrd mounting code (should have taken a picture)
benard has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #66079 → Ctrtool update → https://git.io/fjHAe
hodlwave has joined #nixos
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj7y1
jgt has joined #nixos
hodlwave has quit [Client Quit]
hodlwave has joined #nixos
<Fahrradkette> hi everybody. Does nixos only target desktop/server hardware or does it include embedded devices (i.e. cortex M3)? I'm kinda interested in a language for describing the statefullness of hardware, especially how the DMA arbiter acquires the busses (like AHB) of an embedded device.
ciil has joined #nixos
seppellll has joined #nixos
ixxie has quit [Remote host closed the connection]
<clever> Fahrradkette: if you can define all of that in device tree, then it should be possible to write a nixos module to configure it and enforce rules, then generate a DTB based on a config file
<clever> you could even do something like having a services.foo.enable auto-config the DTB's for you
<clever> and all merging is done by nix before creating the main dtb, rather then using dt overlays
<Fahrradkette> clever: what does DTB stand for? sry for the noob question
<clever> device tree blob, an arm way of configuring things
steshaw_ has joined #nixos
meck has quit [Quit: WeeChat 2.5]
<Fahrradkette> that (XML?)thing that linux reads to figure out what's connected to the cpu at boot time?
<clever> at boot time, its binary
<gchristensen> I think it has its own lang
hodlwave has quit [Disconnected by services]
hodlwave_ has joined #nixos
meck has joined #nixos
steshaw_ has quit [Client Quit]
hodlwave_ has quit [Client Quit]
hodlwave has joined #nixos
steshaw_ has joined #nixos
<Fahrradkette> so nixos builds on top of the linux kernel? I was thinking of a (time)-deterministic "scheduler less" system
Yakulu has left #nixos ["Error from remote client"]
<edef> Fahrradkette: You might be interested in https://github.com/japaric/cortex-m-rtfm#real-time-for-the-masses
hodlwave has quit [Client Quit]
<Fahrradkette> edef: I did read some of it but couldn't find any DMA related rust code, that stuff is imho implemented in C
hodlwave has joined #nixos
<edef> mm
xkapastel has quit [Quit: Connection closed for inactivity]
<Fahrradkette> like, I didn't find any references for acquiring/releasing the physical bus, so I believe it's implemented as while (BusBusy){;;}
lambda-11235 has quit [Ping timeout: 248 seconds]
hodlwave has quit [Client Quit]
hodlwave has joined #nixos
hodlwave has quit [Client Quit]
hodlwave has joined #nixos
hodlwave has quit [Client Quit]
hodlwave has joined #nixos
npmccallum has joined #nixos
hodlwave has quit [Client Quit]
hodlwave has joined #nixos
<{^_^}> [nixpkgs] @lasandell opened pull request #66457 → wsjtx: 2.0.1 -> 2.1.0 → https://git.io/fj7yx
hodlwave has quit [Client Quit]
benard has left #nixos [#nixos]
jgt has quit [Ping timeout: 264 seconds]
lambda-11235 has joined #nixos