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,
horner has quit [Quit: zzZzZzZzZZZzzz…]
bvdw has quit [Read error: Connection reset by peer]
<infinisil> Well it's just "infinisil@vario>" for me
<infinisil> You can customize it however you want
<infinisil> (that's the default, I have mine customized a lot)
bvdw has joined #nixos
mexisme has quit [Quit: WeeChat 2.7]
<jlv> Alright. And it doesn't use any colors by default either?
<infinisil> nope
drakonis has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
<jlv> Huh. At least now I know it isn't broken.
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 248 seconds]
mbrgm_ is now known as mbrgm
jlv has quit [Remote host closed the connection]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed to staging-next « iasl: make NIX_CFLAGS_COMPILE a list »: https://git.io/JeAzf
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
erasmas has quit [Quit: leaving]
jluttine has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #74090 → stdenv, haskell: bonafied GHCJS cross compilation without stdenv.cc → https://git.io/JePmt
<{^_^}> [nixpkgs] @Ericson2314 pushed 24 commits to master: https://git.io/JeAz8
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #76545 → stdenv, haskell: bonafied GHCJS cross compilation without stdenv.cc for 19.09 → https://git.io/Jebir
<{^_^}> [nixpkgs] @Ericson2314 pushed 23 commits to release-19.09: https://git.io/JeAzR
chagra has quit [Ping timeout: 258 seconds]
nckx has quit [Quit: Updating my GNU Guix System — https://guix.gnu.org]
nckx has joined #nixos
gustavderdrache has joined #nixos
mexisme has quit [Ping timeout: 260 seconds]
eoli3n_ has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @veprbl merged pull request #76666 → OpenSC: 0.19.0 -> 0.20.0 → https://git.io/JeNA8
<{^_^}> [nixpkgs] @veprbl pushed commit from @raboof to master « opensc: 0.19.0 -> 0.20.0 (#76666) »: https://git.io/JeAzK
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @jonringer pushed to staging-next « hspellDicts.*: remove invalid buildFlags meta attr »: https://git.io/JeAzM
<{^_^}> [nixpkgs] @jokogr opened pull request #76723 → Traefik: 1.7.14 -> 2.1.1 → https://git.io/JeAzD
noudle has quit []
<{^_^}> [nixpkgs] @jtojnar pushed 32 commits to staging: https://git.io/JeAzS
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 87 commits to structured-attrs: https://git.io/JeAzx
thc202 has quit [Ping timeout: 248 seconds]
Rusty1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeAgL
ebzzry has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to staging « hspell: Fix meta check »: https://git.io/JeAgm
bvdw has quit [Quit: bvdw]
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to staging « maphosts: fix build »: https://git.io/JeAgY
vld has joined #nixos
vld has quit [Ping timeout: 268 seconds]
bvdw has joined #nixos
aexoxea has joined #nixos
remirol has joined #nixos
mexisme has joined #nixos
lorimer has quit [Ping timeout: 240 seconds]
fling_ has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #76724 → [19.09] opensc: fix CVE-2019-19479, CVE-2019-19480 → https://git.io/JeAgW
fling has quit [Ping timeout: 260 seconds]
fling_ is now known as fling
<{^_^}> [nixpkgs] @jtojnar pushed to staging « qpid-cpp: fix eval »: https://git.io/JeAgu
awaz has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
kleisli has quit [Ping timeout: 240 seconds]
awaz has joined #nixos
johnjay has quit [Ping timeout: 258 seconds]
<monokrome> hmm
<monokrome> Anyone have Sound Blaster Audigy 2 working in NixOS?
<monokrome> I guess it's an Audigy FX
wildtrees has quit [Quit: Leaving]
johnjay has joined #nixos
<monokrome> They are supposed to hvae official support in 4.19
<monokrome> Maybe snd_emu10k1 is the wrong driver? That's the one it's choosing
<monokrome> but sees right
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #76725 → schismtracker: 20120105 -> 20190805 → https://git.io/JeAgK
<notgne2> monokrome: people seem to be suggesting snd_hda_intel
<notgne2> if that's the right one, `boot.extraModprobeConfig = "options snd-hda-intel model=auto";` might fix it
<monokrome> For Sound Blaster X-Fi series?
<monokrome> Dedicated PCIe sound card?
<monokrome> My onboard intel works fine, but I don't want to use it
horner has joined #nixos
<notgne2> I've never had one of those cards, but looking for "sound blaster audigy fx linux" shows a lot of people talking about that driver
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to master: https://git.io/JeAgS
<{^_^}> [nixpkgs] @fpletz merged pull request #74796 → gcc-arm-embedded: 8-2019-q3-update -> 9-2019-q4-major → https://git.io/JeMLi
<monokrome> hmm
<monokrome> In 4.19 they added a fix in the dedicated soundblaster cards
<monokrome> I think maybe I just need to reboot
jluttine has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
ng0 has quit [Quit: leaving]
drakonis has quit [Quit: WeeChat 2.7]
<monokrome> hmm
<{^_^}> [nixpkgs] @jtojnar pushed 87 commits to structured-attrs: https://git.io/JeAgh
<monokrome> rebooted and it's back again O_o
<{^_^}> [nixpkgs] @donatello opened pull request #76726 → haskellPackages.webby: mark unbroken → https://git.io/JeAgj
<monokrome> weird
<monokrome> once I try to play sound, it is gone
<clever> monokrome: is it vanishing from /proc/asound/cards ? anything in dmesg?
<monokrome> it's still in there
<{^_^}> [nixpkgs] @erictapen opened pull request #76727 → [19.09] opensc: 0.19.0 -> 0.20.0 → https://git.io/JeA2v
<clever> monokrome: then how is the card gone?
<monokrome> only things from it's driver:
<monokrome> [ 12.206635] snd_emu10k1 0000:0a:00.0: enabling device (0000 -> 0001)
<monokrome> [ 12.213830] snd_emu10k1 0000:0a:00.0: Audigy2 value: Special config.
<{^_^}> [nixpkgs] @jtojnar pushed to structured-attrs « fixup! treewide: configureFlags is a flat list »: https://git.io/JeA2J
<monokrome> shows up in aplay -l, but not w/ pulse
<monokrome> interesting
<monokrome> if I do `pulseaudio -k`, it comes back
<clever> monokrome: sounds like a bug within pulseaudio, try checking journalctl for logs
<monokrome> I think it's misconfigured in some way, because it also doesn't show the SPDIF interface I'm using
<monokrome> ok no now it's working
<monokrome> wat
* monokrome rhugs
* monokrome shrugs*
<monokrome> I installed alsaTools
<monokrome> lol
<monokrome> oh never mind
<monokrome> it didn't work, once I played the card disappeared again and it jumped to my other sound card which is working fine
* monokrome explodes
<monokrome> ,locate modinfo
<monokrome> .locate modinfo
* monokrome explodes
<{^_^}> Found in packages: go, kmod, toybox, busybox, bash-completion
vidbina has quit [Ping timeout: 240 seconds]
<monokrome> ty {^_^}
drakonis has joined #nixos
<monokrome> alsaconf is maybe bad on nix, ya?
andi- has quit [Ping timeout: 248 seconds]
init_6[m] has joined #nixos
vidbina has joined #nixos
virus_dave has joined #nixos
horner has quit [Quit: zzZzZzZzZZZzzz…]
<virus_dave> Hey folks, noob question. I’m trying to get nixos on my raspberry pi 3B. I setup my SD card withh 19.09 and booted just fine into the default configuration. However, any attempt to do an initial rebuild with a non-empty configuration.nix (even the template at https://nixos.wiki/wiki/NixOS_on_ARM#NixOS_installation_.26_configuration) results in a nonbootable system. Is there a way to tell nixos to dump the “current” configuration into a file?
<virus_dave> Since the SD image starts out bootable and working correctly, i imagine that’s a fine starting place.
<{^_^}> [nixpkgs] @jtojnar pushed 43 commits to staging-next: https://git.io/JeA2s
<monokrome> virus_dave: Any info on why it's non-bootable? Does it get to the bootloader, does it get to init, etc?
<virus_dave> it gets to “starting kernel” after uboot selection of the current profile then hangs
<virus_dave> fwiw, i just discovered nixos-generate-config, which appears to be exactly what i was looking for :) Let me try a rebuild from just the defaults it created.
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @veprbl closed pull request #76724 → [19.09] opensc: fix CVE-2019-19479, CVE-2019-19480 → https://git.io/JeAgW
andi- has joined #nixos
ebzzry has joined #nixos
ArdaXi_ has quit [Ping timeout: 248 seconds]
ArdaXi_ has joined #nixos
flatmap has quit [Quit: flatmap]
<virus_dave> ok, the default configs worked! i imagine that the instructions page is just out of date for 19.09 then. :crosses_fingers:
<{^_^}> [nixpkgs] @veprbl merged pull request #76727 → [19.09] opensc: 0.19.0 -> 0.20.0 → https://git.io/JeA2v
<{^_^}> [nixpkgs] @veprbl pushed commit from @erictapen to release-19.09 « opensc: 0.19.0 -> 0.20.0 (#76666) »: https://git.io/JeA2z
mexisme has quit [Ping timeout: 265 seconds]
init_6 has joined #nixos
jlv has joined #nixos
ajs124 has quit [Quit: Gateway shutdown]
kleisli has joined #nixos
<jlv> I'm trying the fish shell, and it doesn't see some man pages. Like `man configuration.nix`, `man nixos-rebuild`, or `man home-configuration.nix`.
johnjay has quit [Ping timeout: 265 seconds]
horner has joined #nixos
vld has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
vld has quit [Ping timeout: 265 seconds]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to structured-attrs « fixup! ninja: fix for structured attrs »: https://git.io/JeA2N
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #76728 → palemoon: use gcc7, remove build notification → https://git.io/JeA2x
<{^_^}> [nixpkgs] @OPNA2608 closed pull request #69206 → palemoon: 28.7.0 -> 28.7.1 → https://git.io/Je3jb
selfsymmetric-mu has quit [Ping timeout: 265 seconds]
johnjay has joined #nixos
selfsymmetric-mu has joined #nixos
mexisme has joined #nixos
shiver has quit [Ping timeout: 246 seconds]
fusion809 has joined #nixos
drakonis has quit [Quit: Leaving]
mexisme has quit [Ping timeout: 260 seconds]
mexisme has joined #nixos
jmeredith has joined #nixos
<jtojnar> jlv do you mean it does not autocomplete them, or man cannot find them?
horner has quit [Quit: zzZzZzZzZZZzzz…]
turq has quit [Quit: Lost terminal]
virus_dave has quit [Quit: virus_dave]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
shiver has joined #nixos
vidbina has quit [Ping timeout: 258 seconds]
<jlv> jtojnar: Cannot autocomplete. Cannot tab complete the man page or complete sub-commands or options.
<jlv> `apropos` doesn't seem to be working either, which may be related, since fish seems to use it.
<jtojnar> ,locate apropos
<{^_^}> Found in packages: man_db, mandoc, factor-lang, bash-completion
<jlv> To clarify, the `apropos` command runs, but doesn't find anything.
<jlv> This issue may be related: https://github.com/NixOS/nixpkgs/issues/14472
<{^_^}> #14472 (by domenkozar, 3 years ago, open): Make NixOS module to update apropos database
LLED2_3 has joined #nixos
Guest47956 has quit [Remote host closed the connection]
LLED2_2 has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
<jtojnar> jlv apparently, it is possble to update the cache manually
<jtojnar> updated the wiki https://nixos.wiki/wiki/Apropos
day|flip has joined #nixos
<jlv> jtojnar: that fixed most man completions, but commands like `man home-configuration.nix` and `nixos-rebuild switch` still don't tab complete.
ebzzry has quit [Ping timeout: 265 seconds]
Palpares has quit [Remote host closed the connection]
Palpares has joined #nixos
<jtojnar> and fish will generally not autocomplete subcommands for programs that do not have manually writtten fish completions
<jtojnar> fish_update_completions will handle some but I am not sure it can handle nixos-rebuild
<jlv> That makes sense. I guess zsh and bash have manually written completions for nix commands?
<jlv> Now I'm not sure how to index my user man pages.
init_6 has quit []
<jtojnar> with a config that contains your profile
ddellacosta has quit [Ping timeout: 260 seconds]
<jtojnar> or maybe look into if home-manager does not have man-db module or something
init_6 has joined #nixos
<jlv> I don't see anything in home-manager. Overriding the conf seems feasible.
<{^_^}> [nixpkgs] @cdepillabout merged pull request #76726 → haskellPackages.webby: mark unbroken → https://git.io/JeAgj
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JeAVV
vld has joined #nixos
rkrishnan has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<{^_^}> [nixpkgs] @mox-mox opened pull request #76729 → Adding passthru to ion shell to allow using it as a login shell as ad… → https://git.io/JeAVK
vld has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
anttih_ has quit [Quit: Connection closed for inactivity]
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
lsyoyom has joined #nixos
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
orivej has quit [Ping timeout: 258 seconds]
init_6 has quit []
tsrt^ has quit []
orivej has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
<jlv> How would I clear the `.source` option of a `environment.etc`? I want to use the `.text` option instead, but there is not default source and I can't set it to null.
abaiste^ has joined #nixos
mac10688 has joined #nixos
<jlv> I think `mandb` already has support for user man pages. It has a `--user-db` option, but it doesn't seem to be working.
mexisme has quit [Ping timeout: 248 seconds]
jmeredith has quit [Quit: Connection closed for inactivity]
dansho has joined #nixos
mexisme has joined #nixos
<infinisil> jlv: Clearing .source is impossible, but you can overwrite it with `mkForce (pkgs.writeText "name" "text")`
geosmin has joined #nixos
<{^_^}> [nixpkgs] @MetaDark opened pull request #76730 → [WIP] texlab: 1.7.0 -> 1.9.0 → https://git.io/JeAoQ
<geosmin> i've never used nix, can it also restore things like gtk themes and fonts from github (not packages)
<infinisil> geosmin: What do you mean by "restore"?
<geosmin> from what i understand the non-hardware config can deploy a ~1:1 of ani particular config
<geosmin> i'm not sure how that would work for, say, a gtk theme from some github repo
<infinisil> Ah, so usually gtk themes are set on a per-user basis
<infinisil> Meaning it's in some ~/.config/gtk3 file or so
<infinisil> Which naturally the system shouldn't control (because you wouldn't want to need root rights to change it)
<geosmin> here's where the confusion might come from, i came across some comment from a nixos user that said with their config file they could restore an exact copy of their setup
<geosmin> some of the wording was along the lines of "down to every last detail"
<infinisil> Well that's not entirely true by default
<jlv> They're probably using `home-manager`
<geosmin> home-manager sounds like the missing piece here
<infinisil> Yeah home-manager can improve it
<geosmin> obviously that couldn't apply to user data, and by extention many things in ~ and ~/.config
<infinisil> home-manager is for things in ~
CMCDragonkai has joined #nixos
<jlv> Home manager can manage your user data like nixos manages system.
<infinisil> There is also a PR to nixpkgs for allowing the system to set default gtk/qt themes: https://github.com/NixOS/nixpkgs/pull/71079
<geosmin> i guess my use-case is i've got a particular setup of sway + fonts, gtk theme, etc. i'd like to be able to deploy easily
<{^_^}> #71079 (by gnidorah, 11 weeks ago, open): Theming options for Gtk and Qt
<CMCDragonkai> If I have a package that is a singel shell script
<CMCDragonkai> what is the best builder function to use?
<CMCDragonkai> stdenvNoCC?
<CMCDragonkai> or writeShellScriptBin?
<CMCDragonkai> or some combination of both
<infinisil> CMCDragonkai: The latter
<CMCDragonkai> if i use `writeShellScriptBin`, how do I combine it with `makeWrapper`
<CMCDragonkai> and `patchShebangs`?
mac10688 has quit [Ping timeout: 240 seconds]
<infinisil> Um, pkgs.writeScriptBin to be exact
<CMCDragonkai> infinisil: do you have any example?
<infinisil> Oh that you can't do
<CMCDragonkai> the shell script has got dependencies to call
<CMCDragonkai> need to use `makeWrapper` to provide the PATH to it
<infinisil> CMCDragonkai: You can also set `export PATH="$PATH:${lib.makeBinPath [ ... ]}"` inside the script
mexisme has quit [Ping timeout: 260 seconds]
<infinisil> Um rather `export PATH="${lib.makeBinPath [ ... ]}:$PATH"
<infinisil> Then you can just use writeScriptBin
<{^_^}> [nixpkgs] @jtojnar pushed 23 commits to mkderiv-env: https://git.io/JeAoh
<CMCDragonkai> infinisil: why `writeScriptBin` and not `writeShellScriptBin`?
<infinisil> Oh, didn't know there was a writeShellScriptBin now
<CMCDragonkai> I'm wondering cause the script is its own file right now
<CMCDragonkai> If I use `writeShellScriptBin` and stuff, I have to copy the contents into the nix file
<CMCDragonkai> or use `readFile`?
<infinisil> Hm I see, you could use readFile, I'd probably go with a `runCommandNoCC` though
<CMCDragonkai> `runCommandNoCC` to do what exactly? install the script and makewrapper?
<infinisil> Like `runCommandNoCC "script" {} "mkdir -p $out/bin; cp ${./script.sh} $out/bin/script"`
<CMCDragonkai> interesting
<infinisil> And makeWrapper if you want to
<CMCDragonkai> `${makeWrapper}/bin/wrapProgram`?
<infinisil> Setting `export PATH="${makeBinPath ...` would be more convenient if you had the text in the nix file
<CMCDragonkai> this doesn't create a `version` unlike `mkDerivation
<infinisil> CMCDragonkai: Nah add `makeWrapper` to nativeBuildInputs
<CMCDragonkai> i mean theres' no way to set a version for this out path
<infinisil> runCommandNoCC "script" { version = "..."; nativeBuildInputs = [ ... ]; } "mkdir -p $out/bin; cp ${./script.sh} $out/bin/script"
<{^_^}> [nixpkgs] @Ninlives opened pull request #76731 → wpsoffice: update `src` → https://git.io/JeAKU
<CMCDragonkai> oh that's part of the env variables
orivej has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
chagra has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #76732 → stdenv.mkDerivation: add support for env attrset → https://git.io/JeAKO
dump_stack has joined #nixos
<dump_stack> Hello everyone. Can anyone merge this https://github.com/NixOS/nixpkgs/pull/75524?
<{^_^}> #75524 (by jollheef, 2 weeks ago, open): codeql: init at 2.0.0
dump_stack has quit [Remote host closed the connection]
dump_stack has joined #nixos
vld has joined #nixos
sigmundv_ has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
vld has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to staging « glib: remove Autotools specific env vars »: https://git.io/JeA6e
rootatarch has joined #nixos
FRidh has joined #nixos
brightone has joined #nixos
<philr> Hi, I'm trying to override a python package using an overlay (I want a more recent version of the package than the one in nixpkgs). I tried to follow the example in the nixpkgs manual but it doesn't seem to do anything.
<{^_^}> [nixpkgs] @jtojnar pushed to staging « glibc: make NIX_CFLAGS_COMPILE a string »: https://git.io/JeA6t
<{^_^}> [nixpkgs] @FRidh merged pull request #76203 → bison: 3.4.2 -> 3.5 → https://git.io/JeA6s
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « bison: 3.4.2 -> 3.5 »: https://git.io/JeA6G
noudle has joined #nixos
cosimone has joined #nixos
cosimone has quit [Client Quit]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #76159 → file: 5.37 -> 5.38 → https://git.io/JeA6B
<{^_^}> [nixpkgs] @FRidh pushed commit from @zowoq to staging « file: 5.37 -> 5.38 »: https://git.io/JeA6R
<{^_^}> [nixpkgs] @FRidh merged pull request #75777 → vim: 8.1.2407 -> 8.2.0013 → https://git.io/Je7t5
<{^_^}> [nixpkgs] @FRidh pushed commit from @equirosa to staging « vim: 8.1.2407 -> 8.2.0013 »: https://git.io/JeA60
<{^_^}> [nixpkgs] @FRidh merged pull request #74469 → man: 2.8.7 -> 2.9.0 → https://git.io/JeX7i
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « man: 2.8.7 -> 2.9.0 »: https://git.io/JeA6u
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 23 commits to mkderiv-env: https://git.io/JeA6g
<{^_^}> [nixpkgs] @FRidh merged pull request #76662 → cyrus_sasl: add patch for CVE-2019-19906 → https://git.io/JeNbh
<{^_^}> [nixpkgs] @FRidh pushed commit from @risicle to staging « cyrus_sasl: add patch for CVE-2019-19906 »: https://git.io/JeA6a
dump_stack has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
cosimone has quit [Quit: Terminated!]
fenedor has joined #nixos
veske has joined #nixos
lorimer has joined #nixos
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
remirol has quit [Ping timeout: 268 seconds]
lopsided98 has joined #nixos
<chagra> philr: what's the package and what exact method did you use to override it?
<chagra> philr: there are a bunch of ways
<chagra> you can use overrideAttrs, or start an entire overlay, or write a new nix file and import it to override
<philr> chagra: The package is i3ipc. I've added this in a file in ~/.config/nixpkgs/overlays/ https://bpaste.net/4P2Q
<philr> The sha is not updated yet. It doesn't complain so I guess no fetch is actually happening.
justanotheruser has quit [Ping timeout: 265 seconds]
<eoli3n_> Hi nix community :)
<eoli3n_> i'm an arch user, i used some ansible playbook to makes my dotfiles immutable and support multiple hosts (desktops and servers configurations). https://github.com/eoli3n/dotfiles . Using Nixos will makes me use home-manager to manage dotfiles.
<eoli3n_> if a dotfiles requires to change a line for a specific host, i will need to use nix script. Problem is that it will break the possibility to push that config on non nix hosts
vidbina has joined #nixos
<eoli3n_> maybe i could make home-manager pull my dotfiles project and ansible localhost
<CMCDragonkai> the `runCommandNoCC` having `version` doesn't seem to work, the resulting $out doesn't use version at all
ebzzry has joined #nixos
justanotheruser has joined #nixos
zupo has joined #nixos
<chagra> philr: I think I got it
<chagra> philr: the second line should be `python = super.python37.override {`
<chagra> philr: you might also want to use `rec` for super.fetchFromGithub
<chagra> philr: because you're referencing version there
<chagra> philr: but I'm not sure really about that one
orivej has joined #nixos
<chagra> nevermind you don't need it
day|flip has quit [Quit: The Lounge - https://thelounge.chat]
<eoli3n_> i'm trying to install git from live booted iso : it eats a lots of cpu, i understand that package is not in cache, is there anything to do to make it not compile ?
<philr> chagra: this makes no sense to me, which is not a surprise since I don't understand nix too well. It's downloading a bunch of stuff and building some things from source, which is at least more activity than I got before. :)
ng0 has joined #nixos
ng0 has joined #nixos
ng0 has quit [Changing host]
<eoli3n_> i added unstable repo and did nixchannel --update
<eoli3n_> so why is it compiling ?
vld has joined #nixos
<eoli3n_> (not sure it is, but it seems to)
<chagra> philr: neither do I. Overriding is still new to me either and I don't even do it through overlays. But yeah since the package has not been yet built by hydra there won't be a cache so it will compile gentoo style
brightone has quit [Ping timeout: 258 seconds]
<chagra> wait is that version already in the unstable repo?
<chagra> does not seem like it
<chagra> so yeah if it's not in the main repo ofcourse it will compile it
<philr> chagra: well the i3ipc package is pure python, so it's not compiling _that_ I'm pretty sure. >.<
<chagra> if you want you can push binary cache to cachix so you can have custom binaries but that's a whole other ordeal
<chagra> yeah lol, I meant building the package
<chagra> it still has to rebuild it from scratch because the source changed
vld has quit [Ping timeout: 268 seconds]
zaeph has joined #nixos
thc202 has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
<shyim> Hey, how can i refresh my own desktop icons?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
veske has joined #nixos
init_6 has joined #nixos
opthomasprime has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
justanotheruser has quit [Ping timeout: 245 seconds]
init_6 has quit []
silver has joined #nixos
Jackneill has joined #nixos
aexoxea has quit [Quit: Goodbye!]
aexoxea has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 98 commits to python-unstable: https://git.io/JeAPr
rootatarch has quit [Quit: WeeChat 2.7]
<Smith[m]> Can I cross-compile for aarch64 from a NixOS qemu x86 vm ? I'm not sure I understand if cross-compiling is builtin or something I need to setup ...
iyzsong has joined #nixos
justanotheruser has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
<Smith[m]> Thanks, will look into it. My goal is to build a custom sd image for the PBP.
ikwildrpepper has quit [Quit: Lost terminal]
alex`` has joined #nixos
<makefu> if you want to build a whole image i think cross compiling will be a bit difficult. last time i tried there were some cross compiling issues.
<Smith[m]> Okay should I run a aarch64 qemu vm instead ?
<makefu> you may find some pointers for embedded systems (ARM-Based) at https://nixos.wiki/wiki/NixOS_on_ARM
<makefu> Smith[m]: that is preferable, yes.
<Smith[m]> Okay I'll try this, thanks.
<makefu> there is also #nixos-aarch64 on freenode where you find people with the same interest :)
<Smith[m]> Oh ok :)
alexherbo2 has joined #nixos
ajs124 has joined #nixos
Naptra has joined #nixos
ouzu[m] has joined #nixos
Dagger has quit [Excess Flood]
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to mkderiv-env: https://git.io/JeAPN
iyzsong has quit [Ping timeout: 265 seconds]
Dagger has joined #nixos
iyzsong has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
iyzsong has quit [Remote host closed the connection]
iyzsong has joined #nixos
psyanticy has joined #nixos
simukis__ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
opthomasprime has left #nixos [#nixos]
__monty__ has joined #nixos
<{^_^}> [nixops] @domenkozar merged pull request #1208 → Fix a Python format exception when raising a 'reboot required' Exception → https://git.io/JeKyL
<{^_^}> [nixops] @domenkozar pushed 2 commits to master: https://git.io/JeAX3
<{^_^}> [nixpkgs] @jtojnar pushed to mkderiv-env « fixup! stdenv.mkDerivation: add support for env attrset »: https://git.io/JeAXs
simukis_ has joined #nixos
tokudan has quit [Quit: Dunno.]
vld has joined #nixos
tokudan has joined #nixos
<{^_^}> [nixos-hardware] @mishudark opened pull request #137 → Add Lenovo ThinkPad X280 profile → https://git.io/JeAX8
<{^_^}> [nixpkgs] @Mic92 merged pull request #76731 → wpsoffice: update `src` → https://git.io/JeAKU
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeAX4
mexisme has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #76722 → linuxPackagesFor: wireguard: respect supported kernel versions → https://git.io/JeA0W
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeAXB
vld has quit [Ping timeout: 260 seconds]
LLED2_2 has joined #nixos
LLED2_3 has quit [Ping timeout: 258 seconds]
Dagger has quit [Excess Flood]
Dagger has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #76618 → rambox: fix hash → https://git.io/JeNRc
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeAXr
veske has quit [Quit: This computer has gone to sleep]
veske has joined #nixos
vidbina has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
jgeerds has joined #nixos
<{^_^}> [nixpkgs] @tokudan opened pull request #76733 → nextcloud module: https is important not only for proxies → https://git.io/JeAXP
eoli3n_ has quit [Quit: WeeChat 2.7]
simukis_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
simukis_ has joined #nixos
civodul has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #76733 → nextcloud module: https is important not only for proxies → https://git.io/JeAXP
o1lo01ol1o has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeAX7
o1lo01ol1o has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
ikwildrpepper has joined #nixos
vld has joined #nixos
johnjay has quit [Ping timeout: 265 seconds]
vld has quit [Ping timeout: 260 seconds]
<CMCDragonkai> I have a overlay repository with custom package definitions, that also exports the nixpkgs again. I want to put custom modules inside there. What would be the best way to refer to these custom modules? I can't use `<nixpkgs/...>` because that still points to the upstream nixpkgs, nor can I use `pkgs.path` since overlay doesn't change that.
orivej has joined #nixos
<infinisil> CMCDragonkai: NixOS modules?
<CMCDragonkai> yep
<CMCDragonkai> got custom modules in an overlay repo
<infinisil> Just ./path/to/your/repository/some/module.nix?
<infinisil> I guess you want it to be less hard-codey?
orivej has quit [Ping timeout: 240 seconds]
<CMCDragonkai> yea
romildo has joined #nixos
kaychaks[m] has joined #nixos
<infinisil> CMCDragonkai: I'd make it a single module in the repository that imports the others
<infinisil> Then you can use `imports = [ ./path/to/repository/module.nix ]` to import all of them
<CMCDragonkai> but where isthe path to repository?
<CMCDragonkai> it's a nother repository?
<CMCDragonkai> git submodule?
<infinisil> Ah well `fetchTarball` or something
<infinisil> However you prefer to get your reporitory
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
alexherbo2 has quit [Ping timeout: 258 seconds]
<infinisil> There isn't a better way for that
alexherbo2 has joined #nixos
alex`` has quit [Ping timeout: 258 seconds]
<chagra> you can add the repo as a channel
<chagra> that's what I do for my nur packages
<chagra> and then in configuration.nix you do
<infinisil> I personally try to steer away from nix-channel because it's imperative
<chagra> import <nur> { inherit pkgs; };
<infinisil> But if that doesn't matter then that is a possibility
<chagra> yeah i hate that it's imperative and can't wait for flakes
alex`` has joined #nixos
<chagra> but also it has the advantage of updating when you want it
<chagra> if you update the git repo and you're using fetchTarball
<chagra> if it's already in the nix store downloaded
<chagra> it'll use the cached version up to an amount of time
<chagra> or until garbage collect
<lewo`> chagra: i'm using Niv (https://github.com/nmattia/niv) for this kind of purposes
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @saggzz opened pull request #76734 → update repo → https://git.io/JeA1F
<chagra> lewo`: does it work with nixos or just with nix-shell for projects?
Wharncliffe has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #76735 → mpvScripts.mpris: 0.2 -> 0.3 → https://git.io/JeA1b
orivej has joined #nixos
<{^_^}> [nixpkgs] @saggzz closed pull request #76734 → update repo → https://git.io/JeA1F
vidbina has joined #nixos
<lewo`> chagra: i'm using it for my Nixos configurations... but i'm not using nixos-rebuild to deploy them.
<chagra> oh intresting, can I ask how you do it?
tabasko has joined #nixos
<lewo`> chagra: but I'm pretty sure it would also be possible to use nixos-rebuild.
alexherbo21 has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
alex`` has quit [Ping timeout: 268 seconds]
alexherbo2 has quit [Ping timeout: 258 seconds]
alexherbo21 is now known as alexherbo2
alex`` has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
vld has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #76736 → nix: 2.3 -> 2.3.1 → https://git.io/JeAM2
<{^_^}> [nixpkgs] @flokli merged pull request #76719 → nixos/containers: use machinectl poweroff → https://git.io/JeARv
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeAMa
vld has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
silver has quit [Read error: Connection reset by peer]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
sam_d has quit [Read error: Connection reset by peer]
sam_d has joined #nixos
gustavderdrache[ has joined #nixos
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 260 seconds]
<o1lo01ol1o> I'm still trying to figure out how to reconstruct the path to cabal's data-dir. I given a cabal project called `src`, I can get figure out ${src.data}/share/${base-compiler.ghc.name}/x86_64-osx-ghc-8.8.1/${src.name}/foo, but where does "x86_64-osx-ghc-8.8.1" come from?
<{^_^}> [nixpkgs] @ryantm merged pull request #76387 → qbittorrent: 4.2.0 -> 4.2.1 → https://git.io/JeFHf
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeAM7
<{^_^}> [nixpkgs] @ryantm closed pull request #76459 → vim: 8.1.2407 -> 8.2.0033 → https://git.io/JebeF
selfsymmetric-mu has quit [Remote host closed the connection]
<CMCDragonkai> It would be nice if there was a way to overlay the nixos modules themselves.
<CMCDragonkai> And then have a special path called `<nixos>`
<CMCDragonkai> that pointed to the modules
<CMCDragonkai> instead of the packages
inkbottle has joined #nixos
chloekek has joined #nixos
<kaliumxyz> nix-env autocomplete is broken for me.
<kaliumxyz> what do?
<kaliumxyz> ALso happy new year to those in australia
zebrag has quit [Ping timeout: 258 seconds]
rootatarch has joined #nixos
eoli3n_ has joined #nixos
silver has joined #nixos
<kaliumxyz> it wont autocomplete packages
<kaliumxyz> will still autocomplete commands
<kaliumxyz> interesting
<CMCDragonkai> happy new year!
<{^_^}> [nixpkgs] @bjornfor merged pull request #76701 → nixos/transmission: fix from where service loads config → https://git.io/JeA3w
<{^_^}> [nixpkgs] @bjornfor pushed commit from @jakubgs to master « nixos/transmission: fix from where service loads config »: https://git.io/JeADY
vidbina has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #76689 → bandwhich: init at 0.6.0 → https://git.io/JeAtb
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JeADO
dm9 has joined #nixos
justanotheruser has quit [Ping timeout: 252 seconds]
<makefu> at the NGI Zero Talk on the CCCongress Mobile NixOS gets mentioned at minute 25 :) https://media.ccc.de/v/36c3-10795-ngi_zero_a_treasure_trove_of_it_innovation
gustavderdrache has joined #nixos
m0rphism has joined #nixos
<gchristensen> makefu++ samueldr++
<{^_^}> makefu's karma got increased to 4, samueldr's karma got increased to 144
<makefu> from the questions: "how do you make sure that all this coole software is available for everyone" "we try to package everything at least one operating system called NixOS"
<kaliumxyz> figured it out.
<makefu> that sounds ... reasonable :)
<kaliumxyz> had a channel name that wasnot parsable
<kaliumxyz> lel
jakobrs has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #76738 → python3Packages.dask: 2.9.0 -> 2.9.1 enable tests, move to github src → https://git.io/JeADy
justanotheruser has joined #nixos
lunik1 has quit [Quit: :x]
<jakobrs> Could someone on darwin try running this? https://gist.github.com/jakobrs/85a3149ae80f761610f64a138cc162a0
<jakobrs> It doesn't work on my macOS machine, but it does work on my NixOS machine, and I'm wondering if it's my own fault
lunik1 has joined #nixos
lunik1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @symphorien opened pull request #76739 → nixos/dovecot: add an option to enable mail_plugins → https://git.io/JeADN
jlv has quit [Remote host closed the connection]
<infinisil> jakobrs: What's the error?
<infinisil> And this is not reproducible, you're not using a fixed nixpkgs version, so results on different machines may vary
<jakobrs> "Could not load module 'Data.CaseInsensitive'"
<jakobrs> But it works on NixOS
<{^_^}> [nixpkgs] @Ma27 opened pull request #76740 → matrix-synapse: 1.7.2 -> 1.7.3 → https://git.io/JeAye
<jakobrs> And I fail to see why it wouldn't work on macOS
<infinisil> jakobrs: You most likely have different nixpkgs versions on macOS and NixOS
<jakobrs> But it's got nothing to do with the package version
<jakobrs> Some packages just don't work on macOS with ghcWithPackages
<infinisil> Why are you so sure of that? This seems like an error you get because of a module not existing in that version of haskell packages
<infinisil> jakobrs: You can add `-I nixpkgs=channel:nixpkgs-unstable` to the nix-shell line to use nixpkgs-unstable on both machines
<jakobrs> It happens with bytestring, wai and warp as well
<jakobrs> and Data.ByteString has always been in the package
<jakobrs> And adding -package case-insensitive to runghc makes it run
<jakobrs> Meaning it finds the module, it just refuses to load it
<infinisil> I don't have a mac accessible right now, but all I can recommend is to at least try with a reproducible nixpkgs version, and a latest one at that in case there were any recent fixes
<jakobrs> I know, but i *really* don't think it's got to do with the package version
<jakobrs> It's either a bug, or I've messed up my Nix installation somehow
ddellacosta has joined #nixos
<infinisil> Also add --pure to the nix-shell line to not have it be influenced by other things
ng0_ has joined #nixos
ng0_ has joined #nixos
ng0_ has quit [Changing host]
tomberek has joined #nixos
<jakobrs> I've tried that
<jakobrs> I think it might have got something to do with propagated-build-inputs: the packages that don't work have a
<infinisil> So it's the same problem on only macOS even with --pure and -I nixpkgs= ?
<jakobrs> "propagated-build-inputs: /nix/store/*/" line when downloading dependencies
<jakobrs> yes
<jakobrs> to your question
ng0 has quit [Ping timeout: 268 seconds]
<infinisil> jakobrs: Does it work if you call the nix-shell command manually, then run `runghc File.hs` manually in the shell?
<tomberek> has anyone noticed a surprisingly slow `nix copy --to s3://bucket`? I can work on a fix, but need to be pointed in the right direction.
<jakobrs> infinisil: no
<{^_^}> [nixpkgs] @asymmetric opened pull request #76741 → ssb-patchwork: 3.17.1 -> 3.17.2 → https://git.io/JeAyY
ok2` has quit [Quit: Getting off stoned server - dircproxy 1.2.0]
ok2` has joined #nixos
jmeredith has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
<kaliumxyz> looking for a movie to watch for our post new year celebration
<kaliumxyz> wrong channel lol
<{^_^}> [nixpkgs] @Mic92 opened pull request #76742 → Platformio → https://git.io/JeAyc
ok2` has quit [Quit: Getting off stoned server - dircproxy 1.2.0]
ok2` has joined #nixos
ng0_ is now known as ng0
<infinisil> jakobrs: Booted up my mac, indeed this works for me
<jakobrs> As in, it runs correctly?
<infinisil> Yup
<jakobrs> Then it's probably my own fault.
<infinisil> macOS 10.14.4
<jakobrs> I have Catalina though
<jakobrs> thank you anyways
dansho has quit [Quit: Leaving]
<infinisil> :)
ok2` has quit [Client Quit]
m0rphism has quit [Ping timeout: 260 seconds]
ok2` has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #75524 → codeql: init at 2.0.0 → https://git.io/Je9NW
<{^_^}> [nixpkgs] @Lassulus pushed commit from @jollheef to master « codeql: init at 2.0.0 »: https://git.io/JeAyw
orivej has joined #nixos
dm9 has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @Mic92 pushed to master « README.md: fix typos »: https://git.io/JeAyo
chagra has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #73879 → jetbrains.* 2019.2.* -> 2019.3 → https://git.io/Je67M
<{^_^}> [nixpkgs] @Lassulus pushed 26 commits to master: https://git.io/JeAyH
kleisli has quit [Ping timeout: 260 seconds]
jakobrs has left #nixos [#nixos]
Ashjkaell has joined #nixos
<{^_^}> [nixpkgs] @bdesham opened pull request #76744 → gitstatus: patch fewer lines → https://git.io/JeAyx
<{^_^}> [nixpkgs] @FRidh pushed 75 commits to staging-next: https://git.io/JeAyh
orivej has quit [Ping timeout: 260 seconds]
mexisme has joined #nixos
freeman42x has joined #nixos
freeman42x has quit [Client Quit]
rauno has quit [Ping timeout: 248 seconds]
mexisme has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @WhittlesJr opened pull request #76746 → Zwave fixes → https://git.io/JeASm
<chrisaw> Can anyone tell me the correct way to use the following? linuxPackages.openrazer = super.linuxPackages.openrazer.overrideAttrs (old: rec { });
<chrisaw> The problem I'm facing is - I'm trying to do a package override on the openrazer module to use a forked version (which includes support for my device) but it looks like I'm overriding the entire linuxPackages group.
chagra has joined #nixos
<infinisil> chrisaw: linuxPackages = super.linuxPackages // { openrazer = ...; }
rauno has joined #nixos
shiver has quit [Remote host closed the connection]
<chrisaw> infinisil: Thanks! Much appreciated! :)
chagra has quit [Ping timeout: 260 seconds]
cosimone has joined #nixos
rauno has quit [Ping timeout: 248 seconds]
cjpbirkbeck has joined #nixos
captn3m0- has quit [Quit: ZNC 1.7.5 - https://znc.in]
captn3m0 has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 merged pull request #137 → Add Lenovo ThinkPad X280 profile → https://git.io/JeAX8
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/JeASb
<{^_^}> [nixpkgs] @emilazy opened pull request #76747 → stm32loader: 0.5.0 -> 0.5.1 → https://git.io/JeASj
ebzzry has quit [Ping timeout: 260 seconds]
<Unode> hi all, I have an issue with sudo in that I can't seem to make it work without requesting a password. This starting happening since the last upgrade to 19.09.
<Unode> Does anyone know if this was fixed/reported or has any suggestions on how to troubleshoot this?
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @toonn opened pull request #76748 → ranger: 1.9.2 -> 1.9.3 → https://git.io/JeA9m
erasmas has joined #nixos
<chrisaw> @infinisil: Turns out I was wrong - it's not a linuxPackages group package - it's actually a pythonPackages group package. Strange thing is - done the same thing as your example but it's being ignored. Any ideas?
<chrisaw> https://termbin.com/82pr -- this is my overlay file. The openrazer-daemon override works great but I also need the driver package (pythonPackages.openrazer) to use my sources too.
<chrisaw> (I'm intentionally using a fake rev value so I can be sure the overridden package is being used - I'll fix that once I get an error about it. :))
horner has joined #nixos
zaslet has joined #nixos
UndefinedIsNotAF has quit [Ping timeout: 264 seconds]
<infinisil> Oh, and actually what I showed isn't the "intended" way to override kernel packages
UndefinedIsNotAF has joined #nixos
<zaslet> I have what is probably a question of misunderstanding but in any case. We wish to use nix to operationalize our r projects. One thing we particularity wish to do is use the binary builds. However, whenever I start a nix shell with rPackages inputs, they get compiled from source. It appears to me like binaries for rPackages are available so I'm not
<zaslet> sure what I'm doing wrong.
<chrisaw> To be fair - a quick 'N dirty hack is good enough for this purpose because I'm going to PR my changes upstream to the openrazer team. I just want to test the fix on my local machine using an override first is all.
<infinisil> chrisaw: Should have been like this: linuxPackages = super.linuxPackages.extend (lself: lsuper: { openrazer = ...; })
<infinisil> But this probably won't work for python
<clever> zaslet: `nix-shell -p foo` gives you a compiled copy of foo, `nix-shell -A foo` gives you an env suitable for building foo
gaxlumple has joined #nixos
noudle has quit []
<gaxlumple> MPV seems compiled without support for V4L. How can I fix that?
<infinisil> chrisaw: There's a section here on overriding python packages: https://nixos.org/nixpkgs/manual/#faq
o1lo01ol1o has quit [Remote host closed the connection]
opthomasprime has joined #nixos
o1lo01ol1o has joined #nixos
lunik1 has joined #nixos
<infinisil> gaxlumple: How did you conclude that?
<mkaito> how is the git commit in config.system.nixos.label decided? it doesn't seem to be doing what I expected.
wildjames has quit [Quit: To err is human.. but to really foul things up requires a computer]
ebzzry has joined #nixos
wildjames has joined #nixos
prusnak has quit []
zaslet has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
rootatarch has quit [Quit: WeeChat 2.7]
prusnak[m] has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #76748 → ranger: 1.9.2 -> 1.9.3 → https://git.io/JeA9m
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeAHf
opthomasprime has quit [Remote host closed the connection]
<infinisil> mkaito: It comes from system.nixos.revision
<{^_^}> [nixpkgs] @FRidh merged pull request #76738 → python3Packages.dask: 2.9.0 -> 2.9.1 enable tests, move to github src → https://git.io/JeADy
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to staging-next: https://git.io/JeAHs
<mkaito> infinisil: that looks like it should do the right thing, so why have I made 4 commits and it keeps giving me the same label?
<gaxlumple> infinisil: No protocol handler found to open URL tv://
gustavderdrache has quit [Quit: Leaving.]
<mkaito> infinisil: https://pastebin.com/8BS0HrqK
rogue_koder has joined #nixos
fendoer has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
endformationage has joined #nixos
fenedor has quit [Ping timeout: 265 seconds]
b1000101 has joined #nixos
philr has quit [Ping timeout: 258 seconds]
Naptra has quit [Remote host closed the connection]
<infinisil> gaxlumple: v4l2:// seems to be for V4L
ddellacosta has joined #nixos
<cjpbirkbeck> is there any point in first doing nix-collect-garbage, then nix optimise-store, or i may as well just let them go independently of each other?
<infinisil> mkaito: What about `nix-instantiate --eval -E '(import ./lib).commitIdFromGitRepo (toString ./.git)'`
<mkaito> shortRev is hardcoded atop nixos/release.nix -_-
<mkaito> seems to be meant to be overridden
<infinisil> Ahh
<{^_^}> [nixpkgs] @kampfschlaefer opened pull request #76749 → rsync: Fix perl-substitution in rrsync → https://git.io/JeAH5
<infinisil> That's probably to make it reproducible
<mkaito> fun times, I'll try wrapping nixos/release.nix
<mkaito> thanks for the pointers
<mkaito> I'll probably do that tomorrow, lest the wife begin screaming
<infinisil> mkaito: Why do you need this?
<infinisil> Hehe alright
<mkaito> building our own AMIs
<mkaito> uploading updates to it doesn't work very well if the store path is the same
<mkaito> probably S3 eventual consistency or something
<gaxlumple> infinisil: No protocol handler found to open URL v4l2://
<infinisil> Ah I guess mpv uses tv://
<infinisil> gaxlumple: In the manpage it says tv:// is only for linux, are you on linux?
<infinisil> Ah no I can reproduce it
<infinisil> gaxlumple: Always mention the error and the command you ran..
<infinisil> I wouldn't have had to ask around so long if you just told me that mpv gives "The protocol is either unsupported, or was disabled at compile-time."
<lunik1> I'm having tests fail when building pyjwt on 19.09-small. Is there a way of finding out what is pulling that as a dependency?
mexisme has joined #nixos
<infinisil> gaxlumple: Try `av://v4l2:/dev/video0` instead
<wildjames> i'm trying vmetal but there is no output on my screen.
<wildjames> Doe that mean that i need another display connected for this to work? What is supose to happen?
<wildjames> in the faq it says: From this point forward you can install and configure Windows as you would in any computer. To visualize the virtual environment, switch the input of your monitor to the correct entry that connects into your non-primary display output.
<infinisil> Seems like tv:// was removed
<wildjames> I'm using 3 display all are connected and displaying the desktop (nitrux)
<infinisil> lunik1: In the failing output you should see a sequence of .drv files, this is the dependency chain
mexisme has quit [Ping timeout: 260 seconds]
<lunik1> ah ok, looks like it's beets
ixxie has joined #nixos
zeta_0 has joined #nixos
horner has quit [Read error: Connection reset by peer]
<wildjames> Somehow i read 3 times over the part that you need another videocard.
horner has joined #nixos
horner has quit [Client Quit]
gaxlumple has quit [Ping timeout: 260 seconds]
jonathan5 has joined #nixos
<jonathan5> Help! I am trying to install a Minecraft Server on my nix rig in the configuration.nix.
<jonathan5> It is complaining about not allowing unfree even though I added the allow unfree option to the configuration.nix.
<jonathan5> I must have done something wrong.
wildjames has left #nixos ["To err is human.. but to really foul things up requires a computer"]
<lunik1> should I report a bug for jwt on the nixpkgs tracker? are there extra steps I can take to verify?
<jonathan5> d
drakonis has joined #nixos
<jonathan5> I have `nixpkgs.config.allowUnfree = true;`
<jonathan5> Then
<jonathan5> users.users.minecraft = { isSystemUser = true; uid = 13456; useDefaultShell = true; packages = [ ##upkgs.minecraft-server ]; };
<jonathan5> But when I `nixos-rebuild switch` it fails with the ufree error.
<infinisil> jonathan5: There's a NixOS module for minecraft-server
<infinisil> I'd recommend you to use that
<jonathan5> Oh, I did know that existed, cool.
Ashjkaell has quit [Read error: Connection reset by peer]
cosimone has quit [Quit: Quit.]
Ashjkaell has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #76736 → nix: 2.3 -> 2.3.1 → https://git.io/JeAM2
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.09: https://git.io/JeAQV
mexisme has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #76729 → Adding passthru to ion shell to allow using it as a login shell as ad… → https://git.io/JeAVK
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JeAQi
jonathan5 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « powershell: set shellPath »: https://git.io/JeAQ1
o1lo01ol1o has quit [Ping timeout: 260 seconds]
Ashjkaell has quit [Read error: Connection reset by peer]
Ashjkaell has joined #nixos
romildo has quit [Quit: Leaving]
aexoxea has quit [Quit: Goodbye!]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/JeAQF
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.09: https://git.io/JeAQA
Ashjkaell has quit [Read error: Connection reset by peer]
sigmundv_ has quit [Ping timeout: 258 seconds]
zeta_0 has quit [Quit: taking a break]
Ashjkaell has joined #nixos
Ashjkaell has quit [Read error: Connection reset by peer]
jmeredith has joined #nixos
Ashjkaell has joined #nixos
Ashjkaell has quit [Client Quit]
the-kenny has quit [Ping timeout: 265 seconds]
the-kenny has joined #nixos
o1lo01ol1o has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
cantstanya has quit [Ping timeout: 240 seconds]
cantstanya has joined #nixos
noudle has joined #nixos
tomberek has quit [Ping timeout: 260 seconds]
selfsymmetric-pa has joined #nixos
chloekek has quit [Ping timeout: 240 seconds]
ebzzry has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #76751 → pythonPackages.leveldb: 0.194 -> 0.201 → https://git.io/JeA7H
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #76752 → pythonPackages.numba: refactor enable test and move to github src → https://git.io/JeA7d
psyanticy has quit [Quit: Connection closed for inactivity]
chagra has joined #nixos
<selfsymmetric-pa> /join #org-mode
<selfsymmetric-pa> Whoops, sorry ^_^;;
jgeerds has quit [Ping timeout: 268 seconds]
lor|d has joined #nixos
lord| has quit [Read error: Connection reset by peer]
selfsymmetric-pa has quit [Remote host closed the connection]
<eoli3n_> if i manage my dotfiles with a custom project, should i use home-manager to install packages user side ?
o1lo01ol1o has quit [Remote host closed the connection]
Rusty1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-make: 0.24.2 -> 0.24.3 »: https://git.io/JeA5n
cosimone has joined #nixos
cosimone has quit [Read error: Connection reset by peer]
cosimone_ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #76703 → rx: 0.2.0 -> 0.3.0 → https://git.io/JeAs8
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to master: https://git.io/JeA54
selfsymmetric-pa has joined #nixos
abaiste^ has quit []
andi- has quit [Remote host closed the connection]
<simukis_> when running `nix verify` I get back "error: secret key is corrupt". What is failing here and how do I know which output is this
<simukis_> relatedly, how do I specify the public keys I want to verify with?
tsrt^ has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
cosimone_ has quit [Quit: Quit.]
<jasom> Is there a static glibc anywhere in nixpkgs?
<clever> jasom: pkgs.pkgsStatic.stdenv will give you a stdenv, that is pre-configured for static everything
Thra11 has quit [Quit: WeeChat 2.7]
wildtrees has joined #nixos
andi- has joined #nixos
Rusty1 has joined #nixos
<symphorien> eoli3n_: imperative nix-env is slightly problematic in a number of ways, so I would recommend home-manager
<jasom> clever: I can probably make that work. Thanks.
<symphorien> > pkgs.glibc.static # jasom
<{^_^}> "<derivation /nix/store/apm94nhlyb8586mmf0r1nn3x3ggl2k20-glibc-2.27.drv>"
<symphorien> But you should probably prefer pkgsStatic
fusion809 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
cnidario has joined #nixos
cnidario has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
b1000101 has quit [Quit: Leaving]
<eoli3n_> symphorien: problem is that i want to be able to put my dotfiles on non-nix systems
<symphorien> You can use home-manager only to install packages then
<eoli3n_> yep but how to know if i need to install a package user or system side ?
<eoli3n_> if i don't let home manager manage my dotfiles, is that not preferable to install all packages system side ?
astrofog has joined #nixos
growpotkin has joined #nixos
<jasom> symphorien: thanks, that worked a lot better; I'm just trying to get a janky build script to work in an FHS environment and some things are statically linked and others not.
growpotkin has quit [Client Quit]
chagra has quit [Ping timeout: 258 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
<ivan> I will review more than a few PRs if someone can find a fix for ibus making programs 25 seconds to start on master https://github.com/NixOS/nixpkgs/issues/75120
<{^_^}> #75120 (by ivan, 3 weeks ago, open): With ibus enabled, some programs take 25 seconds to start, waiting on dbus
alexherbo2 has quit [Ping timeout: 265 seconds]
alex`` has quit [Ping timeout: 258 seconds]
astrofog has quit [Quit: Quite]
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #76728 → palemoon: use gcc7, remove build notification → https://git.io/JeA2x
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JeAdS
litschi has quit [Quit: WeeChat 2.6]
shibboleth has joined #nixos
orivej has joined #nixos
Jackneill has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<jared-w> eoli3n_: even without home manager you can still do things like users.users.eoli3n.packages = [ all my pkgs ]
lor|d is now known as lord|
chagra has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
mumuluxi_ has joined #nixos
<mumuluxi_> \help
<mumuluxi_> q
<nilsirl[m]> in NixOS, in the past, when a program wasn't installed, you would get an output along the lines of "install using nix-env -iA .....". However, I reinstalled and now, if let's say I type vim it just says "vim: command not found". Is there a way to fix that?
alexherbo2 has joined #nixos
<ivan> programs.command-not-found.enable is default true
<ivan> maybe the database needs to be generated
<ivan> it uses /nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite
<clever> ivan: the database is pre-generated, and downloaded by nix-channel --update
<ivan> nilsirl[m]: ^
<ivan> nilsirl[m]: are you using zsh or bash? do you have something replacing all your shell config?
mumuluxi_ has quit [Quit: WeeChat 2.6]
mumuluxi_ has joined #nixos
ivan has quit [Quit: lp0 on fire]
dustinm has quit [Quit: Leaving]
eoli3n_ has quit [Quit: WeeChat 2.7]
alexherbo2 has quit [Ping timeout: 258 seconds]
chloekek has joined #nixos
dustinm has joined #nixos
mumuluxi_ has quit [Quit: WeeChat 2.6]
mumuluxi_ has joined #nixos
ditadi_ has joined #nixos
ditadi_ has quit [Client Quit]
mumuluxi_ has quit [Client Quit]
ditadi has joined #nixos
ditadi has joined #nixos
ditadi has quit [Changing host]
erasmas has quit [Quit: leaving]
And has joined #nixos
And has quit [Killed (freenode-connect (The application you are using is no longer permitted to connect to the freenode network. For questions, contact kline@freenode.net))]
ivan has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #76755 → pythonPackages.scipy: 1.3.3 -> 1.4.1 enable tests use github src → https://git.io/JeAFA
eoli3n_ has joined #nixos
drakonis1 has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
kleisli has joined #nixos
alex`` has joined #nixos
<eoli3n_> i'm stuck on something
<eoli3n_> how to automate a shell cmd at each rebuild ?
<lassulus> system.activationScripts ?
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
<symphorien> Note that it will also be ran at boot
lord| has joined #nixos
drakonis1 has quit [Ping timeout: 260 seconds]
<symphorien> Before systemd is ran iirc
<symphorien> And if it fails, boot will fail
<{^_^}> [nixpkgs] @veprbl merged pull request #76730 → texlab: 1.7.0 -> 1.9.0 → https://git.io/JeAoQ
<{^_^}> [nixpkgs] @veprbl pushed commit from @MetaDark to master « texlab: 1.7.0 -> 1.9.0 (#76730) »: https://git.io/JeAb0
ixxie has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
cjpbirkbeck has joined #nixos
<Raito_Bezarius> Hi, I'm trying to build a RPi ARM SD image using Nix on a non-NixOS machine, I installed binfmt & qemu stuff, but it seems like the process is stuck somewhere just after creating the ext4 partition, to be exact, here's the latest logs (running with -vv): http://ix.io/263l
phreedom_ has joined #nixos
<Raito_Bezarius> AFAIK, I see it building some ARM stuff so I don't think it's related to QEMU cross building mechanism
phreedom has quit [Ping timeout: 240 seconds]
noudle has quit []
<kaliumxyz> happy new year west european ppl
<Raito_Bezarius> Happy new year :)
orivej has joined #nixos
_reanimus_ has quit [Ping timeout: 260 seconds]
reanimus has joined #nixos
drakonis has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
<eoli3n_> Happy new year :)
<eoli3n_> for a desktop, is that ok to use unstable repo ?
<eoli3n_> s/repo/channel
<drakonis> yes
<ivan> eoli3n_: I use it, well I use master and many patches
<MichaelRaskin> I rebuild my system from random snapshots of repository master
<drakonis> its okay to use whatever
<ivan> only problem I have with master right now is ibus breaking things
<MichaelRaskin> Rollbacks are nice, indeed.
<{^_^}> [nixpkgs] @veprbl closed pull request #76721 → rsync: Fix perl-substitution in rrsync → https://git.io/JeARl
<eoli3n_> but is there a cache too for unstable, or it will compile much more ?
<eoli3n_> when installing git from the iso, git package un stable came from cache, but unstable one compiled for a while
<qyliss> There is a cache, but any given package might not have been built for it yet unless it's part of the tested set
<eoli3n_> s/git package un stable/git package stable
<qyliss> I'd be surprised if git wasn't, though...
<qyliss> You definitely using unstable and not master?
<eoli3n_> sorry, i miss something, what is master ?
<eoli3n_> i added unstable channel then nix-channel --update
<eoli3n_> (i started nixos yesterday night)
<ivan> master is the master branch of the nixpkgs repo from which unstable is created
<qyliss> How did you add the channel?
colemickens_ has joined #nixos
datakurre has quit [Ping timeout: 245 seconds]
<eoli3n_> can't remember that, lets retry fresh
<eoli3n_> oh ok ivan
<eoli3n_> i get that message on a rebuild : https://github.com/NixOS/nix/issues/421
<{^_^}> nix#421 (by Zert, 5 years ago, closed): Out of memory on package installation
<eoli3n_> i added a lot a package in one time
datakurre has joined #nixos