anton__ has joined #nixos
JagaJaga has joined #nixos
user3485 has joined #nixos
<user3485> super close to breaking out of my nixos vm (and onto my laptop!) I have 2-ish things to figure out: it appears having a single partition, /dev/sda1, and using luks... I need to enter my password twice because of how /boot works. Is there a way to keep everything on 1 partition and encrypted... but only enter it once?
slack1256 has joined #nixos
<qknight> user3485: you can store the key for the second partition on the first and chainload it
Wizek_ has quit [(Ping timeout: 276 seconds)]
<user3485> qknight: I'm pretty new to this... is there a post about that somewhere? also security risks I should be aware of?
<user3485> I saw a couple of posts (maybe old irc logs) about nixos secret options
<qknight> user3485: you encrypted your /system and your /home partition, right?
<user3485> and about initrd
<qknight> user3485: if in doubt, review the code
<user3485> I'll have to do it again to get the order right... but I think I: made a partition table, luks-ified it (formatted /dev/sda1 with cryptsetup), then set a few configuration.nix options
<user3485> so it _all_ (including /boot, /system, /whatever) should be in /dev/sda1
<user3485> and encrypted
Rotaerk has joined #nixos
ison111 has joined #nixos
radvendii has joined #nixos
acowley_away is now known as acowley
adeohluwa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] GRBurst opened pull request #27345: Xcwd: init at 2016-09-30, add me as maintainer (master...xcwd-init) https://git.io/vQ9L2
NixOS_GitHub has left #nixos []
danl1240 has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] siddharthist opened pull request #27346: pycodestyle: 2.0.0 -> 2.3.1 (master...pycodestyle) https://git.io/vQ9L1
NixOS_GitHub has left #nixos []
LnL has quit [(Ping timeout: 260 seconds)]
Neo-- has quit [(Remote host closed the connection)]
radvendii has quit [(Ping timeout: 276 seconds)]
LnL has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
newhoggy has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
vaibhavsagar has joined #nixos
erlandsona has joined #nixos
<erlandsona> Hey all, so I've got nix-unstable as my nix-channel with nixos but it seems like nix-env is behind on versions? I'm trying to install bitwig-studio-2.0 which I had installed previously with environment.systemPackages. Does nix-env use a different channel / package set from nixos?
hellrazor has joined #nixos
vaibhavsagar has quit [(Ping timeout: 255 seconds)]
Wizek_ has joined #nixos
<pie_> anyone know how to fix this cmake configure error?: CMake Error at /nix/store/d5njnrw4kr980gldc98q80ldg0y249am-cmake-cursesUI-qt4UI-3.7.2/share/cmake-3.7/Modules/FindX11.cmake:429 (message):
<pie_> Could not find X11
phinxy has quit [(Read error: Connection reset by peer)]
hellrazo1 has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cstrahan opened pull request #27347: Osquery new (master...osquery-new) https://git.io/vQ9mn
NixOS_GitHub has left #nixos []
erlandsona has quit [(Remote host closed the connection)]
<pie_> well nix-shell -p cmake xorg.libX11 worked so...
<pie_> im doing stuff wrong in my cannibalized default.nix
<cstrahan> If anyone is interested in using osquery, check out my PR: https://git.io/vQ9mn
vaibhavsagar has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
lambdael has quit [(Quit: WeeChat 1.7.1)]
erlandsona has joined #nixos
mattzer has joined #nixos
<mattzer> I'm trying to deploy nixos to google compute engine. I see there are AMIs for amazon on the website, but no GCE images. Still I see that there are some files related to GCE in the nixos repository. How do I get or build an image?
<pie_> ok now im stuck on fatal error: GL/glu.h: No such file or directory
<erlandsona> Anyone know if nixos & nix-env get packages from different nix-channels or environments? If so how do I sync them up or what's the proper way to manage them separately? I'm trying to install bitwig-studio-2.0 but nix-env is only installing bitwig-studio-1.3.12?
ison111 has quit [(Quit: WeeChat 1.7.1)]
ison111 has joined #nixos
<pie_> huh neverming...what the heck it should be using the local repo version
<pie_> or nto
zeus_ has joined #nixos
<cmcdragonkai> erlandsona: Nix be default comes with a nixos or nixpkgs channel
<cmcdragonkai> that's where stuff will be downloaded from
lambdamu_ has joined #nixos
<cmcdragonkai> you can change to a different channel and hope your desired version is there
<cmcdragonkai> or skip channels, and use a local repository
<cmcdragonkai> or write your own nix expression
lambdamu has quit [(Ping timeout: 268 seconds)]
<erlandsona> cmcdragonkai: hey thanks, so I realized there's a different nix-channel for sudo vs my regular user... that said, nix-channel --add unstable for my user env didn't fix the issue? I know the version is part of master because I've installed it before. But since moving the declaration of the package from environment.systemPackages to packageOverrides in .config/nixpkgs/config.nix it pulled in an older version?
<cmcdragonkai> each user has their own channels
<cmcdragonkai> actually i wrote about how this works here: http://matrix.ai/2017/03/13/intro-to-nix-channels-and-reproducible-nixos-environment/
<pie_> am i doing it wrong? im using nix-shell -p *stuff* and the app im trying to build says Bonzomatic/external/glew/GL/glew.h:1202:24: fatal error: GL/glu.h: No such file or directory
<pie_> this is my commandline right now due to failing to find the right package nix-shell -p cmake stdenv glfw xorg.libX11 xorg.libXrandr xorg.libXinerama xorg.libXcursor SDL2 x11 mesa_glu mesa_noglu mesa glew xorg.libXext
user3485 has quit [(Ping timeout: 260 seconds)]
slack1256 has quit [(Remote host closed the connection)]
<mattzer> anybody know about GCE images?
<erlandsona> cmcdragonkai: Thank you for your post. Right at the end it mentioned having to run nix-channel --update after --add'ing a channel and also nix-env -irA channel_name.expression. How does '<nixpkgs>' tie into the whole channel thing?
<pie_> ok i managed to get default.nix working
<cmcdragonkai> the post also explains what <nixpkgs> is near the end
<cmcdragonkai> it's an environment variable inside the nix language
<cmcdragonkai> but how it works is also explained in the post
darlan has joined #nixos
<erlandsona> Haha I felt dumb soon as I kept scrolling! Thanks so much for that post cmcdragonkai!
s33se has joined #nixos
darlan has quit [(Client Quit)]
s33se_ has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
erlandsona has left #nixos []
acowley is now known as acowley_away
romildo has joined #nixos
<Infinisil> cmcdragonkai: Is matrix.ai your blogsite? Just to give some feedback, I find it really hard to read the font with such little contrast, it's way too bright imo
<cmcdragonkai> Infinisil: Thanks for the feedback, it's on the list of stuff todo
<Infinisil> cmcdragonkai: Nice :)
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/b6f05ca54d (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
romildo has quit [(Quit: Leaving)]
eacameron has quit [(Remote host closed the connection)]
thc202 has quit [(Ping timeout: 276 seconds)]
zeus_ has quit [(Remote host closed the connection)]
<mpcsh> hey nixers, got a quick question. I'm trying to use keybase on nixos, which involves installing the keybase, keybase-gui, and kbfs packages. I have them installed, and I have services.{keybase,kbfs}.enable = true set in my configuration.nix. but after sudo nixos-switch rebuild and even a reboot, neither service starts! can anyone help me debug?
eacameron has joined #nixos
zeus_ has joined #nixos
<copumpkin> any macOS 10.13 users around?
<copumpkin> I have a nix build that works on 10.13: https://github.com/NixOS/nixpkgs/pull/27318#issuecomment-314952699
eacameron has quit [(Remote host closed the connection)]
spinus has quit [(Ping timeout: 248 seconds)]
zeus_ has quit [(Ping timeout: 276 seconds)]
<disasm> mpcsh: do systemctl status keybase.service or journalctl -f give any guidance?
<mpcsh> disasm: nothing
<mpcsh> disasm: ah ha, they're apparently run as user services, and when I run systemctl status --user keybase it just says inactive (dead)
<mpcsh> if I run systemctl --user start keybase, it starts the keybase service. but systemctl --user start kbfs fails with "Job kbfs.service/start failed with result 'dependency'"
<disasm> mpcsh: have you done keybase login yet?
<mpcsh> disasm: yeah
<disasm> mpcsh: it started right up for me... but I'm also on unstable.
<mpcsh> disasm: same
<disasm> mpcsh: I'd try systemctl --user cat keybase
<disasm> and then manually run the command it's running
<disasm> err kbfs
<mpcsh> error mountpoint does not exist
<mpcsh> ah
<disasm> well there's a pre
<mpcsh> but the nix expression should run mkdir, no???
<disasm> /nix/store/v64g1yg79b4i3cc7ajxzi5gik4sq2737-coreutils-8.27/bin/mkdir -p %h/keybase
<mpcsh> disasm: ok after running mkdir it works
<mpcsh> the question is why doesn't it work in the service?
<mpcsh> agh eat my ass I'll be back in 40 mins, will leave irc open, help welcome
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
adeohluwa has quit [(Quit: Connection closed for inactivity)]
schoppenhauer has quit [(Ping timeout: 248 seconds)]
schoppenhauer has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
newhoggy_ has joined #nixos
kyren has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
kyren has joined #nixos
greglearns has joined #nixos
reinzelmann has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vQ9cx
<NixOS_GitHub> nixpkgs/master 5cb11ab Peter Hoeg: systemd: paths and slices are supported for user units too
NixOS_GitHub has left #nixos []
orivej has joined #nixos
<mpcsh> disasm: so in your configuration.nix, do you just have services.{keybase,kbfs}.enable = true?
ilyaigpetrov has joined #nixos
vaibhavsagar has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/vQ9Wn
<NixOS_GitHub> nixpkgs/master fa57005 Linus Heckemann: nixos-install: quote nixos-prepare-root arguments...
<NixOS_GitHub> nixpkgs/master 598d79a Daniel Peebles: Merge pull request #27341 from lheckemann/installer-fixes...
NixOS_GitHub has left #nixos []
newhoggy_ has quit [(Remote host closed the connection)]
kosh_an has joined #nixos
<clever> jophish: sounds easy enough
<kosh_an> Is there an example of nix derivation for python project packages with setuptools.
<kosh_an> I am python and nixos noob, but I am trying to package http://xmds.sourceforge.net/
<kosh_an> should I use mkDerivation or buildPythonPackage
<kosh_an> correction "for python projects packaged with setuptools."
zeus_ has joined #nixos
<cmcdragonkai> kosh_an: there's some documentation on the nixos manual regarding python and setup.py and nix-shell
mattzer has quit [(Quit: Konversation terminated!)]
vaibhavsagar has joined #nixos
<kosh_an> may you ment nixpkgs manual? I saw it, but I wonderd if there are any other examples
<kosh_an> maybe you ment nixpkgs manual? I saw it, but I wonderd if there are any other examples
nil has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<cmcdragonkai> kosh_an: Yea that's probably it, I was looking into this a while before, but development mode is probably where it's at
<cmcdragonkai> kosh_an: Previously i was using virtualenv and pip because I didn't know nix-shell auto sets up a development tmporary directory
<sphalerite[m]> nh2, mirror:// is actually supported by nixpkgs for various software hosts, just grep for it in nixpkgs to see
newhoggy has joined #nixos
radvendii has joined #nixos
eacameron has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
srhb has quit [(Quit: Quit)]
srhb has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #27350: Bump slurm, add pyslurm (master...slurm) https://git.io/vQ98b
NixOS_GitHub has left #nixos []
ilyaigpetrov has left #nixos []
MercurialAlchemi has joined #nixos
grisher has joined #nixos
greglearns has quit [(Ping timeout: 246 seconds)]
ChongLi has quit [(Read error: Connection reset by peer)]
greglearns has joined #nixos
kosh_an has quit [(Ping timeout: 260 seconds)]
hamishmack has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
ebzzry has quit [(Ping timeout: 260 seconds)]
zeus__ has joined #nixos
ebzzry has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
zeus__ has quit [(Ping timeout: 246 seconds)]
radvendii has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #27322: miso: init at 0.2.0.0 (master...patch-4) https://git.io/vQyvv
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
greglearns has quit [(Ping timeout: 255 seconds)]
ebzzry has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 9 new commits to master: https://git.io/vQ90R
<NixOS_GitHub> nixpkgs/master e59c532 Peter Simons: haskell-hspec-meta: use latest version when compiling with ghc-8.2.x...
<NixOS_GitHub> nixpkgs/master f980dbe Peter Simons: haskell-ChasingBottoms: jailbreak to fix build with ghc-8.2.x
<NixOS_GitHub> nixpkgs/master 0ee5424 Peter Simons: haskell-doctest: remove obsolete jailbreak; ghc-8.2.x can build this package now
NixOS_GitHub has left #nixos []
freusque has joined #nixos
ebzzry has joined #nixos
freusque has quit [(Client Quit)]
jgertm has joined #nixos
freusque has joined #nixos
davidak has joined #nixos
davidak has quit [(Client Quit)]
FRidh has joined #nixos
IITaudio_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
simukis_w has joined #nixos
bkchr has joined #nixos
<simukis_w> any reason stage1 is shell scripts instead of systemd?
arianvp2 has joined #nixos
Neo-- has joined #nixos
ebzzry has quit [(Ping timeout: 240 seconds)]
indi_ has quit [(Ping timeout: 268 seconds)]
newhoggy_ has joined #nixos
eacameron has joined #nixos
ebzzry has joined #nixos
takle has joined #nixos
newhoggy has quit [(Ping timeout: 276 seconds)]
newhoggy_ has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
Ivanych has joined #nixos
simukis_w has left #nixos []
simukis_w has joined #nixos
gilligan_ has joined #nixos
mudri has joined #nixos
ebzzry has quit [(Ping timeout: 255 seconds)]
nschoe has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
takle has quit [(Remote host closed the connection)]
arianvp2 has joined #nixos
roberth has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27346: pycodestyle: 2.0.0 -> 2.3.1 (master...pycodestyle) https://git.io/vQ9L1
NixOS_GitHub has left #nixos []
ChongLi has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
jgeerds has joined #nixos
<joepie91> my nixops deployment is alive! aliiiiive! https://pastebin-stream-dev.cryto.net/
<joepie91> on a testing box, but still :P
arianvp2 has quit [(Ping timeout: 260 seconds)]
arianvp2 has joined #nixos
simukis_w has quit [(Read error: Connection reset by peer)]
<hyper_ch> hmmm, why hasn't nixos-unstable updated for the last 9 days while there were quite a few things pushed to master?
ennui` has joined #nixos
erictapen has joined #nixos
chakerbenhamed has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vQ92X
<NixOS_GitHub> nixpkgs/master 07e492c Joachim Fasting: tor-browser-bundle-bin: do not call home to check tbb version
<NixOS_GitHub> nixpkgs/master 9e12be5 Joachim Fasting: tor-browser-bundle-bin: support injecting additional prefs...
NixOS_GitHub has left #nixos []
<srhb> hyper_ch: It updated yesterday
<hyper_ch> srhb: hmm, heroku doesn't think so
<srhb> hyper_ch: Or the day before, I forget.
<srhb> hyper_ch: Oh, maybe the channel didn't
<srhb> The naming clash between repositories is confusing Q_Q
newhoggy has quit [(Remote host closed the connection)]
<hyper_ch> and nixos-rebuild boot --upgrade doesn't do anything either... nox still broken :)
newhoggy has joined #nixos
<srhb> hyper_ch: You're on channels?
<hyper_ch> not sure what you mean
<srhb> hyper_ch: Are you using a git checkout of nixpkgs or nix channels
<hyper_ch> channels
<srhb> I don't know exactly when channels are advanced to their repository counterparts
<hyper_ch> neither do I know of all that magic behind it
<niksnut> you can see whether a channel has updated here: https://nixos.org/channels/
arjen-jonathan has joined #nixos
<hyper_ch> I was told to use https://howoldis.herokuapp.com/
newhoggy has quit [(Ping timeout: 248 seconds)]
<srhb> hyper_ch: Ah, that even includes nice explanations on why it's not updated.
takle has joined #nixos
__Sander__ has joined #nixos
<hyper_ch> srhb: well, yeah... but still not sure why it hasn't updated
<srhb> hyper_ch: Presumably because a build has not succeeded yet.
takle has quit [(Ping timeout: 255 seconds)]
arianvp2 has quit [(Read error: Connection reset by peer)]
tsmeets has joined #nixos
arianvp2 has joined #nixos
chakerbenhamed has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27350: Bump slurm, add pyslurm (master...slurm) https://git.io/vQ98b
NixOS_GitHub has left #nixos []
<tsmeets> Hello, I want to package the android-studio preview branch (canary 6). Only am i not sure under what attrubute to put that package.
Neo-- has quit [(Ping timeout: 240 seconds)]
<tsmeets> I could just name it 'android-studio-preview', or is 'android-studio.preview' better?
<tsmeets> only would that conflict with existing installations using 'android-studio'
<srhb> tsmeets: chromium packages like chromiumBeta, chromiumDev, chromium
<srhb> tsmeets: firefox like firefozx-beta, firefox
<srhb> I tend to prefer the dash version
<niksnut> the nixos-unstable channel update is barfing on:
<niksnut> Jul 13 08:31:26 webserver update-nixos-unstable-start[7036]: error: path ‘/nix/store/042yklr7p47rqcq56yr5s6qh0xslhlbp-llvm-4.0.1-man’ is not valid
mal_ has joined #nixos
<niksnut> Jul 13 08:31:26 webserver update-nixos-unstable-start[7036]: Died at /nix/store/rliwwbr2nnszan9nxp76lmx7js3kriq8-nixos-channel-scripts/bin/.mirror-nixos-branch-wrapped line 159.
<tsmeets> srhb: ok, thanks
<srhb> niksnut: How do you tell?
<mal_> hi, running nixos 17.03 i get error: cannot download google-chrome-stable_57.0.2987.133-1_amd64.deb from any mirror. How can i update this version? Only by changing the channel to unstable?
<niksnut> by logging in
thc202 has joined #nixos
<domenkozar> gchristensen: ready for Nix 1.11.12?
<FRidh> LnL: ^ related to llvm man changes? https://github.com/NixOS/nixpkgs/pull/26818
arianvp2 has quit [(Read error: Connection reset by peer)]
arianvp2 has joined #nixos
<LnL> what?
<domenkozar> path X is not valid is a very bad error message :) Could we list possible reasons for it?
<niksnut> so the problem is that hydra claims that it has been built (http://hydra.nixos.org/build/56151666) but it's not in cache.nixos.org
<niksnut> unfortunately, the hydra-queue-runner logs from that time have already disappeared
<LnL> I tested those changed with my local hydra so I doubt it's related to my changed
takle has joined #nixos
spinus has joined #nixos
<LnL> maybe the upload failed but hydra doesn't know it?
FRidh has quit [(Read error: Connection reset by peer)]
FRidh has joined #nixos
mudri has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27206: git-big-picture: init at 0.9.0 (master...InitGitBigPicture) https://git.io/vQowK
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #27351: Bump Zope packages to support Python 3.6 (master...zope_bump) https://git.io/vQ9Ke
NixOS_GitHub has left #nixos []
<niksnut> it makes hydra think the derivation has a "man" output, but it doesn't
arianvp2 has quit [(Quit: arianvp2)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #27352: vulnix: use zope.interface from pythonPackages (master...vulnix-py36) https://git.io/vQ9K6
NixOS_GitHub has left #nixos []
hyphon81 has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
<LnL> oh really?
spinus has quit [(Ping timeout: 276 seconds)]
<LnL> I specifically didn't build it locally to see if hydra didn't get confused
<domenkozar> :D
<domenkozar> so this change overcomes the check if man output exists?
arianvp2 has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
<LnL> its should work mostly the same way without adding "man" to the outputs if it's not enabled
<LnL> maybe it's something specific to the store_uri option, don't think I have that enabled
eacameron has quit [(Ping timeout: 255 seconds)]
<joepie91> my nixops configuration is starting to look nicer and nicer...
nschoe has quit [(Quit: Program. Terminated.)]
tsmeets has quit [(Quit: leaving)]
mudri has joined #nixos
tsmeets has joined #nixos
<gchristensen> domenkozar: I think it is ready to merge, IMO :)
<domenkozar> niksnut: can we then do 1.11.12? :)
<domenkozar> !m gchristensen
<[0__0]> You're doing good work, gchristensen!
<gchristensen> !m domenkozar
<[0__0]> You're doing good work, domenkozar!
arianvp2 has quit [(Read error: Connection reset by peer)]
arianvp2 has joined #nixos
<gchristensen> I think my PR is 11 months in the making, as 11mo ago I groaned (privately) that the mac installer didn't setup the daemon :P
IITaudio_ has quit [(Remote host closed the connection)]
<domenkozar> well I did nothing in this case :/
<gchristensen> don't sell yourself shortt
IITaudio_ has joined #nixos
<domenkozar> gchristensen: so the plan is to release 1.11.12 first then merge your PR?
<gchristensen> no, merge then release
<gchristensen> fixing libsodium removed the need to be a 2-step release
FRidh has quit [(Ping timeout: 240 seconds)]
<domenkozar> ah I missed that :)
FRidh has joined #nixos
<gchristensen> thethread got a bit long: https://github.com/NixOS/nix/pull/1453#issuecomment-314280334
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
<domenkozar> gchristensen: so if I want to test this, I should run on macOS:
<domenkozar> curl -o install.tar.bz2 http://gsc.io/nix.tar.bz2 && echo "1587e440bac9974733ec7182b22aeb7f883aa262db02486d05949979a8dec177 install.tar.bz2" | shasum -c && tar -xf ./install.tar.bz2 && cd nix-* && ./install
<chominist[m]> Where are the x11 definitions in configuration files?
<chominist[m]> E.g. xfree86
<gchristensen> domenkozar: hmmm maybe I should build an up to date installer for you
<domenkozar> niksnut can prepare the release but not bump the nixos.org/nix/install script
<domenkozar> and then we can test it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] TomSmeets opened pull request #27354: android-studio-preview: init at 3.0.0.5 canary 6 (master...androidstudio-3.0) https://git.io/vQ91m
NixOS_GitHub has left #nixos []
<gchristensen> domenkozar: I've got a new build on its way, it is tricky with one mac laptop available for oss work
<gchristensen> my build-test loop is 1. instsall nix 2. build the new nix. 3. uninstall nix 4. install my new nix 5. find a problem and uninstall nix, goto 1
arianvp2 has quit [(Quit: arianvp2)]
<tsmeets> srhb: done, thanks for your help :). https://github.com/NixOS/nixpkgs/pull/27354
simukis has joined #nixos
IITaudio_ has quit [(Remote host closed the connection)]
<ikwildrpepper> joepie91: <trolling> nix code with tabs :o </trolling>
<joepie91> lol
<ikwildrpepper> that looks just so weird :D
zraexy has quit [(Ping timeout: 240 seconds)]
<joepie91> you're free to configure your preferred display width of course ;)
<pstn> Is there another way to enable ipv4 fowarding in nixos than setting it in boot.kernel.sysctl?
jgertm has quit [(Ping timeout: 255 seconds)]
arianvp2 has joined #nixos
<joepie91> honestly browsers should probably just gain a "tab width for code blocks" option
<joepie91> I don't know why that isn't a thing yet
erictapen has quit [(Ping timeout: 240 seconds)]
<joepie91> anyway, I'm finally starting to feel comfortable enough with Nix as a language to do major code refactoring without testing inbetween and without losing track of what goes where
<joepie91> so,
<joepie91> so, ]o/ *
<joepie91> ....
<joepie91> so, \o/ *
<joepie91> today is not my best keyboarding day
<joepie91> turns out, no better way to learn a language than to try and write a parser for it? :P
tmaekawa has joined #nixos
arianvp2 has quit [(Ping timeout: 260 seconds)]
arianvp2 has joined #nixos
<pstn> joepie91: Can confirm. I only understood C after writing a parser for it in University.
mudri has quit [(Ping timeout: 260 seconds)]
arianvp2 has quit [(Ping timeout: 240 seconds)]
<joepie91> I guess this approach becomes rapidly unscalable once you start looking at the more complex languages
<joepie91> (looking at you, Python, C++, ...)
<gchristensen> you'd be mental to do it for C++
<joepie91> gchristensen: or just very, very bored
vaibhavsagar has quit [(Ping timeout: 268 seconds)]
justan0theruser has joined #nixos
justanotheruser has quit [(Ping timeout: 248 seconds)]
justan0theruser has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] selaux opened pull request #27355: nodejs: 8.1.0 -> 8.1.4 (master...nodejs-8.1.4) https://git.io/vQ9yO
NixOS_GitHub has left #nixos []
justanotheruser has joined #nixos
arianvp2 has joined #nixos
arjen-jonathan has quit [(Ping timeout: 268 seconds)]
mudri has joined #nixos
chakerbenhamed has joined #nixos
seanparsons has quit [(Read error: Connection reset by peer)]
<gchristensen> domenkozar: have you tried that one?
seanparsons has joined #nixos
<pstn> Indeed. Writing a C parser is pretty fun though and not to much work if you don't want to catch every syntactic sugar but just get a decent undersanding of how the language works.
<pstn> (I wrote C and syntactic sugar in the same sentence)
joelpet has quit [(Remote host closed the connection)]
erictapen has joined #nixos
bkchr has quit [(Remote host closed the connection)]
arianvp2 has quit [(Read error: Connection reset by peer)]
bkchr has joined #nixos
arianvp2 has joined #nixos
<LnL> niksnut: forcing a build of llvm-manpages/clang-manpages might help
<LnL> I didn't add it toplevel because only llvmPackages_4 has manpages and that wasn't the default on linux yet
<niksnut> yes, but that's a risky thing to rely on
<LnL> I just mean to get a channel update out if it's important
<gchristensen> is the channel nixpkgs-unstable? nixos-unstable seems ok from here
arjen-jonathan has joined #nixos
<gchristensen> oh, no, it breaks after it pushes to the github channels repo
<gchristensen> niksnut: I think we should be good to merge the installer change & release the next 1.11 when you're available *poorly contains excitement*
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1453: Multi user darwin installer (1.11-maintenance...multi-user-darwin) https://git.io/vQiRS
NixOS_GitHub has left #nixos []
<niksnut> ok, will need to wait for http://hydra.nixos.org/jobset/nix/maintenance
newhoggy has joined #nixos
<gchristensen> ok
arianvp2 has quit [(Quit: arianvp2)]
newhoggy has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #27356: screen: 4.6.0 -> 4.6.1 (master...update_screen) https://git.io/vQ9QO
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vQ9Qa
<NixOS_GitHub> nixpkgs/master 1e1472e Vladimír Čunát: llvmPackages_4: don't change *.outputs...
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
ThatDocsLady has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
iyzsong has joined #nixos
newhoggy has joined #nixos
mudri has quit [(Ping timeout: 248 seconds)]
eacameron has quit [(Ping timeout: 248 seconds)]
<LnL> gchristensen: \o/
freusque has quit [(Quit: WeeChat 1.7.1)]
freusque has joined #nixos
<gchristensen> go, hydra! go!
<joepie91> clever: around?
peacememories has joined #nixos
arianvp2 has joined #nixos
joelpet has joined #nixos
joelpet has quit [(Changing host)]
joelpet has joined #nixos
cfricke has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vQ9dZ
<NixOS_GitHub> nixpkgs/master cfc6e44 Joachim Fasting: tinycc: 0.9.27pre-20170605 -> 0.9.27pre-20170710...
NixOS_GitHub has left #nixos []
arianvp2 has quit [(Quit: arianvp2)]
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 248 seconds)]
<gchristensen> yikes
<domenkozar> Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/rpmout/BUILDROOT/nix-1.11.11-2.fc21.i386
<domenkozar> error: Installed (but unpackaged) file(s) found:
<domenkozar> /etc/profile.d/nix-daemon.sh
<gchristensen> exactly
<gchristensen> anyone know about making RPMs / nix? ^ that error :P
<domenkozar> let me take a look
<srhb> This is like live commenting. I need popcorn. Love it.
Rajsun has joined #nixos
nix-gsc-io`bot has joined #nixos
<domenkozar> have a fix, trying to build it now
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/02a268430e (from 28 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
ertes has quit [(Ping timeout: 276 seconds)]
<__Sander__> hmm this feels weird/funny
<__Sander__> I'm also doing composer2nix as a side project
<__Sander__> in addition to node2nix
<__Sander__> PHP isn't the greatest language around
<__Sander__> but it feels the composer guys did their homework much better than the NPM people
<domenkozar> that suprises you? :D
<__Sander__> well, I remember the time when I was still actively using PHP
<__Sander__> like 10 years ago
<__Sander__> it was full of script kiddies
<gchristensen> PHP grew up
<__Sander__> yes it appears so
<__Sander__> I have been doing some PHP coding in the last few months again
<__Sander__> after almost 10 years of absence
<__Sander__> and also not dealing with callbacks and software abstractions all the time
<__Sander__> it feels like such a relief
<__Sander__> although PHP is multiprocess and comes with the overhead of context switching etc
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to master: https://git.io/vQ9Fd
<NixOS_GitHub> nixpkgs/master eca15bd taku0: flashplayer: 26.0.0.131 -> 26.0.0.137
<NixOS_GitHub> nixpkgs/master 04be8b9 taku0: flashplayer-standalone: 26.0.0.131 -> 26.0.0.137
<NixOS_GitHub> nixpkgs/master 3637119 Joachim F: Merge pull request #27315 from taku0/flashplayer-26.0.0.137...
NixOS_GitHub has left #nixos []
<mal_> hi, running nixos 17.03 i get 'error: cannot download google-chrome-stable_57.0.2987.133-1_amd64.deb from any mirror'. How can i update this version? Only by changing the channel to unstable?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] domenkozar pushed 1 new commit to 1.11-maintenance: https://git.io/vQ9bB
<NixOS_GitHub> nix/1.11-maintenance 44f51a5 Domen Kožar: Fix rpm build
NixOS_GitHub has left #nixos []
<domenkozar> gchristensen: fixed
<tilpner> mal_ - According to https://github.com/NixOS/nixpkgs/issues/25880 you should try updating your channel
tsmeets has quit [(Quit: leaving)]
<mal_> tilpner: i tried nixos-rebuild switch --upgrade
<mal_> and nix-channel --update
<mal_> do i need to add the unstable channel? i kinda do not want to.
<tilpner> I don't use channels anymore, so I don't know how to tell what revision you're currently at
peacemem_ has joined #nixos
<tilpner> If you updated the 17.03 channel correctly, that should not happen anymore. Have you run the nix-channel --update as root?
peacememories has quit [(Ping timeout: 240 seconds)]
<tilpner> (I agree that --upgrade for nixos-rebuild should take care of that, but I don't know what exactly it does)
ThatDocsLady has quit [(Ping timeout: 240 seconds)]
<mal_> yes ran it as root
takle has quit [(Remote host closed the connection)]
RemiD has joined #nixos
<RemiD> Hi everyone. I'm having hard time trying to configure gitlab runner on nixos, does anyone try (and succeed) to make it running ?
Neo-- has joined #nixos
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
<tilpner> mal_ - Okay, the manpage lists nix-instantiate --eval -E '(import <nixpkgs> {}).lib.nixpkgsVersion'. What does that output?
peacemem_ has quit [(Read error: Connection reset by peer)]
ThatDocsLady has joined #nixos
<mal_> tilpner: "17.03.1098.a162c6c828"
peacememories has joined #nixos
<RemiD> "17.03.928.69d9061908"
ertes-w has joined #nixos
<tilpner> mal_ - Don't worry about it saying chromium, the google-chrome part apparently reuses this file to get the versions
<tilpner> mal_ - Your channel did not update correctly. You don't need nixos-unstable, you just need an up-to-date nixos-17.03
<mal_> tilpner: how? :)
<tilpner> mal_ - I don't really know. As I said, I don't use channels anymore. I'll just tell you to repeat the same steps you probably already took. What does $ nix-channel --list (as root) say?
<mal_> nothing
CrazedProgrammer has joined #nixos
<gchristensen> domenkozar: nice!
<tilpner> mal_ - What's the content of /root/.nix-channels?
<tilpner> (Can someone who uses channels please help out?)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vQ9Ak
<NixOS_GitHub> nixpkgs/master 6da2229 Tim Steinbach: linux: 4.9.36 -> 4.9.37
NixOS_GitHub has left #nixos []
<mal_> tilpner: the file doesn't exist
<mal_> sorry ttps://nixos.org/channels/nixos-17.03 nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-17.03: https://git.io/vQ9AY
<NixOS_GitHub> nixpkgs/release-17.03 310e094 Tim Steinbach: linux: 4.9.35 -> 4.9.36...
<NixOS_GitHub> nixpkgs/release-17.03 f12f08f Tim Steinbach: linux: 4.9.36 -> 4.9.37...
NixOS_GitHub has left #nixos []
michaelpj has quit [(Read error: Connection reset by peer)]
jgertm has joined #nixos
<mal_> tilpner: pebcak :( it doesn't work with sudo.... as root i can update
deep-book-gk_ has joined #nixos
<mal_> did not use sudo -H
<tilpner> That still doesn't explain why nixos-rebuild --upgrade doesn't work
deep-book-gk_ has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vQ9A0
<NixOS_GitHub> nixpkgs/master 24de0ba Tim Steinbach: linux: 4.11.9 -> 4.11.10
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/vQ9AE
<NixOS_GitHub> nixpkgs/release-17.03 4e24689 Tim Steinbach: linux: 4.11.9 -> 4.11.10...
NixOS_GitHub has left #nixos []
<tilpner> mal_ - So it installs now?
<mal_> tilpner: after updating the channel as root directly --upgrade works
<mal_> even with sudo without -H
<mal_> thanks for your time and help!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vQ9AV
<NixOS_GitHub> nixpkgs/master 6131b4d Tim Steinbach: linux: 4.12 -> 4.12.1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/vQ9Ar
<NixOS_GitHub> nixpkgs/release-17.03 33e2402 Tim Steinbach: linux: 4.12 -> 4.12.1...
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vQ9A7
<NixOS_GitHub> nixpkgs/master 45a2534 Tim Steinbach: linux-copperhead: 4.12.e -> 4.12.1.a
NixOS_GitHub has left #nixos []
<gchristensen> !m NeQuissimus
<[0__0]> You're doing good work, NeQuissimus!
michaelpj has joined #nixos
RemiD has quit [(Quit: Page closed)]
phinxy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to release-17.03: https://git.io/vQ9x6
<NixOS_GitHub> nixpkgs/release-17.03 e9200fc Joachim Fasting: tinycc: 0.9.27pre-20170605 -> 0.9.27pre-20170710...
<NixOS_GitHub> nixpkgs/release-17.03 14e1a15 taku0: flashplayer: 26.0.0.131 -> 26.0.0.137...
NixOS_GitHub has left #nixos []
lambdael has joined #nixos
<srhb> NeQuissimus: Is upgrading k8s a difficult process?
<srhb> Oh, they;re not here at all
<srhb> Might have to just dive in, I guess...
<srhb> Aaaand I was mistaking them for offlinehacker[m] :-P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lo1tuma closed pull request #26986: nodejs: 8.1.0 -> 8.1.3 (master...nodejs-8.1.3) https://git.io/vQ4hr
NixOS_GitHub has left #nixos []
<domenkozar> gchristensen: do we need the same pr for master?
peacemem_ has joined #nixos
<gchristensen> domenkozar: yeah, I'll have to work on that in a few hours
peacememories has quit [(Read error: Connection reset by peer)]
peacememories has joined #nixos
peacemem_ has quit [(Read error: Connection reset by peer)]
roberth has joined #nixos
<copumpkin> any 10.13 users wanna try my installer? :D :D :D
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQ9he
<NixOS_GitHub> nixpkgs/master fe76839 GRBurst: Add GRBurst as maintainer
<NixOS_GitHub> nixpkgs/master 63ee6d6 GRBurst: xcwd: init at 2016-09-30...
NixOS_GitHub has left #nixos []
cpennington has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27345: Xcwd: init at 2016-09-30, add me as maintainer (master...xcwd-init) https://git.io/vQ9L2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] domenkozar pushed 2 new commits to darwin-tarball: https://git.io/vQ9hs
<NixOS_GitHub> nix/darwin-tarball 9f29ddd Domen Kožar: release.nix: Use only one version of tarball
<NixOS_GitHub> nix/darwin-tarball e7763e4 Domen Kožar: release.nix: add tarballs to release critical
NixOS_GitHub has left #nixos []
<domenkozar> copumpkin: did you ask on the two issues?
<copumpkin> the two Nix ones? yeah
<disasm> mpcsh: yup
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vQ9hu
<NixOS_GitHub> nixpkgs/master 6fda535 Tim Steinbach: linux-copperhead: Fix modDirVersion
NixOS_GitHub has left #nixos []
<gchristensen> domenkozar, niksnut: nix:maintenance passed
newhoggy has quit [(Remote host closed the connection)]
earldouglas has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vQ9hi
<NixOS_GitHub> nixpkgs/master 4e47390 Stefan Lau: nodejs: 8.1.0 -> 8.1.4
NixOS_GitHub has left #nixos []
takle has joined #nixos
dbmikus_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/vQ9jL
<NixOS_GitHub> nixpkgs/master 8ff35d6 Stefan Lau: gnome-control-center: wrap with wrapGAppsHook
<NixOS_GitHub> nixpkgs/master 2b4bc03 Stefan Lau: gnome-online-accounts: wrap with wrapGAppsHook
NixOS_GitHub has left #nixos []
ennui` has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vQHei
<NixOS_GitHub> nixpkgs/master aed23cf Lancelot SIX: screen: 4.6.0 -> 4.6.1...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27190: grammalecte: 0.5.17 -> 0.5.17.2 (master...up-grammalecte-0.5.17-to-0.5.17.2) https://git.io/vQrVs
NixOS_GitHub has left #nixos []
ThatDocsLady has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to 1.11-maintenance: https://git.io/vQHeQ
<NixOS_GitHub> nix/1.11-maintenance 04e071a Eelco Dolstra: Bump version
NixOS_GitHub has left #nixos []
earldouglas has joined #nixos
erictapen has joined #nixos
<copumpkin> niksnut: can we try to squeeze the 10.13 support into the 1.11.12 release?
newhoggy has joined #nixos
<copumpkin> or did you want to get 1.11.12 out quickly?
<niksnut> copumpkin: what's involved in that?
<domenkozar> bumping nixpkgs I guess
<copumpkin> I have an open PR against nixpkgs that can probably be merged
<copumpkin> and then nix would need to be built against that
<domenkozar> but nix builds again release-17.03
<copumpkin> yeah I know
<niksnut> is it safe for cherry-picking to 17.03?
<domenkozar> against*
<copumpkin> it's not a huge deal, but it'll get annoying once 10.13 is released
chakerbenhamed has quit [(Ping timeout: 260 seconds)]
<copumpkin> eh, it's a mass rebuild for darwin. I guess there's no real spec on what nixos releases mean for darwin :)
<copumpkin> but yeah, all of nixpkgs will break on 10.13 without it
<domenkozar> not yet :)
<copumpkin> so if we want 17.03 to work on darwin, we should probably backport
<domenkozar> we'll start using 17.03 in a week for darwin
<gchristensen> speaking from my extremely biased position, what if we held it for a 1.11.13? that way we can get the fetchTarball fixes out, the daemon support out, and give a bit more time to sort out the nixpkgs changes?
<copumpkin> also, 10.13 is coming out fairly soon
<copumpkin> yeah I'm not in a rush
<domenkozar> copumpkin: when is 10.13 coming?
<copumpkin> I already uploaded a test installer so I don't need to rely on the official installer for folks who want 10.13
<niksnut> btw I forgot to bump the version number so a new eval is necessary
<copumpkin> they said "autumn"
<copumpkin> niksnut: also did you see that aws-sdk-cpp question? I couldn't figure out why you added the rpath
<domenkozar> if it comes in autumn, I think we can wait for 1.11.3
<domenkozar> 13*
<copumpkin> fair enough :)
<copumpkin> perhaps we'll have 1.12 by then :D
<domenkozar> ha ha
<copumpkin> my test installer for 10.13 is a 1.12 build
<niksnut> don't remember
<niksnut> probably to fix the RPATH
<copumpkin> does the aws-sdk-cpp part of nix get tested in the unit tests?
newhoggy has quit [(Ping timeout: 276 seconds)]
<copumpkin> i.e., if I do something that makes it unhappy, will I notice easily?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vQHv9
<NixOS_GitHub> nixpkgs/master 3ae2158 Lancelot SIX: pythonPackages.django: 1.11.2 -> 1.11.3...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to staging: https://git.io/vQHv7
<NixOS_GitHub> nixpkgs/staging 706f0c3 Lancelot SIX: gnugrep: 3.0 -> 3.1...
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
<niksnut> probably
freusque has quit [(Quit: WeeChat 1.7.1)]
<domenkozar> you guys always make my day :)
eacameron has joined #nixos
<gchristensen> last hack day at work is when I built the nix integration testing for jetpants (http://github.com/tumblr/jetpants) this hack day I'm trying to wedge nixos-install in to our existing hardware provisioning system, to be able to deploy NixOS proper. the provisioning system assumes `yum` at its core. wish me luck everyone >.>
vaibhavsagar has joined #nixos
newhoggy has quit [(Ping timeout: 268 seconds)]
newhoggy has joined #nixos
<dtzWill> gchristensen: GL!
eacameron has quit [(Ping timeout: 276 seconds)]
<domenkozar> !m gchristensen
<[0__0]> You're doing good work, gchristensen!
<hyper_ch> !m domenkozar
<[0__0]> You're doing good work, domenkozar!
<hyper_ch> I expected it to not work
<gchristensen> !m [0__0]
<[0__0]> You're doing good work, [0__0]!
chakerbenhamed has joined #nixos
<hyper_ch> !m hyper_ch
<[0__0]> You're doing good work, hyper_ch!
<hyper_ch> it even works for one self
gilligan_ has quit [(Quit: Leaving)]
newhoggy has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
ng0 has joined #nixos
<srhb> Can I run nixos tests locally?
<gchristensen> nix-build ./nixos/tests/login.nix
<domenkozar> srhb: read nixos manual :)
<srhb> gchristensen: Perfect. :)
<domenkozar> ctrl-f nixos tests
<gchristensen> also read the nixos manual :)
<srhb> #nixos has much lower latency!
<srhb> And thanks, that chapter looks useful.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQHUI
<NixOS_GitHub> nixpkgs/master cd8a1a7 Florian Jacob: networkd: Allow new MulticastDNS setting...
<NixOS_GitHub> nixpkgs/master b14bcd8 Jörg Thalheim: Merge pull request #27142 from florianjacob/resolved-multicastdns-support...
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
<disasm> In a nix-shell default.nix how can I set EDITOR to be vi so I don't have to type export EDITOR=vi everytime I enter a shell?
<gchristensen> disasm: shellHook = '' export EDITOR=vi '';
<gchristensen> I also _love_ to: export HISTFILE="$(pwd)/.bash_history" so your shell env has its own bash history
<gchristensen> I also usually output a little "man page" about what special functions and tools exist in the shell, and how to do things that I usually do
mudri has joined #nixos
<domenkozar> niksnut: hydra is ready
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQHTe
<NixOS_GitHub> nixpkgs/master 9937f13 florianjacob: resolved: use resolved's static resolv.conf (#27144)...
NixOS_GitHub has left #nixos []
nckx has quit [(Quit: I'm probably just restarting my server.)]
Rotaerk has quit [(Quit: Leaving)]
arjen-jonathan has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
nckx has joined #nixos
newhoggy has joined #nixos
ThatDocsLady has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra tagged 1.11.12 at e66075a: https://git.io/vQHTN
NixOS_GitHub has left #nixos []
<copumpkin> w00t
<gchristensen> w00t!
<copumpkin> so that installs multi-user on darwin?
<disasm> thanks gchristensen :)
<disasm> gchristensen: I'd love to see an example shell.nix you use
newhoggy has quit [(Ping timeout: 246 seconds)]
<domenkozar> I'll test the release as soon as the installer is updated
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vQHky
<NixOS_GitHub> nixpkgs/master d518096 Robin Gloster: gnome3.gnome_control_center: remove unused variable...
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 240 seconds)]
<gchristensen> tilpner: that line is actually not necessary
<gchristensen> I "Sanitized" an existing shell when I mad ethis
freusque has joined #nixos
<tilpner> When would it be necessary? I don't understand what inherit does at the top-level outside of an object/dictionary
<gchristensen> domenkozar: download https://nixos.org/releases/nix/nix-1.11.12/nix-1.11.12-x86_64-darwin.tar.bz2 tar -xf that file cd ./nix-*, ./install
ixxie has joined #nixos
newhoggy has joined #nixos
vaibhavsagar has quit [(Ping timeout: 255 seconds)]
<roberth> tilpner: it is in the first part of a let binding, so it is equivalent to let stdenv = pkgs.stdenv in ... but, indeed, stdenv does not appear in ..., so it is unnecessary
<tilpner> roberth - Oh, so it's like with pkgs;, but restricted to stdenv?
newhoggy has quit [(Ping timeout: 268 seconds)]
zraexy has joined #nixos
newhoggy has joined #nixos
<roberth> tilpner: that's right. I usually avoid with, because it makes it hard to determine where your names are bound
<tilpner> roberth - Thank you! :)
<roberth> tilpner: you're welcome
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
ThatDocsLady has quit [(Ping timeout: 248 seconds)]
<domenkozar> gchristensen: it works!
newhoggy has quit [(Ping timeout: 276 seconds)]
<gchristensen> woot!!
bennofs has joined #nixos
<domenkozar> some feedback from me: there's so much text that important actions are not emphaised
mkoenig_ has joined #nixos
<gchristensen> oh?
<domenkozar> I think those should stand out with the rest of the information
<gchristensen> like which ones?
<domenkozar> like closing and entering shell after install
<gchristensen> good point
<domenkozar> that's a prerequisite for using nix but it's in middle of senstance in wall of text
mkoenig has quit [(Ping timeout: 260 seconds)]
<domenkozar> the second one is that linux and darwin installs are different, but that's just matter of time :)
<domenkozar> good work!
simukis has quit [(Quit: simukis)]
newhoggy has joined #nixos
<ixxie> hmmm
<gchristensen> domenkozar: there is a `bold` helper and other UI helpers that might help
simukis has joined #nixos
<domenkozar> niksnut: are you going to bump http://nixos.org/nix/install as well?
newhoggy has quit [(Ping timeout: 240 seconds)]
\\\\\\\\\\\ has joined #nixos
Gravious is now known as \\\\\\\\\\\\\\\\
<bennofs> what's this too much text about? about the tests nixos manual section?
\\\\\\\\\\\\\\\\ is now known as \n
\n is now known as \r\n
<ixxie> Is there some kind of explanation for how things like JAVA_HOME work in NixOS? echo $JAVA_HOME yields nothing (as mentioned here https://github.com/NixOS/nixpkgs/issues/13653) but is it even meant to?
<gchristensen> \r\n: please stop
<\\\\\\\\\\\> What have you done to my nick?
\r\n is now known as Guest61764
Guest61764 is now known as Gravious
<Gravious> who got me to be Guest?
<bennofs> ixxie: this is an issue that I have been thinking about a lot
<ixxie> bennofs, I wonder if this wonks up certain things
<bennofs> ixxie: Nix(OS) IMO lacks a uniform policy about how to deal with environments (such as JAVA_HOME, but also about whether you should use fooWithPackages or just set environment variables etc)
<ixxie> I tried to help my brother set up a Scala project on Intellij on NixOS the other day and it had a hard time finding stuff like JDK
freusque has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 255 seconds)]
<\\\\\\\\\\\> At any rate, I'm new to NixOS, coming from Arch, and now none of my scripts work since they complain about the shebang. Is there a solution other than removing the line?
<ixxie> I thought at first it had to do with the way stuff goes in the nix store but I suppose this is also an environment variable issue
<bennofs> ixxie: the problem is, what do you do if there are multiple java versions?
<gchristensen> \\\\\\\\\\\: you can change the line to be #!/usr/bin/env <program>
<ixxie> isn't there something that automatically swaps out the shebang line normally?
<\\\\\\\\\\\> gchristensen: Thanks, I wasn't sure if that was even in the smae place.
<gchristensen> \\\\\\\\\\\: /bin/bash and /usr/bin/env are our two concessions :)
<\\\\\\\\\\\> `bash: type: /bin/bash: not found`
<bennofs> gchristensen: /bin/bash won't work on NixOS
<gchristensen> I meant /bin/sh
<gchristensen> ixxie: if you use stdenv.mkDerivation to build it, yes, the patchup phase repairs shebangs
mudri has joined #nixos
<ixxie> bennofs: no clue honestly, but I suppose if package X references Java version Y, it's JAVA_HOME would point to that; but I suppose there should be a sensible default for the system? Say the java version I explictly install in my systemPackages or the most up to date stable version if I have none explicitly installed
<domenkozar> gchristensen: also, is the new daemon launched on boot?
<gchristensen> domenkozar: great question :o
<ixxie> bennofs: but I have this feeling like theres a reason for the way it is done now
<ixxie> there usually is xD
<bennofs> ixxie: the reason is that there is no uniform policy. There is an argument that there should not be any "magical" defaults and that if you want JAVA_HOME to be set to some java version, you should have to do so explictly
erasmas has joined #nixos
<gchristensen> domenkozar: I just rebooted, and it seems to
<domenkozar> I'm testing as well
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vQHsv
<NixOS_GitHub> nixpkgs/master 40cf34a Eelco Dolstra: nix: 1.11.11 -> 1.11.12
NixOS_GitHub has left #nixos []
<niksnut> domenkozar: done
<domenkozar> gchristensen: yeah it works!
<gchristensen> nice! nice!
* gchristensen aggressively reloads the nix/install
newhoggy has joined #nixos
<domenkozar> can someone test on linux?
<domenkozar> I only have nixos :@
<domenkozar> curl https://nixos.org/nix/install | sh
<domenkozar> actually I can just trigger travis
<gchristensen> domenkozar: nix/install is still referring to 1.11.11 at the moment
<bennofs> gchristensen: it contains 11.12 for me :)
<gchristensen> just updated I guess
<gchristensen> I think it'd be neat if the "curl | sh" copy-paste included a sha256 step
newhoggy has quit [(Ping timeout: 246 seconds)]
<gchristensen> like: curl -o install https://nixos.org/nix/install && echo "aa37b53577c96ad745c0d84a871de3e398a1cd9c32987d0e662d92c56cdcc4ef install" | shasum -c && sh ./install
<bennofs> gchristensen: perhaps you can even avoid the temporary file by teeing to stderr ?
<domenkozar> thanks gchristensen & niksnut
<gchristensen> and thank you, domenkozar, niksnut :)
<gchristensen> bennofs: I'm ... not sure you can .... maybe with a fifo? :P or a weird subshell situation?
hyphon81 has quit [(Remote host closed the connection)]
<gchristensen> anyway, the bigger problem is there is no cross-platform sha256sum, osx has shasum some linuxs have shasum or sha256sum
leat has quit [(Ping timeout: 276 seconds)]
<gchristensen> some you have to fall back to openssl dgst -r -sha256
<AndreasLutro> might be able to display the correct one based on user-agent, or manipulate the html with javascript after page load
<domenkozar> I mean we check hash for the tarball
<domenkozar> but if the installer script is compromised, so is the copy-paste snippet
<gchristensen> yeah but piping the install.sh straight to bash is generally frowned upon
<domenkozar> so it's a false sense of security
<gchristensen> I know, I know :P
<domenkozar> :P
<gchristensen> but the fact of the matter is
<gchristensen> that turns off a lot of people, and especially security teams, like mine who was freaked at those instructions
newhoggy has joined #nixos
<gchristensen> and even though we've thought through it, putting it front and center like that is good marketing
<copumpkin> the negative reactions to it are all very cargo culty
<domenkozar> if they need a false sense of security, I'd double check their competence really
<bennofs> gchristensen: but I can't see any objective reasons for that
<copumpkin> but yes I agree they still exist
<copumpkin> we should just tell them to install via homebrew ;)
<bennofs> and the sha256sum solution isn't any better at all
<domenkozar> I mean after you talk them through the logical gaps
<bennofs> not even theoretically
<copumpkin> which of course they installed with curl | ruby
<gchristensen> it doesn't matter
ison111 has quit [(Quit: WeeChat 1.7.1)]
<bennofs> gchristensen: would they not freak out if it had a sha256sum?
<copumpkin> anyway, we could put together a .pkg pretty easily
<copumpkin> for folks who won't see reason
<domenkozar> lol
<gchristensen> they would not freak out as much, and it demonstrates a dedication to security
<domenkozar> we'd need to sign .pkg
<copumpkin> first impressions matter
<domenkozar> :O
<domenkozar> I've been doing that recently
<domenkozar> it's nightmare
<gchristensen> domenkozar: and having eelco do it on release would be a nightmare :P
<domenkozar> it involves kung-fu
<domenkozar> and time travel
<copumpkin> anyway, I don't know.
<copumpkin> I argued against the anti-curl|sh'ers I ran into, but YMMV
<copumpkin> and it still reduces friction if you don't have to
<gchristensen> ^
<copumpkin> or at least provide options
<copumpkin> or, we could explicitly acknowledge the curl|sh concerns
<gchristensen> when I told my coworkers about the new installer, I had to build it myself for them so they'd be okay running it
<bennofs> the question is, do you turn off more people than you win by having easy install instructions?
<copumpkin> with an asterisk and an explanation
<gchristensen> bennofs: it can still be easy
<copumpkin> also, .pkg files don't have to be signed, but it's preferable
<bennofs> gchristensen: until someone comes along that has an important file called "install" in the current directory...
newhoggy has quit [(Read error: Connection reset by peer)]
<copumpkin> could build some scripting that niksnut could run when cutting a release
newhoggy has joined #nixos
* copumpkin shrugs
<gchristensen> bennofs: s/install/install-nix-1.11.12/
<gchristensen> if they have an important file called install-nix-1.11.12 and it _isn't_ the nix 1.11.12 installer, well, oh well I guess
<copumpkin> niksnut: have you thought about putting out a roadmap for what's left to do in 1.12, to solicit help on the mailing list for things that people can help with? I'm sure lots of people would love to see it released
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
vaibhavsagar has joined #nixos
<copumpkin> might help stem the infinite stream of 1.11.x releases :)
<ixxie> bennofs: it seems some things have changed a tad, but I guess it would be /run/current-system/sw/bin/?
endformationage has joined #nixos
<bennofs> ixxie: that would just another adhoc solution to the problem of managing user environments with nix :/ then we've got: for Haskell packages, you need to use ghcWithPackages (also for python, and others i may not know about). For aspell dictionaries, they get detected automatically in your profile path. For java, you need to use java-env.sh. ...
<bennofs> Even if we documented all these solutions, it would still be complicated
<domenkozar> copumpkin: if .pkg is not signed, then there's no benefit
<copumpkin> I'm not saying people are being rational
<copumpkin> they want to be able to grab something, sha256 check it, and then run it
newhoggy has quit [(Ping timeout: 258 seconds)]
<domenkozar> mkay :)
<gchristensen> security teams want people to not _just_ pipe curl to bash
<gchristensen> one reason is so you actually keep what you ran, for example
<copumpkin> yeah, but if you ran something malicious it can just overwrite what you kept
<copumpkin> :P
<gchristensen> -> sha256sum
<gchristensen> "is this what I ran?"
radvendii has joined #nixos
<gchristensen> this one is cross-platform: curl -o install-nix-1.11.12 https://nixos.org/nix/install && echo "aa37b53577c96ad745c0d84a871de3e398a1cd9c32987d0e662d92c56cdcc4ef install-nix-1.11.12" | (if type sha256sum > /dev/null; then sha256sum -c; else shasum -c; fi) && ./install-nix-1.11.12
<copumpkin> only if you do so before and after, and if it covers its tracks you might find that the sha256 is different but you have no way of knowing what changed
<copumpkin> also, if it's malicious enough it'll just overwrite the sha256 tool to spit out a valid hash :P
<copumpkin> once you've run untrusted code, you're in the matrix :O
<gchristensen> erm, change the ./ to `sh ./`
<joepie91> my first NixOps production deployment is live! https://pastebin-stream.cryto.net/
<copumpkin> the point is that you can inspect that install script and see "oh yes, it'll download this tarball from the internet and run arbitrary code from inside it"
<joepie91> and broken!
<gchristensen> copumpkin: sure but you have the file and the shasum you ran it with before hand, and can copy it off to a safe system and check
<bennofs> ixxie: for some practical advice, what I've been doing in the past for these kind of packages is to use:
<LnL> gchristensen: why not builtins.fetchUrl ;)
<gchristensen> copumpkin: and if you're trying to triage the situation of "was this bad?" then it is a pretty obvious "yes" if it changes the file you downloaded
<copumpkin> but the point is that nobody actually does that, and you're just shifting the boundary untrusted code one level down a sec
<bennofs> ixxie: a) write a software.nix that symlinks all packages that I need absolute paths to (like a jdk for JAVA_HOME) into $out
<gchristensen> LnL: what do you mean?
<bennofs> ixxie: b) run nix-build software.nix --out-link software in my home directorxy
<bennofs> ixxie: c) point JAVA_HOME to $HOME/software/jdk
<gchristensen> copumpkin: I'm not saying it makes sense, I'm saying people think it does
<ixxie> bennofs: sounds reasonable :)
<bennofs> ixxie: i believe that managed to fool IDEA enough so that it doesn't keep an absolute path to somewhere in the nix store, so that I it works properly even if the java version changes
newhoggy has joined #nixos
hellrazor has quit [(Quit: WeeChat 1.9)]
<copumpkin> so I curl nixos.org/nix/install and glance over it, see that it downloads a tarball and runs a script from in there. 99% of the anti-curl|shers will stop here and feel good about themselves, but some will download that tarball and check the script inside there. That script will run a binary from the tarball. Now what? Fire up IDA and disassemble it? If the threat model is against the transport, then https covers it. If the
<copumpkin> threat model is against malicious deployed installers, you're completely screwed, so you can avoid software on the internet or go with what everyone does implicitly, which is evaluate trustworthiness of community, size of site, their security practices, etc.
<ixxie> bennofs, do you have that file up somewhere? I would love to have a look
<gchristensen> copumpkin: we're talking marketing not down-the-rabbit-hole security
<copumpkin> yeah I know :(
<copumpkin> sigh
vaibhavsagar has quit [(Ping timeout: 258 seconds)]
<copumpkin> anyway, I'd probably put up a signed .pkg, and still recommend curl|sh with an asterisk explaining why we think it's okay, but if you don't feel comfortable, by all means use the .pkg
<copumpkin> or some shit like that
<barrucadu> The appearence of security is more important than how effective it actually is, in many cases :(
<copumpkin> if we want the apperance of security, we should stick a password on the installer ;)
<copumpkin> and tell people the password on the install site
<gchristensen> ^ and I'd happily extend our current copy-paste code by 200 characters to make it appear that way
<copumpkin> pw: t0tallyn0tw4r3z
<bennofs> and of course, let it download rar instead of nar
<barrucadu> "When prompted, type 'hunter2' and hit enter. The installer will then ..."
<slabity> What's the recommended way of compiling a program that requires a header in /usr/include?
<copumpkin> make it not require a header in /usr/include
<copumpkin> that's what we usually do, via combination of command-line arguments, environment variables, or local patches
<LnL> substituteInPlace :)
iyzsong has quit [(Quit: bye.)]
newhoggy has quit [(Ping timeout: 255 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
<slabity> So if I want to compile something I need to generate a .nix file?
newhoggy has joined #nixos
apeyroux has quit [(Quit: Lost terminal)]
<copumpkin> yeah, generally
<copumpkin> it usually won't be very big if the project structure is reasonably conventional
<copumpkin> the weirder the build is, the more stuff you'll probably have in the .nix file
<joepie91> okay, so, let's try this again -- my first NixOps production deployment is live! https://pastebin-stream.cryto.net/
<joepie91> :P
<copumpkin> so if your build is a combination of ruby, rust, ocaml, and D, you'll probably have a rough time :)
* joepie91 is excited to have it going
<copumpkin> yay joepie91
<slabity> My build is almost pure rust, but it calls a clang command
<copumpkin> joepie91: ooh, bitcoin donation address!
<joepie91> :)
<copumpkin> joepie91: you should generate an address on the fly per connection so nobody can keep an eye on your monies
<joepie91> copumpkin: I'm not particularly concerned about that, all stuff I do is public anyway :P and it requires a lot of extra infra to make that happen reliably
<barrucadu> That's a neat idea
newhoggy has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mnacamura opened pull request #27358: r-pbdZMQ: fix Darwin install (master...r_pbdZMQ_darwin_fix) https://git.io/vQHWT
NixOS_GitHub has left #nixos []
roberth has quit [(Remote host closed the connection)]
<joepie91> error reporter is screaming at me, seems I need an error handler for closed websockets
<bennofs> ixxie: didn't even set JAVA_HOME, just told IDEA to use the JDK installed in ~/software/oraclejdk8
<ixxie> bennofs, I dig: once you have sane addresses for stuff its a simple matter to point software to it :)
<ixxie> thanks!
reinzelmann has quit [(Quit: Leaving)]
endformationage has quit [(Read error: Connection reset by peer)]
<mpickering> has anyone recently used ghcjsHEAD? I am getting errors such as "/nix/store/gzh9cahbq4h921xdilgn9r7abala75n6-ghcjs-0.2.020170323/bin/ghcjs-run-0.2.1-8.0.2.jsexe/node: openFile: does not exist (No such file or directory)"
endformationage has joined #nixos
<bennofs> mpickering: may that be a GHCJS bug? https://github.com/bennofs/th-lift-instances/issues/9 sounds similar
newhoggy has joined #nixos
<mpickering> I don't see how that is similar sorry
<bennofs> mpickering: well, "broken pipe" sounds a lot like the nodejs process failed
<bennofs> mpickering: (especially the " resource vanished " part)
<mpickering> It looks a bug in the ghcjs external process template haskell
<mpickering> This error is because the "node" executable can't be found at all
<bennofs> mpickering: yeah but external TH uses node i believe
<bennofs> mpickering: so perhaps GHCJS messed up the node path somehow?
<mpickering> I can using "cabal run" which should invoke node to run the generated javascript
newhoggy has quit [(Ping timeout: 240 seconds)]
<bennofs> hmm, was just a guess. may very well be unrelated
ison111 has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
chakerbenhamed has quit [(Ping timeout: 255 seconds)]
<bennofs> mpickering: well, the path looks wrong, doesn't it?
<bennofs> mpickering: not sure where exactly the node executable should be taken from, but probably not from subdirectory of a .jsexe
<mpickering> Is there a different people usually use ghcjs? I am using it with cabal, cabal configure --ghcjs , cabal build, cabal run etc
mal_ has left #nixos ["WeeChat 1.8"]
<earldouglas> Are there any tricks to getting tomcat to redeploy an updated webapp? NixOS updates the symlink, but Tomcat doesn't care, and keeps running the old version.
<bennofs> earldouglas: restart tomcat?
<earldouglas> Tried that, but didn't work. Symlink points to version2's war file, but version1 is still deployed as /var/tomcat/webapps/foo
<earldouglas> I think if I manually delete /var/tomcat/webapps/foo after updating the symlink, it should work.
<mpickering> bennofs: hmm, there is a version of node in that directory so the problem is somewhere else
<earldouglas> Yep, that did it. Seems ugly, though.
<mpickering> thanks for your time
<nh2> bachp: https://github.com/nh2/nixops-gluster-example -- would be glad if you could try this
<bennofs> mpickering: have you tried strace'ing it to see the syscall that fails?
greglearns has joined #nixos
newhoggy has joined #nixos
<slabity> So there's no proper way of getting the includes necessary just in the shell?
<bennofs> slabity: nix-shell doesn't change your filesystem (it is not a chroot)
<bennofs> slabity: so it cannot write anything to /usr/include
zraexy has quit [(Quit: Leaving.)]
<slabity> bennofs: I'm not asking to write to /usr/include, but rather getting the path to ${libdrm}/include/drm or however it works
<slabity> My impression right now is that I need to write a full derivation for development, which seems very unnecessary
<bennofs> slabity: getting that path is easy: nix-build --no-out-link '<nixpkgs>' -A libdrm should print it
newhoggy has quit [(Ping timeout: 268 seconds)]
<bennofs> slabity: but you shouldn't need to supply that path manually, nix-shell -p libdrm pkgconfig gcc autoconf automake should normally work for C/C++ programs
zraexy has joined #nixos
<slabity> Oh my god I'm dumb
<slabity> How did I forget pkgconfig exists
chakerbenhamed has joined #nixos
<slabity> I'm making the same mistakes I've made 10 years ago.
<gchristensen> slabity: mistakes are cyclical
<gchristensen> we can't learn from them
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<slabity> I guess I'll patch my project to use pkgconfig
<slabity> gchristensen: Yea, but I kind of wish I would remember the basics of making a proper build script
ixxie has quit [(Ping timeout: 260 seconds)]
sary has quit [(Ping timeout: 255 seconds)]
sary has joined #nixos
justelex_ has joined #nixos
newhoggy has joined #nixos
<dtzWill> slabity: for dev I often create a dummy deriv with the dependencies as buildInputs and nix-shell into that...
<gchristensen> copumpkin: I just shared the installer code w/ the sha checking and was lauded by 3 informed people "also, nice hash checking"
<dtzWill> slabity: but for one-off you should just be able to use nix-shell -p and it'll be on the cc's include path
<dtzWill> slabity: example: nix-shell -p openssl gcc --run "NIX_DEBUG=1 gcc --version"
<copumpkin> gchristensen: I need a facepalm emoji in unicode, but whatever works :)
<dtzWill> and you'll see, among other things, the openssl include path listed
<bennofs> dtzWill: how does this work, btw?
<bennofs> dtzWill: does the gcc wrapper scan buildInputs?
<dtzWill> bennofs: basically, yep! It's a setup-hook
<dtzWill> it's how Nix can have include directories all over the place and programs still work (programs that don't use pkgconfig or cmake or something)
<dtzWill> without having to specify a bajillion --with-openssl-include=${openssl.dev}/include arguments or something xD
chakerbenhamed has quit [(Quit: WeeChat 0.4.2)]
newhoggy has quit [(Ping timeout: 260 seconds)]
<dtzWill> other languages have setup-hooks that do similar things, IIRC
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to release-17.03: https://git.io/vQHEN
<NixOS_GitHub> nixpkgs/release-17.03 5e082ae Joachim Fasting: runit: replace hardcoded /sbin/runit with in-store runit binary...
<NixOS_GitHub> nixpkgs/release-17.03 3cb54cc Jörg Thalheim: runit: disable uid check during install...
NixOS_GitHub has left #nixos []
cpennington has quit [(Ping timeout: 260 seconds)]
newhoggy has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vQHu8
<NixOS_GitHub> nixpkgs/master f90d7b2 Joachim Fasting: alienfx: do not attempt to install suid executables
NixOS_GitHub has left #nixos []
bennofs has quit [(Ping timeout: 255 seconds)]
ennui` has joined #nixos
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-17.03: https://git.io/vQHuE
<NixOS_GitHub> nixpkgs/release-17.03 849b5a5 Joachim Fasting: alienfx: do not attempt to install suid executables...
NixOS_GitHub has left #nixos []
<slabity> So I can run 'nix-shell -p libdrm pkgconfig' and then run `pkg-config libdrm --cflags` successfully, but I can't run it outside of the nix-shell. Any explanation?
<slabity> I have libdrm and pkgconfig installed
<spacefrogg> slabity: That is not, how nix works. What do you want to achieve? A build environment for some package you develop?
<slabity> spacefrogg: Yea, that's what I'm trying to do.
bkchr has quit [(Quit: Konversation terminated!)]
newhoggy has quit [(Ping timeout: 248 seconds)]
WinchellsM has quit [(Quit: Lost terminal)]
<spacefrogg> slabity: You might want to read: https://nixos.org/nixpkgs/manual/#creating-a-shell Which describes the way it is supposed to be done in nixos.
<spacefrogg> Basically, your way of invoking nix-shell -p '...' was correct. You would develop from inside that shell.
ison111 has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
<slabity> That's actually kind of awesome. Thanks for the help
<spacefrogg> yw
__Sander__ has quit [(Quit: Konversation terminated!)]
newhoggy has quit [(Ping timeout: 260 seconds)]
bennofs has joined #nixos
cpennington has joined #nixos
<domenkozar> gchristensen: is there interactive mode for the macos installer?
<domenkozar> err., non-interactive?
newhoggy has joined #nixos
alx741_ has joined #nixos
<domenkozar> currently travis-ci fails since it wants to ask for questions
alx741 has quit [(Ping timeout: 240 seconds)]
mattops has joined #nixos
<grahamc> Back in 10 domenkozar
erictapen has quit [(Ping timeout: 276 seconds)]
mudri has joined #nixos
<domenkozar> hmm, needs to use yes
newhoggy has quit [(Ping timeout: 260 seconds)]
Tucky has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
<gchristensen> domenkozar: awkward :(
arjen-jonathan has joined #nixos
<gchristensen> domenkozar: as part of that, can you update tests/install-darwin.sh to pass yes to that one, too? :|
<domenkozar> isn't that already the case (in nix repo?)
<gchristensen> well
<gchristensen> heh
<gchristensen> no I can't look past my own glasses
newhoggy has quit [(Ping timeout: 255 seconds)]
<gchristensen> domenkozar: I didn't pipe yes to the bootstrapping nix: https://github.com/NixOS/nix/blob/1.11-maintenance/tests/install-darwin.sh#L54
jgeerds has quit [(Quit: Leaving)]
newhoggy has joined #nixos
mudri has quit [(Ping timeout: 248 seconds)]
<domenkozar> gchristensen: ah! :)
<gchristensen> a real head-desk moment, speaking of which *furiously tests a way I didn't test it before*
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<gchristensen> crap!
<domenkozar> now you can't use travis? :D
<gchristensen> curl | sh doesn't work, because `stdin` is EOF'd due to curl being out of output
<gchristensen> so our install instructions are broken by this
<gchristensen> I can get a fix in tonight, but not for the next 5 hours
<domenkozar> huh, I think it worked for me
<domenkozar> let me try again
<gchristensen> did you curl -o install ...; sh ./install ?
<domenkozar> aha it breaks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #27359: opensmtpd: Fix attempt to set unsupported permissions during install (master...fix/opensmtpd-unsupported-perms) https://git.io/vQHrH
NixOS_GitHub has left #nixos []
<domenkozar> we'll need to use the getatty approach
<domenkozar> isatty*
<gchristensen> another quick option is to update the installation instructions
<gchristensen> curl -o install-nix <url>; sh ./install-nix
<bennofs> plot twist: that was the plan all along :)
<gchristensen> it was definitely not :(
<domenkozar> :D
<gchristensen> I'm not that devious :(
<domenkozar> !m gchristensen
<[0__0]> You're doing good work, gchristensen!
newhoggy has quit [(Ping timeout: 240 seconds)]
<gchristensen> heh
<domenkozar> well we did break our installation "api"
<gchristensen> yeah
<domenkozar> I think it's going to make a lot of people unhappy if curl pipe won't work
<jophish> shlevy: Hail's pretty cool, someone just set it up here at work for us
<jophish> Thanks!
<gchristensen> it is a bit weird though to be prompting for stuff when our instructions won't make use of it
ison111 has joined #nixos
<domenkozar> yeah the logic should then be different
<domenkozar> just say what's going on (as before)
zeus_ has joined #nixos
<gchristensen> that said, maybe a quick line at the top that says "looks like you're passing curl to bash, so we'll assume yes to all the answers"
<ToxicFrog> Depending on how long the script is, `bash -c "$(curl ...)"`?
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<bennofs> or bash -c 'source <(curl ...)' ?
<gchristensen> or, and this might seem radical
<LnL> bash <(curl ...) also works
<gchristensen> but curl -o foo ... sh foo
<bennofs> LnL: only if the user is already running bash
<bennofs> LnL: not all shells support <()
<LnL> huh?
<LnL> ah
newhoggy has joined #nixos
erictapen has joined #nixos
newhoggy has quit [(Ping timeout: 248 seconds)]
Infinisil has quit [(Ping timeout: 248 seconds)]
ryanartecona has joined #nixos
newhoggy has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.8)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vQHis
<NixOS_GitHub> nixpkgs/master 42395a1 Tuomas Tynkkynen: kernel-config: Disable Xen on non-x86...
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 260 seconds)]
jonte has joined #nixos
cpennington has quit [(Ping timeout: 246 seconds)]
tmaekawa has quit [(Ping timeout: 268 seconds)]
ChongLi has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
georges-duperon has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
Mateon3 has joined #nixos
mattops has quit [(Quit: Textual IRC Client: www.textualapp.com)]
Mateon1 has quit [(Ping timeout: 260 seconds)]
Mateon3 is now known as Mateon1
cpennington has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQH1P
<NixOS_GitHub> nixpkgs/master 8bafd3a Vincent Laporte: ginac: 1.6.2 -> 1.7.2
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
radvendii has quit [(Ping timeout: 240 seconds)]
ixxie has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
jonte has quit [(Ping timeout: 255 seconds)]
Thra11 has quit [(Ping timeout: 248 seconds)]
<sphalerite> copumpkin: nixos-prepare-root says # This script's goal is to perform all "static" setup of a filesystem structure from pre-built store paths. Everything
<sphalerite> # in here should run in a non-root context and inside a Nix builder. It's designed primarily to be called from image-
<sphalerite> but nixos-install calls it
<sphalerite> I'm guessing just the comment is wrong?
<copumpkin> yeah
<copumpkin> yeah out of date, sorry
<copumpkin> it was designed to be called from both and to factor out commonalities from both
newhoggy has joined #nixos
<sphalerite> right
<Filystyn> need to change root password
<Filystyn> hue
<Filystyn> i can't belive this but i actualy forgot root :O
<Filystyn> pass
<Filystyn> !
<Filystyn> GEEE
<Filystyn> might remember but maybe it's not that hard to chaneg it
<LnL> I don't even have a root password
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 3 new commits to master: https://git.io/vQHyn
<NixOS_GitHub> nixpkgs/master 058f46c Vincent Laporte: libraw: set meta.platforms to unix
<NixOS_GitHub> nixpkgs/master 247e772 Vincent Laporte: libspectre: set meta.platforms to unix
<NixOS_GitHub> nixpkgs/master 68ee2c6 Vincent Laporte: gst-plugins-good: fix build on darwin
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQHSt
<NixOS_GitHub> nixpkgs/master bd7bf33 Vincent Laporte: ocaml: init at 4.05.0
NixOS_GitHub has left #nixos []
tmaekawa has joined #nixos
zarel has joined #nixos
<greglearns> bennofs copumpkin I *think* that I solved the nixos / Rust issues related to using Nightly Rust (via the Mozilla overlay) AND being able to select a specific date for the rustRegistry to avoid "cannot find correct version" problems, here: https://gist.github.com/greglearns/192a4cc31aef8acdf3190fefa4f124ee However, when I "nix-collect-garbage && nix-build" this, I get an error ```error: failed to open: /tmp/nix-build-thingname-0.
<greglearns> 3.drv-0/deps/registry/index/-ba82b75dd6681d6f/.cargo-index-lock. Caused by: Permission denied (os error 13)``` Any ideas on how to fix this cargo-index-lock permission issue, or ideas about who to ask?
newhoggy has joined #nixos
AndreasLutro has left #nixos []
greglearns_ has joined #nixos
Infinisil has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
<zarel> hello everyone
<srhb> zarel: Hello!
<Sonarpulse> niksnut: you here?
bennofs has quit [(Ping timeout: 276 seconds)]
JagaJaga has quit [(Ping timeout: 255 seconds)]
jonte has joined #nixos
newhoggy has joined #nixos
leat has joined #nixos
mudri has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
Ivanych has quit [(Ping timeout: 240 seconds)]
radvendii has joined #nixos
<niksnut> Sonarpulse: yes
<Sonarpulse> niksnut: had a chance to look at https://github.com/NixOS/nixpkgs/pull/27336 ?
<Sonarpulse> (I do feel like you are the proper person to look at deep stdenv changes, but feel free to deputize others too)
newhoggy has joined #nixos
arianvp2 has joined #nixos
<Sonarpulse> niksnut: in general, I have a number of commits changing cc-wrapper and stdenv/generic/setup.sh in hash-breaking ways
<Sonarpulse> I certainly want to build locally before merging into stable
<Sonarpulse> but if you like I can open all the chained PRs simultaneously for review, and then you/others can "+1 pending successful test" or something
newhoggy has quit [(Ping timeout: 260 seconds)]
watersoul has quit [(Read error: Connection reset by peer)]
watersoul has joined #nixos
<niksnut> Sonarpulse: well, this is why we have staging...
<Sonarpulse> niksnut: you mean mean many PRs in a row? :)
<Sonarpulse> yes, it would be unreviewable as one big one
<Sonarpulse> niksnut: I'm checking, but I thought quoting in [[ ]] affects glob expansion?
newhoggy has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
mudri has quit [(Ping timeout: 268 seconds)]
<mpcsh> hi there, can anyone help me implement mac address randomization? on arch I used this: https://wiki.archlinux.org/index.php/MAC_address_spoofing#Method_1:_systemd-networkd but on nixos, the option "systemd.network.links."00-default.link".linkConfig = { MACAddressPolicy = "random"; };" does nothing!
<niksnut> Sonarpulse: in what way?
arianvp2 has quit [(Quit: arianvp2)]
<mpcsh> (should note: I've tried "00-default.link" and wlp58s0
<Sonarpulse> niksnut: unquoted would glob-expand and quoted wouldn't
<Sonarpulse> but looks like that's just [ my bad
newhoggy has quit [(Ping timeout: 248 seconds)]
rumble has joined #nixos
<Sonarpulse> niksnut: ok going to add a commit removing the useless quotes
newhoggy has joined #nixos
<gchristensen> domenkozar: your recent comment on the nix issue is _very_ distressing :( :(
<gchristensen> domenkozar: look in to PINCH_ME_IM_SILLY
<LnL> gchristensen: you can disable the caching in the yaml file
python476 has joined #nixos
<gchristensen> yeah, but I imagine it is worth trying to keep
<gchristensen> however, it is really much easier to ensure nothing is there to start with
newhoggy has quit [(Ping timeout: 246 seconds)]
ison111 has joined #nixos
ryanartecona has joined #nixos
newhoggy has joined #nixos
arjen-jonathan has quit [(Quit: WeeChat 1.9)]
grumble has quit [(Ping timeout: 620 seconds)]
rumble is now known as grumble
<gchristensen> domenkozar: I knew it must be harder than it looked to get that deployed properly
arianvp2 has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
[0x4A6F] has joined #nixos
<mpcsh> fontconfig
<mpcsh> freetype
<mpcsh> gdk_pixbuf
ninegua[m] has joined #nixos
<mpcsh> glib
<mpcsh> gnome2.GConf
<mpcsh> gtk2
<gchristensen> mpcsh: you ok?
<mpcsh> nspr
<mpcsh> nss
<mpcsh> pango
<mpcsh> systemd
mpcsh was kicked from #nixos by gchristensen [(mpcsh)]
newhoggy has joined #nixos
mpcsh has joined #nixos
<mpcsh> so sorry - was cleaning my trackpad and accidentally middle click pasted
<gchristensen> it happens to the best of us :D
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 268 seconds)]
newhoggy_ has quit [(Ping timeout: 260 seconds)]
Thra11 has joined #nixos
<mpcsh> can anyone help me debug the keybase service? I'm using services.keybase.enable = true in configuration.nix, but the service never starts. when I try to start it manually, I get https://gist.github.com/anonymous/4c10ff222a151b1ff5a826bceaeafd7c
newhoggy has joined #nixos
<manveru> mpcsh: what's in `journalctl -xef -u keybase`?
<manveru> systemctl status is notoriously unhelpful with the logs it shows :P
<mpcsh> manveru: well it's journalctl --user, but it just contains copies of what's in the gist I linked over and over
<manveru> no, -u is for unit
<mpcsh> manveru: no I know, I was saying it's a user service so I need to run it with --user
<manveru> oh :)
<manveru> well, i don't believe that that's all the logs
<manveru> because it shows just starting at "keybase.service: Unit entered failed state.", which is right after it failed
<manveru> systemctl status always shows just little enough logs that you don't see the real failure :|
<ixxie> how do you folks specify your software specific user configuration files inside your nixos modules?
<mpcsh> doesn't look helpful to me...
<manveru> "Jul 12 22:44:24 alpamayo keybase[4470]: 2017-07-12T22:44:24.430554-04:00 ▶ [ERRO keybase standard.go:208] 001 error locking /run/user/1000/keybase/keybased.pid: server already running"
<manveru> there you go
newhoggy has quit [(Ping timeout: 260 seconds)]
<manveru> maybe you're running it in daemon mode? make sure it doesn't go into the background after starting
<manveru> in either case you'll have to kill it first
m0rphism has joined #nixos
<manveru> because systemd lost control of it
<mpcsh> manveru: yeah, I see that. But the problem is that that instance was an instance of me explicitly running "systemctl --user start keybase" - when I run sudo nixos-rebuild switch, the service doesn't even attempt to start
<manveru> hmm
<mpcsh> Like I ran a sudo nixos-rebuild switch at 15:21, and there's just nothing in the logs
<manveru> sounds like the module was built a bit shitty :(
<mpcsh> it looks fine to me though
<manveru> yeah
<manveru> the service is not needed by anything, so it will never automatically start
<mpcsh> manveru: but I've explicitly enabled it
<manveru> yeah, but the service config is wrong
<mpcsh> manveru: oh. what's wrong with it? I'm a noob so I can't tell
<manveru> it needs lines like these
<mpcsh> manveru: ahhhhhhhh so it's enabled but it's never being told to actually start
<manveru> and if it created a .pid file, that usually means that it tries to run as a daemon
<manveru> which you also have to tell systemd or it'll be unable to kill it
<mpcsh> manveru: righto. if you run "keybase status" and the service is not running, it will background it and run as a daemon
<manveru> so it tries to start it forever
<manveru> and keeps failing because it's running already
<mpcsh> manveru: and hence the "start request repeated too quickly"?
<manveru> yeah
<mpcsh> okay, that makes sense. do you know how to avoid it?
takle has quit [(Remote host closed the connection)]
greglearns has quit [(Quit: Leaving)]
<manveru> does `keybase service -h` tell your something?
Thra11 has quit [(Ping timeout: 240 seconds)]
<manveru> just tried it, and it runs in the foreground
<manveru> so maybe you just have to kill the one already running or delete the pid file if it doesn't
newhoggy has joined #nixos
<mpcsh> manveru: well `keybase ctl stop` kills the daemon
<manveru> after that your service should start normally
Filystyn has quit [(Quit: Konversation terminated!)]
<mpcsh> manveru: it does indeed when I start it manually
oida has joined #nixos
<manveru> so only the dependencies for starting automatically are missing
<mpcsh> so is the quick fix just to add "keybase ctl stop" as an ExecPre and to make it depend on network-online.target?
ixxie has quit [(Quit: Lost terminal)]
<manveru> maybe multi-user, or does it always need network?
<manveru> and yes, that should do it
<mpcsh> manveru: hmm, I think if it's started before network and then network comes online it's fine
<mpcsh> gotta walk the dog but when I'm back I'm gonna try to make my first PR!
<manveru> :D
newhoggy has quit [(Ping timeout: 240 seconds)]
oida_ has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vQQfU
<NixOS_GitHub> nixpkgs/master 9748e9a Pascal Wittmann: acct: 6.6.3 -> 6.6.4
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
python476 has quit [(Ping timeout: 240 seconds)]
WinchellsM has joined #nixos
<WinchellsM> I am doing some amateur VR development in Linux, currently on Arch. Thinking of switching to NixOS. Is everything fairly straightforward for getting bleeding edge Nvidia 381+ drivers from nixpkgs?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #27361: darkhttpd: platforms.linux → platforms.all (master...patch-2) https://git.io/vQQJs
NixOS_GitHub has left #nixos []
<greglearns_> Can I get help with Rust + Nix and "failed to open: /tmp/nix-build-namehere-api-0.7.drv-0/deps/registry/index/-ba82b75dd6681d6f/.cargo-index-lock caused by Permission denied (os error 13)", on Ubuntu running Nix-build
newhoggy has joined #nixos
<Sonarpulse> Dezgeg: wanna helper function for the printf thing?
python47` has joined #nixos
<Dezgeg> I guess a comment is enough
erictapen has quit [(Ping timeout: 260 seconds)]
arianvp2 has quit [(Quit: arianvp2)]
newhoggy has quit [(Ping timeout: 268 seconds)]
<tilpner> WinchellsM - I'm on 17.03, and I can't even get *any* Nvidia driver working. Worked out-of-the-box with 16.09. https://github.com/NixOS/nixpkgs/issues/24711
<tilpner> greglearns_ - Sure, can you show your *.nix file?
jgertm has joined #nixos
<Sonarpulse> Dezgeg: well i rather get diff down, and if I am adding the commit anyways...
<Sonarpulse> it's certainly a good idea to do something :)
Mateon1 has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> good catch!
<tilpner> greglearns_ - What nixpkgs branch are you on/do you need to be compatible with?
Thra11 has joined #nixos
<greglearns_> tilpner nixpkgs https://nixos.org/channels/nixpkgs-unstable (I'm not sure what the best channel to be on is...)
newhoggy has joined #nixos
georges-duperon has quit [(Ping timeout: 255 seconds)]
apeyroux has joined #nixos
johnw_ has joined #nixos
johnw has quit [(Ping timeout: 255 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
johnw_ is now known as johnw
johnw is now known as Guest81096
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vQQkg
<NixOS_GitHub> nixpkgs/master 01ec484 Bjørn Forsman: libvirt: add missing gettext in libvirt-guests.sh...
NixOS_GitHub has left #nixos []
<tilpner> greglearns_ - Could you please try passing rustRegistry = pkgs.rustRegistry.overrideAttrs (old: { src = ...; }); to buildRustPackage and removing the inline rustRegistry overlay?
sary has quit [(Remote host closed the connection)]
<tilpner> (Or tell me how to test this locally)
Guest81096 is now known as johnw`
johnw` is now known as johnw
johnw has quit [(Changing host)]
johnw has joined #nixos
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
ison111 has joined #nixos
takle has joined #nixos
newhoggy has joined #nixos
<greglearns_> tilpner You should be able to test it locally with a simple nix-build. As to your suggestion, I'm new to nix, so I'm not exactly sure where I should put what you suggested (with rustRegistry = ...), what to put for the "..."
<tilpner> greglearns_ - I was asking about the project you're building, but I guess a simple Rust hello-world will do too
<greglearns_> oh, sure. Let me make a simple hello-world (unless you have one?)
<tilpner> Nah, cargo can generate one
<greglearns_> tilpner if you wanted a little more complex one, that requires nightly rust, you could use: https://github.com/SergioBenitez/Rocket/tree/v0.2.9/examples/pastebin
magnetophon1 has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
vagrant- has quit [(Ping timeout: 276 seconds)]
<greglearns_> tilpner, just so I'm clear, you said that you will generate your own rust hello world file (using cargo to generate one), right?
cmcdragonkai has quit [(Ping timeout: 248 seconds)]
Mateon1 has joined #nixos
<tilpner> greglearns_ - I tried that, it throws curious errors. I'll try your rocket example now
<greglearns_> tilpner I think I figured out what you were requesting before... basically, move line #17 down to after line #42 so that rustRegistry is being passed directly to the buildRustPackage as a normal argument. (right?) I tried that just now, and still get the same error.
<gchristensen> !m butterflya, whoever they are,
<[0__0]> You're doing good work, butterflya, whoever they are,!
<tilpner> greglearns_ - Did you have problems with parseToml too?
<greglearns_> no
newhoggy has joined #nixos
jonte has quit [(Ping timeout: 248 seconds)]
<gchristensen> domenkozar: around?
apeyroux has quit [(Quit: leaving)]
schoppenhauer has quit [(Quit: Adé)]
<tilpner> greglearns_ - I currently can't reproduce your error. Did you try it with the same Rocket example?
<greglearns_> no, I'll try that now
[0x4A6F] has quit [(Remote host closed the connection)]
[0x4A6F] has joined #nixos
newhoggy has quit [(Ping timeout: 276 seconds)]
erictapen has joined #nixos
<gchristensen> domenkozar: ping me when you can
<greglearns_> tilpner I wonder if it's related to my Cargo.toml file. Here it is, in case you want to test that https://gist.github.com/greglearns/7f5734649a2fc0698684d487d7c0057a Meanwhile, I'll try out the rocket example.
roberth has joined #nixos
<tilpner> greglearns_ - No, that file looks fine, but the Rocket pastebin Cargo.toml might bring problems, it being in a workspace and having relative path dependencies, and all
<tilpner> (I edited those out, but I still get a 8000 line regex error from parseTOML)
<greglearns_> oh. how about we try a simple cargo hello world example then. i can create one. give me a few minutes...
<tilpner> No, I tried that too, with the same error
<tilpner> I've had more success using rustNightlyBin instead of the overlay
schoppenhauer has joined #nixos
<schoppenhauer> hi. I am a bit confused about ruby packages. I want to create a nix-shell with some packages for ruby. specifically, I currently need http://sequel.jeremyevans.net/documentation.html which is a fairly common package but does not seem to be packaged.
<schoppenhauer> but not sure whether this is what I want to do
newhoggy has joined #nixos
<greglearns_> tilpner what date is rustNightlyBin running? Rocket.rs is really particular about using THE newest rust nightly (or, as close to the newest as can be)
<tilpner> greglearns_ - Yeah, it's probably not going to be enough for you :/
<greglearns_> unless, I did the same thing I'm doing with rustRegistry, and just override that (via an overlay, I'm guessing i'd still need to use0
<greglearns_> unless, I did the same thing I'm doing with rustRegistry, and just override that (via an overlay, I'm guessing i'd still need to use)
greglearns_ has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
newhoggy has quit [(Ping timeout: 260 seconds)]
<symphorien> is it intended that the store is writable inside a root nix-shell ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vQQYL
<NixOS_GitHub> nixpkgs/master ba096d8 tv: mfcl2700dnlpr: init at 3.2.0-1
<NixOS_GitHub> nixpkgs/master 6fdcc7f tv: mfcl2700dncupswrapper: init at 3.2.0-1
<NixOS_GitHub> nixpkgs/master 30223dd Jörg Thalheim: Merge pull request #25654 from 4z3/mfcl2700dn...
NixOS_GitHub has left #nixos []
cfricke has quit [(Quit: WeeChat 1.9)]
<manveru> symphorien: well, you're root...
apeyroux has joined #nixos
newhoggy has joined #nixos
<manveru> if you force writes, they'll go through
<symphorien> when I am root, but outside a nix-shell, it's not writable
<manveru> hmm
<manveru> on nixos?
<symphorien> touch '/nix/store/a': Read-only file system
<symphorien> yes
<symphorien> it is bind monuted read only
<manveru> yeah... strange
<manveru> can't say i ever tried it
<symphorien> but strangely inside a nix-shell, but only when root, the bind mount gets rw
<gchristensen> symphorien: os?
<symphorien> nixos
<symphorien> 17.03
<manveru> does nix-shell run in a nix-daemon?
<manveru> tbh i have no idea how the read-only magic works
<manveru> i just assumed it's temporarily made r/w until the daemon is done
<gchristensen> symphorien: please open a github issue
<symphorien> ok
<symphorien> I have a related question
<schoppenhauer> hm. can I declare a package "inline" inside my default.nix, that is, without having it external and using callPackage?
<symphorien> I discovered this while hunting another bug
<symphorien> when I run nixos rebuild inside nix-shell as root, grub is incorrectly configured
<gchristensen> schoppenhauer: and refer to it by itsn atribute? ie: foo = stdenv.mkDerivatior.. then later use foo?
newhoggy has quit [(Ping timeout: 246 seconds)]
<radvendii> schoppenhauer: yeah, I just had to do this actually. you can use `import`
<gchristensen> symphorien: I've heard of this bug before
zarel has quit [(Quit: Leaving)]
<dtzWill> lol? http://dtz.so/nuhis <-- sync'ing binary cache to s3 (binary cache <--> binary cache)
<symphorien> I get things like kernel=($drive2)//1maa67vqmlvpwmpxzmggmdpr6kg78vfa-linux-4.9.29/bzImage
<schoppenhauer> radvendii: could you send me a code snippet?
<gchristensen> E_TOO_MANY_BUGS
<dtzWill> since AFAICT "nix copy" doesn't handle that quite right (and AFAICT "--all" on nix-copy is taken not from "--from" but from "--store" which is ... interesting.. if true)
<gchristensen> schoppenhauer: did you want to use it like I described?
<symphorien> the store is not read only so this statement is incorerectly skipped
* dtzWill will try to file issues after this infra change and some more investigation xD
<radvendii> schoppenhauer: not sure if I was in the same situation as you though. I was packaging a separate application and didn't want to put it in the nix store
<schoppenhauer> gchristensen: ah yes, sorry, my raspi broke and this irc-webinterface is confusing, didn't see your post.
<gchristensen> schoppenhauer: then yes, just do that
<symphorien> I want to fix this, so should I 1/ remove the check that the bind mount is ro 2/ read /proc/1/mountinfo instead of /proc/self/mountinfo 3/ wait for the rw store inside nix-shell issue to be solved ?
<dtzWill> everything goes into the nix store muahaha
<schoppenhauer> gchristensen: and I can use fetchurl and stuff too?
<gchristensen> symphorien: you'd probably do it inside a let / in block
<gchristensen> erm .. schoppenhauer ^
<dtzWill> and soon maybe we can use IPFS or similar so everyone's nix store is in everyone's nix store
<gchristensen> schoppenhauer: of course! :) stdenv.mkDerivation is no different than a pkgs.fetchurl, really
cmcdragonkai has joined #nixos
<schoppenhauer> gchristensen: ok thx, I'll try that
cmcdragonkai is now known as Guest70706
cpennington has quit [(Remote host closed the connection)]
ertes-w has quit [(Read error: Connection reset by peer)]
ertesx-w has joined #nixos
<roberth> nix-repl> /foo + "/bar/" + "baz.qux"
<roberth> /foo/barbaz.qux
<WinchellsM> When seeing syntax like `$ nix-repl '<nixpkgs/nixos>'` in the nix manuals, is the `<nixpkgs/nixos>` literal? Like do you literally put < and > there? Or is it a stand-in variable?
ertesx-w is now known as ertes-w
greglearns has joined #nixos
<tilpner> WinchellsM - Those are actual syntax
<tilpner> WinchellsM - <foo> refers to the NIX_PATH entry "foo"
<roberth> do I spoil it for anyone if I tell what happened on my repl?
<tilpner> Not sure what you would spoil
<gchristensen> roberth: let's hear it :)
newhoggy has joined #nixos
<roberth> ahem yeah, so the path type can be a bit surprising, but this is the behavior you get when it always normalizes away the trailing /
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vQQ3K
<NixOS_GitHub> nixpkgs/master b9e404d Joachim Fasting: dash: 0.5.8 -> 0.5.9.1...
NixOS_GitHub has left #nixos []
greglearns__ has joined #nixos
<greglearns__> tilpner did you get this same error: warning: custom registry support via the `registry.index` configuration is being removed, this functionality will not work in the future ... mv: missing destination file operand after '/nix/store/isq22v3g0q0ahrph2w1pa3gxpspgz45l-smallexample-0.7-fetch/registry/cache/HASH'
<greglearns__> when you ran nix-build on the result of "cargo new --bin smallexample" ?
<roberth> The expression /foo + ("/bar/" + "baz.qux") does evaluate like anyone would expect
erictapen has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<greglearns__> tilpner oh, interesting, that error occurs when there are no "[dependencies]" in the cargo file...
<symphorien> here is the issue https://github.com/NixOS/nixpkgs/issues/27362
newhoggy has joined #nixos
orivej has quit [(Ping timeout: 260 seconds)]
<symphorien> any opinion on 22:57:44 ?
erictapen has joined #nixos
orivej has joined #nixos
<greglearns__> tilpner if you modify your smallexample Cargo.toml and add a section: [dependencies]
<greglearns__> serde = "0.9"
<greglearns__> then you will see the .cargo-lock error
newhoggy has quit [(Ping timeout: 248 seconds)]
WinchellsM has quit [(Ping timeout: 268 seconds)]
[0x4A6F]1 has joined #nixos
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
danl1240 has joined #nixos
newhoggy has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
jsgrant_ has joined #nixos
<tilpner> greglearns__ - Do you mean .cargo-index-lock, or is that actually the error?
<greglearns__> tilpner error: failed to open: /tmp/nix-build-smallexample-0.7.drv-0/deps/registry/index/-ba82b75dd6681d6f/.cargo-index-lock
<greglearns__> but, I think I'm onto something...
<greglearns__> Using the smallexample file, I've been narrowing it down... it is the mozilla overlay that is causing the problem. I'm still figuring it out, but I can produce the problem now.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb opened pull request #27363: tarsum: Fix source path in docker.src (master...fix-tarsum) https://git.io/vQQCT
NixOS_GitHub has left #nixos []
<mpcsh> hey all, how can I test a module?
<mpcsh> I updated keybase.nix in <nixpkgs/modules/services/networking> and I want to make sure it works before submitting a PR
spinus has joined #nixos
simukis has quit [(Ping timeout: 260 seconds)]
tmaekawa has quit [(Quit: tmaekawa)]
mudri has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
<symphorien> nixos-rebuild -I nixpkgs=/path/to/checkout switch
radvendii has quit [(Ping timeout: 260 seconds)]
sary has joined #nixos
<tilpner> greglearns__ - Any progress? This is weird. It works with rustPlatform, but not rustNighthlyBin
<mpcsh> symphorien: thank you!!!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vQQ4V
<NixOS_GitHub> nixpkgs/master f91c591 Cray Elliott: wineUnstable, wineStaging: 2.11 -> 2.12
NixOS_GitHub has left #nixos []
<greglearns__> tilpner I'm still trying things out... right now working on using https://github.com/solson/rust-nightly-nix
hiratara has quit [(Ping timeout: 246 seconds)]
<mpcsh> symphorien: that mostly worked, but it failed because the expected sha256sum was wrong. What is that sum taken on?
<symphorien> what expected sha sum ?
hiratara has joined #nixos
<symphorien> on the tarball downloaded from github
<catern> is it possible to launch NixOS as a container with systemd-nspawn?
<catern> I have a NixOS filesystem tree here and I want to test it out with systemd-nspawn
<catern> but there's no binaries in /bin...
<simpson> catern: Have you seen nixos-container? I am not very good with it, but it does work.
<copumpkin> nixos-container is using nspawn behind the scenes, so it is possible, but I haven't looked at the details
<mpcsh> symphorien: that's what I thought, but I ran sha256sum on that tarball and got something different
<symphorien> use nix-prefetch-url instead
<catern> simpson: copumpkin: sure, the issue is that I'm on a foreign distro - arch to be specific
<symphorien> not sure it is a vanilla sha sum
<catern> copumpkin: oh! did you ever figure out a solution for https://www.mail-archive.com/nix-dev@lists.science.uu.nl/msg34912.html ?
<mpcsh> symphorien: is it downloading the binary tarball or the source tarball?
<copumpkin> catern: oh, I have some ideas, but am still working it out at my organization. Might try to write something up in time for nixcon
<copumpkin> not really fully here right now, but can talk about it later
<copumpkin> I saw a thread on it on the issue tracker recently too
<copumpkin> was that you?
<symphorien> probably source -- the content of the git worktree at that revision
<catern> copumpkin: oh, I don't think it was me
<catern> copumpkin: any keywords with which to search for the issue?
ryanartecona has quit [(Quit: ryanartecona)]
newhoggy has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
<mpcsh> symphorien: neither comes up with the right sum :(
<symphorien> anyway the error message is giving you the "right" sum :°
<copumpkin> catern: looking now, can't remember
<mpcsh> symphorien: oh duh
<catern> copumpkin: like you, I guess, I am trying to figure out a good solution for my large organization which uses a monorepo
<copumpkin> yup :)
<copumpkin> it's tricky
<copumpkin> my current plan (not implemented or tested yet) is to never make path references directly
<copumpkin> but to pass them through an overridable function
<copumpkin> still tricky to pull out the "channel" part of it though
<catern> oh yeah! I was thinking about something similar
<copumpkin> could use scopedImport to hack that too
<copumpkin> but it's awkward
<catern> but that doesn't solve the "I need to lift out expressions out of the source tree" problem, right?
<copumpkin> well, it potentially could
<LnL> I just recently setup some stuff that uses overlays to add/override parts of nixpkgs
<copumpkin> scopedImport lets you change the meaning of import...
<copumpkin> I don't really want to do that, but it is possible
nh2 has quit [(Quit: Leaving.)]
<LnL> it also has a working pkgs/top-level/release.nix that only builds the custom stuff
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vQQ0J
<NixOS_GitHub> nixpkgs/master 7ef578f Franz Pletz: zulu: 8.19.0.1 -> 8.21.0.1
<NixOS_GitHub> nixpkgs/master af70b8f Franz Pletz: nginxMainline: 1.13.2 -> 1.13.3 for CVE-2017-7529
<NixOS_GitHub> nixpkgs/master 6e1aaea Franz Pletz: nginx: 1.12.0 -> 1.12.1 for CVE-2017-7529
NixOS_GitHub has left #nixos []
<copumpkin> LnL: thanks :) the main goal here though is to incorporate nix files alongside internal source code for the projects the nix files manage
<copumpkin> basically, how do I manage internal company projects with nix
<copumpkin> you often want to write mkDerivation = { src = ./src; ... }
<LnL> oh right how to approach the import from drv stuff
<copumpkin> but doing that makes it very difficult to distribute a channel of your stuff
<copumpkin> becauser your channel now needs to include all your source code
<copumpkin> anyway
<copumpkin> it's an interesting challenge
greglearns__ has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<copumpkin> catern: you going to nixcon?
greglearns_ has joined #nixos
<copumpkin> I'd love to work through solutions to this there
greglearns has quit [(Read error: Connection reset by peer)]
greglearns___ has joined #nixos
<catern> copumpkin: hmm, I wasn't sure I would be
greglearns____ has joined #nixos
<catern> copumpkin: just curious, where do you work?
<copumpkin> a financial company that doesn't put its name out there much :)
<schoppenhauer> hm. can I run a "package-local" apache server without using nixOps?
<copumpkin> catern: I gave a tiny spiel about our tentative nix use back at the last nixcon, but it's grown since then
greglearns____ has left #nixos []
<catern> copumpkin: have you successfully persuaded people at your corp? :)
<copumpkin> I wouldn't say it's pervasive but it's grown a fair amount
<catern> nice
<mpcsh> symphorien: so it's working now, but is there any way to test the module without building *everything* from my nixpkgs checkout? it takes foreeeeever
<copumpkin> catern: how about yours?
<catern> (if you work in finance, are you in NYC? I'm in NYC and feel that there should be an NYC Nix meetup group :))
<symphorien> usually, I test on channels/nixos-unstable
<gchristensen> catern: want to meet up next week? I'll be in town, might have time
<symphorien> then I do git rebase --onto master channels/nixos-unstable mybranch
<symphorien> and hope it doesn't break anything
<copumpkin> catern: I'm in the NYC area for a few days a month, and yes I'd love that :) my next visit is all booked up but I'd definitely try to make it to a nix nyc meetup
<symphorien> if you are on unstable there is a way to test one module but I hae never used it
<symphorien> I am on stable
<gchristensen> copumpkin: hmmm I'm there a week a quarter ...
<catern> copumpkin: ah, well, I've only really been at it for a month and a half... I have an advantage that some internal tools can be quite accurately described as "just proprietary version of Nix", and those tools are slated to replaced ASAP, so I think I've persuaded a decent number of people that Nix is the natural move forward
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vQQEU
<NixOS_GitHub> nixpkgs/master a9ea9d4 Yegor Timoshenko: darkhttpd: platforms.linux → platforms.all
<NixOS_GitHub> nixpkgs/master e39e869 Daiderd Jordan: Merge pull request #27361 from yegortimoshenko/patch-2...
NixOS_GitHub has left #nixos []
<copumpkin> gchristensen: we need to line up one day :)
<copumpkin> catern: ah very cool
<catern> gchristensen: hey, sure, maybe we can even make a real meetup announcement :)
<copumpkin> it's only official if it's on meetup.com, or so I hear
<gchristensen> lol
<copumpkin> oh but they charge organizers don't they
<gchristensen> copumpkin: I usually stay near enough to the breslin room ...
<gchristensen> catern: ^
<mpcsh> symphorien: I'm on unstable. is there any documentation for that?
tmaekawa has joined #nixos
<catern> copumpkin: hmm, yes they do charge organizers
<catern> I expect I could get my company to sponsor it though :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vQQut
<NixOS_GitHub> nixpkgs/master 3d360a5 Daniel Fullmer: gnupg agent module: Remove unnecessary unit configuration...
<NixOS_GitHub> nixpkgs/master 38e971d Daniel Fullmer: gnupg agent module: Fix dirmngr.enable option
<NixOS_GitHub> nixpkgs/master 627260d Daniel Fullmer: gnupg agent module: Only set tty for interactive shells
NixOS_GitHub has left #nixos []
<symphorien> if I remember correctly, put your new module in the import section of your configuration.nix and then, add a new list just like imports = called disabledModules = [ "modules/sdfsdfsdfs.nix" ];
dbmikus_ has quit [(Quit: WeeChat 1.9)]
<symphorien> never tested, it is in a comment in my configuration.nix for when 17.09 is released
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #27359: opensmtpd: Fix attempt to set unsupported permissions during install (master...fix/opensmtpd-unsupported-perms) https://git.io/vQHrH
NixOS_GitHub has left #nixos []
georges-duperon has joined #nixos
wak-work has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vQQud
<NixOS_GitHub> nixpkgs/master 5c336fc Roger Qiu: phpPackages.phpcbf: init at 2.6.0
<NixOS_GitHub> nixpkgs/master 672171b Franz Pletz: Merge pull request #27303 from MatrixAI/phpcbf...
NixOS_GitHub has left #nixos []
hiratara has quit [(Quit: ZNC - http://znc.in)]
newhoggy has quit [(Remote host closed the connection)]
tmaekawa has quit [(Quit: tmaekawa)]
hiratara has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
wak-work has joined #nixos
hamishmack has joined #nixos
jgertm has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vQQgU
<NixOS_GitHub> nixpkgs/master 6943cd3 Franz Pletz: darkhttpd: 1.11 -> 1.12
NixOS_GitHub has left #nixos []
92AABF6M1 has joined #nixos
<92AABF6M1> [nixpkgs] Ericson2314 pushed 7 new commits to staging: https://git.io/vQQgI
<92AABF6M1> nixpkgs/staging 8d76eff John Ericson: stdenv-setup: Make the package accumulators associative arrays instead of strings...
<92AABF6M1> nixpkgs/staging 5d4efb2 John Ericson: stdenv-setup: Misc improvements as directed by ShellCheck...
<92AABF6M1> nixpkgs/staging 5d693c8 John Ericson: stdenv-setup: Clean up 'substitute()' for style and error handling...
92AABF6M1 has left #nixos []
17SABIE1K has joined #nixos
<17SABIE1K> [nixpkgs] Ericson2314 closed pull request #27336: Stdenv setup misc cleanups (staging...stdenv-setup-cleanup) https://git.io/vQSld
17SABIE1K has left #nixos []
radvendii has joined #nixos
ChongLi has joined #nixos
orivej has quit [(Ping timeout: 260 seconds)]
mudri has joined #nixos
magnetophon1 has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
yegortimoshenko has joined #nixos
newhoggy has quit [(Ping timeout: 276 seconds)]
dbmikus has quit [(Quit: WeeChat 1.9)]
ebzzry has joined #nixos
python47` has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #27364: slurm: add alias attribute for backward compatibility (master...slurm2) https://git.io/vQQav
NixOS_GitHub has left #nixos []
ertes-w has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.03: https://git.io/vQQaW
<NixOS_GitHub> nixpkgs/release-17.03 911d8e7 Franz Pletz: nginx: add patch to fix CVE-2017-7529
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #27365: stdenv: Move some logic from cross adapter to stdenv proper (staging...smaller-stdenv-cross-adaptor) https://git.io/vQQa0
NixOS_GitHub has left #nixos []
indi_ has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
yegortimoshenko has quit [(Ping timeout: 248 seconds)]
newhoggy has joined #nixos
uwap is now known as TrueUnixUser
ebzzry has quit [(Ping timeout: 240 seconds)]
TrueUnixUser is now known as uwap
ebzzry has joined #nixos
ng0 has quit [(Quit: Alexa, when is the end of world?)]
greglearns___ has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
ennui` has quit [(Read error: Connection reset by peer)]
cwre has quit [(Read error: Connection reset by peer)]
greglearns_ has quit [(Ping timeout: 268 seconds)]
cwre has joined #nixos
ison111 has quit [(Quit: WeeChat 1.7.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to staging: https://git.io/vQQw4
<NixOS_GitHub> nixpkgs/staging e826a6a John Ericson: stdenv: Move some logic from cross adapter to stdenv proper...
<NixOS_GitHub> nixpkgs/staging 1ebb059 John Ericson: Merge pull request #27365 from obsidiansystems/smaller-stdenv-cross-adaptor...
NixOS_GitHub has left #nixos []
markus1199 has joined #nixos
erasmas has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #27366: Version bumps (master...version_bumps) https://git.io/vQQwF
NixOS_GitHub has left #nixos []
markus1189 has quit [(Ping timeout: 255 seconds)]
sigmundv_ has joined #nixos
cwre has quit [(Quit: Aliens ate me. I'm not good for them.)]
cwre has joined #nixos
yegortimoshenko has joined #nixos
cwre has quit [(Client Quit)]
cwre has joined #nixos
yegortimoshenko has quit [(Ping timeout: 240 seconds)]
greglearns___ has joined #nixos
greglearns_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] symphorien opened pull request #27367: grub module: assume /nix/store is a bind mount even if it is not read only (master...fix-grub-rw-store) https://git.io/vQQr5
NixOS_GitHub has left #nixos []
eacameron has quit [(Remote host closed the connection)]
takle has quit [(Remote host closed the connection)]
davidak has joined #nixos
eacameron has joined #nixos
ebzzry has quit [(Ping timeout: 260 seconds)]
ebzzry has joined #nixos
<greglearns___> tilpner so, I'm still getting my butt kicked. I'm thinking of giving up on trying to get Rocket.rs and Nix to work together, and instead just use another Rust web framework so that I don't have to be on the cutting edge of Rust compilers and cargo indexes. you mentioned that you've been using the nightly compiler through another means... how?
thc202 has quit [(Ping timeout: 276 seconds)]
<tilpner> greglearns___ - I tried for some time, ending up at https://gist.github.com/52ad8212969ed36a75c9daa6109cade3 , but gave up after seeing https://github.com/NixOS/nixpkgs/issues/23282
magnetophon1 has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
<mpcsh> is there a way to build a package from a .deb?