zimbatm changed the topic of #nixos to: NixCon 2018 - 25-27 Oct in London https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || 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
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « networkmanager-openvpn: 1.8.4 → 1.8.6 »: https://git.io/fxYaV
carlosdagos has joined #nixos
<kalbasit[m]> samueldr: I managed to work around it. So the script I'm creating is executing within another script (not directly). So I'm changing the CWD before invoking the script and that works well
<kalbasit[m]> thx
acarrico has joined #nixos
[Leary] has joined #nixos
ericsagnes has quit [Ping timeout: 260 seconds]
Lears has quit [Read error: No route to host]
jperras has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome3: remove version attribute »: https://git.io/fxYa5
jperras has quit [Ping timeout: 252 seconds]
nikivi has quit [Quit: ZNC is awesome]
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @jwiegley pushed to master « coqPackages.coq-haskell: Support building with Coq 8.8 »: https://git.io/fxYVO
thc202 has quit [Ping timeout: 245 seconds]
nikivi has joined #nixos
Dedalo has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome3: remove versionBranch attribute »: https://git.io/fxYV8
goibhniu has quit [Ping timeout: 244 seconds]
andreabedini has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxYwE
mizu_no_oto has joined #nixos
<{^_^}> [nixpkgs] @magnetophon opened pull request #47890 → eteroj.lv2: init at 0.4.0 → https://git.io/fxYrk
georges-duperon has quit [Ping timeout: 252 seconds]
mixfix41 has joined #nixos
johnw_ has joined #nixos
johnw has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jb55 opened pull request #47891 → Trezor GPG agent → https://git.io/fxYrz
devx has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @magnetophon opened pull request #47892 → plugin-torture: 2016-07-25 -> 5 → https://git.io/fxYr1
<Myrl-saki> Yooo, what the fuck
<Myrl-saki> nix-shell -p '((import <nixpkgs> { overlays = [ (import /home/myrl/Development/osr/config.nix) ]; }).hpkgs.conduit-combinators)'
<Myrl-saki> error: infinite recursion encountered, at undefined position
<Myrl-saki> RIP
glasserc has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko pushed 0 commits to yegortimoshenko-patch-6: https://git.io/fxYrN
<{^_^}> [nixpkgs] @yegortimoshenko pushed 0 commits to yegortimoshenko-patch-5: https://git.io/fxYrx
<samueldr> Myrl-saki: (though I suspect you know) the most common infinit recursion cause with overlays is wrong use of super vs. self AFAIK
<Myrl-saki> Good point.
<andreabedini> Hi all, I'm trying to write a derivation for a rails app which uses local gems. bundix doesn't support local gems but I can get around it; but then bundlerEnv breaks
<andreabedini> anyone familiar with this stuff?
<Myrl-saki> mwc-random = selfpkgs.haskell.lib.overrideCabal super.mwc-random (attrs: {
<Myrl-saki> testHaskellDepends = builtins.filter (x: x.pname != "statistics") attrs.testHaksellDepends;
<Myrl-saki> });
<Myrl-saki> Well this didn't work. :C
<glasserc> I started to get "glXChooseVisual failed" when trying to run Steam (Intel graphics on a Lenovo X1 Carbon). People online seem to think it's a driver issue but it stopped working while the machine was running and glxgears seems to work fine
<infinisil> Myrl-saki: Use --show-trace to spot the inf rec
<Myrl-saki> infinisil: Yeah, I already spotted it.
<Myrl-saki> [ "" "HUnit-1.5.0.0" "QuickCheck-2.9.2" "statistics-0.13.3.0" "test-framework-0.8.1.1" "test-framework-hunit-0.3.0.2" "test-framework-quickcheck2-0.3.0.4" "vector-0.12.0.1" ]
<Myrl-saki> So apparently my filter didn't work.
<Myrl-saki> Whoops?
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<Myrl-saki> Oh, apparently, I had a typo on the last statement too.
<Myrl-saki> So testHaskellDepends wasn't being called at all, huh.
<Myrl-saki> s/called/evaluated/
<Myrl-saki> Of course, the classic "I was evaluating the wrong file." :D
<{^_^}> [nixpkgs] @bhipple opened pull request #47893 → luigi: init at 2.7.9 → https://git.io/fxYol
<Myrl-saki> Anyways, yeah, that fixed it.
<Myrl-saki> There was circular dependence on stackage.
mizu_no_oto has joined #nixos
mizu_no_oto has quit [Client Quit]
rhitakorrr has left #nixos ["WeeChat 2.2"]
<infinisil> I see
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
andreabedini has joined #nixos
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
sir_guy_carleton has joined #nixos
nDuff has quit [Quit: zzz]
<{^_^}> [nixpkgs] @mmlb opened pull request #47894 → pythonPackages.eradicatge: init at 0.2.1 → https://git.io/fxYKg
<{^_^}> [nixpkgs] @mmlb opened pull request #47895 → Python pylama update → https://git.io/fxYKy
<{^_^}> [nixpkgs] @roconnor merged pull request #47855 → Bitcoin: 0.16.3 -> 0.17.0 → https://git.io/fxtNf
<{^_^}> [nixpkgs] @roconnor pushed 3 commits to master: https://git.io/fxYKF
<colemickens> I'm using builtins.fetchTarball and getting:
<colemickens> Oct 05 01:45:39 kix.cluster.lol bootstrap-nixos.sh[11325]: unpacking 'https://github.com/kubernetes-sigs/cri-tools/archive/v1.12.0.tar.gz'...
<colemickens> Oct 05 01:45:39 kix.cluster.lol bootstrap-nixos.sh[11325]: error: executing 'tar': No such file or directory
<colemickens> Oct 05 01:45:39 kix.cluster.lol bootstrap-nixos.sh[11325]: error: program 'tar' failed with exit code 1
<colemickens> This wasn't happening when I updated this derivation and tested it. And then I recreated this machine (from a nixos-unstable image from ~3-4 months ago).
<colemickens> Maybe it's an issue with buildGoPackage?
<{^_^}> [nixpkgs] @qolii opened pull request #47896 → linux-hardkernel: 4.14.69-148 -> 4.14.73-149 → https://git.io/fxY6t
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #47897 → pythonPackages.pythondaemon: rename to pythonPackages.python-daemon → https://git.io/fxY63
orivej has quit [Ping timeout: 264 seconds]
iyzsong has quit [Ping timeout: 246 seconds]
jperras has joined #nixos
jperras has quit [Ping timeout: 244 seconds]
Diagon has joined #nixos
Diagon has quit [Max SendQ exceeded]
Diagon has joined #nixos
devx has joined #nixos
rummik has joined #nixos
teej has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #47694 → lsp-plugins: init at 1.1.4 → https://git.io/fxIsb
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fxYid
sigmundv__ has quit [Ping timeout: 244 seconds]
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
garbas has quit [Quit: WeeChat 2.2]
<adisbladis> colemickens: nix-daemon relies on having tar in $PATH
<adisbladis> Presumably you dont
<colemickens> Hm, I was running it under a systemd script, but nix-daemon would be running separately already right?
<colemickens> When I ran it normally via SSH it worked fine, so it's in my system environment.
<colemickens> It's not in the systemd path though, I can try that at least
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8a4a732e997 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @peterhoeg merged pull request #47842 → nixos system-activation: support activation scripts run in a user context → https://git.io/fxtrM
<{^_^}> [nixpkgs] @peterhoeg pushed 5 commits to master: https://git.io/fxYXY
<{^_^}> [nixpkgs] @peterhoeg opened pull request #47898 → nixos system-activation: support activation scripts run in a user context → https://git.io/fxYXR
mtjmullen has joined #nixos
slack1256 has quit [Ping timeout: 268 seconds]
<sevanspowell> Can I override my GHC compiler version with `pkgs.haskellPackages.pkgA` or is `pkgs.haskell.packages.${compiler}.pkgA` strictly better for this reason?
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0a7e258012b (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @bgamari opened pull request #47899 → qpdf: Fix URL of CVE-2018-9918.patch → https://git.io/fxYMk
<magnetophon> I noticed much more frequent updates of unstable lately. Is there a reason for that, or is it just because hydra coincidentally managed to build more packages than normal
<magnetophon> ?
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rummik has quit [Quit: WeeChat 2.0.1]
gspia has quit [Quit: Leaving]
snajpa has quit [Quit: ZNC 1.7.1 - https://znc.in]
buckley310 has quit [Ping timeout: 252 seconds]
sorki has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #47786 → ibus-engines.typing-booster-unwrapped: 2.1.1 -> 2.1.2 → https://git.io/fxLHk
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fxYDJ
gspia has joined #nixos
krkini has joined #nixos
NickHu has quit [*.net *.split]
galen has quit [*.net *.split]
Xiro` has quit [*.net *.split]
Xal has quit [*.net *.split]
troydm has quit [*.net *.split]
mvnetbiz has quit [*.net *.split]
srk has quit [*.net *.split]
reardencode has quit [*.net *.split]
monotux has quit [*.net *.split]
kini has quit [*.net *.split]
sorki is now known as srk
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon2 is now known as Mateon1
jtojnar has quit [Remote host closed the connection]
catern has quit [Ping timeout: 252 seconds]
jtojnar has joined #nixos
galen has joined #nixos
Xiro` has joined #nixos
mvnetbiz has joined #nixos
monotux has joined #nixos
reardencode has joined #nixos
Xal has joined #nixos
troydm has joined #nixos
andreabedini has joined #nixos
Izorkin has joined #nixos
<dhess> Whoot! ghc843 builds on aarch64
<dhess> plus some important haskellPackages
endformationage has quit [Quit: WeeChat 1.9.1]
iyzsong has joined #nixos
<jackdk> I have a hydra server that I want to use to CI code on a private gitlab. How do I store secrets like user/pw pairs in a hydra config?
<{^_^}> [nixpkgs] @dhess opened pull request #47901 → haskell: re-enable aarch64, but disable parallel builds on that arch. → https://git.io/fxYy2
Ariakenom has joined #nixos
rummik has joined #nixos
bemeurer has joined #nixos
<bemeurer> Hey hey
<bemeurer> I wanted to try and add this (https://github.com/kennytm/cargo-kcov) to my shell.nix file
<bemeurer> Does anyone have directions on how to do something like that?
<bemeurer> I'm using the mozilla overlay to get nightly Rust already
<bemeurer> (did my last 4 messages send?)
gspia_ has joined #nixos
alunduil has joined #nixos
Itkovian has joined #nixos
<Yaniel> I see a total of 5 messages from you
<bemeurer> Awesome, thank you for the confirmation :)
brejoc has joined #nixos
<alunduil> Is there any information on why the 18.09 release has been delayed?
<teto> alunduil: check the github tracker for the 18.09 milestone
Ariakenom has quit [Read error: Connection reset by peer]
brejoc has quit [Ping timeout: 264 seconds]
Wharncliffe has quit [Quit: Lost terminal]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @gebner pushed to master « whipper: add cddb dependency »: https://git.io/fxY9U
bemeurer has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @pvgoran opened pull request #47902 → nixos: correct improper uses of mkEnableOption, clarify service descr… → https://git.io/fxY9q
jackdk has quit [Ping timeout: 268 seconds]
Ariakenom_ has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #47692 → kubeval: init at 0.7.3 → https://git.io/fxIOg
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fxY9j
<{^_^}> [nixpkgs] @flokli opened pull request #47903 → ghostscript: fix icc profile validation → https://git.io/fxYHv
rummik has quit [Quit: WeeChat 2.0.1]
bemeurer has joined #nixos
brejoc has joined #nixos
bemeurer has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #47693 → envsubst: init at 1.1.0 → https://git.io/fxI3M
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fxYHj
<{^_^}> [nixpkgs] @carlosdagos opened pull request #47904 → ocamlPackages.ezxmlm: init at 1.0.2 → https://git.io/fxYQY
reinzelmann has joined #nixos
sir_guy_carleton has quit [Ping timeout: 245 seconds]
rtjure has quit [Ping timeout: 252 seconds]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #47905 → mariadb galera: 25.3.23 -> 25.3.24 → https://git.io/fxYQz
rtjure has joined #nixos
bemeurer has joined #nixos
ckauhaus[afk] is now known as ckauhaus
<{^_^}> [nixpkgs] @nyanloutre opened pull request #47906 → nixos/emby: fixes binary name change introduced by #47659 → https://git.io/fxY7z
Ariakenom_ is now known as Ariakenom
sir_guy_carleton has joined #nixos
grenade has quit [Ping timeout: 240 seconds]
<sir_guy_carleton> i think i ruined my sd-card
<Ke> ?
ij has joined #nixos
jasongrossman has joined #nixos
<sir_guy_carleton> i tried putting putting the nixos arm64 image on the disk, but i didn't read the docs carefully enough and i just put it in
worldofpeace has joined #nixos
<sir_guy_carleton> now the disk has a boot sector has a corrupted sector and i cannot get rid of it.
qqlq has joined #nixos
<Ke> not even dd if=/dev/zero of=/mmcblk0 bs=1M count=1 conv=fsync?
<Ke> where mmcblk0 is the sd card
<Ke> omit the question mark
<qqlq> I'm quite happy with my custom emacs derivation under Nixos and I want to use it under macOS as well, what's the correct way to add custom derivations and install them under regular Nix?
georges-duperon has joined #nixos
<sir_guy_carleton> Ke: haven't tired that
<Ke> do you know, what is the correct device?
<sir_guy_carleton> well, right now i'm using my main machines sd-card reader
<sir_guy_carleton> it's in sde
<Ke> ok
<sir_guy_carleton> and dd just says it's a read only file system
<clever> sir_guy_carleton: ls -l /dev/sde
<Ke> is it a full size SD card
<Ke> did you perhaps turn on the write protect switch
<sir_guy_carleton> ls -l /dev/sde says root/disk has write permissions
<clever> can you paste the output it gave here?
<sphalerite> qqlq: you can stick it in an expression file and run nix-env -f foo.nix -i
civodul has joined #nixos
<sphalerite> qqlq: so your emacs.nix might look like `with import <nixpkgs> {}; emacsPackagesNg.emacsWithPackages (ps: …)`
<sir_guy_carleton> Ke: just checked, it was not write protected.
<Ke> can you pastebin the kernel log
<qqlq> sphalerite: Roger that, thanks
goibhniu has joined #nixos
georges-duperon has quit [Ping timeout: 252 seconds]
yayforj has joined #nixos
Diagon has quit [Quit: Leaving]
<sir_guy_carleton> Ke: is that dmesg?
<sir_guy_carleton> http://pasted.co/96b54985
<clever> sir_guy_carleton: why is sde1 mounted?
<clever> you shouldnt have sde mounted when dd'ing to sde
sir_guy_carleton has quit [Disconnected by services]
sir_guy_carleton has joined #nixos
<clever> sir_guy_carleton: why is sde1 mounted?
<clever> you shouldnt have sde mounted when dd'ing to sde
__monty__ has joined #nixos
sir_guy_carleton has quit [Disconnected by services]
sir_guy_carleton has joined #nixos
thc202 has joined #nixos
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
ij is now known as siers
astronavt has quit [Read error: Connection reset by peer]
astronavt has joined #nixos
<sphalerite> oh yay, running two `nix-env -i`s concurrently leads to the effect of one being overridden
sir_guy_carleton has quit [Ping timeout: 272 seconds]
yayforj has quit [Ping timeout: 244 seconds]
<sphalerite> hoooooly crap hyper_ch2 did a first-name reveal??
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
jasongrossman has joined #nixos
roconnor has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @markuskowa opened pull request #47907 → rtl-sdr: 0.5.4 -> 0.6.0 → https://git.io/fxYFC
ThatDocsLady has joined #nixos
gspia_ has quit [Quit: Leaving]
grenade has joined #nixos
yayforj has joined #nixos
<hyper_ch2> sphalerite: I did not
Izorkin has quit [Disconnected by services]
<hyper_ch2> sphalerite: nobody ever asked
qqlq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dywedir opened pull request #47908 → uutils-coreutils: 2018-02-09 -> 2018-09-30 → https://git.io/fxYbu
<{^_^}> [nixpkgs] @srhb merged pull request #47880 → matrix-synapse: 0.33.5 -> 0.33.6 → https://git.io/fxYUn
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fxYbg
alex`` has joined #nixos
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @srhb pushed commit from @pacien to release-18.09 « matrix-synapse: 0.33.5 -> 0.33.6 »: https://git.io/fxYbM
bemeurer has quit [Quit: WeeChat 2.2]
johanot has joined #nixos
yayforj has quit [Remote host closed the connection]
worldofpeace has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #47909 → linux: inside nix-shell, allow make menuconfig → https://git.io/fxYpX
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<aramiscd> Hey, I'm looking for something like
<aramiscd> environment.gnome3.excludePackages
<aramiscd> but for packages in general
<aramiscd> Or is this just a dev channel?
<aramiscd> Specifically I'd like to remove xterm, and I'd like to do it via /etc/nixos/configuration.nix
<srhb> aramiscd: This is definitely a generic ask-questions channel :)
<aramiscd> srhb: Ok. Thanks.
<symphorien> aramiscd: an overlay with xterm=null; ?
<srhb> aramiscd: Before doing that, I think it's important to recognize that the only reason you have xterm, for instance, is because _some_ module is depending on it. It might be worth looking into which module pulled it in. :)
<symphorien> you can use nix why-depends for this
<symphorien> nix why-depends /run/current-system nixpkgs.xterm
<aramiscd> Thanks! Also for the overlay hint.
Twey has joined #nixos
LysergicDreams has quit [Ping timeout: 252 seconds]
symphorien has quit [Quit: WeeChat 2.2]
LysergicDreams has joined #nixos
asymmetric_ has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4e73b76ede4 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4e73b76ede4 (from 67 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
rembo10 has quit [Remote host closed the connection]
simukis has joined #nixos
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
Dedalo has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to staging « numactl: drop musl patch »: https://git.io/fxOv1
Izorkin has joined #nixos
Izorkin has quit [Client Quit]
Dedalo has quit [Client Quit]
carlosdagos has quit [Quit: Connection closed for inactivity]
Dedalo has joined #nixos
Izorkin has joined #nixos
boothead has joined #nixos
<boothead> Hi folks, I'm getting this error "error: current Nix store schema is version 10, but I only support 7". I'm trying to follow the instructions in the faq (https://github.com/domenkozar/nix-cookbook/blob/master/source/faq.rst) but running nix-store (/root/.nix-profile/bin/nix-store) is also giving the same error. Any tips?
<srhb> boothead: You need a newer Nix.
<srhb> boothead: You've probably ended up in this situation by running _some_ newer Nix, so it's presumably on your system, but now you're using an older one that's incompatible with it.
<srhb> boothead: Are you sure you want to downgrade the schema?
<boothead> srhb: yes, that certainly figures. How dp I make sure I'm running the latest?
<srhb> boothead: That's what the guide you linked describes. It seems to me, if you don't have a good reason not to upgrade, just go with a newer Nix. :)
<srhb> boothead: Well, we probably need more information about your system. is this Nix on NixOS or somewhere else?
b has joined #nixos
<boothead> Ah right - yeah, I don't want to downgrade. Looks like I didn't parse that error message properly :-)
<srhb> Ah good. :)
<boothead> It's nixos
<boothead> I thought I'd upgraded to 18.03
<srhb> boothead: What does /run/current-system/sw/bin/nix --version say?
<srhb> boothead: (Guessing that you simply have an old nix in root's profile right now)
<boothead> nix (Nix) 2.0.4
<srhb> Great
<srhb> Try /run/current-system/sw/bin/nix-env -e nix as root
<srhb> boothead: That should use the 2.0.4 nix to uninstall nix from root's profile
sevanspowell_ has joined #nixos
<boothead> OK - that seemed to work, now run nixos-rebuild switch --upgrade?
<srhb> As far as your error message is concerned, I think it should now be fixed. If you want to upgrade, sure, go ahead :)
<domenkozar> boothead: you probably just need to restart the daemon
<srhb> domenkozar: How'd you figure that? Wouldn't the 18.03 upgrade do that?
<domenkozar> well most probably some tool used nix unstable
<boothead> How do i restart the daemon domenkozar? Do I need to do that before I run upgrade?
<srhb> oooh
sevanspowell_ has quit [Client Quit]
<domenkozar> while the global nix version is older
<srhb> OK, that makes sense. Hadn't thought of that. :)
<domenkozar> nix migrates sqlite to latest schema version once it works
<domenkozar> s/works/runs/
<srhb> I think I misunderstood and thought boothead was already on 18.03
<domenkozar> boothead: probably best to upgrade NixOS anyway :)
rembo10 has joined #nixos
<boothead> Ok running upgrade now. Thanks for the help srhb and domenkozar!
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8c2c14ac392 (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
reinzelmann has quit [Quit: Leaving]
Mic92 has quit [Quit: WeeChat 2.2]
boothead has quit [Ping timeout: 256 seconds]
Mic92 has joined #nixos
magnetophon has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @maggesi merged pull request #47805 → fossil: 2.6 -> 2.7 → https://git.io/fxtvi
<{^_^}> [nixpkgs] @maggesi pushed 2 commits to master: https://git.io/fxOTN
garbas has joined #nixos
Izorkin has quit [Ping timeout: 252 seconds]
Mic92_ has joined #nixos
<{^_^}> [nixpkgs] @garbas merged pull request #47871 → notmuch: use test-database in checkPhase → https://git.io/fxmyf
<{^_^}> [nixpkgs] @garbas pushed commit from @erictapen to master « notmuch: use test-database in checkPhase »: https://git.io/fxOI8
Acou_Bass has joined #nixos
kai_w has joined #nixos
johanot has quit [Ping timeout: 268 seconds]
Acou_Bass has quit [Ping timeout: 252 seconds]
Izorkin has joined #nixos
Acou_Bass has joined #nixos
Mic92_ has quit [Quit: WeeChat 2.2]
Twey has quit [Ping timeout: 252 seconds]
Twey has joined #nixos
Izorkin has quit [Read error: Connection reset by peer]
b has quit [Quit: Lost terminal]
arianvp has joined #nixos
<arianvp> Hey, I have a question about NixOS and multi-user mode
<arianvp> So , a nixos-installation is also a nix multi-user installation, I assume, as all users can access the nix build commands
<arianvp> However, according to the nix docs, mutli-user mode only works if the login-script of each user sets NIX_REMOTE=daemon
<arianvp> But... My users on nixos don't have this env variable set, yet they can access all the commands
<arianvp> why?
<arianvp> and as soon as I create a container, that doesnt have this env variable, it can't access the nix commands, untill I set it
<rawtaz> arianvp: good question! im looking forward to hearing the answer :)
<rawtaz> arianvp: perhaps the nix tools default to looking for a socket somewhere in the filesystem, which exists when your nix daemon runs (which it does in nixos)?
<arianvp> first of all, that's not documented anywhere... but was my hypothesis as wlel
<arianvp> but the nix-daemon socket is mounted in the same location in nixos-container as it is on the host system
<arianvp> so I don't think that hypothesis holds
<arianvp> Ok i'll log off now, but I'll read back the logs later, if anybody has an answer :D
<elvishjerricco> arianvp: I think if you don't own the nix store, it assumes it's a daemon situatation
<elvishjerricco> i could be wrong on that though
<arianvp> aaaaah that would explain.... because the user inside the container is root
<arianvp> so it thinks it owns the nix store
<elvishjerricco> arianvp: You can always override the default behavior with `--store`, post-2.0 :)
<arianvp> Okay, I think I just figured out how to unbreak nixos-container command then.
<arianvp> lets see if I can get it in before the 18.09 release :)
<elvishjerricco> arianvp: Sounds interesting. What's the issue with nixos-container?
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinzelmann has joined #nixos
asymmetric_ has quit [Ping timeout: 246 seconds]
revtintin has joined #nixos
arianvp has quit [Ping timeout: 256 seconds]
silver has joined #nixos
boothead has joined #nixos
<boothead> Hi again. I've upgraded, rebooted and now: error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied
<boothead> Looking around it seems this might also be a problem with older versions of something being used?
<clever> boothead: which command did you run and get that error?
<boothead> I ran nix-env -qaP \* (/home/ben/.nix-profile/bin/nix-env according to which)
<clever> boothead: nixos?
<boothead> Yeah - just ran nixos-rebuild switch --updgrade as root to upgrade to 18.03
<clever> boothead: `/run/current-system/sw/bin/nix-env -e nix` to uninstall nix from your user profile, its outdated and you need to use the system one
<boothead> builder for '/nix/store/2sv63km1zjwnpbxp5a0j0cnlgksiqxql-user-environment.drv' failed with exit code 1 error: build of '/nix/store/2sv63km1zjwnpbxp5a0j0cnlgksiqxql-user-environment.drv' failed
<boothead> nix --version: nix (Nix) 2.0.4
<clever> what did it show above that error?
<boothead> uninstalling 'nix-1.11.8'
<boothead> building '/nix/store/2sv63km1zjwnpbxp5a0j0cnlgksiqxql-user-environment.drv'...
<clever> anything else?
<boothead> Look like I still have things in /home/ben/.nix-profile/bin
<boothead> No, just those 4 lines of output
<clever> that is strange, try again with -vvv and throw it in a pastebin
<LnL> the daemon isn't running
<LnL> or your store has weird permissions
<clever> the original error is nix1 in nix-env, and nix2 on the host
<LnL> oh it's a different error now?
johanot has joined #nixos
<ben> please don't delete /home/ben/.nix-profile/bin, that might become very inconvenient for me
<LnL> none of the lines you posed contain the actual error as far as I can tell
<clever> LnL: and when using nix2 to uninstall nix1, it jsut fails with failed with exit code 1 error: build of '/nix/store/2sv63km1zjwnpbxp5a0j0cnlgksiqxql-user-environment.drv' failed
<boothead> ben: hahah
<clever> error: getting status of '/nix/store/b7v6d0ig0rwmc6883xvmz4qy5hamh4i3-firefox-with-plugins-37.0.2/share/icons/firefox.png': No such file or directory
<{^_^}> [nixpkgs] @Vskilet opened pull request #47910 → nixos/emby : use the dataDir option → https://git.io/fxOYH
<clever> boothead: you need to also uninstall firefox-with-plugins, due to a bug in nix2
<clever> and/or upgrade it to a newer firefox
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fxOY5
<boothead> clever: nix-env --version: nix-env (Nix) 2.0.4
<boothead> BOOM - sorted, thanks!
<clever> the new nix-env fails if any symlinks in your profile point to non-existing files
<boothead> TIL!
symphorien has joined #nixos
alex`` has quit [Ping timeout: 250 seconds]
Jackneill has quit [Quit: Leaving]
alex`` has joined #nixos
astronavt has quit [Ping timeout: 252 seconds]
johanot has quit [Quit: WeeChat 2.0]
Jackneill has joined #nixos
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #47911 → webhook: init at 2.6.8 → https://git.io/fxOsF
<{^_^}> [nixpkgs] @erictapen opened pull request #47912 → scribus: 1.4.6 -> 1.4.7 → https://git.io/fxOGL
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « psi-plus: 1.3.410 -> 1.3.422 »: https://git.io/fxOGO
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
kwork has joined #nixos
Rusty1 has joined #nixos
arianvp has joined #nixos
<arianvp> elvishjerricco: nixos-container is broken since 17.09 basically
<arianvp> the docs state that you can execute "nix" commands inside the container
ThatDocsLady has quit [Ping timeout: 252 seconds]
<arianvp> which is not true anymore since nix 2.0, as it fails to acquire a read-lock on the nix-db
<arianvp> but it shouldn't acquire that lock in the first place ... and that was because when you do `nixos-container root-login` you are the root user ,and thus it thinks it owns the nix store
<arianvp> and hence doesn't talk to the nix-daemon, but tries to acquire the lock and modify the store itself
<arianvp> which fails
<{^_^}> #40355 (by cillianderoiste, 20 weeks ago, open): Imperative containers broken on 18.03/nixos-unstable
<{^_^}> [nixpkgs] @cryptix opened pull request #47913 → misc/vim-plugins: add posva/vim-vue → https://git.io/fxOCq
asymmetric_ has joined #nixos
<azazel> arianvp: that's a pity
<arianvp> I'm fixing it :)
<azazel> i didn't know
<azazel> ah
<arianvp> I hope ...
<arianvp> Just need to figure out how to make the `root-login` command set enivironment variables
<{^_^}> [nixpkgs] @pmiddend opened pull request #47914 → black: 18.6b4 -> 18.9b0 → https://git.io/fxOC4
trevorriles has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/c4eddcf2407 (from 33 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<arianvp> Okay.. more bugs inside nixos-container :(
<arianvp> /nix/var/nix/profiles/per-user/root is empty
<arianvp> how do I populate it? `nix-channel --add` doesn't populate it
<arianvp> this thing is really really messy :/
<clever> arianvp: thats the normal nix-env profile, its normal to be empty
<arianvp> but all nix commands currently fail now
<LnL> channel profiles don't change until you run an update
<arianvp> ah --update
<arianvp> [root@test:~]# nix run nixpkgs.hello warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs' does not exist, ignoring
<clever> arianvp: that is roots channels, which is different, and yeah, you need --udpate then
<arianvp> nix-channel --update deadlocks in a container on a FUTEX_WAIT
<arianvp> and never terminates
<arianvp> oh wait. that's my fault
<arianvp> hmm. network is dead inside nixos-container
<arianvp> does it disable network by default?
<clever> it shouldnt, i believe
<arianvp> can't ping the containers I create either .
<goibhniu> arianvp: I think you need to set the nat.externalInterface
<goibhniu> on the host
<goibhniu> there's a section about it in the manual IIRC
<arianvp> oh yeh I see
jperras has joined #nixos
<arianvp> some times the `nixos-container start` and `stop` containers do not terminate
<arianvp> nope, still no network, even after enabling the nat stuff :(
<arianvp> do I need to disable firwall?
<arianvp> aaaaah.. NetworkManager
<arianvp> :)
asymmetric_ is now known as asymmetric
<{^_^}> [nixpkgs] @xeji merged pull request #47816 → eid-mw: 4.4.7 -> 4.4.8 → https://git.io/fxtmy
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « eid-mw: 4.4.7 -> 4.4.8 (#47816) »: https://git.io/fxOWj
<{^_^}> [nixpkgs] @xeji merged pull request #47807 → containerd: 1.1.2 -> 1.1.4 → https://git.io/fxtJi
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « containerd: 1.1.2 -> 1.1.4 (#47807) »: https://git.io/fxOlf
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « brogue: 1.7.4 -> 1.7.5 (#47830) »: https://git.io/fxOlI
<{^_^}> [nixpkgs] @xeji merged pull request #47830 → brogue: 1.7.4 -> 1.7.5 → https://git.io/fxtCQ
zemm has quit [Ping timeout: 268 seconds]
nuncanada has joined #nixos
arianvp_ has joined #nixos
<goibhniu> it will be awesome if you can fix this arianvp!
<arianvp_> :)
<arianvp_> I agree!
<arianvp_> still no network inside the containers. Can't ping them from the host either
<goibhniu> oh!
arianvp has quit [Ping timeout: 256 seconds]
arianvp_ is now known as arianvp
<arianvp> :(
<goibhniu> and you have: networkmanager.unmanaged = [ "interface-name:ve-*"];
<arianvp> yes
<arianvp> also disabled the firewall, just in case
<arianvp> oh wait. I think I found it
<goibhniu> and nat.internalInterfaces = ["ve-+"];
<arianvp> I copied "eth0" verbatim, without changing it
<arianvp> :)
<goibhniu> that'd do it :D
<arianvp> nope
<arianvp> maybe reboot?
<goibhniu> hrm, it's worth a shot
<goibhniu> actually, I'm pretty sure you don't need to reboot
<goibhniu> at least I've been able to change the nat.externalInterface without rebooting
<arianvp> do I need to set masquerading sysctl flag?
mayhewluke has quit [Ping timeout: 272 seconds]
<goibhniu> I don't have that set
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/862fb5215f0 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<exarkun1> What is an "attribute set of modules"?
<exarkun1> sorry, "attribute set of submodules"?
<arianvp> very odd
mayhewluke has joined #nixos
<arianvp> i'm going to try to reboot, just in case, brbr
<goibhniu> hrm, I have the tun kernel module loaded
<goibhniu> not sure if that helps
arianvp_ has joined #nixos
<arianvp_> back
<arianvp_> reboot worked :)
<goibhniu> nice!
<arianvp_> [root@test:~]# nix run nixpkgs.hello -c hello Hello, world!
<arianvp_> success!
arianvp has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #47857 → sec: 2.8.0 -> 2.8.1 → https://git.io/fxtpD
<{^_^}> [nixpkgs] @xeji pushed commit from @4z3 to master « sec: 2.8.0 -> 2.8.1 (#47857) »: https://git.io/fxO4k
fendor has joined #nixos
<symphorien> exarkun1: the <name> in https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E
Ariakenom has quit [Ping timeout: 244 seconds]
nschoe has joined #nixos
astronavt has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47896 → linux-hardkernel: 4.14.69-148 -> 4.14.73-149 → https://git.io/fxY6t
<{^_^}> [nixpkgs] @xeji pushed commit from @qolii to master « linux-hardkernel: 4.14.69-148 -> 4.14.73-149 (#47896) »: https://git.io/fxOBj
<{^_^}> [nixpkgs] @xeji merged pull request #47851 → imagemagick7: 7.0.8-6 -> 7.0.8-12 → https://git.io/fxtHE
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « imagemagick7: 7.0.8-6 -> 7.0.8-12 (#47851) »: https://git.io/fxORk
catern has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #47915 → zn_poly: 0.9 -> 0.9.1 → https://git.io/fxORu
redj has quit [Ping timeout: 252 seconds]
<arianvp_> Okay PR on the way
<arianvp_> how do I run nixos tests?
<arianvp_> I modified a test under nixpkgs/nixos/tests/containers-imperative.nix
<andi-> arianvp_: e.g from within `nixpkgs/nixos`: nix-build -I nixpkgs=.. tests/firefox.nix
<arianvp_> thanks andi-
astronavt_ has joined #nixos
Twey has quit [Ping timeout: 252 seconds]
astronavt has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 252 seconds]
Twey has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47847 → unoconv: fix reference to libreoffice → https://git.io/fxt9B
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « unoconv: fix reference to libreoffice (#47847) »: https://git.io/fxO0H
<arianvp_> why don't nixos-modules have maintainers?
<arianvp_> like nixpkgs?
<{^_^}> [nixpkgs] @timokau merged pull request #47915 → zn_poly: 0.9 -> 0.9.1 → https://git.io/fxORu
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fxO0b
<kandinski> is it possible to pin a package version so when I do nix-env -u that package stays behind?
teoma has joined #nixos
iyzsong-x has joined #nixos
astronavt__ has joined #nixos
iyzsong has quit [Ping timeout: 245 seconds]
asymmetric has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #47916 → Update CONTRIBUTING.md → https://git.io/fxOE7
<manveru> arianvp_: look at `git blame` i guess... in the end we're all maintainers of everything we use :)
teoma has quit [Read error: Connection reset by peer]
astronavt_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @arianvp opened pull request #47917 → Fix imperative containers → https://git.io/fxOuk
reinzelmann has quit [Quit: Leaving]
iyzsong has joined #nixos
iyzsong-x has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #47837 → nixpkgs: Start documenting library functions in XML → https://git.io/fxtgY
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fxOul
Dedalo has joined #nixos
<{^_^}> [nixpkgs] @grahamc pushed to release-18.09 « nixpkgs: Start documenting library functions in XML »: https://git.io/fxOua
<manveru> gchristensen++
<{^_^}> gchristensen's karma got increased to 33
<gchristensen> =)
<manveru> XML--
* manveru hides
<bgamari> where can the dig utility be found?
<andi-> ,locate dig
<{^_^}> Found in packages: host.dnsutils
<siers> bind utils
<siers> really
<bgamari> I would have expected bind as well
<bgamari> and indeed that's what the command-not-found wrapper claims
<manveru> bind has mdig though
<siers> yeah, it's in bind for me
<bgamari> but it doesn't seem to exist
<andi-> pkgs/servers/dns/bind/default.nix
<andi-> 16: outputs = [ "out" "lib" "dev" "man" "dnsutils" "host" ];
<bgamari> aahh
<{^_^}> #47917 (by arianvp, 6 minutes ago, open): Fix imperative containers
<arianvp_> Oh the nixos bot already said so. nice
snajpa has joined #nixos
<bgamari> it would be nice if the command-not-found wrapper told you which output you needed
julm has quit [Ping timeout: 252 seconds]
julm has joined #nixos
<andi-> bgamari: why output? all-packages.nix has the line "dnsutils = bind.dnsutils"
Twey has quit [Ping timeout: 252 seconds]
Twey has joined #nixos
orivej has joined #nixos
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wpcarro has joined #nixos
<wpcarro> I'm having trouble getting my resolutions correct with NixOS. I'm using a 15" unibody MBP. Unless I use the max resolution (2880 x 1800), the antialiasing looks off. The problem with the high resolution is that things like Chrome and 14px fonts look pretty small. Has anyone else had trouble with this?
trevorriles has joined #nixos
Denommus has joined #nixos
<clever> > host
<{^_^}> "<derivation /nix/store/n70b8hhlzl3gj7nrjqfy16x6sfj2yd2h-bind-9.12.2.drv>"
<ivan> use the native panel resolution and then set your dpi, most things will respect that, and Chrome and Firefox are especially good at scaling
<clever> bgamari: host is an alias to bind
<manveru> wpcarro: can you try `fonts.fontconfig.ultimate.enable = true;`?
<wpcarro> manveru: what does that do?
<wpcarro> ivan: can the configuration.nix set the dpi?
<manveru> also you can change default/minimum font sizes in browsers
<wpcarro> manveru: yeah I might do that, but as a web designer, I'd prefer to see fonts set however the original CSS set them
<ivan> the "standard" is 96
<goibhniu> arianvp_: you absolute legend! \o/
<{^_^}> [nixpkgs] @maggesi opened pull request #47918 → hol_light: 2017-07-06 -> 2018-09-30 → https://git.io/fxO2m
<wpcarro> ivan: so try setting it to 96 and then scale down/up?
<manveru> wpcarro: `fonts.fontconfig.dpi`, you can set it if autodetect fails
<wpcarro> Apologies, this is all foreign to me, but I'm learning
<manveru> generally all options here: https://nixos.org/nixos/options.html#fontconfig :)
<ivan> wpcarro: try doubling
<wpcarro> Ok so maximize the resolution and then decrease the DPI until everything feels more... normal?
<ivan> yes
nuncanada has quit [Quit: Leaving]
<wpcarro> Okay great!
teoma has joined #nixos
<wpcarro> The only other issue I've been having with Nix is trying to figure out sensible keybindings to support Readline things (ie Ctrl-{a,e,f,b}) and other things like Ctrl-v, Ctrl-c (copy-paste) etc
<wpcarro> But I don't really know how to frame that question yet to get the answer I'm after. Maybe just growing pains switching from OSX to Linux
iyzsong has quit [Ping timeout: 268 seconds]
<wpcarro> other than that, my experience has been sensational. Cannot use anything use but NixOS I don't think
<teoma> My NixOS 17.09 computer suddenly doesn't boot (just a blinking cursor, no GRUB menu). I can boot from a USB stick and mount the HD on /mnt. /mnt/run is empty (normal?) so `chroot /mnt' fails. What's the simplest way to reinstall GRUB?
wpcarro has quit [Remote host closed the connection]
<goibhniu> arianvp_: if you PM me your email address, I'd like to send you a little present ... that bug has been haunting me for ages :D
<srhb> teoma: Mounting everything and running nixos-install, probably. Otherwise you can also use nixos-enter to get a more functional chroot system
siers has quit [Ping timeout: 268 seconds]
<teoma> srhb: I'll look into those, thanks!
wpcarro has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @ikervagyok opened pull request #47919 → [WIP] services.nextcloud: add port option → https://git.io/fxOwc
wpcarro has quit [Client Quit]
Dedalo has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
astronavt has joined #nixos
astronavt__ has quit [Read error: Connection reset by peer]
xok has joined #nixos
<xok> hello all...
wpcarro has joined #nixos
astronavt has quit [Max SendQ exceeded]
<hodapp> hello............
<teoma> After nixos-enter, nixos-rebuild gives this error while building the system configuration: Error in tempdir() using /run/user/0/nix-build.XXXXXX: Parent directory (/run/user/0) does not exist at /nix/store/br9pr4npwp4lqyzafpq9chvmzvganj0j-nix-1.11.15/lib/perl5/site_perl/5.24.3/x86_64-linux-thread-multi/Nix/Utils.pm line 45. /run is not empty but /run/user doesn't exist. Any idea what to do?
astronavt has joined #nixos
astronavt has quit [Max SendQ exceeded]
astronavt has joined #nixos
<teoma> Ah, I set TMPDIR to /tmp, and that seems to work.
<wpcarro> ivan: DPI settings worked *magically*
<xok> I am using an nginx package, there are some modules available for it, can anyone explain how do I use modules for nginx?..
<wpcarro> Thank you so much - I wish I would've asked this question sooner instead of tolerating the miniscule display
astronavt has quit [Max SendQ exceeded]
astronavt has joined #nixos
<wpcarro> Does anyone know if Nix supports changing the cursor size? Or is that handled at the X11 configuration level?
<wpcarro> Or maybe even i3wm... still trying to sort out whose responsibility is what
<jasongrossman> wpcarro: Many things (e.g. key bindings) can be configured at more than one level. Which is a real pain compared to something more unified like MacOS.
<wpcarro> jasongrossman: that's what I'm starting to realize. I always prefer the declarative, configuration.nix way if it's supported
<ivan> wpcarro: you need a "cursor theme" with a size above 16
<wpcarro> too many scatted rc, config, etc files gives me anxiety
<ivan> some themes have multiple sizes like DMZ White
<jasongrossman> wpcarro: Right, but not much in the way of user preferences (as opposed to system preferences) has Nix options ... although some does.
<gchristensen> omg y'all, I got link-to-definition working for docs
<jasongrossman> wpcarro: You can unscatter your config files using home manager if you like (do you know about that?).
<wpcarro> ivan: thanks for the link. I'm slowly learning that the Arch Docs are super helpful for NixOS
<jasongrossman> wpcarro: But home manager doesn't ensure compatibility between programs the way NixOS options do.
<wpcarro> jasongrossman: I have Home Mgr in the back on my mind - saving it for when I fully get Nix beneath me. Needless to say - I'm intrigued. Just a tad overwhelmed atm trying to learn how everything boostraps, etc
<wpcarro> I was an OSX user for close to 10 years
<jasongrossman> wpcarro: Home manager is much less important than other Nix things, IMO.
<wpcarro> jasongrossman: for now, I manage most things with `stow` and a personal dotfiles repo
<wpcarro> It works pretty well as long as I'm disciplined about commiting updates and whitelisting new configs in stow
<jasongrossman> wpcarro: I don't think home manager is any improvement on that.
<symphorien> wpcarro: then for the copy paste issue you mentionned earlier, do you know about select/midle mouse button ?
<{^_^}> [nixpkgs] @grahamc opened pull request #47920 → docs: Link to Definition → https://git.io/fxOKL
astronavt has quit [Remote host closed the connection]
<gchristensen> ^ samueldr, LnL ^.^
<wpcarro> symphorien: I'm having a tough time knowing when to press Ctrl-v and when to middle-click
astronavt has joined #nixos
<jasongrossman> gchristensen++
<{^_^}> gchristensen's karma got increased to 34
<wpcarro> I have an alias `pbcopy` that is `xclip -selection clipboard -i` and `pbpaste` that is `xclip -selection clipboard -o` then kind of simulate OSX's commands
<wpcarro> But I'm still having trouble copying bw terminal, browser, Emacs, and Vim
<jasongrossman> wpcarro: You have to decide whether you want to use both of X's two main clipboards, or only one of them. (I only use one.)
<symphorien> well there are two totally independent paste buffers
<wpcarro> So I kind of just mash the keys until my text appears (sad but true)
<wpcarro> jasongrossman: I'd *love* to just have one
<jasongrossman> wpcarro: Then just use one and ignore the other one.
<wpcarro> My backlog of Nix improvement waxes with each passing day
<wpcarro> jasongrossman: ok I imagine that's config'd in some xresources config?
<jasongrossman> wpcarro: There isn't much consistency of keys compared to MacOS, but almost all terminals use shift-control-{c,v} while almost all other programs use control-{c,v}.
<jasongrossman> wpcarro: No, they both exist whether you use them or not, but you can ignore whichever one you don't like. Read up about X if you need to know the difference.
<wpcarro> jasongrossman: ah I see
<wpcarro> Thanks. Will add it to my litany of "things I don't know about Linux OSes"
<jasongrossman> wpcarro: I just use the clipboard (only), although I think it would make equal sense to use the primary selection (only).
siers has joined #nixos
<wpcarro> jasongrossman: got it. Great link btw
<jasongrossman> ty
<wpcarro> Sanity is just around the corner...
<jasongrossman> Another important thing to do after switching to Linux is to go to bed at an appropriate time, so I'm doing that now.
<jasongrossman> ,night
<{^_^}> Night!
<wpcarro> haha goodnight. Thanks for the help
xok has quit [Read error: Connection reset by peer]
xok has joined #nixos
mt has left #nixos [#nixos]
wpcarro has quit [Quit: Lost terminal]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/131cb302abb (from 65 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @bjornfor pushed commit from @markuskowa to master « rtl-sdr: 0.5.4 -> 0.6.0 »: https://git.io/fxOiU
<{^_^}> [nixpkgs] @bjornfor closed pull request #47907 → rtl-sdr: 0.5.4 -> 0.6.0 → https://git.io/fxYFC
<fgaz> Is there a way to allow network access during builds?
<fgaz> I didn't find anything in the options
<goibhniu> fgaz: you really don't want to do that
<goibhniu> fgaz: are you writing a package?
<fgaz> goibhniu: I know I shouldn't, but there's this program that fetches deps at build time
<fgaz> via http no less
<fgaz> And I just want to have a working package, regardless of reproducibility
<goibhniu> yeah, you usually need to download the deps yourself, and possibly hack the build script to not try to download them itself
erasmas has joined #nixos
<goibhniu> you could possibly build it inside nix shell though
<fgaz> goibhniu: I need a package though, since I want to copy it to other machines and possibly nix-bundle it
<symphorien> you can try --option sandbox false
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<glasserc> How do I roll back more than one generation? sudo nixos-rebuild switch --profile ?
duckwho has joined #nixos
<fgaz> symphorien : it works, thanks! Didn't it default to false before?
wpcarro has joined #nixos
<symphorien> not since nix's last release
<{^_^}> [nixpkgs] @timokau merged pull request #47906 → nixos/emby: fixes binary name change introduced by #47659 → https://git.io/fxY7z
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fxOPg
<symphorien> glasserc: /nix/var/nix/profiles/system-423-link/bin/switch-to-configuration switch
arianvp_ has quit [Ping timeout: 256 seconds]
<glasserc> symphorien: Thanks
<wpcarro> Has anyone been able to successfully change their cursor theme using a package from nixpkgs? I'm trying it now with vanilla-dmz and I'm following the Arch "cursor theme" wiki for X11 setup, but I cannot seem to get my system to use it
<wpcarro> I'm modified my ~/.XResources, ~/.xinitrc and rebooted my machine. Still nothing
<symphorien> try ~/.Xdefaults
<wpcarro> as in - moving XResources -> XDefaults?
<symphorien> yes, but with lowercase d
<wpcarro> gotcha. restarting services now, so going offline
<wpcarro> (to test)
<symphorien> you can reload with xrdb
wpcarro has quit [Remote host closed the connection]
sgraf has quit [Quit: Leaving]
MrFrog has joined #nixos
<symphorien> ,tell wpcarro pay attention that in the article they talk about .Xresources not .XResources
<{^_^}> symphorien: I'll pass that on to wpcarro
Denommus has quit [Remote host closed the connection]
Twey has quit [Quit: WeeChat 2.1]
astronavt has quit [Read error: Connection reset by peer]
astronavt has joined #nixos
earldouglas has left #nixos [#nixos]
<MrFrog> i'm new to nix and on a mac and having issues installing a package (elasticsearch). it looks like i'm missing a command "patchelf". i'm unsure if something is wrong with the package, my environment, or how i'm writing my `shell.nix` file: https://pastebin.com/chGfuenp
emerson has quit [Quit: WeeChat 2.2]
emerson has joined #nixos
astronavt_ has joined #nixos
astronavt has quit [Read error: Connection reset by peer]
Twey has joined #nixos
astronavt_ has quit [Read error: Connection reset by peer]
astronavt_ has joined #nixos
<sphalerite> MrFrog: it looks like the elasticsearch package doesn't support macOS
<sphalerite> :/
<MrFrog> sphalerite: oh perfect thanks! good to know. just really wasn't sure why something that felt simple was failing
<MrFrog> is there something that makes it obvious it doesn't support macOS? patchelf specifically?
Twey has quit [Disconnected by services]
Twey has joined #nixos
<Twey> Sorry, got disconnected
<sphalerite> yeah patchelf just isn't for macos stuff, and the way that the elasticsearch build tries to use it even though you're on macos suggests that the author of the package didn't take macos into account
<Twey> In case it didn't get sent: How do I use PulseAudio? I tried https://nixos.wiki/wiki/PulseAudio but a) pulse isn't running as a service and b) I can't run the PulseAudio mixer (the closest I got was `nix-shell -p python3Packages.python python3Packages.pyqt5 python3Packages.dbus-python --run qpaeq`, which gives `No module named 'dbus.mainloop.pyqt5'`)
<MrFrog> sphalerite: actually one interesting thing is if i install like `nix-env -i elasticsearch` it seems to work (well at least gets to the point that when i run the command it wants me to set some paths so it knows where to work with data i believe)
<symphorien> ,-A MrFrog
<{^_^}> MrFrog: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<symphorien> you may be installing something else, unwillingly
<sphalerite> MrFrog: huh, that's weird
<sphalerite> MrFrog: does `nix-shell -p elasticsearch` work?
<MrFrog> sphalerite: no same issue (i ran `NIXPKGS_ALLOW_UNFREE=1 nix-shell -p elasticsearch`)
<Twey> Hm, it looks like systemd doesn't see PA's unit files: Failed to start pulseaudio.service: Unit pulseaudio.service not found.
<Twey> Though I have /nix/store/ydcsvfyi6g8wgm53wc6clzvy5f45dr56-unit-pulseaudio.service
<Twey> And /nix/store/ydcsvfyi6g8wgm53wc6clzvy5f45dr56-unit-pulseaudio.service/pulseaudio.service
<goibhniu> Twey: have you enabled it?
<Twey> goibhniu: I have hardware.pulseaudio.enable = true; and nixpkgs.config.pulseaudio = true;
Dedalo has joined #nixos
<symphorien> and sound.enable = true ?
<Twey> That's all I've done; do I need to do anything else? The wiki told me it should just work :(
<Twey> symphorien: Hm, no, though I had sound before installing PulseAudio (and indeed still have sound: it's just removed all my mixers)
<Twey> (so now everything plays through my speakers >.>)
<MrFrog> symphorien: good to know about -i and -A. if i run `nix-env -f '<nixpkgs>' -iA elasticsearch` then there's no output and nothing happens, is that a sign that the package isn't intended for macOS? if i do `nix-env -f '<nixpkgs>' -iA hello` that works
<clever> Twey: by default, PA runs in a per-user mode, not a system-wide mode
<clever> Twey: so there is no service files for the daemon
<Twey> Oho
<Twey> Thank you
<clever> Twey: /etc/pulse/client.conf controls what a client auto-starts, if the daemon is missing
<goibhniu> as symphorien says, you do also need sound.enable
<clever> which allows you to still configure it system wide, but individual apps can still start it on demand
<Twey> I notice it's running on my user
<Twey> How can I control it?
<clever> Twey: try running pavucontrol and look at the levels
<symphorien> MrFrog: it is a bug, on macos nix silently ignores unfree stuff
<Twey> clever: Hm, it sees my speakers and my headphone jack, but the mixers are disabled
<clever> Twey: perhaps its just on mute?
<Twey> Oh, just because I had audio muted
<Twey> Yeah
<Twey> It doesn't see my HDMI output
<Twey> Can I tell it about that?
<symphorien> nvidia card ? this can interfere
<clever> Twey: and youve checked the output devices tab?
<clever> ive had to disable hdmi audio on my end
<Twey> clever: Yes, and ‘all’ is enabled
<clever> i'm using DVI adapters, and pulse is still trying to feed audio to the speakerless monitors
<MrFrog> ok perfect, thanks all for your help. i'm realizing now that it wasn't installing elasticsearch correctly before either, it was just getting a command in place that was misleading me (even though it had failed in the postfixup stuff)
<Twey> I had HDMI working through ALSA, but I wanted to be able to hotswitch between headphones/HDMI and the ALSA people told me that's too hard to do in ALSA and involved writing C and I should just use PA
<Twey> But PA doesn't seem to see the HDMI output at all
<clever> Twey: you should be able to do that from the playback tab in pavu
<clever> Twey: oh, make sure nothing is using the hdmi over alsa, when you start the pa daemon
<clever> PA cant claim any alsa devices that are in use by other things
<clever> `pactl exit` to kill the pa daemon, it will self-restart, and then you may gain hdmi devices
<Twey> Playback only shows ‘System Sounds’
<clever> then nothing is currently using pulse to make noise
<clever> start something up
Synthetica has quit [Quit: Connection closed for inactivity]
Tucky has quit [Quit: WeeChat 2.2]
astronavt_ has quit [Ping timeout: 252 seconds]
<sphalerite> symphorien: it's not just on macos is it? It's nix-env in general iirc
<Twey> clever: No sound is coming through HDMI :(
<clever> Twey: check the playback tab to see where it is routed
<Twey> clever: I can unmute ‘built-in audio’ and get audio through my speakers
jperras has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @samueldr merged pull request #47898 → nixos system-activation: support activation scripts run in a user context → https://git.io/fxYXR
<{^_^}> [nixpkgs] @samueldr pushed 4 commits to release-18.09: https://git.io/fxOHe
<Twey> clever: ‘Built-in Audio Analog Stereo’ (I think this refers to my internal speakers)
<clever> Twey: ok, try stopping all audio related applications, including pavucontrol, and `pactl exit`, then check `ps aux | grep pulse`, is it running again?
<samueldr> Twey: using pavucontrol, check in "Output Devices" tab which one has the "Set as fallback" option selected?
<Twey> clever: Yes
<clever> Twey: if you `pactl exit` and re-check pulse, is it a different pid?
<Twey> samueldr: I have only one device there
<Twey> clever: Yep, seems it restarted
<samueldr> in the condiguration tab, do you have other devices on which you can enable/disable profiles?
<samueldr> (sorry if I missed something you said earlier)
<Twey> samueldr: Oooh.
<clever> Twey: check `ps -eH x` and see which process is above it
<Twey> samueldr: I have a drop-down there with HDMI things in it.
<clever> Twey: ah yeah, you can do things like changing the codec and bitrate for the hdmi output
<clever> which changes the outputs and inputs on the device
<samueldr> on nvidia class hardware I have the GF108 High Definition Audio Controller; on intel hardware I have two "Built-in Audio", one being HDMI the other the jack+speakers
worldofpeace has joined #nixos
<clever> related, bluetooth devices have a profile option on the configuration tab
<clever> and the high quality audio profile, gives you stereo playback, but no capture, making it useless for voice calls
<samueldr> yes, HSP or A2DP
<clever> the phone profile has mono playback and mono capture
<Twey> samueldr: That's all I have, though — I can select it from the dropdown under ‘Built-in Audio’ but there are no other controls for anything
<samueldr> (A2DP is probably the desired one, though it doens't have audio capture)
<samueldr> yeah, I never have seen other controls than "Profiles" under the Configuration tab
<clever> Twey: can you pastebin the output of `pactl list` ?
<clever> samueldr: for my desktop sound card, with custom PA configs, i can even do audio capture on 3 inputs at once (front and rear mic, plus line-in)
<clever> but its really fiddly and i had to patch pulseaudio to even support it
<Twey> 1317 ? Ss 0:00 /nix/store/3p7l67jgj2fqxh2gzybawcyh3j305cf9-systemd-239/lib/systemd/systemd --user ← this is above it
<samueldr> clever: meant *from* the bluetooth device
<samueldr> because yeah, I do audio out to bluetooth, but input from a discrete usb interface
<clever> ah
<clever> Twey: ah, so its being restarted by a systemd-user service, what about the pastebin of `pactl list` ?
<samueldr> with the HSP profile the blutooth headset does audio capture and playback... but isn't really useful :/
<clever> samueldr: for my desktop, there are 3 capture volume sliders, all named `Capture`, and also 3 muxes all named `Input Source`
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> clever: heh, I tend to avoid the headaches of figuring it out (inside pulseaudio) by disabling everything I can
<clever> samueldr: but also, there are only 3 choices total, so the entire mux grid is pointless, and you can just hard-wire each channel to a single input
<clever> samueldr: the problem, is that the pa config files, dont support index, when mapping alsa mixers to virtual devices
<Twey> I really want to package OSS4, shame it's such a pain…
<clever> so you have no way to refer to the 2nd and 3rd duplicates, without patching PA itself
<clever> which i did :P
<clever> Twey: line 520, you only have a single audio card, using the snd_hda_intel driver
<Twey> clever: That's consistent with what I've seen in ALSA
<clever> Twey: line 545-570, some of its profiles include hdmi audio out
jD91mZM2 has joined #nixos
<clever> Twey: so just select an hdmi capable profile in the configuration tab, and then built-in audio will go to hdmi instead
<Twey> clever: I did, but it doesn't make any sound through the HDMI
<clever> try a different profile, some may not be compatible with the remote device
<clever> it also looks like your driver is a bit limited, and can only do speaker or hdmi, and never both
nschoe has quit [Ping timeout: 245 seconds]
<symphorien> sphalerite: possible. I only encountered it once on macos, so I can't tell.
<clever> symphorien: ive also heard of the same bug on linux i believe
<symphorien> ah ok
nschoe has joined #nixos
endformationage has joined #nixos
<Twey> clever: Ooh, I managed to find an HDMI profile that works!
<Twey> I tried them all and none of them worked, and then I tried them again and one of them started playing sound through HDMI
<Twey> Though given that I have only one device I can't fallback…
MrFrog has quit [Quit: Page closed]
Twey has quit [Disconnected by services]
Twey has joined #nixos
<clever> Twey: yeah, things will fail hard if that device disapears, but you can load a null sink to help with that
<clever> `pactl load-module module-null-sink` to temporarily load one
<clever> then when you change profiles, it will loose the built-in audio sink, switch to the null
<clever> and then you regain the built-in audio, and it switches back
<clever> that should allow you to change profiles while it is playing audio
Twey has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
Acou_Bass has quit [Ping timeout: 240 seconds]
astronavt has joined #nixos
lopsided98 has quit [Quit: Disconnected]
jperras has joined #nixos
lopsided98 has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #47922 → slurm: add lz4 dependency → https://git.io/fxO5x
nschoe has quit [Ping timeout: 252 seconds]
sigmundv__ has quit [Ping timeout: 246 seconds]
kai_w has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @grahamc merged pull request #47920 → docs: Link to Definition → https://git.io/fxOKL
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/fxOdD
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to release-18.09: https://git.io/fxOFL
<gchristensen> docs are gonna look brand new for 18.09 :)
<sphalerite> gchristensen++
<{^_^}> gchristensen's karma got increased to 35
<hodapp> hrm. I should do my patch to optionally add libxml2 to gdal soon even if it may not make it into 18.09
<disasm> ooh!
<{^_^}> [nixpkgs] @Mic92 merged pull request #47519 → vagrant: remove unused vendored Gemfile{,.lock} → https://git.io/fxfkb
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxOFM
<glasserc> Is there a clever way to `diff` two generations of a NixOS profile?
<{^_^}> [nixpkgs] @Mic92 merged pull request #47913 → misc/vim-plugins: add posva/vim-vue → https://git.io/fxOCq
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxOFA
<clever> glasserc: if you have the .drv for each generation (nix-store --query --deriver) you can use nix-diff to see how the compile directions differed
trevthedev has joined #nixos
<trevthedev> how do i enable xwinwrap on nixos?
<trevthedev> services.xserver.xwinwrap.enable = true; doesnt work, as xwinwrap doesnt exist
<jD91mZM2> Oooo, 18.09 is surely out now! Didn't notice! How does one upgrade?
<gchristensen> jD91mZM2: not quite yet, but like ... next 24hrs :)
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9d5f0ba8e3d (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<rawtaz> jD91mZM2: its right in the documentation, Upgrading NixOS
<rawtaz> just readding channel to get it to the new version, then rebuild
<rawtaz> wish a switch to update the channels
<gchristensen> (but it isn't released just yet)
trebuh has quit [Remote host closed the connection]
<hodapp> is it already past the cutoff of what from master is being merged in?
<jD91mZM2> gchristensen: Releasing 18.09 the tenth month? :P
<jD91mZM2> rawtaz: Ah, thanks
trebuh has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.0]
<glasserc> clever: Thanks!
<trevthedev> nvm to my problem, i got it fixed
trevorriles has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d916a0f9ce9 (from 32 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
vandenoever has joined #nixos
<{^_^}> [nixpkgs] @magnetophon closed pull request #47892 → plugin-torture: 2016-07-25 -> 5 → https://git.io/fxYr1
jperras has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
trevthedev has quit [Quit: WeeChat 2.0]
Ariakenom has joined #nixos
<glasserc> Hmm, if I'm reading this correctly, it seems like "opengl-drivers" is no longer part of my deriver. That seems strange
wpcarro has joined #nixos
<vandenoever> glasserc: might be related to this: https://github.com/NixOS/nixpkgs/issues/46939
<{^_^}> #46939 (by vandenoever, 2 weeks ago, open): firefox cannot find opengl when installed with nix-env
<wpcarro> Has anyone here had success changing their cursor size and theme in NixOS? I've tried following along with the Arch Wiki, but seems like no matter what I change I'm stuck with the default (tiny) cursor. I'm using i3wm and figured this would be managed with X11
<{^_^}> wpcarro: 2 hours, 31 minutes ago <symphorien> pay attention that in the article they talk about .Xresources not .XResources
<wpcarro> {^_^}: thank you. that was mistyped on my part. I'm using .Xresources - still no effects
lopsided98 has quit [Quit: Disconnected]
<gchristensen> jdnavarro: sometimes it just takes us volunteers a few extra days to finish it off :)
<gchristensen> oops, jd9...ohthey'regone
lopsided98 has joined #nixos
<wpcarro> I've even tried .Xresources -> .Xdefaults. I have `xrdb ~/.Xresources` in my `.xinitrc` and in my i3 config ... open to trying other things
fendor has quit [Ping timeout: 260 seconds]
<symphorien> wpcarro: https://nixos.wiki/wiki/Xfce#Using_as_a_desktop_manager_and_not_a_window_manager << xfce has a gui to choose the cursor size. It works for me (on gtk3 apps only apparently) but is not declarative.
revtintin has quit [Quit: WeeChat 1.9.1]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c65da8b5111 (from 57 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<wpcarro> symphorien: would I need to support xcfe for this? I'm just using i3wm atm
<wpcarro> I just installed `lxappearance`, which at least shows me that I installed the correct package
<wpcarro> I'm skeptical about how it integrates with my existing setup, bc I assumed it was for lxde, which I don't use
<symphorien> the link I gave explains how to have xfce as a desktop manager and i3 as a window manager.
<wpcarro> interesting... I'm not sure I'm ready for a full DE, but maybe it's time I make the plunge
<symphorien> ie xfce is invisible in day to day use but takes care of things like brightness keys and multi monitor setup
<wpcarro> symphorien: that's pretty nice. I imagine it includes file browsing etc..?
<symphorien> it installs thunar, yes.
<wpcarro> okay interesting. wth - I'll give it a try *gulp*
<{^_^}> [nixpkgs] @asymmetric opened pull request #47923 → packer: 1.2.5 -> 1.3.1 → https://git.io/fxOjp
sigmundv has joined #nixos
Adluc has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #47908 → uutils-coreutils: 2018-02-09 -> 2018-09-30 → https://git.io/fxYbu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fx3ea
tg has quit [Excess Flood]
wpcarro has quit [Ping timeout: 256 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @edef1c opened pull request #47924 → git: 2.19.0 -> 2.19.1 (CVE-2018-17456) → https://git.io/fx3vv
tg has joined #nixos
ryantrinkle has joined #nixos
Sargun_ has joined #nixos
<Sargun_> Is there a way to "export" a minimal /nix, which can be used for immutable systems?
<{^_^}> [nixpkgs] @edef1c opened pull request #47925 → git: 2.18.0 -> 2.18.1 (CVE-2018-17456) → https://git.io/fx3vg
slack1256 has joined #nixos
georges-duperon has joined #nixos
redj has joined #nixos
<slack1256> I declared an environment with buildEnv instead of mkShell. Is there any way to load it once built?
Denommus has joined #nixos
bgamari has quit [Ping timeout: 252 seconds]
<gleber_> I've created a GPT-formatted USB key with NixOS. I've used gpart to partition it and unetbootin to copy content of the latest NixOS installation ISO. The machine does not boot, as it fails to find `/dev/root` device which points to `/dev/by-label/NIXOS_ISO`, but I see that the right device is actually available under `/dev/by-partlable/NIXOS_ISO`. Any ideas how to fix it?
worldofpeace has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @edef1c opened pull request #47926 → git: 2.16.4 -> 2.16.5 (CVE-2018-17456) → https://git.io/fx3JB
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> gleber_: do you need unetbootin? I just removed the unetbooting section from 18.09/master manuals since it's known to be finnicky
cnidario has joined #nixos
kreisys has joined #nixos
graphene has joined #nixos
<samueldr> though I have in old notes that the FAT partition needs to be labelled "NIXOS_ISO" to work
<samueldr> not sure if it's still relevant
Dedalo has quit [Quit: Textual IRC Client: www.textualapp.com]
<gleber_> @samueldr I do not it specifically. I just used it to create the USB drive
<samueldr> the supported usb media creation right now is `dd` and those tools doing `dd`
<gleber_> @samueldr Looks like only MBR partition table generates by-part entries in /dev, while GPT partitoins generate /dev/by-partlabel
<samueldr> gleber_: there are two labels: partition labels, and filesystem labels
<samueldr> (with GPT)
<samueldr> or if I rephrase: by-label are for filesystem labels, while partlabel are for partition labels (when the partition table supports them)
<gleber_> @samueldr I see. I'll try to find a name to change the filesystem labels
<gleber_> @samueldr I see. I'll try to find a way to change the filesystem labels
<samueldr> I have this in the notes: sudo diskutil rename OLDNAME NIXOS_ISO
<samueldr> not sure if relevant
<samueldr> ah right, that's macOS
<samueldr> it says "mlabel" for linux
* samueldr checks what it is
<samueldr> part of mtools; tool to manipulate MSDOS volume labels :)
v0|d has quit [Remote host closed the connection]
v0|d has joined #nixos
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
mbrgm has joined #nixos
<gleber_> samueldr: wow, mlabel has arcane UX!
<gleber_> samueldr: it worked!
<gleber_> samueldr: would have this worked out of the box if I have used `dd`?
<clever> gleber_: probably
<clever> the official iso has MBR tables and works on a usb stick
<gleber_> clever: got it!
<samueldr> excluding random hardware oddities, 99.99% chances it would have worked with dd
<samueldr> good to know, though, that the notes are still ood; to "only" change the FAT partition's label to NIXOS_ISO
<gleber_> samueldr: roger that, time to learn `dd`. After using Linux since ~1998, I have used it literally only couple times :D
<samueldr> as far as using a GUI; I believe gnome-disks can apply a .img to a usb drive (though I'm not sure) and I want to check whether etcher works (it probably will)
lord| has quit [Ping timeout: 268 seconds]
<jasom> gleber_: for this it's just "dd if=foo.img of=/dev/whatever" that covers 95% of usecases for dd (if for infile, of for outfile).
alex`` has quit [Quit: WeeChat 2.2]
lord| has joined #nixos
<{^_^}> [nixpkgs] @johannesloetzsch opened pull request #47927 → python.pkgs.pip: 18.0 -> 18.1 → https://git.io/fx3kq
<sphalerite> So I'm using i3 and having a rather odd issue — it can't find the programs I want to run via key bindings. i3-msg exec 'sh -c "echo $PATH"' *does* however show a PATH that include ~/.nix-profile/bin, where dmenu_run is located…
<sphalerite> ok no never mind
<sphalerite> it wasn't there after all
<sphalerite> BUT for some reasons my shell has dmenu's store path at the beginning of its PATH? wtf
civodul has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #47928 → git: 2.19.0 -> 2.19.1, security fix → https://git.io/fx3kp
<{^_^}> [nixpkgs] @dtzWill closed pull request #47619 → adapta-gtk-theme: 3.94.0.149 -> 3.95.0.1 → https://git.io/fxU6J
<{^_^}> [nixpkgs] @veprbl opened pull request #47929 → pythonPackages.histbook: init at 1.2.3 → https://git.io/fx3Iz
cnidario has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @andir merged pull request #47926 → git: 2.16.4 -> 2.16.5 (CVE-2018-17456) → https://git.io/fx3JB
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-18.03: https://git.io/fx3Ih
<disasm> hey folks! looking for some haskell help with tests... I want to separate the tests into their own derivation. Anyone have some good examples as to how to do this?
<disasm> gleber_: wow, before I got net booting working at the house, I think I used dd at least once a week to make ISO's to boot! But now I just plug an ethernet cable in and instant nixos installer :)
<gleber_> disasm: Nice! How do I do this too? I have a NixOS server in the network already.
<{^_^}> [nixpkgs] @andir merged pull request #47924 → git: 2.19.0 -> 2.19.1 (CVE-2018-17456) → https://git.io/fx3vv
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fx3tw
Itkovian has joined #nixos
<disasm> credit goes to clever with this awesome setup: https://github.com/disassembler/network/blob/master/optina/default.nix#L27-L66
<{^_^}> [nixpkgs] @flokli closed pull request #47903 → ghostscript: fix icc profile validation → https://git.io/fxYHv
<{^_^}> [nixpkgs] @andir merged pull request #47925 → git: 2.18.0 -> 2.18.1 (CVE-2018-17456) → https://git.io/fx3vg
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-18.09: https://git.io/fx3ty
<disasm> I hope to one day get around to rewrite boot.php in anything but PHP, but it works for now :)
<glasserc> Programs in systemPackages don't seem to show up in the GNOME "applications" list. Is that expected?
<gleber_> disasm: yayks! That's a lot of moving pieces. I think I'll pass for now :)
<{^_^}> [nixpkgs] @andir closed pull request #47928 → git: 2.19.0 -> 2.19.1, security fix → https://git.io/fx3kp
slack1256 has quit [Ping timeout: 246 seconds]
graphene has quit [Remote host closed the connection]
drewc has joined #nixos
<{^_^}> [nixpkgs] @jamtrott opened pull request #47930 → gnulib: add a symlink from bin/gnulib-tool to gnulib-tool → https://git.io/fx3qH
drewc has left #nixos ["Leaving"]
graphene has joined #nixos
astronavt has quit [Ping timeout: 264 seconds]
mayhewluke has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #47931 → mesa: 18.2.1 -> 18.2.2 → https://git.io/fx3mq
<sphalerite> glasserc: no, they should AFAIK
Acou_Bass has joined #nixos
<sphalerite> glasserc: I'm not sure about all this stuff though, maybe restarting gnome-shell (alt-f2, r, enter, unless this has changed in the past 8 years or something) will make it find the new applications?
jlou2u has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @jtojnar pushed 155 commits to gnome-3.30: https://git.io/fx3m5
sir_guy_carleton has joined #nixos
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mayhewluke has joined #nixos
<glasserc> sphalerite: Thanks, I think that made one of them show up
* gchristensen excitedly looks towards samueldr
cnidario has joined #nixos
rtjure has quit [Ping timeout: 244 seconds]
<gchristensen> "This branch is 898 commits ahead, 100288 commits behind master. "
<{^_^}> [nixpkgs] @zimbatm opened pull request #47933 → vault: 0.11.1 -> 0.11.2 → https://git.io/fx33R
<__monty__> Wow, talk about divergence.
<__monty__> What's your approach for such a branch? Mimic bitcoin's PoW?
<benley> can someone remind me how to build a python package _without_ getting the "python3.6-" package name prefix attached to the derivation?
<rawtaz> gchristensen: which branch?
<LnL> benley: buildPythonPackage vs buildPythonApplication
<benley> oh ho, thank you
<gchristensen> rawtaz, __monty__ NixOS release 14.12
<rawtaz> oh ok
<benley> LnL: oh nice, I see exactly where that happens in python-packages.nix now too. Thanks.
<{^_^}> [nixpkgs] @flokli opened pull request #47934 → ghostscript: 9.24 -> 9.25 → https://git.io/fx33D
<LnL> yeah, the former is intended for libraries and the latter for applications/binaries
<benley> Makes sense. I'll probably remember until just prior to the next time I need to use it, too :-P
<LnL> :)
<{^_^}> [nixpkgs] @bgamari opened pull request #47935 → qpdf: Drop CVE-2018-9918.patch → https://git.io/fx3sO
<{^_^}> [nixpkgs] @bgamari closed pull request #47899 → qpdf: Fix URL of CVE-2018-9918.patch → https://git.io/fxYMk
shabius_ has quit [Quit: Leaving]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @benley opened pull request #47936 → systemd-wait: init at 0.1+2018-10-05 → https://git.io/fx3sM
jperras has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #47937 → ghostscript: include icc profile validation patch → https://git.io/fx3sF
jperras has joined #nixos
davidak has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
phreedom_ has joined #nixos
__monty__ has quit [Quit: leaving]
jperras has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 268 seconds]
jedahan has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
siers has quit [Ping timeout: 268 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
jperras has joined #nixos
LnL has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @pmahoney opened pull request #47939 → jsonnet: fix on darwin → https://git.io/fx3nh
<{^_^}> [nixpkgs] @pnelson opened pull request #47940 → youtube-dl: 2018.09.26 -> 2018.10.05 → https://git.io/fx3cz
LnL has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @samueldr merged pull request #47575 → Updates 18.09 release notes for release. → https://git.io/fxJCD
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fx3CC
<{^_^}> [nixpkgs] @andir pushed 19 commits to staging-18.03: https://git.io/fx3C0
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @samueldr pushed to release-18.09 « Updates 18.09 release notes for release. »: https://git.io/fx3CP
<{^_^}> [nixpkgs] @samueldr pushed to master « README: 18.03 -> 18.09 »: https://git.io/fx3Wq
<{^_^}> [nixpkgs] @samueldr pushed to release-18.09 « README: 18.03 -> 18.09 »: https://git.io/fx3WY
worldofpeace has joined #nixos
<andi-> \o/
<andi-> samueldr++
<{^_^}> samueldr's karma got increased to 29
<{^_^}> [nixpkgs] @xeji pushed commit from @bgamari to master « qpdf: Drop CVE-2018-9918.patch (#47935) »: https://git.io/fx3Wr
<{^_^}> [nixpkgs] @xeji merged pull request #47935 → qpdf: Drop CVE-2018-9918.patch → https://git.io/fx3sO
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @samueldr pushed to master « nixos/doc: Updates release date for 18.09 »: https://git.io/fx3WF
<{^_^}> [nixpkgs] @samueldr pushed to release-18.09 « nixos/doc: Updates release date for 18.09 »: https://git.io/fx3WN
brejoc has quit [Ping timeout: 252 seconds]
<catern> How well does it work to install DEs in my user profile? (On NixOS)
<catern> Is it viable? Is it easy, or does it take a bit of glue, or is it really finnicky and difficult?
<{^_^}> [nixpkgs] @xeji merged pull request #47940 → youtube-dl: 2018.09.26 -> 2018.10.05 → https://git.io/fx3cz
<{^_^}> [nixpkgs] @xeji pushed commit from @pnelson to master « youtube-dl: 2018.09.26 -> 2018.10.05 (#47940) »: https://git.io/fx3lL
ryantrinkle has quit [Ping timeout: 252 seconds]
<Acou_Bass> catern: is there any reason you want to do that rather than just doing it to configuration.nix?
phreedom_ has quit [Ping timeout: 256 seconds]
<Acou_Bass> just curious as i dont know the answer to your question hehe
cnidario_ has joined #nixos
<catern> Acou_Bass: because it's the prerequisite to a question about installing DEs in my user profile, on non-NixOS :)
cnidario__ has joined #nixos
cnidario has quit [Read error: Connection reset by peer]
cnidario_ has quit [Read error: Connection reset by peer]
cnidario__ has quit [Remote host closed the connection]
NightTrain has joined #nixos
<Acou_Bass> fair enough
cnidario has joined #nixos
<samueldr> I wonder if there would be any different annoyances than with other distros
<samueldr> e.g. you need to somehow start it (possibly .xsession)
<samueldr> as it won't be listed in the display manager
simukis has quit [Quit: simukis]
<Acou_Bass> i imagine its gonna be easiest to just use xinit/startx
cnidario has quit [Remote host closed the connection]
<samueldr> .xsession at that point is AFAIUI pretty much equivalent, though you get the logind semantics of a graphical session (if it matters, and has differences)
cnidario has joined #nixos
<Acou_Bass> yeah
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b0b0a6cf3b8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<Acou_Bass> well, .xinitrc/.xsession is fine - xinit/startx can be usde without those files
<Acou_Bass> ie. 'startx /usr/bin/openbox-session' or y'know, 'startx /nix/store/garble-openbox-session/bin/openbox-session or whatever :P
<Acou_Bass> im sure either would work fine
<samueldr> or $HOME/.nix-profile/bin/openbox-session :)
<{^_^}> [nixpkgs] @xeji merged pull request #47934 → ghostscript: 9.24 -> 9.25 → https://git.io/fx33D
<{^_^}> [nixpkgs] @xeji pushed commit from @flokli to master « ghostscript: 9.24 -> 9.25 (#47934) »: https://git.io/fx3lh
<Acou_Bass> or that D
<samueldr> (or even a #!/usr/bin/env nix-shell wrapper)
<Acou_Bass> :D
<{^_^}> [nixpkgs] @andir merged pull request #47937 → ghostscript: include icc profile validation patch → https://git.io/fx3sF
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fx38f
<jasongrossman> I would worry that even if configuring a DE without NixOS worked fine it might break later. Because I wouldn't have thought that the people who maintain the DEs in NixOS see maintaining the same derivations for use outside NixOS as part of their job.
<{^_^}> [nixpkgs] @worldofpeace opened pull request #47941 → wire-desktop: 3.2.2840 -> 3.3.2872 → https://git.io/fx38m
<Acou_Bass> yeh possibly
<jasongrossman> That would be my guess for anything (including DEs) that's usually installed with a NixOS configuration option as opposed to a nixpkg.
<jasongrossman> Of course catern might not care about long-term stability.
<{^_^}> [nixpkgs] @andir closed pull request #46216 → ghostscript: include icc profile validation patch → https://git.io/fAzUk
<samueldr> or might figure out the fixes as needed
<samueldr> (if any)
<Acou_Bass> buuuuttt... isnt one of the points of nix that the packages more or less run exactly the same no matter where theyre run? i understand that its probably not a priority but surely due to nix being nix, it should be fine anyway?
<samueldr> yeah, I wouldn't think anything would break outside the module system
<samueldr> AFAIUI there shouldn't be hacks pertaining to the module system inside the nixpkgs things
<samueldr> s/hacks/quirks and fixes/
<samueldr> most of what would be missing though would be glue from the nixos modules I guess
<Acou_Bass> yeah
<{^_^}> [nixos-homepage] @samueldr opened pull request #244 → Release 18.09 → https://git.io/fx38g
<jasongrossman> I thought the DEs were not just packages, which is why they're installed using NixOS options ... although I know that a NixOS option CAN be just an instruction to install a package, it's risky to assume that they always are. I realise this is abstract and I could look up the actual derivations. :-)
<Acou_Bass> a fair few package options can be declared in ~/.config/nixpkgs/config.nix (for example if you want a firefox plugin installed with your firefox, you can do it here rather than in /etc/nixos/configuration.nix)
<jasongrossman> "or might figure out the fixes as needed" - Yes, that could be fun.
<samueldr> jasongrossman: almost right; what the modules system will do is add the glue sometimes required between things, like prepare the session fiels so the display manager can use the right DE, and possibly some other DE-specific tweaks so they can understand where to find their modules and plugins
<jasongrossman> Acou_Bass: I think we're agreeing actually. DEs might work. They might break later, and you might be on your own if they do.
<Acou_Bass> ahh true
mekeor has joined #nixos
<Acou_Bass> yeah jasongrossman i think i agree with you
<samueldr> pretty sure we all agree :)
<Acou_Bass> 'itll probably work but eh... dont be offended if it doesnt' is my stance hehe
<jasongrossman> We do! ++ to us all.
<samueldr> (if I were forced to use a non-nixos distro for $reason I would probably try it)
<Acou_Bass> hmm
<Acou_Bass> i have an arch machine... i could try it here.. :D
<catern> The reason I ask is because it would be useful in a scenario where users don't have root access to their machines
<jasongrossman> catern: Good point.
<Acou_Bass> in that situation though
<catern> (such as for example at my work, where someone asked about using Nix for this)
<Acou_Bass> are said users really clamoring to install KDE rather than GNOME that they get given by default? :P
<{^_^}> [nixpkgs] @worldofpeace opened pull request #47942 → eolie: 0.9.37 -> 0.9.41 → https://git.io/fx38M
<catern> Acou_Bass: ideally you install nothing by default :)
<jasongrossman> catern: Just curious - and maybe this should move to nixos-chat - but why not use NixOS then?
<jasongrossman> catern: Or ARE you using NixOS?
<catern> jasongrossman: well that wouldn't help if the users still don't have root access
<Acou_Bass> i feel like DE's install ed as a user would behave the same on NixOS as they would on a non-NixOS distro
<catern> but yeah, NixOS isn't really in the running, since the base platform maintainers like Debian and merely tolerate Nix :)
<jasongrossman> I can totally see this as a valid use case, then, but ideally it would be solved with new derivations in nixpkgs, for maintainability, I should think.
<jasongrossman> Also for discoverability.
<{^_^}> [nixpkgs] @worldofpeace opened pull request #47943 → antibody: 3.6.1 -> 3.7.0 → https://git.io/fx343
phreedom has joined #nixos
jluttine has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #47944 → solargraph: 0.28.1 -> 0.28.2 → https://git.io/fx34R
jluttine has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.2]
justanotheruser has joined #nixos
Dedalo has joined #nixos
jperras has quit [Read error: Connection reset by peer]
jluttine has quit [Ping timeout: 252 seconds]
jluttine has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #47946 → ghostscript: update hash → https://git.io/fx3BI
Denommus has quit [Read error: Connection reset by peer]
cnidario has quit [Remote host closed the connection]
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sigmundv__ has joined #nixos
<avn> catern: debian folks sometimes too sarcastical about nix ;)
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
mbrgm has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
mixfix41 has quit [Ping timeout: 244 seconds]
jedahan has joined #nixos
jedahan has quit [Client Quit]
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to release-docs: https://git.io/fx3Rk
jasongrossman has quit [Ping timeout: 268 seconds]
eljih has joined #nixos
eljih has quit [Remote host closed the connection]
eljih has joined #nixos
mixfix41 has joined #nixos
sigmundv__ has quit [Ping timeout: 246 seconds]
eljih has quit [Client Quit]
<{^_^}> [nixpkgs] @xeji merged pull request #47946 → ghostscript: update hash → https://git.io/fx3BI
<{^_^}> [nixpkgs] @xeji pushed commit from @flokli to master « ghostscript: update hash (#47946) »: https://git.io/fx30m
davidak has quit [Quit: Leaving]
<judson> Ugh. My org's Puppet library won't work with anything like a modern ruby.
mayhewluke has quit [Ping timeout: 272 seconds]
<gchristensen> I know that feel.
<gchristensen> gotta build puppet with Nix
mayhewluke has joined #nixos