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,
mehlon has quit [Quit: Leaving]
<lovesegfault> aszlig: It's alright, I've been testing it for weeks :D
iqubic` has quit [Client Quit]
cosimone has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @clayrat opened pull request #75671 → idrisPackages.tparsec: 2019-06-18 -> 2019-09-19 → https://git.io/JeQ8n
thc202 has quit [Ping timeout: 276 seconds]
leex has quit [Ping timeout: 240 seconds]
__monty__ has quit [Quit: leaving]
Laarlf has quit [Ping timeout: 260 seconds]
ng0 has quit [Ping timeout: 260 seconds]
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
superbaloo has quit [Ping timeout: 244 seconds]
ng0 has joined #nixos
noudle has quit [Ping timeout: 252 seconds]
cinimod`` has joined #nixos
Henson has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
iqubic has joined #nixos
noudle has joined #nixos
lovesegfault has quit [Remote host closed the connection]
lovesegfault has joined #nixos
Taneb has quit [Quit: I seem to have stopped.]
snajpa has quit [Ping timeout: 240 seconds]
medvid has quit [Ping timeout: 240 seconds]
aither has quit [Ping timeout: 240 seconds]
medvid has joined #nixos
Guanin has quit [Ping timeout: 240 seconds]
lukash_|away has quit [Ping timeout: 240 seconds]
fresheyeball has joined #nixos
Taneb has joined #nixos
aither has joined #nixos
vuko has quit [Ping timeout: 240 seconds]
lukash_|away has joined #nixos
Guanin has joined #nixos
vuko has joined #nixos
<fresheyeball> man making nix work for python is hard
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
mbrgm has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @bignaux opened pull request #75672 → pentobi: init at 17.3 → https://git.io/JeQ8P
<genesis> :)
snajpa has joined #nixos
<fresheyeball> trying to make a nix-shell for this one https://github.com/milesial/Pytorch-UNet
<fresheyeball> can't seem to build pydensecrf
o1lo01ol1o has joined #nixos
averell has joined #nixos
superbaloo has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75625 → zsh-history: Add tests → https://git.io/JeHjB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeQ8A
boegel has quit [Remote host closed the connection]
boxscape has quit [Remote host closed the connection]
ng0 has quit [Quit: Alexa, when is the end of world?]
lovesegfault has quit [Ping timeout: 265 seconds]
cinimod`` has quit [Ping timeout: 240 seconds]
vuko has quit [Quit: leaving]
vuko has joined #nixos
jwinnie has quit [Ping timeout: 276 seconds]
fragamus has joined #nixos
jluttine has quit [Ping timeout: 265 seconds]
lovesegfault has joined #nixos
jwaksbaum[m] has joined #nixos
zeta_0 has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<jwaksbaum[m]> What's the recommended way to run a custom kernel with a custom kconfig? I've tried to use linuxPackages_custom, and I can build the kernel, but when I set it as boot.kernelPackages it complains about missing attributes like version or features.
jumper149 has joined #nixos
o1lo01ol1o has joined #nixos
Ariakenom has quit [Quit: Leaving]
<clever> 16428 linuxPackages_mptcp = linuxPackagesFor pkgs.linux_mptcp;
<clever> jwaksbaum[m]: you must use this function, to generate a linuxPackages set around a given kernel
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<jwaksbaum[m]> clever: I've tried that and it still had missing attributes, but maybe I did it wrong. It seems like linuxPackages_custom returns a linuxPackages set already. Should I pass that to linuxPackagesFor, or should I get the kernel from that set and pass that to linuxPackagesFor?
<clever> 16447 linuxPackages_custom = { version, src, configfile, allowImportFromDerivation ? true }:
<clever> 16448 recurseIntoAttrs (linuxPackagesFor (pkgs.linuxManualConfig {
gkmngrgn has quit [Ping timeout: 268 seconds]
<clever> jwaksbaum[m]: linuxPackages_custom is a function, which will take a version+src+configfile, and then wrap whatever linuxManualConfig made with that
<clever> jwaksbaum[m]: so i think you want boot.kernelPackages = pkgs.linuxPackages_custom { version = "123"; src = /path/to/source; configfile = ./config; };
<clever> src could also be another nix expression or derivation
<pie__> how can I build-vm such that the vm has a copy of the configuration?
<clever> system.copySystemConfiguration
<clever> If enabled, copies the NixOS configuration file (usually /etc/nixos/configuration.nix) and links it from the resulting system (getting to /run/current-system/configuration.nix). Note that only this single file is copied, even if it imports others.
<clever> pie__: ^^
<jwaksbaum[m]> clever: right, that's what I have. I can build the kernel from that set separately, but using the whole thing as boot.kernelPackages gives the missing attributes. I also checked this with linuxPackages_custom_tinyconfig_kernel, where the actual kernel builds, but the whole set won't even evaluate to a derivation. So I think there's something wrong with linuxPackages_custom maybe?
<clever> jwaksbaum[m]: what error does it give, and what exactly did you set in configuration.nix?
jwinnie has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #75673 → exa: apply patch to not panic on broken symlinks → https://git.io/JeQ4t
zeta_0 has joined #nixos
<jwaksbaum[m]> clever: I don't have it in front of me right now (I'm sorry). but I know that I get the same result if: find the linuxPackages_custom_tinyconfig attribute in all packages, and see that it builds a linuxPackages set and then gives the kernel of it. Try to instantiate the whole set instead of just the kernel and it will give the error. Or I will send the exact error message when I am able.
cinimod`` has joined #nixos
<pie__> clever: thanks <3
hlolli_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @andir merged pull request #75673 → exa: apply patch to not panic on broken symlinks → https://git.io/JeQ4t
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JeQ4m
<{^_^}> [nixpkgs] @flokli pushed to release-19.09 « exa: apply patch to not panic on broken symlinks »: https://git.io/JeQ4Y
<zeta_0> clever: i finally finished fixing the problems i had with my git configurtion in home.nix, now i was wondering if you could help me with some of the steps involved in building ghc?
<clever> zeta_0: ive only built ghc under nix-build, never under nix-shell
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeQ43
<pie__> um..I guess that didnt work.
<pie__> clever: sigh ok, so what I *actually* want to do is be able to run nixos-option inside the vm
<pie__> to inspect stuff
<clever> pie__: why?, you can run it from outside if you set the right flags
vld has joined #nixos
<pie__> because the nixos-option thats running on my system isnt the new fancy c++ one
<clever> pie__: add the fancy one to $PATH
<clever> pie__: or use nix repl directly
<pie__> oh i guess i could try doing that
<clever> [clever@system76:~/nixos-configs]$ nix repl '<nixpkgs/nixos>' --arg configuration ./nas.nix
<clever> nix-repl> config.nix.binaryCaches
<pie__> what im actually actually trying to do is figure out how to parameterize my configuration.nix over whether its being built as a vm or nto
<zeta_0> clever: ok that's fine, i guess i'll just use a lot of trial and error to get it to work
<pie__> *or not
<zeta_0> why hasn't hadrian been packaged as a nix package? it seems very useful?
<gchristensen> because nobody has packaged it I guess
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<zeta_0> oh
vld has quit [Ping timeout: 276 seconds]
<pie__> xD
jwinnie has quit [Ping timeout: 245 seconds]
<pie__> hm its annoing that vmConfig isnt exposed
<pie__> let expressions are annoying
<clever> pie__: the vm thing simply adds a file to imports
<clever> pie__: so you could add it to imports yourself
<pie__> oh yeah
<pie__> weird. looks like unstable changed something and now you need to set partiiton information or something for a vm?? https://bpaste.net/show/D7HGO
<gchristensen> this has always been true afaik
<gchristensen> hum
<pie__> well, somethings screwy because the output doesnt change even if i add boot.loader.grub.devices = [ "nodev" ];
<pie__> and I guess I cant really inspect anything because trying to eval it fails the assertion
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
emily has quit [Remote host closed the connection]
cinimod`` has quit [Ping timeout: 265 seconds]
<pie__> ok i did some sory of lazy PEBCAK when I exposed the variable
emily has joined #nixos
<pie__> i think it works now
<pie__> ._.
noudle has quit []
o1lo01ol1o has joined #nixos
<pie__> infinisil: wild guess: mkIf will let me predicate on whether a module option has been set?
<nh2> in a python package, how can I check if it's being built with python3 or 2 in nix?
<clever> pie__: i think that mkIf and mkMerge can be recursively pushed down
<clever> pie__: so if you do `config = mkIf condition { a=1; b=2; };` and something needs to read `config.c`, it will automatically translate into `config = { a = mkIf condition 1; b = mkIf condition 2; }`
<clever> pie__: then nix can safely figure out what `config.c` is, and worry about a/b later
<fresheyeball> hmm
<fresheyeball> I am getting timeouts on all docker requests
<fresheyeball> I can't login or pull images
<pie__> clever: I think I kind of need this in the "other direction"; anyway here's what im trying to do:
<infinisil> pie__: imports can't depend on config
<infinisil> List concat is ++, not +
<infinisil> And usually // shouldn't be used to merge module settings, mkMerge should be preferred
<pie__> infinisil: god i geek doing + instead of ++ and its so bad
<pie__> infinisil: the // is more like a not to self thing, im going to get rid of that
<pie__> s/geek/keep/
<pie__> aaaa. I keep shooting myself with this. <infinisil> pie__: imports can't depend on config
<pie__> so what do I do
<pie__> can configuration.nix take arguments
ixxie has joined #nixos
<infinisil> pie__: Hardware settings shouldn't influence the vm really
<infinisil> You should be able to just include them all the time
<{^_^}> [nixpkgs] @marsam opened pull request #75675 → gitAndTools.git-gone: 0.1.2 -> 0.2.0 → https://git.io/JeQ46
<{^_^}> [nixpkgs] @marsam merged pull request #75667 → cmake-format: 0.6.2 -> 0.6.3 → https://git.io/JeQCp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQ4i
<{^_^}> [nixpkgs] @marsam merged pull request #75647 → pythonPackages.python-twitter: init at 3.5 → https://git.io/JeQme
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQ4P
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<pie__> hm
<lovesegfault> Hmmm
<lovesegfault> clever: Any ideas on this?
<lovesegfault> Not sure why it's failing
fresheyeball has quit [Quit: WeeChat 2.6]
<clever> lovesegfault: error: unit "nat" reached state "failed"
iyzsong has joined #nixos
<clever> lovesegfault: are you doing anything with nat?
<lovesegfault> clever: I mean, yes lol
<lovesegfault> nope
<lovesegfault> I'm trying to get a channel release :D
cinimod`` has joined #nixos
<clever> lovesegfault: ah, i would start by cloning that rev of nixpkgs, and doing `nix-build release.nix -A tests.nat.standalone.x86_64-linux`
<clever> and see if you can reproduce the fault locally
<{^_^}> [nixpkgs] @marsam merged pull request #75342 → vaapiIntel: unstable-20190211 -> 2.4.0 → https://git.io/JeSaH
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQ4H
wavirc22 has joined #nixos
swapgs has quit [Ping timeout: 268 seconds]
<aanderse> infinisil: you still kicking around?
<{^_^}> [nixpkgs] @thoughtpolice pushed 3 commits to master: https://git.io/JeQ45
<infinisil> Yee
<aanderse> what is worse than writing documentation you don't want to write on a saturday evening?
<{^_^}> [nixpkgs] @nh2 opened pull request #75676 → pythonPackages.Babel: Fix use of glibcLocales, skip musl tests → https://git.io/JeQ4d
<infinisil> Hehe no idea?
jumper149 has quit [Quit: WeeChat 2.6]
wildtrees has quit [Quit: Leaving]
<aanderse> answer: having me ask you to help write documentation on a saturday evening
<aanderse> i'm trying to come up with some inspiration to rewrite the "abstractions" section of the nixos manual
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
<aanderse> you write all sorts of tricky nix module code
<aanderse> maybe you can help me? :)
<infinisil> Oof, I just wanted to go to sleep actually
<aanderse> mhm that is a good out
<aanderse> i'm going to ping you on an issue, maybe you can take a look at some point ;-)
<infinisil> Sounds good, I'll be here on IRC tomorrow too (well it's today already for me), but maybe not this late
jluttine has joined #nixos
<aanderse> thanks! have a good night
h0m1 has quit [Ping timeout: 252 seconds]
<nh2> the solution to my above question is `isPy3k`
orivej has joined #nixos
h0m1 has joined #nixos
<lovesegfault> clever: Never once was I able to reproduce a hydra failure locally :P
<lovesegfault> it always works for me
<clever> lovesegfault: including in this case?
<lovesegfault> clever: I'm trying
<lovesegfault> clever: Is it 928bc00ec4b?
<lovesegfault> Hm no
<lovesegfault> what's the commit for a given eval
<lovesegfault> Ah
<clever> check the inputs tab
<lovesegfault> Ah, I see :)
<lovesegfault> clever: building
<lovesegfault> clever: Ah! I can repro it!
<lovesegfault> ip46tables
<lovesegfault> bingo
<pie__> infinisil: a further reason it doesnt work is mkIf returns some kind of set structure and imports expects a list
felixfoertsch23 has joined #nixos
<pie__> infinisil: dumb workaround: always include the imports, just have them check inside
<{^_^}> [nixpkgs] @nh2 opened pull request #75677 → glog: Add upstream patch to fix tests with musl. → https://git.io/JeQB4
felixfoertsch has quit [Ping timeout: 240 seconds]
fragamus has joined #nixos
<pie__> is it visible here whats going wrong, or is this some module system related mess that my calling coonvention broke? https://bpaste.net/show/2XFLI
<pie__> looks like more pebkac, my workflow isbad
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 276 seconds]
wavirc22 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75138 → cinnamon.xapps: init at 1.6.8 → https://git.io/JeyM8
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JeQBi
jwinnie has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #75678 → vdirsyncer: fix build on darwin → https://git.io/JeQBX
<jwinnie> I'm on unstable, why is it still KDE 5.16?
<lovesegfault> clever: Something is off
<lovesegfault> I can't find ip46tables _anywhere_
<clever> lovesegfault: one min
<lovesegfault> ❯ nix-locate ip46tables
<lovesegfault> nixpkgs on  HEAD
mkg20001 has joined #nixos
<lovesegfault> ❯
<clever> lovesegfault: its not a binary
<lovesegfault> clever: nix-locate searches everything in /nix/store, no?
<clever> lovesegfault: its not a shell script either
<lovesegfault> Oh wow
<clever> lovesegfault: its a bash function, defined inside a shell script
<lovesegfault> I see
orivej has quit [Ping timeout: 268 seconds]
<lovesegfault> clever: Hmm, Why can't that service (nat) see it
<lovesegfault> /nix/store/n7ya3gh39iypv7pf3pzsc1xd7cxs9icn-unit-script-nat-start
<clever> lovesegfault: where is nat defined?
<lovesegfault> nixos/modules/services/networking/nat.nix
<clever> lovesegfault: oh, and also try doing a git bisect
<clever> [ 5.491912] Please append a correct "root=" boot option; here are the available partitions:
<clever> :O!!!
<clever> i think i did it!
<lovesegfault> clever: Can bisect automagically find the first failure?
<clever> lovesegfault: start by running `git bisect bad` to tag the current one as bad
<clever> lovesegfault: then go to `job->overview` to see every build hydra has done for that, and find one where it worked, then run `git bisect good <rev>`
<clever> lovesegfault: then just repeatedly nix-build the test, and `git bisect good` or `git bisect bad`
vld has joined #nixos
<lovesegfault> clever: Trying
<clever> bisect can also be told to run nix-build directly, but ive never trusted that mode
ajs124 has quit [Quit: Gateway shutdown]
<lovesegfault> I see :P
<lovesegfault> I'm bisecting
<clever> lovesegfault: you can also `git bisect view` if you have gitk installed
<lovesegfault> 5 steps left
<clever> then you can see every change between good&bad
<lovesegfault> clever: gitk?
<{^_^}> [nixpkgs] @marsam opened pull request #75679 → grafana-loki: fix build on darwin → https://git.io/JeQB9
<clever> lovesegfault: install gitAndTools.gitFull instead of git, and youll get `gitk` and `git gui`
<lovesegfault> Oh, I have gitFull IIRC
<clever> lovesegfault: then whack a `git bisect view` into that shell and oogle at it!
<lovesegfault> :O
<lovesegfault> This is nice!
<clever> you can also `gitk` to just view relative to the current rev
<clever> and `gitk branch1 branch2` to force both branches to be visible
<clever> most other `git log` args also work
vld has quit [Ping timeout: 250 seconds]
<lovesegfault> That's pretty sweet
ixxie has quit [Ping timeout: 268 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
kleisli has joined #nixos
aw has joined #nixos
<lovesegfault> clever: commit 3e792fb6df811878ca6a36f9e450de52265143e5
<lovesegfault> dammit volth :P
spacefrogg has joined #nixos
<lovesegfault> I see what's happening
fm[m]1 has joined #nixos
<clever> lovesegfault: understanding what changed to break it, can save a lot of time in fixing it
<lovesegfault> clever: Absolutely
<clever> lovesegfault: i suspect whats happening, is that the nat scripts, get inserted into the firewall scripts (with helper)
<clever> lovesegfault: but, if you disable the firewall, nat gets its own systemd service
<clever> and then helper vanishes
<lovesegfault> clever: yes
<clever> so helper now needs to be prepended to the dedicated nat service
<lovesegfault> clever: How do I even reference that helper?
fm[m]1 has left #nixos ["User left"]
wucke13_ has quit [Quit: ZNC 1.7.4 - https://znc.in]
mumuluxi has quit [Quit: ZNC 1.7.4 - https://znc.in]
das_j has quit [Remote host closed the connection]
<clever> lovesegfault: its in a let block, so you cant
<clever> youll either need to move it somewhere more friendly, or just copy/paste
greizgh has quit [Quit: greizgh]
das_j has joined #nixos
qubasa_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<lovesegfault> clever: The former sounds better, the question is where is "somewhere more friendly"
<lovesegfault> Hmmm
greizgh has joined #nixos
<lovesegfault> Maybe I'll just copy and add a note
<clever> lovesegfault: one option is to just have a dedicated nix file, `helpers.nix`
andi- has quit [Remote host closed the connection]
<clever> and import it from both
wavirc22 has joined #nixos
mumuluxi has joined #nixos
<lovesegfault> clever: nixos/modules/services/networking/helpers.nix?
<clever> possibly
<lovesegfault> on it :D
qubasa has joined #nixos
wucke13 has joined #nixos
andi- has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos
<lovesegfault> clever: is optionalString from builtins or lib?
<lovesegfault> lib
<lovesegfault> clever: Is there any special way of importing a file in nixos modules?
<lovesegfault> just imports = [ ./helpers.nix ];?
<clever> lovesegfault: that assumes the file is a nixos module, which will set config and define options
<clever> lovesegfault: you likely want just dumb old import
<lovesegfault> clever: there's a dumb import?
<clever> > import ./foo.nix
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs/foo.nix' is forbidden in restricted mode
<clever> it just returns whatever expr is in the named file
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lovesegfault> clever: Oh sweet
<lovesegfault> clever: Where does that go? in let ... in? near with?
<clever> probably
<clever> `helpers = import ./helpers.nix`
<clever> it may need an argument passed in, if you made it a function
<clever> `helpers = import ./helpers.nix { inherit iptables; }`
<clever> oh, it needs a bool
<lovesegfault> just uses this
<clever> `helpers = import ./helpers.nix { inherit (config.networking) enableIPv6; inherit lib; }`
<clever> `helpers = import ./helpers.nix { inherit config lib; }` would work with your gist
<clever> and the return value can just be a string, delete the { helpers= and ;}
fragamus has joined #nixos
<{^_^}> [nixpkgs] @mkg20001 opened pull request #75680 → cjs: init at 4.4.0 → https://git.io/JeQRv
<lovesegfault> got em
<lovesegfault> testing
LLED2_3 has joined #nixos
<lovesegfault> clever: BINGO
* lovesegfault high fives clever
<clever> lovesegfault: ive also made major rpi3 progress here
<clever> [ 5.604569] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
<clever> this is the furthest ive gotten so far
LLED2_2 has quit [Ping timeout: 240 seconds]
dansho has quit [Quit: Leaving]
dansho has joined #nixos
<lovesegfault> clever: RPi3?
<lovesegfault> I though that just worked?
<clever> lovesegfault: it "just works" if you use the closed-source blobs
<clever> .... i'm not
<lovesegfault> Ah, lol
<lovesegfault> that's going to be tough
<lovesegfault> goddamn broadcom
<dansho> anybody know why clangd would suddenly stop being able to find standard library headers?
<clever> lovesegfault: my current problem, is that the mmc reader is failing, so it cant mount the rootfs
<{^_^}> [nixpkgs] @lovesegfault opened pull request #75681 → nixos: fix ip46tables invocation in nat → https://git.io/JeQRU
<lovesegfault> clever: Huh, that's interesting
<clever> lovesegfault: the dram bringup and loading of linux was previously solved
<clever> but the actual build of linux wasnt documented
<clever> so i cant reproduce their claims of it working :P
<clever> nix, to the rescue!
<lovesegfault> My friend asked me what Nix was today
<lovesegfault> I described it as "virtualenvs but for EVERYTHING"
<lovesegfault> not sure whether that's fair or not :P
<dansho> ,locate stdlib.h
<{^_^}> Found in packages: tet, zig, root, sdcc, wine, dev86, klibc, root5, z88dk, framac, libbsd, libcxx, splint, uclibc, arduino, zfs.dev, cdrtools, musl.dev, boomerang, glibc.dev, emscripten, metasploit, libfixposix, wineMinimal, arduino_core, wine-staging, gcc-unwrapped, glibc_multi.dev, gcc-arm-embedded, winePackages.base, gcc-arm-embedded-5, gcc-arm-embedded-6, gcc-arm-embedded-7, glibc_memusage.dev, perl528Packages.Tk, perl530Packages.Tk, and 10 more
<clever> lovesegfault: i have a single nix-build command, that can build arm assembly, vc4 assembly, a linux kernel, and then assemble all of them into a single directory
<clever> dansho: is clangd being ran under nix-shell with clangStdenv?
<lovesegfault> clever: That's wild
<clever> lovesegfault: you try getting 3 cross-compilers setup without nix :P
<lovesegfault> you also have that not-os thing :P
<lovesegfault> clever: I had it on Gentoo and it was tough
<dansho> clever: i just have buildInputs = [ clang clang-tools ];
<clever> dansho: you must use clangStdenv if you want clang working
<dansho> i swear it was working a few hours ago
<dansho> i added clangStdenv to buildInputs, didn't help
<clever> dansho: replace stdenv.mkDerivation with clangStdenv.mkDerivation
<clever> then it gives you clang automatically, without any clang in buildInputs
o1lo01ol1o has quit [Remote host closed the connection]
<dansho> uh, i was using mkShell, does that work?
<clever> dansho: mkShell calls plain stdenv.mkDerivation
<lovesegfault> worldofpeace: ALL TESTS SHALL PASS
o1lo01ol1o has joined #nixos
<dansho> clever: didn't seem to help. clang can compile just fine, clangd can't find std headers "Error:'stdlib.h' file not found"
<clever> dansho: clangd may need the same wrapper as clang, check `which clang`
<worldofpeace> lovesegfault: yes !! me and the hydra jobset are connected psychically, I've noticed a disturbance in the tested :D
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lovesegfault> worldofpeace: Me when I sense a Hydra test failure: https://i.ytimg.com/vi/UXhEAb-Qn0A/maxresdefault.jpg
<worldofpeace> lovesegfault: 😁 PERIOD. commits on lock. Hydra first responders
<dansho> clever: so if clang is clang-wrapper-7.1.0 and clangd is clang-7.1.0, what does that mean?
<clever> dansho: read the clang shell script inside clang-wrapper
<lovesegfault> The next hill I will die on is typed Nix
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
Supersonic112 is now known as Supersonic
<clever> [ 6.507919] Warning: unable to open an initial console.
<clever> [ 6.550101] Run /init as init process
<clever> [ 6.555014] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
<lovesegfault> clever: wat
<clever> lovesegfault: linux failed to open /dev/console
<clever> so /init gave no output
<lovesegfault> Ah, I see
<lovesegfault> clever, worldofpeace: what's the path to become a NixOS maintainer (i.e. commit bit)?
<dansho> clever: what am i looking for?
<clever> dansho: its passing special flags to clang, like -I flags
<lovesegfault> jtojnar: You're my here, cc. https://github.com/NixOS/nixpkgs/pull/75668
<{^_^}> #75668 (by jtojnar, 6 hours ago, open): Another batch of Python 2 removals
<worldofpeace> do pretty cool stuff, care a lot, committers notice this, time passes, for you to contribute in the way you need to (and we trust you) you need to have commit bit. Some one with privileges will give it to you.
<worldofpeace> ^ lovesegfault
<lovesegfault> worldofpeace: I see, I gave up on getting my Gentoo commit bit after they asked me a huge (HUGE) quiz which annoyed me
EdLin has joined #nixos
<worldofpeace> lovesegfault: we don't really have a process really yet https://github.com/NixOS/nixpkgs/issues/50105. So it's pretty organic, and about earning people's trust through interactions.
<{^_^}> #50105 (by Infinisil, 1 year ago, open): New nixpkgs committers requirements/process
<dansho> how can i use this with clangd?
<dansho> or is there another c language server that will work out of the box on nixos?
<lovesegfault> worldofpeace: Oh, sweet :)
<DigitalKiwi> i don't trust anyone that loves segfaults with commit bit ;p
<DigitalKiwi> (luckily for you i hold no power in that decision so :P)
<worldofpeace> lovesegfault: but there's a lot of responsibility. one couldn't perform this task properly if they arent' informed enough. because people will see you as an instant authority of what should and shouldn't be in nixpkgs/nixos.
<lovesegfault> DigitalKiwi: every segfault is one more year of job security
<lovesegfault> My non-evil twin brother however convinced work to move to Rust
<lovesegfault> haven't seen a segfault in over a yea
<lovesegfault> *year
<lovesegfault> Oh I miss valgrind
<DigitalKiwi> i've been seeing segfaults about every day now :<
<DigitalKiwi> unfortunately they're in the kernel
<lovesegfault> yikes
<clever> DigitalKiwi: [ 0.000000] Division by zero in kernel.
<clever> DigitalKiwi: ive just solved that one today, lol
<DigitalKiwi> what was it dividing
<DigitalKiwi> if you say zero i swear
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d85e435b7bd (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<lovesegfault> clever: That's the scariest error I've seen in a long time
<clever> DigitalKiwi: the main timer freq in hz
<clever> DigitalKiwi: the arm assembly before linux, wasnt setting it, so it defaulted to 0
<DigitalKiwi> is that (setting it to zero) UB
<clever> its supposed to be set by the board firmware, before any os level stuff runs
<lovesegfault> With god as my witness there will be an unstable release tomorrow
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75681 → nixos: fix ip46tables invocation in nat → https://git.io/JeQRU
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeQRC
<DigitalKiwi> would be funny if it set it to int_max or something
orivej has joined #nixos
<clever> DigitalKiwi: it mainly just controls the scaling factor, between the arm timers and "real time"
<clever> so the rest of the kernel logs show timestamps in seconds
<clever> [ 6.574990] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
<DigitalKiwi> time travel is possible
<worldofpeace> lovesegfault: shipped it
<clever> my real problem right now, is that i dont have any serial output
* lovesegfault hi-fives worldofpeace
<lovesegfault> I am doing all of this so I get my wayland-enabled thunderbird :P
<worldofpeace> 🤣 We got the arm images fixed too right?
<clever> worldofpeace: the sd image being over-sized should be fixed now
<lovesegfault> yeah, I fixed that yesterday
<lovesegfault> with the help of clever and samueldr
<DigitalKiwi> lovesegfault++
<{^_^}> lovesegfault's karma got increased to 2
<DigitalKiwi> clever++
<{^_^}> clever's karma got increased to 281
<DigitalKiwi> samueldr++
<{^_^}> samueldr's karma got increased to 142
<worldofpeace> Awesome, do you have the PR link? I do want to know what became of it at the end. (plus it's so hard sifting in nixpkgs)
* lovesegfault tips hat
<worldofpeace> lovesegfault++
<{^_^}> lovesegfault's karma got increased to 3
<DigitalKiwi> infinisil: feature requst, do that on one line
<worldofpeace> lovesegfault++
<{^_^}> lovesegfault's karma got increased to 4
<worldofpeace> clever++
<{^_^}> clever's karma got increased to 282
<samueldr> worldofpeace: (will look after) when you know the author it's generally easier :)
<lovesegfault> worldofpeace: https://github.com/NixOS/nixpkgs/pull/75592
<worldofpeace> samueldr++
<{^_^}> samueldr's karma got increased to 143
<{^_^}> #75592 (by lovesegfault, 1 day ago, merged): nixos: compress make-ext4-fs with zstd
<samueldr> worldofpeace: it's an annoying "artifact" of the way the image is currently being built
<samueldr> it's built using discrete derivations
<samueldr> even if the final derivation is compressed
<lovesegfault> I originally wrote it with bz2 which was slow as death, so I changed to zstd
<samueldr> every derivation along the way needs to be smaller than 2GiB!
<clever> [ 5.479812] Warning: unable to open an initial console.
<clever> [ 5.485495] VFS: Cannot open root device "mmcblk0p2" or unknown-block(0,0): error -6
<clever> [ 5.493390] Please append a correct "root=" boot option; here are the available partitions:
<clever> samueldr: you able to help with some early arm boot issues?
* DigitalKiwi wonders if evils kicad refactor will hit that 2gb problem
<clever> an initrd with a busybox at /init also fails
adamantium has joined #nixos
<{^_^}> #74259 (by Evils-Devils, 2 weeks ago, open): Kicad cleanup, fix and update
<adamantium> hi , using the nix pkg manager on another distro-- How can I install nixpkgs.pinentry-emacs . I tried nix-env -i pinentry-emacs and it error: selector 'pinentry-emacs' matches no derivations
<lovesegfault> worldofpeace: Can you merge/look at this: https://github.com/NixOS/nixpkgs/pull/75136
<{^_^}> #75136 (by lovesegfault, 1 week ago, open): beets/check-plugin: init at 0.12.0
<samueldr> clever: not sure I can :) is it a slimmed down kernel?
<lovesegfault> adamantium: `nix search`
<samueldr> clever: looks like you might be missing stuff... you're saying your initramfs' /init doesn't get started either?
<adamantium> lovesegfault: that's what i'm doing !!! ?
<clever> samueldr: relatively, ive turned off random bits while debugging
<worldofpeace> lovesegfault: that was a nice result there for using zstd
<samueldr> do you have its config.gz?
<samueldr> (binwalk it at the very worst)
<lovesegfault> worldofpeace: Yeah, I want to convert everything to zstd now
<clever> samueldr: if i put a #! script into the initrd, and use CONFIG_INITRAMFS_SOURCE to tack it on, i get:
<lovesegfault> the compression is amazing and fast
<clever> [ 6.554946] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
<worldofpeace> lovesegfault: totally can look at that PR too
<samueldr> I've been thinking about cp .config $out/nix-support/build.config for everything that uses a linux-kernel-like build config
<clever> samueldr: i have the whole working dir from the kernel build and the .config
<samueldr> clever: ah, your /init could be failing for any reason
<clever> samueldr: ive been using impure incremental builds to speed up testing
<samueldr> ah
<lovesegfault> adamantium: word of advice: avoid nix-env
<clever> 57 script = pkgs.writeTextFile {
<clever> 59 text = ''
<clever> 60 #!${self.busybox}/bin/sh
<adamantium> lovesegfault: what else can I do? This is not nixos I'm on
<clever> samueldr: thats my /init
<DigitalKiwi> adamantium++
<{^_^}> adamantium's karma got increased to 2
<lovesegfault> adamantium: home-manager
<adamantium> please humor me though
<clever> samueldr: it also failed with error -13, when i forgot to make it executable, so its definitely looking at it
<adamantium> my question is how to install from nix-env
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging-next: https://git.io/JeQR0
<samueldr> clever: you don't have the logs of your init, I presume, so I'm assuming something in the script is failing
<lovesegfault> worldofpeace: RE compression: it'd be nice to have a better idea of all the places we're spitting out bzip2 (cc. samueldr)
<clever> samueldr: ive got full uart output, let me pastebin
<samueldr> that's the main reason for panicing due to init being killed
<dansho> clever: is there something different about stdint.h that clangd would be able to find it, but not stdio.h or stdlib.h?
jwinnie has quit [Quit: Konversation terminated!]
<clever> dansho: not sure
<clever> samueldr: [ 5.479812] Warning: unable to open an initial console.
<clever> samueldr: i think this line, is why stdout/stderr dont work
<samueldr> clever: sounds relevant indeed
<samueldr> without any of that you won't know why init fails :)
<clever> samueldr: i have its exit code, so i could try `exit 42` lol
jwinnie has joined #nixos
<samueldr> that's an idea
<clever> CONFIG_INITRAMFS_SOURCE="initrd.cpio"
<clever> [nix-shell:~/apps/kernel/build]$ time make $makeFlags zImage -j8 && time nix-build ~/apps/rpi-open-firmware/ -A helper
<clever> my bootloader lacks initrd support right now
<clever> so i have to bake it into the kernel
<clever> [ 6.555003] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
<dansho> clever: maybe this will fix things https://github.com/NixOS/nixpkgs/pull/73345
<{^_^}> #73345 (by Mic92, 4 weeks ago, merged): clang-tools: teach about nix's include path
<clever> dansho: sounds perfect for your issue
sb0 has quit [Quit: Leaving]
<adamantium> it appears home manager requires systemd
<adamantium> error: while setting up the build environment: getting attributes of path '/etc/services': No such file or directory
<adamantium> now, my question, how can I install nixpkgs.pinentry-emacs using nix-env ?
<clever> samueldr: any guess as to what to do next? maybe test in qemu?
<samueldr> not really, I've been dealing with issues I can't trivially debug out of hardware so I don't have generic tips :)
<lovesegfault> adamantium: nix-env -Ai nixpkgs.pinentry_emacs ?
orivej has quit [Ping timeout: 250 seconds]
<clever> samueldr: throwing together a script to build the x86 busybox, and see what it does in this situation!
<adamantium> I guess I needed -A ... Thanks lovesegfault ...
fusion809 has quit [Remote host closed the connection]
<clever> samueldr: it works as expected on x86
adamantium has quit [Remote host closed the connection]
wavirc22 has quit [Quit: wavirc22]
<clever> [ 2.213178] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00002a00
dansho has quit [Ping timeout: 268 seconds]
endformationage has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75465 → doc/gnome: update wrapper args example, remove proliferated uses → https://git.io/Je9ui
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JeQRK
<jtojnar> worldofpeace what a weird bug https://hydra.nixos.org/build/108187783/nixlog/1
<lovesegfault> jtojnar: wat
<jtojnar> maybe vala should mangle variable names in the generated C code
<jtojnar> SIZE_MAX is probably #defined to some number
<lovesegfault> vala doesn't do mangling?
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<lovesegfault> worldofpeace: thanks for the review, I'm addressing :)
<worldofpeace> lovesegfault: no problem
<worldofpeace> Jan Tojnar: Think I can workaround it though. that's a poor name choice anyways
wavirc22 has joined #nixos
o1lo01ol1o has joined #nixos
vld has joined #nixos
vld has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d85e435b7bd (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<worldofpeace> Jan Tojnar: ikn https://github.com/lainsce/aesop/pull/33
<{^_^}> lainsce/aesop#33 (by worldofpeace, 33 seconds ago, open): Fix build
<jtojnar> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 50
<jtojnar> anyone wants to review https://github.com/NixOS/nixpkgs/pull/53843 before we merge it?
<{^_^}> #53843 (by hedning, 48 weeks ago, open): nixos/displayManager: introduce defaultSession
<lovesegfault> jtojnar: looking
<lovesegfault> NB: I wish DM stuff wasn't under .xserver b/c wayland
<worldofpeace> Jan Tojnar: I think infinisil had some syntax suggestions. could be available sometime this week
EdLin has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<worldofpeace> but you know, like some of us he must sleep occasionally
<jtojnar> I should probably try that too now
jwinnie has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @worldofpeace pushed to staging-next « aesop: fix build »: https://git.io/JeQRF
jwinnie has joined #nixos
<lovesegfault> worldofpeace: Adding comment on the sed
EdLin has joined #nixos
<lovesegfault> done
<EdLin> I'm a bit of a git noob, and a nix noob, but not a Linux noob... I want to upload my configuration.nix to github, what command would do that?
<lovesegfault> EdLin: 1. create a repository
<lovesegfault> 2. git clone `URL`
<lovesegfault> 3. cd $repo_name
<lovesegfault> 4. cp /etc/nixos/configuration.nix ./
<lovesegfault> 5. git add ./configuration.nix
<lovesegfault> 6. git commit -m "Hi adding my config woohoo! Git rocks!"
<lovesegfault> 7. git push -u origin master
<worldofpeace> lovesegfault: whitespace got a little messed up
<lovesegfault> worldofpeace: aaaand fixed :)
<EdLin> how do I get the $repo_name from github?
<clever> EdLin: did you create a repo in github yet?
<lovesegfault> EdLin: Here's my git config https://github.com/lovesegfault/nix-config
<EdLin> yes
<lovesegfault> the name is nix-config
<lovesegfault> when you git clone https://github.com/lovesegfault/nix-config you get a folder nix-config
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75136 → beets.externalPlugins.check: init at 0.12.0 → https://git.io/Jey1V
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeQ0f
<lovesegfault> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 51
<lovesegfault> thanks for the merge
<worldofpeace> lovesegfault: Merged ✨
<lovesegfault> 🚀
<pie__> idk why but xfce is the only desktop that works for me in qemu
<worldofpeace> Nice. Somedays I'm good at this, and other days I endorse totally broken changes 🤣
fragamus has joined #nixos
<EdLin> pie__: KDE works for me, but it launches real slow with the nixos vm creator, maybe it's defaulting to one core or something?
<EdLin> it takes forever, be patient. :P
<DigitalKiwi> we use an older version of the startkde which might be slower than the one the rewrote in c++ that other distros use
<EdLin> for a long time you just get a blank screen
* DigitalKiwi is not convinved of the necessity of that change for improving speed but that's how it is
<EdLin> I dunno, shell scripts for inits worked fine before systemd. <grumble>
<worldofpeace> Well, not to mention all processes are lauched through wrapper scripts. There's now a greater noticable overhead.
<EdLin> ouch
<EdLin> wow, lots of stuff got updated in the last 27 hours or so.
<pie__> hm
<DigitalKiwi> people used to always complain about yaourt (bash wrapper around pacman on arch linux) being slow. excuse was it was slow because it was bash (spoiler: it wasn't) and could not be improved. i wrote one in lua that was hundreds of times faster (clyde). at the same time someone wrote another bash version (packer) that was sufficiently fast dispelling all myths that yaourt was slow because it was bash (and at some point it started to improve somewha
<DigitalKiwi> t in large part because of the additional clyde/packer competition :) )
<DigitalKiwi> tl;dr sometimes bash programs are just slow because they're not written well not out of necessity *shrug*
<EdLin> ^
<lovesegfault> EdLin: did you succeed?
<EdLin> wait.
<DigitalKiwi> caveat: this extends to all programs not just bash heh. rewrites are often better just because they're rewritten with more care and the language/runtime isn't as much of a factor as it seems
<EdLin> I just installed git, and at the same time updated my whole system
<worldofpeace> DigitalKiwi: Though you're correct. Startup there is slow for a different reason.
o1lo01ol1o has joined #nixos
<DigitalKiwi> oh
<EdLin> authentication failed.
<clever> EdLin: did you tell github about your ssh keypair?
<EdLin> I use 2fa on my github account, how do I use git now?
<lovesegfault> EdLin: what was the command
<EdLin> what ssh keypair?
<lovesegfault> EdLin: SSH
<clever> EdLin: use `ssh-keygen` to create a keypair, with optional passphrase, then configure the public key in github
<lovesegfault> EdLin: https://github.com/settings/keys
<lovesegfault> put a pubkey in there
<lovesegfault> I recommend using one just for GH stuff
o1lo01ol1o has quit [Ping timeout: 240 seconds]
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<EdLin> I told KDE to save the password, now git no longer asks for my password, and just fails.
<Unode> hi all, Every once in a while I get in troubles with sudo asking for password despite having NOPASSWD rules in place. These rules worked during the last install and stopped working after the latest update.
<Unode> Any suggestions how to troubleshoot what could be causing this?
<EdLin> I'd put in the wrong password btw
<Unode> this = sudoers/passwordless commands still asking for password
<EdLin> lovesegfault: I created a seperate non-default SSH key, how do I tell git to use it?
<lovesegfault> EdLin: https://github.com/settings/keys
<EdLin> I put the key in there too, the public one
<EdLin> but I don't think git is trying to use it
<lovesegfault> EdLin: Ah, then it should just work
<lovesegfault> did you add it to your ssh keyring?
<lovesegfault> ssh-add -l
<EdLin> could not open a connection to your authentaction agent
<clever> then an agent isnt running, and ssh will load ~/.ssh/id_rsa by default
is_null_ has joined #nixos
<EdLin> what agent?
<clever> EdLin: what does `ssh git@github.com` report?
<lovesegfault> EdLin: An ssh agent
<EdLin> permission denied publickey
ntsrth^ has quit [Read error: Connection reset by peer]
<lovesegfault> Yeah, your ssh agent isn't running
<clever> an agent isnt needed
<EdLin> brb
<lovesegfault> clever: Fair
<clever> it just makes it simpler if you have a pw
is_null has quit [Ping timeout: 276 seconds]
<EdLin> I tried to add the one in the configuration.nix file, it now says "cannot make a connection to the authentication agent
<lovesegfault> EdLin: What does that mean
<EdLin> for ssh-add -l
<lovesegfault> add what
<EdLin> the new non-default key
<EdLin> I need to add it for git.
<clever> EdLin: short term, try doing: eval "$(ssh-agent)" and then ssh-add
vld has joined #nixos
<EdLin> the agent has no identities
<EdLin> whatever that means
<lovesegfault> EdLin: ssh-add the key
<lovesegfault> ssh-add ~/.ssh/whateverkey
<EdLin> that's precisely what I typed in!
<clever> EdLin: the error only happens if you use `-l`
<EdLin> oh
<EdLin> I did the -l
<clever> then thats not precisely what you typed in!
<EdLin> ah....
<EdLin> I added the pub key also, it complained about permissions, it wanted a different file...
<EdLin> lol
<clever> you only add the private key to the agent
<clever> it computes the public from the private
<EdLin> OK, now to try git clone.
<lovesegfault> yep
<EdLin> invalid user name or pasword
<EdLin> authentication failed
<clever> EdLin: you have to clone from git@github.com:owner/repo
<clever> not https://
<lovesegfault> EdLin: reference the ssh url, git@github.com:PloniAlmoni/nixos.git
<EdLin> permission denied publickey
<EdLin> could not read from remote repository
<clever> EdLin: what does `ssh git@github.com` report?
<EdLin> permission denied (publickey)
<lovesegfault> did you close your terminal since running `eval "$(ssh-agent)"`?
<clever> EdLin: then your ssh key isnt working yet
<EdLin> yes
<EdLin> (lovesegfault)
<clever> EdLin: that broke your connection to the agent, re-start the ssh-agent, and redo ssh-add
<lovesegfault> ^
fragamus has quit [Ping timeout: 265 seconds]
<EdLin> same errors
<clever> EdLin: does `ssh-add -l` show a key?
<lovesegfault> EdLin: That means nothing to me, which errors
vld has quit [Ping timeout: 240 seconds]
<EdLin> I ran ssh-add again
<EdLin> It worked!
<lovesegfault> Again, eval "$(ssh-agent)"
<EdLin> I think.
<EdLin> I ran eval also before
<lovesegfault> then ssh-add ./ssh/yourkey (not the .pub!)
<EdLin> with ssh-agent.
<lovesegfault> then ssh-add -l should show you a key
<lovesegfault> then git clone ...
<clever> and then test with `ssh git@github.com`
<EdLin> it's working now I said.
<lovesegfault> Sweet
<clever> having an ssh agent configured, will automate the `eval "$(ssh-agent)"` step
<EdLin> do I have to run ssh-agent manually every tyime?
<clever> and share it between every terminal
<EdLin> I'd like that. Sorry for the noob questions.
<clever> programs.ssh.startAgent
<clever> Whether to start the OpenSSH agent when you log in. The OpenSSH agent remembers private keys for you so that you don't have to type in passphrases every time you make an SSH connection. Use ssh-add to add a key to the agent.
<lovesegfault> EdLin: if you use gnome-keyring and seahorse it will unlock your keys on login too, it's neat
<EdLin> wow, this zsh myzsh stuff is sweet, has an informative prompt for when I'm in a git tree
<EdLin> lovesegfault: I'm using KDE
<lovesegfault> EdLin: Doesn't matter, but you can use kde passwords or w/e
<EdLin> wow, the prompt changed colors when I added a file too. <3
<EdLin> zsh is awesome.
<clever> bash can do the same things
<clever> its just a matter of enabling it
<EdLin> I see.
<clever> some people just make everything on by default :P
<clever> and i feel that bloats things too much
<EdLin> now how do I upload to github?
<EdLin> git clone again?
<clever> 2019-12-15 01:51:29 < lovesegfault> 7. git push -u origin master
<lovesegfault> ^
<EdLin> it still didn't uplodad it.
<clever> EdLin: what did it say when you ran that command?
eri has quit [Ping timeout: 276 seconds]
<EdLin> everything up to date
<clever> EdLin: did you commit yet?
<lovesegfault> did you add and commit your changes
<lovesegfault> Like I instructed above
<EdLin> how do I do that?
<clever> 2019-12-15 01:51:10 < lovesegfault> 6. git commit -m "Hi adding my config woohoo! Git rocks!"
<lovesegfault> dammit dude
<clever> 2019-12-15 01:50:51 < lovesegfault> 5. git add ./configuration.nix
<lovesegfault> I gave you steps
<EdLin> argh
<clever> before step 7, do step 6
<EdLin> I forgot that.
palo1 has joined #nixos
<EdLin> ok, it's finally there.
<lovesegfault> EdLin: in the future you:
<lovesegfault> 1. make changes
<lovesegfault> 2. git add FILE
<lovesegfault> 3. git commit -m "Oh hey another change!"
<lovesegfault> 4. git push
andrewrk has left #nixos ["Leaving"]
<EdLin> OK, thanks for putting up with me. The nixos community's nice. <3
<lovesegfault> EdLin: Np, glad you got it working!
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
<worldofpeace> EdLin: NixOS irc is a serious level up for anyone who enters
<EdLin> worldofpeace: I agree with that assesment, I would have either gotten flamed or not any useful help most places for a question like this.
<EdLin> I figured that if I want to benefit from nixos's easy deployment, I'd want a place to store my nixos configuration files....
<EdLin> so I figured github would be a good idea...
<EdLin> I definitely learned some useful stuff today.
<EdLin> how do I store the password in the KDE equivalent of gnome-keyring btw?
<EdLin> if one exists....
<EdLin> that sounded useful
<lovesegfault> EdLin: I think it's called KPassword
<lovesegfault> But I don't use it and cannot be of much help
<worldofpeace> Kwallet
<worldofpeace> should work out of the box, but I think plasma5 gets less qa in nixos.
ddellacosta has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
oldandwise has joined #nixos
<EdLin> worldofpeace: hm, I'd assumed KDE was better for nixos because it had an example installation in the config file.
<oldandwise> i think this is currently a bug in nixos as i'm working on a niche javacard stuff. How do i work around this? I tested that gradle is fine, but during conversion to cap i encounter this error https://termbin.com/krlk
<lovesegfault> EdLin: I use sway with Gnome stuff (gdm, seahorse, gnome-keyring)
<lovesegfault> oldandwise: You should talk to ekleog
<lovesegfault> He's a javacard master
<EdLin> lovesegfault: sway is not an option, nvidia card. :(
<oldandwise> I launched my shell by `nix-shell -p gradle -p openjdk8`
<lovesegfault> EdLin: Just use the intel one :D
<worldofpeace> EdLin: that's just my evaluation. I make Gnome work well, and I see a slower stream of commits for plasma5
<EdLin> on an AMD FX?
<EdLin> no igpu here. lol
<EdLin> I do plan on getting an AMD host card for my upcoming VFIO passthrough stuff tho
<EdLin> my 750ti died, I was using that earlier
<oldandwise> java,javac and $JAVA_HOME do exists...
ddellacosta has quit [Ping timeout: 240 seconds]
vld has joined #nixos
domogled has joined #nixos
<EdLin> worldofpeace: how would I switch from KDE to GNOME? What do I need to add?
<worldofpeace> EdLin: using your configuration.nix
<worldofpeace> man configuration.nix
<worldofpeace> or the options section in your local nixos manual
<worldofpeace> this is nice too https://nixos.org/nixos/options.html#
vld has quit [Ping timeout: 276 seconds]
<EdLin> worldofpeace: I can't find in that manpage what the gnome metapackage, if any, is called. :(
<lovesegfault> EdLin: man configuration.nix, then /gnome
<lovesegfault> and keep pressing `n` till you see what you want
<worldofpeace> EdLin: You definetely don't install metapackages imperatively in nixos
<lovesegfault> I recommend reading through all of configuration.nix the first time you're setting up NiOS
<worldofpeace> for a desktop service
<{^_^}> [nixpkgs] @Kiwi opened pull request #75682 → wire-desktop: fix desktop icon → https://git.io/JeQ0N
<DigitalKiwi> that's me :D
zupo has joined #nixos
<EdLin> worldofpeace: what does imperatively mean?
<EdLin> nix-env?
<DigitalKiwi> yes
<EdLin> oh, I wasn't planning on that.
<EdLin> too messy for an entire desktop environment.
<EdLin> btw, brb, deleted plasma5. :P
<DigitalKiwi> i missed most of the previous conversation but i use plasma5 on nixos usually happily
<lovesegfault> Never use nix-env
<lovesegfault> That's my approach to a happy life
<{^_^}> [nixpkgs] @vbgl merged pull request #75219 → ocaml-top: 1.1.5 → 1.2.0-rc → https://git.io/JeSJA
<{^_^}> [nixpkgs] @vbgl pushed to master « ocaml-top: 1.1.5 → 1.2.0-rc »: https://git.io/JeQET
<wavirc22> Hi. In nixos add systemd services to the "config.services" dictionary outside of the nixpkgs repository, do I need to use an overlay? What I'm trying to do is something like this: """let cfg = config.services.myapp; in { config = mkIf cfg.enable { ...; users.groups.myapp.gid = config.ids.uids.myapp; } }"""
<wavirc22> My problem atm seems to be that config.ids.uids.myapp is not available. How would I update that list to it's available in my definition?
<clever> wavirc22: you dont have to set the uid or gid of your thing, nixos will just auto-generate one on startup
<{^_^}> [nixpkgs] @veprbl merged pull request #75511 → quake3e: 2019-09-09 -> 2019-11-29 → https://git.io/Je9Sp
<{^_^}> [nixpkgs] @veprbl pushed commit from @pmiddend to master « quake3e: 2019-09-09 -> 2019-11-29 (#75511) »: https://git.io/JeQEt
<{^_^}> [nixpkgs] @softinio opened pull request #75683 → Add and update vim plugins → https://git.io/JeQEq
<lovesegfault> DigitalKiwi: lol
kolbyjcrouch has joined #nixos
<{^_^}> [nixpkgs] @softinio closed pull request #56250 → vim-plugins: Added more vim plugins → https://git.io/JeQEm
kolbycrouch has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #75222 → ocamlPackages.lua-ml: init at 0.9 → https://git.io/JeSUI
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.lua-ml: init at 0.9 »: https://git.io/JeQEn
EdLin has quit [Ping timeout: 268 seconds]
<lovesegfault> worldofpeace: What's the deal with Hydra "Sending Outputs" forever
<lovesegfault> Sorry, "Receiving Outputs"
<clever> lovesegfault: its copying the build product from the build machine, to hydra, compressing, then uploading to an S3 bucket
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<worldofpeace> takes a bit
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lovesegfault> Ah, I see
<lovesegfault> What compression is used
vld has joined #nixos
<clever> lovesegfault: xz i think
* lovesegfault gets mad
<lovesegfault> ZSTD all the things
<clever> lovesegfault: youll have to patch hydra-queue-runner
<clever> lovesegfault: and the thing its compressing isnt on disk, its a single char* in ram
<clever> lovesegfault: might be in libstore of nix itself
vld has quit [Ping timeout: 250 seconds]
oldandwise has quit [Quit: leaving]
jwinnie has quit [Quit: Konversation terminated!]
vld has joined #nixos
jwinnie has joined #nixos
<lovesegfault> clever: Yikes
<ivan> something keeps changing the /etc/nixos/configuration.nix symlink to an older target and I can't figure out what/why
<clever> ivan: system.copySystemConfiguration
<clever> maybe?
<ivan> I don't set that :(
<clever> ivan: is /boot mounted correctly?
<ivan> /dev/sda1 xfs 397M 144M 253M 37% /boot
<ivan> this is the correct target:
<ivan> lrwxrwxrwx 1 root root 53 2019-12-15 07:39 /etc/nixos/configuration.nix -> /home/at/code/system/configuration/machines/plato.nix
<ivan> old bad target:
<ivan> lrwxrwxrwx 1 root root 50 2019-12-14 05:16 configuration.nix -> /home/at/code/system/configuration/hosts/plato.nix
<clever> ivan: are you shutting down properly?
<ivan> ~/code is a symlink to some NFS but this machine with the symlink problem has been rebooted many times
<ivan> not sure I'm shutting down properly
<clever> ivan: how do you shutdown the machine?
<wavirc22> clever: thanks :)
<ivan> but my /etc is on XFS and it should be saved after ~30 seconds, no?
<ivan> clever: I wait a little bit for systemd to try to unmount things and then I force it off
<clever> ivan: why is it hanging? you should probably fix that issue first
<ivan> something to do with NFS
<clever> ivan: i think you need a special flag to make systemd aware that nfs is using the network, and to umount those before shutting off the network
<ivan> ah, thanks
<ivan> that would explain it
wavirc22 has quit [Read error: Connection reset by peer]
jwinnie has quit [Ping timeout: 268 seconds]
viric has quit [Read error: Connection reset by peer]
jwinnie has joined #nixos
viric has joined #nixos
Heirlung- has joined #nixos
jwinnie has quit [Client Quit]
Heirlung has quit [Read error: Connection reset by peer]
Heirlung- is now known as Heirlung
rardiol has quit [Ping timeout: 265 seconds]
<raboof> gchristensen: btw I'd be happy to update https://r13y.com every now and then until the autobuilder is back
<raboof> (I guess we could make an account that has no permissions except writing to /var/lib/nginx/r13y/r13y.com)
NoctisLa1 has quit [Quit: WeeChat 2.6]
NoctisLabs has joined #nixos
xelxebar has quit [Ping timeout: 260 seconds]
xelxebar_ has joined #nixos
<lovesegfault> Can someone manually kick of another build of https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents
<lovesegfault> cc. clever worldofpeace
<clever> i lack hydra control
<lovesegfault> since NAT got fixed
`_ has joined #nixos
<`_> Having an odd error, I'm trying to build a package, and during the build it needs to perform an SVN checkout. For some odd reason, it's saying that it can't connect to the repo due to an unknown hostname, however if I manually svn checkout it works. Any ideas?
ixxie has joined #nixos
EdLin has joined #nixos
<clever> `_: nix disables all network access during a build, you must use pkgs.fetchsvn to fetch from svn
<`_> To clarify: When I run `nix-env -f file.nix -i package` it tries to perform the checkout and fails due to an unknown hostname, but if I subsequently run the exact command that failed in my CLI it works.
<`_> Oh
<`_> Wait really
<clever> `_: also, you want to use `nix-build file.nix -A package` for testing, nix-env isnt suited well for testing
<clever> `_: yes, the network is disabled to make sure the builds are reproducable
<`_> Ah thank you
<`_> Ohhhhhhhhh good point
orivej has joined #nixos
<`_> Ok looks like I've got a bit of work to do then.
<`_> This isn't my project
<clever> `_: does the script detect if things are already checked out at a certain dir?
<`_> Nope
<clever> `_: then it may need to be patched by the nix build process
<`_> Yeah that's what I'm thinking
<`_> As an aside, any idea as to why basically none of the haskellPackages seem to work anymore?
<clever> `_: they seem to work just fine for me, how are you testing them?
<`_> That's an exaggeration obviously, but the ones I've used previously seem to be broken
<clever> how do they fail?
<`_> They're ones I've previously had installed on another system, dhall2nix, jenkinsPlugins2nix
<`_> They're marked as broken
<`_> Said system has since gotten in a fight with moisture and lost
<clever> thats because they fail to compile, and marking it as broken stops you from wasting time building something that will fail
<clever> youll need to set allowBroken = true, find the real problem, and then file a PR to nixpkgs to fix it (and mark it as not broken)
h0m1 has quit [Quit: WeeChat 2.6]
<`_> Would it be prudent to attempt to build it with other tags in nixpkgs-release?
shabius has quit [Quit: Leaving]
<clever> other channels may not have the problem
<`_> Like I'll submit a PR if I can when I get time but I'd rather have the packages working sooner than later.
h0m1 has joined #nixos
<`_> Yeah I might as well try
<`_> It's just interesting, it seems that all the packages I used previously on 19.03 are suddenly broken in 19.09
<`_> Or perhaps it was 18.09
<`_> Err, all the haskellPackages
<clever> if nobody uses it in nixos-unstable, its unlikely to be fixed
<`_> Figured
<clever> and then it winds up in the next stable release, in a broken state
<clever> part of why i always run nixos-untable
<clever> then the stuff i care about remains in a working state
<`_> Oh
<`_> That's honestly not a bad call
<clever> because i fix it when it breaks, and then it doesnt get into a stable channel!
<EdLin> that's very... clever. ;)
<`_> I'm not certain I'd be knowledgeable to fix half the packages I'm trying to get going right now
* colemickens is usually surprised when finding people running stable
<`_> I'm #1 on a nostalgia trip so trying to build some things I used in the early 00s and have no idea how to maintain, and #2 have no idea how to haskell
<EdLin> um, I'm running stable. :(
<colemickens> not a judgement thing, I would pull my hair out quickly.
<EdLin> `_: for me, nostalgia is the early 90s, but I'm afraid kernel 0.95 wouldn't run on this system. ;)
<clever> [ 6.544240] potentially unexpected fatal signal 4.
<clever> [ 6.699657] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
<clever> 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP
<`_> EdLin: This was back when I was using Windows
<clever> ive been trying to solve this problem lately, i'm pretty sure i have the right arch for this build...
<`_> It's a GTK project so at least worked on Windows
<EdLin> I didn't use Windows at all in the 1990s basically.
<`_> I'm >10 years sober
<EdLin> it was too broken at the time, wasn't worth my while I figured.
<`_> And never going back
<`_> Are you insinuating it isn't broken currently?
<clever> :D
<EdLin> not as badly, ever used Windows 95/98? BSODs constantly.
<`_> I thought the Windows and broken were synonymous
<`_> Yes
<`_> Ever used ME?
<clever> EdLin: ive heard about the ping of death in win95
shabius has joined #nixos
<clever> EdLin: a malformed ping packet, would cause a bluescreen
<`_> 95 made ME look like CentOS
<`_> Err, other way around sorry
<EdLin> yeah, I never had the pleasure of running ME.
<EdLin> I did use 98, and 95, on other's systems.
<`_> Pressing the i key at the wrong time of day would BSOD
<clever> ive ran dos, win3.11, 95, 98, xp, 7, and 10 i think
<`_> Yeah I used 3.1-XP
<`_> After vista came around I had moved to Mac and was content for quite a few years
<clever> around the age of xp, i began switching to linux
<clever> but i still had to use windows for games
orivej has quit [Ping timeout: 240 seconds]
<`_> Then I realized that I spent 99% of the time in the CLI and didn't need to spend > $2000 for what is basically a raspberry pi
<clever> but steam and proton have mostly solved that
<pie__> does nixos store logs for activation scripts somewhere?
<clever> pie__: the journal maybe
<EdLin> during the vista era I ran a mac also, it's when I got into making music on computers a bit, so I did find Windows 7 useful for a while because of Linux's bad low latency audio support at the time
<`_> pie__: journalctl -xeu service-name
<clever> `_: heh, funnily enough, i'm currently working on open source firmware, for the rpi!
<pie__> yeah i have no idea what the service is called
<clever> pie__: its probably not under -u, since it doesnt have a unit name
<`_> Yup
<`_> EdLin: Yeah I did use Windows for audio when I was predominantly mac
<`_> clever: Keep it up. I intend to have quite a few RPIs running nixos
<EdLin> macs actually are best at audio, due to built in sane drivers, but Apple doesn't seem interested in making powerful computers for less than 5999 anymore.
<clever> `_: my current issue, is that busybox crashes with SIGILL when ran as init in the initrd
<`_> EdLin the reason I used Windows for audio was because I at least knew how to lol
<EdLin> plus the OS is bad compared to Linux to me.
<clever> EdLin: at one point, i was looking into a custom audio capture system, ethernet based at the time, that would allow for 32 channel audio capture, 24bit, 96khz
<`_> clever: I'd imagine a bit out of my scope for the time being
<clever> the idea was to have predictable latency, and high bandwidth, with linux support
<`_> EdLin: I honestly used to love the Mac, but it became their bad design decisions combined with the idiotic price tag that drew me away from them
<EdLin> yeah, they really have been getting worse fast.
Cale has quit [Read error: Connection reset by peer]
<`_> I'm a vim user and the touchbar was like
<pie__> ok the stuff im looking for showed up in the systemd boot logs \o/
<`_> Yeah
<`_> I heard they recently got the escape key back which is nice
<EdLin> haha
<EdLin> no esc key?
Cale has joined #nixos
<`_> The original systems with the touchbar got rid of the escape key
<EdLin> ^] only then?
<`_> It was a soft key instead of a hard key
<`_> No it existed, it was just on a stupid little touch screen with no tactile feedback and worse, no physical button
<thefloweringash> don't vim users put escape to the left of A?
<`_> Some do
<`_> I happen to be one of the ones who actually cares about my work
<thefloweringash> what does that mean?
<`_> Just a bad trolling attempt
<`_> Yeah I've noticed that a lot of fellow vim users use the caps lock key for esc
<`_> I just personally use the caps lock key too much to remap it
<EdLin> BUT THEN HOW WILL YOU DO THIS?
<`_> EXACTLY
<EdLin> CAPS LOCK IS CRUISE CONTROL FOR COOL.
<`_> LIKE I WANT TO HOLD DOWN A BUTTON WHILE I'M YELLING
<`_> YES IT IS.
<thefloweringash> If you're not going to hold down shift, are you really yelling, or just making a machine yell for you ;-)
<clever> EdLin: i turned on shiftlock, instead of capslock
<EdLin> it's all making a machine do stuff for you, it's what computers are for.
<`_> See but then when I'm typing in constants it feels like I'm yelling at the computer
<clever> so now, the capslock key, affects numbers!
<clever> so capslock does !@#$%^&*()_+ to the top row!
<{^_^}> [nixpkgs] @jonringer merged pull request #75661 → python3Packages.ipython: 7.8.0 -> 7.10.1 → https://git.io/JeQZy
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.ipython: 7.8.0 -> 7.10.1 »: https://git.io/JeQuR
<`_> Whoa
<`_> Whoa
<`_> Slow down there
<EdLin> clever: that's useful, you can yell *and* curse.
<`_> Hahahahaha
<clever> 508 xserver = {
<clever> 509 xkbOptions = "caps:shiftlock";
<`_> Didn't even know that existed
<clever> and with 1 line in your config, you can do the same!
<pie__> ok maybe i shouldnt be using an activation script for this but...
<clever> pie__: systemd oneshot services!
<clever> pie__: ive seen activation scripts entirely block a machine from booting
<pie__> i need to create this for the user because its not getting created in a vm https://github.com/rycee/home-manager/issues/107#issuecomment-341959680
<`_> clever: Perhaps if svn:// doesn't work during build, file:// would?
<clever> `_: the filesystem access is also restricted
<`_> Oh fair point
<`_> Yeah I guess that would result in mutable builds
<`_> Interesting then that fetchGit can still allow impure behavior
<clever> `_: builtins.fetchGit happens before the eval is finished, and if you change the source, the output path will be properly updated
<clever> `_: causing it to perform a new build
<clever> `_: fetchGit behaves the same as src = ./foo;
<`_> Oh good point
<`_> Yeah I guess even with `ref = x` any change in `x` would cause a rebuild
<`_> But then why wouldn't an svn checkout trigger a rebuild?
<thefloweringash> for those of us casually following along at home, is this a public project?
<`_> Or is that outside of the cope?
<`_> thefloweringash, yep
<clever> `_: pkgs.fetchsvn will take a sha256, and only if the name= or sha256= changes, would it rebuild
<`_> thefloweringash, https://icculus.org/gtkradiant/
<clever> `_: the sha256= is a promise that your build will always have the same result, and that promise is what gives you permission to access the network
<clever> `_: and if you fail to meet that promise, your build is considered as failing
<`_> Fair, but then why doesn't fetchGit require an sha256?
<clever> `_: because it happens at eval time, and nix will just hash the directory before it does the eval
<`_> Ah
<`_> Ok
<clever> `_: which forces you to fetch the entire source before you know the output path of anything
<`_> Err, wait then why doesn't fetchsvn behave the same?
<`_> Like, it seems that one of these is not like the other in a way that doesn't make sense.
<clever> `_: all of the pkgs.fetch* functions are build-time fetches, which need a sha256, and can be ran in parallel
<clever> `_: the builtin.fetch* functions are eval time fetches, only one can run at once, and sha256 is optional
<clever> so they both slow down the build, and harm purity
<`_> Ok
<pie__> clever: no idea what this actually needs to work, right now it seems to break things other than itself too https://bpaste.net/show/QIOTM
<`_> Yes that makes sense, but then why does fetchGit work differently?
<clever> `_: builtins.fetchGit is is mostly for private git repos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/80475128fc9 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> pie__: if you set .script, it will auto-generate a shell script for you, and put it into serviceConfig.ExecStart
<`_> `_ I'm under the assumption that we just want fetchGit to be that way then
<`_> Um
<`_> Why did I type in my own username there
<`_> clever, ^
<clever> lol
<pie__> clever: yeah see i was wondering if theres something like that, didnt show up in the option search, or wasnt explained well
knupfer has joined #nixos
<pie__> one of the two
<`_> I'd imagine it's because git is most prominent.
<clever> `_: thats probably part of it, git is everywhere now
<`_> Yeah that makes sense.
<pie__> clever: just do systemd.services.workaround.script = ''...''; ?
<{^_^}> [nixpkgs] @gebner merged pull request #75678 → vdirsyncer: fix build on darwin → https://git.io/JeQBX
<`_> Ok then this build is going to require a little bit because it seems to want to re-run the script every time it needs something from the svn repo
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JeQu1
<clever> pie__: yep
<`_> Which is stupid
<clever> `_: if you use pkgs.fetchsvn, give it a name and sha256, it will cache the result and reuse it for the same name+sha256
<{^_^}> [nixpkgs] @scaredmushroom opened pull request #75685 → backport: tor-browser-bundle-bin: 9.0.1 -> 9.0.2 → https://git.io/JeQuM
<pie__> clever: what do i have to do to get this damn thing to log somewhere...or where does it log to
<pie__> its not in -u
<clever> pie__: normally, journalctl -f -u workaround.service
<pie__> but its got a service file
<`_> clever: Of course but this script seems to want to check out the repo every time it needs something from it. So it's not that the files exist, it's that every single time it wants to get something it has to check out the repo again, so I have to dive in a bit deeper to figure out how to make it read from the repo that nix has grabbed
<clever> i dont know what SyslogIdentifier will do to it
<pie__> oh i got rid of all that
<pie__> i can try again with that stuff added back
<clever> pie__: also, because of RemainAfterExit and oneshot, it may not re-run after a rebuild
<`_> At least that's how it seems
<`_> Bad programmers exist. I'm one of them.
knupfer has quit [Ping timeout: 250 seconds]
<pie__> clever: it only needs to run once ever
<clever> pie__: try without RemainAfterExit, and you may need to systemctl stop it
<`_> Hm nope I'm wrong time to dive into this
<`_> I'll be back in 3 weeks
<pie__> ok well it acutally seems to run and log now
<lovesegfault> clever: If you can https://github.com/NixOS/nixpkgs/pull/74896
<pie__> im an idiot
<{^_^}> #74896 (by lovesegfault, 1 week ago, open): gebaar-libinput: init at 0.0.5
<pie__> ive been runnin the chown first and the mkdir afterwards
Jackneill has joined #nixos
<pie__> so i might have gone through several otherwise successful possibiities
<`_> Ok so after diving into this whole build, there's absolutely no way I'm going to make this work without a ton of work. It's pretty ridiculous. If the libraries don't exist, it'll download them itself, etc.
<`_> So yeah I'm just gonna give this one up for the time being.
<`_> All the files it's trying to get exist but I'd still rather not jump that deep into the logic at the moment.
Izorkin has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #75686 → mutt: 1.13.0 -> 1.13.1 → https://git.io/JeQuh
cinimod`` has quit [Ping timeout: 276 seconds]
cinimod`` has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nix] @edolstra pushed 4 commits to master: https://git.io/JeQzU
<{^_^}> [nix] @edolstra merged pull request #3268 → bugfix: Adding depth limit to resolveExprPath → https://git.io/JeHSp
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed 3 commits to release-19.09: https://git.io/JeQzT
turion has joined #nixos
cinimod`` has quit [Ping timeout: 268 seconds]
Izorkin has quit [Read error: Connection reset by peer]
Izorkin has joined #nixos
opthomasprime has joined #nixos
Izorkin has quit [Ping timeout: 276 seconds]
opthomasprime has left #nixos [#nixos]
Thomas[m]13 has joined #nixos
chloekek has joined #nixos
rsa has joined #nixos
Izorkin has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
Thomas[m]13 has left #nixos ["User left"]
opthomasprime has joined #nixos
fendor has joined #nixos
cfricke has joined #nixos
ixxie has joined #nixos
tsrt^ has joined #nixos
<pie__> did something change for the rebuild activation script?
<pie__> for a while now i havent been getting things about restarting systemd services
<pie__> oh well i guess that would make sense if i havent changed them...
<pie__> it only says "updating grub2 menu"
<clever> pie__: ps -eH x, look at the process tree, what is running?
ixxie has quit [Ping timeout: 265 seconds]
<pie__> clever: its not hanging
<clever> pie__: not sure then
<pie__> i mean, am i _supposed_ to see more output?
<clever> pie__: if something has changed, yes
<thefloweringash> `_: so making gtkradiant build without the pak files is reasonable: https://gist.github.com/thefloweringash/8f4c5ef2825e4779f03dda67f693c1c5 -- it starts enough to complain "No games setup, aborting". Maybe you can combine it with your logic to fetch the paks?
ng0 has joined #nixos
<thefloweringash> Splitting out the game paks into their own package might make sense. They're not part of the build. Something like "gtkradiant-unwrapped" without data, "gtkradiant-data" for just the resources, and "gtkradiant" that glues them together. I don't know if this can by symlinks, of if you'll have to patch support for external data into the source via an environment variable for the wrapper to set (or equivalent injection
<thefloweringash> point).
thc202 has joined #nixos
akaWolf has quit [Remote host closed the connection]
polman has joined #nixos
<DigitalKiwi> sounds like what evils is doing to kicad https://github.com/NixOS/nixpkgs/pull/74259/
polman has quit [Ping timeout: 252 seconds]
`_ has quit [Ping timeout: 252 seconds]
detran has quit [Quit: ZNC 1.7.4 - https://znc.in]
polman has joined #nixos
detran has joined #nixos
EdLin has quit [Ping timeout: 268 seconds]
fendor has quit [Read error: Connection reset by peer]
akaWolf has joined #nixos
polman has quit [Excess Flood]
fendor has joined #nixos
__monty__ has joined #nixos
polman has joined #nixos
cosimone has joined #nixos
polman has quit [Excess Flood]
vika_nezrimaya has joined #nixos
xwvvvvwx has quit [Ping timeout: 265 seconds]
polman has joined #nixos
chloekek has quit [Ping timeout: 245 seconds]
xwvvvvwx has joined #nixos
Ariakenom has joined #nixos
ixxie has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
jakobrs has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
gkmngrgn has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
tmaekawa has joined #nixos
polman has quit [Read error: Connection reset by peer]
gkmn1 has joined #nixos
polman has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
gkmngrgn has quit [Ping timeout: 240 seconds]
xwvvvvwx has quit [Ping timeout: 265 seconds]
<jakobrs> Is there a better way to do this?
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
xwvvvvwx has joined #nixos
jgeerds has joined #nixos
chloekek has joined #nixos
<pie__> jakobrs: you could do something like this https://bpaste.net/show/M3WEY
<pie__> im too braindead to think harder
<jakobrs> I tried to look in the wiki but I couldn't find any relevant functions
<pie__> ive neer used filtersource
<pie__> what are you trying to do
<jakobrs> I'm trying to find out if one path is inside another path
<jakobrs> I'm using filtersource to only include the relevant directories
<jakobrs> because otherwise lots of unrelated files will also be included
gkmn2 has joined #nixos
<pie__> yeah idk
<jakobrs> thanks anyway
gkmn1 has quit [Ping timeout: 276 seconds]
jophish has joined #nixos
<jophish> Is there an easy way to add python packages to nixpkgs?
<jophish> it seems like the process is very mechanical at the moment
<{^_^}> [nixpkgs] @kampka opened pull request #75688 → postgresql: Add ensureExtensions option to service setup → https://git.io/JeQgb
jakobrs has quit [Quit: leaving]
tmaekawa has quit [Quit: tmaekawa]
orivej has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<__monty__> jophish: Ideally it'd be 100% mechanical, like the haskell package sets : )
<ekleog> can't remember… we don't have a bot for telling people stuff when they come back, right?
<__monty__> ,tell ekleog Of course we do.
<{^_^}> __monty__: I'll pass that on to ekleog
<ekleog> oh cool, thanks!
<{^_^}> ekleog: 5 seconds ago <__monty__> Of course we do.
<clever> and it waited until you spoke up in the channel!
<ekleog> that's neat :)
<__monty__> I'd personally rather get bombarded when I join rather than when I'm trying to have a conversation. But we can't have nice things because of people with bouncers.
<__monty__> : >
<ekleog> ,tell oldandwise I haven't been using ant or gradle with javacard (just a plain old .ninja file), but the error you're getting makes me think you have .java files that you haven't compiled to .class before running the converter (or that you've forgotten the -source 1.5 -target 1.5 --- I've also got -Xlint:-options, but not sure it's required) -- I'm not totally sure if it's supposed to be working
<{^_^}> ekleog: I'll pass that on to oldandwise
<ekleog> even this way, but by compiling before you should be able to at least work around this issue :)
<ekleog> erhm
<ekleog> too long :(
<ekleog> __monty__: Potentially the bot just bombards you with messages as soon as you join, too :)
<ekleog> ,tell oldandwise (continuing) I'm not totally sure if it's supposed to be working even this way, but by compiling before you should be able to at least work around this issue :)
<{^_^}> ekleog: I'll pass that on to oldandwise
<__monty__> ekleog: It could, but it doesn't.
<rizary_> hi, I got some python package problem in this project's issue: https://github.com/tweag/jupyterWith/issues/65
<{^_^}> tweag/jupyterWith#65 (by Rizary, 2 hours ago, open): Python package strange behavior.
<rizary_> the confusing part is about how python in nix generate `/nix/store/....-python3-3.7.5-env` for example
jakobrs has joined #nixos
<{^_^}> [nixpkgs] @duairc opened pull request #75689 → (hydra): Temporarily unbreak hydra with the deprecated lib.closePropagation → https://git.io/JeQ2Z
cosimone has quit [Quit: Terminated!]
cosimone has joined #nixos
<jakobrs> Huh
<jakobrs> The documentation for nix-build is outdated (I think)
<jakobrs> It doesn't mention --dry-run
drakonis_ has joined #nixos
gkmn3 has joined #nixos
polman has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 250 seconds]
gkmn2 has quit [Ping timeout: 268 seconds]
<jakobrs> ... and it's been outdated for 3 years
edwtjo has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #75690 → tio: expand platforms to "unix" to include darwin → https://git.io/JeQ2V
cosimone has quit [Quit: Quit.]
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
vika_nezrimaya has quit [Ping timeout: 268 seconds]
gkmn3 is now known as gkmngrgn
polman has joined #nixos
EdLin has joined #nixos
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
polman has quit [Read error: Connection reset by peer]
xwvvvvwx has joined #nixos
polman has joined #nixos
jakobrs has quit [Quit: leaving]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #75691 → chromium: add thefloweringash (myself) as maintainer → https://git.io/JeQ2X
cfricke has quit [Ping timeout: 240 seconds]
polman has quit [Read error: Connection reset by peer]
EdLin has quit [Quit: WeeChat 2.6]
polman has joined #nixos
drakonis_ has joined #nixos
chloekek has quit [Ping timeout: 240 seconds]
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
drakonis has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4329065c434 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
o1lo01ol1o has joined #nixos
polman has quit [Ping timeout: 250 seconds]
gkmngrgn has quit [Read error: Connection reset by peer]
gkmngrgn has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #75692 → postgresql-backup: Use saner defaults for pg_dump → https://git.io/JeQaL
o1lo01ol1o has quit [Ping timeout: 240 seconds]
maralorn has quit [Quit: WeeChat 2.6]
realrokka has quit [Quit: rip]
maralorn has joined #nixos
realrokka has joined #nixos
polman has joined #nixos
chloekek has joined #nixos
gkmngrgn has quit [Ping timeout: 268 seconds]
edwtjo has joined #nixos
edwtjo has joined #nixos
edwtjo has quit [Changing host]
ng0 has quit [Quit: Alexa, when is the end of world?]
EdLin has joined #nixos
polman has quit [Ping timeout: 252 seconds]
polman has joined #nixos
nek0 has quit [Quit: ZNC 1.7.4 - https://znc.in]
nek0 has joined #nixos
iyzsong has quit [Ping timeout: 246 seconds]
<{^_^}> [nixos-org-configurations] @aanderse opened pull request #92 → webserver.nix: update to reflect changes in httpd module options → https://git.io/JeQaa
<{^_^}> [nixpkgs] @kampka closed pull request #75688 → postgresql: Add ensureExtensions option to service setup → https://git.io/JeQgb
polman has quit [Ping timeout: 252 seconds]
polman has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos
philr has quit [Ping timeout: 276 seconds]
drakonis_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @danbst opened pull request #75693 → dolt: init at 0.12.0 → https://git.io/JeQab
polman has quit [Ping timeout: 250 seconds]
drakonis_ has joined #nixos
EdLin has quit [Quit: WeeChat 2.6]
polman has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/86ed15dcce7 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has quit [Ping timeout: 265 seconds]
polman has quit [Excess Flood]
polman has joined #nixos
<{^_^}> [nixpkgs] @lheckemann pushed commit from @NeQuissimus to release-19.09 « linux: Add CRYPTO_AEGIS128_SIMD for aarch64 »: https://git.io/JeQVf
polman has quit [Ping timeout: 250 seconds]
polman has joined #nixos
cfricke has joined #nixos
drakonis has joined #nixos
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
fusion809 has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
kleisli has quit [Ping timeout: 265 seconds]
polman has quit [Ping timeout: 252 seconds]
fling has quit [Ping timeout: 265 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75388 → xplanet: 1.3.0 -> 1.3.1 → https://git.io/JeSdk
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeQVB
cosimone has joined #nixos
o1lo01ol1o has joined #nixos
cosimone has quit [Client Quit]
drakonis has quit [Ping timeout: 246 seconds]
polman has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #75657 → gtkwave: build with gtk3 → https://git.io/JeQZf
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeQVg
drakonis has joined #nixos
eri has joined #nixos
jgeerds has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #75690 → tio: expand platforms to "unix" to include darwin → https://git.io/JeQ2V
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQVa
scasc has joined #nixos
gkmngrgn has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75686 → mutt: 1.13.0 -> 1.13.1 → https://git.io/JeQuh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQVw
polman has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos
grumble has quit [Disconnected by services]
grumble has joined #nixos
polman has quit [Ping timeout: 252 seconds]
sondr3 has joined #nixos
gkmngrgn has quit [Ping timeout: 265 seconds]
polman has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
f0i has joined #nixos
polman has quit [Ping timeout: 250 seconds]
rardiol has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @plutotulp opened pull request #75694 → spamassassin: enable IPv6 support with Socket6 → https://git.io/JeQVh
EdLin has joined #nixos
Jackneill has quit [Ping timeout: 240 seconds]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
chloekek has quit [Ping timeout: 240 seconds]
pbb has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #75695 → Port tests → https://git.io/JeQwT
cosimone has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
polman has joined #nixos
Ariakenom has joined #nixos
chloekek has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #75696 → linux: run make install in parallel → https://git.io/JeQwZ
<{^_^}> [nixpkgs] @FRidh pushed 45 commits to staging-next: https://git.io/JeQwW
<{^_^}> [nixpkgs] @FRidh merged pull request #75533 → kdeApplications: kcalcore dependencies fix → https://git.io/Je9hw
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging-next: https://git.io/JeQw8
<{^_^}> [nixpkgs] @FRidh pushed 51 commits to staging: https://git.io/JeQwB
<{^_^}> [nixpkgs] @WilliButz merged pull request #75679 → grafana-loki: fix build on darwin → https://git.io/JeQB9
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/JeQwu
horner has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 72 commits to python-unstable: https://git.io/JeQwz
polman has quit [Ping timeout: 252 seconds]
<viric> Sooo 2019 and what is the trick to get 'geeqie' installed with icons in nixos?
<{^_^}> [nixpkgs] @FRidh pushed 73 commits to staging: https://git.io/JeQw2
<{^_^}> [nixpkgs] @FRidh merged pull request #75452 → Staging next → https://git.io/Je9Wg
<{^_^}> [nixpkgs] @FRidh pushed 80 commits to master: https://git.io/JeQwr
<{^_^}> [nixpkgs] @georgewhewell opened pull request #75697 → kodi: add option for GBM backend → https://git.io/JeQwi
dansho has joined #nixos
asheshambasta has joined #nixos
scasc has quit [Ping timeout: 240 seconds]
<nilsirl[m]> I don't know how to enable pulseaudio support for waybar
<nilsirl[m]> From the source code, it seems that you have to enable the pulseaudio option but I don't know how to do so
<grw> nilsirl[m]: `waybar.override { pulseSupport = true; }`
rardiol has quit [Ping timeout: 276 seconds]
asheshambasta has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @roberth merged pull request #75691 → chromium: add thefloweringash (myself) as maintainer → https://git.io/JeQ2X
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JeQrY
<nilsirl[m]> grw: Thank you, hopefully, next time i'll be able to understand this on my own
<{^_^}> [nixpkgs] @softinio closed pull request #75683 → Add and update vim plugins → https://git.io/JeQEq
domogled has joined #nixos
domogled has quit [Client Quit]
domogled has joined #nixos
asheshambasta has joined #nixos
polman has joined #nixos
Chiliparrot has joined #nixos
<asheshambasta> So it seems like on my system, adding my user to the group "audio" and rebooting has broken my sound output completely. It seems that no gui application now can output sound.
<asheshambasta> however, sound output from the cli seems to be fine: I'm using csound and csound-expression (haskell); and I can output sound from the Haskell repl.
polman has quit [Read error: Connection reset by peer]
<duairc> I set up NixOS on one of my servers at the end of last year when I was just getting started with NixOS, and I split the configuration into loads of different files that all import each other and it's a bit of a tangled mess.
<duairc> Is there some way to find what the result of all of that is without detangling it all by hand?
<duairc> I want to make some changes and I can't keep track of where everything is anymore
<EdLin> asheshambasta: I know on other distros, if you use pulseaudio, you must not add your user to audio.
<asheshambasta> EdLin: I've already done that
<asheshambasta> it seems like no pulseaudio daemon is running
<asheshambasta> however, I've followed the guide on this and have hardware.pulseaudio.enable = true;
ajs124 has joined #nixos
<EdLin> pulseaudio isn't a system daemon, at least, on other distros it isn't, it's a user-daemon.
<EdLin> is there a reason why you need to be in the audio group?
<EdLin> if it's alsa programs, pulseaudio can be configured to handle alsa...
<asheshambasta> EdLin well, the nixos wiki seems to suggest one has to be in the audio group to be able to control audio
<EdLin> hm
<EdLin> I have no problems controlling it here.
<asheshambasta> in my case it seems like the daemon is dead but for some magical reason, I can output sound via csound
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4329065c434 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<asheshambasta> in fact, none of the pactl commands seem to work
polman has joined #nixos
<asheshambasta> I'll need to reboot, but what a mess :-( )
asheshambasta has quit [Remote host closed the connection]
polman has quit [Excess Flood]
asheshambasta has joined #nixos
<asheshambasta> I've now removed my user from the "audio" group and I can no longer connect to pulseaudio from the CLI: connection refused.
horner has quit [Quit: zzZzZzZzZZZzzz…]
domogled has quit [Ping timeout: 276 seconds]
noudle has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #75659 → nixos containers: disable NixOS manual in container config. → https://git.io/JeQZc
<{^_^}> [nixpkgs] @danbst pushed to master « nixos containers: disable NixOS manual in container config. (#75659) »: https://git.io/JeQr1
polman has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #75396 → tectonic: 0.1.11 -> 0.1.12 → https://git.io/JeSAY
<{^_^}> [nixpkgs] @veprbl pushed commit from @malbarbo to master « tectonic: 0.1.11 -> 0.1.12 (#75396) »: https://git.io/JeQrD
nixy has quit [Quit: ZNC 1.7.4 - https://znc.in]
nixy37 has quit [Quit: The Lounge - https://thelounge.chat]
nixy has joined #nixos
nixy37 has joined #nixos
EdLin has quit [Ping timeout: 268 seconds]
BugeyeD has joined #nixos
asheshambasta has quit [Ping timeout: 246 seconds]
cosimone has quit [Ping timeout: 265 seconds]
ixxie has quit [Ping timeout: 240 seconds]
asheshambasta has joined #nixos
<asheshambasta> so I've tried everything and cannot connect to pulseaudio via a cli once I've started an application that connects to pulseaudio.
<asheshambasta> I rebooted and connected to PA via the CLI, after which none of my applications could connect to it.
<asheshambasta> I have no experience with PA so if someone can identify what the issue in this case can be; that'll really help.
scasc has joined #nixos
growpotkin has joined #nixos
<evils> asheshambasta: i'm hardly familiar with PA, but you're sure alsa isn't muted?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
polman has quit [Ping timeout: 252 seconds]
polman has joined #nixos
<asheshambasta> evils: how do I check that?
<evils> `alsamixer`?
<asheshambasta> ah, yes, I've checked that and it isn't muted.
<asheshambasta> I see an explicit error in my csound based repl: connection refused when connecting to 'default' on PulseAudio
<asheshambasta> as I understand this; alsa is trying to look for, and connect to, a device called 'default' on PA.
polman has quit [Excess Flood]
<asheshambasta> but for some reason; the "connection" is refused (I'm assuming via some socket?)
<asheshambasta> however, sound works via other applications on my system, so I'm not sure why it would be any different via this.
Jackneill has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
polman has joined #nixos
pbb has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fbe321e6669 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
scasc has quit [Ping timeout: 246 seconds]
ng0 has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
polman has quit [Excess Flood]
bvdw has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
polman has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fbe321e6669 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
pbb has quit [Client Quit]
pbb has joined #nixos
pbb has quit [Client Quit]
pbb has joined #nixos
<asheshambasta> to the best of my knowledge, this looks, to me, an issue related to Alsa and how it connects to some PA sink.
domogled has joined #nixos
<asheshambasta> but both of these look like giants to configure and understand; probably too much of an investment to get into to begin with.
polman has quit [Read error: Connection reset by peer]
<asheshambasta> https://nixos.wiki/wiki/ALSA#Make_your_audio_card_the_default_ALSA_card this looks promising, but in my case I'm using a USB audio interface.
scasc has joined #nixos
cfricke has quit [Quit: WeeChat 2.6]
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
gkmngrgn has joined #nixos
asheshambasta has quit [Remote host closed the connection]
ixxie has joined #nixos
<jD91mZM2> Hi! I'm trying to set up my existing NixOS config on a new computer, and as it's quite involved it's not quite as easy as symlinking /mnt/nixos/configuration.nix and being on my way. I noticed there is `nixos-install --system <closure>` which sounds insanely useful. I don't, however, know exactly how to generate a closure. The documentation says it's `nix-build "<nixos>" -A system`, which seems
<jD91mZM2> wrong. I'm having better luck with `nix-build "<nixpkgs/nixos>" -A system`, but that instead complains about a missing system-2-link/kernel directory. What's the correct derivation to build?
<{^_^}> [nixpkgs] @scaredmushroom opened pull request #75698 → aircrack-ng: fixed missing dependency for airmon-ng → https://git.io/JeQ6t
iz16 has quit [Ping timeout: 246 seconds]
<infinisil> jD91mZM2: It should really be that
<infinisil> jD91mZM2: What's the full error and the context?
iz16 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #75261 → libuv: 1.33.1 -> 1.34.0 → https://git.io/JeSYQ
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libuv: 1.33.1 -> 1.34.0 »: https://git.io/JeQ6E
<{^_^}> [nixpkgs] @FRidh merged pull request #75023 → nghttp2: 1.39.2 -> 1.40.0 → https://git.io/JeD1U
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « nghttp2: 1.39.2 -> 1.40.0 »: https://git.io/JeQ6u
jgeerds has joined #nixos
polman has joined #nixos
<jD91mZM2> infinisil: It was a python panic because /nix/var/nix/profiles/system-2-link/kernel was missing or something, I would post it but I will first try booting regularly
Chiliparrot has joined #nixos
<jD91mZM2> Worth mentioning: It managed to install with --no-bootloader
noudle has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #75186 → libreswan: 3.18 -> 3.29, addressing CVE-2019-12312 & CVE-2019-10155 → https://git.io/Jeyj1
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JeQ6V
<{^_^}> [nixpkgs] @FRidh merged pull request #75091 → gstreamer: 1.16.2 → https://git.io/JeysZ
<{^_^}> [nixpkgs] @FRidh pushed 10 commits to staging: https://git.io/JeQ6w
scasc has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @scaredmushroom opened pull request #75699 → backport: aircrack-ng: fixed missing dependency for airmon-ng → https://git.io/JeQ6o
fresheyeball has joined #nixos
<fresheyeball> hey
<fresheyeball> has anyone tried to generate a nvidia-docker image from nix?
ghhg has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 114 commits to staging-next: https://git.io/JeQ66
<{^_^}> [nixpkgs] @FRidh opened pull request #75700 → Staging next → https://git.io/JeQ61
ghhg has quit [Remote host closed the connection]
polman has quit [Ping timeout: 250 seconds]
polman has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
noudle has joined #nixos
<jD91mZM2> infinisil: More details: Building actually works, what fails is the installation of the built derivation. I'm building like this: `nix-build -I nixos-config=$PWD/etc/nixos/configuration.nix -I dotfiles=$PWD "<nixpkgs/nixos>" -A system`, and then running `nixos-install --system $(realpath result)`. The error is as follows: https://hastebin.com/pixeyipadu.sh
<{^_^}> [nixpkgs] @kampka opened pull request #75701 → Port NixOS tests to python → https://git.io/JeQic
<srhb> jD91mZM2: That path is quite surprising if you really just ran that nix-build command.
<infinisil> Hm, seems like it might be missing a chroot
ddellacosta has joined #nixos
<srhb> I think there's a switch for that?
<srhb> --root /mnt or something like that.
inkbottle has joined #nixos
<srhb> But that's the default, so maybe the bootloader install has bene messed up...
zebrag has quit [Ping timeout: 250 seconds]
polman has quit [Ping timeout: 252 seconds]
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
polman has joined #nixos
<srhb> jD91mZM2: Does that profile directory exist within the chroot?
<{^_^}> [nixpkgs] @risicle opened pull request #75702 → allowInsecureDefaultPredicate: fix to use getName → https://git.io/JeQia
<srhb> jD91mZM2: Looking at the script, the nix-env command to create it _looks_ right...
polman has quit [Ping timeout: 252 seconds]
polman has joined #nixos
drakonis has joined #nixos
endformationage has joined #nixos
scasc has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
mounty has quit [Remote host closed the connection]
mounty has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
polman has quit [Excess Flood]
polman has joined #nixos
ddellacosta has quit [Ping timeout: 265 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
polman has quit [Ping timeout: 252 seconds]
ninegrid has joined #nixos
knupfer has joined #nixos
<jD91mZM2> srhb: Yep, it exists within /mnt
<jD91mZM2> But outside there's only system-1-link. Sorry for the late response
<jD91mZM2> Another problem: I have no network access inside nixos-enter
<srhb> jD91mZM2: As infinisil said, that seems like something's wrong with the chroot. Here's the line that should start it all off: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/nixos-install.sh#L135
shibboleth has joined #nixos
<srhb> jD91mZM2: You're not running this from within nixos-enter, right?
<srhb> jD91mZM2: Anyway, I suppose you got past it. The only network issue I remember off the bat in nixos-enter is that resolv.conf wasn't mounted in automatically, not sure whether that's still the case, but that should only affect dns resolution.
cosimone has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #75703 → Port tests 3 → https://git.io/JeQiQ
polman has joined #nixos
johnw has quit [Remote host closed the connection]
<sphalerite> nh2: you were working on rust+musl stuff recently, right? How far did you get with that?
polman has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #75704 → dovecot: 2.3.8 -> 2.3.9.2 → https://git.io/JeQix
polman has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #75705 → hqemu: init at 2.5.2 → https://git.io/JeQPf
inkbottle is now known as zebrag
fragamus has joined #nixos
polman has quit [Read error: Connection reset by peer]
Chiliparrot has joined #nixos
polman has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.6]
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #75706 → powerd: init at 1.0.0.0 → https://git.io/JeQPB
sjkelly1 has joined #nixos
<genesis> appimages get so visibility to offer fresh package
polman has quit [Ping timeout: 252 seconds]
johnw has joined #nixos
scasc has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #75707 → [19.09] dovecot: 2.3.8 -> 2.3.9.2 → https://git.io/JeQPX
scasc has joined #nixos
<manveru> hmm, i'd really like to split crystal into multiple outputs to avoid having a dependency of crystal-built executables on crystal and in turn llvm and gcc...
<manveru> but i'm really not sure how to achieve that easily
fling has joined #nixos
<manveru> basically, in the binaries i have references to `/nix/store/gzqzl0h2x7m8mx5qcp7fhhfl33gwb03n-crystal-0.31.1/lib/crystal/callstack.cr` and such, including just those files in `lib` would suffice, but that package also contains the `crystal` binary, which has references to llvm
<jD91mZM2> srhb: Sorry for the late response again, heh. Been a little too much in the real world this evening. I haven't really gotten past it, although I have an idea of how
<jD91mZM2> Not running from nixos-enter
<{^_^}> [nixpkgs] @andir opened pull request #75708 → thunderbird-bin: 68.2.2 -> 68.3.0 → https://git.io/JeQPd
<manveru> so i think splitting it up into `out`, `bin`, and `lib` outputs would do the trick?
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @andir opened pull request #75709 → thunderbird-bin: 68.2.2 -> 68.3.0 → https://git.io/JeQPx
<{^_^}> [nixpkgs] @marsam merged pull request #75671 → idrisPackages.tparsec: 2019-06-18 -> 2019-09-19 → https://git.io/JeQ8n
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQPp
adamantium has joined #nixos
the_scourge has joined #nixos
<adamantium> Hi ------------- "nix search" seems to be using less or something for a pager, and i hate it. How can I make it just output plain text
<evils> adamantium: pipe to cat
<ivan> but less is great
<evils> and curse ma27, that's what i do...
<adamantium> thanks evils, didnt think itd work
noudle has quit []
<ivan> /, ?, g, shift-g
<ivan> export PAGER=cat # if you insist
<manveru> adamantium: you can also change `NIX_PAGER` variable
<adamantium> evils just for you my friend ns () { nix search $@ | cat ; }
<evils> adamantium: i prefer my sollution, https://github.com/NixOS/nix/pull/2656
<{^_^}> nix#2656 (by Evils-Devils, 46 weeks ago, open): Search: no longer output to $PAGER
<{^_^}> [nixpkgs] @grahamc merged pull request #75516 → chromium: 78.0.3904.108 -> 79.0.3945.79 → https://git.io/Je9Hb
<{^_^}> [nixpkgs] @grahamc pushed 7 commits to master: https://git.io/JeQXt
<adamantium> just glad i'm not alone
<adamantium> less just doesnt work good in a dumb terminal
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/d85e435b7bd (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
polman has joined #nixos
adamantium has quit [Remote host closed the connection]
tbenst_ has joined #nixos
<jD91mZM2> Interesting, the problem I had just occured with a regular `nixos-install` :o CC srhb infinisil
<jD91mZM2> No idea what the difference is, I'm starting to wonder if I have some leftover files that ruins anything
<jD91mZM2> (difference from an earlier time where a regular install worked)
<{^_^}> [nixpkgs] @andir opened pull request #75710 → spamassassin: 3.4.2 -> 3.4.3 → https://git.io/JeQXn
<{^_^}> [nixpkgs] @andir opened pull request #75711 → [19.09] spamassassin: 3.4.2 -> 3.4.3 → https://git.io/JeQXc
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
kazimazi has joined #nixos
kazimazi has quit [Client Quit]
kazimazi has joined #nixos
phreedom_ has quit [Remote host closed the connection]
phreedom has joined #nixos
polman has quit [Read error: Connection reset by peer]
`_ has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
doublex_ has joined #nixos
polman has joined #nixos
the_scou1ge has joined #nixos
<kazimazi> hi! I have a newbie question. I generated some nix files woth node2nix and I would like to import them to my configuration.nix. How do I do it?
doublex has quit [Ping timeout: 250 seconds]
the_scourge has quit [Ping timeout: 246 seconds]
smatting has joined #nixos
polman has quit [Ping timeout: 252 seconds]
polman has joined #nixos
polman has quit [Ping timeout: 252 seconds]
the_scou1ge has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Tomahna opened pull request #75712 → mopidy-iris: 3.42.2 -> 3.43.0 → https://git.io/JeQXA
scasc has quit [Ping timeout: 245 seconds]
<ddima> kazimazi: you should be able to import it as most things, like `let nodePkgs = import ./your_node_pkgs.nix {inherit pkgs}; in {...}` or similar, iirc the doc has an example
smatting has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #75398 → tpm2-tools: 4.0.1 -> 4.1 → https://git.io/JeSxR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQXp
<{^_^}> [nixpkgs] @marsam merged pull request #75675 → gitAndTools.git-gone: 0.1.2 -> 0.2.0 → https://git.io/JeQ46
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQXh
Jackneill has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
cosimone has quit [Remote host closed the connection]
justan0theruser has quit [Quit: WeeChat 2.6]
cosimone has joined #nixos
EdLin has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #75713 → [19.09] chromium: 78.0.3904.108 -> 79.0.3945.79 → https://git.io/JeQ1f
<manveru> ah, finally, got my binaries down to manageable closure sizes
polman has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75368 → python38Packages.sasmodels: 1.0.0 -> 1.0.1 → https://git.io/JeSyw
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQ1J
EdLin has joined #nixos
EdLin has quit [Changing host]
<kazimazi> ddima: after that what do I do with nodePkgs variable?
justanotheruser has joined #nixos
polman has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @andir opened pull request #75715 → ansible fixes for CVE-2019-10156 CVE-2019-10206 CVE-2019-14846 CVE-2019-14856 CVE-2019-14858 CVE-2019-14864 → https://git.io/JeQ1k
<jD91mZM2> CC srhb infinisil again, sorry for the tags, seems like it was just some of that pesky state. Nuking everything made it work.
<infinisil> Hehe I see
maths_lover has joined #nixos
<ddima> kazimazi: you use the attributes in the imported set as buildInputs or whatever you need.
polman has joined #nixos
racoonsl- has quit [Ping timeout: 252 seconds]
<maths_lover> Hello everyone
<maths_lover> I need little help
<maths_lover> How can I install pip (python-pip) on nixos?
<{^_^}> [nixpkgs] @andir opened pull request #75716 → [19.09] ansible fixes for CVE-2019-10156 CVE-2019-10206 CVE-2019-14846 CVE-2019-14856 CVE-2019-14858 CVE-2019-14864 → https://git.io/JeQ1t
<ddima> kazimazi: here is for instance how the slack derivation does it; https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/instant-messengers/slack/default.nix#L71 - in this case it uses the global default nodePackages.
cosimone has quit [Quit: Terminated!]
<maths_lover> I did some reading on https://nixos.wiki/wiki/Python but couldn't understand it
Neo-- has joined #nixos
polman has quit [Ping timeout: 252 seconds]
<ddima> maths_lover: for a simple case, if you just want it as a user, you can do; `nix-env -i -A nixos.python37Packages.pip`, alternatively if you want to use nix-shell, `nix-shell -p python37Packages.pip`. you won't get far though without either using virtualenvwrapper or nix as outlined in `Emulating virtualenv with nix-shell`
<maths_lover> Umm... no I don't want it as a user package
<maths_lover> otherwise I would have done it long ago
<ddima> Alright
polman has joined #nixos
<maths_lover> ddima: ok so virtualenvwrapper is my option
<ddima> I suggest you familiarize yourself with nix-shell and try to get this example working
<ddima> its more idiomatic and kinda nice to work with.
<maths_lover> ok so nix-shell
<maths_lover> alright I'll try
polman has quit [Excess Flood]
<maths_lover> I'll ask for help here if stuck
maths_lover has left #nixos ["bye bye"]
<ddima> sure. it will basically give you a shell with proper environment and you get to define your dependencies and what not as buildInputs from the standard nixpkgs pythonPackages quite easily.
leotaku has joined #nixos
<kazimazi> ddima: thx for your help I couldn't figure out. I will rather tell what I would like to accomplish. I need to install ´intelephense´ npm package as a systemPackage.
<ddima> nix-shell is essentially like a general virtualenv for anything and everything
turion has quit [Ping timeout: 276 seconds]
polman has joined #nixos
polman has quit [Excess Flood]
<{^_^}> [nixpkgs] @andir opened pull request #75717 → [19.09] apt: 1.4.6 -> 1.4.9 (CVE-2019-3462) → https://git.io/JeQ18
polman has joined #nixos
polman has quit [Excess Flood]
polman has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
<ddima> kazimazi: one mom, making a gist
<{^_^}> [nixpkgs] @marsam merged pull request #75331 → python38Packages.mysqlclient: 1.4.5 -> 1.4.6 → https://git.io/JeSzR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQ10
<ddima> kazimazi: I think you should be able to do sth like this; https://gist.github.com/d-goldin/c33018f03ef739ead184e14df09150fd
cosimone has joined #nixos
<kazimazi> ddima: thx will check it out soon
Neo-- has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @manveru opened pull request #75719 → crystal: reduce closure size of compiled exes by splitting outputs → https://git.io/JeQ1g
<manveru> anyone wanna review this? :)
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
philr has joined #nixos
<ddima> kazimazi: but you likely want it as a dependency to something, it doesnt seem to have any executables etc. but maybe it helps.
<rendeko[m]> Kind of a silly question, but I have no idea how to get markdown support in the Pelican python3.7 package. Any ideas? I see a pull request saying you should go into the env and install it, but I have no idea how to do that.
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
gustavderdrache has joined #nixos
leotaku has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @danbst merged pull request #75692 → postgresql-backup: Use saner defaults for pg_dump → https://git.io/JeQaL
<{^_^}> [nixpkgs] @danbst pushed 2 commits to master: https://git.io/JeQ1i
<ddima> rendeko[m]: it could be as simple as `nix-shell -p python37Packages.pelican pkgs.python37Packages.markdown` for interactive work.
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
<{^_^}> [nixpkgs] @sikmir opened pull request #75720 → gpxlab: init at 0.7.0 → https://git.io/JeQ1P
<rendeko[m]> ddima: Amazing! That worked and was a lot simpler than I figured. Thank you!
<gchristensen> gustavderdrache: probably should just auto-join :)
<gchristensen> etu: ^
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
cosimone has quit [Quit: Terminated!]
<chrisaw> How can I escape a '@' character in a nix derivation?
<infinisil> chrisaw: That shouldn't need escaping
<infinisil> Unless it's an attribute key I guess
<chrisaw> In the install phase I have "for isoimage in ${_isoimages[@]}; do" and it's being interpreted by Nix: error: syntax error, unexpected '@'
<infinisil> chrisaw: Oh so you want to escape ${
<infinisil> The whole part inside ${...} is evaluated as nix
<infinisil> ,escape'' chrisaw
<{^_^}> chrisaw: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
`_ has quit [Ping timeout: 240 seconds]
<infinisil> In a '' string ^^
polman has quit [Excess Flood]
polman has joined #nixos
turion has joined #nixos
maths_lover has joined #nixos
<kazimazi> ddima: ty it works, although I get an error ´error: attribute 'nodejs-8_x' missing, at ...´ which seems to be some other hurdle with node2nix, after editing nodejs-8_x to nodejs in generated default.nix it seems fine
<ddima> kazimazi: see gist, you need to generate with some nodejs thats still available, there are flags to node2nix
polman has quit [Read error: Connection reset by peer]
leotaku has joined #nixos
maths_lover has quit [Client Quit]
<kazimazi> ddima: oh you are right
noudle has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #75644 → gtk-server: 2.3.1 -> 2.4.5 → https://git.io/JeQLL
<{^_^}> [nixpkgs] @jonringer pushed to master « gtk-server: 2.3.1 -> 2.4.5 »: https://git.io/JeQ1F
polman has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #75721 → nixosTests.networking: Port tests to python → https://git.io/JeQ1N
mexisme_ has quit [Ping timeout: 245 seconds]
drakonis1 has joined #nixos
kleisli has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #75722 → xilinx-bootgen: init at 2019-10-23 → https://git.io/JeQ1p
EdLin has quit [Ping timeout: 265 seconds]
<chrisaw> @{^_^} Cheers, much appreciated. Sorted now. :)
<ddima> it's a bot ;)
<chrisaw> Oh, doh! :|
polman has quit [Ping timeout: 252 seconds]
<chrisaw> Well, still have to be nice to the robots. Hopefully they'll keep me as a pet when they overthrow us!
__monty__ has quit [Quit: leaving]
knupfer has quit [Remote host closed the connection]
turion has quit [Ping timeout: 246 seconds]
<{^_^}> BEEP BOOP INSERT INTO nice_list (Nick) VALUES ('chrisaw');
<chrisaw> Wait, nice_list? Are you Santa?! :O
<ddima> just a future murderous robot
<chrisaw> Complete off-topic but man - packaging VMware workstation for NixOS is painful! >_>
<chrisaw> Made a load of progress and nearly there - now I just need to figure out how to convince NixOS to be nice enough to build kernel modules for me. Eugh! :(
ixxie has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75682 → wire-desktop: fix desktop icon → https://git.io/JeQ0N
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeQMq
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Kiwi to release-19.09 « wire-desktop: fix desktop icon »: https://git.io/JeQMs
chloekek has quit [Ping timeout: 268 seconds]
<ivan> I recommend virt-manager if you can use that instead
<chrisaw> Yeah I know virt-manager + KVM is awesome - just that 1.) I have a VMWare license so I'd like to use it and 2.) I run an ESXi box and workstation has a nice UI for managing it.
<ivan> ah
<ddima> chrisaw: you can probably get some inspiration from how virtualbox kernel modules are made.
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #75704 → dovecot: 2.3.8 -> 2.3.9.2 → https://git.io/JeQix
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeQMB
opthomasprime has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fpletz merged pull request #75707 → [19.09] dovecot: 2.3.8 -> 2.3.9.2 → https://git.io/JeQPX
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-19.09: https://git.io/JeQME
<{^_^}> [nixpkgs] @fpletz merged pull request #75474 → xsecurelock: Remove obsolete path fix → https://git.io/Je92v
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeQM2
<{^_^}> [nixpkgs] @fpletz merged pull request #75234 → subfinder: 2018-07-15 -> 2.2.4 → https://git.io/JeSTN
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to master: https://git.io/JeQMw
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #75414 → xmr-stak: 2.10.7 -> 2.10.8 → https://git.io/Je9vZ
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « xmr-stak: 2.10.7 -> 2.10.8 »: https://git.io/JeQMr
halfbit has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #75193 → nixos/networkd: only set gateway if it's explicitly specified in the module system → https://git.io/JeSel
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeQMK
m0rphism has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #75723 → advancecomp: fix CVE-2019-9210 → https://git.io/JeQM1
Rusty1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @andir opened pull request #75724 → [19.09] advancecomp: fix CVE-2019-9210 → https://git.io/JeQMy
<gustavderdrache> etu: you were looking for me earlier?
philr has quit [Ping timeout: 240 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @marsam opened pull request #75725 → pythonPackages.pdfminer: 20181108 -> 20191020 → https://git.io/JeQMh
<{^_^}> [nixpkgs] @fpletz merged pull request #67781 → errbot: 5.2.0 -> 6.1.1 → https://git.io/fjx50
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeQDJ
hmpffff_ has quit [Quit: nchrrrr…]
<evils> could i get someone to look over my kicad PR #74259? i'm out of improvements i can add
AFKRozy23 has joined #nixos
<{^_^}> https://github.com/NixOS/nixpkgs/pull/74259 (by Evils-Devils, 2 weeks ago, open): Kicad cleanup, fix and update
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #75708 → thunderbird-bin: 68.2.2 -> 68.3.0 → https://git.io/JeQPd
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeQD4
kazimazi has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @fpletz merged pull request #75709 → [19.09] thunderbird-bin: 68.2.2 -> 68.3.0 → https://git.io/JeQPx
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-19.09: https://git.io/JeQD0
hmpffff has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
hmpffff has quit [Client Quit]
<{^_^}> [nixpkgs] @fpletz merged pull request #75715 → ansible fixes for CVE-2019-10156 CVE-2019-10206 CVE-2019-14846 CVE-2019-14856 CVE-2019-14858 CVE-2019-14864 → https://git.io/JeQ1k
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to master: https://git.io/JeQDo
<{^_^}> [nixpkgs] @fpletz merged pull request #75716 → [19.09] ansible fixes for CVE-2019-10156 CVE-2019-10206 CVE-2019-14846 CVE-2019-14856 CVE-2019-14858 CVE-2019-14864 → https://git.io/JeQ1t
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to release-19.09: https://git.io/JeQD6
endformationage has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #75723 → advancecomp: fix CVE-2019-9210 → https://git.io/JeQM1
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JeQD9
<{^_^}> [nixpkgs] @7c6f434c merged pull request #75724 → [19.09] advancecomp: fix CVE-2019-9210 → https://git.io/JeQMy
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to release-19.09: https://git.io/JeQD7
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeQDd
<{^_^}> [nixpkgs] @flokli merged pull request #75722 → xilinx-bootgen: init at 2019-10-23 → https://git.io/JeQ1p
f0i has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @danbst merged pull request #75693 → dolt: init at 0.12.0 → https://git.io/JeQab
<{^_^}> [nixpkgs] @danbst pushed to master « dolt: init at 0.12.0 (#75693) »: https://git.io/JeQDx
fragamus has joined #nixos
mexisme_ has quit [Ping timeout: 240 seconds]
mehlon has joined #nixos
<mehlon> hey so what's the sha256 of a github repository supposed to be?
<mehlon> i'm trying to use fetchFromGitHub
<evils> ,tofu mehlon
<{^_^}> mehlon: 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. See: tofu-vim
<mehlon> oh okay
fresheyeball has joined #nixos
mexisme_ has joined #nixos
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos
noudle has quit []
jgeerds has quit [Ping timeout: 276 seconds]
<mehlon> so there's this binary that always reads files from the current directory, is there some simple way to patch it to read from a specific directory?
anttih_ has quit [Quit: Connection closed for inactivity]
<clever> mehlon: libredirect?
<clever> mehlon: or wrapProgram + --run "cd foo"
<lovesegfault> clever: Any success?
<mehlon> that latter one seems good
<clever> lovesegfault: with which project?
<lovesegfault> clever: RPi3
<clever> lovesegfault: not yet, still stuck at vpush
<lovesegfault> clever: darnit
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #75727 → pango: fix build on darwin → https://git.io/JeQyB
<mehlon> hmm.. would it work if I made it change directory to $out?
<mehlon> how do I put it
rardiol has joined #nixos
<genesis> when i need to update desktop entry, i do update-desktop-database ~/.local/share/applications/
<clever> mehlon: yeah, $out may work
noudle has joined #nixos
<genesis> i'd like to know if people have investigate to make this update automatically by nix after an install
<{^_^}> [nixpkgs] @fpletz merged pull request #75694 → spamassassin: enable IPv6 support with Socket6 → https://git.io/JeQVh
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeQy2
vld has quit [Ping timeout: 268 seconds]
<genesis> (or uninstall)
<mehlon> idk I just reboot :p
<genesis> not very cool when you package stuff ...
<genesis> some desktop file are not properly tested ...
<mehlon> I guess most distros just have a post install hook
<genesis> yes, i'd no pb on gentoo, could be a good little job to have a clever' system to have that.
<genesis> i've so few apps that have working icons ...
<mehlon> error: cannot auto-call a function that has an argument without a default value ('stdenv')
<genesis> i'll try to fix them on the one i'm maintainer.
<mehlon> i'm trying to do a nix-build, what am i doing wrong?
<mehlon> wait, I think I got it..
<genesis> could also be good to have test on desktop file by desktop-file-validate
<genesis> i should open an issue on the tracker :)
<{^_^}> [nixpkgs] @fpletz merged pull request #75685 → backport: tor-browser-bundle-bin: 9.0.1 -> 9.0.2 → https://git.io/JeQuM
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-19.09: https://git.io/JeQyD
<{^_^}> [nixpkgs] @fpletz merged pull request #75698 → aircrack-ng: fixed missing dependency for airmon-ng → https://git.io/JeQ6t
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeQy9
<genesis> gchristensen : perharps some desktop-file-validate test on the bot ?
<{^_^}> [nixpkgs] @fpletz merged pull request #75699 → backport: aircrack-ng: fixed missing dependency for airmon-ng → https://git.io/JeQ6o
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-19.09: https://git.io/JeQyQ
<gchristensen> genesis: hmm, possibly! what would it test?
<genesis> $ find ~/.local/share/applications/ -iname "*.desktop" -exec desktop-file-validate {} \;
<genesis> home/genesis/.local/share/applications/userapp-mpv-LNEZMZ.desktop: error: value "Other;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Other"; values extending the format should start with "X-"
<genesis> such test, the desktop file is incorrect according to standard.
<gchristensen> oh cool
<genesis> just try to discuss the pb, it seems my icons pb come from elsewhere
vyorkin has joined #nixos
<genesis> desktop-file-validate seems to not check icons existences.
<duairc> I'm trying to recover a broken nixos system from the NixOS live CD. I have all the partitions mounted, but when I go to chroot into the mounted root file system, nothing is in my $PATH. Is there some trick to chrooting into a NixOS install that I'm missing?
<duairc> nixos-enter
<duairc> I knew I remembered there being something like that
bhipple has joined #nixos
ajs124 has quit [Quit: Gateway shutdown]
akamaus has quit [Ping timeout: 240 seconds]
<DigitalKiwi> genesis: heh 21:52 {^_^}: [nixpkgs] @worldofpeace merged pull request #75682 → wire-desktop: fix desktop icon → https://git.io/JeQ0N
<{^_^}> https://github.com/NixOS/nixpkgs/pull/75682 (by Kiwi, 16 hours ago, merged): wire-desktop: fix desktop icon
ajs124 has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
<DigitalKiwi> can it check that the Name is right?
<{^_^}> [nixpkgs] @danbst closed pull request #38698 → Overhaul PostgreSQL packaging, native extensions, and NixOS support → https://git.io/vxFxk
<DigitalKiwi> this desktop-file-validate
<genesis> it seems to only validate according to a schema
<genesis> we need better test i think.
<genesis> but there is something here someone need to work on, desktop integration is awfull todays.
<genesis> 95% of my desktop entry have default icon
<genesis> (lxqt)
<DigitalKiwi> on plasma5 the only one i've noticed is the one i just fixed
elibrokeit has quit [Quit: A random quit message]
elibrokeit has joined #nixos
<genesis> i'm investagating.
<worldofpeace> I guess I have a git stash that apps file validation to makeDesktopItem
<genesis> noone told you meta should be at end ...
<DigitalKiwi> hate it when i stash away nice features and forget about them
halfbit has quit [Ping timeout: 246 seconds]
vyorkin has quit [Remote host closed the connection]
<genesis> exec is another interessant case
<genesis> some desktop file should be tested if the derivation provide it, on pysolfc, author move pysol.py to pysol and didn't fix desktop file
<genesis> so my mother can't play it.