<clever> ldlework: the nix install script on darwin asks if you want single or multi-user when you run it
markus1189 has joined #nixos
rogue_koder_ has quit [(Ping timeout: 248 seconds)]
markus1199 has quit [(Ping timeout: 240 seconds)]
dkellner has joined #nixos
StevenTian has joined #nixos
StevenTian has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lo1tuma opened pull request #31066: nodejs: init at 9.0.0 (master...nodejs-9.0.0) https://git.io/vFOJg
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #18590: huginn: init at 2016-09-14 (master...huginn) https://git.io/viwmY
NixOS_GitHub has left #nixos []
tgunb has quit [(Quit: Leaving.)]
vibes has quit [(Quit: Page closed)]
rogue_koder_ has joined #nixos
tgunb has joined #nixos
otulp has quit [(Ping timeout: 240 seconds)]
<universalpackage> how can i get this "libc.so.6 => /usr/lib/libc.so.6 (0x00007efed8d3e000)" to be "./libc.so.6 (0x00007efed8d3e000)"
<universalpackage> cus "gcc -o dummy3 dummy.c ./libc-2.25.so -Wl,-dynamic-linker,ld-2.25.so" doesnt work
ison111 has joined #nixos
dkellner has quit [(Remote host closed the connection)]
<clever> universalpackage: try -l./libc-2.25.so?
ylwghst has quit [(Quit: Lost terminal)]
pxc has joined #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/21bb269a32 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
<universalpackage> ok
ylwghst has joined #nixos
<universalpackage> /usr/bin/ld: cannot find -l./libc.so.6
<universalpackage> $ ls -l ./libc.so.6
<universalpackage> lrwxrwxrwx 1 universalpackagemanager universalpackagemanager 12 01.11.2017 10:36 ./libc.so.6 -> libc-2.25.so*
roberth has quit [(Ping timeout: 246 seconds)]
<clever> universalpackage: what about -L. -lc ?
pxc has quit [(Ping timeout: 240 seconds)]
<tgunb> are there people with the specific task to forward issues to upstream?
<universalpackage> it compiles but it still displays libc.so.6 => /usr/lib/libc.so.6 (0x00007fcb3a917000) ;-;
Sonarpulse has quit [(Ping timeout: 246 seconds)]
<clever> universalpackage: are you using the nixpkgs gcc or the host gcc?
<universalpackage> host
<universalpackage> echo "main() { }" > dummy.c ; cp /usr/lib/libc-2.25.so ./ ; ln -s libc-2.25.so libc.so.6 ; cp /usr/lib64/ld-2.25.so ./ ; ln -s ld-2.25.so ./ld-linux-x86-64.so.2 ; gcc -o dummy3 dummy.c -L. -lc -Wl,-dynamic-linker,ld-2.25.so ; ldd dummy3
<clever> universalpackage: what are you trying to do?
<universalpackage> make libc load from ./
<clever> universalpackage: why?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] siddharthist opened pull request #31067: iwona: init at 0_995 (master...iwona) https://git.io/vFOTf
NixOS_GitHub has left #nixos []
<universalpackage> so i can hopefully make it static-like but still support dynamic so loading
thc202 has quit [(Ping timeout: 260 seconds)]
<clever> universalpackage: most things use LD_LIBRARY_PATH to do that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31066: nodejs: init at 9.0.0 (master...nodejs-9.0.0) https://git.io/vFOJg
NixOS_GitHub has left #nixos []
pxc has joined #nixos
<orivej> universalpackage: maybe this will be of use: https://github.com/orivej/ldcp
<clever> bbl
ultrasparc[m] has left #nixos ["User left"]
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
<universalpackage> lol why python?
<universalpackage> it just uses external files and no actual python modules
otulp has joined #nixos
<universalpackage> at modt it just re-impliments a shell script lol
<universalpackage> kmost*
<universalpackage> most*
gandreani has joined #nixos
scribbler has quit [(Ping timeout: 260 seconds)]
<orivej> because it has much more fors and ifs than execs.
<adisbladis> universalpackage: It's much more sane to write scripts in python. Shell scripts are pretty crazy.
<adisbladis> orivej: Great stuff btw :) Seems pretty useful
<orivej> Thanks! I've used it once, but a few more people used it once too, so that's something :)
srdqty has joined #nixos
srdqty has quit [(Client Quit)]
<adisbladis> orivej: I was looking for something like that not long ago :)
<adisbladis> But ended up dropping a dependency instead so I could statically link my application
<adisbladis> Could probably have spent even more time fixing that with musl or something but meh, too much work.
otulp has quit [(Ping timeout: 240 seconds)]
goibhniu has quit [(Ping timeout: 240 seconds)]
otulp has joined #nixos
sigmundv__ has joined #nixos
<orivej> universalpackage: AFAIK there is no way to make `ld` (and by extension `gcc`) write relative paths for the shared libraries, you have to use patchelf if you want this
<universalpackage> nvm it was LD_LIBRARY_PATH instead of LIBRARY_PATH, but unfortunately ldd defaults to the systems libc if LD_LIBRARY_PATH is not specified when ldd'ing
frankpf has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dalaing opened pull request #31068: nixos manual: Adds some examples of how to use fdisk. (master...fdisk-examples) https://git.io/vFOkN
NixOS_GitHub has left #nixos []
<dalaing> heh, I should probably have discussed that / sought opinions on it before I put it up
scribbler has joined #nixos
<dalaing> clearly that means I need more coffee...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFOI3
<NixOS_GitHub> nixpkgs/master f1e8138 Mathias Schreck: nodejs: 8.8.1 -> 8.9.0
<NixOS_GitHub> nixpkgs/master e0d3ef7 Orivej Desh: Merge pull request #31065 from holidaycheck/nodejs-8.9.0...
NixOS_GitHub has left #nixos []
<tilpner> Not everyone needs a swap partition, but the manual is probably not the right place for the "do I need swap" discussion :/
aminechikhaoui has quit [(Ping timeout: 258 seconds)]
srdqty has joined #nixos
<dalaing> for sure, it just seemed to fit with the rest of the examples - there's also a discussion around "do I need a boot partition"
<dalaing> we've had a few people trip up with UEFI vs not UEFI (typically in virtualbox) as well, it all seems to be in the manual, but could perhaps be clearer
<dalaing> might write up some notes next time we onboard someone and put forward some kind of PR for that as well
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
<cheshircat> Hey, question, does anyone have experience packaging Electron software? I want to get the new Signal Desktop working
<dalaing> just fixed a copy-pasto / typo, I do need more coffee
<tilpner> cheshircat - Maybe look at https://github.com/ralith/riot-electron-nix
<Ralith> it's slightly hacky but it works well
<Ralith> a nixier person could probably clean it up some
<cheshircat> hmmm, OK
<cheshircat> The other option is to use the .deb file, but I guess as it is open source the from source way is preferable
otulp has quit [(Ping timeout: 240 seconds)]
jgertm has quit [(Ping timeout: 240 seconds)]
alhariel has quit [(Remote host closed the connection)]
alhariel has joined #nixos
<dalaing> hmm, seems the boot partition situation is a little more nuanced than I thought, could do with some cleanup as well: https://github.com/NixOS/nixpkgs/issues/9096
loz has joined #nixos
pie_ has quit [(Quit: Leaving)]
notdaniel has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #24936: ghost: init at 0.11.9 (master...add-ghost) https://git.io/vS5JC
NixOS_GitHub has left #nixos []
otulp has joined #nixos
<universalpackage> what file controles what search path will be for finding libraries?
<universalpackage> 21738: find library=libc.so.6 [0]; searching
<universalpackage> 21738: search path=./tls/x86_64:./tls:./x86_64:. (LD_LIBRARY_PATH)
<universalpackage> (LD_LIBRARY_PATH=./ LD_TRACE_LOADED_OBJECTS=1 LD_WARN=yes LD_BIND_NOW=yes LD_LIBRARY_VERSION=yes LD_VERBOSE=yes LD_DEBUG=all ./dummy3)
scribbler has quit [(Remote host closed the connection)]
srdqty has quit [(Quit: WeeChat 1.9.1)]
tgunb has quit [(Quit: Leaving.)]
scribbler has joined #nixos
hellrazo1 has joined #nixos
scribbler has quit [(Ping timeout: 240 seconds)]
hellrazor has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFOqJ
<NixOS_GitHub> nixpkgs/master f2621d4 Yegor Timoshenko: nixos-generate-config: enforce umask 0022, fixes #30954
<NixOS_GitHub> nixpkgs/master efea96d Orivej Desh: Merge pull request #31007 from yegortimoshenko/nixos-generate-config/umask...
NixOS_GitHub has left #nixos []
iqubic has joined #nixos
gandreani has quit [(Ping timeout: 248 seconds)]
marusich has joined #nixos
scribbler has joined #nixos
<orivej> universalpackage: "tls" and "x86_64" are not configurable, they are built into ld.so
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31063: icicles: 2014-11-06 -> 2017-10-28 (master...icicles-update) https://git.io/vFYpN
NixOS_GitHub has left #nixos []
scribbler has quit [(Ping timeout: 264 seconds)]
sigmundv has quit [(Ping timeout: 260 seconds)]
sigmundv__ has quit [(Ping timeout: 260 seconds)]
mrkgnao has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFOqd
<NixOS_GitHub> nixpkgs/master bfbe560 Ricardo M. Correia: ibus: fix emoji hashes
<NixOS_GitHub> nixpkgs/master 34cd077 Orivej Desh: Merge pull request #30981 from wizeman/u/fix-ibus-emoji-hash...
NixOS_GitHub has left #nixos []
scribbler has joined #nixos
otulp has quit [(Ping timeout: 246 seconds)]
Supersonic112 has quit [(Disconnected by services)]
scribbler has quit [(Ping timeout: 248 seconds)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4c263586f6 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
scribbler has joined #nixos
lambdamu has joined #nixos
lambdamu_ has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6d1317ab31 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<universalpackage> ok
otulp has joined #nixos
<ldlework> dang downloading https://nixos.org/releases/nix/nix-1.11.15/nix-1.11.15-x86_64-darwin.tar.bz2 is slowwwwwwwwwwwwwwwww
<ghostyy> i am having a strange problem where gp exits with segfault approximately 50% of the time i start it? has anyone else had something similar happen to them on nixos?
<ghostyy> gp i believe generates a large list of prime numbers on startup, to speed up calculations
<ghostyy> so that might be whats triggering it
ertes has joined #nixos
<ldlework> clever I just ran the install script manually, with a tty, so no piping into sh
<ldlework> it never asked me whether I wanted single or multi user install
<ldlework> it just installed multi-user with the daemon, etc
<ldlework> right at the start it says:
<ldlework> Switching to the Multi-User Darwin Installer
<ldlework> Welcome to the Multi-User Nix Installation
<ldlework> lol
aminechikhaoui has joined #nixos
mbrgm has quit [(Ping timeout: 255 seconds)]
mbrgm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #30570: ocamlPackages.csv: Fix source URL (release-17.09...ibor-17.09) https://git.io/vd78j
NixOS_GitHub has left #nixos []
mrkgnao has quit [(Ping timeout: 248 seconds)]
gandreani has joined #nixos
<adisbladis> dalaing: Just an FYI. It's not necessary to set the boot flag on pretty much all modern boot loaders and hardware.
<ldlework> erm this seems to show that multi-user is the only option for darwin... https://gist.github.com/dustinlacewell-wk/787a6a1fcb367ca5805f0ac90f8f313e
<dalaing> adisbladis: ah, cool, will take that line out then :)
<adisbladis> I have heard of some weird older firmware enforce it though and it doesn't really case any harm
<adisbladis> dalaing: Before you do that read ^ ;)
<dalaing> for sure
<adisbladis> So I would leave it in there anyway :)
<dalaing> currently knitting together the BIOS and UEFI instructions
<adisbladis> For most users it doesn't matter, for some it might.
<dalaing> would be nice to see movement on https://github.com/NixOS/nixpkgs/issues/9096, figured I'd take a shot at it
<adisbladis> dalaing: You are doing good work :)
<dalaing> heh, I think it's necessary, reviewers will decide if it's good or not :)
<dalaing> I'm doing a touch of stunt flying with fdisk, so that people don't have to do disk size maths
ylwghst has quit [(Ping timeout: 248 seconds)]
<dalaing> ie (for UEFI) set up partition 3 as boot at 512 Mb, set up partition 2 as swap at 8GB (or whatever), set up partition 1 as root with the remaining space
joehh has quit [(Ping timeout: 240 seconds)]
<dalaing> then use expert mode to clean up the ordering
<dalaing> we'll see how that turns out I guess
ylwghst has joined #nixos
gandreani has quit [(Quit: night!)]
<adisbladis> dalaing: I will usually order them differently. Put boot and swap partitions first and then default to "rest" for primary
<dalaing> I'm trying to make all of this line up with the other examples and docs :)
<dalaing> which have primary as partition 1 and swap as partition 2
<dalaing> otherwise I would have exactly what you describe
<disasm> dalaing: thanks for working on this! If you want to continue to help with documentation going forward, there's a group of us in #nixos-docs. You're welcome to join us!
<ldlework> Does anyone know when I force single-user install on OSX I get this strange error? https://gist.github.com/dustinlacewell-wk/787a6a1fcb367ca5805f0ac90f8f313e "error: setting uid: Operation not permitted; error: cannot kill processes for uid ‘30001’: failed with exit code 1"
<dalaing> I'm mostly trying to get this done because I know someone who flipped a table when they reached the "use fdisk" part with no further details - I have a bet with myself that I can get this done in a smaller amount of time than they have spent complaining about it :)
pxc has quit [(Read error: Connection reset by peer)]
otulp has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
<adisbladis> dalaing: Wait. Are you saying that the fdisk user experience is not intuitive? :D
damke has joined #nixos
<ldlework> Hmm 👍 I can only conclude the single-user Nix does not work properly on OSX
<adisbladis> ldlework: My colleagues would say differently
<ldlework> Well that's not really helpful
<ldlework> adisbladis The multiuser install is hardcored into the Nix install script
<ldlework> Commenting it out, the script will fail when it is unable to setuid when running as your normal user
<ldlework> Using sudo (which the script complains wont work) installs nix, but then /nix is owned by root.
<ldlework> Chowning /nix to your user makes the Nix commands work, but ultimately fail any builds due to the inability to setuid once again
<dalaing> the new version of https://github.com/NixOS/nixpkgs/pull/31068 is up - time for lunch :)
<ldlework> What did I miss?
<ldlework> adisbladis let me know if you have any ideas.
<dalaing> ah, that's part of another discussion
<adisbladis> ldlework: My colleague said he followed this guide to convert the multi-user setup to a single-user one http://zzamboni.org/post/using-nixs-single-user-mode-on-macos/
<ldlework> Yeah I'm aware of that stuff, but it complicates the install process for trying to market Nix within an organization
<ldlework> clever told me the main install script should be able to single-user install so that is what I was investigating.
proteusguy has quit [(Remote host closed the connection)]
<ldlework> I guess I will just bake those instructions into a script
otulp has joined #nixos
<cbarrett> i'm interested in learning more about packaging docker containers with nix/disnix
jushur has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFO3g
<NixOS_GitHub> nixpkgs/master 978bba8 Piotr Bogdan: autotrace: mark as insecure
<NixOS_GitHub> nixpkgs/master 73fe832 Samuel Leathers: Merge pull request #30988 from pbogdan/autotrace-insecure...
NixOS_GitHub has left #nixos []
<adisbladis> cbarrett: What do you want to know?
alhariel has quit [(Quit: Leaving)]
<cbarrett> well at $work our dev environment is set up with docker-compose and some scripts and i'd prefer to have that all done via nix-shell :)
<cbarrett> still a newbie nixer though
<cbarrett> :D
<cbarrett> disasm: I guess I'm more interested in the docker-compose side of things than actually building the docker images themselves. that part seems to work ok, it's the container orchestration that I'm hoping to make smoother
<cbarrett> adisbladis:
MrCoffee has quit [(Quit: Lost terminal)]
<cbarrett> oops
<cbarrett> adisbladis: docker-compose related things
<adisbladis> cbarrett: Ahh check. I was gonna send you the same link as disasm
<cbarrett> :D
<cransom> i don't htink nix-shell will give you the kind of docker-compose/orchestration functionality you are probably looking for
<cbarrett> why not? I just meant that I want to be able to have a dev environment set up after I run nix-shell and shut down when I exit out
<cransom> is it just going to start up containers and you kill them when you leave it?
acowley is now known as acowley_away
tylerjl has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
leothrix has joined #nixos
damke_ has joined #nixos
<cbarrett> cransom: are you familiar with docker-compose? does a bit more than just start containers
damke has quit [(Ping timeout: 240 seconds)]
<cransom> yes, it would define networks and create links between containers, define storage, mounts, etc.
<cbarrett> disasm: yeah! disnix is on my radar. just not sure how to map between disnix and our existing docker-compose stuff
<ldlework> cbarrett nix-shell is more like using an attached Docker container with bash as the entry point or something
<cbarrett> sure, is there really such a big difference though?
<cbarrett> wasnt really the critical part of what I was asking about i thought, maybe im wrong
<cransom> maybe my question is, if you do your deployment via a docker-compose file and you want your dev to look something like what your production is, a different process for testing and running your dev env than production is going to prop up some issues at some point
<ldlework> agreed
<cransom> that wasn't a questioni suppose, but an observation.
<ldlework> using the same exact tooling for deploying your services locally and to CI/production is a huge boon
<cransom> i've been working around a homegrown build pipeline that someone built where the tools in use to develop are fast, but in no way look like even the qa env so you end up tweaking code in multiple places. usually after waiting 2 hours for the qa build to fail and then you go back and fix your initial commit
<cbarrett> these are true enough in the abstract but in my specific case, no
<cbarrett> also we aren't using docker compose for deployment, just for setting up the dev environment
<ldlework> cransom same. I just onboarded to a new company doing SRE and its ridiculous how many issues I've run into because of how CI is slightly different
<cbarrett> other container management is used for prod
<ldlework> cbarrett what exactly do you mean by dev environment
<ldlework> as in, providing tooling and shell-based environment for developing some project?
<cransom> ldlework: high 5. while holding back tears.
<ldlework> or do you mean standing up a service's components up locally?
<cbarrett> the latter. never heard anyone use "dev environment" for #1
<ldlework> I have, plenty
<cbarrett> good for you
* ldlework backs away...
<ldlework> cransom I used to work at Docker Inc. Things are highly standardized there, using good best practices. It was really nice.
<ldlework> At least I have a sense of what to aim for at the new place ;)
<adisbladis> At my work we just "nix-shell --pure" for our dev environments (and with that I mean dropped in to a shell with all the tooling). Optionally there is a custom made service run script that sets everything up from scratch every time and optionally runs the test suite.
<adisbladis> We then use the same nix files as for the dev environments to build production docker images
<adisbladis> It's pretty nice.
<adisbladis> I don't see containers as a development tool.
<ldlework> adisbladis absolutely, one upside to using containers for development is that nobody has to have the dependencies to do work - one major downside though is that since tooling and dependencies are wrapped up in the container, your local editor and so on cannot benefit from language facilities and so on. nix-shell bridges the gap. And yeah, if you just run Nix OS in your containers then you're getting that good reproducability. But be assured
<ldlework> swaths of people are using containers for development.
<ldlework> Gotta spread the Nix gospel.
ylwghst has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30980: cjdns: fix hash (master...u/fix-cjdns-hash) https://git.io/vFthL
NixOS_GitHub has left #nixos []
mkoenig has quit [(Ping timeout: 246 seconds)]
fooz has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
schoppenhauer has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/21bb269a32 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e336363400 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e336363400 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
<bencoman> I've updated https://nixos.wiki/wiki/Create_and_debug_nix_packages with what I learned from :‎MichaelRaskin: and :srhb: last night. But I'm new to nix so could someone please check the diff... https://nixos.wiki/index.php?title=Create_and_debug_nix_packages&diff=1223&oldid=1121
<bencoman> one thing I'm not clear on is the effect of "export out=" -- I thought it might redirect build artifacts out of tree, but it seems not too. I've examined https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh but not grokked $out usage.
proteusguy has joined #nixos
a6a3uh has joined #nixos
pie_ has joined #nixos
a6a3uh has quit [(Quit: Bye)]
a6a3uh has joined #nixos
jbgi has joined #nixos
a6a3uh has quit [(Client Quit)]
pxc1 has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
tanonym has joined #nixos
universalpackage has quit [(Ping timeout: 240 seconds)]
fooz has quit [(Quit: Page closed)]
pie_ has quit [(Read error: Connection reset by peer)]
a6a3uh has joined #nixos
a6a3uh has quit [(Client Quit)]
orivej has quit [(Ping timeout: 252 seconds)]
jbgi has quit [(Ping timeout: 258 seconds)]
damke_ has quit [(Ping timeout: 240 seconds)]
MichaelRaskin has quit [(Ping timeout: 240 seconds)]
frankpf has quit [(Ping timeout: 264 seconds)]
tanonym has quit [(Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #31071: nixos-prepare-root: chmod if dir already exists (master...nixos-install/mkdir-or-chmod) https://git.io/vFOc7
NixOS_GitHub has left #nixos []
damke_ has joined #nixos
iqubic has quit [(Remote host closed the connection)]
damke has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
kragspooks is now known as kragniz
damke has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mankarse opened pull request #31072: utox: 0.13.1 -> 0.16.1 (master...utox-0.16.1) https://git.io/vFOCP
NixOS_GitHub has left #nixos []
Wizek has quit [(Quit: Connection closed for inactivity)]
MP2E has joined #nixos
pie_ has joined #nixos
leat has quit [(Quit: WeeChat 1.9.1)]
_rvl has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
_rvl has joined #nixos
damke_ has joined #nixos
MercurialAlchemi has joined #nixos
pxc1 has quit [(Ping timeout: 248 seconds)]
pxc1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vFOWs
<NixOS_GitHub> nixpkgs/staging 7320572 Vladimír Čunát: closure-info: half-blind attempt to fix on Hydra...
NixOS_GitHub has left #nixos []
pxc1 has quit [(Ping timeout: 240 seconds)]
Lisanna has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterromfeldhk opened pull request #31073: jazzy: init at 0.9.0 (master...jazzy) https://git.io/vFOWR
NixOS_GitHub has left #nixos []
Lisanna has quit [(Client Quit)]
<srhb> Was it Bas van Dijk that spoke about maintaining a private nixpkgs by keeping patches on top of some upstream channel? Is there a writeup of this approach somewhere (or was it in the slides?)
zzamboni has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] midchildan opened pull request #31074: mikutter: 3.5.7 -> 3.5.13 (master...fix-mikutter) https://git.io/vFOWy
NixOS_GitHub has left #nixos []
kuznero has joined #nixos
damke_ has joined #nixos
ma27 has joined #nixos
damke has joined #nixos
<kuznero> Hi All! Excellent sessions on NixCon this year! Thanks to the speakers!
damke_ has quit [(Ping timeout: 240 seconds)]
leat has joined #nixos
scribbler has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vFOlm
<NixOS_GitHub> nixpkgs/staging c4be15a Vladimír Čunát: closure-info: another half-blind attempt to fix on Hydra...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #31075: runescape-launcher: init at 2.2.4, fixes #30582 (master...runescape-launcher/init) https://git.io/vFOl6
NixOS_GitHub has left #nixos []
ambro718 has joined #nixos
scribbler has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
endformationage has quit [(Quit: WeeChat 1.9.1)]
pie_ has quit [(Ping timeout: 248 seconds)]
pie_ has joined #nixos
damke has joined #nixos
scribbler has quit [()]
<hl> What is the situation with the availability of mingw-w64 on NixOS Linux for targeting Windows?
zzamboni has quit [(Read error: Connection reset by peer)]
rogue_koder_ has quit [(Quit: Konversation terminated!)]
yegortimoshenko has joined #nixos
<gchristensen> manveru: ping?
<yegortimoshenko> there is an issue open that says that specifying phases directly is discouraged. how do i disable unpackPhase w/o touching phases?
<gchristensen> yegortimoshenko: unpackPhase = ":"
<yegortimoshenko> gchristensen: thanks. your borg is cool
<gchristensen> thanks! :)
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vFO8y
<NixOS_GitHub> nixpkgs/master 06d7e54 Vladimír Čunát: Merge branch 'staging'...
NixOS_GitHub has left #nixos []
damke has quit [(Ping timeout: 240 seconds)]
magnetophon has quit [(Remote host closed the connection)]
damke has joined #nixos
dkellner has joined #nixos
thc202 has joined #nixos
TechTonic9Nail has joined #nixos
<TechTonic9Nail> Whats this
proteusguy has quit [(Ping timeout: 240 seconds)]
damke has quit [(Read error: Connection reset by peer)]
damke_ has joined #nixos
<disasm> TechTonic9Nail: what's what?
ma27 has quit [(Ping timeout: 248 seconds)]
ison111 has quit [(Ping timeout: 260 seconds)]
<sphalerite> How can I see how much would be downloaded by nix-store --repair-path?
<LnL> srhb: I think he had a slide with an example
<sphalerite> hl: I've used it to some degree of succedd
<sphalerite> hl: I've got a draft of a blog post about it, I can probably publish it tomorrow
<hl> Linus: Can you give me an example? There's no documentation and, though I can see mingw-w64 code in nixpkgs, I've no idea how to make use of it...
<sphalerite> The main pain point was library
<hl> Linus: That would be extremely useful, thank you.
<sphalerite> Libraries*
<sphalerite> If you're willing to manage your libraries manually it should be fine. I myself tried to use libraries through nixpkgs which required a lot of changes
jushur has quit [(Ping timeout: 260 seconds)]
jacob has joined #nixos
pie_ has quit [(Ping timeout: 260 seconds)]
lissyx has quit [(Remote host closed the connection)]
Tad_ has joined #nixos
tdc has joined #nixos
Tad_ has quit [(Client Quit)]
jushur has joined #nixos
makefu has quit [(Ping timeout: 260 seconds)]
tadeusz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] danbst opened pull request #31076: containers: autoStart doc typo (master...patch-14) https://git.io/vFOBk
NixOS_GitHub has left #nixos []
ma27 has joined #nixos
notdaniel has joined #nixos
proteusguy has joined #nixos
guillaum2 has joined #nixos
tadeusz has quit [(Ping timeout: 248 seconds)]
<TechTonic9Nail> hello captain plannet
glenn_ has joined #nixos
glenn_ is now known as scribbler
proteusguy has quit [(Excess Flood)]
proteusguy has joined #nixos
dkellner has quit [(Ping timeout: 246 seconds)]
c0bw3b has joined #nixos
ssmike has joined #nixos
gilligan_ has joined #nixos
nslqqq has quit [(Ping timeout: 240 seconds)]
<gilligan_> For those who were at the NixCon2017 hackathon - would be great if you could reply to https://twitter.com/tpflug/status/925430148622581760 and tell me what you were working on during the Hackathon ;-) *Thank You*
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
barru_but_spooky is now known as barrucadu
symplectico_ has joined #nixos
ma27 has quit [(Ping timeout: 248 seconds)]
ckauhaus has joined #nixos
nslqqq has joined #nixos
pie_ has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
<sphalerite> TechTonic9Nail has been trolling #systemd, just a warning...
ssmike has quit [(Ping timeout: 264 seconds)]
zzamboni has joined #nixos
ThatDocsLady has joined #nixos
ma27 has joined #nixos
ssmike has joined #nixos
zzamboni has quit [(Client Quit)]
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
tdc_ has joined #nixos
zzamboni has joined #nixos
tdc has quit [(Ping timeout: 248 seconds)]
tdc_ has quit [(Ping timeout: 258 seconds)]
marusich has quit [(Ping timeout: 258 seconds)]
marusich has joined #nixos
pxc1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] luispedro opened pull request #31077: pythonPackage.jug: 1.6.1 -> 1.6.3 (master...jug_update_163) https://git.io/vFOzE
NixOS_GitHub has left #nixos []
MichaelRaskin has joined #nixos
pxc1 has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vFOzH
<NixOS_GitHub> nixpkgs/master af0c3fc Peter Hoeg: tvheadend: fix version detection and wrap bzip2 to support backups
NixOS_GitHub has left #nixos []
tdc has joined #nixos
periklis has joined #nixos
zraexy has joined #nixos
roberth has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
zraexy has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #31078: slack: 2.8.0 -> 2.8.2 (potential electron security update) (master...slack-2.8.2) https://git.io/vFOgn
NixOS_GitHub has left #nixos []
ssmike has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nixy opened pull request #31079: Move my python pkgs (master...move-my-python-pkgs) https://git.io/vFOgX
NixOS_GitHub has left #nixos []
zzamboni has quit [(Quit: Leaving.)]
pie_ has quit [(Ping timeout: 260 seconds)]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vFO2m
<NixOS_GitHub> nixpkgs/master 6574d21 gnidorah: xwayland: enable acceleration with help of glamor
<NixOS_GitHub> nixpkgs/master 07d429a Peter Hoeg: Merge pull request #30828 from gnidorah/xwayland...
NixOS_GitHub has left #nixos []
jushur has quit [(Ping timeout: 248 seconds)]
tadeusz has joined #nixos
hke has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
nslqqq has quit [(Ping timeout: 248 seconds)]
nslqqq has joined #nixos
tadeusz has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/e336363400 (from 7 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] Mic92 closed pull request #31079: Move my python pkgs (master...move-my-python-pkgs) https://git.io/vFOgX
NixOS_GitHub has left #nixos []
7GHAA0ZRN has joined #nixos
<7GHAA0ZRN> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vFOaE
<7GHAA0ZRN> nixpkgs/master cbd65e7 Andrew R. M: pythonPackages.rply: move to python-modules/
<7GHAA0ZRN> nixpkgs/master 6743ff2 Andrew R. M: pythonPackages.rply: 0.7.4 -> 0.7.5
<7GHAA0ZRN> nixpkgs/master 09bdae2 Jörg Thalheim: pythonPackages.rply: enable tests
7GHAA0ZRN has left #nixos []
Mrmaxmeier has joined #nixos
hke has quit [(Quit: bye)]
jtojnar has joined #nixos
hke has joined #nixos
jushur has joined #nixos
roberth has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vFOVz
<NixOS_GitHub> nixpkgs/master 0671a2b Luis Pedro Coelho: pythonPackage.jug: 1.6.1 -> 1.6.3...
<NixOS_GitHub> nixpkgs/master 25ed4dc Jörg Thalheim: python.pkgs.jug: move to python modules
<NixOS_GitHub> nixpkgs/master cd2851b Jörg Thalheim: Merge pull request #31077 from luispedro/jug_update_163...
NixOS_GitHub has left #nixos []
sigmundv has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31076: containers: autoStart doc typo (master...patch-14) https://git.io/vFOBk
NixOS_GitHub has left #nixos []
tanonym has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vFOVX
<NixOS_GitHub> nixpkgs/release-17.09 b2c9b15 Danylo Hlynskyi: containers: autoStart doc typo...
NixOS_GitHub has left #nixos []
<toogley> is there a specific reason the steam package uses mono and doesn't use the content of the debian package provided by valve?
<toogley> i mean, it seems it uses the windows binary and runs over mono
Neo-- has joined #nixos
<tilpner> Is the .deb used for any other part of the steam runtime?
erictapen has quit [(Ping timeout: 248 seconds)]
<tilpner> Oh
davidak has joined #nixos
<freeman42x> possible node2nix bug: https://github.com/svanderburg/node2nix/issues/59
yegortimoshenko has quit [(Ping timeout: 246 seconds)]
paraseba has quit [(Remote host closed the connection)]
damke has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
<guillaum2> is there a way to populate "src" variable with the result of a command (for example, "git ls-files") ?
<manveru> gchristensen: pong
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<tilpner> guillaum2 - You could use runCommand for that, but it won't work well for network remotes
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar closed pull request #31030: Flag my-self as owner of Nixpkgs and NixOS internals (master...add-nbp-codeowner) https://git.io/vFmlq
NixOS_GitHub has left #nixos []
MP2E has quit [(Remote host closed the connection)]
<tilpner> Or I may be confusing that with git ls-remote...
Wharncliffe has joined #nixos
davidak has quit [(Ping timeout: 248 seconds)]
<guillaum2> tilpner: thank you, I'm trying that.
whald has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
zzamboni has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vFOKz
<NixOS_GitHub> nixpkgs/master 8a59ef7 zimbatm: wireguard: 0.0.20171017 -> 0.0.20171101
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
damke_ has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
whald has quit [(Remote host closed the connection)]
thblt has joined #nixos
whald has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
hamishmack has joined #nixos
zzamboni has joined #nixos
joehh has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
<thblt> Hi! I'm trying to use my Yubikeys as U2F devices on Firefox 56.0.1 on NixOS 17.09, but Firefox doesn't seem to see the keys. Everything's fine from Chromium. Any idea how I can start troubleshooting that?
zzamboni has joined #nixos
ma27 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar closed pull request #31062: Fix ghcjs socket.io usage (master...ghcjs-fix) https://git.io/vFYdV
NixOS_GitHub has left #nixos []
<michaelpj> thblt: afaik Firefox just doesn't support that. I discovered this to my disappointment some time ago. There's a FF issue open for it somewhere
tanonym has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #31081: mpv: wayland support by default (master...mpv) https://git.io/vFOiT
NixOS_GitHub has left #nixos []
<michaelpj> there's an extension that claims to make it work, but it didn't work for me
<thblt> michaelpj: There are two configuration options in recent Firefox to enable it. It's supposed to work, I think.
<thblt> security.webauth.u2f and security.webauth.u2f_enable_usbtoken
<thblt> I'm asking #firefox too, but the channel seems dead.
<michaelpj> huh, interesting
<michaelpj> which FF version is that in? nightly?
zzamboni has quit [(Ping timeout: 260 seconds)]
ssmike has joined #nixos
<thblt> The keys exist (defaulted to false) in Fx 56.0.1 shipping with NixOS 17.09.
<tilpner> thblt - irc.mozilla.org/#firefox might be a little more active
<thblt> tilpner: thanks, I'll give this a try. Just need the time to find out how to connect to two servers on ERC :)
TechTonic9Nail has quit [(Ping timeout: 240 seconds)]
ssmike has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
ssmike has joined #nixos
<michaelpj> thblt: I'd be interested to hear what you find out, since I'd like that to work
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli opened pull request #31082: libtasn1: fix CVE number (master...cve-2017-10790) https://git.io/vFOia
NixOS_GitHub has left #nixos []
<thblt> michaelpj: sure!
symplectico_ has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
thblt has quit [(Remote host closed the connection)]
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<toogley> tilpner: .deb is just the package format (like a zip file) for debian. so i guess not
thblt has joined #nixos
zzamboni has quit [(Ping timeout: 252 seconds)]
Wizek has joined #nixos
periklis has quit [(Ping timeout: 258 seconds)]
paraseba has joined #nixos
zzamboni has joined #nixos
ma27 has joined #nixos
TweyII has joined #nixos
TweyII is now known as Guest70409
a6a3uh has joined #nixos
Itkovian has joined #nixos
<woffs> Hi. Is i915_dri.so broken? Am I the last i915 user? https://github.com/NixOS/nixpkgs/issues/30758
<MichaelRaskin> i915 on the Xorg side? Actually, quite likely.
<MichaelRaskin> Hm, no that's GL side.
<MichaelRaskin> I meant that the normal stack is i915.ko/modesetting
<thblt> michaelpj: <ttaubert> thblt: try with Firefox 57, the USB code didn't make it into 56
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar force-pushed osx_private_sdk_remove_runtime from 92382e8 to 8661bd0: https://git.io/vFO1M
<NixOS_GitHub> nixpkgs/osx_private_sdk_remove_runtime 8661bd0 Domen Kožar: osx_private_sdk: reduce output size and remove it from runtime closures
NixOS_GitHub has left #nixos []
notdaniel has quit [(Quit: Leaving)]
<michaelpj> thblt: thanks
<woffs> MichaelRaskin: i915.ko is loaded, and modesetting is not disabled. No special stuff configured.
Wharncliffe has quit [(Quit: Lost terminal)]
<MichaelRaskin> Ah, I use i915 kernel driver and i965_dri.so — forgot there is a split on DRI side, sorry.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b2c9b15128 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
proteusguy has quit [(Remote host closed the connection)]
<kuznero> Is it possible to list a remove individual generations with nix-collect-garbage or somehow differently?
Itkovian has joined #nixos
<MichaelRaskin> you can go to /nix/var/nix/profiles and remove just the ones you want to remove
<MichaelRaskin> Then nix-store --gc
<woffs> MichaelRaskin: I do not know what you are talking about. :) split on DRI side?
<kuznero> Or is it possible to create sticky generations that are not auto-cleaned up by `sudo nix-collect-garbage -d`? I would like to not only keep latest, but a couple of gens
<kuznero> MichaelRaskin: Thanks! will try that
a6a3uh has quit [(Quit: Bye)]
<kuznero> MichaelRaskin: after I did that, on reboot I can still see old generations. Doesn't `nix-store --gc` re-generate grub entries like `nix-collect-garbage -d` ?
<MichaelRaskin> Did nix-collect-garbage learn to do that? Didn't know
<MichaelRaskin> Well, you could run it without -d
Itkovian has quit [(Ping timeout: 248 seconds)]
<kuznero> Still see all the old gens
<kuznero> It probably does that with -d option only
<MichaelRaskin> That's what I expected. nixos-rebuild is what updates the GRUB menu
acarrico has quit [(Ping timeout: 260 seconds)]
Neo-- has quit [(Remote host closed the connection)]
<MichaelRaskin> I wonder if nix-collect-garbage updates boot meny when called with some of the advanced options like older-then, in case it deletes nothing
<kuznero> Ah :( You are right of course. :)
Neo-- has joined #nixos
<kuznero> That way there is always one extra gen in my grub
<MichaelRaskin> Maybe it just never updates it, because it is not NixOS-specific
<MichaelRaskin> We-ell, you could probably call /run/current-system/bin/switch-to-configuration boot
<kuznero> Running `sudo nixos-rebuild switch` another time didn't produce another gen, but cleaned up old ones :)
<kuznero> That's good enough
a6a3uh has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
damke has joined #nixos
proteusguy has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
proteusguy has quit [(Max SendQ exceeded)]
<kuznero> What is the process of moving packages from nixpkgs:staging further to nixpkgs-channels?
proteusguy has joined #nixos
acarrico has joined #nixos
yegortimoshenko has joined #nixos
<MichaelRaskin> staging → (stabilization/choice of moment/random delays) → master → Hydra → nixpkgs-unstable
<kuznero> thanks
<MichaelRaskin> Hydra build includes some tests
<MichaelRaskin> Then there are some minimal NixOS-level integration tests before nixos-unstable channel update.
a6a3uh has quit [(Quit: Bye)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterromfeldhk opened pull request #31085: fastlane: 2.62.1 -> 2.63.0 (master...fastlane) https://git.io/vFOSN
NixOS_GitHub has left #nixos []
hlavaty has joined #nixos
mog has quit [(Ping timeout: 252 seconds)]
Neo-- has quit [(Ping timeout: 255 seconds)]
ylwghst has joined #nixos
thblt has quit [(Read error: Connection reset by peer)]
thblt has joined #nixos
ylwghst has quit [(Client Quit)]
ylwghst has joined #nixos
iyzsong has joined #nixos
jushur has quit [(Max SendQ exceeded)]
jushur has joined #nixos
mfiano has joined #nixos
curaloucura has joined #nixos
tgunb has joined #nixos
mog has joined #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/b2c9b15128 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
aloiscochard has joined #nixos
MichaelRaskin has quit [(Ping timeout: 246 seconds)]
<curaloucura> hello everyone. I just reinstalled my nix-os on my macOS high Sierra to fix a bug after the update. but I can't seem to be able to install any package that was on python27Packages
<curaloucura> system: "x86_64-darwin", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(andersonsantos): "", channels(root): "nixpkgs-18.03pre119009.6d1317ab31", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
<curaloucura> *nix-shell not nixos
<yegortimoshenko> curaloucura: what command do you use to install python 2.7 package?
<yegortimoshenko> s/install/install a/
<curaloucura> sorry, pip worked but ansible doesn't seem to work
<curaloucura> nix-env -iA nixpkgs.python27Packages.ansible
zzamboni has quit [(Remote host closed the connection)]
<curaloucura> nix-env -iA nixpkgs.python27Packages.pip worked. I didn't try to install with the full patch
zzamboni has joined #nixos
<curaloucura> | => nix-env -iA nixpkgs.python27Packages.ansible error: attribute ‘ansible’ in selection path ‘nixpkgs.python27Packages.ansible’ not found
<yegortimoshenko> curaloucura: i don't see ansible in python27Packages either, try: `nix-env -iA nixpkgs.ansible_2_2`
<yegortimoshenko> or `nix-env -iA nixpkgs.ansible` for ansible 2.3
<curaloucura> it worked without the python27Packages
<curaloucura> thank you, it's been a while without updating my nix
<yegortimoshenko> i don't think python27Packages has ansible attribute, at least not anymore. but all packages present in python27Packages should work
<curaloucura> yes, probably did change in the last year or so. I had a working script
<curaloucura> everything running again
<yegortimoshenko> curaloucura: you can make sure that the script remains runnable forever by setting nixpkgs explicitly to a certain version, check out nix-shell man page
<yegortimoshenko> e.g. `nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/0672315759b3e15e2121365f067c1c8c56bb4722.tar.gz -p ansible`
damke_ has joined #nixos
<yegortimoshenko> but anyway, that's unfortunate. i don't think nixpkgs should remove attributes after renaming. maybe that's a mistake.
damke has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar opened pull request #31086: osx_private_sdk: reduce output size and remove it from runtime closures (master...osx_private_sdk_remove_runtime) https://git.io/vFO5v
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/26e4f6f4f8 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andrestylianos opened pull request #31087: boot: 2.5.2 -> 2.7.2 (master...boot) https://git.io/vFO5d
NixOS_GitHub has left #nixos []
curaloucura has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vFO5A
<NixOS_GitHub> nixpkgs/master 33cdc2b Florian Klink: libtasn1: fix CVE number...
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
symplectico has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #22050: mongodb: 3.2.9 -> 3.4.1 (master...update-mongodb) https://git.io/vM5Y3
NixOS_GitHub has left #nixos []
<pstn> Seems like we need a solution for the electron situation with Signal moving their desktop app from chrom{e,ium} to electron. //Ralith
<nliadm> I upgraded my laptop to 17.09 and gsd-datetime now segfaults, and my user doesn't show up in gdm
<nliadm> anyone have thoughts on how to debug?
<bencoman> bencoman
<yorick> pstn: what is the electron situation? using pre-packaged binaries?
damke has joined #nixos
<yorick> it would be pretty neat to share the same electron between multiple packages
davidak has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
<nliadm> that seems like the least electron solution
<nliadm> we should probably bundle some extra instances of chromium, just to keep in the spirit
<yorick> it would save disk and memory space
lll_ has joined #nixos
<lll_> which package do I need to install to get g++
lll_ is now known as typeggzero
<pstn> yorick: Ralith mentioned in his riot package that the build process is somewhat broken. Now that I revisit it, it could be a problem exclusiely for riot though. https://github.com/Ralith/riot-electron-nix
<yorick> typeggzero: just gcc
damke_ has joined #nixos
trevorriles has joined #nixos
pxc1 has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
<bencoman> I'm not sure what the repost policy is, but there seems to be new people since I posted this ten hours ago... I've updated https://nixos.wiki/wiki/Create_and_debug_nix_packages with what I learned from :‎MichaelRaskin: and :srhb: last night. But could someone please check the diff that I'm not on the wrong track... https://nixos.wiki/index.php?title=Create_and_debug_nix_packages&diff=1223&oldid=1121
<typeggzero> how can I start darf-therapist from the dwarf-fortress dkpg
<yorick> bencoman: why do you need to shallow clone?
<yorick> ah it's faster
raving has joined #nixos
pxc1 has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/vFObF
<NixOS_GitHub> nixpkgs/release-17.09 e1e44dc Daiderd Jordan: pari: enable darwin build...
NixOS_GitHub has left #nixos []
mizu_no__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #31088: gcc: 5.4.0 -> 5.5.0 (master...update/gcc-5.5) https://git.io/vFObN
NixOS_GitHub has left #nixos []
<bencoman> yes, for someone "learning" helps keep them in context without gettign distracted
<bencoman> thanks for taking a look yorick. One thing though I'm not clear on is the effect of "export out=" -- I thought it might redirect build artifacts out of tree, but it seems not too. I've examined https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh but not grokked $out usage.
emiLio_esfoobar has quit [(Ping timeout: 240 seconds)]
<yorick> bencoman: in a nix-build, $out would point to /nix/store/sdlijflfkjlfjr-yourpkg/ as a location for your package to be installed
<yorick> bencoman: so the builders will look at $out to determine where to put the output
mizu_no__ has quit [(Client Quit)]
joehh has quit [(Ping timeout: 248 seconds)]
<typeggzero> I added stdenv in my configuration.nix and still do not have g++ availible
<bencoman> that sounds like what I would guess it to do, but following those example instructions under "Using nix-shell for package development", I don't "see" that happening - unless I'm missing something
<LnL> typeggzero: what platform are you on?
<yorick> typeggzero: just install pkgs.gcc
<typeggzero> I got my mistake. I have only clang installed and the cc command is using clang. I assumed that I would have installed gcc. nvm then and ty :-)
<bencoman> whoops, on the first shell line, I just fixed one ~/tmp/ that should have been ~/tmpdev/
<fearlessKim[m]> from what I see , I can't enable the fetchSubmodules from fetchgit ? should I downloqd submodules in the unpackPhase ?
emiLio_esfoobar has joined #nixos
symplectico has quit [(Ping timeout: 255 seconds)]
mekeor has joined #nixos
92AACCY8Y has joined #nixos
<92AACCY8Y> [nixpkgs] globin closed pull request #31078: slack: 2.8.0 -> 2.8.2 (potential electron security update) (master...slack-2.8.2) https://git.io/vFOgn
92AACCY8Y has left #nixos []
07IABPUEF has joined #nixos
<07IABPUEF> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vFOAB
<07IABPUEF> nixpkgs/master a243739 Andreas Rammhold: slack: 2.8.0 -> 2.8.2...
07IABPUEF has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vFOAu
<NixOS_GitHub> nixpkgs/release-17.09 20088e3 Andreas Rammhold: slack: 2.8.0 -> 2.8.2...
NixOS_GitHub has left #nixos []
leat has quit [(Ping timeout: 240 seconds)]
dieggsy has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
zraexy has joined #nixos
leat has joined #nixos
<bencoman> :fearlessKim I'm a nix-noob, so I'm more checking my own understanding of your question. "fetchSubmodules" = true seems to be valid for fetchgit as seen here... https://gist.github.com/bencoman/4d39664e084c160c3cc95a7a5ae0c028
<bencoman> not that there were any submodules to download. So I don't know whether such woudl actually work. Or are you asking a different question?
monk has joined #nixos
monk has quit [(Client Quit)]
<fearlessKim[m]> bencoman: shit I am more noob than you are? I had grepped the nixpkgs for submodule so it didn't find Submodule xD I did see the nix prefetch git parameter but not how it was passed by nixpkgs. Thanks !
monk has joined #nixos
monk has quit [(Client Quit)]
monk has joined #nixos
monk has left #nixos []
kmcia is now known as kmc
t184256 has joined #nixos
<t184256> Hello, could you help a noob? I'm overriding pkgs.systemd. If I put the result into environment.systemPackages, I have two systemds. If I put it into nixpkgs.config.packageOverrides, lvm2 freaks out that the overrided systemd has no udev attribute.
<t184256> When I check it with nix-repl, pkgs.systemd does have an udev attribute and I have zero idea where did it come from.
whald has quit [(Remote host closed the connection)]
<t184256> But pkgs.systemd.overrideAttrs (oldAttrs: {name = "systemd-x";}) does not.
gilligan_ has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] flokli opened pull request #31090: jython: 2.7.0 -> 2.7.1 (master...cve-2016-4000) https://git.io/vFOpm
NixOS_GitHub has left #nixos []
Wizek has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b opened pull request #31091: hardlink: 2012.9.3ec908d539 --> 1.3-4 (master...pkg/hardlink) https://git.io/vFOpB
NixOS_GitHub has left #nixos []
guillaum2 has quit [(Ping timeout: 248 seconds)]
DiThi has joined #nixos
guillaum2 has joined #nixos
<DiThi> hello
proteusguy has joined #nixos
<DiThi> how do I enable an option of a package in nix-shell?
whald has joined #nixos
c0bw3b has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<ylwghst> DiThi: what do you mean exactly?
<DiThi> but default is false
<ylwghst> i see
<ylwghst> w8
damke has joined #nixos
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<adisbladis> nliadm: Default on unstable is Go 1.9
marusich has quit [(Ping timeout: 246 seconds)]
<t184256> nevermind, it's reported: https://github.com/NixOS/nixpkgs/issues/30353
trevorriles has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
symplectico has joined #nixos
<ylwghst> DiThi: here is example how I change i3support from false to true in polybar.nix package
marusich has joined #nixos
<DiThi> ylwghst: thanks
<ylwghst> DiThi: you need to use .override function
<DiThi> ylwghst: is there a way to do that from the command line?
jensens has joined #nixos
leat has quit [(Ping timeout: 240 seconds)]
<adisbladis> DiThi: nix-shell -p 'nodejs-8_x.override { enableNpm = false; }'
<adisbladis> For example
<ylwghst> This is proper way according to Nix WiKi. Just declare this in configuration.nix and rebuild. Also remove tensorflow if you have installed it with nix-env
<ylwghst> adisbladis: good
<DiThi> adisbladis: thanks
<DiThi> ylwghst: I have blender configured in that way already, in fact
<ylwghst> DiThi: sorry I haven't realised you need it in nix-shell
ckauhaus has quit [(Remote host closed the connection)]
<adisbladis> DiThi: Consider creating a shell.nix :>
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<DiThi> error: file ‘nixos-config’ was not found in the Nix search path
<DiThi> that's when running nixos-rebuild switch... the last time I changed the channel to unstable
<adisbladis> DiThi: What's in your $NIX_PATH ?
<DiThi> adisbladis: nixpkgs=http://nixos.org/channels/nixos-unstable/nixexprs.tar.xz
<DiThi> adisbladis: using the command line I get: error: anonymous function at /nix/store/z1r9k76k5840jv2v7zm2i1v0axxk8qgf-nixexprs.tar.xz/pkgs/development/python-modules/tensorflow/default.nix:1:1 called with unexpected argument ‘enableCuda’, at /nix/store/z1r9k76k5840jv2v7zm2i1v0axxk8qgf-nixexprs.tar.xz/lib/customisation.nix:74:12
<adisbladis> DiThi: Maybe try try "export NIX_PATH'=nixpkgs=http://nixos.org/channels/nixos-unstable/nixexprs.tar.xz::nixos-config=/etc/nixos/configuration.nix'" ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vF3eZ
<NixOS_GitHub> nixpkgs/master aa196db Tim Steinbach: atom: 1.21.1 -> 1.21.2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vF3ec
<NixOS_GitHub> nixpkgs/release-17.09 6a0a00d Tim Steinbach: atom: 1.21.1 -> 1.21.2...
NixOS_GitHub has left #nixos []
<adisbladis> DiThi: Looks like the argument your are looking for is not called enableCuda but cudaSupport
<DiThi> d'oh!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b opened pull request #31093: rdfind: 1.3.4 → 1.3.5 (master...pkg/rdfind) https://git.io/vF3e6
NixOS_GitHub has left #nixos []
<DiThi> adisbladis: it seems your solution worked, but it's downloading a lot of things... it is possible that the channel switch wasn't effective until after the rebuild?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 12 new commits to master: https://git.io/vF3eA
<NixOS_GitHub> nixpkgs/master 4f88411 Robert Helgesson: eclipse-plugin-rustdt: fix Emacs nix-mode highlighting
<NixOS_GitHub> nixpkgs/master 94f2fdf Robert Helgesson: eclipse-plugin-spotbugs: init at 3.1.0
<NixOS_GitHub> nixpkgs/master 9242f2f Robert Helgesson: josm: 12921 -> 13053
NixOS_GitHub has left #nixos []
roberth has joined #nixos
slabity has joined #nixos
leat has joined #nixos
<slabity> So some nixos options require a custom field name, such as 'extraUsers.<name?>'. How can I specify <name?> with a variable containing a string?
<globin> slabity: you can do extraUsers.someusername, extraUsers."someusernamewith!specialchars" or extraUsers.${usernameFromVar}
<slabity> globin: Thanks, ${name} worked perfectly
<slabity> On another note, is there a shorthand for `if x == null then "default" else x`? I seem to use that a lot
<slabity> Just as a way to set a variable's default if it's not set yet
t184256 has quit [(Quit: t184256)]
<globin> slabity: optionalString (x != null) "default"
<globin> slabity: or x ? "default" could work too in that case
sphalerite has quit [(Ping timeout: 246 seconds)]
puffnfresh has quit [(Ping timeout: 240 seconds)]
Oo[m] has quit [(Ping timeout: 246 seconds)]
M-fishy has quit [(Ping timeout: 252 seconds)]
nixo[m] has quit [(Ping timeout: 252 seconds)]
M-berdario has quit [(Ping timeout: 252 seconds)]
<slabity> globin: Thanks again, it worked perfectly.
thematter[m] has quit [(Ping timeout: 246 seconds)]
Obscurity[m] has quit [(Ping timeout: 255 seconds)]
M-liberdiko has quit [(Ping timeout: 240 seconds)]
edef[m] has quit [(Ping timeout: 240 seconds)]
Wysteriary[m] has quit [(Ping timeout: 240 seconds)]
kevincox has quit [(Ping timeout: 252 seconds)]
demyan[m] has quit [(Ping timeout: 252 seconds)]
abbafei[m] has quit [(Ping timeout: 246 seconds)]
unlmtd has quit [(Ping timeout: 240 seconds)]
Ralith has quit [(Ping timeout: 255 seconds)]
<dj_goku_> so looking through the manaual I get that configuration for an application should be done through a *.nix file. I see there are some references for /root/some_app/some_key.file is there a reason not to put it in /etc/some_app/some_key.file
jlle[m] has quit [(Ping timeout: 240 seconds)]
zigschots20[m] has quit [(Ping timeout: 252 seconds)]
scott1 has quit [(Ping timeout: 255 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e1e44dcf1b (from 78 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<Guest70409> globin: ({ x ? "default" }: x) { x = null; } ⇒ null
Guest70409 is now known as TweyII
TweyII has quit [(Changing host)]
TweyII has joined #nixos
<ldlework> dj_goku_ is the key file a system wide key? Or a key for root?
c0bw3b has joined #nixos
<dj_goku_> ldlework: it is specific to the application.
<ldlework> That's not what I asked tho :)
<slabity> dj_goku: Which application?
<dj_goku_> say openvpn for example.
ssmike has quit [(Remote host closed the connection)]
<ldlework> So should everyone be able to use the key? or just root?
ssmike has joined #nixos
<TweyII> globin: optionalString (null != null) "default" ⇒ ""
M-fishy has joined #nixos
zigschots20[m] has joined #nixos
jlle[m] has joined #nixos
<dj_goku_> root
<dj_goku_> :D
<ldlework> So then it belongs in /root/ not /etc
thematter[m] has joined #nixos
<ldlework> right?
Obscurity[m] has joined #nixos
abbafei[m] has joined #nixos
nixo[m] has joined #nixos
<dj_goku_> so the convention would be something like /root/openvpn/some_key.file
Wysteriary[m] has joined #nixos
edef[m] has joined #nixos
<dj_goku_> ldlework: yeah sounds reasonable, just all *nix like operating systems put them in /etc/openvpn/*
kevincox has joined #nixos
Oo[m] has joined #nixos
M-liberdiko has joined #nixos
<ldlework> I mean contemporary user config should go in $HOME/.config/ but many things are older than that convention
scott1 has joined #nixos
puffnfresh has joined #nixos
M-berdario has joined #nixos
unlmtd has joined #nixos
Ralith has joined #nixos
sphalerite has joined #nixos
demyan[m] has joined #nixos
a6a3uh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #31094: ibus: 1.5.16 -> 1.5.17, move ibus-setup back to dev, a lot of other changes (master...ibus/update) https://git.io/vF3Ut
NixOS_GitHub has left #nixos []
<tgunb> danbst1: how do i add firefox-overlay? do i add a channel?
<toogley> how would i set user-dirs.dirs in configuration.nix?
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
a6a3uh has quit [(Quit: Bye)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vF3Te
<NixOS_GitHub> nixpkgs/master daf7868 Will Fancher: Fix buildStackProject in nix-build
NixOS_GitHub has left #nixos []
zzamboni has quit [(Quit: Leaving.)]
<TweyII> globin, slabity: I can't find any function that does that. Sounds like it might belong in trivial.nix, insofar as anything does
nh2 has quit [(Quit: Leaving.)]
nckx has quit [(Quit: Restarting my GuixSD server — https://gnu.org/s/guix)]
trevorriles has joined #nixos
<mekeor> i'm trying to install nixos with full-disk encryption. do i need a boot-partition? my notebook does not use EFI, AFAIK. (because /sys/firmware/efi doesn't exist when i boot the minimal installation image.)
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
damke_ has joined #nixos
nckx has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #31095: rambox: 0.5.12 -> 0.5.13 (master...rambox) https://git.io/vF3Tr
NixOS_GitHub has left #nixos []
damke has quit [(Ping timeout: 240 seconds)]
a6a3uh has joined #nixos
<toogley> dj_goku_: i meant, i want to declaratively define xdg-user-dirs such that everything else than the downloads folder just goes into my $HOME. such as 'XDG_DESKTOP_DIR="$HOME/"' and so on.
iyzsong has quit [(Ping timeout: 248 seconds)]
ixxie has joined #nixos
leat has quit [(Quit: WeeChat 1.9.1)]
MercurialAlchemi has quit [(Ping timeout: 255 seconds)]
<toogley> dj_goku_: i'm guessing i have to use pkgs.writeText
<tilpner> writeText can't write into /home
<ixxie> any jupyter users here ever try and set up Nix-built kernels?
<toogley> hm, are there other solutions?
<tilpner> home-manager provides and xdg module that you could use to write the user-dirs file. Otherwise you'll have to resort to activation scripts
<toogley> tilpner: ah, okay
<DiThi> why is blender compiling with a single CPU? it has enableParallelBuilding = true; at https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/blender/default.nix
<toogley> tilpner: thanks
yegortimoshenko has quit [(Ping timeout: 258 seconds)]
damke has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
cyris212 has joined #nixos
cyris212 has quit [(Client Quit)]
hlavaty has quit [(Remote host closed the connection)]
whald has quit [(Ping timeout: 255 seconds)]
jsgrant has joined #nixos
<ldlework> clever you around?
damke has quit [(Ping timeout: 240 seconds)]
* jsgrant is loosely considering getting a Pinebook; Wondering how trivial it'd be to get NixOS on it -- test-play dev laptop would be the exclusive use.
<jsgrant> Assume would have to build most from source.
orivej has quit [(Ping timeout: 260 seconds)]
damke has joined #nixos
<slabity> jsgrant: The pinebook has closed graphics drivers. Just a heads up
nh2 has joined #nixos
<slabity> And the binary blobs are only for version 3.10 of the kernel
<Ralith> philipp: yes, the brokenness in the riot package is mostly because npm is terrible; there might be a way to do the more generic stuff better but it's fundamentally sound.
a6a3uh has quit [(Quit: Hi)]
<ldlework> I have converted my Nix installation on OSX to single-user. When I use NixOps to deploy I get: error: a ‘x86_64-linux’ is required to build ‘/nix/store/ww2z6pkfqzlin98sx5gkv55yqi8mynxn-append-initrd-secrets.drv’, but I am a ‘x86_64-darwin’
<ldlework> I was under the impression that if you were on single-user install, that NixOps would use the newly created machine as a remote builder.
<Ralith> philipp: reusing the electron package would be pretty awesome, though we may need to take care with compatibility for version bumps; so far I've never broken things by using too new an electrion but who knows how stable their APIs are
<pstn> Ralith: Sounds good, I might be able to get a look at it tomorrow.
<Ralith> cool, lmk how it goes
boxofrox has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
<Ralith> the main thing that annoys me about the generic stuff in my riot package is that the output derivation name has no version number in it, and if I add one then it shows up in the script filename too
<Ralith> ideally the script would be generated as part of the main derivation rather than being a dependent derivation
nh2 has quit [(Read error: Connection reset by peer)]
pbogdan has quit [(Ping timeout: 248 seconds)]
DiThi has quit [(Quit: Page closed)]
<boxofrox> on nixos 17.03, i run `nix-env -qa | grep mariadb` and see a pkg for mariadb-client. when I edit configuration.nix to add pkgs.mariadb-client to the list of environment.systemPackages, `nixos-rebuild switch` errors with 'attribute mariadb-client missing`. I'm not sure what I'm doing wrong here.
<Ralith> but I'm not really clear on what the idiomatic way to generate an executable script inside another derivation is
damke_ 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/6a0a00d91e (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<pstn> I'll just bother #nix-dev ^_~
symplectico has quit [(Ping timeout: 255 seconds)]
damke_ has quit [(Ping timeout: 240 seconds)]
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ldlework> rycee using the DAG is there a way I can ensure one activation runs after another?
pbogdan has joined #nixos
periklis has joined #nixos
damke_ has joined #nixos
<boxofrox> ah, I found it. `nix-env -qaP` shows mariadb-client is named pkgs.libmysql. I should write that down somewhere
trevorriles has joined #nixos
digitus has joined #nixos
mrkgnao has joined #nixos
erasmas has joined #nixos
nh2 has joined #nixos
<gchristensen> hi everyone, my bot will now label PRs as having _no_ rebuilds. example: "10.rebuild-linux: 0" if you think this is an error, please ping me
tgunb has quit [(Ping timeout: 264 seconds)]
<dtzWill> gchristensen: ♥ (will do, sounds great, thanks for your efforts!)
<gchristensen> <3 :)
<dtzWill> do we have a karma-bot or something? gchristensen++
endformationage has joined #nixos
<gchristensen> I think [0__0] does something like that maybe but I don't know =)
<gchristensen> this fixes the obvious problem of "are there no rebuilds, or did it just not get to it?"
rogue_koder has joined #nixos
<dtzWill> ha! nice
<MoreTea> gchristensen: awesome PR on the on-call security PR.
<gchristensen> thank you! :)
jb55 has joined #nixos
marusich has quit [(Quit: Leaving)]
srdqty has joined #nixos
srdqty has quit [(Client Quit)]
<LnL> !m gchristensen
<[0__0]> You're doing good work, gchristensen!
leat has joined #nixos
kragniz is now known as kgz
damke_ has quit [(Ping timeout: 240 seconds)]
damke has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc reopened pull request #30777: DO NOT MERGE: testing to see if we got assimilated (master...do-not-merge) https://git.io/vdjox
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/6a0a00d91e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
damke_ has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
<rycee> ldlework: If you want to generate "b" so that it runs after "a" then `b = dagEntryAfter ["a"] "some commands";`
<ldlework> huh OK
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #31096: [WIP] xandikos: init at 0.0.6 (master...add-xandikos) https://git.io/vF3n3
NixOS_GitHub has left #nixos []
davidak has quit [(Quit: Leaving.)]
<ldlework> Yeah I didn't realize it worked for my own nodes I guess
<rycee> ldlework: For the opposite, you can use `dagEntryBefore` like so: https://github.com/rycee/home-manager/blob/master/modules/services/window-managers/xmonad.nix#L92-L96
<rycee> The xmonad module is a good example, actually. It has one script that must run before linking the home files and one script that must run after linking the home files.
<jsgrant> slabity: Well that's depressing for advertising themselves as somefactor of an 'open platform'.
<jsgrant> "Light and Thin 64-bit ARM based Open Source Notebook"
<rycee> ldlework: Feel free to use it :-) Generally the activation code should be fast and idempotent, though.
* jsgrant wants a pi-book, but is not going to spend 300usd for it.
<jsgrant> I've been using this ~7 y/o Toshiba Satellite & is certainly on it's last legs.
hellrazo1 has quit [(Quit: WeeChat 1.9.1)]
Neo-- has joined #nixos
<hyper_ch> jsgrant: how about $299? I'd chime in $1 for you ;)
<jsgrant> hyper_ch, Double that & we'll talk. :^)
<hyper_ch> nah, that would be above my budget ;)
<jsgrant> Maybe I'll just trawl Ebay & try to get a 100-150usd-ish Thinkpad or something.
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<andrewrk> `patchelf --set-interpreter` is giving me `cannot find section`
<andrewrk> but `patchelf --print-interpreter minikube` gives me `/lib64/ld-linux-x86-64.so.2`
<andrewrk> sorry that first command should be `patchelf --set-interpreter $(cc -print-file-name=ld-linux-x86-64.so.2) minikube`
mekeor has quit [(Quit: digital revolution = cryptoanarchism + cybercommunism)]
<jsgrant> Yeah, I think I'll do that.
<andrewrk> I'll file an issue
<jsgrant> Will give it two-weeks & think on it; Finish fleshing out this config.nix on this box first.
* jsgrant is still holding his breath on that RISC-V rpi3-comparable board ... but can't/won't for another year. :^P
dieggsy has quit [(Remote host closed the connection)]
Yotam_ has joined #nixos
<Yotam_> Hey all, where can I find the description/nix expression of pkgs.emacsPackagesNg?
roberth has quit [(Ping timeout: 258 seconds)]
nh2 has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #31098: Semi-automated Emacs package updates (master...emacs-updates) https://git.io/vF3C9
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #31099: docs: add note about makeFlags quoting (master...makeflags-docs) https://git.io/vF3CN
NixOS_GitHub has left #nixos []
<Yotam_> thanks
<Yotam_> btw is there a place with actual documentation about emacs in nixos? The manual doesn't tell you how to add your custom configuration
<gchristensen> I think there is agithub issue
<ldlework> Can Nix even manage custom configuration since it goes in the home directory?
<ldlework> Thought you needed something like home-manager
<ma27> Yotam_: use vim *irony off*
jgertm has joined #nixos
<tilpner> ldlework - Nix alone can't, NixOS can with hacks, but home-manager does it more cleanly
<gchristensen> ldlework: nix can add custom config to emacs
<ldlework> How does it do that?
<Yotam_> This is what I'm working with https://github.com/NixOS/nixpkgs/issues/24243
<tilpner> Oh, yes, with wrapping you don't need to write to /home
<gchristensen> samee way it adds emacs modules
<nixer> Is it possible to go from a narinfo hash to a nix store path?
<LnL> the output path should be in the narinfo
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vF3WP
<NixOS_GitHub> nix/master 1969f35 Eelco Dolstra: Add fetchMercurial primop...
NixOS_GitHub has left #nixos []
<gchristensen> ok so this just seems wrongg ...
mrkgnao has quit [(Quit: WeeChat 1.9.1)]
<gchristensen> oh ... disregard me >.>
<LnL> nixer: there should be a StorePath field in the narinfo
nh2 has joined #nixos
<nixer> LnL: I know that, but right now my system is trying to download a narinfo file from a custom cache and I'm trying to figure out what is missing.
17SAAZRWT has joined #nixos
<17SAAZRWT> [nixpkgs] domenkozar closed pull request #31099: docs: add note about makeFlags quoting (master...makeflags-docs) https://git.io/vF3CN
17SAAZRWT has left #nixos []
5EXAAPCN6 has joined #nixos
<5EXAAPCN6> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vF3ln
<5EXAAPCN6> nixpkgs/master 1167fde Daiderd Jordan: docs: add note about makeFlags quoting
5EXAAPCN6 has left #nixos []
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
ylwghst has quit [(Ping timeout: 240 seconds)]
periklis has quit [(Ping timeout: 246 seconds)]
<gchristensen> anyone have a handy command-line to see if nixpkgs evaluates?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6a0a00d91e (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
erictapen has quit [(Ping timeout: 240 seconds)]
damke_ has quit [(Read error: Connection reset by peer)]
damke has joined #nixos
Yotam_ has quit [(Quit: Leaving)]
<LnL> did something break?
<gchristensen> no, just experimenting :)
<LnL> nix-env -qaP works fine
<gchristensen> nice
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #30777: DO NOT MERGE: testing to see if we got assimilated (master...do-not-merge) https://git.io/vdjox
NixOS_GitHub has left #nixos []
<Ralith> rycee: did overlay handling change recently? my mozilla-nixpkgs overlay seems to have silently broken
damke has quit [(Ping timeout: 240 seconds)]
mood has quit [(Ping timeout: 255 seconds)]
erictapen has joined #nixos
damke has joined #nixos
mood has joined #nixos
cement has joined #nixos
nh2 has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vF3RV
<NixOS_GitHub> nixpkgs/master 7e31aef Vincent Laporte: ocamlPackages.lwt: remove spurious dependency on oasis
NixOS_GitHub has left #nixos []
nh2 has joined #nixos
jb55 has quit [(Ping timeout: 246 seconds)]
<infinisil> Ralith: Unless you set the new nixpkgs.overlays option, it should be like before
roberth has joined #nixos
nh2 has quit [(Ping timeout: 240 seconds)]
<typeggzero> I just installed dwarf-fortress. How can i start dwarf therapist?
betaboon has joined #nixos
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] copumpkin opened pull request #1655: Don't freak out if we get a 403 from S3 (master...patch-1) https://git.io/vF3EW
NixOS_GitHub has left #nixos []
<Ralith> infinisil: that's the option I was using previously, and it seemed to be working at the time; it certainly is not working now
<ArdaXi[m]> typeggzero: If you've installed dwarf-therapist you should be able to run DwarfTherapist
<infinisil> Ralith: Previously? This option shouldn't have been there before https://github.com/rycee/home-manager/pull/102
Wizek has joined #nixos
<Ralith> infinisil: I started using home-manager four days ago :P
<infinisil> Ah i see, what's the error?
<typeggzero> My mistake. I was thinking it would be included in the base dwarf-fortress.
<infinisil> because i get a hash mismatch error for firefox-nightly-bin of the mozilla overlay
nh2 has quit [(Ping timeout: 240 seconds)]
<typeggzero> so I will basicly install dfhack and dwarf therapist
pxc1 has joined #nixos
mbrgm has quit [(Ping timeout: 248 seconds)]
jb55 has joined #nixos
mbrgm has joined #nixos
<guillaum2> Do you know how I can have a dynamic "version" field, coming from a file or a command. I want to use "git describe" to get my version name in a package stored inside a git repository.
Ramaness has joined #nixos
<ldlework> guillaum2 can't you just run the appropriate bash command against the source?
trevorriles has joined #nixos
Neo-- has quit [(Ping timeout: 264 seconds)]
<TweyII> guillaum2: You can use builtins.readFile to read a file at evaluation time… but you should do it carefully
<Ralith> infinisil: the overlay just seems to be entirely missing; the expression is (import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz)) and it should be generating entries in pkgs named `rustChannelOf` and `latest`, but isn't
<guillaum2> TweyII: and can I set a hook which is evaluated before evaluation time ? (to write the file using the command)
<TweyII> guillaum2: No
<TweyII> guillaum2: To write files, you want to build derivations
<TweyII> guillaum2: If foo is a derivation, then evaluating foo will trigger the building of foo and the production of all foo's outputs
erictapen has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vF3zB
<NixOS_GitHub> nix/master e026bc3 Eelco Dolstra: fetchMercurial: Don't fetch hashes we already have
NixOS_GitHub has left #nixos []
<TweyII> guillaum2: If foo has an output you want to read, you can do it, therefore
hellrazor has joined #nixos
nh2 has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
jsgrant has quit [(Remote host closed the connection)]
<rycee> Ralith: Hmm, I don't think any recent change should affect the overlays option. I'll have a look.
<Ralith> yeah, I don't see any thing in git
<Ralith> it's possible I was somehow confused about it ever working
jb55 has quit [(Ping timeout: 246 seconds)]
ssmike has quit [(Ping timeout: 255 seconds)]
<ldlework> 🎉 I got home-manager to install 🐳 for Mac
jb55 has joined #nixos
<tilpner> guillaum2 - Do you mean something like this? https://gist.github.com/85adb5e0b3aac194f1e74953f45f8fd9
<Yaniel> is that supposed to refer to (ku)jira or docker?
<tilpner> guillaum2 - (Not very robust, might need better whitespace removal)
<rycee> Ralith: Ah, are trying to use the entries from the overlay in commands outside home manager? E.g. nix-env or nix-build?
<Ralith> oh, does that not work?
<rycee> No, the nixpkgs.overlays setting in HM works like in NixOS. It only affects things within the HM configuration.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vF32L
<NixOS_GitHub> nixpkgs/master e0b906c Florian Klink: jython: 2.7.0 -> 2.7.1...
<NixOS_GitHub> nixpkgs/master e1cd08e Orivej Desh: Merge pull request #31090 from flokli/cve-2016-4000...
NixOS_GitHub has left #nixos []
nh2 has quit [(Ping timeout: 248 seconds)]
Mrmaxmeier has quit [(Ping timeout: 240 seconds)]
<tilpner> But maybe it should?
<Ralith> the interaction between config.nix and home.nix is slightly confusing
symplectico has joined #nixos
<typeggzero> https://dpaste.de/0s0M I already installed dwarf-fortress but I still need dfhack and dwarf therapist.
<guillaum2> tilpner: thank you, I was trying to do something like that and was blocked at the \n removal ;(
<Ralith> it'd be nice to have them unified, but in the meantime, is there a config.nix analog to home-manager's nixpkgs.overlays?
<typeggzero> how can I chose one of this packages?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #31100: Hashcat4 (master...hashcat4) https://git.io/vF3aZ
NixOS_GitHub has left #nixos []
<tilpner> typeggzero - Try nix-env -iA nixos.dwarf-fortress-packages.dwarf-therapist
<typeggzero> okay ty
<ldlework> With unattended 🐳 install, I can now pull the remote builder and hopefully configure it for nixops
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<rycee> Ralith: Something like `xdg.configFile."nixpkgs/overlays/mozilla".source = builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz;` might do the trick.
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] qknight pushed 1 new commit to master: https://git.io/vF3ai
<NixOS_GitHub> nixpkgs/master 2ddcdcc Sarah Brofeldt: nixos/postfix: support alternate smtp ports when relaying (#30685)...
NixOS_GitHub has left #nixos []
MP2E has joined #nixos
<rycee> I've been waffling back and forth on whether the HM nixpkgs option should apply to Nix commands run outside the context of a HM configuration.
hotfuzz has quit [(Ping timeout: 248 seconds)]
<rycee> It could be done but I'm not sure whether it is the expected thing to happen. And there is also a possible performance since you'd have to evaluate the HM configuration each time a Nix command wants to read the `config.nix`.
<tilpner> It doesn't have to be by default, and if want to you could fail the build when a safety option is enabled
python476 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tokudan closed pull request #31054: Revert "ocamlPackages.csv: 1.5 -> 1.7" (release-17.09...ocamlcsvtools) https://git.io/vFYrQ
NixOS_GitHub has left #nixos []
hotfuzz has joined #nixos
<tilpner> How long does that take for you?
<Ralith> tilpner: too much configurability can make things very confusing, though
<rycee> Ralith: Btw, in my HM config I also have `xdg.configFile."nixpkgs/config.nix".source = dotfiles/nixpkgs-config.nix; nixpkgs.config = import dotfiles/nixpkgs-config.nix;`
Mykyta has joined #nixos
<tilpner> Ralith - It's already confusing and unintuitive!
<Mykyta> Hi, colleagues.
<Mykyta> I am trying to overwrite a value of NIX_REMOTE and it does not work (overwriting it inside of py code)
<tilpner> But you're right, rycee. I extracted my nixpkgs config from my nixos config because a no-op nixos-rebuild takes 10s
Bane^ has quit [(Ping timeout: 246 seconds)]
<tilpner> Not all of that would need to be evaluated to just get nixpkgs, but still annoyingly much for e.g. tab completion
<Ralith> rycee: that works, I guess!
<Ralith> using nix to generate config files for nix is weird but gets the job done
<Mykyta> Does anybody know the preference order between NIX_REMOTE and NIX_STORE
Ramaness has quit [(Ping timeout: 260 seconds)]
<Mykyta> Anyway, how to overwrite a value of NIX_REMOTE option
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #31101: CODEOWNERS: fix path notation (master...codeowners-syntax-fix) https://git.io/vF3w4
NixOS_GitHub has left #nixos []
<Ralith> rycee: the xdg overlay trick worked a treat, btw
<Ralith> thanks!
Bane^ has joined #nixos
ssmike has joined #nixos
ssmike has quit [(Ping timeout: 248 seconds)]
<Ralith> given how demonstrably straightforward it is to export a home-manager-defined nixpkgs config I guess there's no need for explicit support of any kind
taktoa has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 5 new commits to master: https://git.io/vF3oJ
<NixOS_GitHub> nixpkgs/master 933a9c5 Michael Alan Dorman: elpa-packages: 2017-11-01
<NixOS_GitHub> nixpkgs/master 086f276 Michael Alan Dorman: org-packages: 2017-11-01
<NixOS_GitHub> nixpkgs/master 70b132c Michael Alan Dorman: melpa-stable-packages: 2017-11-01
NixOS_GitHub has left #nixos []
ylwghst has joined #nixos
roberth has quit [(Ping timeout: 264 seconds)]
<gchristensen> :o
nh2 has joined #nixos
scribbler has quit [(Remote host closed the connection)]
pie_ has joined #nixos
MP2E has quit [(Remote host closed the connection)]
ison111 has joined #nixos
<cbarrett> manveru++
<cbarrett> bundix worked great for me just now :)
<manveru> yay :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rybern opened pull request #31103: pythonPackages.pomegranate: 0.8.0 -> 0.8.1 (master...bump-pomegranate) https://git.io/vF3KC
NixOS_GitHub has left #nixos []
schoppenhauer has quit [(Ping timeout: 248 seconds)]
dywedir has joined #nixos
schoppenhauer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.09: https://git.io/vF36V
<NixOS_GitHub> nixpkgs/release-17.09 f4237e0 Márton Boros: nixos/gitlab: fix hard-coded database name...
<NixOS_GitHub> nixpkgs/release-17.09 528e15d Márton Boros: nixos/gitlab: fix preStart script...
<NixOS_GitHub> nixpkgs/release-17.09 18c5788 Márton Boros: nixos/gitlab: fix secret generation...
NixOS_GitHub has left #nixos []
ma27 has quit [(Ping timeout: 248 seconds)]
davidak has joined #nixos
gpampara has joined #nixos
<LnL> Mykyta: what are you trying to do with NIX_REMOTE?
jbgi has joined #nixos
ThatDocsLady has quit [(Ping timeout: 258 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
<cocreature> Hey, I’m trying to write an out-of-tree nix test and I want to refer to the "make-test.nix" file in my pinned snapshot but my attempts result in "error: expression does not evaluate to a derivation (or a set or list of those)". any ideas what I’m doing wrong? http://nixpaste.lbr.uno/eLCrttcN?nix
<cbarrett> manveru:
<Mykyta> ^ I need to set it to my value and in logs its still the same
<cbarrett> manveru: my use case was installing the gems required to do `pod install` (cocoapods)
<cbarrett> worked brilliantly. definitely going to be incorporating into my workflow in the futur
<cbarrett> +e
kini has quit [(Quit: No Ping reply in 180 seconds.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 10 new commits to release-17.09: https://git.io/vF3Py
<NixOS_GitHub> nixpkgs/release-17.09 ecfa4f8 Tim Steinbach: cyrus_sasl: Fix CVE-2013-4122...
<NixOS_GitHub> nixpkgs/release-17.09 b293857 Vladimír Čunát: Merge #30990: libarchive: apply security patches...
<NixOS_GitHub> nixpkgs/release-17.09 cfd1693 Vladimír Čunát: Merge #30927: sqlite: 3.20.0 -> 3.21.0...
NixOS_GitHub has left #nixos []
rsynnest has joined #nixos
<Mykyta> LnL: my python script sets the value of envVariables. I just try to reset envVars['NIX_REMOTE'] = <myValue>. When I run a subprocess if shows me the "deamon" value, but not mine one
kini has joined #nixos
<LnL> and it's trying to use the store without talking to the daemon?
<cocreature> huh it looks like nix-build doesn’t like being passed lambdas but I thought that’s what I had always done so far *confused*
<copumpkin> you pass nix-env a lambda to -E
FRidh has joined #nixos
<copumpkin> nix-build gets other stuff
<cocreature> oh right I had the lambdas only in derivations that I called via callPackage not in the default.nix
<cocreature> makes sense, thanks!
davidak has quit [(Quit: Leaving.)]
<cocreature> hm wait no, I have lambda in my default.nix
ssmike has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
<cocreature> and if I just use http://nixpaste.lbr.uno/omVHm3Tw?nix nix-build is happy (although) it obviously doesn’t do much. so lambdas seem to work sometimes™
ma27 has joined #nixos
ma27 has quit [(Client Quit)]
<cocreature> ah make-test.nix introduces another lambda
ma27 has joined #nixos
ssmike has quit [(Ping timeout: 255 seconds)]
slabity has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 20 new commits to release-17.09: https://git.io/vF3M4
<NixOS_GitHub> nixpkgs/release-17.09 b52147e Ingo Blechschmidt: mupdf: correct license meta information...
<NixOS_GitHub> nixpkgs/release-17.09 1398ef7 Chris Martin: nixos/acme: remove doc note about restarting nginx...
<NixOS_GitHub> nixpkgs/release-17.09 f26230f Thilo Uttendorfer: pwgen: 2.07 -> 2.08...
NixOS_GitHub has left #nixos []
TweyII has quit [(Ping timeout: 240 seconds)]
aloiscochard has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Fuuzetsu pushed 1 new commit to master: https://git.io/vF3DT
<NixOS_GitHub> nixpkgs/master b902a88 Mateusz Kowalczyk: buck: 2017.05.31.01 -> 2017.10.01.01
NixOS_GitHub has left #nixos []
freeman42x[NixOS has joined #nixos
davidak has joined #nixos
nh2 has quit [(Quit: Leaving.)]
<mpickering> What does symlinkJoin do? (or where is it documented)
<LnL> it's similar to buildEnv if you're familiar with that
ma27 has quit [(Ping timeout: 240 seconds)]
waleee has joined #nixos
mahalel_ has quit [(Remote host closed the connection)]
gpampara has quit [(Remote host closed the connection)]
<mpickering> nope sorry, is that documented anywhere?
kus_ubuntui686 has joined #nixos
kus_ubuntui686 has quit [(Max SendQ exceeded)]
mahalel_ has joined #nixos
<waleee> What are some recommended options and additional configurations in configuration.nix for bash? (to achieve the same speed as you would per default in ubuntu)
<LnL> both basically combine multiple packages into one by symlinking all the files
<tilpner> waleee - What do you mean by speed?
<mpickering> ok great cheers LnL
<waleee> well, not taking a while to load
<LnL> I think the difference is that symlinkJoin will never create symlinks to directories, don't recall exactly
<tilpner> waleee - It does not take a while to load here, did you enable any unusual options?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Fuuzetsu pushed 1 new commit to master: https://git.io/vF39D
<NixOS_GitHub> nixpkgs/master ac2976d Mateusz Kowalczyk: bazel: 0.6.1 -> 0.7.0
NixOS_GitHub has left #nixos []
<waleee> I'm using the defaults, except for the enableCompletion
<sphalerite> LnL: no I think it does
<sphalerite> It's just a lot simpler than buildEnv
simukis has joined #nixos
ma27 has joined #nixos
<LnL> maybe it's the other way around then
<sphalerite> I think both do...
<rycee> Ralith: Glad it worked out for you :-)
FRidh has quit [(Quit: Konversation terminated!)]
<mpickering> I'm looking at how it's used in the ghcWithPackages wrapper
<sphalerite> mpickering: I believe disasm documented it during the hackathon at nixcon! :)
<LnL> yeah, they went on a documentation spree so I'm hoping they did :)
<sphalerite> Not sure if that PR has been merged yet?
<sphalerite> I think I helped him with that one in particular
ison111 has quit [(Ping timeout: 255 seconds)]
<ldlework> rycee I'm sorry I should probably know this already, but if I want to set the source of a home.file to a file in a derivation how do I manage the syntax for that...?
<ldlework> home.file."foo".source = "${package}/some_foo.ext"; doesn't work properly
<ldlework> or should it
<mpickering> It looks to me that the way the idris package management works is a bit idiosyncratic, using envHooks and so on
<benley> Anyone know why we only build the gcc Objective C compiler on Darwin, not linux?
<waleee> tilpner: https://pastebin.com/m0y5cE53 , something except enableCompletion that might cause bash's load time?
<tilpner> waleee - I don't think I can help you with the slowness, but I can help you with the uglyness around programs.bash.interactiveShellInit
<tilpner> waleee - You can use ''foo ... bar'' instead of "foo\nbar"
<tilpner> waleee - These indented strings can span multiple lines without needing to escape newlines
<waleee> yeah, that one got a bit ugly (pasted from a nixos-options output)
<benley> or like, is there another way of building objective c / objc++ code on nixos other than gcc?
<benley> oops, some scrolling got in the middle there
<LnL> dunno, clang?
<tilpner> waleee - Maybe try removing the "disable caching" part of your config, it sounds performance-sensitive
<waleee> ok
<rycee> ldlework: Hmm, maybe something like `home.file."foo".source = builtins.toPath "${package}/some_foo.ext";`?
<ldlework> ok
<rycee> (a guess)
<LnL> ldlework: what's the issue with a string?
<LnL> builtins.toPath doesn't do anything
* benley tries clangStdenv
<LnL> :t builtins.toPath "/foo" # => a string
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #31105: firefoxPackages: tor-browser: fix build (master...tor-browser) https://git.io/vF3QZ
NixOS_GitHub has left #nixos []
scribbler has joined #nixos
simendsjo has joined #nixos
<LnL> ldlework: it's types.path so any string starting with / should work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #31106: cloc: fix build (master...cloc-fix-build) https://git.io/vF3Qr
NixOS_GitHub has left #nixos []
<rycee> Hmm, yeah. For me `home.file."bin/fortune".source = "${pkgs.fortune}/bin/fortune";` worked OK.
<andrewrk> how can I work around https://github.com/NixOS/patchelf/issues/138 ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vF3Q1
<NixOS_GitHub> nixpkgs/master aac7370 zimbatm: kops: 1.6.2 -> 1.7.1
NixOS_GitHub has left #nixos []
<andrewrk> minikube has the wrong dynamic linker
<andrewrk> and patchelf has a bug for exes generated by go
Neo-- has joined #nixos
<LnL> heh, build fro source?
tdc has quit [(Ping timeout: 260 seconds)]
<LnL> from
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vF3Qb
<NixOS_GitHub> nixpkgs/master 81baa25 zimbatm: gifsicle: 1.88 -> 1.90
NixOS_GitHub has left #nixos []
<andrewrk> LnL, I can try again. the build steps weren't documented and the makefile is atrocious
waleee has quit [(Quit: WeeChat 1.9.1)]
<andrewrk> LnL, I'm in touch with one of the maintainers. there's a bug in the nixpkg. said maintainer will send a PR to fix (or so he claims)
<andrewrk> LnL, or were you suggesting that the answer to how to work around patchelf is using that wrapper thing?
<LnL> no, was just suggesting to use the stuff that's already in nixpkgs
<LnL> since some nice people already figured out how to deal with the makefile :D
<andrewrk> yeah. I tried that and ran into an issue that the maintainer helped me work around
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vF375
<NixOS_GitHub> nixpkgs/master f4e3822 zimbatm: google-cloud-sdk: 171.0.0 -> 177.0.0
NixOS_GitHub has left #nixos []
universalpackage has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vF35f
<NixOS_GitHub> nixpkgs/master 314979f zimbatm: caddy: 0.10.9 -> 0.10.10
NixOS_GitHub has left #nixos []
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon1 has joined #nixos
babs has joined #nixos
fendor has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/6233be812f (from 2 days ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
thblt has quit [(Remote host closed the connection)]
jbgi has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vF3d6
<NixOS_GitHub> nix/master 212e72c Eelco Dolstra: Fix build...
NixOS_GitHub has left #nixos []
<rycee> ldlework: Nice work with the docker module :-)
<rycee> ldlework: If I understand correctly then it sets up a system daemon? Maybe that part would be a good fit for nix-darwin?
freeman42x[NixOS has quit [(Ping timeout: 240 seconds)]
apeyroux has quit [(Quit: Lost terminal)]
zzamboni has joined #nixos
apeyroux has joined #nixos
ahstro has joined #nixos
<kkini> wtf...
<kkini> I'm trying to install nix on a couple machines behind a proxy using the binary tarball, and I'm having trouble because the curl that's included in the binary tarball can't seem to make HTTPS connections through the proxy
<kkini> but only one one machine -- on a different machine, behind the same proxy, it has no problem making the connection (when it tries to do a `nix-channel --update`)
<gchristensen> orivej: I can let you call grahamcofborg if you promise not to try mass rebuilds, and you review the changes prior to triggering it. you have to be gentlee, it is running on some volunteer hardware :)
<kkini> I tried `ldd -v` on /nix/*-curl*/* on the machines, and there are no links out of the nix store except to /lib64/ld-linux-x86-64.so.4, which is just the system dynamic linker...
<kkini> and I don't think there's any difference in how the proxy responds to requests from the two different machines, so what on earth...
<gchristensen> kkini: probably an ssl validation error
<gchristensen> your proxy is probably reesigning reqs
<kkini> gchristensen: indeed the error message (when I set "-v" in ~/.curlrc) says "* error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol" just as in that issue
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee opened pull request #31107: expat: 2.2.4 -> 2.2.5 (staging...bump/expat) https://git.io/vF3bj
NixOS_GitHub has left #nixos []
<kkini> but I don't see why that would make it work on one machine and not another, when all the stuff in the binary tarball is supposed to be maximally self-contained... right?
zzamboni has quit [(Remote host closed the connection)]
<gchristensen> did you check the env vars (end of the issue body?)
<kkini> Oh, I'm an idiot. Yeah, they are different... somehow. (They were supposed to be replicated between the machines, but at some point one of them was changed to https. D'oh!)
<kkini> Thanks, gchristensen :)
<gchristensen> :)
ma27 has quit [(Ping timeout: 240 seconds)]
yegortimoshenko has joined #nixos
<yegortimoshenko> i have a vague memory of seeing a xml parser for nix somewhere in NixOS/nixpkgs, was i dreaming or is that actually true
roberth has joined #nixos
jacob has quit [(Quit: Lost terminal)]
disasm has quit [(Quit: WeeChat 1.9.1)]
disasm has joined #nixos
<tilpner> Maybe you're remembering toXML, which IIRC doesn't have a reading counterpart
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vF3As
<NixOS_GitHub> nixpkgs/master 2ad3933 Orivej Desh: autofs: do not strip needed symbols...
<NixOS_GitHub> nixpkgs/master 2df0fe9 Franz Pletz: Merge pull request #31038 from orivej/autofs...
NixOS_GitHub has left #nixos []
<orivej> gchristensen: I promise. Is its source code public?
<gchristensen> yeah, but you probably don't want tosee it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-17.09: https://git.io/vF3A0
<NixOS_GitHub> nixpkgs/release-17.09 4200dcd Orivej Desh: autofs: do not strip needed symbols...
<NixOS_GitHub> nixpkgs/release-17.09 2372661 zimbatm: caddy: 0.10.9 -> 0.10.10...
NixOS_GitHub has left #nixos []
disasm has quit [(Client Quit)]
disasm has joined #nixos
fenedor has joined #nixos
fenedor has quit [(Client Quit)]
fendor has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #31108: openvpn-auth-ldap: init at 2.0.3 (master...openvpn-auth-ldap) https://git.io/vF3xe
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb closed pull request #29250: pulseaudio: enable by default in NixOS if sound is enabled (master...pulseaudio-by-default) https://git.io/v51m2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31105: firefoxPackages: tor-browser: fix build (master...tor-browser) https://git.io/vF3QZ
NixOS_GitHub has left #nixos []
<orivej> gchristensen: am I right that mass rebuilds are not an issue if I ask the bot to build the package that causes the mass rebuild?
<LnL> depends if it's the stdenv
ma27 has joined #nixos
<LnL> if something changed in there you need to rebuild everything in the stdenv to build any package
kp__ has joined #nixos
Bane^ has quit [(Ping timeout: 260 seconds)]
simendsjo has quit [(Quit: sleep)]
<gchristensen> orivej: I don't know :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vF3xp
<NixOS_GitHub> nixpkgs/master a66f1d6 Renaud: rdfind: 1.3.4 -> 1.3.5...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #31093: rdfind: 1.3.4 → 1.3.5 (master...pkg/rdfind) https://git.io/vF3e6
NixOS_GitHub has left #nixos []
roberth has quit [(Ping timeout: 258 seconds)]
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
Bane^ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #31109: alembic: fix build (master...alembic-fix-build) https://git.io/vF3pr
NixOS_GitHub has left #nixos []
jgertm has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vF3ph
<NixOS_GitHub> nixpkgs/master e32352f Franz Pletz: nixpkgs manual: unfree packages are untested...
NixOS_GitHub has left #nixos []
vaibhavsagar has joined #nixos
<Unode> Is there any quick way to have a "nix-shell -p zlib.dev --run 'make ...'" find the zlib headers?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] plesiv opened pull request #1657: Mention "float" type in builtins.typeOf section of the docs (master...docs-typeof-fix) https://git.io/vF3h3
NixOS_GitHub has left #nixos []
<Unode> I thought adding .dev would be sufficient but it isn't. Make still fails to find -lz and zlib.h
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #30964: cyrus_sasl: Fix CVE-2013-4122 (master...cyrus_sasl_cve) https://git.io/vFtlB
NixOS_GitHub has left #nixos []
hotfuzz has quit [(Quit: WeeChat 1.9.1)]
Wharncliffe has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar force-pushed osx_private_sdk_remove_runtime from 8661bd0 to 98642ce: https://git.io/vFO1M
<NixOS_GitHub> nixpkgs/osx_private_sdk_remove_runtime 98642ce Domen Kožar: osx_private_sdk: reduce output size and remove it from runtime closures
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Fuuzetsu pushed 2 new commits to master: https://git.io/vF3hD
<NixOS_GitHub> nixpkgs/master e1d7f7b Mateusz Kowalczyk: cloc: fix sourceRoot
<NixOS_GitHub> nixpkgs/master c733fdd Mateusz Kowalczyk: firefox-devedition-bin: 57.0b11 -> 57.0b13
NixOS_GitHub has left #nixos []
jgertm has joined #nixos
<ahstro> For some reason, my $EDITOR is unset in tmux, and Neovim doesn't use it's colorscheme... Anyone have had trouble with tmux and have any idea what might be going on?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/vF3hb
<NixOS_GitHub> nixpkgs/master 29798e8 Thomas Tuegel: ark: fix wrapProgram invocation
NixOS_GitHub has left #nixos []
<Unode> ahstro: echo $TERM inside tmux
hotfuzz has joined #nixos
<ahstro> Unode: Ooh, we're gettings somewhere! It's `screen` in tmux and `xterm-256color` in Konsole
<Unode> might just be that you need screen-256color for proper colorscheme usage.
gilligan_ has joined #nixos
<ahstro> Unode: Whoo, that did it! :D Thanks!
<ahstro> Still no idea what the deal is with the EDITOR variable though..
hiratara has quit [(Ping timeout: 258 seconds)]
<MoreTea> I like how niksnut had set EDITOR=ls :P
<Fuuzetsu> on nix 1.12 trying to use nix build, I get "error: 'http://hydra.nixos.org' does not appear to be a binary cache", any ideas?
<Fuuzetsu> I'm on master using ‘nix build nixpkgs.sloc --no-link’
<Unode> MoreTea: evil
<ahstro> MoreTea: Hahah!
<Dezgeg> http://hydra.nixos.org isn't a binary cache anymore, it can be removed
<LnL> hydra has not served caches in a very long time
<MoreTea> yes, it'll probably break `git commit` (if you're not using -m) and other such commands.
<Unode> any suggestions about my zlib question above? I was looking for something I could solve with a simple one-liner.
<Fuuzetsu> even after removing hydra from my configuration.nix and running rebuild switch, it still gives me the same thing; I wonder where it could be getting it from still?
<LnL> Fuuzetsu: does that also show up in nix show-config | grep 'substituters ='
hiratara has joined #nixos
<Fuuzetsu> seems nix.conf didn't get updated..
<globin> Unode: nix-shell -p pkgconfig -p zlib --run might work if the thing you're using is looking for them via pkg-config
<Fuuzetsu> let me reboot brb
betaboon has quit [(Quit: WeeChat 1.9.1)]
<globin> Unode: otherwise you'll might have to set NIX_CFLAGS_COMPILE="-I ${zlib.dev}/include"
<Unode> globin: trying ...
<Fuuzetsu> hm same after reboot, why is this damn file not updating
<Fuuzetsu> can someone ‘ls -lha /etc/nix/nix.conf’?
<Unode> globin: neither seems to help :(
<Unode> unless I'm doing something wrong. NIX_CFLAGS_COMPILE you set inside the shell right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dhess opened pull request #31110: armv7l-linux: add a beagleboard.org kernel + platform. (master...beaglebone) https://git.io/vFseu
NixOS_GitHub has left #nixos []
jb55 has quit [(Ping timeout: 240 seconds)]
<Fuuzetsu> that's not good, can't rebuild switch for same reason now, good stuff
jb55 has joined #nixos
<Unode> Fuuzetsu: it's a symlink on my system, as expected
<globin> Fuuzetsu: --rollback should work without working binary caches
<globin> Unode: correct
<Fuuzetsu> Unode: to store or /etc/static/nix.conf?
<Unode> Fuuzetsu: static
<Fuuzetsu> (and then to store)
<globin> Unode: do you have something to reproduce
<Unode> globin: yes, the thing I'm trying to run https://github.com/luispedro/ngless, trying to compile "make samtools-1.4/ngless-0.5.0-samtools"
Mykyta has quit [(Ping timeout: 260 seconds)]
<Fuuzetsu> ok I fixed it; hack was to pass --option binary-caches "" to nix-rebuild switch which then graciously updated my nix.conf too; I changed nix.maxJobs just to make sure it's triggered too, unsure if that's what really did it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vFsep
<NixOS_GitHub> nixpkgs/master bfd5778 Franz Pletz: tzdata; 2016j -> 2017c...
NixOS_GitHub has left #nixos []
<LnL> Fuuzetsu: should be a symlink to /etc/static/nix/nix.conf or something
guillaum2 has quit [(Ping timeout: 260 seconds)]
ssmike has joined #nixos
<gilligan_> sphalerite, around?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-17.09: https://git.io/vFsvT
<NixOS_GitHub> nixpkgs/release-17.09 34b752c Mateusz Kowalczyk: firefox-devedition-bin: 57.0b11 -> 57.0b13...
<NixOS_GitHub> nixpkgs/release-17.09 c567ec6 Franz Pletz: tzdata; 2016j -> 2017c...
NixOS_GitHub has left #nixos []
<c0bw3b> eiiii i got PR#31111 \o/
<LnL> oh, you didn't actually activate the change yet
iqubic has joined #nixos
jushur has quit [(Quit: The Borg joined forces with Skynet, Resistance is futile! Uploading has begun!)]
<Unode> globin: any clues so far?
<Unode> I mean, I can probably do it with a full blown derivation, but since I'm bumped into other zlib issues recently, I'm wondering if it's just be fumbling or if there's indeed something missing.
freeman42x[NixOS has joined #nixos
<gilligan_> globin, you were working on nixbot during the nixcon hackathon - right?
<globin> gilligan_: yes
<gilligan_> globin, ok cool.. adding that to my blog post then ;)
<globin> gilligan_: RFC will probably follow tomorrow, demo implementation tonight
<gilligan_> if anyone else wants to let me know what they were working on so I can add it, that would be appreciated ;-)
mizu_no__ has joined #nixos
<fpletz> gilligan_: other than security stuff, I was working on netboot.xyz support. not finished yet though… needs some perl hackery :)
<gilligan_> fpletz, i shall add that. Thank you
<MoreTea> Hm, can you recover from calling a function with the wrong arguments with tryEval?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar closed pull request #31109: alembic: fix build (master...alembic-fix-build) https://git.io/vF3pr
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/737b466031 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<nh2[m]> how do I show the age of some package in the nix store, as considered by `nix-collect-garbage --delete-older-than`?
<MoreTea> This throws an error that cannot be caught by tryEval builtins.tryEval (({a}:a) { b = 1; })
<MoreTea> I'm encountering this in the auto generated hex packages pkgs.beam.packages.erlang.alice
<domenkozar> nh2[m]: it's based on root profile age
<nh2[m]> domenkozar: can I query it somehow for some package? E.g. if I have `/nix/store/m74s3ylqgnpycnhaj1hxqax3xpx9l9z9-ghc-8.0.2`, can I somehow query which profiles link that and how old they are?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to mariadb-10.2: https://git.io/vFsfF
<NixOS_GitHub> nixpkgs/mariadb-10.2 3becdb5 Robin Gloster: urweb: fix build
<NixOS_GitHub> nixpkgs/mariadb-10.2 87a3649 Robin Gloster: Merge remote-tracking branch 'upstream/master' into mariadb-10.2
NixOS_GitHub has left #nixos []
<aminechikhaoui> domenkozar: isn't it the registration time of the path in the db
<aminechikhaoui> as in `nix path-info <path> --json`
kkini has quit [(Remote host closed the connection)]
simukis has quit [(Ping timeout: 240 seconds)]
kkini has joined #nixos
<domenkozar> aminechikhaoui: but it still needs to consider liveliness
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin force-pushed mariadb-10.2 from 87a3649 to 4650a68: https://git.io/vFsJa
<NixOS_GitHub> nixpkgs/mariadb-10.2 4cf50bb Robin Gloster: mariadb: 10.1.26 -> 10.2.6
<NixOS_GitHub> nixpkgs/mariadb-10.2 56f4958 Robin Gloster: mariadb: fix lib cycle and hash
<NixOS_GitHub> nixpkgs/mariadb-10.2 3a25ef3 Robin Gloster: mariadb: lib -> connector-c
NixOS_GitHub has left #nixos []
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
ambro718 has quit [(Ping timeout: 260 seconds)]
freeman42x[NixOS has quit [(Quit: Leaving)]
yegortimoshenko has quit [(Ping timeout: 240 seconds)]
Mrmaxmeier has joined #nixos
ma27 has quit [(Ping timeout: 240 seconds)]
c0bw3b has left #nixos []
p4cman has quit [(Quit: Connection closed for inactivity)]
qknight has joined #nixos
<qknight> hey. anyone knows why there is no gst-launch-1.0 binary in nixos after installing: nix-env -iA nixos.gst_all_1.gstreamer
<qknight> i don't get the packaging but seems that the bin folder might be missing
<orivej> MoreTea: "nix edit nixpkgs.pkgs.beam.packages.erlang.alice" can't recover from this either :)
darlan has joined #nixos
darlan has quit [(Client Quit)]
Neo-- has quit [(Read error: Connection reset by peer)]
<orivej> I wonder how can hydra...
Neo-- has joined #nixos
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
<orivej> qknight: it does not seem that gst-launch-1.0 is provided by any package, but gst-launch should be provided by "gstreamer"
<qknight> orivej: but i need gst 1.0 and not gst 0.1
<orivej> qknight: aha, gst-launch-1.0 is in "gst_all_1.gstreamer.dev"
ssmike has quit [(Ping timeout: 248 seconds)]
<qknight> orivej: yes
<qknight> orivej: but i don't know how to patch the default.nix for it
<MoreTea> orivej: yes, quite annoying.
<MoreTea> I have a blacklist of +/- 150 key paths in pkgs that won't work when iterating over everything in pkgs.
<Dezgeg> sounds like gst_all_1.gstreamer needs fixing
nix-gsc-io`bot has joined #nixos
<MoreTea> But now this works!: nix-instantiate --eval --strict --json -E ' import ./all-maintainers.nix { changedPathPrefixes = ["pkgs/applications/science/logic/mcrl2/"];}'
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/18c5788b3c (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<MoreTea> {"mcrl2":{"maintainers":["Maarten Hoogendoorn <maarten@moretea.nl>"],"name":"mcrl2-201707"}}
<qknight> Dezgeg: thanks for confirming that. i'll do that tomorrow
<orivej> qknight: ok, but if for the time being you can install the binaries with "nix-env -iA gst_all_1.gstreamer.dev"
<orivej> MoreTea: that's great! is it a part of some pull request?
<MoreTea> it wil be
<MoreTea> part of the implementation for the maintainers RFC (https://github.com/NixOs/rfcs/pull/19)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 3 new commits to master: https://git.io/vFsIn
<NixOS_GitHub> nixpkgs/master bddb71a c0bw3b: audacious: drop unneeded libmcs input
<NixOS_GitHub> nixpkgs/master e2e8d59 c0bw3b: libmcs: 0.7.2 -> deprecated
<NixOS_GitHub> nixpkgs/master bb6257b Vladimír Čunát: Merge #31111: remove libmcs
NixOS_GitHub has left #nixos []
kp__ has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #31111: libmcs: 0.7.2 -> deprecated (master...pkg/libmcs) https://git.io/vFseg
NixOS_GitHub has left #nixos []
Neo-- has quit [(Ping timeout: 240 seconds)]
erasmas has quit [(Quit: leaving)]
gilligan_ has quit [(Quit: Leaving)]
jensens has quit [(Ping timeout: 246 seconds)]
<benley> arg, the closure for anything that depends on gnustep.base is gargantuan
<benley> I don't actually need anything except the gnustep shared .so but it drags in all of clang and a whole bunch of other stuff
digitus has quit [(Quit: digitus)]
ison111 has joined #nixos
dywedir has quit [(Ping timeout: 246 seconds)]
MP2E has joined #nixos
<dj_goku_> so I am trying to build the latest erlang with java support https://github.com/NixOS/nixpkgs/blob/a982b20c3601e5376aa6508b8cadc809b05542b8/pkgs/development/interpreters/erlang/generic-builder.nix#L18 but when I try nix-env -i erlang-20.0 --dry-run --arg javacSupport true it doesn't show openjdk being needed.
mizu_no_oto has joined #nixos