gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
lexsomething has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
i-am-the-slime has quit [Ping timeout: 255 seconds]
anelson- has quit [Ping timeout: 240 seconds]
ma27 has joined #nixos
oida has quit [Ping timeout: 252 seconds]
hellrazor has joined #nixos
oida has joined #nixos
pjan_ has joined #nixos
jrolfs__ has quit [Ping timeout: 248 seconds]
jrolfs__ has joined #nixos
<dhess> LnL: ok trying nix-darwin again on my remote builder. Just to clarify -- I had previously installed nix with the latest multi-user installer; so in order to get nix-darwin to manage nix-daemon, I just need to remove the "# Nix...# End Nix" bit from /etc/bashrc, correct?
<dhess> sorry /etc/profile
<LnL> yeah
<dhess> cool
<LnL> and whatever method you prefer to get the environment from bashrc loaded
<dhess> sorry, what do you mean?
<dhess> I told the nix-darwin installer to update /etc/bashrc, is that what you mean?
<LnL> yeah, that's one of the options :)
<dhess> ok got it
dan_b has quit [Ping timeout: 260 seconds]
digitus has quit [Quit: digitus]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33617: nixos/udev: fix outdated udev rules for network devices (master...udevd) https://git.io/vNLsX
NixOS_GitHub has left #nixos [#nixos]
erasmas has quit [Quit: leaving]
spietz has quit [Quit: WeeChat 1.9.1]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 4 new commits to master: https://git.io/vNt3K
<NixOS_GitHub> nixpkgs/master d065224 Andreas Rammhold: tomcat8: 8.0.46 -> 8.0.47 (fixes CVE-2017-12617)...
<NixOS_GitHub> nixpkgs/master 1559070 Andreas Rammhold: tomcat85: 8.5.20 -> 8.5.23 (fixes CVE-2017-12617)...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 3498654 Andreas Rammhold: tomcat7: 7.0.81 -> 7.0.82 (fixes CVE-2017-12617)...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vNt31
<NixOS_GitHub> nixpkgs/master fe05782 Orivej Desh: hplip: fix quoting for makeWrapper...
<NixOS_GitHub> nixpkgs/master 2e285a3 Orivej Desh: mercurial: fix quoting with guiSupport for makeWrapper...
NixOS_GitHub has left #nixos [#nixos]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FRidh has quit [Quit: Konversation terminated!]
FRidh has joined #nixos
<sirkha> trying to add an expression for https://github.com/drahnr/oregano and it mentions XDG_DATA DIRS. I have tried wrapProgram in install phase, but it says, "wrapProgram: command not found" I tried it in the postInstall, but nothing seems to happen. I have makeWrapper on the first line.
<dhess> LnL: got this when I did `darwin-rebuild switch`: warning: not linking environment.etc."bashrc" because /etc/bashrc exists, skipping...
<dhess> LnL: so should I remove /etc/bashrc and /etc/nix/nix.conf now that I've got nix-darwin installed, or will everything know to look in /run/current/system/etc
<dhess> ?
<tilpner> sirkha - I think you have to add makeWrapper to nativeBuildInputs
<dhess> /run/current-system/etc
<dhess> look like it will look in /run/current-system/etc
<dhess> at least my user shell
radvendii has joined #nixos
<sirkha> tilpner, well, that solved half the problem
<radvendii> has anyone here tried to get PlaneShift running on NixOS?
<tilpner> sirkha - But I'm not sure you have to set XDG_DATA_DIRS at all
<radvendii> I downloaded their installer and it just doesn't run
<tilpner> That's not surprising :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 27 new commits to master: https://git.io/vNtsw
<NixOS_GitHub> nixpkgs/master 1bacb88 José Romildo Malaquias: mate-session-manager: add debug option to mate service
<NixOS_GitHub> nixpkgs/master bf5702e José Romildo Malaquias: mate-session-manager: revise dependencies
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 492ffae José Romildo Malaquias: mate-session-manager: remove explicitly dependence on gsettings_desktop_schemas...
<sirkha> tilpner, i tried running it and it says, "(oregano:12162): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
<sirkha> Trace/breakpoint trap
<sirkha> "
<tilpner> No idea about that
<sirkha> based on the readme, that is why it needs the XDG_DATA_DIRS
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #33634: android-studio: add mesa to the runtime path (master...android-studio/support-virtual-devices) https://git.io/vNtsP
NixOS_GitHub has left #nixos [#nixos]
<sirkha> wrapProgram still isn't wrapping the program, i must be using it wrong
<tilpner> Paste?
SuprDewd has quit [Read error: Connection reset by peer]
xcmw has joined #nixos
SuprDewd has joined #nixos
<nixy> What is the best way to add a package from a git repo of nixpkgs to systemPackages for testing?
<tilpner> sirkha - Doesn't build here, something about waf is wrong
<tilpner> nixy - Why do you want that, and what problem are you having with it?
rardiol1 has joined #nixos
<tilpner> Oh, misread, sorry
<samueldr> anyone with ofborg knowledge, once ofborg ran successfully, is it normal that ofborg doesn't seem to re-check after a new push?
<tilpner> nixy - You can put (callPackage (fetchFromGitHub { ... }) {}) into your systemPackages
<samueldr> and as it is possibly relevant, that was a force push on my branch
<nixy> tilpner: Oh. Then I can just feed it my branch... neat
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 646a7cf Andreas Rammhold: tomcat8: 8.0.46 -> 8.0.47 (fixes CVE-2017-12617)...
<NixOS_GitHub> [nixpkgs] globin pushed 4 new commits to release-17.09: https://git.io/vNtGs
<NixOS_GitHub> nixpkgs/release-17.09 5d6541e Andreas Rammhold: tomcat7: 7.0.81 -> 7.0.82 (fixes CVE-2017-12617)...
<NixOS_GitHub> nixpkgs/release-17.09 165795d Andreas Rammhold: tomcat85: 8.5.20 -> 8.5.23 (fixes CVE-2017-12617)...
NixOS_GitHub has left #nixos [#nixos]
<tilpner> nixy - Use (import (fetchFromGitHub { ... }) {}).name_of_package
nithor has quit [Ping timeout: 252 seconds]
la_putin has joined #nixos
<tilpner> nixy - Although I would suggest setting up an overlay with different channels in it, so that you can put nixpkgs_nixy.name_of_package into your systemPackages
<sirkha> tilpner, i had to make some changes to goocanvas to get it to work, it *is* wrapping it on further inspection, so something else is wrong, but i can work it now, thanks (I added quotes after my first issue, that seemed to fix it, but i didn't notice because i didn't look hard enough)
el_putin has quit [Read error: Connection reset by peer]
<nixy> I've been meaning to look at what overlays are for a while, but never got around to it
<Sonarpulse> dhess: thanks, sorry long meeting popped up just then
<dhess> Sonarpulse: no worries. Need anything else?
jrolfs has quit [Ping timeout: 240 seconds]
ma27 has quit [Ping timeout: 276 seconds]
jrolfs__ has quit [Ping timeout: 248 seconds]
<Sonarpulse> dhess: checking, hope not!
mizu_no_oto has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<radvendii> for something that thinks it needs to install in a system directory, is there a way to fool it into installing elsewhere?
<radvendii> is this what docker is for?
xcmw has quit [Ping timeout: 265 seconds]
jrolfs has joined #nixos
jrolfs__ has joined #nixos
nithor has joined #nixos
<tilpner> radvendii - Try steam-run
xcmw has joined #nixos
<radvendii> oh man! like magic it works
<radvendii> what does steam-run do??
<radvendii> :P
<samueldr> runs software in the "environment" steam runs in
<tilpner> Uses a user mount namespace to construct an FHS-compliant environment
<tilpner> With game-specific libraries included
ckauhaus1 has joined #nixos
<radvendii> ah fudge muffins
<radvendii> now i have to do the patchelf crap
jrolfs has quit [Ping timeout: 248 seconds]
jrolfs__ has quit [Ping timeout: 256 seconds]
<tilpner> Why?
ckauhaus has quit [Ping timeout: 255 seconds]
<radvendii> because it has the wrong paths for "ld-linux-x86-64.so.2"
<radvendii> how do i find the right path again? it involves nix-build somehow
<tilpner> Why does it need the right paths, if it works in steam-run?
<radvendii> the thing I was trying to run was just the installer
<tilpner> Try running the game with steam-run
<radvendii> oh good call
<sirkha> is there a way to get nix-build to force a rebuild? i tried --repair but it tells me to shove off ("error: repairing is not supported when building through the Nix daemon")
<radvendii> but it has the same dumb "not found" error
<tilpner> radvendii - Paste your shell session?
<radvendii> what do you mean? the whole thing?
<tilpner> Just the relevant part
<radvendii> OH
<radvendii> okay so with steam-run you have to put the whole path
<radvendii> i.e. ./blah instead of just blah
<radvendii> now it works
<radvendii> thanks <333
<tilpner> I usually "steam-run bash", to get a shell
<sirkha> tilpner, thanks
<radvendii> ah that makes sense
bennofs has quit [Ping timeout: 246 seconds]
<nixy> tilpner: So I think I understand overlays now, but it isn't clear how I would make a different channel for an overlay
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master dbb774c Herwig Hochleitner: chromium: update 63.0.3239.108 -> 63.0.3239.132...
<NixOS_GitHub> nixpkgs/master 6ce61b1 Herwig Hochleitner: dropbox: 38.4.27 -> 40.4.46
<NixOS_GitHub> [nixpkgs] bendlas pushed 2 new commits to master: https://git.io/vNtn1
<nixy> It seems like overlays would just override whatever current nixpkgs is, unless there is some secret sauce I am missing
<tilpner> nixy - You got it the wrong way: Not a channel for an overlay, but an overlay for a channel. The channel is the overlayed onto whatever your primary nixpkgs is
<nixy> So adding something to NIX_PATH that would create a channel from a URL containing an overlay?
<tilpner> No. A normal overlay that adds imported versions of nixpkgs to your normal nixpkgs
<tilpner> These imported versions can be fetched from the normal channel URLs
ryanartecona has joined #nixos
enoeht has quit [Ping timeout: 265 seconds]
jrolfs__ has joined #nixos
jrolfs has joined #nixos
<acowley> The carnix build blocking the unstable channel from bumping (afaict) has been hanging around for quite some time. Anyone know what's up? https://hydra.nixos.org/eval/1424088#tabs-unfinished
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roconnor opened pull request #33635: bitcoin: fix boost dependency (master...bitcoin) https://git.io/vNtc7
NixOS_GitHub has left #nixos [#nixos]
taktoa has quit [Remote host closed the connection]
jrolfs has quit [Ping timeout: 276 seconds]
jrolfs__ has quit [Ping timeout: 264 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33587: mixxx: option for AAC support, fixes #29472 (master...master) https://git.io/vNItx
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNtC2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 067cac7 Tim Williams: mixxx: add AAC support...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hamishmack opened pull request #33636: haskell: Fix depending on libs with internal libs on darwin. (master...haskell-internal-libs-darwin2) https://git.io/vNtCo
NixOS_GitHub has left #nixos [#nixos]
hamishmack has quit [Quit: hamishmack]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master f4afbf6 Orivej Desh: neovim: fix quoting for makeWrapper...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vNtC7
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vNtCb
<NixOS_GitHub> nixpkgs/release-17.09 d202e30 zimbatm: gifsicle: 1.88 -> 1.90...
NixOS_GitHub has left #nixos [#nixos]
stanibanani has joined #nixos
jb55 has joined #nixos
deepfire has quit [Ping timeout: 246 seconds]
Fare has quit [Ping timeout: 248 seconds]
nithor has quit [Ping timeout: 255 seconds]
thc202 has quit [Ping timeout: 268 seconds]
nuncanada has quit [Quit: Leaving]
<qmm> i looked in install, but didn't see the NIX_BUILD_GROUP_ID variable
<samueldr> qmm: (I personally probably can't help) on which platform, and I'm assuming nix was previously installed, right?
<samueldr> qmm: the script they are referencing is the one in the tarball that "install" script loaded
<qmm> osx. how do i inform install to use the edited script?
<samueldr> looking at the install script, you can probably download the tarball, edit the script, then at the root directory, do `./install`, possibly `sudo ./install`
nithor has joined #nixos
<samueldr> for the record, the current tarball is this one: https://nixos.org/releases/nix/nix-1.11.16/nix-1.11.16-x86_64-darwin.tar.bz2
<samueldr> oh, and please open the issue as asked, even if it works, tracking such a failure will help understanding how people are using the script
<acowley> qmm: You may want to re-ask in #nix-darwin if you're having issues on darwin
<acowley> qmm: (Though #nix-darwin is mostly useful if it's busy here)
<acowley> qmm: and ping grahamc as he's the primary author of that script
radvendii has quit [Quit: WeeChat 2.0]
hellrazo1 has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
hellrazor has quit [Ping timeout: 248 seconds]
<qmm> thanks acowley
mbrgm has joined #nixos
<acowley> qmm: Sorry I don't have more help. I'd google how to delete a group on macOS if trying to start a nix install from scratch.
jb55 has quit [Ping timeout: 265 seconds]
Sonarpulse has quit [Ping timeout: 265 seconds]
dag__ has joined #nixos
<qmm> yeah, i deleted my /nix directory
<qmm> wanting to reinstall
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 2 new commits to master: https://git.io/vNt8l
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 9d78833 Shea Levy: Add gflags
<NixOS_GitHub> nixpkgs/master 6d3ff29 Shea Levy: Add grpc.
dag_ has quit [Ping timeout: 276 seconds]
iqubic has joined #nixos
leothrix has quit [Quit: ZNC 1.6.5 - http://znc.in]
Supersonic112 has quit [Disconnected by services]
<iqubic> so I ran "nix-collect-garbage --older-than 7d" but I'm still seeing all the generations created since I installed NixOS listed in my SystemD-Boot bootloader menu. Anyone know how to trim that list to just the generatations that exist.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Supersonic112_ has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
Supersonic112_ is now known as Supersonic112
ryantrinkle has quit [Ping timeout: 248 seconds]
<magnap> iqubic: you could either delete the boot loader entries manually, or, more easily, run nixos-rebuild one more time (that also rebuilds the boot loader entries)
Fare has joined #nixos
<tilpner> iqubic - Make sure to run nix-collect-garbage as root, and then nixos-rebuild
chreekat has quit [Ping timeout: 268 seconds]
<iqubic> Thanks
mkoenig_ has quit [Ping timeout: 265 seconds]
chreekat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #31982: rustc: 1.21.0 -> 1.22.1 (master...rust-1.22.1) https://git.io/vFxaA
NixOS_GitHub has left #nixos [#nixos]
leothrix has joined #nixos
stanibanani has quit [Ping timeout: 265 seconds]
atrx has joined #nixos
mkoenig has joined #nixos
alexteves has quit [Ping timeout: 268 seconds]
chreekat_ has joined #nixos
chreekat has quit [Disconnected by services]
chreekat_ is now known as chreekat
danl1240 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dieggsy has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
mkoenig has joined #nixos
_alice_ has joined #nixos
<_alice_> Any way to use pip to install python packages globally on Nix?
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
ryanartecona has joined #nixos
iqubic` has joined #nixos
<tilpner> Probably not in the way you want. Why do you need it?
nithor has quit [Ping timeout: 246 seconds]
dieggsy has joined #nixos
<_alice_> Convenience
<_alice_> Just trying to `pip install pandas pandas-datareader matplotlib beautifulsoup4 scikit-learn`
<_alice_> and it's frustrating to not be able to
phreedom has joined #nixos
<_alice_> Is this impossible?
iqubic has quit [Ping timeout: 255 seconds]
pjan_ has quit [Quit: Textual IRC Client: www.textualapp.com]
dieggsy has quit [Remote host closed the connection]
<dhess> nix-shell -p pythonPackages.pandas pythonPackages.pandas-datareader ...
<dhess> (although it appears pandas-datareader is not packaged)
dieggsy has joined #nixos
<_alice_> This makes things difficult @_@ I understand the nix philosophy, but for pip and npm I feel it's overbearing
<tilpner> _alice_ - You can use pip to install packages, but it may not work well
<_alice_> It doesn't seem to work at all
<tilpner> _alice_ - Use pip install --user
nithor has joined #nixos
<_alice_> File "<string>", line 1, in <module>
<_alice_> ModuleNotFoundError: No module named 'setuptools'
<_alice_> Hmm 🤔
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #33637: stdenv: Kill off ensureDir (staging...ensureDir) https://git.io/vNtR3
NixOS_GitHub has left #nixos [#nixos]
<tilpner> FWIW, pip install --user beautifulsoup4 works fine
<_alice_> It actually seems to be *just* pandas that's broken...
<_alice_> strange
<_alice_> Oh, and matplotlib
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto closed pull request #32657: [RFC] Neovim wrapper (master...neovim) https://git.io/vbaiI
NixOS_GitHub has left #nixos [#nixos]
sigmundv_ has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] corngood opened pull request #33638: linux_testing: 4.15-rc4 -> 4.15-rc7 (master...linux-testing-upgrade) https://git.io/vNtRz
NixOS_GitHub has left #nixos [#nixos]
contrapumpkin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #33639: [RDY] neovim: init wrapper (master...neovim) https://git.io/vNtR7
NixOS_GitHub has left #nixos [#nixos]
blahdodo has quit [Quit: Bye bye]
nithor has quit [Ping timeout: 265 seconds]
jsgrant[m] has left #nixos ["User left"]
blahdodo has joined #nixos
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
aw has joined #nixos
spacefrogg has joined #nixos
iqubic` is now known as iqubic
iqubic has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
ryanartecona has quit [Quit: ryanartecona]
nithor has joined #nixos
pkill9 has quit [Quit: WeeChat 2.0]
chreekat has quit [Ping timeout: 260 seconds]
yegortimoshenko has joined #nixos
asuryawanshi has joined #nixos
chreekat has joined #nixos
iqubic has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
<iqubic> is there a way to prevent my computer from going to sleep (IE screen turns black) when I am watching YouTube, or VLC, in fullscreen.
contrapumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<iqubic> Also, I wonder if NixOS has any screen locker programs. I'd like to be able to lock my machine and require a password before it can be used again.
asuryawanshi has quit [Ping timeout: 248 seconds]
<adisbladis> iqubic: systemd has a feature called inhibition locks
pie__ has joined #nixos
<iqubic> What is that?
<adisbladis> You can start a program with "systemd-inhibit" to acquire an inhibition lock which prevents sleep
<iqubic> How can I use that to solve my problem?
<adisbladis> Some DEs (like KDE plasma) will do that for you for certain programs like media players
<iqubic> Yeah, I'm using a WM that doesn't do that.
<adisbladis> iqubic: "systemd-inhibit vlc file.mkv"
<adisbladis> For example
<iqubic> Can I use that with firefox.
<adisbladis> Sure. Same thing.
<iqubic> What does file.mkv do? Is that just the parameter to vlc?
pie_ has quit [Ping timeout: 248 seconds]
<adisbladis> iqubic: Yeah just an example :)
<iqubic> so I can run "systemd-inhibit firefox"?
<adisbladis> Yes
<adisbladis> Regarding screen locking we have a bunch of them: xscreensaver, vlock, slock, xlockmore etc
<adisbladis> To name a few
<iqubic> What are the differences between those?
<iqubic> I want a way to lock my laptop when inactive.
<iqubic> I mean, When I am away from my laptop.
<iqubic> When I am not using my laptop.
nithor has joined #nixos
<adisbladis> iqubic: I would probably use xscreensaver or xlockmore
<adisbladis> You can couple that with xautolock to automatically lock on inactivity
nix-gsc-io`bot has joined #nixos
<samueldr> yay, new edition of nixos-weekly!
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5c7edaaed5a (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
<iqubic> adisbladis: Which do you recomend?
<iqubic> out of xscreensave or xlockmore.
ajp has quit [Remote host closed the connection]
ajp has joined #nixos
<iqubic> How do I install unfree stuff from the unstable branch?
<iqubic> Have the branch set-up so that I can access it from my configuration.nix with nixos-unstable.foo
<adisbladis> iqubic: I'm partial to xscreensaver
<iqubic> But when I add nixos-unstable.discord to my environmentPackages list in configuration.nix then stuff stops working.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNtEy
<NixOS_GitHub> nixpkgs/master 9638055 adisbladis: inotify-tools: 3.14 -> 3.20.1...
NixOS_GitHub has left #nixos [#nixos]
<iqubic> Because appearently discord is not free.
<iqubic> however I can get other unfree programs just fine.
mrkgnao has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
hamishmack has joined #nixos
<rardiol1> someone else having problem with update due to dblatex being broken? Something to do with "Error: not found: stmaryrd" ? But stmaryrd is on the tex input list...
<iqubic> Is someone going to push the latest update for Discord to NixOS stable?
mrkgnao has quit [Ping timeout: 260 seconds]
aarvar has joined #nixos
mrkgnao has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
schoppenhauer has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
schoppenhauer has joined #nixos
<rardiol1> If I have a copy of nixpkgs and run nix-build -A foo, then I should get the exact same result as hydra building foo on the same git commit, correct?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d202e30b8ed (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
<samueldr> rardiol1: I don't know where the most up-to-date stuff is about that, but NixOS isn't yet 100% reproducible in the sense that binaries are reproduced byte-for-byte between builds yet.
<samueldr> IIRC
<samueldr> reproducible builds in the meaning of https://reproducible-builds.org/
<rardiol1> samueldr: ok, but hydra has a working build and my local one fails. That is not supposed to happen, byte-by-byte reproductibility or not, right?
nithor has joined #nixos
<samueldr> that's mostly right, it should work
<samueldr> there's a "reproduce locally" button somewhere in the hydra interface, this gives you a script that should do it with all the same inputs
<rardiol1> samueldr: yes, I just wanted to have a try at finding a solution because that script will take a few hours to finish downloading everything at this rate
<adisbladis> iqubic: The latest version of discord in master (0.0.3) is already in 17.09. If there is a more recent version available would you mind creating a PR?
<rardiol1> how do I turn on the sandbox/chroot for a single nix-build?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d202e30b8ed (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto closed pull request #31463: [wip] kernel: attempt to rerun unpackPhase if sthg fishy (e.g. buildRoot unset) (master...kernel) https://git.io/vF2vY
NixOS_GitHub has left #nixos [#nixos]
orivej has quit [Ping timeout: 248 seconds]
bfrog has quit [Quit: WeeChat 2.0.1]
aarvar has quit [Ping timeout: 256 seconds]
catch22 has quit [Remote host closed the connection]
orivej has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
nithor has joined #nixos
<cbarrett> does the author of bundix hang out in here? I've got the first steps of what i hope to turn into a bundix-alike for cocoapods
<cbarrett> manveru:
nithor has quit [Ping timeout: 240 seconds]
asuryawanshi has joined #nixos
ma27 has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
nithor has joined #nixos
<infinisil> rardiol1: --option build-use-sandbox true
dywedir has joined #nixos
ma27 has quit [Ping timeout: 276 seconds]
rardiol1 has quit [Quit: Leaving.]
pjan_ has joined #nixos
oida has quit [Ping timeout: 265 seconds]
mrkgnao has quit [Ping timeout: 240 seconds]
vidbina has joined #nixos
mrkgnao has joined #nixos
vidbina has quit [Ping timeout: 248 seconds]
<srhb> Looks like unstable might pass today :o
mrkgnao has quit [Ping timeout: 268 seconds]
<srhb> hm, or not, this looks stuck https://hydra.nixos.org/build/67345651
<dhess> srhb: I gave up and just started building from master :(
mrkgnao has joined #nixos
<dhess> trying to juggle a few patches and the channels are falling too far behind with all this cross stuff going on
<srhb> dhess: Most of the holdup was that gnome test I think
<srhb> Or well, the longest holdup was that.
MercurialAlchemi has joined #nixos
<srhb> I just cherry-pick for great justice :P
<dhess> I was cherry-picking but I'm also trying to fix armv7l (doesn't build at all atm) and make ghc work on both arms
<srhb> Ouch, okay, yeah.
<dhess> so too much was in-flight and it's all going to have to rebuild anyway
<srhb> GHC on arm sounds like fun
asuryawanshi has joined #nixos
<dhess> I had an overlay that worked great, until ghc got bumped to 8.2.2. Now it dies 5h into the build. Every time. :(
<srhb> Will Nix 1.12 expose Nix as a library? hnix appears a little lacking when it comes to evaluation.
<srhb> dhess: 5 hours? Is that the perf build?
<dhess> nope. Just the bootstrap
<srhb> Yikes
<hoverbear> SPeaking of ARm and NixOS.... Is there any reccomended laptop hardware for ARMs with NixOS that is fairly decently powered?
orivej has quit [Ping timeout: 256 seconds]
<srhb> That sounds too good to be true. :-)
FRidh has quit [Quit: Konversation terminated!]
<dhess> hoverbear: probably the ARM Chromebooks are your best bet, though I'm not sure what the story is with r00ting them lately.
FRidh has joined #nixos
<hoverbear> :(
goodwill has quit [Quit: ...]
orivej has joined #nixos
goodwill has joined #nixos
<dhess> hoverbear: sounds like this one runs Crouton at least. https://www.amazon.com/Acer-Chromebook-Convertible-13-3-inch-CB5-312T-K5X4/dp/B01LXYG77O
<Fare> Rooting Chromebooks is easy. Getting NixOS to work properly is something else.
<hoverbear> Hm :(
<Fare> I have NixOS running in a chroot of GalliumOS, but trying to build anything results in its complaining that it can't find some build daemon through some path in /run or something
<Fare> I'm sure with a bit more work it can be done.
<Fare> Not sure GalliumOS works on ARM, though. I have mine on x86_64
asuryawanshi has quit [Remote host closed the connection]
<hoverbear> Hm, my new nvim configuration doesn't seem to be propagating :S
asuryawanshi has joined #nixos
alex`` has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
rogue_koder has quit [Quit: Konversation terminated!]
<srhb> Does anyone recall how to log in with Spotify when it's set with a Facebook login?
<srhb> Urgh, maybe I can just disable that...
fogbugz` has joined #nixos
fogbugz has quit [Remote host closed the connection]
<la_putin> does NIX OS have its own method of executing files?
fogbugz`` has joined #nixos
fogbugz` has quit [Remote host closed the connection]
<srhb> la_putin: Depends what you mean exactly
<srhb> la_putin: For instance, the interpreter isn't where it usually is.
<la_putin> for example, when u type a shell command
<srhb> la_putin: But they're still ELFs
<srhb> It's NixOS, by the way :)
<la_putin> eg [ls]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #33640: pyslurm: bump to unbreak (release-17.09...17.09_pyslurm_fix) https://git.io/vNtwJ
NixOS_GitHub has left #nixos [#nixos]
<la_putin> does it have its own methof of executing the ls command
leat has quit [Quit: WeeChat 1.9.1]
<la_putin> method*
<srhb> la_putin: Not in any way I can think is relevant.
<srhb> la_putin: Why are you asking>
<la_putin> im trying to figure out how to write a file into memory then execute that file from memory
<srhb> Simple, copy it to /run and run it from there :P
<etu> srhb: :D
<la_putin> as far as ik, exec* can only handle physical files
<srhb> I have no idea how to do what you're asking (regardless of OS) sorry. :)
<srhb> I think you might have to reimplement ld, which sounds fun.
<MichaelRaskin> la_putin: exec* handles files accessible via FS interface. /run is a tmpfs, i.e. a RAM-backed FS
<Ralith> depends on the code
<Ralith> you only need a linker if there are symbols to resolve
<Ralith> (LLVM has `RuntimeDyld` if you do in fact need that)
<srhb> Ralith: Doesn't it also deal with interpreting the actual ELF image?
<dpc> What's the best way to create a text file with given text content and then get the path to it?
fogbugz`` has quit [Remote host closed the connection]
<srhb> dpc: writeFile and friends
<dpc> I'd like to use string interpolation to write out a file in Nix, and then point a service to use it. Hopefully all inline.
<srhb> dpc: writeText is especially succinct. writeText "nameoffile" "contents";
<srhb> dpc: The value is the store path.
<dpc> Yes. That's what I want.
<srhb> dpc: :)
<Ralith> srhb: I mean, there's nothing stopping you from `mmap`ing an executable page, copying some instructions into it, and jumping right in
<dpc> Thanks. Will give it a try.
<Ralith> but if you have an ELF file then you need a loader as well as a linker, yes
<Ralith> (probably)
<srhb> Ralith: True! That sounds fun. :-)
<dpc> Any tips on workin on nixos-fu?
* Ralith writes LLVM-based JITs for a living
<srhb> Ralith: I defer to your expertise. I've never done anything like that. :-)
<srhb> dpc: Package things, write modules, have fun! :)
<dpc> I was able to succesfuly deploy something to production with nixops, but I feel that anytime something will break, I'll be stuck.
<dpc> I really need to switch to nixops now ...
<dpc> There is no going back, I guess.
<srhb> dpc: I found it very enlightening to essentially do what nixops does by hand
<Ralith> keep your configs in version control and it should be hard to screw things up unrecoverably, no?
<srhb> dpc: Stringing together nix-copy-closure, nix-env and the switch script.
<srhb> dpc: Made me feel like I can probably recover from most nixops disasters :-)
<Ralith> srhb: don't get me wrong, I mostly punt the problem upstream
<srhb> Ralith: That's the spirit. ;-)
MichaelRaskin has left #nixos [#nixos]
mr_sm1th has quit [Remote host closed the connection]
<Ralith> I know just enough to know that you really don't want to write a general ELF parser yourself >_>
<srhb> I had a feeling...
* Ralith has a friend who spen ta few years doing that and eventually gave up
<srhb> Ow.
matklad has joined #nixos
MP2E has quit [Remote host closed the connection]
<matklad> Hi! I can use `nix-shell --run zsh` and some `defult.nix` to switch to the build environment with pkg-config and libsodium. Is there an easy way to make this work with login shell? There's mainly a single project I am working on, so I'd love to avoid remembering to call nix-shell
<Ralith> in fairnes the giving up was more for career reasons
<srhb> matklad: You mean use nix-shell, but always with zsh?
<dpc> `writeTextFile` ?
<srhb> dpc: writeText has the semantics I described, just two arguments.
<srhb> dpc: writeText is more generic.
<srhb> dpc: Er, writeTextFile is more generic.
<infinisil> matklad: I think you just want to use zsh as your login shell and install your build environment with nix-env
<matklad> srhb: not really, more like putting something to /etc/nixos/configuration.nix, so that I can build my project *without* nix-shell
<srhb> Ah.
<Ralith> matklad: it's easier if you don't `--run zsh`, since the default bash prompt clearly indicates when you're in a shell
<Ralith> alternatively, improve the zsh prompt
<srhb> I don't know why you'd do that. :-)
<srhb> But you'd just install all your development environments globally and hope they don't conflict ever.
<infinisil> matklad: oh, then use configuration.nix instead of nix-env (and zsh as your login shell)
<matklad> I've tried adding libsodium and pkg-config to `environment.systemPackages`, but pkg-config does not find libsodium
<Ralith> infinisil: nix-env does not produce build environments
<infinisil> ahh..
<Ralith> it's missing setup hooks and such
<infinisil> right, hmm
<matklad> Ralith: right, is this why libsodium in environment.systemPackages does not work?
orivej has quit [Ping timeout: 248 seconds]
<Ralith> matklad: yep
<Ralith> gotta use nix-shell
<infinisil> Oh how about this: Use a nix-shell as your login shell?
<Ralith> that would work
<Ralith> honestly just get used to shelling manually, the prompt makes it impossible to screw up :P
<Ralith> having multiple environments is too useful
<infinisil> although it's rather ugly imo
<infinisil> (nix-shell as login shell i mean)
<matklad> Yeah, nix-shell is indeed absolutely great for isolated envrioments. The issue is I mostly need a single environment: I literally `nix-shell` at the start of my day and try to never leave that shell :) However, sometimes I need a second shell, or I need to launch a build from a GUI program, and this requires some more actions =/
<srhb> matklad: Maybe instead you can set your shell up with some dir env hooks that do the actual loading?
<srhb> I realize it's not as pretty, but it may be acceptable
Neo-- has joined #nixos
asuryawanshi has joined #nixos
<matklad> srhb: hm, yeah, I guess I can export `export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:${pkgs.libsodium}/lib/pkgconfig"`, that should work for me...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir closed pull request #33613: linux_testing: 4.15-rc4 -> 4.15-rc7 (master...linux_4_15_rc7) https://git.io/vNLvz
NixOS_GitHub has left #nixos [#nixos]
matklad has quit [Remote host closed the connection]
mrkgnao has quit [Ping timeout: 240 seconds]
matklad has joined #nixos
mrkgnao has joined #nixos
matklad has quit [Remote host closed the connection]
<dpc> Any way for nixops script to know the deployment name? `nixops -d deploy prod` - I'd like to know that `prod`. I want to parametrized my script over it, so I can do `nixops -d deploy staging` etc.
periklis has joined #nixos
Itkovian has joined #nixos
matklad has joined #nixos
zzamboni has joined #nixos
leat has joined #nixos
<matklad> yep, manually specifying pkg_config_path did the trick: https://github.com/matklad/config/blob/master/nix/configuration.nix#L174. Thanks everyone! :)
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nixos
ssmike has quit [Ping timeout: 256 seconds]
flox has joined #nixos
<flox> hi guys, quick question: when dealing with python packages, is there any way to "wrap the wrapper" in an override for a package? Python packages are normally already wrapped by buildPythonPackage but I need to add additional stuff
<srhb> flox: Maybe you can override buildPythonPackage?
matklad has left #nixos [#nixos]
dpren has quit [Quit: Connection closed for inactivity]
orivej has joined #nixos
bordel has quit [Quit: #lobsters-advent]
<fearlessKim[m]> dpc: you can see the deployement names via "nixops list", can't you ?
<dpc> fearlessKim: but I want to use this in my nix expression
asuryawanshi has quit [Remote host closed the connection]
ixxie has joined #nixos
<fearlessKim[m]> so nix-shell doesn't install manpages ? or is it that gcc doesn't have a manpage :'( ? (man gcc fails)
lezed1 has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fearlessKim[m]> dpc: not sure I get what you want ? you want a script to deploy every deployment ?
<dpc> If my deployment is named `testing` it should write some config files with `testing` name in it.
zzamboni has quit [Quit: Leaving.]
<dpc> BTW. I already have deployment with db, holding some stuff. How do I redo the config, change "machine name" etc. without loosing that db (basically - how to make sure I keep reusing that existing VM)?
Itkovian has joined #nixos
Tucky has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<srhb> I think your best bet is to manipulate the database. Very carefully. You can dump the state (to json, I think?) and reimport it
<srhb> Remember to back up things.
<fearlessKim[m]> sqlitemanager is good for that
<dpc> Manipulate the db? Oh my. Is this only about the machine name or if I leave the machine name, everything will be fine?
<dhess> is cache.nixos.org down?
<dpc> Basically I did `nixops create -d prod do.nix` at some point, and I wonder if I can ever use a file other than `do.nix`
<srhb> dhess: Not in my region at least.
<dhess> cool thanks
<dhess> working now
asuryawanshi has joined #nixos
<srhb> has anyone done non-trivial evaluations with hnix? Eg passing pkgs as argument and so on
<srhb> I'm not sure if it's even supposed to be in a state where that's possible
<srhb> nix-instantiate is a poor interface. :-)
reinzelmann has joined #nixos
hotfuzz_ is now known as hotfuzz
<dhess> srhb: johnw was around earlier, he's the author :)
<dhess> srhb: also I think that iohk-ops uses it?
asuryawanshi has quit [Ping timeout: 246 seconds]
<johnw> hi
<srhb> hi!
<johnw> there are people who use hnix all the time, maybe ask by opening an issue?
<dhess> I guess it's not iohk-ops... who was it
<srhb> Sure, I can do that.
<srhb> dhess: Either awake or iohk I guess
<vaibhavsagar> I was under the impression that hnix can't be used as a nix-instantiate replacement just yet
tusj has quit [Remote host closed the connection]
<vaibhavsagar> and that it's more a parser
<dhess> srhb: maybe it was dhall-nix
<srhb> dhess: Yeah, dhall-nix uses it :)
<srhb> dhess: I think that's a product of Gabriel being at Awake.
<dhess> sure
<johnw> vaibhavsagar: it does have an evaulator
<vaibhavsagar> yes, I noticed that, but it looks like only simple expressions?
mrkgnao has quit [Ping timeout: 240 seconds]
mrkgnao has joined #nixos
<johnw> I haven't looked in a while
civodul has joined #nixos
zzamboni has quit [Quit: Leaving.]
<vaibhavsagar> as compared to something that would take a .nix file and evaluate it to a .drv
<vaibhavsagar> not that hnix isn't cool and useful as it is :)
<johnw> contributors most welcome :)
<johnw> i give push rights fairly easy
<vaibhavsagar> I've contributed a few small things :)
<vaibhavsagar> in fact the most recent one
nschoe has joined #nixos
ilyaigpetrov has joined #nixos
zzamboni has joined #nixos
jensens has joined #nixos
zzamboni has quit [Ping timeout: 240 seconds]
<manveru> cbarrett: yo
<dpc> Any way to import a map directly into another map (merge them) ?
<vaibhavsagar> dpc: //
<vaibhavsagar> merge: a: b: a // b
jtojnar has quit [Read error: Connection reset by peer]
<vaibhavsagar> (I think)
<dpc> vaibhavsagar: ?
<manveru> dpc: you can change the path to do.nix in your nixops state db
<pauldub> It's so nice to see that nixos weekly is back! kudos!
<vaibhavsagar> dpc: I thought you were asking about merging attribute sets
<dpc> I can't figure out how to pass arguments to `imports = [ ./foo.nix ]` that nixops seem to use
<dpc> So I want just directly import stuff from `./foo.nix` and pass arguments myself.
<dpc> vaibhavsagar: So I would do `{ ... my old stuff } // import foo.nix` ?
<vaibhavsagar> I think you could do that, yes
<dpc> `{ ... my old stuff } // import ./foo.nix { argx = 1 }` etc.
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<johnw> vaibhavsagar: then thank you!
<vaibhavsagar> :)
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
sigmundv__ has joined #nixos
zzamboni has quit [Client Quit]
klntsky has quit [Ping timeout: 272 seconds]
ertes-w has joined #nixos
zzamboni has joined #nixos
nico202 has joined #nixos
jtojnar has joined #nixos
<nico202> hi, how was the link to check how old a nixpkgs channel is? I keep forgetting about it
asuryawanshi has joined #nixos
<nico202> srhb: that's it, thanks!
<srhb> Looks like someone may be restarting https://hydra.nixos.org/build/67345651, so an unstable update is still a possibility today :o
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
Fare has quit [Quit: Leaving]
velovix has quit [Remote host closed the connection]
<manveru> nico202: also https://channels.nix.gsc.io/graph.html is fun :)
<nico202> srhb: yes I've been waiting for an unstable update for days
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<makefu> nico202: there is also
<makefu> !stuck
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pauldub> Why does nixos-17.09-small get updated much more often than nixos-17.09? I'm not sure I understand the difference between the two of them.
<nico202> manveru: Nice! herokuapp is more clear but this makes it clear that nixos-unstable is recently been updated... once a week in the last month
<vaibhavsagar> pauldub: AFAIK nixos-17.09-small is nixos-17.09 without the binary cache
orivej has quit [Ping timeout: 252 seconds]
cfricke has joined #nixos
Itkovian has joined #nixos
a6a3uh has joined #nixos
<makefu> pauldub: not really, -small only builds and tests a smaller set of packages, not all tests need to run through for this channel to be releases
dan_b has joined #nixos
alex`` has quit [Ping timeout: 265 seconds]
<pauldub> Which explains why it is released more frequently, thanks!
<makefu> exactly
asuryawanshi has joined #nixos
<cbarrett> manveru: I've been working on discovering the requirements for this. I think it's going to be a fun project.
goibhniu has joined #nixos
<manveru> can't say i know anything about cocoapods... it's some xcode library thing?
a6a3uh has quit [Quit: Bye]
<vaibhavsagar> manveru: that's pretty much it, it's an Objective-C package manager
<vaibhavsagar> there's a fun story about how they brought GitHub to its knees because they refused to organise their repo sensibly
<vaibhavsagar> I'm not sure how that was addressed in the end but the repo structure seems unchanged
<hoverbear> ooo
<flokli> Aarch64, and they're aiming to support 'debian'
<hoverbear> Hey wow that does look quite nice
<manveru> vaibhavsagar: i think there was an issue with shallow clones as they used it?
periklis has quit [Ping timeout: 240 seconds]
<manveru> it's been a while since i heard about this thing, but GH basically said that shallow clones are quite expensive to pull
<vaibhavsagar> manveru: their tree is very flat, so even a small change creates a ton of new objects
i-am-the-slime has joined #nixos
<vaibhavsagar> AIUI anyway
<dhess> isn't GitHub really slow showing the contents of directories with a large number of entries?
<dpc> It's so bloody hard to figure out what is calling what in Nix ...
<dhess> in the web interface, I mean
<vaibhavsagar> yeah
<vaibhavsagar> but I think nixpkgs has more nesting than Specs
<vaibhavsagar> and we don't rely on GitHub for all our fetching
<dhess> so if Cocoapods was putting all their podspecs in one directory and every iOS developer was viewing the Cocoapods repo several times a day or whatever...
<dhess> wham
<vaibhavsagar> I was wrong, it looks a lot better now: https://github.com/CocoaPods/Specs/tree/master/Specs
<dpc> How do I convert `set` to `string`? I just want to dump something through trace ...
<dpc> That's the only way to discover what is actually going on here ...
<bennofs[m]> dpc: builtins.trace set ... should work even without converting to string?
<bennofs[m]> alternatively, you could use builtins.toJSON
<dpc> Hmmm... Oh, the evaluation of the set fails.
Turion has joined #nixos
<dpc> Any way to get the list of keys?
<bennofs[m]> builtins.attrNames set
<dpc> God damn it. Is there any way to paramterize a machine defintion in NixOps? :D
<dpc> Benno Fünfstück: It works.I just discovered that `config` does not contain what I hoped it will.
knupfer has joined #nixos
hamishmack has quit [Quit: hamishmack]
<aminechikhaoui> dpc: yeah, the config can be wrapped in a function
orivej has joined #nixos
<dpc> I think I did it!
<dpc> Thank you everyone. :)
Myrl-saki has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
FRidh has quit [Quit: Konversation terminated!]
ckauhaus1 has quit [Quit: Leaving.]
ckauhaus has joined #nixos
asuryawanshi has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
thc202 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vNtM9
<NixOS_GitHub> nixpkgs/master 3ffb413 Cray Elliott: discord: 0.0.3 -> 0.0.4
NixOS_GitHub has left #nixos [#nixos]
cfricke has quit [Quit: WeeChat 2.0]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dhess opened pull request #33641: Revert "gcc, binutils: Get rid of 32-bit ARM configure flag exception" (master...gcc-armv7l-fix) https://git.io/vNtMp
NixOS_GitHub has left #nixos [#nixos]
fyuuri has joined #nixos
atrx has quit [Read error: Connection reset by peer]
Lisanna_ has quit [Quit: Textual IRC Client: www.textualapp.com]
mrkgnao has quit [Ping timeout: 240 seconds]
<dhess> anybody running Docker for Mac via nixpkgs?
mrkgnao has joined #nixos
<vaibhavsagar> dhess: what fresh horror is this
orivej has joined #nixos
<dhess> vaibhavsagar: heheh
ma27 has joined #nixos
ma27 has quit [Client Quit]
ma27 has joined #nixos
<dhess> I mean installing the runtime (Hyperkit or whatever they're calling it) with nix, rather than downloading the .dmg and installing from that
<dhess> in case that wasn't clear
pkx2 has joined #nixos
FRidh has joined #nixos
Myrl-saki has quit [Read error: Connection reset by peer]
<LnL> no but somebody made a rebuild builder thing with hyperkit
<dhess> LnL: ahh that's all I wanted it for anyway :) Any idea why that hasn't been merged?
<dhess> LnL: running nix-darwin now on all of my Macs, whoot!
<LnL> I commented on the pr, couldn't get it to build properly
pie__ has quit [Remote host closed the connection]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/3ff874c06af (from 2 days ago, history: https://channels.nix.gsc.io/nixos-17.09)
pie__ has joined #nixos
nix-gsc-io`bot has quit [Client Quit]
pkx2 has quit [Remote host closed the connection]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
pmeunier_ has quit [Ping timeout: 256 seconds]
<dhess> LnL: hmm a bit too hacky for me. I think I'll wait until it's merged.
<dhess> LnL: is your nix-docker stuff still working with nix-darwin?
orivej has quit [Ping timeout: 248 seconds]
qknight has joined #nixos
<LnL> yes, but you’ll need to configure it slightly differently when using the daemon
laumann_ is now known as laumann
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qknight> hey! i've installed 'nix-env -i arandr -p paul' into the paul profile but how to activate it again, couldn't find it in the 'nix-env manpage' or help
coot has joined #nixos
<LnL> ./paul/bin/hello
arianvp2 has joined #nixos
a6a3uh has joined #nixos
<qknight> LnL: thanks!
<joko> Hello, a job in my Hydra server has status "Scheduled to be built", but Hydra does nothing. Any way to debug this?
<dhess> joko: how long has it been like that?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #33637: stdenv: Kill off ensureDir (staging...ensureDir) https://git.io/vNtR3
NixOS_GitHub has left #nixos [#nixos]
<joko> "journalctl -f -u hydra-queue-runner" shows '"nrUnfinishedSteps":6,"nrRunnableSteps":1', any way something is wrong? I remember LibreOffice needs something special
<joko> dhess: more than a day
<LnL> what kind of build is it?
<joko> LnL: a NixOS system
<joko> packages for a NixOS system *
<LnL> well yes...
a6a3uh has quit [Ping timeout: 248 seconds]
<dhess> joko: oh. :( so it's not just slowness due to useSubstitutes
<joko> Maybe it's a missing supportedFeature? How to check this?
<LnL> yeah I suspect that's it
<LnL> look for requiredSystemFeatures in the drv
<LnL> oh, pkgs/applications/office/libreoffice/default.nix # requiredSystemFeatures = [ "big-parallel" ];
i-am-the-slime has quit [Ping timeout: 260 seconds]
<joko> LnL: I'm not building LibreOffice, I've just mentioned it as an example
<LnL> ah, misread that
<joko> No worries... The derivation file doesn't mention anything about requiredSystemFeatures
JosW has joined #nixos
orivej has joined #nixos
coot has quit [Ping timeout: 268 seconds]
coot_ has joined #nixos
arianvp2 has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teozkr opened pull request #33642: Added JDK dependency to libguestfs (master...libguestfs-java) https://git.io/vNtQf
NixOS_GitHub has left #nixos [#nixos]
Itkovian has quit [Ping timeout: 256 seconds]
Itkovian_ has joined #nixos
ssmike has joined #nixos
blym has joined #nixos
<dhess> joko: I assume you've tried to bump the job(s)?
zzamboni has quit [Quit: Leaving.]
<dhess> sometimes if I've built the inputs already (via nix-build but using the same remote builders/binary cache as the Hydra uses), the jobs get stuck until I bump them, and then they instantly change to "successfully built"
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<taohansen> are periods in interpolated strings ${foo.bar} translated as relative paths?
<taohansen> so foo/bar?
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
Turion has quit [Remote host closed the connection]
simukis has joined #nixos
Neo-- has quit [Ping timeout: 248 seconds]
<dhess> LnL: the tests in nix-darwin, I assume those run on the builder? There's no special virtual machine thing going on here, right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cillianderoiste pushed 2 new commits to master: https://git.io/vNt78
<NixOS_GitHub> nixpkgs/master 880c9a2 Christian Kauhaus: symlinks: 1.4 -> 1.4.3...
<NixOS_GitHub> nixpkgs/master 5057675 goibhniu: Merge pull request #33611 from ckauhaus/submit/symlinks-1.4.3...
NixOS_GitHub has left #nixos [#nixos]
<srhb> taohansen: foo is an attributeSet, bar is the attribute you're interpolating
<LnL> dhess: no, don't have any full integration tests
<joko> dhess: I've just tried it, no luck :(
<srhb> taohansen: (ie. foo = { bar = "value that will get interpolated"; })
<dhess> joko: any other jobs running at the moment?
zzamboni has quit [Client Quit]
<joko> dhess: none
zzamboni has joined #nixos
<dhess> joko: try `systemctl restart hydra-queue-runner.service` ?
ThatDocsLady has joined #nixos
<joko> dhess: I do so all the time, no change unfortunately
<dhess> joko: do you just have the one remote builder for this particular job?
<joko> dhess: I have just one, the local one
<dhess> joko: ohh is the Hydra also the builder?
<taohansen> srhb: i understand this partially. if foo imports a derivation that creates a node.js package, does bar then begin in the directory of that package?
<taohansen> it's 3am, i think my brain is giving up
zzamboni has quit [Ping timeout: 260 seconds]
<dhess> ugh yeah, 3am
<srhb> taohansen: I think we're better off talking about a concrete example here, because I'm not sure I understand your question exactly. :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AmineChikhaoui opened pull request #33643: pcstat: init at (shortRev 91a7346) (master...pcstat) https://git.io/vNt7F
NixOS_GitHub has left #nixos [#nixos]
<srhb> taohansen: If foo = import SOMETHING, then in ${foo.bar}, bar is the bar attribute of SOMETHING.
zzamboni has joined #nixos
<taohansen> srhb: okay, so i have this typescript app i'm trying to deploy. i've defined a systemd service to run it.
i-am-the-slime has joined #nixos
<srhb> taohansen: Yeah, that's fairly typical. :)
<taohansen> i need to make that typescript app available to systemd so i import its definition
<srhb> Right.
<srhb> You'll see "${pkgs.myPackage}/bin/executable" in a lot of NixOS modules
<taohansen> let sister = import ./default.nix {pkgs=pkgs}; in "${nodejs}/bin/node ${sister.src}/index.ts";
<dhess> joko: well anyway, if you Hydra is also the builder, that can be tricky, apparently. I was doing that originally and clever said there were cases where it could deadlock. I saw enough suspicious behavior that I eventually dumped that and put Hydra on a separate host than the builder.
<taohansen> two things i don't understand here
<srhb> taohansen: You're probably misunderstanding src here.
<srhb> Well, maybe.
<srhb> Go on :)
<taohansen> 1. what is {pkgs=pkgs} doing here?
<dhess> joko: clever pointed out at least one place where there was some special-case code for "localhost" so if you want the Hydra to be a builder, you should probably call it "localhost" in your nix.buildMachines configuration
<srhb> taohansen: It's passing the pkgs argument to the function you're importing, with the value of pkgs
<taohansen> 2. i basically have no idea how this let expression interacts with the path in in
<srhb> taohansen: (it would be clearer as import ./default.nix { inherit pkgs };
<srhb> taohansen: So, let's assume that default.nix produces a package that has a path foo
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ckauhaus opened pull request #33644: Update my e-mail address (master...update-mailaddr) https://git.io/vNt5m
NixOS_GitHub has left #nixos [#nixos]
<srhb> taohansen: Then, "${sister}/foo" is that path
zzamboni has quit [Ping timeout: 265 seconds]
<taohansen> srhb: i think that is most likely
<srhb> taohansen: Try building that package by hand
<srhb> taohansen: ie nix-build -E 'let pkgs = import <nixpgks> {} in import ./default.nix { inherit pkgs };'
<srhb> taohansen: You should get a store path back
<srhb> You can not inspect the file structure in it :)
zzamboni has joined #nixos
<srhb> now*
<srhb> er, and nixpkgs, not nixpgks
<ghuntley> howdy folks in the middle of contributing a PR to add more DSL coverage. How does one do type conversion from bool -> true|false aka string?
asuryawanshi has quit [Remote host closed the connection]
<ghuntley> This is what is blowing up -> --replace "#require_credentials=true" "require_credentials=${cfg.requireCredentials}"
__Sander__ has joined #nixos
asuryawanshi has joined #nixos
zzamboni has quit [Remote host closed the connection]
i-am-the-slime has quit [Ping timeout: 265 seconds]
<taohansen> srhb: syntax error, unexpected IN
zzamboni has joined #nixos
<taohansen> oh man the Matrix servers are really having trouble tonight. messages take forever to send
<taohansen> apologies for the delays
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 18cf038 Christian Kauhaus: Update my e-mail address...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNtd0
zzamboni has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33644: Update my e-mail address (master...update-mailaddr) https://git.io/vNt5m
zzamboni has joined #nixos
<michaelpj> nix-repl> builtins.toString true ("1")
<michaelpj> ugh
ma27 has quit [Ping timeout: 248 seconds]
<ghuntley> thx michaelpj
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33638: linux_testing: 4.15-rc4 -> 4.15-rc7 (master...linux-testing-upgrade) https://git.io/vNtRz
NixOS_GitHub has left #nixos [#nixos]
<michaelpj> the point is that I don't think that will do what you want, since for some inexplicable reason it prints true as 1 and false as 0
<joko> dhess: I have indeed Hydra as a remote host with hostName "localhost"
<michaelpj> ghuntley: I see a depressing amount of `${if x then "true" else "false"}` in nixpkgs :(
<dhess> joko: what does `systemctl status nix-daemon.service` say?
zzamboni has quit [Ping timeout: 240 seconds]
<ghuntley> funny enough for xrdp 0 and 1 is valid input for this setting, as is "yes|no" and "true|false".
<ghuntley> ah yeah I've noticed similar patterns - still 48 hours new in the codebase.
<joko> dhess: It's active (running)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/vNtFY
<NixOS_GitHub> nixpkgs/master 792d48b Sander van der Burg: titaniumenv: fix path to IPA build product
NixOS_GitHub has left #nixos [#nixos]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/vNtFn
<NixOS_GitHub> nixpkgs/release-17.09 cc78f9a Sander van der Burg: titaniumenv: fix path to IPA build product...
NixOS_GitHub has left #nixos [#nixos]
<taohansen> srhb: i'm calling it quits for tonight. too tired. i can look more thoroughly over your notes tomorrow . thanks for taking the time and the kindness
<dhess> joko: sure but is it full of active jobs or does it look like this? https://gist.github.com/dhess/9cb0d671cb73f60dfdb947380bc8242c
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
dupndrop_ has quit [Ping timeout: 256 seconds]
vidbina has joined #nixos
<joko> dhess: I'd say the latter - exactly 11 tasks here, too
<ghuntley> le sigh:
<ghuntley> nix-repl> builtins.toString true -> "1"
<ghuntley> nix-repl> builtins.toString false -> ""
<michaelpj> oh that's awful
<dhess> joko: well unfortunately I'm out of ideas. It could be that you've run into one of these corner cases. When this happens to me (it has happened maybe once or twice in the last week I've been running my Hydra), I usually resort to a reboot and that will un-stick the jobs. Not a great solution but I don't know enough about Hydra internals to debug any better than that at this point. :(
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<srhb> taohansen: Catch you later :)
<srhb> taohansen: (Sorry, i also got called away)
<ocharles> Does anyone have a magic trick for writing default.nix expressions in projects, such that builds can be done that also share Hydra's builds? The problem I'm having is that somewhere I have `src = ./.`, which means that the final .drv's output is actually dependent on the name of the current directory
taktoa has joined #nixos
<ocharles> In Hydra, I have a Git input, which will be added to the store as /nix/store/<hash>-git-export. If on another machine I just clone the git repository and cd into it, the output build will be different, because I'm not building from that exact path in the Nix store
<ocharles> I wonder if I can do some import-from-derivation magic to kind of bootstrap from a source repository, and then switch into a predictable environment that would share Hydra's result
dan_b has quit [Ping timeout: 240 seconds]
Ivanych has quit [Ping timeout: 268 seconds]
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nixos
zzamboni has quit [Quit: Leaving.]
Ivanych has joined #nixos
zzamboni has joined #nixos
ssmike has quit [Quit: ssmike]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #33645: flashplayer: 28.0.0.126 -> 28.0.0.137 (master...flashplayer-28.0.0.137) https://git.io/vNtN3
NixOS_GitHub has left #nixos [#nixos]
ssmike has joined #nixos
jluttine has quit [Quit: WeeChat 1.9.1]
<dhess> LnL: ugh, *still* can't get remote builds to work from macOS to an x86_64-linux, even with nix-darwin installed and nix.buildMachines configured
<dhess> what on earth am I doing wrong. I've like completely changed my Nix setup since the last time I had trouble with this, still can't get it to work
<dhess> so frustrating
fyuuri has quit [Ping timeout: 260 seconds]
<domenkozar> ocharles: best workaround is to use subfolder
<domenkozar> ocharles: I never use ./. because of that
<ocharles> I thought you might say that :(
<domenkozar> as per my nixconf talk
<domenkozar> ./. is borked
<ocharles> fortunately we're moving to a mono-repo so at least having a top level folder won't be a problem then
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<ocharles> got info on that talk? I don't think I saw it
<joko> dhess: that's ok, thanks for your help nonetheless :D
<domenkozar> ocharles: yeah noone mentions my talk dissing nix :)
<ocharles> haha
<Taneb> Trying «nix-shell -p "python.withPackages (p: [p.tensorflow])"» doesn't work for me and I don't understand the error
<Taneb> "ERROR: /tmp/nix-build-python2.7-tensorflow-1.3.1.drv-0/source/tensorflow/tools/pip_package/BUILD:100:1: no such package '@org_python_pypi_backports_weakref//': BUILD file not found on package path and referenced by '//tensorflow/tools/pip_package:licenses'.
<ocharles> ta, will give it a watch
<Taneb> "
c0c0n3 has joined #nixos
<c0c0n3> hello, does anyone know how to set up PHP + xdebug?
<c0c0n3> when reading about this issue: https://github.com/NixOS/nixpkgs/issues/24432
<c0c0n3> is that the recommended way to set it up?
pjan_ has joined #nixos
rardiol1 has joined #nixos
<joko> dhess: I think I've found it! I had to declare the big-parallel feature in my updated services.hydra.buildMachineFiles file... I had also stumbled on the deadlock issue and after clever's suggestion I was using a file for Hydra other than /etc/nix/machines
knupfer has quit [Ping timeout: 276 seconds]
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<dhess> oh nice
vidbina has quit [Ping timeout: 268 seconds]
jluttine has joined #nixos
<dhess> wahey got remote builds working!
randomstrangerb has quit [Ping timeout: 248 seconds]
<dhess> ok that is definitely a sign it's time for sleep
lonokhov has joined #nixos
randomstrangerb has joined #nixos
<gchristensen> time? way past time if you're where I think you are :P
<dhess> you are correct, sir
<pjan_> I'm getting tons of these: `download-from-binary-cache.pl: could not download ‘https://cache.nixos.org/v3ghkxnhhw606rdj0l4052502mbx6mk5.narinfo’ (Curl error 77)` after installing nix from scratch. No idea on how to solve this. Anybody any pointers?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #33641: Revert "gcc, binutils: Get rid of 32-bit ARM configure flag exception" (master...gcc-armv7l-fix) https://git.io/vNtMp
NixOS_GitHub has left #nixos [#nixos]
<makefu> pjan_: just retry, sometimes s3 is a bit flaky. or if you are using a proxy you will have to set this beforehand
<pjan_> no proxy. It's been like this for the past 3 hours :-/
<gchristensen> 77 is it can't read / findn the ssl CA certs
<pjan_> how can this be solved? (beyond `export SSL_CERT_FILE=$NIX_SSL_CERT_FILE`, because that doesn't solve it atm)
patrl has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/vNtpm
<NixOS_GitHub> nixpkgs/master a18da9b Sander van der Burg: titaniumenv: add hack to reduce keychain blocking problems
NixOS_GitHub has left #nixos [#nixos]
pSub has quit [Ping timeout: 264 seconds]
xcmw has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/vNtpZ
<NixOS_GitHub> nixpkgs/release-17.09 041a04b Sander van der Burg: titaniumenv: add hack to reduce keychain blocking problems...
NixOS_GitHub has left #nixos [#nixos]
<makefu> pjan_: can you try to curl the url?
i-am-the-slime has joined #nixos
<pjan_> makefu that works. It doesn't work when I do anything nix-env though
<gchristensen> how did you install "from scratch"?
<pjan_> removed all traces of a previous install, started over with the bootstrap script
<gchristensen> like curl https://nixos.org/nix/install | bash ?
<pjan_> yep
<gchristensen> what is your host system?
<pjan_> osx/darwin
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
jtojnar has quit [Ping timeout: 264 seconds]
joko has quit [Quit: leaving]
<gchristensen> pjan_: run `sudo su -` then `nix-env -q`
<pjan_> nix-1.11.16
<pjan_> nss-cacert-3.32.1
joko has joined #nixos
patrl has quit [Quit: WeeChat 1.9.1]
<pjan_> but as root, it is downloading stuff
<gchristensen> hrm
<gchristensen> env | grep NIX_
<pjan_> NIX_PROFILES=/nix/var/nix/profiles/default /Users/pjan/.nix-profile
<pjan_> NIX_REMOTE=daemon
<pjan_> NIX_PATH=/nix/var/nix/profiles/per-user/root/channels
<pjan_> NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
<pjan_> NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/pjan
<pjan_> (next I'll put this in a gist; apologies)
<gchristensen> and /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt exists?
<LnL> dhess: did you configure known_hosts for root?
<pjan_> yep
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
* gchristensen is running out of ideas :/
pSub has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/cc78f9ab25e (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
<LnL> pjan_: what about SSL_CERT_FILE, I think that might have priority
<pjan_> I set that to be the same as the NIX_SSL_CERT_FILE
<LnL> have you tried to test with curl from nixpkgs?
<LnL> wait
<LnL> it works with root?
pjan__ has joined #nixos
coot has joined #nixos
Neo-- has joined #nixos
coot_ has quit [Ping timeout: 248 seconds]
pjan__ has quit [Client Quit]
pjan_ has quit [Ping timeout: 255 seconds]
randomstrangerb has quit [Ping timeout: 248 seconds]
randomstrangerb has joined #nixos
<LnL> what happens when you run NIX_REMOTE=daemon nix-build ... as root
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/041a04b5755 (from 30 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
coot has quit [Quit: coot]
jekor has joined #nixos
<jekor> Is there a hook for when nix-shell (non-interactive) exits? I have some preBuild commands I'd like to clean up after.
tpanum has joined #nixos
lezed1 has quit [Quit: Connection closed for inactivity]
<LnL> no, but trapping signals in the shellHook might work
zzamboni has quit [Ping timeout: 256 seconds]
tpanum has quit [Remote host closed the connection]
c0c0n3 has quit [Quit: Page closed]
iyzsong has joined #nixos
mizu_no_oto has joined #nixos
mizu_no_oto has quit [Client Quit]
aloiscochard has quit [Quit: Connection closed for inactivity]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #33580: binutils: support custom ld (master...feature/binutils-custom-ld) https://git.io/vNkhg
NixOS_GitHub has left #nixos [#nixos]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jekor> It does indeed seem to work (from preBuild).
mrkgnao has quit [Ping timeout: 265 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dtzWill opened pull request #1786: release: appease checkMeta by using string for schedulingPriority (master...fix/schedprio-checkmeta) https://git.io/vNqvH
NixOS_GitHub has left #nixos [#nixos]
vidbina has joined #nixos
i-am-the-slime has quit [Ping timeout: 246 seconds]
kim0 has joined #nixos
<kim0> folks, I'm new and slightly confused. I'm on the -unstable channel. I see pkg "electrum" version 3.0.5 is merged on github, but nix-env is still only see'ing 3.0.3 ... Why am I seeing this delay ?
<kim0> so I guess nixpkgs-unstable is 4 days old ... which explains what I'm seeing
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dtzWill closed pull request #1786: release: appease checkMeta by using string for schedulingPriority (master...fix/schedprio-checkmeta) https://git.io/vNqvH
NixOS_GitHub has left #nixos [#nixos]
<kim0> When does it get refreshed
<srhb> kim0: Read the top dropdowns :)
<srhb> kim0: Short answer: When the tests for the channel (rightmost column) pass :)
<kim0> Thanks! .. I'm trying to get the latest version to fix a security vulnerability
<kim0> anyway I can pull that pkgs alone .. latest
<srhb> kim0: Yeah. :)
<gchristensen> kim0: are you on nixpkgs or nixos unstable
simukis_ has joined #nixos
<kim0> pkgs
<srhb> Oh
<kim0> not that brave yet hhh
<gchristensen> (I don't like that there are two -unstables!) kim0 so you're not using NixOS?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33649: schedulingPriority should be an int, fix check-meta type and in-tree use (master...fix/schedprio-int) https://git.io/vNqf1
NixOS_GitHub has left #nixos [#nixos]
<kim0> no Ubuntu
<srhb> Sorry, wasn't paying attention to that :)
<gchristensen> ok cool
<kim0> so basically I have to wait ?
oida has joined #nixos
<gchristensen> yeah
simukis has quit [Ping timeout: 256 seconds]
simukis_ is now known as simukis
<kim0> Okie
alex`` has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #33649: schedulingPriority should be an int, fix check-meta type and in-tree use (master...fix/schedprio-int) https://git.io/vNqf1
NixOS_GitHub has left #nixos [#nixos]
civodul has joined #nixos
i-am-the-slime has joined #nixos
excape has joined #nixos
<excape> has anyone had trouble with charging over usb on nixos? When i connect a phone to my T450s, it stops charging after about 2 seconds (dmesg shows that it recognizes the phone)
ixxie has joined #nixos
randomstrangerb has quit [Ping timeout: 248 seconds]
<LnL> hmm, nixpkgs-unstable still didn't update?
randomstrangerb has joined #nixos
<hodapp> excape: using a T410 I've had no trouble here I can think of
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/041a04b5755 (from 75 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
<etu> !stuck
<etu> LnL: Nope
<LnL> yeah, seems like there's one build still queued that got stuck
<magnap> LnL: https://hydra.nixos.org/build/67346789, right? Wonder what's up with it
<LnL> somebody is looking at it now :)
szicari has joined #nixos
mrkgnao has joined #nixos
swayf has joined #nixos
<excape> hodapp: thanks. any idea how i could debug that? i see no error in the logs (journalctl)
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3ffb4137d92 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [Client Quit]
reinhardt has joined #nixos
<gchristensen> w00t
reinzelmann has quit [Ping timeout: 255 seconds]
alexteves_ has joined #nixos
<makefu> wooo
ma27 has joined #nixos
aarvar has joined #nixos
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 7c5430c Robin Gloster: Revert "rust: store the cargo-vendor config"...
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vNqk8
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/aff2de49095 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
<hodapp> excape: I dunno. Every other time I've had usb issues there's been something in dmesg explaining why (for instance) a port was shut off
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNqkw
<NixOS_GitHub> nixpkgs/master 5849d92 adisbladis: firefox-beta-bin: 58.0b14 -> 58.0b15
<NixOS_GitHub> nixpkgs/master c23b036 adisbladis: firefox-devedition-bin: 58.0b14 -> 58.0b15
NixOS_GitHub has left #nixos [#nixos]
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 f6a0897 adisbladis: firefox-beta-bin: 58.0b14 -> 58.0b15...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to release-17.09: https://git.io/vNqkp
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 39fe8d6 adisbladis: firefox-devedition-bin: 58.0b14 -> 58.0b15...
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/d202e30b8ed (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [Client Quit]
klntsky has joined #nixos
alexteves_ has quit [Quit: Leaving]
alexteves_ has joined #nixos
xcmw has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
<ckauhaus> NixOS on Github used to have a mentionbot which was tagging new PR with potential reviewers
<ckauhaus> not it's not there
<ckauhaus> has it been deliberately removed or did it break?
orivej has joined #nixos
<fpletz> ckauhaus: not sure what happened to it but github has this functionality now (it suggests reviewers but doesn't force to tag them)
alex`` has quit [Ping timeout: 246 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #33642: Added JDK dependency to libguestfs (master...libguestfs-java) https://git.io/vNtQf
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has quit [Ping timeout: 248 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nixos
swayf is now known as swayf_away
xcmw has quit [Read error: Connection reset by peer]
hiroshi has quit [Ping timeout: 256 seconds]
Yaniel has left #nixos ["Kicked by @appservice-irc:matrix.org : issued !quit command"]
sirkha has quit [Remote host closed the connection]
sirkha has joined #nixos
nschoe has quit [Ping timeout: 240 seconds]
<joko> Is it possible to refer to input arguments inside <pkg>.overrideAttrs?
<catern> Hey #nixos, I see that Hydra is building a Nix debian package for Debian 8, and it used to build one for Debian 7
<catern> How would I build a Debian 7 package locally for myself? I need one :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33650: whois: use idn, libiconv; update (master...feature/whois-idn-and-update) https://git.io/vNqmu
NixOS_GitHub has left #nixos [#nixos]
bfrog_ has joined #nixos
reinhardt has quit [Quit: Leaving]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/33a4de2941d (from 23 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [Client Quit]
<etu> oh, woo. nixos-unstable is updated!
<gchristensen> !!!
<ckauhaus> fpletz: just wondering that my two last PRs didn't get any auto-mentions
klntsky has quit [Ping timeout: 272 seconds]
nschoe has joined #nixos
klntsky has joined #nixos
bfrog_ has quit [Ping timeout: 255 seconds]
xcmw has joined #nixos
user__ has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
bfrog_ has joined #nixos
adc has quit [Quit: WeeChat 1.6]
cement has joined #nixos
<adisbladis> etu: !!! \o/
<FRidh> catern: checkout nix repo, and inside repo run e.g. `nix-build -A deb_debian8x86_64 release.nix`. Note this attribute may be commented out.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vNq3N
<NixOS_GitHub> nixpkgs/master e114a5c Tim Steinbach: sbt: 1.0.4 -> 1.1.0
NixOS_GitHub has left #nixos [#nixos]
<catern> FRidh: that's Debian 8, not Debian 7
MercurialAlchemi has quit [Ping timeout: 240 seconds]
<catern> I'm also curious what the Nix Debian package even does?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master fcc48cc Tim Steinbach: atom: 1.23.1 -> 1.23.2
<NixOS_GitHub> nixpkgs/master f90ddfe Tim Steinbach: atom-beta: 1.24.0-beta1 -> 1.24.0-beta2
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vNqsA
NixOS_GitHub has left #nixos [#nixos]
<catern> Does it just drop Nix into /nix/store?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dtzWill opened pull request #1787: fix git cache 'corruption' when git not available, breaks all future use of fetchGit (master...fix/git-not-on-PATH) https://git.io/vNqGJ
NixOS_GitHub has left #nixos [#nixos]
erasmas has joined #nixos
iqubic has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vNqGy
<NixOS_GitHub> nixpkgs/master dd86923 Tim Steinbach: oh-my-zsh: 2017-09-24 -> 2017-12-14
NixOS_GitHub has left #nixos [#nixos]
aarvar has quit [Remote host closed the connection]
Yaniel has joined #nixos
Mateon3 has joined #nixos
aarvar has joined #nixos
Mateon1 has quit [Ping timeout: 265 seconds]
Mateon3 is now known as Mateon1
xcmw has quit [Ping timeout: 268 seconds]
alexteves_ has quit [Ping timeout: 240 seconds]
jabranham has joined #nixos
alexteves_ has joined #nixos
amir has quit [Ping timeout: 248 seconds]
pxc has quit [Ping timeout: 265 seconds]
amir has joined #nixos
Yaniel has quit [Remote host closed the connection]
Yaniel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #33651: pythonPackages.celery: 4.0.2 -> 4.1.0 (master...celery_4_1) https://git.io/vNqn8
NixOS_GitHub has left #nixos [#nixos]
<LnL> no, the deb installs to /usr/local or whatever IIRC
kim0 has quit [Quit: Connection closed for inactivity]
coot has joined #nixos
klntsky has quit [Remote host closed the connection]
<nixy> Why would ou want to install Nix through the .deb?
klntsky has joined #nixos
spietz has joined #nixos
jkemet has quit [Ping timeout: 248 seconds]
swayf_away is now known as swayf
jkemet has joined #nixos
leat has quit [Quit: WeeChat 1.9.1]
<FRidh> nixy: So you don't get any more files spread through your system that are not managed by a package-manager.
<catern> interesting
<catern> installing to /usr/local is what I would want, anyway.... except it turns out that Debian 7's glibc doesn't support C++11
<nixy> I guess, but doesn't nix manage itself anyways?
<catern> so I can't use a /usr/local .deb-installed Nix anyway
<catern> I think I am forced to use the tarball install, then, right? Is there any other option?
<catern> (Debian 7's glibc doesn't support C++11, so I can't build a Debian 7 Nix .deb)
<ixxie> FRidh: if you have a moment could you check out https://github.com/NixOS/nixpkgs/pull/31871
<ixxie> I think I finally got it right
Sonarpulse has joined #nixos
<ixxie> (heading home now, will be back online later)
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ma27 has quit [Quit: WeeChat 2.0]
Sonarpulse has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 3 new commits to master: https://git.io/vNqWF
<NixOS_GitHub> nix/master 428680b Will Dietz: fetchGit: fix creation of uninitialized cache dir, let git create it...
<NixOS_GitHub> nix/master 84d9e21 Will Dietz: fetchGit.sh: Test we don't "corrupt" cache if invoke w/o git avail
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nix/master 3cd0704 Eelco Dolstra: Merge pull request #1787 from dtzWill/fix/git-not-on-PATH...
alex`` has joined #nixos
jb55 has joined #nixos
Isorkin_ has joined #nixos
stepcut has joined #nixos
excape has quit [Ping timeout: 260 seconds]
_alice_ has quit [Quit: Konversation terminated!]
Sonarpulse has joined #nixos
Isorkin has quit [Ping timeout: 265 seconds]
randomstrangerb has quit [Ping timeout: 240 seconds]
euniarte has joined #nixos
nschoe has quit [Ping timeout: 248 seconds]
randomstrangerb has joined #nixos
nyberg has joined #nixos
Isorkin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] thefloweringash opened pull request #33652: libvncserver: reduce dependencies; only use systemd on linux (master...libvncserver-deps) https://git.io/vNq8g
NixOS_GitHub has left #nixos [#nixos]
Isorkin_ has quit [Ping timeout: 265 seconds]
coot_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli opened pull request #33653: electrum-ltc: 2.9.3.1 -> 3.0.5.1 (master...electrum-ltc) https://git.io/vNq8b
NixOS_GitHub has left #nixos [#nixos]
user__ has quit [Ping timeout: 268 seconds]
user__ has joined #nixos
coot has quit [Ping timeout: 252 seconds]
Phlogistique has quit [Ping timeout: 248 seconds]
alex`` has quit [Ping timeout: 246 seconds]
nschoe has joined #nixos
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vNqBr
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master f607771 Shea Levy: Add cri-tools
flox has quit [Quit: Page closed]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] thefloweringash opened pull request #33654: wdiff: Widen meta.platforms to unix (master...wdiff-platforms) https://git.io/vNqBF
NixOS_GitHub has left #nixos [#nixos]
hotfuzz_ has joined #nixos
Phlogistique has joined #nixos
hotfuzz has quit [Ping timeout: 260 seconds]
oida has quit [Quit: WeeChat 1.6]
ryanartecona has joined #nixos
ryantrinkle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master f19d959 Andrey Golovizin: nixos/kresd: fix systemd dependency cycle...
<NixOS_GitHub> [nixpkgs] vcunat pushed 5 new commits to master: https://git.io/vNqR5
<NixOS_GitHub> nixpkgs/master 3ab85ed Vladimír Čunát: nixos/kresd: use DNSSEC root trust anchor from nixpkgs...
<NixOS_GitHub> nixpkgs/master f312e6d Vladimír Čunát: nixos/kresd: use systemd.tmpfiles...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #33614: nixos/kresd: fix systemd dependency cycle (master...kresd-ordering-cycle) https://git.io/vNLk9
NixOS_GitHub has left #nixos [#nixos]
peacememories has joined #nixos
euniarte has quit [Remote host closed the connection]
macslayer has quit [Ping timeout: 240 seconds]
swayf is now known as swayf_away
leat has joined #nixos
goibhniu has quit [Remote host closed the connection]
goibhniu has joined #nixos
nuncanada has joined #nixos
<ocharles> Does nixops require root SSH access when I use EC2 as a deployment target?
<ocharles> I think yes, but just wanted to confirm
<srhb> I think nixops always uses root ssh access, independent of the backend?
stepcut has quit [Remote host closed the connection]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/39fe8d6d9b5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
swayf_away is now known as swayf
macslayer has joined #nixos
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #33656: pyslurm: bump to unbreak (master) (master...pyslurm_fix) https://git.io/vNq2z
NixOS_GitHub has left #nixos [#nixos]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9cb6216fba7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33657: nginxMainline: 1.13.6 -> 1.13.8 (master...update/nginxMainline-1.13.8) https://git.io/vNq2M
NixOS_GitHub has left #nixos [#nixos]
knupfer has joined #nixos
kim0 has joined #nixos
peacememories has quit [Quit: Textual IRC Client: www.textualapp.com]
<kim0> Hey .. `nix-env -u` upgrades everything right ?
<kim0> I'm so new to nixpkgs that I haven't seen an upgrade yet hhh
<kim0> I'm writing a script and want to know when `nix-env -u` did actually apply some upgrades (vs exit cleanly without upgrades)
<kim0> something like `nix-env -u && echo UPGRADED` but that does not seem to work .. any tips ?
<LnL> it won’t do anything unless you update nixpkgs
<kim0> yeah ok I missed that too ... but stil
<LnL> try nix-channel —update
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33658: ngx_pagespeed, psol: 1.11.33.4 -> 1.13.35.1 (master...update/ngx_pagespeed) https://git.io/vNqaP
NixOS_GitHub has left #nixos [#nixos]
<kim0> LnL: Thanks .. but how do I detect if some pkgs have actually been updated (the && part above)
<gchristensen> you could compare your profile symlink
<kim0> Well that sounds scary :)
<LnL> nix-env --list-generations
<LnL> pretty sure you won't get a new entry if nothing changed
lonokhov has quit [Quit: leaving]
<gchristensen> indeed shouldn't
<kim0> that's good to know .. though a bit hard to scrip
<kim0> t
<gchristensen> $ readlink $(readlink ~/.nix-profile)
<gchristensen> profile-1-link
<kim0> is there a way to know if updates WILL be installed .. like `yum check-update`
<kim0> Here's what I need => I'm doing `nix-env -u` and if any updated were installed I want to restart a service!
<gchristensen> oh so like NixOS :)
<kim0> lol .. never played with that till now :/ only ubuntu
<gchristensen> what kind of server? like a system service?
<kim0> yes exactly that
<gchristensen> man, this is usually when people take a look at nixos
<kim0> I will :)
<kim0> though for the short term .. If there's an easy fix, I'd love to know about it
sigmundv__ has quit [Ping timeout: 248 seconds]
<gchristensen> well you could use Nix to build your service file, with hard-coded paths to the programs you care about, then `nix-build` the file and see if it points to the same .service file as the currently running one. if so, reload and restart it
<gchristensen> s/if so/if not/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] etu opened pull request #33659: pytest-rerunfailures: 2.0.1 -> 4.0 (master...update-pytest-rerunfailures) https://git.io/vNqVD
NixOS_GitHub has left #nixos [#nixos]
<srhb> There must be a derivation around for the profile somewhere, right? If so, nix-diff could help.
peacememories has joined #nixos
jensens has quit [Ping timeout: 268 seconds]
<kim0> I'm using nix-pkgs on ubuntu folks
peacememories has quit [Client Quit]
<srhb> Sure. :)
<kim0> guess `nix-env` needs a `check-update` option .. I'm sure there are other ways to do it, but they're not easy enough for a newbie :)
jb55 has quit [Ping timeout: 276 seconds]
<srhb> OK, agreed. :) I'll spare you the nix-diff approach. :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #33657: nginxMainline: 1.13.6 -> 1.13.8 (master...update/nginxMainline-1.13.8) https://git.io/vNq2M
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 0bbcfb0 Will Dietz: nginxMainline: 1.13.6 -> 1.13.8...
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vNqwC
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 46928cf Franz Pletz: Merge pull request #33657 from dtzWill/update/nginxMainline-1.13.8...
fogbugs[m] has joined #nixos
peacememories has joined #nixos
<kim0> :)
jb55 has joined #nixos
shabius has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir closed pull request #33656: pyslurm: bump to unbreak (master) (master...pyslurm_fix) https://git.io/vNq2z
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir closed pull request #33640: pyslurm: bump to unbreak (release-17.09...17.09_pyslurm_fix) https://git.io/vNtwJ
NixOS_GitHub has left #nixos [#nixos]
digitus has joined #nixos
Lisanna has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] TravisWhitehead opened pull request #33660: discord: 0.0.3 -> 0.0.4 (master...discord-0.0.4) https://git.io/vNqrn
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has joined #nixos
<Lisanna> Hmm, even with my shiny new SSD backing /nix and /tmp, 'nix copy' performance inside runInLinuxVM is still pretty abysmal. Only getting about 0.1MBps with gcc-6.4.0
<Lisanna> it'll have short bursts of high performance, and then be reduced back down to a crawl
erictapen has quit [Remote host closed the connection]
<Lisanna> any ideas on where the bottleneck could be here?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] griff opened pull request #33661: nixos/system: socket unit restart logic (master...socket-restart) https://git.io/vNqrR
NixOS_GitHub has left #nixos [#nixos]
<srhb> I suspect it has more to do with filesystems and the image format than the hardware backing it. I experience the same thing, often.
<srhb> (I guess this is more of an "I'd like to know too!" since I have no helpful advice :P)
jb55 has quit [Ping timeout: 240 seconds]
<Lisanna> Well, my image format is raw
erictapen has joined #nixos
<Lisanna> filesystem is probably ext4
<srhb> Hm, okay, not exactly the same then.
<Isorkin> How to fix build percona-toolkit? - http://pastebin.ru/nTH6XiSJ Error - http://pastebin.ru/BV1kOBfd
swayf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to master: https://git.io/vNqry
<NixOS_GitHub> nixpkgs/master 01c80fe Florian Klink: py_scrypt: use instead of ltc_scrypt
<NixOS_GitHub> nixpkgs/master 546c829 Florian Klink: electrum-ltc: only build on platforms.linux...
<NixOS_GitHub> nixpkgs/master a19c770 Florian Klink: electrum-ltc: 2.9.3.1 -> 3.0.5.1
NixOS_GitHub has left #nixos [#nixos]
shabius has left #nixos [#nixos]
<Lisanna> I'll do some performance testing to see if it's nix copy that's the problem or the whole mounted fs is slow
jb55 has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #33575: Minor cross fixes, 1 (master...fix/cross-1) https://git.io/vNkAW
NixOS_GitHub has left #nixos [#nixos]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9cb6216fba7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 7 new commits to master: https://git.io/vNqol
<NixOS_GitHub> nixpkgs/master d680678 Ben Gamari: makeSquashfs: Inputs are nativeBuildInputs
<NixOS_GitHub> nixpkgs/master a2215da Ben Gamari: make-ext4-fs: Dependencies are nativeBuildInputs
<NixOS_GitHub> nixpkgs/master ac19f60 Ben Gamari: ddrescue: Enable cross-compilation
NixOS_GitHub has left #nixos [#nixos]
goibhniu has quit [Ping timeout: 265 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 ff4934c Ahmed Kamal: electrum-ltc: 2.6.4.2 -> 2.9.3.1...
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to release-17.09: https://git.io/vNqoD
<NixOS_GitHub> nixpkgs/release-17.09 b12583f Florian Klink: py_scrypt: use instead of ltc_scrypt...
<NixOS_GitHub> nixpkgs/release-17.09 7bee399 Florian Klink: electrum-ltc: 2.9.3.1 -> 3.0.5.1...
NixOS_GitHub has left #nixos [#nixos]
i-am-the-slime has quit [Ping timeout: 248 seconds]
abcadr[m] has joined #nixos
pkill9 has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
freusque has quit [Quit: WeeChat 1.9.1]
fyuuri has joined #nixos
Itkovian_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blym has quit [Read error: Connection reset by peer]
ixxie has quit [Quit: Lost terminal]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #33662: libvorbis: Fix CVE-2017-14160, CVE-2017-14632 & CVE-2017-14633 (master...libvorbis-cves) https://git.io/vNqii
NixOS_GitHub has left #nixos [#nixos]
dpren has joined #nixos
ogle has joined #nixos
nico202 has quit [Ping timeout: 240 seconds]
stepcut has joined #nixos
macslayer has quit [Quit: Konversation terminated!]
rardiol1 has left #nixos [#nixos]
sigmundv_ has joined #nixos
<ogle> Running into some thing strange... trying to install cudnn, and nix prompts me to fetch the tgz from nvidia. So I do so and run `nix-prefetch-url file://$PWD/cudnn-9.0-linux-x64-v7.tgz`, however I still get the prompt to fetch the url when I try `nix-shell -p cudnn`
xcmw has joined #nixos
dpren has left #nixos [#nixos]
ogle has left #nixos [#nixos]
Tucky has quit [Quit: WeeChat 2.0.1]
pSub has quit [Read error: Connection reset by peer]
michaelpj_ has joined #nixos
xcmw has quit [Ping timeout: 265 seconds]
xcmw has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
ech0_42 has quit [Remote host closed the connection]
jb55 has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #33663: electron-cash: 3.1.1 -> 3.1.2 (master...electron) https://git.io/vNqD6
NixOS_GitHub has left #nixos [#nixos]
simendsjo has joined #nixos
<Aleksejs> is there an option to disable touchpad while typing?
alex`` has joined #nixos
<joepie91> Aleksejs: there's palm detection at least: https://nixos.org/nixos/options.html#synaptics+palmdetect
<samueldr> if you're using libinput instead: https://nixos.org/nixos/options.html#libinput+whiletyp
pie__ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
Lisanna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arcaelyx has joined #nixos
fogbugzz[m] has joined #nixos
cfricke has joined #nixos
cfricke has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNqyx
<NixOS_GitHub> nixpkgs/master 34c776e rnhmjoj: electron-cash: 3.1.1 -> 3.1.2
<NixOS_GitHub> nixpkgs/master f1a96c5 adisbladis: Merge pull request #33663 from rnhmjoj/electron...
NixOS_GitHub has left #nixos [#nixos]
Lisanna has joined #nixos
brodul has quit [Quit: My hovercraft is full of eels!!]
roconnor has joined #nixos
<roconnor> Hi, I need a little help because something has changed recently with extraUtils in NixOS.
<roconnor> I have the following stanza
<roconnor> extraUtilsCommands = ''
<roconnor> copy_bin_and_libs ${pkgs.cryptsetup}/sbin/cryptsetup
<roconnor> cp -pdv ${scrypt} $out/bin/crypto_scrypt
<roconnor> '';
<roconnor> but when building extra-utils I now get the error
<roconnor> output ‘/nix/store/mh68vbga4i9in0jl3jy8hb817wbwjhrn-extra-utils’ is not allowed to refer to path ‘/nix/store/widrvw5l3rygr8f0v9dfaxx4i1hyzs5x-crypto_scrypt.c’
<roconnor> Anyone know what has changed and what this error means?
<roconnor> $ grep widrvw5l3rygr8f0v9dfaxx4i1hyzs5x /nix/store/mh68vbga4i9in0jl3jy8hb817wbwjhrn-extra-utils -r
<roconnor> Binary file /nix/store/mh68vbga4i9in0jl3jy8hb817wbwjhrn-extra-utils/bin/crypto_scrypt matches
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/39fe8d6d9b5 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] TravisWhitehead closed pull request #33660: discord: 0.0.3 -> 0.0.4 (master...discord-0.0.4) https://git.io/vNqrn
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kquick opened pull request #33664: python: thespian: 3.9.0 -> 3.9.1 (master...thespian-3.9.1) https://git.io/vNq9e
NixOS_GitHub has left #nixos [#nixos]
<fogbugzz[m]> hi im switching many machines to nixos from arch and debian, its going very well, just a few details i would like to polish. Firstly, whats the recommended way to install firefox extensions in a declarative way? I saw there's now a nixos option for this, but I couldn't wrap my head around firefox nixpkg.
<roconnor> pkgs/build-support/expand-response-params/default.nix seems to have an example of a work around to prevent the source file nix-store hash from appearing in the compiled binary
Itkovian has joined #nixos
<srhb> roconnor: A very similar issue has popped up years ago on the mailing list it appears
<srhb> roconnor: Perhaps it's useful? https://nixos.org/nix-dev/2011-December/007477.html
stepcut has quit [Remote host closed the connection]
<srhb> Though if it's actually included into the binaries that's a bit messier...
cinimod has joined #nixos
<cinimod> I tried `nix-build` as in this tutorial: https://github.com/shajra/example-nix
<roconnor> srhb: cool thanks.
i-am-the-slime has joined #nixos
<roconnor> FWIW, I seem to have fixed the problem by changing buildCommand = "gcc ${src} -o $out -static" to buildCommand = "gcc ${src} -s -o $out -static" for my crypto_scrypt derivation!
ambro718 has joined #nixos
<roconnor> (added a -s flag to gcc)
<srhb> roconnor: Hmm. Worrying problem.
stepcut has joined #nixos
<roconnor> No I think I understand what is going on.
jtojnar has joined #nixos
<roconnor> I'm a little surprised that Nix's version of GCC or Nix's standard mkderivation doesn't strip this stuff from the generated executables.
simendsjo has quit [Read error: Connection reset by peer]
<srhb> Store paths?
<roconnor> no, source files.
<srhb> Ah
simendsjo has joined #nixos
<roconnor> which in this case happen to have store paths in them.
<srhb> Is it normally illegal? I'm a bit surprised. I imagine the tracking would be quite difficult since we need to leave store paths intact...
<roconnor> NixOS is worried about dangling references, especially when I copy my extra-utils to a /boot directory.
* srhb nods
<roconnor> This reference was harmless, but Nix doesn't know that.
brodul has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
i-am-the-slime has quit [Ping timeout: 240 seconds]
ssmike has quit [Ping timeout: 276 seconds]
phreedom has quit [Read error: Connection reset by peer]
<roconnor> okay, gotta reboot now.
hotfuzz_ has quit [Ping timeout: 248 seconds]
nithor has quit [Ping timeout: 276 seconds]
coot has joined #nixos
xcmw has quit [Ping timeout: 264 seconds]
hotfuzz_ has joined #nixos
coot_ has quit [Ping timeout: 240 seconds]
the-kenny has quit [Ping timeout: 256 seconds]
the-kenny has joined #nixos
phreedom has joined #nixos
roconnor has quit [Quit: Konversation terminated!]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 4z3 opened pull request #33665: exim: add optional LDAP support (master...exim-ldap) https://git.io/vNq7q
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 5542e3c Matthew Pickering: haskell package set configuration clean-up...
<NixOS_GitHub> nixpkgs/master 2280127 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vNq7V
phreedom has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33666: discord: fix "corrupt install" warnings, misc cleanup (master...fix/discord-looks-like-corrupt) https://git.io/vNq7M
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to release-17.09: https://git.io/vNq7y
<NixOS_GitHub> nixpkgs/release-17.09 58ad926 rnhmjoj: electron-cash: 2.9.4 -> 3.1.2...
NixOS_GitHub has left #nixos [#nixos]
nithor has joined #nixos
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
<srhb> New highscore in weekly `find ~ -name result` \o/
nithor has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNq5w
<NixOS_GitHub> nixpkgs/master 17bdefd adisbladis: electron-cash: Only build on platforms.linux...
<kim0> Unable to start the new "electrum" .. hitting this error => This application failed to start because it could not find or load the Qt platform plugin "xcb"
<kim0> is this a bug ?
<adisbladis> kim0: This is a qt impurity
<kim0> oO
rardiol1 has joined #nixos
<adisbladis> You probably have mixed qt versions in your systemPackages and your user env
<gchristensen> adisbladis: what is qt doing that makes this happen?
<kim0> I'm running nixpkgs over ubuntu
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 59661f2 adisbladis: electron-cash: Only build on platforms.linux...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to release-17.09: https://git.io/vNq57
thblt has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
<adisbladis> gchristensen: It looks for its "platform plugins" (xcb, wayland, etc) in a funky way and tries to load one from the wrong Qt version.
<gchristensen> :|
phreedom has joined #nixos
<adisbladis> kim0: You installed it with nix-env? Maybe try upgrading all packages to the most recent version since they should all be built with the same Qt
<kim0> adisbladis: yes ofc nix-env .. I don't have that many other pkgs tbh :)
<adisbladis> kim0: And you didnt do anything strange such as installing qtbase into your env?
<kim0> trying the upgrade anyway
<kim0> You mean using nix-env .. not really
<adisbladis> Ok :) Hoping that upgrading will work
<kim0> nothing to be upgraded
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rvolosatovs opened pull request #33667: mopidy-iris: 3.8.2 -> 3.11.0 (master...update/mopidy-iris) https://git.io/vNqdu
NixOS_GitHub has left #nixos [#nixos]
<kim0> adisbladis .. I tried installing libxcb manually .. but didn't help either
<adisbladis> kim0: Dont do that :)
<kim0> Ok uninstalling
<adisbladis> kim0: Run the program with "env QT_DEBUG_PLUGINS=1 ..." and paste your output
<kim0> Alright
nithor has joined #nixos
<kim0> adisbladis: I'm running it like this `$ QT_DEBUG_PLUGINS=1 electrum` .. I don't see any special debugging messages
<kim0> also tried with "env" at the begining like your line .. same output
arianvp2 has joined #nixos
<adisbladis> kim0: `$ env QT_DEBUG_PLUGINS=1 electrum`?
<kim0> adisbladis: same short error message :/
<hoverbear> Hm, I'm trying to use https://github.com/mozilla/nixpkgs-mozilla/blob/master/rust-overlay.nix#L290 however I'm getting `value is a function while a set was expected`...
srdqty has joined #nixos
civodul has joined #nixos
<arianvp2> hmm was just messing around with casync
<arianvp2> and it has a file format catar which is very similar to NAR
orivej has quit [Ping timeout: 248 seconds]
nithor has quit [Ping timeout: 252 seconds]
<kim0> adisbladis: I also use "electrum-ltc" .. which when I ran it .. spews lines like => `QFactoryLoader::QFactoryLoader() looking at "/nix/store/8g1714cgws6zhm3wh0xjssyfq9vlbisw-qt-4.8.7/lib/qt4/plugins/codecs/libqkrcodecs.so` .. but "electrum" does NOT
swayf has joined #nixos
<adisbladis> kim0: Hmm.. That looks more right to me.
alex`` has quit [Read error: No route to host]
<kim0> adisbladis: maybe it's crashing too early ?
<adisbladis> kim0: And what does "readlink $(which electrum)" say
<kim0> adisbladis: I found this bug => https://github.com/NixOS/nixpkgs/issues/33274
<kim0> adisbladis: says => /nix/store/gd3x9hvkiqc7dzn9n9ndliipifqjq1g7-electrum-3.0.5/bin/electrum
ryanartecona has joined #nixos
coot has quit [Quit: coot]
tmaekawa has joined #nixos
coot has joined #nixos
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<cinimod> If I type `nix-channel --list` I get nothing
<cinimod> Is that a problem?
<Aleksejs> I think it will point to "default" channel
<kim0> adisbladis: let me know if there's any other debugging we can try .. Thanks mate
<adisbladis> kim0: Sadly all I can say at this point is that you most likely have some Qt version mixup and that this is a known error. Dont know where to go from here since debug isnt working and I need to go to bed.
i-am-the-slime has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #33603: stdenv: Force `doCheck` to be false when we are cross compiling (master...cross-check) https://git.io/vNI4b
NixOS_GitHub has left #nixos [#nixos]
<kim0> adisbladis: When you say this is a known error .. is that referring to the github issue I pasted above ?
<adisbladis> You could try playing around with QT_QPA_PLATFORM_PLUGIN_PATH as a workaround (env QT_QPA_PLATFORM_PLUGIN_PATH=/nix/store/absmwzh2qa8dxjfm920ij0zm2kn9yw04-qtbase-5.9.1-bin/lib/qt-5.9/plugins/platforms/ electrum) for example
<adisbladis> kim0: Yes and a few others just like it
<kim0> adisbladis: do you expect it to be resolved in a few days .. or is it a complex issue
jensens has joined #nixos
<adisbladis> This issue is might make things a bit clearer for you in terms of why things are happening https://github.com/NixOS/nixpkgs/issues/24256 but sadly not how to fix them
<kim0> with that env var .. Getting many lines like => QElfParser: '/nix/store/4wqa1whb42khic67rv9jgip30nxmaii8-python3-3.6.4/bin/2to3-3.6' is not an ELF object
mrkgnao has quit [Ping timeout: 265 seconds]
bennofs has joined #nixos
coot_ has joined #nixos
<infinisil> cinimod: If you're on NixOS, you'll probably get output with sudo
coot has quit [Ping timeout: 276 seconds]
<cinimod> I am *not* on nixos
<cinimod> I am on OSX
<infinisil> cinimod: if `nix-instantiate --find-file nixpkgs` doesn't give you an error you should be fine
michaelpj_ has quit [Ping timeout: 264 seconds]
<cinimod> It gives `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
<infinisil> ah, it seems to be using the root users channel too then (like on nixos), this might have changed since that tutorial got written. You'll get output with `sudo nix-channels --list`
alexteves_ has quit [Ping timeout: 248 seconds]
<cinimod> infinisil: thanks
dbe_ has joined #nixos
chreekat has quit [Quit: quitting]
tmaekawa has quit [Quit: tmaekawa]
<kim0> adisbladis: Thanks!! This `QT_QPA_PLATFORM_PLUGIN_PATH` trick makes it work for now .. Thanks a lot .. Hoping the real fix will land soon
nithor has joined #nixos
<hoverbear> Hm, I'm trying to use https://github.com/mozilla/nixpkgs-mozilla/blob/master/rust-overlay.nix#L290 however I'm getting `value is a function while a set was expected`... I'm a bit puzzled how to use it in my nix-shell... https://gist.github.com/Hoverbear/a21ee665ea891f204bc5fa811ea8b016
<sphalerite> hoverbear: the overlay isn't in default.nix, it's in rust-overlay.nix
<sphalerite> hoverbear: you'll also need parentheses around rustChannelOf {stuff}
<hoverbear> sphalerite: Can you help me understand the implication of this?
<infinisil> hoverbear: and you'll need to link it to ~/.config/nixpkgs/overlays
<sphalerite> infinisil: no, not if they put it in the nixpkgs import
<infinisil> sphalerite: Ah right
nithor has quit [Ping timeout: 265 seconds]
<hoverbear> It works if I do latest.rustChannels.nightly.rust :)
<infinisil> but to use it in nix-shell it's much simpler to install it
<infinisil> ahh, i didn't see his gist, never mind
<sphalerite> oh, it does? Never mind the bit about default.nix vs rust-overlay.nix then
<sphalerite> You do need the parens though, that should fix the error
<hoverbear> Hmm, yes this fixes that particular error and now there is a new one Q_Q
<sphalerite> hoverbear: the reason being that `rustChannelOf` and `{ date = "2018-01-09"; channel = "nightly"; }.rust` are otherwise interpreted as separate elemtns of the list
<hoverbear> Ahhhhhh okay thank you this enlightened me =D
tmaekawa has joined #nixos
<hoverbear> `(rustChannelOf { date = "2018-01-09"; channel = "nightly"; }).rust` this works, thank you infinisil and sphalerite
<sphalerite> right, my guess was going to be that you put them in the ewrong place at first ;) glad you got it sorted
<catern> hey #nixos, is there a function in Nixpkgs to take a derivation and construct a tarball containing its closure?
<sphalerite> ooh and that reminds me, I need to try your fix for the x11 error in that game
<catern> or do I have to write my own?
<catern> (specifically, I want to build my own Nix bootstrap tarball)
<sphalerite> catern: for building a nix bootstrap tarball, check release.nix in nixos/nix
<LnL> I think thats's nix-build release.nix -A binaryTarball.x86_64-linux
<sphalerite> I presume that has something along those lines, since that's what it does :)
<catern> sphalerite: LnL: yes, sure, I know that
<catern> but I don't want to have to pull down the Nix source separately
<catern> I'd rather just use the Nix from Nixpkgs
<sphalerite> catern: I don't think you need to, but you can still look at the implementation to work it out
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee opened pull request #33669: lombok: 1.16.8 -> 1.16.20 (master...bump/lombok) https://git.io/vNqpL
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> It seems to use exportReferencesGraph
<Lisanna> Just successfully pitched my Nix-based CI system to my coworkers
<sphalerite> I still haven't really understood how that works
<Lisanna> We're going to start slowly replacing our old crufty CI system with the one I've been building with Nix over the past few months :)))
<infinisil> Lisanna: how does it differ from hydra?
<Lisanna> infinisil it has a rudimentary constraint solver, CLI based, contains a full model of your software stack, dependencies, configuration options, etc.
<LnL> infinisil: not perl? :p
<Lisanna> ^ also that :)
<catern> sphalerite: "I don't think you need to " what?
<sphalerite> I don't think you need to pull down the nix source separately
<catern> oh, you mean you don't think I need to pull down the Nix source?
<catern> but, I don't really want to copy and paste stuff from release.nix
<infinisil> well if it has the functionality you want that's kinda the thing you want to do..
<catern> the only thing in this Nix install script that isn't just a trivial tarball, is its creation of ".reginfo"
nithor has joined #nixos
<catern> infinisil: no, I'd rather *invoke* release.nix :)
<catern> to avoid copying and pasting code
<Lisanna> I could end up slapping hydra on top as a front-end though
<infinisil> catern: ah you mean to have some function in the nixpkgs library which does it?
<catern> infinisil: yes
<infinisil> catern: well you could make a PR to add it :)
MichaelRaskin has joined #nixos
<catern> yes, fair, I could, but I tend to believe that there already is one :)
<catern> though
<sphalerite> :p
<catern> I guess I can grep for reginfo
* catern greps for reginfo
<catern> nothing
phdoerfler has quit [Quit: Leaving.]
<sphalerite> pkgs/build-support/release/binary-tarball.nix might be relevant
<sphalerite> oh wait no
ckauhaus has quit [Quit: Leaving.]
<infinisil> (btw, if you do it like nixpkgs/pkgs/build-support/release/binary-tarball.nix my bot will link to it :P)
tmaekawa has quit [Quit: tmaekawa]
<infinisil> (damnit, it seems to not run right now, #fail)
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nithor has quit [Ping timeout: 252 seconds]
<Lisanna> But the extra cool part is that now I can work on enabling Intel Parallel Studio as part of my regular job :)
<catern> sphalerite: thank you for looking too, I also haven't been able to find any functions like this in Nixpkgs
jb55 has quit [Ping timeout: 248 seconds]
<catern> tbh I'm pretty surprised actually, I would have thought this was basic functionality
<sphalerite> catern: you could extend the aforementioned with closure functionality stolen from nix's release.nix
<dhess> LnL: I got distributed builds working in the end. First I forgot 'distributedBuilds = true' (duh) and then I had to massage the known_hosts that I was installing
<dhess> all good now
<sphalerite> and then change nix's release.nix to make use of it ;)
<dhess> pretty happy with nix-darwin so far
<catern> sphalerite: binary-tarball.nix says "The resulting binaries are usually only useful if they are don't have any runtime dependencies on any paths in the Nix store, since those aren't distributed in the tarball." which sounds anti-useful?
<catern> sphalerite: plus binary-tarball.nix builds from source anyway
<sphalerite> hoverbear: BM's run script doesn't seem to have any non-sensible fiddling with LD_LIBRARY_PATH :(
<sphalerite> catern: yeah, idk what the point is
<hoverbear> sphalerite: :??
<LnL> catern: the exportReferencesGraph is a bit weird and only used in a few places
pie_ has quit [Read error: Connection reset by peer]
<sphalerite> hoverbear: you said you fixed an X error with some game by changing the script which was doing something wrong with LD_LIBRARY_PATH
pie__ has joined #nixos
Lisanna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> hoverbear: the same fix didn't apply to the game I was having trouble with, unfortunately
<hoverbear> sphalerite: Oh, it was with steam-run
<LnL> dhess: ah great, known_hosts part is easy to forget :)
<catern> LnL: well, since I definitely needs exportReferencesGraph to do this, maybe I should grep for it :)
* catern greps
<infinisil> catern: btw, have you checked out ripgrep?
xcmw has joined #nixos
<LnL> dhess: as for the buildMachines part, that should probably give a warning
<catern> infinisil: "grep" is a generic term :)
Itkovian has joined #nixos
<catern> (I'm actually using git grep for this, not that it matters)
jensens has quit [Ping timeout: 255 seconds]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/59661f21be6 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<infinisil> catern: yeah :)
nix-gsc-io`bot has quit [Client Quit]
<LnL> catern: maybe this helps to understand it https://github.com/LnL7/nix-docker/blob/master/default.nix#L77
MP2E has joined #nixos
<catern> LnL: I mean, I believe I understand it
nithor has joined #nixos
<catern> argh! where does pathsFromGraph come from??
<catern> oh I see, it's in nixpkgs, and Nix uses it
<catern> that's really confusing :)
i-am-the-slime has quit [Quit: Konversation terminated!]
<catern> hmmm... so, okay. I can't quite decide. I want to deploy multi-user Nix on top of Debian en-masse. So far I've just been using the pre-built bootstrap tarballs, running the install script inside there, then patching the install to be multi-user
<catern> an obvious improvement is to build the bootstrap tarballs myself, deterministically from Nix/nixpkgs
<catern> but then I have to decide, should I package my install-multi-user.sh script inside that tarball? and then try and get it upstream?
<catern> or should it be external?
simendsjo has quit [Ping timeout: 240 seconds]
nithor has quit [Ping timeout: 276 seconds]
<catern> or should I not even be using the install script that upstream Nix puts inside the bootstrap tarball? after all that script is very much designed to be used for a single-user install
<infinisil> catern: hm, I'd if it's generic enough upstream
<infinisil> (reorder that sentence a bit)
<pie__> ugh, pypi2nix failed building pypy on some dumb xml test now i have to wait three hours for it to build again
<pie__> can i disable tests somehow
deepfire has joined #nixos
<pie__> oh whatever ill just install it from main
jensens has joined #nixos
coot_ has quit [Quit: coot_]
<pie__> ...looks like that also wants to build it...
* pie__ sighs
<infinisil> pie__: doCheck = false?
elisaado has joined #nixos
<elisaado> Anyone got their yubikey working with gpg?
<pie__> it tries to build it before it even gets to emitting nix files
<infinisil> pie__: oh and i just see, there's 2 pypi2nix.. one by garbas and one by offlinehacker[m]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/59661f21be6 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
Itkovian has quit [Quit: Textual IRC Client signing off]
arianvp2 has quit [Remote host closed the connection]
<catern> hmmmmmmmmmmm
<catern> infinisil: well, I think I probably actually want to manage the Nix/nix-daemon/Nix build users configuration with the pre-existing configuration management that I use
<catern> (okay, configuration management that I have access to - I don't actually use it myself yet :))
<catern> And that rules out just running a script to deploy Nix
<infinisil> catern: what's this "configuration management" thing you speak of?
nithor has joined #nixos
Itkovian has joined #nixos
stepcut has quit [Remote host closed the connection]
<catern> Ansible/CFEngine/other tools that backwards traditional operating systems use to manage deploying software
Lisanna has joined #nixos
<elisaado> Anyone know where libpcsclite is located? even `find` can't find it... I'm going nuts
Itkovian has quit [Client Quit]
<infinisil> elisaado: nixpkgs/pkgs/tools/security/pcsclite
<Sonarpulse> dtz you are dtzWill?
<elisaado> I have that installed already :/
<dtz> Sonarpulse: yes!
<dtz> sorry my normal server died over the break, so only here on Riot
Itkovian has joined #nixos
<Sonarpulse> dtz cool
<dtz> (normally I'm also here as dtzWill lol)
nithor has quit [Ping timeout: 240 seconds]
<Sonarpulse> dtz: https://hydra.nixos.org/jobset/nixpkgs/cross-trunk just rebuild completely for some reason
<infinisil> elisaado: what are you trying to do exactly?
<dtz> yeah, did you see my comment on the PR?
<catern> urgh, it's really annoying/weird that no-one seems to seriously deploy multi-user Nix on foreign distros!
<dtz> oh, yes, you responded :D
<dtz> hmm
<sphalerite> dtz: while you're here — any idea when ALLVM will be public enough for us to use it like you do?
<infinisil> catern: just get everybody to use NixOS :P
<dtz> sphalerite: you are my favorite, for asking that :D
<hoverbear> sphalerite: aw I'm sorry it didn't :(
<catern> infinisil: impossible I'm afraid :)
<catern> blah blah
<catern> is it sane to assume that we always start with a single-user install, and transform that into a multi-user install? hm
<dtz> hopefully start coming out, at least in pieces, in next week or so
<sphalerite> dtz: awesome!
<elisaado> infinisil: My smartcard (yubikey) only works as root, but not as normal user, I tried everything from udev rules to uninstalling pcscd
<dtz> Sonarpulse: so that rebuild seems due to the issue we discussed on the PR ~12 minutes ago-- no fix is included in the diff AFAICT? (looking at: https://hydra.nixos.org/api/scmdiff?rev2=06a8d665286b3afa854a357a7fda63b2d875feb0&type=git&uri=https%3A%2F%2Fgithub.com%2FNixOS%2Fnixpkgs.git&rev1=eec050f3955d803dbee1ea66706f0bca7aa7ff88&branch= )
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #33670: stdenv: Fix doCheck and doInstallCheck logic (master...cross-check) https://git.io/vNmfG
NixOS_GitHub has left #nixos [#nixos]
<dtz> WARRGARBL the url sorry O:)
<Sonarpulse> dtz: just opened fix for that
ambro718 has quit [Quit: Konversation terminated!]
<Sonarpulse> then there's the ensureUnaffected stuff from earlier
<infinisil> elisaado: do you get an error when you try it with non-root?
<Sonarpulse> and bootstrap tools
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #33671: restic: 0.8.0 -> 0.8.1 (master...restic-0.8.1) https://git.io/vNmfV
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has quit [Ping timeout: 252 seconds]
<henk> hi, I'm trying to install nixos on a thinkpad x200 that runs libreboot. nixos-install works just fine and a grub config is generated that i can load into the grub from libreboot. But when I try to boot, only the grub menu disappears and I am left with the grub background image and nothing else happens. No "Loading ramdisk" or anything. my /mnt/etc/nixos/configuration.nix: http://ix.io/DRV and
<henk> /mnt/etc/nixos/hardware-configuration.nix; http://ix.io/DRW I have no idea where/how to start debugging or what might be wrong. Can anyone give advice what to do next?
<elisaado> infinisil: Yep, it's this error:
Neo-- has quit [Ping timeout: 252 seconds]
<elisaado> gpg: selecting openpgp failed: No such device
<elisaado> gpg: OpenPGP card not available: No such device
<elisaado> y
<samueldr> catern: I'm not sure, but I think I'm deploying nixos as multiuser on debian
<elisaado> I have even tried stuff from the arch wiki
<samueldr> though, it's don in ad-hoc provision scripts
<sphalerite> henk: I don't have any specific advice as to what to do from there but I do have some hopefully encouraging information — a friend of mine is successfully running nixos on their libreboot x200 :)
<samueldr> henk: libreboot has which payload? uefi, mbr or grub? (not sure of the terminology)
<infinisil> henk: my primitive advice would be to try a different bootloader, e.g. systemd-boot
<henk> sphalerite: ha, that is good to know, thanks (:
<samueldr> (that is, if your libreboot uses uefi)
<catern> samueldr: if you are not sure then it might not be too useful :)
<Sonarpulse> dhess: its odd
<catern> hey #nixos, should I source .nix-profile/etc/profile.d/nix.sh or .nix-profile/etc/profile.d/nix-daemon.sh?
<Sonarpulse> I briefly looked at your config.logs
<sphalerite> infinisil: systemd-boot requires an EFI implementation which henk probably doesn't have
nithor has joined #nixos
<henk> samueldr: grub, at least it feels and looks like one
<Sonarpulse> and I didn't see any indication of the failure
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33672: nix-delegate, nix-deploy: add top-level attributes (master...fix/top-level-nix-tools) https://git.io/vNmJY
NixOS_GitHub has left #nixos [#nixos]
<Sonarpulse> dhess: to fix that one, I think we'll need to find the failure
<samueldr> catern: confirmed, looked at the nix documentation, I'm deploying nix as multi-user
<sphalerite> catern: for a multi-user setup my guess is nix-daemon.sh
<samueldr> (I just wasn't sure if it meant what I thought it meant)
<catern> sphalerite: yeah, I think so too, but the weird thing is that nix-daemon.sh seems strictly better/more functional than nix.sh
<dhess> Sonarpulse: what are you referring to?
<catern> even in single-user setups
<catern> so why isn't everyone sourcing it?
<Sonarpulse> dhess: the gcc failure before the revert
<Sonarpulse> it's hard to tell what library was being built
<Sonarpulse> but that one's configuring failed, failing the whole build
<Sonarpulse> somewhere there is a config.log corresponding to that, I guess
<Sonarpulse> and that should give us more details on what it didn't like about the --host and --build it was given
<dhess> Sonarpulse: I put new config.logs and the full build dir tarball on Dropbox, see that closed issue
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aborsu opened pull request #33673: nixos/jupyter: init service (master...jupyter) https://git.io/vNmJp
NixOS_GitHub has left #nixos [#nixos]
<Sonarpulse> dhess: yeah I did, I'll keep on looking
<Sonarpulse> but just wanted to let you know what I am looking for
<dhess> Sonarpulse: thanks
<Sonarpulse> I'll try full build next
<dhess> can you build on armv7?
<Sonarpulse> dhess: I might be able to get access to a raspberry pi, but not yet
<dtz> Sonarpulse: fixing the doCheck PR thing fixes the ensureUnaffected as well, just checked
<dtz> :)
<dhess> Sonarpulse: well if I have a chance in the next day or 2 I will run it with the fix, stop around the same point the other fails, and try to compare
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #33629: Restore dnscrypt-proxy (master...dnscrypt-proxy) https://git.io/vNL5w
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli opened pull request #33674: oracle-instantclient: 12.1.0.2.0 -> 12.2.0.1.0 (master...oracle-instantclient) https://git.io/vNmUp
NixOS_GitHub has left #nixos [#nixos]
<johnw> does anyone have mod_perl working with Apache?
<johnw> when I use "PerlResponseHandler ModPerl::Registry", that module isn't on the path, although it's in the store
<catern> hmm, wait a second, I guess I really do need an install script embedded into the tarball, to look up the location of the bootstrapped Nix
nico202 has joined #nixos
<samueldr> catern: there may be some leftover stuff from when I initially made the script a year ago, but as of right now, it still deploys successfully on virgin debian 8 machine https://gist.github.com/samueldr/ef9fa47cacd7b1a260aca59630133a63
nithor has quit [Ping timeout: 255 seconds]
<samueldr> though, I'm installing the nix .deb to then install nix through nix, so it's probably way different than your approach
<henk> elisaado: possibly permissions. which udev rules did you use?
<elisaado> henk: I added this to my nix config:
<dhess> peti never comes here, right?
<LnL> he does
<Sonarpulse> dtz: oh good
<dhess> oh. I don't think I've ever seen him.
<Sonarpulse> dtz dhess: the other regressions I think can be fixed by tightening down the arm exception
<Sonarpulse> only cut configurePlatforms if build == host == target
<elisaado> henk: ^
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #33670: stdenv: Fix doCheck and doInstallCheck logic (master...cross-check) https://git.io/vNmfG
NixOS_GitHub has left #nixos [#nixos]
<dhess> Sonarpulse: thanks for all your work on this stuff, it's going to be awesome
<elisaado> pcsc_scan works
<elisaado> but gpg doesn't
<henk> elisaado: for my cards, pcsc was only in the way. gpg could handle it better with its ccid driver ...
<elisaado> henk: how does your config look?
<elisaado> and what udev rules are you using?
<henk> pcscd actually stopped gpg from working
<elisaado> oh
<henk> elisaado: I don't have it running with nixos yet, I don't even have nixos running, but on debian
<elisaado> Ah
hellrazo1 has quit [Ping timeout: 260 seconds]
<dtz> \o/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #33622: Semi-automated Emacs package updates (master...emacs-updates) https://git.io/vNLVM
NixOS_GitHub has left #nixos [#nixos]
hellrazo1 has joined #nixos
jabranham has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] k0001 opened pull request #1788: nix.conf: builders-use-substitutes (master...rem-subs-1) https://git.io/vNmkX
NixOS_GitHub has left #nixos [#nixos]
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] k0001 closed pull request #1228: nix.conf: add build-hook-use-substitutes (master...rem-subs) https://git.io/vDzsw
NixOS_GitHub has left #nixos [#nixos]
<henk> elisaado: the fsfe took down their udev rules from their wiki. I use those (; http://ix.io/DRY or maybe they come from https://www.gnupg.org/howtos/card-howto/en/smartcard-howto-single.html? I'm not sure ...
<elisaado> I'll try
hiratara has quit [Ping timeout: 252 seconds]
<elisaado> I have added yubikey-personalize to udev rules thingies
grumble has quit [Killed (Sigyn (BANG!))]
<henk> elisaado: have you checked with lsusb if those IDs match? check with 'id' whether you are in the right group and with ls on the device in /dev/bus/usb whether the group was correctly set. Testing as root will probably start a gpg-agent and an scdaemon. maybe kill them and replug the key before testing as user.
dan_b has joined #nixos
grumble has joined #nixos
<elisaado> henk: I even tried rebooting
<Sonarpulse> dhess: the changes I made should be a zero-rebuild
<Sonarpulse> if that helps
<elisaado> WAIT WHAT
<elisaado> ykamn now rosk
<dhess> Sonarpulse: yes I expect so
<elisaado> works*
<Sonarpulse> dhess: I suppose I can just do it and check eval :D
<dhess> Sonarpulse: I am just waiting for the *last* build to finish :(
<elisaado> but gpg does not
<dhess> of GHC I mean. gcc only takes ~1.5 hours :)
<dhess> "only"
<elisaado> IT WOROOOOTRKS
<elisaado> IT WORKS!!!11
<elisaado> i don't know what I did
nithor has quit [Ping timeout: 255 seconds]
<elisaado> henk: THANK YOU
<elisaado> Now let's see if it still works after a reboot
<dhess> oh and look at that, GHC finally finished
<henk> elisaado: don't give up! it took me quite a few hours before I got mine (not a yubikey, but pinpad reader) to work reliably. everything has to be right (:
<dhess> yay
<henk> elisaado: sounds good. good luck!
hiratara has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
JosW has quit [Quit: Konversation terminated!]
nithor has joined #nixos
<LnL> gcc doesn't take that long, does it?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d6bf8eb71b4 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
MP2E has quit [Remote host closed the connection]
simukis has quit [Ping timeout: 265 seconds]
<dhess> LnL: gcc took 1h 34m on my Jetson TK1
<dhess> maxJobs 4, buildCores 1, so no other jobs running during that build
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master c0ab4d5 Orivej Desh: ed: fix cross build
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/vNmtk
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b850eb3 John Ericson: Merge pull request #32489 from orivej/ed...
<LnL> you probably want buildCores > 1 for builds like that :)
<dhess> oh yeah
<dhess> I forgot that I changed that
<dhess> it's a hysteresis problem. I want buildCores 4 maxJobs 1 during gcc, ghc, and kernel, and then the other way 'round the rest of the time
<dhess> however it's possible that this machine is memory/IO bottlenecked and not CPU, because I note that GHC's compile time did not significantly change when I flipped those 2 parameters.
<dhess> would not surprise me
<LnL> for ghc memory helps more than cpu IIRC
<dhess> before I noticed that nix-build/Hydra were not accounting for load, I had buildCores 4 and maxJobs 4, and it tried to build ghc 8.0.2 and ghc 8.2.2 at the same time. I finally gave up after 16h
hiroshi has joined #nixos
<Sonarpulse> dtz: another odd thing is log files are missing
stepcut has joined #nixos
<dhess> anyway you are probably right, I should optimize for the really long builds and flip back to buildCores 4
<LnL> think I've been using maxJobs 2 buildCores 4
<dhess> that could be a good compromise, and hope that IO and CPU overlap between the 2 jobs
<LnL> yeah also I have maxJobs 4 in nix.conf that way I can still build something when hydra is busy
fresheyeball has joined #nixos
<fresheyeball> hey out there
<dhess> hmm interesting idea
<fresheyeball> I am putting some openvpn stuff in my configuration.nix for work
<fresheyeball> does doing this mean that now ALL my traffic is going to go through the vpn?
<fresheyeball> I might have some nsfw traffic sometimes...
<dhess> LnL: on the Hydra machine, Hydra uses the same buildMachines config as the host, right?
<dhess> so like, nix-build on the Hydra will see the same remote builder configuration as Hydra sees?
<LnL> depends, there's /etc/nix/machines and /var/lib/hydra/queue-runner/machines
<dhess> huh, I was not aware of the latter
<LnL> location might be slightly different, but you can configure it for hydra only
<catern> hmmm
<catern> okay, here is a crazy idea
<LnL> dhess: nixos-option services.hydra.buildMachinesFiles
<catern> it turns out, I am pretty sure, that... bootstrapping Nix is.. idempotent
<dhess> LnL: wow, thanks! Not sure how I missed that
<catern> that is, I'm pretty sure that I can just untar a bunch of files into /nix/store then do a nix-store --load-db and it's fine
<catern> does that seem right???
<catern> that seems *kind of* insane?
<dhess> I would like to leave a little in reserve for imperative builds
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/73a01aa028c (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [Client Quit]
[0x4A6F] has joined #nixos
<gchristensen> catern: thats right
<catern> is there any reason... not to do that regularly?
<catern> because, that would be really useful as a way to unify "bootstrap Nix" and "upgrade Nix"
<gchristensen> well why do it that way when you can just use nix to upgrade nix
<gchristensen> the nix installer goes as quickly as possible from not-nix to nix
octobyte has joined #nixos
<catern> well, because this way "bootstrap Nix" and "upgrade Nix" are unified? it's one single idempotent thing?
<LnL> DROP TABLE ValidPaths;
stepcut has quit [Remote host closed the connection]
<catern> aw!
<catern> does it really drop all existing valid paths when I load-db?
<catern> I didn't see that in the source...
<LnL> don't think so, just a joke :p
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 0170512 John Ericson: Merge branch 'ericson2314-cross-master'
<NixOS_GitHub> nixpkgs/master c305229 John Ericson: Merge commit '3ed545ab31146e607c57649936c75869d6aa9ba2' into ericson2314-cross-master
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/vNmqj
NixOS_GitHub has left #nixos [#nixos]
<catern> okay, so... yeah, I think what I want is, I have a single script which, regardless of whether Nix is currently installed, outputs the location of a fixed Nix version
<catern> and ensures that that Nix version has an initialized database which contains itself as a valid path
<catern> this can be done very very simply indeed :)
Jackneilll has joined #nixos
<catern> then, given that script, I can do the rest of my setup stuff...
<gchristensen> one way to make it so is install if it isn't installed, then nix-store -r /nix/store/hash-your-favorite-nix-version
<catern> that's fair too
<catern> yeah, maybe that's what the script should do?
<LnL> yeah, that should work
<dtz> Sonarpulse: that's been happening with me too re:logs, lol, not sure what's going on there :)
xcmw has quit [Quit: Textual IRC Client: www.textualapp.com]
MP2E has joined #nixos
hiratara has quit [Quit: ZNC - http://znc.in]
<dtz> Sonarpulse: I thought my hydra was just being its lovably brain-damaged self O:) :D
<catern> no, wait
Jackneill has quit [Ping timeout: 272 seconds]
<LnL> and if you don't register the temporary nix-store version it will get garbage collected automatically for you
<catern> gchristensen: if I do it my way, I can *always* deal with absolute paths
<Sonarpulse> dtz: uh oh
<Sonarpulse> well i just narrowed down the arm hack
<Sonarpulse> so hopefully that will help
<Sonarpulse> fix remaining regressions
<catern> gchristensen: because, otherwise, how do I find the "nix-store" binary?
hiratara has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] f-breidenstein opened pull request #33675: [WIP] Home Assistant (master...home-assistant) https://git.io/vNmmy
NixOS_GitHub has left #nixos [#nixos]
<catern> that's the thing that has been a thorn in my side previously, AFAIK there's no good way to always find the path to the nix tools
<gchristensen> you can copy https://nixos.org/nix/install to your local system and justalways use thath version
<LnL> catern: let nix = import <nix/config.nix>; in nix.nixBinDir
nixo202 has joined #nixos
<gchristensen> :O
<dtz> Sonarpulse: oh-- nvm I think logs working now. Think they weren't working previously b/c I had to restart pieces of Hydra manually. Maybe. Anyway hopefully things are good...
<catern> gchristensen: "always use that version"? not sure what you mean
<nixo202> How do I run automatically a command in a nix-shell file.nix from the cli? Like nix-shell -p package --run package but with the -p option and so on defined in the nix file
<gchristensen> sorry, can't focus. good luck :)
<LnL> if you know what path to nix-store -r you also know where nix-store is :)
<catern> LnL: exactly, that's the point, I don't have the path to nix-store -r
<dhess> Sonarpulse: got a patch I can try?
<catern> so that's why "nix-store -r" is not a sufficient way to find the absolute paths of things
nico202 has quit [Quit: Leaving]
<dhess> I'm building off a forked master right now so it's easy enough for me
<dhess> (forked just enough to get arm working)
<dhess> actually I can go back to upstream now that that arm cross thing was reverted
<catern> LnL: also "let nix = import <nix/config.nix>; in nix.nixBinDir" also doesn't work because, of course, if I can evaluate Nix code, I already know where Nix is :)
<LnL> yes, but you'd expand stuff to the full path when building the installer or whatever
<Sonarpulse> dtz: I hope official hydra restarts too!
<Sonarpulse> dhess: for which?
<catern> yes, absolutely, but say that full path doesn't exist on the target system
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #33676: gcc, binutils: Narrow down ARM hack so only native builds are affected (master...less-arm-hack) https://git.io/vNmOG
NixOS_GitHub has left #nixos [#nixos]
<catern> how do I make it appear there? I can't use the Nix tools - because that's what I'm looking for! so I need to bootstrap by hand whenever this happens
<LnL> make a tarball of the nix closure
<catern> which seems just fine, because I can just drop the closure into the Nix store and --load-db it in :)
<dhess> Sonarpulse: "well i just narrowed down the arm hack"
<catern> right! that's my plan :)
<Sonarpulse> dhess: oh i just opened PR
<dhess> oh
<Sonarpulse> one sec
<dhess> well there it goes :)
<catern> whenever I start deploying with a new version of Nix, I'll have to copy the closure over and --load-db it in
<gchristensen> but _why_
<dhess> Sonarpulse: geeze how did that break cross builds? It shouldn't have changed anything!
<gchristensen> install it if it isn't in the PATH, then it is in your PATH
<LnL> that's the point, you don't need the reginfo stuff if you nix-store is enough
<Sonarpulse> dhess: it broken cross compilers
stepcut has joined #nixos
nithor has quit [Ping timeout: 252 seconds]
<Sonarpulse> because those have host == target
<Sonarpulse> and are arm
kim0 has quit [Quit: Connection closed for inactivity]
<dhess> Sonarpulse: ohh wrong *Platform
<catern> LnL: could you say that again? didn't quite understand it "you don't need the reginfo stuff if you nix-store is enough"
<dhess> Sonarpulse: I am very sorry. I wouldn't have PRed that if I had known. :(
<dhess> it looked like it would only affect armv7l native builds. I guess that's what I get for trusting my eye
<catern> I can copy over the closure into /nix/store to bootstrap a new version of Nix - but if Nix is already deployed, then I need to do a --load-db to ensure the validity of the deployed version of Nix
xcmw has joined #nixos
<LnL> oh wait, the nix-store -r approach would redownload everything
<catern> er, ensure the validity of the database used by the old, previously-used, already-deployed version of Nix
stepcut has quit [Remote host closed the connection]
<LnL> that's probably not what you want
<Sonarpulse> dhess: see what I just wrote. I wrote that thing (in addition to reverting it) and I didn't intend it to either! :D
<catern> yes, right! also I assumed Nix would be very unhappy to see that there are already files in the path it wants to download to
<dhess> Sonarpulse: I'm sorry that you're sorry :D
<dhess> (little bit of Dr Strangelove humor there)
<catern> but, yeah, I don't want to redownload everything (or redownload anything, in fact... because I might be deploying to a host that doesn't even have network access!)
<Sonarpulse> dhess: hehehe
stepcut has joined #nixos
hke has quit [Quit: bye]
rardiol1 has left #nixos [#nixos]
stepcut has quit [Remote host closed the connection]
hke has joined #nixos
dywedir has quit [Ping timeout: 264 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hellrazo1 has quit [Ping timeout: 240 seconds]
hellrazo1 has joined #nixos
szicari has quit [Quit: szicari]
stepcut has joined #nixos
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/vNmsR
<NixOS_GitHub> nixpkgs/master 98b3db2 John Ericson: Merge pull request #33676 from obsidiansystems/less-arm-hack...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master c98e6b6 John Ericson: gcc, binutils: Narrow down ARM hack so only native builds are affected
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
sigmundv__ has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
alexteves has joined #nixos
spietz has quit [Quit: WeeChat 1.9.1]
<catern> hmm
xcmw has joined #nixos
<catern> it would be cool if the Nix bootstrap tarball was a self-extracting shell script
dag__ has quit [Ping timeout: 248 seconds]
knupfer has quit [Ping timeout: 246 seconds]
<catern> I guess it would also be unnecessarily complicated too
<dhess> Dezgeg: around?
nithor has joined #nixos
<Dezgeg> yup
<silver_hook> I’m following this tutorial: <https://nixos.wiki/wiki/Updating_a_package_in_Nixpkgs> and it seems that the nixpkgs folder has become a bit more complex since then.
stepcut has quit [Remote host closed the connection]
<silver_hook> BTW, does anyone know of a Kate highlighting for Nix?
mekeor has joined #nixos
<dhess> Dezgeg: your armv7l-linux binary cache, what channel or branch does it use?
<makefu> dhess: afair Dezgeg is using nixos-unstable
stephenjudkins has joined #nixos
<Dezgeg> yes, it's nixos-unstable
<makefu> also he is only building a subset of packages https://nixos.wiki/wiki/NixOS_on_ARM
<makefu> ah :D
<samueldr> it's easy, though, to update and have to rebuild if his rebuild hasn't finished yet
<dhess> ok thanks
<makefu> dhess: it is always nice seeing people from this channel creating accounts on the wiki :D (/me is totally not stalking or something)
<samueldr> dhess: if you need any help with the wiki (especially with formatting) don't hesitate to ping me
<samueldr> HAH, got ninja'd
<Dezgeg> you have a registration notification bot? :P
<samueldr> any wiki activity
<Dezgeg> not a bad idea for noticing those spammers quickly
<samueldr> it helped already
<dhess> cool, thanks for running it
<Havvy> Do you /really/ need the "bot" in the nickname?
<makefu> Dezgeg: with the current volume it is still manageable to look through most changes
srdqty has quit [Quit: WeeChat 1.9.1]
<samueldr> the bot owner decided to add bot to the name, I guess
gm152 has joined #nixos
dbe_ has quit [Ping timeout: 240 seconds]
MP2E has quit [Remote host closed the connection]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Sonarpulse> dtz: so we're getting infite recursion on the fixed output thing
<Sonarpulse> stdenv has a default native build input
<Sonarpulse> that has a src
<Sonarpulse> using fetchurl
<Sonarpulse> etc
<Sonarpulse> etc
fresheyeball has quit [Quit: WeeChat 1.9.1]
fyuuri has quit [Ping timeout: 268 seconds]
<dtz> hmm, I'm not sure how much I've been using it but it just seemed like a good idea. I remember being like "why am I re-downloading all sources but with a platform suffix?!!" which presumably that fixes
<dtz> d'oh re:recursion
ssmike has joined #nixos
<stephenjudkins> is there any way to easily install nix under an arbitrary root?
<dtz> fetchUrlBootCross :P
<stephenjudkins> without root permission?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lukeadams opened pull request #33677: platformio improvements (master...pio-git) https://git.io/vNmco
NixOS_GitHub has left #nixos [#nixos]
megfault has quit [Quit: WeeChat 1.9.1]
fleaz has quit [Quit: fleaz]
xcmw has joined #nixos
bennofs has quit [Ping timeout: 255 seconds]
MP2E has joined #nixos
<dtz> oh you fixed, yay Sonarpulse)
<dtz> sorry for delay, idk what's going on
<Sonarpulse> dtz: ok fixed the basic cross problem, but need to clean up other fixed outputs
dag_ has joined #nixos
ryantrinkle has quit [Ping timeout: 256 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shlevy> offlinehacker[m]: Hey, around?
alexteves has quit [Ping timeout: 248 seconds]