gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || 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
<{^_^}> [nixpkgs] @Fuuzetsu merged pull request #41507 → snd: 18.3 -> 18.4 → https://git.io/vhRZJ
<{^_^}> [nixpkgs] @Fuuzetsu pushed 2 commits to master: https://git.io/vhRRc
cheater has joined #nixos
alexteves_ has joined #nixos
Xal has quit [Ping timeout: 240 seconds]
Xal has joined #nixos
marcus___ has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
knupfer1 is now known as knupfer
blonkhart has joined #nixos
YaZko has left #nixos [#nixos]
<{^_^}> [nixpkgs] @alexfmpe opened pull request #41517 → dylibbundler: init → https://git.io/vhR01
Synthetica has quit [Quit: Connection closed for inactivity]
knupfer has quit [Ping timeout: 265 seconds]
<marcus___> Has anyone encountered "error: invalid file name '$HOME'" when running "nix-channel --update nixos" before?
alexteves_ has quit [Remote host closed the connection]
jbboehr has quit [Remote host closed the connection]
<gchristensen> ... weird ... I can't help much, but can you paste the output of `env`?
jperras has joined #nixos
<marcus___> output of env at https://pastebin.com/7uFRdqTE, thanks for looking!
liori has quit [Quit: leaving]
liori has joined #nixos
andreabedini has joined #nixos
ericsagn1 has joined #nixos
<gchristensen> marcus___: can you run strace nix-channel --update nixos > log 2>&1
<gchristensen> and then upload the log file somewhere?
<marcus___> output of `strace nix-channel --update nixos > log 2>&1` is at: https://pastebin.com/yqKWiLGP
<marcus___> Thanks again!
<gchristensen> did that not output the error?
<samueldr> gchristensen: child process maybe?
steell has joined #nixos
<marcus___> Uhhhhh, nix-channel --update nixos now works...
<gchristensen> oh, great
<gchristensen> *brushes off hands* job well done, everyone
<marcus___> It hasn't been working for 24 hours, I have no idea why it suddenly started working.
xcmw has joined #nixos
<marcus___> Thanks very much for the help anyway, at least next time something goes wrong I've learned to play with `strace`!
<gchristensen> :D
thc202 has quit [Ping timeout: 268 seconds]
silver has quit [Read error: Connection reset by peer]
marcus___ has left #nixos [#nixos]
xcmw has quit [Ping timeout: 240 seconds]
goibhniu1 has joined #nixos
goibhniu has quit [Ping timeout: 256 seconds]
seafood has quit [Quit: seafood]
hellrazo1 has joined #nixos
markus1199 has joined #nixos
spear2 has quit [Ping timeout: 245 seconds]
hellrazor has quit [Ping timeout: 264 seconds]
spear2 has joined #nixos
dbmikus_ has quit [Ping timeout: 265 seconds]
jackdk has quit [Remote host closed the connection]
markus1189 has quit [Ping timeout: 256 seconds]
jackdk has joined #nixos
<{^_^}> [nixpkgs] @jbboehr opened pull request #41519 → buildRustPackage: preserve output from cargo-vendor → https://git.io/vhRzd
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
blonkhart has quit [Ping timeout: 264 seconds]
Supersonic112 is now known as Supersonic
MP2E has quit [Remote host closed the connection]
blonkhart has joined #nixos
MP2E has joined #nixos
semilattice has joined #nixos
oltoAltn has joined #nixos
lassulus_ has joined #nixos
olto has quit [Ping timeout: 264 seconds]
Have-Quick has quit [Quit: Have-Quick]
jtojnar has quit [Ping timeout: 264 seconds]
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
Have-Quick has joined #nixos
Have-Quick has quit [Client Quit]
<andreabedini> does anyone use common CI tools to build nix derivations? (instead of using hydra)
<teto1> was there some github changes recently ? I tried to install flent via 'nix-env -iA flent' but https://github.com/tohojo/flent/archive/1.2.2.tar.gz is 404
slack1256 has quit [Remote host closed the connection]
<gchristensen> you want v1.2.2.tar.gz
<teto1> gchristensen: right, seems like the package is wrong then or they retagged the repo since inclusion
sbdchd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41357 → claws-mail: add support for python plugin → https://git.io/vhCt5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhRaB
<{^_^}> [nixpkgs] @teto opened pull request #41520 → flent: fix fetchFromGitHub version → https://git.io/vhRaE
<{^_^}> [nixpkgs] @Mic92 pushed 0 commits to revert-41373-bitwise: https://git.io/vhRaa
nuncanada has quit [Quit: Leaving]
fragamus has joined #nixos
nh2 has quit [Quit: Leaving.]
freeman42x[nix] has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #41520 → flent: fix fetchFromGitHub version → https://git.io/vhRaE
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vhRa5
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
tzemanovic has quit [Remote host closed the connection]
matthewbauer has joined #nixos
Have-Quick has joined #nixos
sigmundv__ has quit [Ping timeout: 264 seconds]
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Have-Quick has quit [Quit: Have-Quick]
Have-Quick has joined #nixos
tzemanovic has joined #nixos
<Myrl-saki> Ping. How do I override mkDerivation/callPackage to have a flag?
<Myrl-saki> I currently have this.
<Myrl-saki> buildPythonPackage = x: super.buildPythonPackage x // { isPythonPackage = true; };
<Myrl-saki> callPackage = x: a: super.callPackage x a // { isPythonPackage = true; };
<Myrl-saki> nix-repl> (import ./. {}).isPythonPackage
<Myrl-saki> true
<Myrl-saki> But....
<{^_^}> [nixpkgs] @peterhoeg merged pull request #41513 → syncthing: 0.14.47 -> 0.14.48 → https://git.io/vhRCF
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vhRwP
<Myrl-saki> nix-repl> (builtins.head ((import ./. {}).propagatedBuildInputs)).isPythonPackage
<Myrl-saki> error: attribute 'isPythonPackage' missing, at (string):1:1
oahong has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41503 → bat: support darwin → https://git.io/vhRsu
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhRwH
oahong has joined #nixos
<Myrl-saki> Oh. I think I know why.
roconnor_ has quit [Ping timeout: 248 seconds]
roconnor_ has joined #nixos
<Myrl-saki> Hmm
<Myrl-saki> I don't think overrideScope would be a good idea, though.
steell has quit [Ping timeout: 248 seconds]
steell has joined #nixos
<ryantm> From the nix manual: "Note: Multi-user mode has one important limitation: only root and a set of trusted users specified in nix.conf " How do I add a trusted user?
<ryantm> I'm doing this under NixOS. It seems like that might matter.
matthewbauer has quit [Ping timeout: 256 seconds]
semilattice has quit [Ping timeout: 276 seconds]
<neonfuz> not sure if this is nixos or firefox, but I have a bug with firefox from nixos-unstable-small
<neonfuz> it crashes when you get a notification and click on it
<neonfuz> (IE a youtube video or news site notification)
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @orivej opened pull request #41522 → Restore freedesktop libbsd → https://git.io/vhRrr
thblt has quit [Ping timeout: 276 seconds]
semilattice has joined #nixos
<fearlessKim[m]> when firefox tries to restore a discourse tab (ctrl+SHIFT+T), I systematically get "The site at https://discourse.nixos.org/t/XXX has experienced a network protocol violation that cannot be repaired."
schoppenhauer has quit [Ping timeout: 276 seconds]
nekoseam has joined #nixos
lezed1 has joined #nixos
<nekoseam> this seems like a pretty cool distro
jackdk has quit [Ping timeout: 268 seconds]
schoppenhauer has joined #nixos
nallar has joined #nixos
Ross has quit [Ping timeout: 240 seconds]
nallar is now known as Ross
<jack[m]> ryantm: add the users (or a group containing them) to nix.conf.
jackdk has joined #nixos
<jack[m]> there should be configuration.nix attrs for this.
<nekoseam> Does nixos support s6
<jack[m]> nekoseam: like daemontools / runit / s6?
<nekoseam> Yeah
steell has quit [Ping timeout: 265 seconds]
<jack[m]> It has been suggested, but someone would need to write a compatibility layer from systemd stuff.
<jack[m]> There is a embedded distro built with nix that uses runit iirc, but I forget the name....
<nekoseam> That sounds interesting
sir_guy_carleton has joined #nixos
mightybyte has left #nixos [#nixos]
blankhart has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41523 → quodlibet: 4.0.2 -> 4.1.0 → https://git.io/vhRo8
blankhart has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
jperras has quit [Ping timeout: 264 seconds]
freeman42x]NixOS has quit [Ping timeout: 245 seconds]
mahalel_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41525 → qmmp: 1.2.1 -> 1.2.2 → https://git.io/vhRoQ
jperras has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41526 → qsampler: 0.5.0 -> 0.5.1 → https://git.io/vhRox
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41527 → qrencode: 4.0.0 -> 4.0.1 → https://git.io/vhRoj
jperras has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @orivej merged pull request #41522 → Restore freedesktop libbsd → https://git.io/vhRrr
<{^_^}> [nixpkgs] @orivej pushed 4 commits to master: https://git.io/vhRKq
woodson_ has quit [Ping timeout: 264 seconds]
npmccallum has quit [Ping timeout: 248 seconds]
andreabedini has joined #nixos
robstr has joined #nixos
nekoseam has quit [Quit: Lost terminal]
Guanin has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #nixos
roconnor_ has quit [Remote host closed the connection]
roconnor_ has joined #nixos
Guanin has joined #nixos
jperras has joined #nixos
roconnor_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41528 → pstoedit: 3.71 -> 3.73 → https://git.io/vhRKS
roconnor_ has joined #nixos
balsoft has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41529 → pmd: 6.3.0 -> 6.4.0 → https://git.io/vhRK5
jperras has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @orivej merged pull request #41505 → gnuplot: 5.2.3 -> 5.2.4 → https://git.io/vhRGE
<{^_^}> [nixpkgs] @orivej pushed commit from @dtzWill to master « gnuplot: 5.2.3 -> 5.2.4 (#41505) »: https://git.io/vhR6T
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41530 → pkcs11helper: 1.22 -> 1.23 → https://git.io/vhR6c
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41531 → powerstat: 0.02.16 -> 0.02.17 → https://git.io/vhR60
jackdk has quit [Ping timeout: 264 seconds]
reinzelmann has joined #nixos
Synthetica has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41532 → osinfo-db: 20180514 -> 20180531 → https://git.io/vhR66
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41533 → altcoins.parity-ui: 0.2.1 -> 0.2.5 → https://git.io/vhR6D
rauno has joined #nixos
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
asuryawanshi has joined #nixos
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
jperras has joined #nixos
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
jackdk has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<colemickens> Does nix generally do builds on a tmpfs? Curious if I'm avoiding potentially slow disks as much as possible.
<angerman> do I have some alternative way to turn a package into it's buildPackage corresponding package? overlays do not seem to populate the buildPackages, however I need a package as a buildPackage that's now only available in the regular package set :-/
<andreabedini> why my nix seems to ignore my trusted-substituters setting ?
<andreabedini> I'm trying to do `nix-env -if https://github.com/cachix/cachix/tarball/master --substituters https://cachix.cachix.org --trusted-public-keys cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM=`
<andreabedini> and it says "ignoring untrusted substituter 'https://cachix.cachix.org'"
<andreabedini> I tried adding trusted-substituters in nix.conf but nothing
winem_ has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0f73fef53a9 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<andreabedini> damn
<andreabedini> because I need to restart the nix-daemon that's why
fragamus has joined #nixos
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
hotfuzz has joined #nixos
<sphalerite> colemickens: it does them on whatever /tmp is
<sphalerite> andreabedini: what do you mean by buildPackage?
<andreabedini> sphalerite: I guess that's for angerman ?
<angerman> sphalerite: pkgs.buildPackages
hotfuzz_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41502 → wireless-regdb: 2018.05.09 -> 2018.05.31 → https://git.io/vhR30
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « wireless-regdb: 2018.05.09 -> 2018.05.31 (#41502) »: https://git.io/vhRXg
<{^_^}> [nixpkgs] @vcunat pushed 166 commits to staging-18.03: https://git.io/vhRXa
<sphalerite> whoops, yes
<sphalerite> oh right, it's a cross-compilation thing?
<angerman> sphalerite: basically, I'm injecting some packages via an overlay, but when I try to access those packages from buildPackages package set, they aren't there.
<angerman> sphalerite: yes.
<sphalerite> it must be possible, since you don't need to make the distinction when you're setting nativeBuildInputs and buildInputs
<angerman> I'm not sure if the overlays are applied before or after the build/host/target phases are run.
<sphalerite> angerman: try pkgs.foo.nativeDrv
balsoft has quit [Quit: balsoft]
<angerman> no `nativeDrv` is taht some recent addition?
<{^_^}> [nixpkgs] @xeji merged pull request #41515 → renpy: 6.99.14.3 -> 7.0.0 → https://git.io/vhR8U
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « renpy: 6.99.14.3 -> 7.0.0 (#41515) »: https://git.io/vhRXS
sorixelle has joined #nixos
<sphalerite> hm yeah doesn't seem to work after all
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41534 → mopidy-iris: 3.18.0 -> 3.20.0 → https://git.io/vhRXN
<{^_^}> [nixpkgs] @xeji merged pull request #41529 → pmd: 6.3.0 -> 6.4.0 → https://git.io/vhRK5
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pmd: 6.3.0 -> 6.4.0 (#41529) »: https://git.io/vhRXx
<{^_^}> [nixpkgs] @xeji merged pull request #41530 → pkcs11helper: 1.22 -> 1.23 → https://git.io/vhR6c
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pkcs11helper: 1.22 -> 1.23 (#41530) »: https://git.io/vhRXh
<{^_^}> [nixpkgs] @7c6f434c merged pull request #41527 → qrencode: 4.0.0 -> 4.0.1 → https://git.io/vhRoj
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vhRXj
<angerman> sphalerite: so the `config` seems to be applied throught all, but overlays don't...
<{^_^}> [nixpkgs] @xeji merged pull request #41532 → osinfo-db: 20180514 -> 20180531 → https://git.io/vhR66
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « osinfo-db: 20180514 -> 20180531 (#41532) »: https://git.io/vhR1f
<sphalerite> ok I've been looking through the code but don't really know what's going on there
<sphalerite> Sonarpulse would though
<angerman> yea, I've been pining him...
aanderse_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging-18.03: https://git.io/vhR1z
<sphalerite> nixpkgs/pkgs/top-level/splice.nix seems to be quite relevant
aanderse has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41535 → monit: 5.25.1 -> 5.25.2 → https://git.io/vhR19
<MasseR> I have a headless nixos system. I'm connecting through ssh and using urxvt. I'm missing the related terminfo stuff, what package should I install without getting X baggage with it?
tzemanovic has quit []
knupfer has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
<sphalerite> MasseR: does /run/current-system/sw/share/terminfo exist?
<MasseR> It does, but it's missing terminfo for 'rxvt-unicode-256color'
<sphalerite> ah, hm. I don't think there's a way in nixpkgs itself to do that.
<sphalerite> You could make a package that extracts only the terminfo from the urxvt package, but that will still have a build dependency on urxvt and drag all the X stuff into the build
<sphalerite> Or you could make a package that builds only the terminfo from urxvt and installs that
<sphalerite> it doesn't already exist though AFAIK
<MasseR> :/
<angerman> sphalerite: this might explain it: https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/default.nix, does make use of config, but not of the overlays
roconnor has joined #nixos
roconnor_ has quit [Ping timeout: 260 seconds]
<sphalerite> MasseR: I can probably do the latter for you, 5min
<sphalerite> angerman: does it not? Aren't they included in args?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41536 → ne: 3.0.1 -> 3.1.1 → https://git.io/vhRM4
<angerman> sphalerite: stupid me. I've just seen the special `if config` at the bottom.
<{^_^}> [nixpkgs] @orivej opened pull request #41537 → [WIP] netbsd.compat: fix build with musl → https://git.io/vhRMw
<sphalerite> angerman: overlooking things does not imply stupidity :p
vaninwagen has joined #nixos
<angerman> maybe I need that :D
<angerman> hmm but I already have that.
spear2 has quit [Ping timeout: 264 seconds]
<sphalerite> MasseR: http://ix.io/1crZ call this terminfo-urxvt.nix, then put (pkgs.callPackage ./terminfo-urxvt.nix {}) in your systemPackages
<MasseR> thanks
hellrazo1 has quit [Quit: WeeChat 2.1]
spear2 has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
marco_t has quit [Remote host closed the connection]
jensens has joined #nixos
<angerman> hmm got it working. Got probably confused by haskell.packages and haskellPackages
<MasseR> sphalerite: perfect, thank you
<sphalerite> \o/
<sorixelle> How dows https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/polybar/default.nix pass options to the configure script? Trying to add an option that's missing to it, but I can't quite figure out how
Have-Quick has quit [Quit: Have-Quick]
<sphalerite> sorixelle: just add a configureFlags attr alongside name, version, buildInputs etc
lanelet has quit [Quit: lanelet]
<sphalerite> although actually it uses cmake, so that probably won't do anything.
<sorixelle> Yeah, was about to mention that
<sorixelle> that's what I meant by configure script :P
<sphalerite> cmakeFlags is also a thing though, so maybe something like cmakeFlags = ["-DFOO_BAR=BAZ"];
<sorixelle> The thing is, there's already variables doing it somehow, but I can't figure out how it's doing it
<sphalerite> doesn't look like that to me.
<sorixelle> Unless it just pulls down the packages and disables the features if it doesn't find the required libs
<sorixelle> That could be it, actually
<sphalerite> I'm guessing the cmake script just autodetects what to enable based onwhat's there
<sphalerite> exactly
<sphalerite> yeah, if you have a look at `nix log nixpkgs.polybar` you can see
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @orivej pushed to master « python.pkgs.cairocffi: support darwin »: https://git.io/vhRDD
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41539 → lttng-tools: 2.10.3 -> 2.10.4 → https://git.io/vhRye
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41540 → matomo: 3.5.0 -> 3.5.1 → https://git.io/vhRyY
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41541 → mate.mate-themes: 3.22.16 -> 3.22.17 → https://git.io/vhRyn
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41542 → logcheck: 1.3.18 -> 1.3.19 → https://git.io/vhRy8
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41543 → lxcfs: 3.0.0 -> 3.0.1 → https://git.io/vhRyB
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @lheckemann opened pull request #41544 → (WIP) terminfo-extra: init → https://git.io/vhRSJ
<sphalerite> MasseR: opened a PR containing a package similar to what I wrote before ^
civodul has joined #nixos
freusque has joined #nixos
akaWolf has quit [Ping timeout: 240 seconds]
<tilpner> sphalerite - Could also be { runCommandNoCC, ncurses }: terminals: ..., then terminfo-extra = callPackage ../data/misc/terminfo-extra {} [ st rxvt_unicode ];
<sphalerite> tilpner: the location of the terminfo source varies though
<tilpner> Not sure about the additional argument, but something to be generic over what terminfo to install could be nice if a user needs to customise this because of using an obscure terminal
akaWolf has joined #nixos
<sphalerite> ideally it'd just cover all the obscure terminals in nixpkgs :p
<tilpner> Ohh, hmm. And I guess finding them isn't an option?
semilattice has quit [Ping timeout: 260 seconds]
<sphalerite> I suppose searching the source trees for *.info *.terminfo might work
jtojnar has joined #nixos
Guest51315 has joined #nixos
<tilpner> Would *.info also catch info pages?
<tilpner> It's probably not a good idea, I just like generic things
jperras has joined #nixos
jensens has quit [Ping timeout: 256 seconds]
JasonGrossman has joined #nixos
cyris212 has joined #nixos
jtojnar has quit [Ping timeout: 248 seconds]
semilattice has joined #nixos
jackdk has quit [Ping timeout: 245 seconds]
danbst[m] has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41545 → altcoins.litecoin: 0.15.1 -> 0.16.0 → https://git.io/vhR9m
Guest51315 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @adisbladis pushed to master « nodePackages_8_x: Add nodejs (npm) to wrapper »: https://git.io/vhR9Z
<freusque> hey, does any of you generate haddock documentation for their private haskell packages?
nlytend has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41546 → mate.mate-applets: 1.20.1 -> 1.20.2 → https://git.io/vhR92
<nlytend> Hi
<nlytend> I am trying to install 'leksah' but i am getting missing dependency errors.
<{^_^}> [nixpkgs] @orivej pushed to master « tests.cc-wrapper: do not test sanitizers on darwin »: https://git.io/vhR9S
<nlytend> I am on nix 2.0.2 and nixos unstable
<teto1> does nix-shell create namespace ? some of my pkill calls fail I don't understand why, it seems it is because nix-shell creates a new namespace and pkil can't kill the PID because it's in another namespace
sir_guy_carleton has quit [Quit: WeeChat 2.0]
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon3 has joined #nixos
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @orivej pushed 81 commits to staging: https://git.io/vhRHT
<sphalerite> teto1: no
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41547 → libpqxx: 6.2.3 -> 6.2.4 → https://git.io/vhRHI
<sphalerite> teto1: but there is a bug in procps which causes segfaults when you don't give a pattern (e.g. match only by user)
Ariakenom has joined #nixos
Xal has quit [Ping timeout: 256 seconds]
<teto1> sphalerite I have a segfault with pkill -TERM -P $PID too https://github.com/NixOS/nix/issues/2209
<teto1> I can't freaking kill that process even though I know its Pid
<sphalerite> teto1: `kill $PID` should work
<teto1> sphalerite: seems like it doesn't , it kills the nix-shell but the children process survive
thc202 has joined #nixos
<teto1> with a command "nix-shell -p python ... &"
<sphalerite> oh right -P $PID selects child processes of $PID?
<teto1> yes
<sphalerite> but yeah it's just a bug in procps which makes pkill and pgrep segfault, it's fixed in staging AFAIK but it's not been merged into master yet
<teto1> will try cherry picking the procps fix
<sphalerite> it's a mass-rebuild, have fun :p
lnikkila has quit [Ping timeout: 245 seconds]
Xal has joined #nixos
<GuillaumeBuisson> hello there, is anyone successfuly using the gitlab service?
<teto1> GuillaumeBuisson: I saw on discourse it was buggy
<teto1> sphalerite: hum the sha of the procps is wrong, nixos-rebuild doesn't want to build it
<teto1> procps fix*
<GuillaumeBuisson> everything mostly works on my system except imports
<pierron> Is there a simple way to install debug symbols for any package?
<GuillaumeBuisson> I get something like gitaly.... Could not find rake-12.1.0 in any of the sources ... tailing the logs
<{^_^}> [nixpkgs] @7c6f434c merged pull request #41535 → monit: 5.25.1 -> 5.25.2 → https://git.io/vhR19
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vhRHj
<sphalerite> teto1: hm it's odd, nixpkgs/maintainers/scripts/update-python-libraries uses a similar shebang and works
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41548 → mate.mate-desktop: 1.20.1 -> 1.20.3 → https://git.io/vhRQY
<{^_^}> [nixpkgs] @melsigl opened pull request #41549 → remmina: 1.2.0-rcgit.24 -> 1.2.0-rcgit.29 → https://git.io/vhRQO
<teto1> sphalerite: why does that shebang add several -p ?
<sphalerite> no idea
<sphalerite> one should be enough
lnikkila has joined #nixos
<GuillaumeBuisson> teto1: thanks, I just spotted it on discourse
<LnL> not sure if there's a difference with more complex expressions, but I don't think so since you need to add parenthesis yourself
__Sander__ has joined #nixos
broccoli has joined #nixos
spear2 has quit [Ping timeout: 256 seconds]
<sphalerite> teto1: as far as I can see, (cd tests ; NIX_REMOTE= bash -e testname.sh), after installing from source, should do it
<teto1> sphalerite: for running a specific nix test ?
<sphalerite> yep
<teto1> sphalerite: great ! will try to come up with sthg later on
<sphalerite> oh, it also needs to generate common.sh, which starting `make installcheck` once should take care of
<sphalerite> and I don't see what you need sudo for?
<teto1> sphalerite: tests failed because they couldn't read /proc in my case
<teto1> sphalerite: seems like the "nix-shell check.nix -i python" is the most bulletproof solution
<teto1> at least it works
thblt has joined #nixos
<sphalerite> teto1: all tests seem to pass for me without sudo
* etu got issues with trying to run X11 on his AMD board with Vega graphics :(
<etu> Jun 06 10:34:36 new-kodi display-manager[908]: (EE) no screens found(EE)
<etu> from X11
fyuuri has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41550 → libedit: 20170329-3.1 -> 20180525-3.1 → https://git.io/vhR7V
<tilpner> sphalerite - Another tradeoff could be defining a buildEnv from all terminal emulators, choosing only /share/terminfo. That would be unpractical to modify, but almost okay if built by hydra
* tilpner hopes the runtime closure of that buildEnv would be like expected, but is not sure
<sphalerite> yeah, that was my first suggestion
<sphalerite> but especially if you're just using it yourself, that's very much counterproductive
MP2E has quit [Remote host closed the connection]
<sphalerite> of course there's also the question of when the sources for all the terminals become bigger than the X libs we wanted to avoid
<tilpner> Is there a way to remove references of a derivation?
<sphalerite> yes
<tilpner> (Install konsole, but not all deps required to actually run it)
hamishmack has joined #nixos
<sphalerite> oh, well not like that really
jtojnar has joined #nixos
<sphalerite> but there's nukeReferences and removeReferencesTo
<tilpner> That would make the buildEnv more feasible
<sphalerite> oh right, forgot that it uses symlinks. I think something like buildEnv but making copies rather than symlinks would be more appropriate
<{^_^}> [nixpkgs] @mnacamura closed pull request #41487 → dropbox: fix missing libgcc_s.so required by pthread_cancel → https://git.io/vhBuj
jperras has joined #nixos
jtojnar has quit [Ping timeout: 240 seconds]
asymmetric has joined #nixos
lezed1 has quit [Quit: Connection closed for inactivity]
humanoyd has joined #nixos
logzet has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41551 → kdeconnect: 1.3.0 -> 1.3.1 → https://git.io/vhRdJ
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/907d1dee67f (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<teto1> now python complains if I don't put '# -*- coding: utf-8 -*-' but with the first 2 lines being a nix-shell shebang, python doesn't seem to pick the directive as it looks only at the first 2 lines
* teto1 hangs himself
periklis has joined #nixos
semilattice has quit [Ping timeout: 260 seconds]
periklis has quit [Remote host closed the connection]
periklis has joined #nixos
sigmundv__ has joined #nixos
Guest51315 has joined #nixos
eon` is now known as eon
eon is now known as eon`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41553 → ipmiutil: 3.1.0 -> 3.1.1 → https://git.io/vhRbD
wildsebastian has joined #nixos
<{^_^}> [nixpkgs] @manveru opened pull request #41554 → Mint: 2018-05-27 -> 0.0.3 → https://git.io/vhRNT
jasongro` has joined #nixos
JasonGrossman has quit [Ping timeout: 264 seconds]
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41555 → ipopt: 3.12.9 -> 3.12.10 → https://git.io/vhRA3
<{^_^}> [nixpkgs] @bjornfor pushed commit from R. RyanTM to master « lttng-tools: 2.10.3 -> 2.10.4 »: https://git.io/vhRAy
<{^_^}> [nixpkgs] @bjornfor closed pull request #41539 → lttng-tools: 2.10.3 -> 2.10.4 → https://git.io/vhRye
xy2_ has joined #nixos
martingale has joined #nixos
nD5Xjz has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #41556 → gnome3 update → https://git.io/vhRxv
<steveeJ> can I somehow make `nix run` compatible with an environment defined inside a shell.nix?
<niksnut> no
<niksnut> nix run doesn't execute the stdenv setup script
<niksnut> it only initializes $PATH
<{^_^}> [nixpkgs] @sjmackenzie opened pull request #41557 → racket: use latest gtk (gtk2 -> gkt3) → https://git.io/vhRxK
<{^_^}> [nixpkgs] @jluttine opened pull request #41558 → pythonPackages.autograd: init at 1.2 → https://git.io/vhRxH
<steveeJ> niksnut: can it be run against a local file at all_
<steveeJ> ?
sigmundv__ has quit [Remote host closed the connection]
sigmundv_ has joined #nixos
sigmundv has quit [Disconnected by services]
sigmundv has joined #nixos
sigmundv has quit [Disconnected by services]
sigmundv_ is now known as sigmundv
sigmundv_ has joined #nixos
simukis has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to staging « libsoup: 2.62.0 → 2.62.2 »: https://git.io/vhRpB
<niksnut> steveeJ: yes, you can do things like: nix run -f release.nix build.x86_64-linux
<Mic92> ryantm: with builtins.fetchgit one could simplify the procedure to install packages from cachix.
<Mic92> mhm never mind it would be still a oneliner
<steveeJ> niksnut: ah nice. I'll try that
nD5Xjz has joined #nixos
Ridout has joined #nixos
<{^_^}> [nixpkgs] @orivej opened pull request #41559 → gdk-pixbuf: fix loader.cache on darwin → https://git.io/vhRjN
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
bennofs has joined #nixos
lonokhov has joined #nixos
lonokhov has quit [Client Quit]
lonokhov has joined #nixos
ericsagn1 has quit [Ping timeout: 256 seconds]
tzemanovic has joined #nixos
vaninwagen has quit [Ping timeout: 276 seconds]
deepfire` has quit [Ping timeout: 276 seconds]
fragamus has joined #nixos
periklis has quit [Remote host closed the connection]
periklis has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41560 → gtkwave: 3.3.90 -> 3.3.91 → https://git.io/vh0vU
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41561 → h2o: 2.2.4 -> 2.2.5 → https://git.io/vh0vY
sorixelle has quit [Ping timeout: 255 seconds]
sorixelle has joined #nixos
jperras has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #41553 → ipmiutil: 3.1.0 -> 3.1.1 → https://git.io/vhRbD
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vh0v1
<{^_^}> [nixpkgs] @orivej merged pull request #41559 → gdk-pixbuf: fix loader.cache on darwin → https://git.io/vhRjN
<{^_^}> [nixpkgs] @orivej pushed 4 commits to master: https://git.io/vh0vF
periklis has quit [Ping timeout: 245 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jluttine opened pull request #41562 → pythonPackages.pvlib: init at 0.5.2 → https://git.io/vh0f0
jperras has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « phpPackages.php-cs-fixer: 2.11.1 → 2.12.0 »: https://git.io/vh0fu
<Mic92> ryantm: rather then the cachenix instruction, you could also reference the snippet needed to add the binary cache: https://github.com/cachix/cachix/issues/35#issue-329817977
<Mic92> might be easier for the moment until cachix is part of nixpkgs
johanot has joined #nixos
thblt has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41543 → lxcfs: 3.0.0 -> 3.0.1 → https://git.io/vhRyB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vh0JO
Guest40730 has joined #nixos
<Guest40730> So I want to disable a service but get "Failed to execute operation: Too many levels of symbolic links", what do I do?
Guest40730 is now known as thekolb
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41563 → fwts: 18.03.00 -> 18.05.00 → https://git.io/vh0J0
<srhb> thekolb: Are you trying to manipulate systemd imperatively on nixos?
<srhb> thekolb: If so, the right way is through configuration.nix
fendor has joined #nixos
<srhb> (More details of what you want, what you did and what you expected may help :-))
ericsagn1 has joined #nixos
<thekolb> srhb: yeah, I want to temporarily disable a service while debugging the system
<srhb> thekolb: So you did what?
<thekolb> sudo systemctl disable myservice
<{^_^}> [nixpkgs] @bjornfor pushed commit from R. RyanTM to master « qmmp: 1.2.1 -> 1.2.2 »: https://git.io/vh0Ti
<{^_^}> [nixpkgs] @bjornfor closed pull request #41525 → qmmp: 1.2.1 -> 1.2.2 → https://git.io/vhRoQ
<thekolb> should I instead redeploy with a configuration that disables the service?
<srhb> thekolb: You probably want something like systemd.service.myservice.enable = false; May need lib.mkForce false depending on the module
<srhb> Yes
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41564 → fio: 3.6 -> 3.7 → https://git.io/vh0Tx
<srhb> thekolb: The error you're getting is a bit surprising, I would have expected "Read-only filesystem" -- but the explanation is that the systemd setup is generally immutable in NixOS.
Guest51315 has quit [Changing host]
Guest51315 has joined #nixos
Guest51315 is now known as adamt
<adamt> thekolb: Why not just stop the service instead of disabling it?
<srhb> What sorcery is this
<adamt> (unless you need to reboot the system for debugging purposes, of course...)
karlguy_ has quit [Ping timeout: 264 seconds]
<thekolb> what the hell:
<thekolb> Loaded: masked (/dev/null; bad)
<thekolb> Active: active (running) since Wed 2018-06-06 11:18:01 UTC; 21s ago
<thekolb> (that’s after I set enable=false)
<srhb> That's normal.
<thekolb> its normal that its still running?
<srhb> The unit is probably a symlink to /dev/null now :)
<srhb> Oh, probably not. Though I'm not sure that's really trustworthy
<srhb> Maybe I need to read up on the systemd internals :-)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41565 → fvwm: 2.6.7 -> 2.6.8 → https://git.io/vh0kd
<thekolb> It still has child processes...
<srhb> Honestly I'm unsure of the semantics of disabling them. Would they normally be stopped?
<thekolb> I would hope lol
<srhb> Not sure, really. I think it just prevents starting.
<thekolb> well at least nixops stopped the unit
<srhb> (Automatically at boot, that is...)
dima1 has joined #nixos
<srhb> We mostly use this switch for Other Things though
logzet has quit [Ping timeout: 245 seconds]
<srhb> But the fact that you're calling it's "myservice" makes it difficult to give better advice :D
logzet has joined #nixos
<thekolb> It shouldn’t matter what service it is, I just want it to temporarily stop running
<thekolb> So I guess I needed the enable=false plus a manual mutation in the form of sudo systemctl stop
<srhb> thekolb: Yes, running state is not part of the config, as adamt suggested.
<srhb> thekolb: If that's your goal, I don't see the need for enable = false;
<srhb> Just stop it :)
<dima1> I want to specify extraNvidiaDeviceOptinos as per https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/X11/bumblebee/default.nix#L31 how do I do this?
<dima1> I'm trying to specify extra nvidia card for bumblebee as per https://wiki.archlinux.org/index.php/bumblebee#Multiple_NVIDIA_Graphics_Cards
jtojnar has quit [Ping timeout: 276 seconds]
<thekolb> okay...^^ say I have completely hosed a system, how do I do a clean redeploy with nixops?^^
<dima1> I am running NixOS and bumblebee is ran with bumblebeed https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/video/bumblebee.nix
<{^_^}> [nixpkgs] @krav opened pull request #41566 → gitaly: Cause ruby-cd to be wrapped so bundler will work → https://git.io/vh0Io
nlytend has left #nixos ["left."]
<manveru> hmm
<manveru> dima1: i think the cleanest way would be with an overlay that the module uses
lnikkila has quit [Ping timeout: 260 seconds]
ericsagn1 has quit [Ping timeout: 255 seconds]
<dima1> is there an example of how I could do this?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41567 → focuswriter: 1.6.12 -> 1.6.13 → https://git.io/vh0I9
lnikkila has joined #nixos
<{^_^}> [nixpkgs] @linc01n opened pull request #41568 → fcitx-table-extra: init at 0.3.8 → https://git.io/vh0Le
acarrico has quit [Ping timeout: 255 seconds]
<manveru> hmm
iyzsong has joined #nixos
dima1 has quit [Quit: WeeChat 2.0]
<manveru> i think you'll have to search for "nixpkgs overlay" :)
<manveru> i don't have much experience ther
<manveru> +e
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41569 → fanficfare: 2.25.0 -> 2.26.0 → https://git.io/vh0LL
__monty__ has quit [Ping timeout: 264 seconds]
<manveru> another option would be to paste this part https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/video/bumblebee.nix#L78-L91 into your configuration.nix and change the `bumblebee` package with an override
<{^_^}> [nixpkgs] @orivej pushed to revert-41373-bitwise « Revert "lib: bitAnd, bitOr, bitXor" »: https://git.io/vh0LG
freeman42x]NixOS has joined #nixos
<adamt> thekolb: I'm pretty sure marking a service as disabled should also stop it. The alternative doesn't make sense.
<adamt> thekolb: Still, if you just need it to stop, then use systemctl stop blargh, instead of redeploying your system
klaas_ has joined #nixos
kendrick_ has joined #nixos
<kendrick_> hey guys, I'm currently trying to install ghc-mod on nixos 18.03 but it fails with `Couldn't match expected type ‘Distribution.Types.UnqualComponentName.UnqualComponentName`
<kendrick_> any ideas?
<srhb> kendrick_: Sounds like a mismatch in Cabal version versus ghc-mod
<NinjaTrappeur> kendrick_: I use the stackage version.
thekolb has left #nixos [#nixos]
<kendrick_> I'm trying to install ghc-mod on `environment.systemPackages`
<kendrick_> is there anyway I can achieve this without using `stack`?
<kendrick_> Sorry if im not clear, English isn't my first language
<NinjaTrappeur> you can use a stackage overlay over nixpgks
<kendrick_> NinjaTrappeur: Do you have an example I could follow?
<klaas_> Hi all; After an upgrade to 18.03 my default fonts look really funny; in particular, I get some kind of gothic font (unifractur perhaps?) for certain bold typefaces. I've installed a number of fonts using configuration.nix' fonts.fonts variable previously; these seem to have made it through the upgrade. I never configured which fonts I wanted as my defaults previously; I think I probably should now. Here's the output for the defaultF
<klaas_> Here's the output for the defaultFonts: nix-instantiate --eval -E 'with import <nixos> {}; config.fonts.fontconfig.defaultFonts' -I /home/klaas/nixpkgs/nixos-18.03 { monospace = <CODE>; sansSerif = <CODE>; serif = <CODE>; }
acarrico has joined #nixos
<klaas_> However, the instructions at https://nixos.wiki/wiki/Fonts don't work for me; in particular, I don't have a directory called /nix/var/nix/profiles/system/sw/share/X11-fonts
<klaas_> Any idea on how to proceed? And a good suggestion on some good defaults for the above 3 fonts?
dima1 has joined #nixos
<NinjaTrappeur> kendrick_: you can also read the nixpkgs manual if you don't really know what an overlay is.
<kendrick_> NinjaTrappeur: cheers, I'll look into that
asymmetric has quit [Remote host closed the connection]
ericsagn1 has joined #nixos
asymmetric has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/49a6964a425 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
dima1 has quit [Quit: WeeChat 2.0]
<angerman> how do I merge two nix expressions? openssl generously pulls openssl apart into openssl.dev and openssl.out, ... but I need to merge them into one...
<clever> angerman: those are the same nix expression, its just split outputs
<angerman> clever: hmm...
<clever> angerman: generally, you just add openssl to the buildInputs, and nix uses the right one for you, but sometimes you need to add both to the buildInputs
__monty__ has joined #nixos
<angerman> clever: ok, let's try. I've added .out because the the openssl path didn't contain the relevant .dlls
<angerman> well, it did, but in bin instead of lib, which broke the downstream tooling.
<angerman> hmm thanks. Does seem to work.
<clever> angerman: you may need to manually add "${openssl.out}/lib" to PATH because windows is dumb
<clever> depends on what exactly is failing
<angerman> I've just copied $bin/bin/*.dll into $out/lib/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41570 → cryptoverif: 1.28 -> 2.00 → https://git.io/vh0qo
lnikkila has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41571 → eid-mw: 4.4.1 -> 4.4.2 → https://git.io/vh0mW
jensens has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41572 → cutemaze: 1.2.2 -> 1.2.3 → https://git.io/vh0mP
dima1 has joined #nixos
<dima1> to overlay a package used by a NixOS service, where should the overlay of the package live?
<clever> dima1: nixpkgs.overlays
jtojnar has joined #nixos
Ridout has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41573 → debootstrap: 1.0.100 -> 1.0.101 → https://git.io/vh0Os
samae is now known as eeva
klaas_ has quit [Quit: Page closed]
__monty__ has quit [Quit: rebootying]
dima1 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41574 → elfutils: 0.170 -> 0.171 → https://git.io/vh0Oo
__monty__ has joined #nixos
<reinzelmann> Can I configure a nixos container to use a local copy of nixpkgs?
dima1 has joined #nixos
<dima1> woohoo! my Matebook X Pro is now running bumblebee with eGPU GTX 1070
Xal has quit [Ping timeout: 245 seconds]
roconnor has quit [Remote host closed the connection]
bennofs has quit [Quit: WeeChat 2.0]
roconnor has joined #nixos
Xal has joined #nixos
bbsl has joined #nixos
jtojnar_ has joined #nixos
jtojnar has quit [Ping timeout: 245 seconds]
hyper_ch has quit [Quit: ZNC 1.6.5 - http://znc.in]
jtojnar_ is now known as jtojnar
hyper_ch has joined #nixos
fogbugz`` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<cocreature> hey I’m running into some weird issue where hackage-security is apparently using a different version of Cabal than cabal-install. afaict I haven’t messed with either of those packages or Cabal itself so I’m lost as to what is going wrong here. you can see my default.nix and the full error at https://gist.github.com/cocreature/12a4d80cfe5c73aa6ec36b7add413e4b
hyper_ch has quit [Client Quit]
hph^ has joined #nixos
hyper_ch has joined #nixos
vaninwagen has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41575 → acpica-tools: 20180508 -> 20180531 → https://git.io/vh0s0
hph^ has quit [Read error: Connection reset by peer]
hph^ has joined #nixos
<bbsl> cocreature: Im a bit out of my depth here (and I dont know why you have the pin (is it prod?) ), but what happens if you just use the latest version of nixpkgs?
dima1 has quit [Ping timeout: 264 seconds]
<cocreature> bbsl: that is the latest version
<cocreature> at least as of a few minutes ago
blankhart has quit [Ping timeout: 264 seconds]
jtojnar_ has joined #nixos
<dejanr> hi, anyone could help me out identify what's overriding $NIX_PATH, i use nix-darwin and nixp on OSX, so echo $NIX_PATH gives /nix/var/nix/profiles/per-user/root/channels, but when i source my ~/.bashrc again it becomes properly set to what i set it in my dotfiles
<dejanr> not sue whats overriding it
<{^_^}> [nixpkgs] @MarcFontaine opened pull request #41576 → xearth : init at 1.1 → https://git.io/vh0s9
nh2 has joined #nixos
acarrico has quit [Ping timeout: 256 seconds]
<LnL> dejanr: my project?
<dejanr> yes
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar_ is now known as jtojnar
<dejanr> LnL: i try to use it with nix from git folder https://github.com/dejanr/nixos
<LnL> it configures NIX_PATH based on what you configure with the nix.nixPath option
<dejanr> so i install nix on osx first, and then just run nix-darwin installer
blankhart has joined #nixos
<dejanr> not sure why i have this $NIX_PATH /nix/var/nix/profiles/per-user/root/channels
<LnL> oh, something else is overriding it
<dejanr> i also set NIX_PATH in my dotfiles
<dejanr> but this is available only after i source ~/.bashrc
<{^_^}> [nixpkgs] @andrestylianos opened pull request #41577 → joker: 0.9.2 -> 0.9.3 → https://git.io/vh0Gk
<dejanr> maybe /etc/bashrc is overriding it?
<dejanr> i don't like that nix-darwin overrides /etc/bashrc
<LnL> it doesn't, there are a few ways you can make your system load the bashrc managed by nix-darwin
<{^_^}> [nixpkgs] @akru opened pull request #41578 → parity: 1.9.7 -> 1.10.6 [SECURITY UPDATES] → https://git.io/vh0Gl
<LnL> existing files that are not managed by nix-darwin won't be touched
adamt has quit [Ping timeout: 245 seconds]
<LnL> there are a bunch of ways can make your shell load /etc/static/bashrc
<{^_^}> [nix] @asymmetric opened pull request #2212 → Dockerfile: 2.0.4 → https://git.io/vh0Go
jperras has joined #nixos
Tucky has joined #nixos
sbdchd has joined #nixos
<cocreature> I tried using 8.4.2 instead of 8.4.3 but it’s still producing the same error :/ something is going wrong here …
<LnL> that's the generated one, so /etc/bashrc should be a symlink to /etc/static/bashrc
<dejanr> yes it is
<dejanr> and NIX_PATH looks good there
<dejanr> not sure what sets it to /nix/var/nix/profiles/per-user/root/channels
<LnL> then something else is overriding it, or you're not using bash as your shell
<dejanr> echo $SHELL
lalaland has joined #nixos
<dejanr> returns this /nix/store/p17frn8zgghjfpr0j38mfbasvsjcfpbp-bash-4.4-p19/bin/bash
jperras has quit [Ping timeout: 256 seconds]
jtojnar_ has joined #nixos
jtojnar has quit [Quit: jtojnar]
thblt has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41579 → bibutils: 6.2 -> 6.3 → https://git.io/vh0Zu
hph^ has quit [Ping timeout: 240 seconds]
<dejanr> anything else i could check, what overrides it?
<LnL> that means it's getting loaded, you can try adding a set -x if you don't know what might be overriding it
jtojnar_ has quit [Ping timeout: 264 seconds]
<dejanr> i am really puzzled, my shell is bash, i do have .bashrc, .profile, .bash_profile, they all source .bashrc
<dejanr> set -x where?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41580 → chromedriver: 2.38 -> 2.39 → https://git.io/vh0ZM
<lalaland> Is anyone on master able to execute 'setxkbmap en' w/o 'Error loading new keyboard description'?
<{^_^}> [nixpkgs] @qknight merged pull request #41557 → racket: use latest gtk (gtk2 -> gkt3) → https://git.io/vhRxK
<LnL> since you use the /etc/bashrc symlink that and /etc/bashrc.local will get loaded first
<{^_^}> [nixpkgs] @qknight pushed commit from @sjmackenzie to master « racket: use latest gtk (gtk2 -> gkt3) (#41557) »: https://git.io/vh0ne
npmccallum_ has joined #nixos
endformationage has joined #nixos
MercurialAlchemi has quit [Ping timeout: 240 seconds]
hph^ has joined #nixos
<lalaland> Do you have 'Error loading keymap /tmp/server-0.xkm' in your X log?
<{^_^}> [nixpkgs] @jtojnar merged pull request #41556 → gnome3 update → https://git.io/vhRxv
<{^_^}> [nixpkgs] @jtojnar pushed 9 commits to master: https://git.io/vh0nR
blankhart has quit [Ping timeout: 240 seconds]
jtojnar has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2212 → Dockerfile: 2.0.4 → https://git.io/vh0Go
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vh0nw
<{^_^}> [nixpkgs] @jluttine opened pull request #41581 → pythonPackages.h5py: 2.7.1 -> 2.8.0 → https://git.io/vh0ny
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41582 → anki: 2.0.51 -> 2.0.52 → https://git.io/vh0n7
<bbsl> cocreature: it looks like one is using cabal-install from nixpkgs and the other is using cabal install from somwhere else maybe?
goibhniu1 is now known as goibhniu
<cocreature> bbsl: my guess is that cabal-install is trying to use the version of Cabal that is bundled with GHC while hackage-security builds Cabal separately
<cocreature> but I am completely lost when it comes to how that happens
<cocreature> looking at the derivations of hackage-security and cabal-install I don’t see any significant differences that should come into play here
xy2_ has quit [Ping timeout: 264 seconds]
<dejanr> LnL: thanks set -x is nice
<dejanr> LnL: so its /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh that sets NIX_PATH export NIX_PATH="/nix/var/nix/profiles/per-user/root/channels"
sorixelle has quit [Ping timeout: 245 seconds]
<bbsl> hmm Iv never had this issue but ya maybe you can make it simpler to debug by using cabal2nix on the cmdline to generate the derivations and then use those? (instead of callCabal2Nix which I assume does it in one go)
<LnL> dejanr: I suspected that, but how does that still get loaded?
<dejanr> i had it in my dotfiles
<LnL> oh
<dejanr> that was before nix 2?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41583 → bluez: 5.49 -> 5.50 → https://git.io/vh0cg
<cocreature> bbsl: good idea, I’ll try that later (or maybe I’ll just be lazy and open an issue :))
matthewbauer has joined #nixos
<bbsl> cocreature: yea I feel your pain though ... haskell hype train has a few pitstops like this :)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3b1e15140c5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
acarrico has joined #nixos
hph^ has quit [Ping timeout: 265 seconds]
<__monty__> Anyone use shake?
asuryawanshi has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to staging « gtk3: 3.22.29 → 3.22.30 »: https://git.io/vh0Wn
reinzelmann has quit [Quit: Leaving]
xy2_ has joined #nixos
vaninwagen has quit [Ping timeout: 264 seconds]
jperras has joined #nixos
aarvar has quit [Ping timeout: 260 seconds]
Synthetica has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
matthewbauer has quit [Ping timeout: 248 seconds]
matthewbauer has joined #nixos
dbmikus has joined #nixos
bbsl has quit [Remote host closed the connection]
<lalaland> __monty__: yep.
<lalaland> Is this channel mainly for bots?
<__monty__> lalaland: I can't find any documentation on the shake cli, does it only work with ninja files?
<gchristensen> no
<gchristensen> maybe we should do away with {^_^}'s github updates altogether in here
<gchristensen> I think probably yes, at least for nixpkgs
<lalaland> Maybe there is not many master testers/users here.
<hodapp> any way to make CMake quit bitching about "Unable to find the requested Boost libraries." for boost_atomic, boost_date_time, boost_filesystem, boost_regex, boost_thread, boost_wave?
<lalaland> __monty__: ah, so that is not about Shake (haskell make alternative)?
<hodapp> <3 Shake. Tamed a very ugly cross-compiling build in it once.
<__monty__> lalaland: I thought the binary came with haskell shake. No idea where else it might've come from.
<__monty__> I'll stick to the runhaskell workflow though I guess.
<hodapp> are you trying to use the Shake that is the Haskell EDSL?
<hodapp> IIRC, you're not going to have a "Shake binary" per se, because Shake's used not as a standalone tool but as an EDSL that you use directly from Haskell
<lalaland> gchristensen: is there a place where I could ask why 'setxkbmap en' does not work and why 'Error loading keymap /tmp/server-0.xkm' in X log?
kerrhau has quit [Ping timeout: 260 seconds]
<gchristensen> here
<__monty__> hodapp: Yes.
<hodapp> oh, hmm, maybe I'm wrong
oltoAltn has quit [Read error: Connection reset by peer]
<sphalerite> I'm getting "Device or resource busy" on DNS resolution. What does this mean?
<__monty__> hodapp: I was hoping I could just run `shake <target>` and it'd look for a file called Shakefile. Imo the consistency of how make is *used* is just as important as what it can do. It seems like with shake everyone and their grandmother'll have a potentially differently named buildtool.
periklis has joined #nixos
<lalaland> __monty__: ah, now I see, you do not need to use Ninja, is a recently added compatibility feature.
karlguy_ has joined #nixos
olto has joined #nixos
<manveru> gchristensen: that's why i muted the bot ages ago, now i remember :)
silver has joined #nixos
<hodapp> __monty__: its whole point was to provide similar semantics to Makefiles, but with the language embedded inside of Haskell
<hodapp> but there is no separate Shake language
<hodapp> what are you trying to accomplish?
<__monty__> hodapp: That doesn't preclude having a shake binary that builds and/or runs a haskell file.
karlguy_ has quit [Max SendQ exceeded]
<LnL> gchristensen: I like those :/
<gchristensen> LnL: how about #nixos-bots?
<hodapp> __monty__: if you want to call your executable "shake" and run it like that, you can.
hyper_ch has quit [Ping timeout: 260 seconds]
<hodapp> just hardly anyone does because there's no point
karlguy has joined #nixos
adamt has joined #nixos
adamt is now known as Guest11225
periklis has quit [Remote host closed the connection]
periklis has joined #nixos
<__monty__> The point would be emulating the make workflow. Clone a repo, then blindly run make, presto donezo.
<lalaland> This is what I do with shake...
<LnL> gchristensen: dunno, I don't get the problem with some notices in the channel it's not like it's more than people talking
<hodapp> not even 'make' really works that way
<__monty__> lalaland: But you have to figure out what the repo-du-jour's taste in naming build systems is first.
<hodapp> except on really simple builds
<gchristensen> someteimes it is a lot :/
<__monty__> hodapp: I guess I only work with really simple builds.
<lalaland> __monty__: could you give an example, I have time, because I wait for Nixpkgs master users (or even Unstable).
<hodapp> __monty__: then I have no idea what you are hoping to get out of Shake.
<hodapp> __monty__: when I used Shake it was because I had a really ugly, nasty cross-compiling build with multiple levels of codegen.
<hodapp> and I wasn't concerned with little trivialities of how things were named, but with whether or not the build worked and the resultant binaries ran on the target board.
<__monty__> hodapp: Shake supposedly subsumes make so I figured I'd give it a shot.
<lalaland> Hadrian (Shake based) is build system for GHC.
<hodapp> lalaland: GHC build system is based on Shake?
<__monty__> I thought shake was developed at least in part to be ghc's build system.
<lalaland> https://github.com/snowleopard/hadrian yes, but do you also know that I cannot write non-english words on Nixpkgs master?
<hodapp> __monty__: I've not ever seen Shake described as something that subsumes make, but as something for which the EDSL itself supports similar semantics to make, intentionally - not as a drop-in replacement.
<__monty__> hodapp: I really don't see why shake shouldn't behave like make, currently it behaves like ninja, why's that any more logical? The shake binary is used to run builds that aren't defined with shake in mind at all.
<lalaland> That Ninja feature is an addition.
<lalaland> I use shake to shake regular Haskell build recipes.
<LnL> gchristensen: I'd prefer making it a bit smarter, like eg. filter openend by r-ryantm
hph^ has joined #nixos
<__monty__> lalaland: Yeah but in doesn't make sense to me. Why not have shake emulate make and add a shuriken binary or something that emulates ninja?
<gchristensen> samueldr: ^
<__monty__> lalaland: So in Setup.hs?
<lalaland> Because make has flaws and shake wants to improve. Is not a drop-in replacement.
<lalaland> I will tell you if you execute 'setxkbmap en' in your shell :)
ar has joined #nixos
<__monty__> I'm not on nixos and not on nixos-master either.
<LnL> gchristensen: and 'pushed %d commits to master' if the previous event a merge by the same person?
<hodapp> __monty__: you are really making a lot of insistence about what the point "should" be in someone else's work.
<LnL> gchristensen: those are usually redundant
<samueldr> gchristensen: should be possible, but filtering the push events from a closed r-ryantm PR would require coalescing the pair merge/push
atu has joined #nixos
<symphorien> lluchs: it's setxkbmap us, not en
<__monty__> hodapp, lalaland: Should we maybe take the discussion to #nixos-chat?
<symphorien> lalaland: , not lluchs , sorry
roconnor_ has joined #nixos
<hodapp> __monty__: probably best for you to go find Neil Mitchell and lecture him on what he did wrong yourself.
roconnor has quit [Ping timeout: 265 seconds]
<lalaland> symphorien: thank you, so they removed my layout (not en, but en gave me the same error message).
<lalaland> symphorien: you are the best. cheers.
<LnL> samueldr: doesn't the bot only create merge requests? close/merge is done by a maintainer
<__monty__> hodapp: Don't intend to lecture anyone. Just think it's a questionable decision UX wise. Imo it's something make did well.
<samueldr> exactly, depends on what kind of filtering is wanted
<samueldr> filter all events that came from those PRs
deepfire` has joined #nixos
<samueldr> or only filter out their open?
Guest11225 has quit [Ping timeout: 268 seconds]
<__monty__> hodapp: Especially because there's a --makefile option that expects a ninja file...
<LnL> I was thinking of just open initially, since that's the least interesting
<samueldr> LnL: if you have something you want to add https://github.com/samueldr/github-to-irc/issues/10
<lalaland> __monty__: everything about Shake was explained (also in papers). It works as designed. Ninja thing is a recent addition.
<lalaland> __monty__: authors explain why Make is not good.
<samueldr> though, maybe it's relevant to instead make a by-the-hour digest of all events?
<__monty__> lalaland: Just because it's an addition doesn't mean it should claim such valuable binary naming real-estate imo.
roconnor_ has quit [Ping timeout: 256 seconds]
roconnor_ has joined #nixos
<lalaland> I am pointing out that is recent, because Shake is fluid. Is not stable yet. Today is here, tomorrow is fixed.
<lalaland> Like regressions in Nixpkgs master :)
<samueldr> [NixOS/nixpkgs] in the last hour: XXXX new PR, XXXX closed PR, XXXX merged PR, XXXX new issues, XXXX closed issues, XXXX commits pushed https://___some-detailed-log___/
<__monty__> lalaland: All I'm saying is I expected "shake <target>" to look for a "Shakefile" and execute "runhaskell Shakefile <target>". I'm not in any way saying shake should be more like make past that.
<hodapp> __monty__: go file an issue in their GitHub.
<lalaland> If you want a stable tool then try Darcs. (Is not a replacement for git, is better ;P)
<lalaland> __monty__: that was the case in the past, but they have a regression now.
<lalaland> Install Shake from Nixos 17.03, it should work that way.
<LnL> samueldr: well, that doesn't have any interesting information except for stats
<__monty__> hodapp, lalaland: Fine, I'll file an issue about it. Meanwhile I'm wondering whether `cmd_` executes commands in a specific shell or in $SHELL? I'm trying to call `dhall-to-text` but it doesn't take arguments, it gets its input from stdin.
xy2_ has quit [Ping timeout: 276 seconds]
<samueldr> all depends how the bot's going to evolve
nico202 has joined #nixos
<LnL> samueldr: I find the notices useful to notice what's going on without having to hunt for them myself, but obviously not everybody agrees with that :)
<samueldr> LnL: I think the same way
<samueldr> personally, I would open the firehose more by adding issues open/close to e.g. the bots channel, and reduce the general amount of noise here
ThatDocsLady has quit [Ping timeout: 256 seconds]
<samueldr> so, events as they come in the bots channel, digest here, with a well-formatted digest
szicari has joined #nixos
<lalaland> symphorien: any idea where are layouts in /nix/store?
periklis has quit [Remote host closed the connection]
<lalaland> (X locales because glibc's are in /nix/store/*-glibc-*/share/i18n/locales)
<symphorien> use strace on a working setxkbmap ?
<lalaland> Have used it, but it loads a lot.
<{^_^}> [nixpkgs] @tkerber opened pull request #41587 → bumblebee: fix libbsd dependency → https://git.io/vh0uR
<lalaland> Ok, is in /nix/store/chgicdk0sh9a7y2l1y1yiyhdngpg141v-setxkbmap-1.3.1/share/X11/xkb/symbols
atu has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ericson2314 closed pull request #40639 → Ensure build/hostPatform when cross compiling from macOS → https://git.io/vpbMa
hph^ has quit [Ping timeout: 260 seconds]
<lalaland> But I see e.g. 'pl' in it, but I cannot load it :?
erasmas has joined #nixos
nico202 has quit [Quit: Leaving]
frankpf has joined #nixos
<kendrick_> for anyone having an issue installing ghc-mod on 18.03, i reverted back to 17.09 and my config file works perfectly. I think its something to do with 18.03 using ghc 8.2.2 which isn't supported by everything. Github issue: https://github.com/NixOS/nixpkgs/issues/36604
<lalaland> symphorien: last thing and I am gone to bisect evdev/xorg updates in Nixpkgs. Could you try 'setxkbmap pl' (it is mainly us layout, so you will be able to execute 'setxkbmap us' without problem).
kendrick_ has quit [Remote host closed the connection]
<symphorien> it works, but I am on 18.03
<lalaland> Thank you very much, so I am not crazy and something is broken on master.
jD91mZM2 has joined #nixos
philippD has joined #nixos
roconnor_ has quit [Ping timeout: 240 seconds]
roconnor_ has joined #nixos
ixxie has joined #nixos
fragamus has joined #nixos
<philippD> Does anyone have experience runing idea-community on NixOS? I don't want to install any java compiler for my user but rather use nix-shell to select one. but if I run `nix-shell -p openjdk --run idea-community` the ide can't find any compilers
* hc uses it on nixos and it runs just fine :)
<{^_^}> [nixpkgs] @tkerber closed pull request #41587 → bumblebee: fix libbsd dependency → https://git.io/vh0uR
<matthewbauer> is JAVA_HOME set? We probably need to do that in a shell hook
__monty__ has quit [Ping timeout: 256 seconds]
johanot has quit [Quit: Leaving.]
lalaland has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<philippD> nope it's not set
roconnor_ has quit [Ping timeout: 268 seconds]
thblt has quit [Remote host closed the connection]
frankpf has quit [Quit: Leaving]
<philippD> but even if I set it the list of installed jdks stays empty
roconnor_ has joined #nixos
<{^_^}> [nix-mode] @yorickvP opened pull request #42 → [wip] better `nix-indent-line` → https://git.io/vh0w3
<ixxie> philippD: why don't you make a default.nix with idea-community and whatever stuff you need (compilers, libs, etc) and just run that?
matthewbauer has quit [Remote host closed the connection]
thblt has joined #nixos
thblt has quit [Changing host]
thblt has joined #nixos
<gchristensen> /!\ travel alert /!\ I'm going to be in Paris and London at the end of june (I have dates now), PM me if you'd like to try and meet up.
<philippD> ixxie: That should result in the same environment though shouldn't it?
<manveru> heh, ryan dahl about the node horrors :) http://tinyclouds.org/jsconf2018.pdf
<manveru> (including gyp)
__monty__ has joined #nixos
roconnor_ has quit [Ping timeout: 240 seconds]
roconnor has joined #nixos
thblt has quit [Quit: ZNC - http://znc.in]
__monty__ has quit [Client Quit]
phdoerfler has joined #nixos
<ixxie> philippD: well not if you add compilers
<ixxie> explicitly
karlguy has quit [Ping timeout: 256 seconds]
<ixxie> an advantage is that you can keep augmenting the dev environment without having to rewrite the command
matthewbauer has joined #nixos
roconnor_ has joined #nixos
roconnor has quit [Ping timeout: 276 seconds]
lanelet has joined #nixos
Supersonic has quit [Ping timeout: 240 seconds]
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @uri-canva opened pull request #41589 → stdenv.cc: use libc++ as default c++ standard library on darwin → https://git.io/vh0oI
<hodapp> anybody know much on how to make CMake see boost libraries? I'm trying to do a build and FindBoost.cmake (seems to be the normal one shipped in Nixpkgs' cmake) is complaining it can't find some static Boost libraries, like boost_atomic
<clever> hodapp: did you try adding pkgconfig to the nativeBuildInputs?
<hodapp> didn't help
spietz has joined #nixos
<symphorien> are you sure nixpkgs's boost contains static libs at all ?
<hodapp> so I see that there is both /nix/store/...-boost-1.66_0-dev, and /nix/store/...-boost-1.66_0
__Sander__ has quit [Quit: Konversation terminated!]
<hodapp> and the latter contains the static libraries, while the former does not
ThatDocsLady has quit [Client Quit]
<hodapp> but CMake is only finding the former
alexteves_ has joined #nixos
cloud-maingo has joined #nixos
thblt has joined #nixos
<hodapp> I guess this is the .dev and .out attributes for boost
<hodapp> okay, now that I know that it might explain the configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ] and "--with-boost-libdir=${boost.out}/lib" in nixpkgs, now that I know what to look for...
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
roconnor_ has quit [Ping timeout: 260 seconds]
<alexteves_> I got a wifi card to work on nixos via network manager, but only on about half the boots
<alexteves_> Sometimes when I load NM will auto-connect right away, sometimes it won't display any wifi networks and ifconfig -a has one less entry.
<alexteves_> Any idea what's going on?
<alexteves_> s/load/boot
spietz has quit [Quit: WeeChat 1.9.1]
roconnor has joined #nixos
thblt has quit [Quit: ZNC - http://znc.in]
thblt has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #41068 → z3: 4.6.0 -> 4.7.1 → https://git.io/vhLC3
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vh06e
phdoerfler has left #nixos [#nixos]
<{^_^}> [nixpkgs] @tkerber opened pull request #41590 → skypeforlinux: remove libstdc++5 dependency → https://git.io/vh06Y
logzet has quit [Ping timeout: 265 seconds]
sbdchd has quit [Remote host closed the connection]
softinio has joined #nixos
<softinio> Hi I have installed NixOS on a linode VPS I get out of memory when rebuilding
<softinio> it suggests using a swap size of 4gb to overcome issue
<softinio> is this something I setup in my configuration or do I increase the disk partition I am using for swap to 4gb?
<tilpner> If you are using a swap partition, you should do it manually
<tilpner> For a swapfile, configuration.nix will do
<softinio> ok so as I have a swap partition just increase its size ?
woodson_ has joined #nixos
<tilpner> swapoff, resize, possible mkswap, swapon
<softinio> tilpner: confused what do u mean
<tilpner> (That's what I would do, not sure if it handle live resizing or similar)
freusque has quit [Quit: WeeChat 2.0]
<tilpner> softinio - First disable swap, then make your partition bigger, recreate the swap area with mkswap, then turn it back on
<ixxie> gchristensen: when are you in london exactly?
<tilpner> Does relocation error: symbol version GLIBC_2.2.5 not defined in file libc.so.6 with link time reference look familiar to anyone?
<softinio> I can't just shutdown vps, use Linode dash to resize physical partition and restart VPS? You can tell I haven't done this before lol !
<gchristensen> ixxie: sometime around the 27th (_exactly_ when I get to London is not clear yet) to the 2nd
<{^_^}> [nixpkgs] @vbgl opened pull request #41591 → ocamlPackages: use opaline instead of opam-installer → https://git.io/vh0iE
<tilpner> softinio - I don't know if there's any smartness built into either Linode tools or NixOS that would resize the swap area (of if that's even necessary!)
<ixxie> gchristensen: so really end of June.... I will be there 15-19 June
<gchristensen> oh no!
<tilpner> softinio - But a reboot is not necessary for this
orivej has quit [Ping timeout: 264 seconds]
<tilpner> (Unless your disk is full. I'd not try online size decrease of /)
<gchristensen> ixxie: where are you based?
<gchristensen> ixxie: and, want to extend your trip a few days and meet in Paris? :P
<ixxie> gchristensen: Helsinki
<ixxie> gchristensen: that would be tricky xD
<ixxie> when are you in Paris? Right after that?
<ixxie> hmm
winem_ has quit [Ping timeout: 268 seconds]
roconnor has quit [Remote host closed the connection]
roconnor has joined #nixos
woodson_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hyper_ch has joined #nixos
<ixxie> When writing a path in a module's serviceConfig, do I need to escape a dash?
<ixxie> my ExecStart=''c.NotebookApp.token = u''
<ixxie> I mean ExecStart = ''${pkgs.python3.pkgs.jupyterlab}/bin/jupyter-lab \
<manveru> ixxie: no, \ in '''' is literal
<ixxie> results in a call /nix/store/{jupyterlab}/jupyter
<ixxie> manveru: the problem is the dash
<manveru> uhm
<manveru> that sounds wrong :)
<manveru> did you look at your generated service config?
<ixxie> I want to but don't know where to look
<manveru> `systemctl show $(yourservicename)`
hph^ has joined #nixos
<{^_^}> [nixpkgs] @erictapen opened pull request #41592 → [nixos-18.03] haskellPackages.http-link-header: disable tests → https://git.io/vh0XT
<softinio> tilpner: decrease of / when system off a problem?
<ixxie> manveru: AGAIN I was looking at the wrong end of the log -.-
<ixxie> gotta G that ship
<manveru> ;)
civodul has joined #nixos
<tilpner> softinio - Not if you're careful. Some tools handle it for you, but you need to make sure the filesystem is decreased in size first. Only then can the partition be shrinked
<manveru> ixxie: `journalctl -xef` is your friend
<softinio> tilpner: how do you decrease filesystem
<{^_^}> [nixpkgs] @erictapen opened pull request #41593 → haskellPackages.http-link-header: disable tests → https://git.io/vh0Xu
<tilpner> softinio - Look at resize2fs if using ext[234]
<softinio> tilpner: how do I check what I am using :-)
hph^ has quit [Read error: Connection reset by peer]
<tilpner> df -T
hph^ has joined #nixos
<softinio> thx
<{^_^}> [nixpkgs] @lopsided98 opened pull request #41594 → platforms/raspberrypi: enable kernelAutoModules → https://git.io/vh0XF
goibhniu has quit [Ping timeout: 264 seconds]
juri2mol has joined #nixos
lezed1 has joined #nixos
juri2mol has left #nixos [#nixos]
orivej has joined #nixos
Guest96440 is now known as judson
<judson> gchristensen, do you have a write up of the Nix-supported MySQL integration test environment you presented about ... a year or two ago, maybe?
<gchristensen> a write-up? no, but I have code
<gchristensen> and the video
<{^_^}> [nixpkgs] @peti pushed to master « multi-ghc-travis: patch to support latest ShellCheck version »: https://git.io/vh0Mi
<{^_^}> [nixpkgs] @leenaars opened pull request #41595 → getdns: 1.4.1 -> 1.4.2 → https://git.io/vh0M9
jensens has quit [Ping timeout: 245 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Notkea has quit [Remote host closed the connection]
<ixxie> gchristensen: what are you doing in London and Paris?
<gchristensen> doing an on-site with my Tweag.io
<gchristensen> s/my//
periklis has joined #nixos
balsoft has joined #nixos
roconnor has quit [Ping timeout: 240 seconds]
endforma1 has joined #nixos
<ixxie> interesting
<ixxie> not sure what to make of it but interesting
<ixxie> gchristensen: do you know if there is anybody messing around with kubernixos?
endformationage has quit [Ping timeout: 260 seconds]
<gchristensen> I don't know, but I know some people who are interested
fragamus has joined #nixos
<ixxie> just curious, I don't know anything about kube but I am interested in learning IF there is anyhope of integrating with Nix
xy2_ has joined #nixos
sbdchd has joined #nixos
iyzsong has quit [Ping timeout: 248 seconds]
nh2 has quit [Quit: Leaving.]
Notkea has joined #nixos
sbdchd has quit [Ping timeout: 276 seconds]
lonokhov has quit [Quit: WeeChat 2.0]
thblt is now known as thp
sigmundv has quit [Ping timeout: 268 seconds]
thp is now known as thblt
<{^_^}> [nixpkgs] @jbboehr closed pull request #41519 → buildRustPackage: preserve output from cargo-vendor → https://git.io/vhRzd
roni_ has joined #nixos
<matthewbauer> alright! we should be getting a nixpkgs channel update soon. apologies for taking so long - inkscape pulled in a lot of new dependencies but it should be building now
<roni_> hi all, i'm trying to upgrade to 18.03, and i'm getting this cryptic file ‘nixpkgs/nixos’ was not found in the Nix search path (add it using $NIX_PATH or -I) message when i run nixos-rebuild switch --upgrade
<roni_> help!
<roni_> i believe i am in this nix 2.0 with nix-daemon 2.0.2 problem, and i'm not sure how to resolve that either
<LnL> what's your NIX_PATH?
<{^_^}> [nixpkgs] @vbgl opened pull request #41596 → ocamlPackages.functory: 0.5 -> 0.6 → https://git.io/vh0S5
sbdchd has joined #nixos
Supersonic has joined #nixos
pie__ has quit [Ping timeout: 240 seconds]
asuryawanshi has joined #nixos
roconnor has joined #nixos
periklis has quit [Quit: ERC (IRC client for Emacs 26.1)]
sanscoeur has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/0f73fef53a9 (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
roconnor has quit [Ping timeout: 240 seconds]
<hodapp> raaaawr... bloody CMake build still somehow cannot find the Boost static libraries, despite that I've pointed it right at the directory that has libboost_*.so
<hodapp> and .a
<{^_^}> [nixpkgs] @pSub pushed to master « bro: 2.5.3 -> 2.5.4 »: https://git.io/vh0HB
dbmikus_ has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to release-18.03 « bro: 2.5.3 -> 2.5.4 »: https://git.io/vh0Hz
dbmikus has quit [Read error: Connection reset by peer]
dbmikus__ has joined #nixos
goibhniu has joined #nixos
bara has quit [Ping timeout: 265 seconds]
hellrazor has joined #nixos
dbmikus_ has quit [Ping timeout: 268 seconds]
balsoft has quit [Quit: balsoft]
<manveru> hodapp: does strace show that it looks there?
pie__ has joined #nixos
<hodapp> manveru: I haven't straced yet but as it searches I do see things like: -- [ /nix/store/pxajy0zvz9a68w82anchqpdk64sjjyhh-cmake-3.10.2/share/cmake-3.10/Modules/FindBoost.cmake:380 ] Boost_LIBRARY_DIR_RELEASE = /nix/store/fl
<hodapp> kflngh5rj13ph54rkcy3pyirh7c6kp-boost-1.66_0/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /nix/store/flkflngh5rj13ph54rkcy3pyirh7c6kp-boost-1.66_0/lib;NO_DE
<hodapp> ack, sorry, didn't realize that was gonna be multiline
dima1 has joined #nixos
ixxie has quit [Ping timeout: 264 seconds]
dima1 has quit [Client Quit]
<manveru> yeah, just asking, because usually i figure out how such tools look for stuff using `strace -f -e trace=file`... never trust the logs :P
<hodapp> it's just boggling my mind that some other CMake builds, which are very likely using the exact same FindBoost.cmake, aren't having this issue and are using the same technique I am for setting the library directory
johs has quit []
johs has joined #nixos
ixxie has joined #nixos
<roni_> LnL: nixpkgs=/home/roni/.nix-defexpr/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix
<roni_> but, i also tried clearing that, and changing the first part so it says "nixos=/nix/var/nix/..." to point to root's nixos-18.03 channel
<ixxie> dotlambda: you around?
nuncanada has joined #nixos
nuncanada has quit [Remote host closed the connection]
<manveru> shlevy: is there any doc about how to use nix-plugins? installing it does nothing for me...
asymmetric has quit [Read error: Connection reset by peer]
logiq_ has joined #nixos
<LnL> roni_: hmm that looks custom, what about for sudo/root
fendor has quit [Ping timeout: 268 seconds]
<roni_> LnL: nixpkgs=/home/roni/.nix-defexpr/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix
Gohla has quit [Ping timeout: 240 seconds]
goibhniu has quit [Ping timeout: 268 seconds]
<roni_> LnL: it's my configuration.nix that sets that value, and i can't remember why i added it
<roni_> but of course i can't change that setting because it requires a nixos-rebuild :'(
<LnL> maybe that's the problem, do you have nix 2.0 now right?
<roni_> yes
<roni_> i think that's why i'm in this hot water... any ideas on how to get myself out?
<LnL> nixos-rebuild switch -I nixpkgs=channel:nixos-18.03
<manveru> ah, found it
<roni_> LnL: awesome, do i need --upgrade there too?
<LnL> no, this will use the latest version of 18.03
<roni_> gotcha
<roni_> let me try it... thanks
<LnL> the only thing --upgrade does is run nix-channel --update nixos in the back for you
<{^_^}> [nixpkgs] @orivej pushed 0 commits to revert-41373-bitwise: https://git.io/vh0F4
<roni_> similar error messages
<roni_> "warning: Nix search path entry ‘channel:nixos-18.03’ does not exist, ignoring
<LnL> are you sure this is nix 2.0 then?
jophish has quit [Quit: WeeChat 2.0]
<roni_> what's the right way to verify?
<roni_> hm, my nix, nix-env, and nix-daemon versions are all 2.0.2, is that correct?
<LnL> nix-store --version and/or systemctl show nix-daemon | grep ExecStart
semilattice has joined #nixos
Gohla has joined #nixos
<ixxie> I am working on a module and discovered problems with the corresponding package; fixes to the package should be in a different commit but can be in the same PR, but I want to do two fixed:
<ixxie> 1. move the body of the code from the top-level/python-modules.nix to a seperate file
<ixxie> 2. bump the version
<ixxie> 3. add missing dependencies
<ixxie> can 1+2+3 be in one commit?
<ixxie> or at least 2+3
dmc has quit [Ping timeout: 244 seconds]
btbytes has joined #nixos
<roni_> LnL: nix-store is 2.0.2, but the ExecStart line says nix-1.11.16!
<LnL> ixxie: I'd put 1. in a separate commit to make the diff easier to read
<btbytes> Hi all.. is this a good place ask for help regarding building nixpkgs ?
<ixxie> that is white I thought LnL
<LnL> ixxie: only reason I'd put 2/3 in separate commits is if 18.03 also has missing dependencies to make backporting easier
<LnL> roni_: that's interesting what about /run/current-system/sw/bin/nix-store --version
<roni_> 1.11.16
<ixxie> LnL: not to sure if the dependencies are missing from the current version or the one I need or whatnot
<btbytes> I'm having trouble upgrading a a rust package to the latest version. https://gist.github.com/btbytes/b06ebe922ab3b65a1de6e9ac1af1c661 <- is the error message
<ixxie> LnL: I started working on a Jupyterlab module and after some evenings wondering what I am doing wrong I discovered the package doesn't even work
<judson> gchristensen, if you can share the code for the MySQL testing that would be fab
asuryawanshi has quit [Remote host closed the connection]
<ixxie> LnL: also its VERY outdated
<ixxie> LnL: so I think I will just combine 2+3 because effort into make the outdated version seem silly
asuryawanshi has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4436745e9b7 (from 51 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<gchristensen> judson: if you need help grokking it, lmk
slack1256 has joined #nixos
<LnL> ixxie: ah that sounds fair
jtojnar has quit [Ping timeout: 240 seconds]
<LnL> roni_: so your system is still using 1.11, you just installed 2.0 in your user profile
goibhniu has joined #nixos
<gchristensen> it would be very neat if Nix could error if paths don't exist which I expect to exist. in other words, "${mypkgs}/bin/foo" -> bin/foo may or may not exist, but how about "${mypkg + "bin/foo"} -> validates it exists or not. obviously I know this would be tough... but I'd love it :D
<roni_> LnL: that sounds familiar :)
<roni_> can you point me to how to fix it?
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<roni_> or rather, if my system is using 1.11, can you help me understand why i'm running into those error messages?
dmc has joined #nixos
ixxie has quit [Ping timeout: 256 seconds]
<LnL> you can use an url like this then https://nixos.org/channels/nixos-18.03/nixexprs.tar.xz
<LnL> or maybe use 17.09 first to get back to a working state
<{^_^}> [nixpkgs] @LnL7 merged pull request #40729 → nixos/tests/hydra: build a trivial derivation → https://git.io/vpx1n
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to master: https://git.io/vh0Nu
slack1256 has quit [Ping timeout: 264 seconds]
<roni_> LnL: sorry, can you show me a full-ish command line to run? and also, seriously, thank you for your help
bennofs has joined #nixos
balsoft has joined #nixos
<roni_> just do nixos-rebuild -I with that url?
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #41597 → atom-beta: 1.28.0-beta2 -> 1.28.0-beta3 → https://git.io/vh0NK
<LnL> nixos-rebuild switch -I nixpkgs=https://nixos.org/channels/nixos-18.03/nixexprs.tar.xz
<LnL> with 2.0 channel:nixos-18.03 is a shortcut for that
<roni_> oh it looks like it's doing its thing, thanks!
<roni_> after this upgrade, do you expect i should be able to use nix 2.0 and be on my way?
<LnL> 2.0 is the default on 18.03
<{^_^}> [nixpkgs] @bkchr opened pull request #41598 → Nividia 390 67 → https://git.io/vh0Aq
lnikkila has joined #nixos
slack1256 has joined #nixos
humanoyd has quit [Quit: WeeChat 2.1]
roconnor has joined #nixos
nh2 has joined #nixos
srhb has quit [Ping timeout: 248 seconds]
srhb has joined #nixos
<roni_> LnL: thank you so much, looks like i am up and running again
<roni_> is there documentation explaining what is deprecated with nix 2.0?
halfbit has joined #nixos
roconnor has quit [Ping timeout: 240 seconds]
szicari has quit [Read error: Connection reset by peer]
phdoerfler has joined #nixos
pie__ has quit [Ping timeout: 264 seconds]
szicari has joined #nixos
pie__ has joined #nixos
sir_guy_carleton has joined #nixos
roconnor has joined #nixos
jtojnar has joined #nixos
ixxie has joined #nixos
<roni_> LnL: again, thanks so much! system feels like it's humming along nicely now
<roni_> including a fixed nm-applet on my desktop :)
<{^_^}> [nixpkgs] @mbbx6spp opened pull request #41600 → documentation: add sub-section for the nixpkgs manual Haskell section → https://git.io/vh0xQ
<LnL> no problem :)
<LnL> so you also recovered the nix.nixPath issues?
<LnL> don't forget to switch your system channel, using an url is temporary and doesn't change your active channels
<roni_> ah yes, thanks for that last tip
<roni_> for nix.nixPath, i simply removed that config option from configuration.nix
semilattice has quit [Ping timeout: 260 seconds]
nlytend has joined #nixos
<nlytend> Hi
<LnL> if you used 18.03 but sudo nix-channel --list still points to 17.09 you'd downgrade with the next rebuild
<btbytes> anyone with buildRustPackage experience?
<btbytes> I'm seeing a "error: the lock file needs to be updated but --frozen was passed to prevent this" ..
<nlytend> When installing haskell packages i am getting 'encountered missing dependencies', and adding them manually feels like i am doing something wrong.
<nlytend> What's up with this?
<roni_> LnL: thanks -- i verified that `sudo nix-channel --list` does indeed show 18.03 now
phdoerfler has quit [Quit: Leaving.]
semilattice has joined #nixos
balsoft has quit [Quit: balsoft]
nur0n0 has joined #nixos
Xal has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/release-combined: remove keymap tests from tested job »: https://git.io/vh0hU
<{^_^}> [nixpkgs] @joachifm merged pull request #38263 → grub: support initrd secrets → https://git.io/vxKKW
roconnor has quit [Read error: Connection reset by peer]
roconnor has joined #nixos
Xal has joined #nixos
fabian_ has joined #nixos
<fabian_> hi, I'm quite confused about the nixpkgs my build is using
<fabian_> when building my derivation with a pinned nixpkgs-version, it is able to find haskellPackages.ghcjs
roconnor has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @nlewo merged pull request #40666 → m32edit and x32edit: init at 3.2 → https://git.io/vpNW1
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vh0ho
<fabian_> but when building with my system's "<nixpkgs>", it can't find haskellPackages.ghcjs
daGrevis has quit [Quit: ZNC - http://znc.in]
lielazive has quit [Quit: ZNC - http://znc.in]
sie_ has quit [Quit: ZNC - http://znc.in]
sbdchd has quit [Remote host closed the connection]
<fabian_> nix-channel --list -> nixpkgs http://nixos.org/channels/nixpkgs-unstable
<ixxie> nlytend: how are you installing them and how are you using them?
lielazive has joined #nixos
<cocreature> fabian_: does it complain about haskellPackages or about the ghcjs attribute in haskellPackages? afaik that has existed for quite some time so I would be surprised if your channel is lagging so far behind that it doesn’t exist
alexteves_ has quit [Remote host closed the connection]
<ixxie> nlytend: libraries don't get installed in the general environment; instead you should create a default.nix which creates the environment with all its dependencies and builds your project
szicari has quit [Quit: Leaving.]
alexteves_ has joined #nixos
daGrevis has joined #nixos
<ixxie> nlytend: here is a simple example
ijsicle has joined #nixos
<fabian_> cocreature: nix-env -f "<nixpkgs>" -qaP -A haskellPackages ghc -> haskellPackages.ghc_8_4_1 ghc-8.4.1
<ixxie> nlytend: then inside the project directory you can run nix-build and the result will be symlinked into a folder called result
<fabian_> ix-env -f "<nixpkgs>" -qaP -A haskellPackages ghcjs -> error: selector 'ghcjs' matches no derivations
szicari has joined #nixos
cloud-maingo has quit [Quit: Connection closed for inactivity]
<fabian_> cocreature: it does not find any ghcjs package at all. but having ghc841 available makes me think it's a quite current channel
ijsicle has quit [Client Quit]
lielazive has quit [Client Quit]
daGrevis has quit [Client Quit]
asuryawanshi has quit [Ping timeout: 276 seconds]
pie__ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @nlewo pushed to master « midas: fix package name (x32edit and m32edit) »: https://git.io/vh0jC
lielazive has joined #nixos
daGrevis has joined #nixos
ijsicle has joined #nixos
<nlytend> Ah ok
<cocreature> fabian_: try haskell.packages.ghcjs maybe?
<nlytend> But i thought what i am installing is a package
<nlytend> 'Leksah' ide for haskell
<nlytend> I was listing them in with pkgs [ ] and running sudo nixos-rebuild switch
<fabian_> cocreature: nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghcjs -> error: attribute 'haskeline_0_7_3_1' missing, at /nix/store/399zqar7p8qfchdybaxlyxf1i7mq8246-nixpkgs/nixpkgs/pkgs/development/haskell-modules/configuration-ghcjs.nix:50:15
<elvishjerricco> fabian_: Yea, ghcjs is not under `haskellPackages`. It's its own thing. haskell.compiler.ghcjs
acarrico has quit [Ping timeout: 260 seconds]
<elvishjerricco> fabian_: Evaluating haskell.packages.ghcjs will attempt to evaluate all haskell packages as if they were built by GHCJS. That's quite a bit more than just the compiler you want :P
<elvishjerricco> haskell.compiler.ghcjs is probably what you want
<elvishjerricco> fabian_: GHCJS was only fixed very recently on master. It may not be on nixos-unstable yet. But you can get it from master ad-hoc with `nix-env -f https://github.com/NixOS/nixpkgs/archive/master.tar.gz`
sbdchd has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.0]
jtojnar_ has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
mizu_no__ has joined #nixos
jtojnar has joined #nixos
pie_ has joined #nixos
vandenoever has quit [Ping timeout: 268 seconds]
<fabian_> I'm still confused on how to actually search for haskell-related stuff in the nix-env. I understand that -A haskellPackages searches for derivations tagges with haskellPackages. But how can I "find" ghcjs?
jtojnar_ has quit [Ping timeout: 276 seconds]
kreisys has quit [Ping timeout: 245 seconds]
<ixxie> nlytend: did you use nix-env -i leksah or what?
<nlytend> I put leksah in /etc/nixos/configuration.nix 'with pkgs []' expression then nixos-rebuild
<fabian_> @elvishjerricco
<nlytend> haskellPackages.leksah
<nlytend> nix-env -i leksah gives 'Setup: encountered missing dependencies:'
<nlytend> Setup: Encountered missing dependencies:
<nlytend> Cabal >=2.2.0 && <2.3,
<nlytend> QuickCheck ==2.11.*,
<nlytend> ghc >=8.4.2 && <8.5,
<nlytend> base >=4.11.0 && <4.12,
<nlytend> haddock-library >=1.6.0 && <1.7
<nlytend> builder for '/nix/store/9la9lrn3alf5mkfjydypmig2dykng98z-haddock-api-2.20.0.drv' failed with exit code 1
<nlytend> cannot build derivation '/nix/store/7mkids9fpnys5c3nl6gzdj7lfvjd66ag-ghc-8.2.2-with-packages.drv': 1 dependencies couldn't be built
<nlytend> cannot build derivation '/nix/store/iwa6gd5ggzyb0k8x3yf7hba6k7ymrxkb-leksah.drv': 1 dependencies couldn't be built
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #41561 → h2o: 2.2.4 -> 2.2.5 → https://git.io/vh0vY
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from R. RyanTM to master « h2o: 2.2.4 -> 2.2.5 »: https://git.io/vhEv3
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #41560 → gtkwave: 3.3.90 -> 3.3.91 → https://git.io/vh0vU
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from R. RyanTM to master « gtkwave: 3.3.90 -> 3.3.91 »: https://git.io/vhEvW
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #41570 → cryptoverif: 1.28 -> 2.00 → https://git.io/vh0qo
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from R. RyanTM to master « cryptoverif: 1.28 -> 2.00 »: https://git.io/vhEv4
<ixxie> nlytend: I am trying nix-env -f "<nixpkgs>" -iA haskellPackages.leksah
<nlytend> ty
<ixxie> I get the same failure
<ixxie> looks like something broke the package
<nlytend> git master branch build is failing
semilattice has quit [Remote host closed the connection]
goibhniu has quit [Ping timeout: 265 seconds]
<hodapp> if I'm trying to shoehorn strace into this CMake build to figure out where it's actually looking, how might I go about doing that?
<hodapp> still stuck at this idiotic Boost issue (as if there were some other kind of Boost interaction)
<justan0theruser> is scipy broken in 18.03? https://hastebin.com/raw/diqotanofo
<hodapp> justan0theruser: feel almost certain I'm using scipy on 18.03 with no problem
<justan0theruser> I was using it with no problem
<justan0theruser> but now I'm getting this issue
vandenoever has joined #nixos
<justan0theruser> hmm, numpy and scipy haven't changed in 9mo
szicari has quit [Quit: Leaving.]
<hodapp> okay, either CMake isn't even *trying* to look in the directory where it claims it's looking for Boost libraries, or it's just doing it in a way that strace can't pick up
Intensity has quit [Ping timeout: 260 seconds]
Intensity has joined #nixos
<hodapp> already added -DBoost_DEBUG=ON... are there other magical ways to trick CMake into telling me wtf it is actually doing?
<ixxie> I donno, at some point last year numpy was broken I believe
<ixxie> or was it sklearn?
<ixxie> not sure
hph^ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41578 → parity: 1.9.7 -> 1.10.6 [SECURITY UPDATES] → https://git.io/vh0Gl
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vhEfP
softinio has quit [Quit: Connection closed for inactivity]
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41597 → atom-beta: 1.28.0-beta2 -> 1.28.0-beta3 → https://git.io/vh0NK
<{^_^}> [nixpkgs] @xeji pushed commit from @Synthetica9 to master « atom-beta: 1.28.0-beta2 -> 1.28.0-beta3 (#41597) »: https://git.io/vhEf7
vaninwagen has joined #nixos
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed to master « quiterss: 0.18.10 -> 0.18.11 »: https://git.io/vhEJ3
nlytend has left #nixos ["left."]
Intensity has quit [Ping timeout: 260 seconds]
Intensity has joined #nixos
mahalel_ has joined #nixos
sbdchd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #41595 → getdns: 1.4.1 -> 1.4.2 → https://git.io/vh0M9
<{^_^}> [nixpkgs] @xeji pushed commit from @leenaars to master « getdns: 1.4.1 -> 1.4.2 (#41595) »: https://git.io/vhEJy
fabian_ has quit [Ping timeout: 260 seconds]
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41554 → Mint: 2018-05-27 -> 0.0.3 → https://git.io/vhRNT
<{^_^}> [nixpkgs] @xeji pushed commit from @manveru to master « Mint: 2018-05-27 -> 0.0.3 (#41554) »: https://git.io/vhEUv
sbdchd has joined #nixos
philippD has joined #nixos
freeman42x[nix] has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41590 → skypeforlinux: remove libstdc++5 dependency → https://git.io/vh06Y
<{^_^}> [nixpkgs] @xeji pushed commit from @tkerber to master « skypeforlinux: remove libstdc++5 dependency (#41590) »: https://git.io/vhEU4
<{^_^}> [nixpkgs] @xeji merged pull request #41577 → joker: 0.9.2 -> 0.9.3 → https://git.io/vh0Gk
<{^_^}> [nixpkgs] @xeji pushed commit from @andrestylianos to master « joker: 0.9.2 -> 0.9.3 (#41577) »: https://git.io/vhEUa
hph^ has joined #nixos
inquisitiv3 has joined #nixos
yorick has quit [Ping timeout: 256 seconds]
<inquisitiv3> Is there big differences between NixOS and regular Linux distributions (Debian and RHEL/Fedora) besides the packaging system?
yorick has joined #nixos
<gchristensen> what sort of differences mighty ou imagine?
<LnL> yes, it also handles configuration of services
<inquisitiv3> gchristensen: Logs, configuring firewall, etc.
<ixxie> inquisitiv3: for me the big difference is declarative configuration and rollbacks (=very stable despite allowing for experimentation)
<inquisitiv3> ixxie: Thanks! I'll read trough it.
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @xeji merged pull request #41596 → ocamlPackages.functory: 0.5 -> 0.6 → https://git.io/vh0S5
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocamlPackages.functory: 0.5 -> 0.6 (#41596) »: https://git.io/vhETs
<leons> ixxie: That's quite the comparison, thanks for the link. Pretty common question
<ixxie> inquisitiv3: also https://nixos.wiki/wiki/NixOS may be helpful
<ixxie> leons: the article can probably be improved, as can any and all wiki articles! Contributers welcome :)
<ixxie> there is also #nixos-wiki if you wanna chat about maintaining the wiki
<{^_^}> [nixpkgs] @xeji merged pull request #41497 → mariadb: 10.2.14 -> 10.2.15 → https://git.io/vhRtN
<{^_^}> [nixpkgs] @xeji pushed commit from @Izorkin to master « mariadb: 10.2.14 -> 10.2.15 (#41497) »: https://git.io/vhETR
<samueldr> inquisitiv3: for what it's woth, logs are handled by journald, services are systemd, but generated using configuration.nix
<ixxie> inquisitiv3: think of it this way: you can have a git repo store everything you need to reproduce the system configuration just the way you like it
<leons> inquisitiv3: When you're dropped into the shell however, except all the declarative configuration goodness, it will pretty much feel like a regular linux system at first. All your favorite apps and tools are available. So don't hesitate and try it out!
<inquisitiv3> The reason I ask is because I'm wondering how applicable the documentation for different systems is for NixOS.
<ixxie> good question
<ixxie> somewhat
<samueldr> more than if we weren't using upstream stuff like that
<samueldr> what will most likely change is how you *modify* things
<ixxie> it depends on the details
<samueldr> you won't sudo vim /etc/some_thing, but will probably handle it through configuration.nix
<leons> inquisitiv3: you'll just have to be careful when doing system configuration, as no files are under /etc and the common directories. In your $home, most stuff should work
<ixxie> and stuff will be installed elsewhere than a normal system
<ixxie> inquisitiv3: https://nixos.wiki/wiki/Cheatsheet this can help translate
<inquisitiv3> So the big difference is the configuration format and file?
<samueldr> even then, it will generally end up being in the same format that upstream uses
<leons> inquisitiv3: it is kind of neat to know that nix nixos abstracts many aspects of system configuration but is using standard software underneath. E.g. systemsd, iptables, etc.
<ixxie> inquisitiv3: the general workflow is quite different
cfricke has joined #nixos
Intensity has quit [Ping timeout: 260 seconds]
<samueldr> e.g. for a system service, you configure it using the nix expression language, but the keys are concepts are one-to-one
* samueldr should re-read when writing
<ixxie> inquisitiv3: in a sense Nix lets us wrap all the stuff we do to manage a system into a set of config files
<samueldr> e.g. for a system*d* service, you configure it using the nix expression language, but the keys *and* concepts are one-to-one
fendor has joined #nixos
Intensity has joined #nixos
<inquisitiv3> So in a sense you write configuration files in Nix expressions, and when a "transpiler" make it usable for the system in question?
<leons> inquisitiv3: The end-result of your nix expressions are just regular config files and scripts, yes
<leons> Although it will store them under a path located in /nix/store and create a different path for a different set of inputs. This allows for stuff like rollbacks
tzemanovic has quit [Remote host closed the connection]
mizu_no__ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41583 → bluez: 5.49 -> 5.50 → https://git.io/vh0cg
<ixxie> inquisitiv3: I think of it as 'the one configuration language to rule them all'
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to staging « bluez: 5.49 -> 5.50 (#41583) »: https://git.io/vhEkN
pie_ has quit [Ping timeout: 264 seconds]
<inquisitiv3> Thanks for the explanation :)
<ixxie> inquisitiv3: one language for builds, development environments, packages, system configuration, deployment and witchcraft
<inquisitiv3> The later one sound interesting! Can you teach me, or is it reserved for schools like Hogwarts and Durmstrang?
<leons> inquisitiv3: I think that for me is the main part which differentiates it from other orchestration tools like Ansible. Nix and NixOS build of your system out a single derivation which sort of "references" other derivations. So it doesn't modify files in live locations but has everything stored neat and tidy. And can't really leave garbage behind (apart from derivations which aren't used anymore, which can be removed by a
<leons> command)
<{^_^}> [nixpkgs] @danbst opened pull request #41603 → Curator 552 → https://git.io/vhEI8
<leons> (Please excuse me if I'm not using the exact right terminology)
mizu_no__ has joined #nixos
balsoft has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41475 → manual: make epub a build product on hydra → https://git.io/vh4az
<{^_^}> [nixpkgs] @xeji pushed commit from @LnL7 to master « manual: make epub a build product on hydra (#41475) »: https://git.io/vhEID
mizu_no__ has quit [Client Quit]
fendor has quit [Quit: Leaving]
<gchristensen> inquisitiv3: you should probably just try it
cloud-maingo has joined #nixos
<gchristensen> in a VM if necessary
<gchristensen> we're here to help, and a lot of the claims are not very believable without having tried it
acarrico has joined #nixos
<ixxie> inquisitiv3: we teach it here too ;)
balsoft has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @bluescreen303 pushed to lib-fix-recursive-update-until « lib/recursiveUpdateUntil: fix code to match documentation »: https://git.io/vhELm
roni_ has left #nixos [#nixos]
<inquisitiv3> gchristensen: I'm working on it! Currently downloading the ISO.
<ixxie> The initiation has begun! Huzza!
<{^_^}> [nixpkgs] @bluescreen303 pushed 0 commits to lib-fix-recursive-update-until: https://git.io/vhELc
<ixxie> anyway
johnsonav has joined #nixos
<gchristensen> woohoo!
johnsonav has left #nixos [#nixos]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nixos
<elvishjerricco> It's quite surprising to me that there aren't more distros like NixOS. You'd think fully automated, rollback-able, reproducible systems would be important to an OS.
<inquisitiv3> elvishjerricco: https://www.projectatomic.io/
<inquisitiv3> Btw, has someone in the NixOS community written about OSTree? I can't only find opinion pieces from developers involved in Project Atomic, and not the other way around.
<Guanin> Anyone here who has an LTE modem running on nixOS? I had to switch back to my old laptop and threw nixOS on it to force me to use it
Intensity has quit [Ping timeout: 260 seconds]
hamishmack has quit [Ping timeout: 245 seconds]
<leons> elvishjerricco: I'm trying to get a few people at my company to use it. They're just getting used to the fact that deployment with tools like Ansible are now expected by customers (in addition to hundreds of pages of manual). Most of them just wait until something like NixOS is mainstream, I guess it just takes a lot of time to take off
hotfuzz has quit [Read error: Connection reset by peer]
<nur0n0> evlishjerricco: in my mind http://cr.yp.to/slashpackage.html was a first step toward something like NixOS
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
hotfuzz has joined #nixos
<nur0n0> on the surface they may look different, but I think they had similar philosophies
<ixxie> elvishjerricco: there is Guix
Hdphn has joined #nixos
<gchristensen> nur0n0: when is that from+
<gchristensen> ?
Intensity has joined #nixos
<nur0n0> gchristensen: I believe its pretty old (but I actually have no idea; I couldn't find a timestamp anywhere). I was actually trying to implement a systems inspired by his notes when I found Nix!
<gchristensen> nice
mekeor has joined #nixos
szicari has joined #nixos
<samueldr> the last-modified header on those pages should give a good enough average
<samueldr> gives ~july 2001
<gchristensen> impressive, genuinely slightly older than Nix :)
<leons> nur0n0: I really liked the idea of /package too and used it a bit. What annoyed me a bit was that there was no CI and all packages were constantly broken. Also dependency management and that it didn't work with anything else
acarrico has quit [Ping timeout: 264 seconds]
Intensity has quit [Ping timeout: 260 seconds]
<nur0n0> leons: yeah, it definitely was not a fully fleshed out system. which is why I'm glad that Nix has hit a significant mass in terms of its community
sbdchd has quit [Remote host closed the connection]
<nur0n0> so many good ideas die because not enough people recognize them as such (or they just don't care)
<gchristensen> me too
<inquisitiv3> The files with the ISOs' SHA256 sums doesn't contain the file names. How can I correct this? Or is it the build tool that should be corrected?
<gchristensen> link?
<inquisitiv3> gchristensen: Do you mean link to the files?
<samueldr> inquisitiv3: you're verifying them using something that expects the filenames?
<samueldr> what tool is it?
<inquisitiv3> sha256
<samueldr> good
<samueldr> I'm expecting users visually check
<samueldr> instead of using that mode
vaninwagen has quit [Quit: WeeChat 2.1]
<inquisitiv3> Why?
<samueldr> dunno!
<{^_^}> [nixpkgs] @bluescreen303 opened pull request #41604 → lib/recursiveUpdateUntil: fix code to match documentation → https://git.io/vhEme
halfbit has quit [Ping timeout: 245 seconds]
<samueldr> but you have a good point there inquisitiv3
simukis has quit [Remote host closed the connection]
Intensity has joined #nixos
<gchristensen> inquisitiv3: mind opening an issue on http://github.com/nixos/nixos-homepage and cc @grahamc ?
ixxie has quit [Ping timeout: 248 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<inquisitiv3> gchristensen: I'll do it.
<gchristensen> thank you
<philippD> I'm trying to set up Intellij for the first time on NixOS through idea-community. It installs correctly but it doesn't find any JDKs. If I click the + in the SDKs dialog nothing happens. Does anyone have an idea what going on here?
logiq_ has quit [Ping timeout: 268 seconds]
softinio has joined #nixos
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Client Quit]
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Intensity has quit [Ping timeout: 260 seconds]
Lisanna has joined #nixos
<inquisitiv3> gchristensen: Are you grahamc on Github?
<gchristensen> yea
<{^_^}> [nixpkgs] @lsix opened pull request #41605 → unifont: 10.0.06 -> 11.0.01 → https://git.io/vhEYx
<__monty__> What's with nix guys flipping their github naming convention on irc? : p
<samueldr> grahamc is there already :)
<gchristensen> no idea :)
pie_ has joined #nixos
Intensity has joined #nixos
<inquisitiv3> Don't know if there's a delay before the bot posts that a new issue has opened, or if it doesn't post issues in the nixos-homepage repo.
<gchristensen> it doesn't post issues
<inquisitiv3> Aah, I missread. :P
<inquisitiv3> Hope the issue was clear enough for you.
<gchristensen> yep, thank you
<samueldr> 👍 even added the bit of research I did
<gchristensen> samueldr seems on thhe case :)
<inquisitiv3> (y)
* inquisitiv3 trying to figure out how you post the thumps up icon
<samueldr> I'm using ibus
<gchristensen> me? I copy-paste it from when samueldr doees it
mekeor has quit [Ping timeout: 245 seconds]
<inquisitiv3> Hahaha
<samueldr> mod4+shift+ctrl+e will show the emoji picker
<inquisitiv3> Emacs user? ;)
<samueldr> default (newish) shortcut for ibus
<Lisanna> why does nix-channel --update sometimes fail to detect that a nixexprs.tar.xz has changed on the server?
<Lisanna> I have tarball-ttl = 0
<samueldr> so it's agnostic
logzet has joined #nixos
logzet has quit [Remote host closed the connection]
fendor has joined #nixos
<Lisanna> I'm hosting the nixexprs.tar.xz in question, and I update it frequently.
<clever> auto filename = dl->downloadCached(store, url, false, "", Hash(), &effectiveUrl, 0);
<clever> Path Downloader::downloadCached(ref<Store> store, const string & url_, bool unpack, string name, const Hash & expectedHash, string * effectiveUrl, int ttl)
<clever> Lisanna: according to the source, nix-channel always sets the ttl to 0
<Lisanna> clever yeah, this doesn't seem to have anything to do with ttl. it's random as far as I can tell
<Lisanna> sometimes I'll make a few updates all within the same minute and it detects the change, and sometimes it just won't detect the change at all, no matter how long I wait
<clever> Lisanna: and it uses the ~/.cache/nix/tarballs dir to manage the caching
<clever> Lisanna: if you blow away that tarballs dir, it has to recheck
<Lisanna> clever yeah, and I purge ~/.cache regularly on linux to work around the issue, but I don't know where that is on darwin
jwynn6 has quit [Ping timeout: 248 seconds]
<gchristensen> should be in the same place
<samueldr> Lisanna: the server itself reports the right stuff in its headers? (though don't know if it would be used by nix and how it uses curl)
Intensity has quit [Ping timeout: 260 seconds]
<clever> samueldr: nix stores the etag in ~/.cache/nix/tarballs, and will abort if it hasnt changed
<samueldr> that good :)
<samueldr> though, maybe something caching in-between could be manipulating that, or misreporting?
<clever> it also stores the timestamp of when it last checked in that dir
<Lisanna> okay, must be some other issue then, because I've purged ~/.cache on my darwin machine. must be some other problem in this case, since nix-channel helpfully silences all errors so I'm left to just guess at what the issue is
<clever> Lisanna: what user did you run nix-channel as?
<Lisanna> clever sudo
<Lisanna> so, root
<clever> Lisanna: did you purge roots ~/.cache or your own?
<Lisanna> I've purged both just in case
<clever> using `sudo rm -rf ~/.cache/` ?
<Lisanna> yes
<clever> [clever@amd-nixos:~]$ sudo echo ~/.cache
<clever> /home/clever/.cache
<clever> bash expands that to the non-root directory, before running sudo
<Lisanna> oh no
<clever> use `sudo -i` to get a proper root shell
<samueldr> or ~root/ to expand to root's home
<gchristensen> yay macos
<Lisanna> omfg
<clever> apple also sets $HOME wrong when you sudo, so `sudo nix-channel --update` does not update roots channels
<clever> blame apple
<__monty__> Can mac os serve as a remote build host for a linux box?
<clever> __monty__: yep
<gchristensen> "wrong" -> it is an option in the sudo config they've chosen not to set :P
<clever> __monty__: just make sure that ~/.bashrc sources the profile.d/nix.sh file nix installed
<clever> __monty__: you can confirm its working by running `ssh user@mac nix-store --version`
Intensity has joined #nixos
<gchristensen> clever++
<{^_^}> clever's karma got increased to 3
<__monty__> Sweet, 2Gigs is sadly not enough to get GHC installed.
Ridout has joined #nixos
<__monty__> Sometimes it is but not alltimes.
<samueldr> wrong is debatable, surprising is right though, one easily could assume env will be root's when sudoing :/
<Lisanna> omfg that fixed it. Okay, so macos nonsense aside, why might nix-channel be failing to recognize that the tarball has changed? I'm literally doing nothing more complicated than nginx.virtualHosts.<myhost>.locations.<location>.alias = myChannel.release.tarball
<gchristensen> Lisanna: are you serving an etag?
<inquisitiv3> Thanks yet again for all the help you've given me! The project to install NixOS in a VM is for tomorrow.
<Lisanna> gchristensen No idea
<clever> Lisanna: if you `curl -i` the file before and after the change, what http headers does it return each time?
<gchristensen> inquisitiv3: if you follow my path and try it tomorrow, you'll be in here erasing your laptop to install nixos directly on saturady. :)
sbdchd has joined #nixos
<Lisanna> yeah, there's an etag in there
<clever> Lisanna: and does the etag change when you modify the file?
<Lisanna> clever let me try to test. might need to make a few random changes before I can trigger the bug
<__monty__> clever: nix.sh or nix-daemon.sh?
npmccallum_ has quit [Quit: npmccallum_]
<clever> __monty__: probably nix-daemon.sh
silver has quit [Ping timeout: 248 seconds]
<clever> __monty__: i think you can also source /etc/bashrc from ~/.bashrc to get the same effect
<gchristensen> nah
<gchristensen> /etc/bashrc aborts if you're sshing in
<clever> dang
<Lisanna> OK, I posted a change that doesn't get recognized by nix-channel, and the etag has not changed
<clever> Lisanna: then your nginx is not configured properly
<Lisanna> Alright, so how is the etag calculated?
<clever> Lisanna: as long as the etag is the same, nix will refuse to download the file again
mekeor has joined #nixos
Intensity has quit [Ping timeout: 260 seconds]
<clever> Lisanna: can you pastebin the whole nginx.conf file, from `ps aux | grep nginx`
<inquisitiv3> gchristensen: We'll see...
sbdchd has quit [Ping timeout: 265 seconds]
<__monty__> clever: Hmm, getting "zsh:1:command not found: nix-store" but both ~/.bashrc and ~/.zshrc source nix-daemon.sh (if it exists).
Intensity has joined #nixos
<clever> __monty__: zsh may behave differently, add echo's to any file zsh may source on startup
<clever> __monty__: or add a dedicated user for the build slave and set that user back to bash
szicari has quit [Quit: Leaving.]
sigmundv__ has joined #nixos
klntsky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @orivej closed pull request #41537 → [WIP] netbsd.compat: fix build with musl → https://git.io/vhRMw
<Lisanna> grep for mychannel
<{^_^}> [nixpkgs] @orivej reopened pull request #41537 → [WIP] netbsd.compat: fix build with musl → https://git.io/vhRMw
<Lisanna> alias /nix/store/zqy5ymsxy5vwjj8s9f1697xf017wwqvg-nixexprs.tar.xz
hiratara has quit [Ping timeout: 276 seconds]
<clever> yep
<Lisanna> I'm using the recommended gzip, optimisation, proxy, and tls settings
klntsky has joined #nixos
<clever> Lisanna: what about the output of `stat /nix/store/zqy5ymsxy5vwjj8s9f1697xf017wwqvg-nixexprs.tar.xz`
<Lisanna> is etag calculated based on that?
<__monty__> Hmm, seems like zsh doesn't source .zshrc nor .zprofile, any I'm missing? Also, which of the files is a better place to put the nix-daemon sourcing and the env vars?
<clever> Lisanna: i think its based on the last-modified timestamp and something else
hiratara has joined #nixos
<Lisanna> size?
<Lisanna> the change I did didn't change the size
<Lisanna> I'm suspecting that to be the culprit here
<clever> what is the current value of the etag?
<clever> oh wait, thats a %x
<Lisanna> "1-9818"
<clever> checking...
<clever> Lisanna: bingo
<clever> the 1 is the last-mod timestamp (the nix store is to blame)
<clever> and the 9818 is the size in hex (38936 bytes)
<Lisanna> omfg
<samueldr> oh boy
<gchristensen> oy
<clever> because nix is nuking all timestamps, your etag is based purely on size
<clever> gg nginx
<Lisanna> alright, so I'll just have to set some nginx config to specify how to generate the etag
<clever> Lisanna: you can also just set etag off;
<earldouglas> How do I install a derivation using a specific git sha from nixpkgs?
<Lisanna> but then what will nix-channel do?
<clever> Lisanna: if the etag is missing, then it will redownload it every time
<earldouglas> I tried `nix-env -i foo -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/ABC123SHASHA.tar.gz`, but I don't think that's quite right.
<Lisanna> clever I don't want that though, that's inefficient - Ideally I'd like to just use the hash in the /nix/store filename or something
<Lisanna> as the etag
<clever> Lisanna: next option would be to not put the nixexprs.tar.gz into the store
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<clever> Lisanna: configure nginx to serve it from some mutable directory, and setup a script to copy it there on startup/update
<clever> Lisanna: and ensure the timestamp of the copy is the time when it was copied
<Lisanna> that would make me very sad, but it's a good backup plan
<Lisanna> surely there has to be some way to customize the etag aglo
<clever> then nix-channel would only re-download when you re-copy the file (even if it hasnt changed)
<clever> Lisanna: check the source in the serverfault i linked
<clever> gchristensen: :O
klntsky has quit [Ping timeout: 250 seconds]
<gchristensen> clever: :D every time I get a ":O" from you I feel like I did something _really_ cool :D
inquisitiv3 has quit [Ping timeout: 268 seconds]
<__monty__> I'll figure this out later, nn all.
<clever> gchristensen: i could probably use that to improve my justdoit tests
<gchristensen> clever: I'll be open sourcing all this code in ~2wks
<gchristensen> niice
sigmundv has quit [Ping timeout: 260 seconds]
<clever> gchristensen: i have 5 different configurations i need to simulate, and all of them are just a matter of running justdoit in a console, waiting for it to install nixos, rebooting, and then confirming it boots
<samueldr> justtestit when?
<Lisanna> oh no... I don't think this is customizable
<clever> samueldr: lol
klntsky has joined #nixos
__monty__ has quit [Quit: leaving]
<clever> gchristensen: nice
<Lisanna> dammit, I think I'd rather just turn off etags entirely. goddamnit nginx
<Lisanna> clever thank you for the debugging help on this
<clever> gchristensen: that also seems like a fun place to throw justdoit at
<clever> gchristensen: if you can forcibly boot a packet.net server with a given kernel+initrd, then you can ssh into that, run justdoit, and have total control over the partition tables nixos is installed with
<clever> the expect script appears to only test things, after it has been installed
<gchristensen> clever: I mean, it is basically how the nixos installer works there
<{^_^}> [nixpkgs] @knedlsepp opened pull request #41606 → Fix rWrapper on darwin → https://git.io/vhEZR
<clever> gchristensen: the only real difference would be the filesystem it uses i guess, my script uses zfs
<clever> gchristensen: yeah, that looks like a more flexible justdoit
<gchristensen> yep
<clever> gchristensen: you could also probably use my simple-test.nix to emulate nvme and/or uefi in qemu for local testing
sigmundv has joined #nixos
<gchristensen> the only problems I have are around dealing with exotic hardware
<clever> in my case, justdoit has to have the drive path (sda vs nvme0n1) configured in at compile-time
jperras has quit [Ping timeout: 276 seconds]
sigmundv has quit [Client Quit]
lezed1 has quit [Quit: Connection closed for inactivity]
<earldouglas> Oops, I was missing `-f '<nixpkgs>'`
i0-dfn has quit [Quit: No Ping reply in 180 seconds.]
sigmundv__ has quit [Remote host closed the connection]
i0-dfn has joined #nixos
sigmundv has joined #nixos
smallville7123 has joined #nixos
logiq_ has joined #nixos
<Lisanna> wtf, I turned off etag, and it's still sometimes not detecting the update, but now whether or not it doesn't seems to be independent of the size
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<clever> Lisanna: check the `curl -i` output for differences
<Lisanna> I verified that the etag is not there
<clever> Lisanna: is last-modified there?
<Lisanna> clever yeah, and it's 1970
<Lisanna> they all are
sigmundv__ has joined #nixos
<clever> Lisanna: that is likely also causing issues
<Lisanna> but it still updates sometimes
Hdphn has quit [Remote host closed the connection]
<Lisanna> after I change it it seems to update, but if I try to run the update command again afterwards it doesn't download it again
<Lisanna> ...which, sounds like the behavior that I want, but I'm skeptical that it isn't just a coincidence
<tazjin> does anyone here run a mailman setup on NixOS? (or know of an alternative, self-hosted mailing list software?)
blankhart has joined #nixos
<Lisanna> oh wait, what if I just used add_header to make a fake etag?
<clever> Lisanna: if you can make it unique each time, sure
<Lisanna> clever does it need to be in a specific format? or is it just a string comparison, and it can be any reasonable length?
<clever> Lisanna: its just a string
<Lisanna> cool!
<gchristensen> you could switch to apache too
<Lisanna> gchristensen lol
<clever> gchristensen: nginx has nicer nixos config flags
<gchristensen> apache <-> nginx <-> ...
logiq_ has quit [Ping timeout: 260 seconds]
lnikkila has quit [Ping timeout: 245 seconds]
seafood has joined #nixos
tamwile[m] has joined #nixos
xy2_ has quit [Ping timeout: 256 seconds]
dbmikus__ has quit [Quit: WeeChat 2.1]
<Lisanna> wtf, it didn't work )':
<Lisanna> etag: "3cb0hlyih3ck70lvq53w2z09bl8qagz6"
<Lisanna> it's showing up
mekeor has quit [Ping timeout: 245 seconds]
<Lisanna> but not updating
<{^_^}> [nixos-channel-scripts] @samueldr opened pull request #17 → Adds filename to sha256 file for use with `sha256 -c` → https://git.io/vhEnp
sigmundv has quit [Remote host closed the connection]
rain1 has joined #nixos
matthewbauer has quit [Ping timeout: 265 seconds]
<judson> I've noticed that I have trouble with Steam not seeing over the network (or so it seems - anything that would be using the in-steam browser is just a blank screen) I wonder if this is my local xdg-open issues or a known NixOS problem.
<Lisanna> maybe I screwed up the fake etag header somehow and curl -i is just happening to print it with identical characters
sigmundv has joined #nixos
<clever> Lisanna: how did you generate it?
<Lisanna> it's just the sha from the /nix/store path
<clever> Lisanna: how is it hashing it and including it in the config?
<Lisanna> add_header etag "\"${builtins.substring 11 32 mychannel.release.tarball.outPath}\"";
Ariakenom has quit [Quit: Leaving]
<clever> Lisanna: ah, i would expect that to change and correctly be unique
<Lisanna> yeah, that /seems/ to be working, according to curl -i
<Lisanna> etag: "3cb0hlyih3ck70lvq53w2z09bl8qagz6"
hiratara has quit [Quit: ZNC - http://znc.in]
<clever> Lisanna: and is it different after you modify the file?
<Lisanna> yeah
<Lisanna> but nix-channel is not updating it at /all/ now
<clever> Lisanna: check the most recently modified file in ~/.cache/nix/tarballs/
<Lisanna> wow I sure wish nix-channel didn't silence errors
<Lisanna> I have those dirs purged
<clever> Lisanna: what happens if you run it with -vvvv
hiratara has joined #nixos
<clever> finished download of 'https://d3g5gsiof5omrk.cloudfront.net/nixos/unstable/nixos-18.09pre140958.696c6bed4e8/nixexprs.tar.xz'; curl status = 0, HTTP status = 200, body = 11208088 bytes
<clever> i get output like this
<Lisanna> oh geez, didn't know -v worked with nix-channel now
cfricke has quit [Ping timeout: 245 seconds]
<samueldr> it's now part of a common options parser for nix
Sonarpulse has quit [Ping timeout: 248 seconds]
jperras has joined #nixos
fragamus has joined #nixos
nadley has quit [Ping timeout: 256 seconds]
alexteves_ has quit [Remote host closed the connection]
sigmundv has quit [Remote host closed the connection]
sigmundv has joined #nixos
<clever> shutting down on 200 HTTP response with expected ETag
<clever> Lisanna: it claims the etag is a match to the previous value
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
fragamus has quit [Ping timeout: 265 seconds]
<clever> Lisanna: /var/root/.cache/nix/tarballs/0zs83a6jbq4ff7iaig1qblgh94v3wj8sdjrrwyv3wrdlviavxpm5.info will contain the last etag it saw
jperras has quit [Ping timeout: 264 seconds]
<clever> that path is a hash of the URL
tzemanovic has joined #nixos
sigmundv has quit [Remote host closed the connection]
<Lisanna> clever huh, yeah, I guess it's working... tried it a few times and it's downloading it. must have just confused myself
<Lisanna> alright, cool, so this should be fixed now
frank87 has quit [Remote host closed the connection]
sigmundv has joined #nixos
frank87 has joined #nixos
matthewbauer has joined #nixos
<justan0theruser> Can someone give me an example of a package installed via dpkg?
<Guanin> What is the nix way to include something you'd install via pip? I want to keep this requirement within one project and want to switch to that environment by nix-shell and a default.nix. Is this right?
erasmas has quit [Quit: leaving]
<infinisil> Guanin: The pythonPackages attribute contains a lot of python packages, you could just include that in buildInputs or nativeBuildInputs
<infinisil> E.g. `nativeBuildInputs = [ pkgs.pythonPackages.pytest ];`
<Guanin> To be precise: I'm missing scapy-http ( https://pypi.org/project/scapy-http/ )
<Guanin> and as far as I can see, only nixos.python{27,36}Packages.scapy exist, but not this (small) extension
sanscoeur has quit [Remote host closed the connection]
<infinisil> Indeed, I'll recommend packaging it yourself then, it should be fairly easy
sbdchd has joined #nixos
sbdchd has quit [Ping timeout: 240 seconds]
sigmundv has quit [Remote host closed the connection]
palo_ has quit [Ping timeout: 260 seconds]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
freeman42x[nix] has quit [Ping timeout: 256 seconds]
contrapumpkin is now known as filthySJW
sigmundv has joined #nixos
filthySJW is now known as contrapumpkin
jasongro` has quit [Ping timeout: 256 seconds]
aarvar has joined #nixos
<Guanin> Oh, I don't think so - it seems to try to modify existing files from a differen package (scapy/layers/http.py)
sigmundv has quit [Ping timeout: 265 seconds]
sigmundv has joined #nixos
pie_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vhElK
joelpet has quit [Remote host closed the connection]
nadley has joined #nixos
<Guanin> I'll just put that single python file next to my code, problem solved
goibhniu has joined #nixos
spear2 has joined #nixos
jackdk has joined #nixos
fendor has quit [Read error: Connection reset by peer]
sorixelle has joined #nixos
acarrico has joined #nixos
blankhart has quit [Ping timeout: 264 seconds]
sigmundv__ has quit [Ping timeout: 265 seconds]
joelpet has joined #nixos
joelpet has quit [Changing host]
joelpet has joined #nixos
bara has joined #nixos
blankhart has joined #nixos
matthewbauer has quit [Remote host closed the connection]
matthewbauer has joined #nixos
smallville7123 has quit [Quit: rosa]
<matthewbauer> there should be a nixpkgs-unstable channel update in about 10 minutes!
ericsagn1 has quit [Ping timeout: 256 seconds]
sigmundv__ has joined #nixos
pie_ has joined #nixos
MP2E has joined #nixos
<MP2E> hi! I'm trying to rebuild off of nixpkgs master and it seems that as of commit 4c25fbe338212f498a34d2a9b4c2072ac96c0e31 i'm receiving this error message:
<MP2E> "Error getting name to temp file from template /boot/kernels/initrd-secrets.XXXXXXXX: Parent directory (/boot/kernels/) does not exist at /nix/store/rhaqrbjcx5mzd7zq2819x8bm83crwl35-install-grub.pl line 360."
<MP2E> i'll post a bug about it, but was wondering if anyone here had a quick workaround
<jtojnar> matthewbauer: how do you determine that?