kampfschlaefer has quit [(Ping timeout: 260 seconds)]
scode has quit [(Ping timeout: 245 seconds)]
yurrriq has quit [(Ping timeout: 245 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
roconnor has joined #nixos
teh[m]1 has quit [(Ping timeout: 245 seconds)]
ArdaXi[m] has quit [(Ping timeout: 245 seconds)]
teto has quit [(Ping timeout: 245 seconds)]
rycee[m] has quit [(Ping timeout: 245 seconds)]
Ralith has quit [(Ping timeout: 245 seconds)]
hexa- has quit [(Ping timeout: 245 seconds)]
tghume has quit [(Ping timeout: 245 seconds)]
koenvg_ has quit [(Ping timeout: 245 seconds)]
rjsalts has quit [(Ping timeout: 245 seconds)]
Shados has quit [(Ping timeout: 245 seconds)]
jgrasser has quit [(Ping timeout: 245 seconds)]
Aexoden_ has quit [(Ping timeout: 245 seconds)]
MightyJoe has quit [(Ping timeout: 245 seconds)]
Shell has quit [(Ping timeout: 245 seconds)]
symphorien has quit [(Ping timeout: 245 seconds)]
boegel has quit [(Ping timeout: 245 seconds)]
anelson has joined #nixos
scode has joined #nixos
Shados has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
teh[m]1 has joined #nixos
teozkr has joined #nixos
pkogan has joined #nixos
yurrriq has joined #nixos
kthnnlg has quit [(Ping timeout: 268 seconds)]
eacameron has joined #nixos
cyraxjoe has joined #nixos
jgrasser has joined #nixos
boegel has joined #nixos
jml has joined #nixos
Hoolootwo has joined #nixos
Aexoden has joined #nixos
thc202 has quit [(Ping timeout: 260 seconds)]
rjsalts has joined #nixos
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
Ralith has joined #nixos
thoughtpolice has quit [(Ping timeout: 240 seconds)]
koenvg_ has joined #nixos
teto has joined #nixos
rycee[m] has joined #nixos
ArdaXi[m] has joined #nixos
hiratara has quit [(Ping timeout: 240 seconds)]
symphorien has joined #nixos
thoughtpolice has joined #nixos
markus1189 has joined #nixos
mudri has joined #nixos
puffnfresh has quit [(Ping timeout: 240 seconds)]
markus1199 has joined #nixos
tghume has joined #nixos
eacamero_ has quit [(Ping timeout: 268 seconds)]
Shell has joined #nixos
lewo has joined #nixos
puffnfresh has joined #nixos
suvash_away has quit [(Ping timeout: 240 seconds)]
hexa- has joined #nixos
markus1209 has quit [(Ping timeout: 260 seconds)]
markus1219 has quit [(Ping timeout: 260 seconds)]
<benley>
grah I wish there was a way to have nix cache the result of everything that comes before checkPhase in a derivation build, so when I'm repeatedly tweaking things to fix the tests it doesn't have to rebuild the whole thing from scratch each time
suvash_away has joined #nixos
hiratara has joined #nixos
<benley>
I suppose I could hack it by splitting into multiple chained derivations
<arianvp2>
so im looking into the internals of nix
<arianvp2>
especially the derivation function
<arianvp2>
it returns an `all` field
<arianvp2>
what is it used for?
<benley>
I think that's part of the "multiple outputs" functionality, but I'm not sure.
takle has joined #nixos
<arianvp2>
what is the multiple outputs functionality?
eacameron has joined #nixos
bfrog has quit [(Ping timeout: 240 seconds)]
d762b440__ has quit [(Remote host closed the connection)]
<benley>
you can produce multiple sub-derivations from one build, and have binaries and user bits go to one called "bin", and headers and debug libraries and so forth go to another called "dev", that sort of thing. It's useful to reduce the transitive closure size of things that only need to depend on part of it.
d762b440__ has joined #nixos
ryanartecona has joined #nixos
<arianvp2>
ah I see
<arianvp2>
is there an example of a build that uses multiple sub-derivations?
<arianvp2>
out of the top of your head?
<benley>
look for any default.nix file that defines an "outs" attribute, iirc
takle has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] benley opened pull request #23255: bazel: Log test errors to stderr during checkPhase (master...bazel) https://git.io/vytyR
estewei has quit [(Quit: Quit)]
eacameron has joined #nixos
<eacameron>
sphalerite: Aha, that's an excellent idea.
chpatrick has quit [(Quit: Leaving.)]
erasmas has quit [(Quit: leaving)]
takle has joined #nixos
<NixOS_GitHub>
[nixpkgs] benley pushed 2 new commits to master: https://git.io/vytS3
<NixOS_GitHub>
nixpkgs/master d348b80 Benjamin Staffin: bazel: Log test errors to stderr during checkPhase...
<NixOS_GitHub>
nixpkgs/master 6e6c278 Benjamin Staffin: Merge pull request #23255 from benley/bazel...
prose[m] has quit [(Ping timeout: 240 seconds)]
kthnnlg has joined #nixos
<arianvp2>
benley: found it. thanks
<tnks>
I haven't been keeping up in the channel, but is it a known problem at this point that Hydra isn't caching Haskell packages?
<tnks>
I had this problem about a week ago... built everything locally, which took a while.
<tnks>
and got on with my week.
<NixOS_GitHub>
[nixpkgs] edanaher opened pull request #23256: Ensime (master...ensime) https://git.io/vytS7
<tnks>
but I was curious if the problem had been solved, and tried the lastest nixpkgs/unstable release, and had the same experience.
<tnks>
Hydra seems to have cached the non-Haskell stuff, just not haskellPackages.
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
Rizy has quit [(Ping timeout: 268 seconds)]
<gchristensen>
globin: it is very late. still here?
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 11 new commits to master: https://git.io/vytQi
<NixOS_GitHub>
nixpkgs/master d849c0e Tim Steinbach: Build support
<NixOS_GitHub>
nixpkgs/master 1f2e19b Tim Steinbach: Partial junit_4_12
<NixOS_GitHub>
nixpkgs/master 38e762c Tim Steinbach: Partial maven-hello
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
suvash_away has quit [(Ping timeout: 240 seconds)]
jml has quit [(Ping timeout: 240 seconds)]
suvash_away has joined #nixos
jml has joined #nixos
danharaj has joined #nixos
Rotaerk has joined #nixos
takle has quit [(Remote host closed the connection)]
roconnor has quit [(Ping timeout: 240 seconds)]
dustmote has joined #nixos
takle has joined #nixos
dustmote has quit [(Client Quit)]
ryanartecona has quit [(Quit: ryanartecona)]
mudri has quit [(Quit: WeeChat 1.7)]
takle has quit [(Ping timeout: 260 seconds)]
<arianvp2>
wat
<eacameron>
wat
<arianvp2>
it is 2:30. been reading nix source code all the time
stepcut has joined #nixos
<arianvp2>
i didnt notice the time
<arianvp2>
gotta work at 9 tomorrow. hehe
<arianvp2>
k good night :)
<eacameron>
arianvp2: sweet dreams
<eacameron>
about nix
<eacameron>
;)
takle has joined #nixos
roconnor has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
roconnor has quit [(Ping timeout: 260 seconds)]
sheenobu has quit [(Quit: Leaving)]
<Profpatsch>
It’s fascinating to see how many ways there are to setup a nix system.
<Profpatsch>
(referring to the “Best Practices” thread on the LM.
<Profpatsch>
*ML
AllanEspinosa has joined #nixos
dhess` has quit [(Remote host closed the connection)]
dhess` has joined #nixos
<gchristensen>
I've been considering using custom modules for this new laptop
MP2E has joined #nixos
bitonic has joined #nixos
<Profpatsch>
gchristensen: Yeah, I’m writing a reply right now, that will contain the imports vs. custom module viewpoint.
<gchristensen>
though thus far I've embedded everythhinng in to configuration.nix, including my emacs init.el and my i3 configuration. it is a bit long.
<gchristensen>
^ it seems I've got personal issues with this keyboard :)
bobthejanitor has joined #nixos
<Profpatsch>
gchristensen: Mail with examples should be on the list now.
<Profpatsch>
Ah, I left a two in there, because I remembered there’s `import` as well midway through. :)
<bobthejanitor>
I'm installing libxml2 via nix-env, but it doesn't produce a static library, just shared objects files. How would I go about ensuring a static lib file is compiled?
<Profpatsch>
Oh lol, I referenced the commit with the weird-humoured message for that mail.
<gchristensen>
I had this handy helper that I can't find anymore: foo = mutate ./foo.sh "substituteInPlace %foo% ${pkgs.foo}/bin/foo";
<Profpatsch>
As in: Changes post-patch?
<gchristensen>
yeah
<gchristensen>
not hard to make, I just don't want to make it again :P
<gchristensen>
(I hate moving to a new computer.)
<Profpatsch>
That’s why I git-commit everything like a maniac.
<Profpatsch>
Except my endless fish history.
<Profpatsch>
I’d be screwed if I lost that.
<gchristensen>
I'm terrible about that
<Profpatsch>
It’s terrifying how many commands from over a year ago I look up with the substring-search regularly if I think about it.
<Profpatsch>
I wonder how many hours I’d lose if that became corrupted. oO
peterhoeg has quit [(Remote host closed the connection)]
digitalmentat has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub>
[nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vytAV
<NixOS_GitHub>
nixpkgs/master 9431e49 Vincent Laporte: ocamlPackages.ppx_tools: init at 5.0+4.05
<NixOS_GitHub>
nixpkgs/master 52507b3 Vincent Laporte: ocamlPackages.ocp-build: 1.99.17-beta -> 1.99.18-beta
endformationage has quit [(Quit: WeeChat 1.6)]
endformationage has joined #nixos
johnsonav has quit [(Ping timeout: 240 seconds)]
endformationage has quit [(Quit: WeeChat 1.6)]
mizu_no_oto has joined #nixos
smw_ has joined #nixos
<smw_>
Hi all. I am trying to boot the nixos arm image from Dezgeg on a rpi3. After putting the DTD where it expected it, I have gotten all the way to stage 1! However, now it is saying that it 1. can't modprobe dm_mod and 2. can't find /dev/disk/by-label/NIXOS_SD (which considering it can't load the device mapper doesn't really surprise me)
<smw_>
I think it is in a catch 22 where it needs to load dm_mod to find the root partition but /lib/modules is on the root partition
sellout- has joined #nixos
<Profpatsch>
smw_: If you stay joined to this channel, Dezgeg will probably reply once he reads your question.
jsoo has joined #nixos
alx741 has quit [(Quit: alx741)]
jsoo has quit [(Ping timeout: 268 seconds)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
* dtzWill
doing his first laptop NixOS install O:)
<gchristensen>
dtzWill: nice! which one?
<dtzWill>
shiny new 2017 xps15 :D
<dtzWill>
expecting a few rough patches re:linux support, but we'll see ^.^
<gchristensen>
ooohhh would you like to see my notes?
<laboon>
(I am using NetBSD because it is portablçe by nature and easier to use, at least for me)
<thoughtpolice>
gchristensen: FWIW the ath10k firmware-5.bin issue is the same in Fedora 25 as well on my XPS 13, so I'm pretty sure this is just some big upstream mess about the firmware, probably something you can just ignore until it's fixed.
<clever>
laboon: looks like some work has been started, you should be able to compile nix from source, and then use nix-build and nix-env to build almost anything in nixpkgs
<thoughtpolice>
(Naturally anything you google about this is people wildly flailing around copying firmware files everywhere they can off the internet and bug reports with 900 random people claiming different things.)
<thoughtpolice>
I *think* (from what I can basically piece together amongst screaming in the dark) the firmware file is actually just misnamed and firmware-4.bin is actually firmware-5.bin. The driver falls back when it can't find -5.bin, but because -4.bin is the right one it works anyway.
<clever>
thoughtpolice: ive noticed with another linux wifi driver, is that the device<->host api version is in the filename, and the linux driver supports a range of api's
mguentner has joined #nixos
<clever>
thoughtpolice: and it will search for a matching firmware, starting at the newest and working its way backwards
<thoughtpolice>
I think the ath10k driver works this way basically, too
<clever>
so it will request many files, until it finds a match
<laboon>
clever: Well, I am clashing with some "std=c++14" errors when I try to compile it..
<thoughtpolice>
But yes, it's something to safely ignore... unless you're one of those people who wants a perfectly clean dmesg boot. Which is everyone!
<clever>
laboon: try building the 1.11.6 tag of nix, rather then master
<Profpatsch>
laboon: Ah, sorry, was distracted.
<Profpatsch>
The ideas behind nix should be applicable on any system.
<Profpatsch>
nixpkgs relies on symlinks, so there’s that.
<Profpatsch>
In order to use nixpkgs, you’d have to use nix, yes.
<laboon>
My primary concern, at least for now, is to compile Nix. First things first!
<Profpatsch>
In my opinion nothing speaks against nix on a non-linux system. I don’t know if nix relies on Linux-specific syscalls or functionality, though.
<Profpatsch>
But the BSDs have a quite good compatibility layers afaik.
<laboon>
I think not. At least for now, the only thing I have problems is in the damn c++14 support.
<Profpatsch>
Nixos completely depends on systemd and freedesktop standards of course.
<laboon>
I have tried with clang, but it complaisn with compile-time errors. I will post them in a pastebin now.
<Profpatsch>
I’m not sure if *BSD bug reports for nixpkgs are welcome; since we strife for good Darwin support it should be fine.
<Profpatsch>
Because Darwin already started as BSD and then some.
<Profpatsch>
There’s probably a considerably non-zero amount of people interested in good BSD support if I think about it.
<Profpatsch>
laboon: Since I do neither BSD nor C++ I won’t be of much help to you there.
<pikajude>
Profpatsch: i'm a non-zero!
<Profpatsch>
see? :)
<laboon>
Profpatsch: pikajude : YEA! Two!
mguentner2 has joined #nixos
<pikajude>
we're almost there
<laboon>
If someone is interested, here is the message:
<laboon>
About the "getting rid of systemd dependence" milestone, I can consider it later. If I learned something in opensource worl and computing in general, is: showing the beast running is the best argument.
<clever>
eacameron: here is an example of what the narinfo files should contain
<eacameron>
clever: Ah, interesting. So it's a sort of HEAD request for the cache?
<clever>
yeah, it will list off everything else X depends on, who signed it, and what url to dl it at
<clever>
for builds where you have the .nix files, nix will work its way up from the libraries to the final product, because it already knows the dependency tree
<clever>
but for when you dont have the .nix files, it has to work in the other direction, recursively following the References
<eacameron>
clever: Ah that makes sense. A great design really.
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
dustmote has joined #nixos
stepcut has quit [(Remote host closed the connection)]
dustmote has quit [(Client Quit)]
<Profpatsch>
It's been [359 days] since you've clicked on a codetriage.com link
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<sziszi>
good morning
eacameron has quit [(Remote host closed the connection)]
<paperd>
hello
<auntie>
mmm... I want to run "make menuconfig" for the kernel I'm using... I used nix-shell -A linux, but upon running "make menuconfig" I find I do not have the curses library in that environment
<auntie>
I also tried nix-shell -A linux -p ncurses, but that did not work at all
<paperd>
you need to edit the nix expression for the kernel
<paperd>
what are you going to do with the kernel in nix-shell?
<contrapumpkin>
I'm going to push up a fix soon, but in the meantime I was hoping to be able to run builtins.fetchTarball without having to worry about the $PATH I was running my nix tooling under
katyucha has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
ToxicFrog has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] izuk opened pull request #23262: bazel: replace patch with patchShebangs and substituteInPlace (master...bazel) https://git.io/vyqOl
<hyper_ch>
in SDDM - how can I achieve auto-login of myself?
ToxicFrog has joined #nixos
pi3r has joined #nixos
zraexy has quit [(Ping timeout: 252 seconds)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
contrapumpkin has quit [(Ping timeout: 260 seconds)]
pi3r has quit [(Read error: Connection reset by peer)]
pi3r has joined #nixos
indi_ has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
reinzelmann has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vyqGn
<NixOS_GitHub>
nixpkgs/staging e654142 Vladimír Čunát: libuv: disable a problematic test on Darwin
justbeingglad has joined #nixos
justbeingglad has left #nixos []
pi3r has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] peti pushed 3 new commits to master: https://git.io/vyqGl
<NixOS_GitHub>
nixpkgs/master 65a228a Charles Strahan: haskellPackages: use makeExtensible
<NixOS_GitHub>
nixpkgs/master e1908d4 Peter Simons: Merge branch 'master' into haskell-extensible
<NixOS_GitHub>
nixpkgs/master eb293e9 Peter Simons: Merge pull request #23192 from cstrahan/haskell-extensible...
nschoe has joined #nixos
slyfox_ has joined #nixos
pi3r has joined #nixos
slyfox has quit [(Ping timeout: 240 seconds)]
slyfox__ has joined #nixos
slyfox_ has quit [(Ping timeout: 260 seconds)]
arjen-jonathan has joined #nixos
kthnnlg has quit [(Ping timeout: 240 seconds)]
romildo has joined #nixos
d762b440__ has quit [(Ping timeout: 255 seconds)]
teknico has joined #nixos
mkoenig has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vyqZF
<NixOS_GitHub>
nixpkgs/master 86b840d Robert Helgesson: perl-Data-FormValidator: 4.81 -> 4.85
goibhniu has joined #nixos
lsix has joined #nixos
thc202 has joined #nixos
<ekleog>
hmm... hopefully someone here has an idea as to how to do something like a mkMap, ie. define foo.*.a = f config.foo.*.b ? (trying to make http://ekleog.xelpaste.net/N6xpXb compile, to be more precise)
<sphalerite>
What's the difference between buildEnv and symlinkJoin?
<NixOS_GitHub>
[nixpkgs] globin pushed 2 new commits to release-17.03: https://git.io/vyqcF
<NixOS_GitHub>
nixpkgs/release-17.03 95ec60a Benjamin Staffin: bazel: Log test errors to stderr during checkPhase...
kthnnlg has quit [(Remote host closed the connection)]
d762b440__ has joined #nixos
<NixOS_GitHub>
[nixpkgs] expipiplus1 opened pull request #23263: haskell-packages: use benchmark over bench (master...haskell-bench) https://git.io/vyq4s
__Sander__ has joined #nixos
nckx has quit [(Quit: ☭ + 🐧 + GNU Guix)]
nckx has joined #nixos
jgertm has quit [(Ping timeout: 260 seconds)]
auntie has quit [(Ping timeout: 268 seconds)]
MP2E has joined #nixos
d762b440__ has quit [(Ping timeout: 260 seconds)]
flipdotid has quit [(Ping timeout: 260 seconds)]
indi_ has joined #nixos
jgertm has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vyqEp
<NixOS_GitHub>
nixpkgs/master 23004ec Peter Hoeg: s3fs: minor cleanups
nschoe_ has joined #nixos
nschoe_ has quit [(Remote host closed the connection)]
nschoe_ has joined #nixos
nschoe has quit [(Ping timeout: 268 seconds)]
mudri has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
shymega has quit [(Quit: So long, and thanks for all the talking doors.)]
mudri has joined #nixos
fre has joined #nixos
shymega has joined #nixos
nschoe__ has joined #nixos
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to release-16.09: https://git.io/vyq2I
<tom_yy>
hi, what is the frequency of update of haskell packages ?
<tom_yy>
from hackage
<gal_bolle>
thanks bennofs, I kept trying to override rustPlatform rather than buildRustPackage
<bennofs>
tom_yy: i think peti runs a script that updates the haskell-updates branch every hour or so
<bennofs>
tom_yy: that branch is then sometimes merged to master, when there aren't too many failing builds I believe
<bennofs>
tom_yy: note that nixpkgs bases its haskell packages set on stackage LTS though, so some of the core packages are only updates when stackage LTS updates
<tom_yy>
great! thanks
pi3r has quit [(Ping timeout: 240 seconds)]
qknight has quit [(Quit: leaving)]
qknight has joined #nixos
gridaphobe has quit [(Read error: Connection reset by peer)]
gridaphobe has joined #nixos
mudri has quit [(Ping timeout: 252 seconds)]
tom_yy has quit [(Quit: Page closed)]
hotfuzz has quit [(Ping timeout: 255 seconds)]
<gchristensen>
thoughtpolice: ah! thank you :D
rmeis has quit [(Ping timeout: 252 seconds)]
hotfuzz has joined #nixos
arjen-jonathan has quit [(Quit: WeeChat 1.7)]
<gchristensen>
I'm dragging my feet copying over my password database and mail database :/
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to release-16.09: https://git.io/vyqPQ
<NixOS_GitHub>
nixpkgs/release-16.09 a20da2e Benjamin Smith: opera: 41.0.2353.56 -> 42.0.2393.517...
<NixOS_GitHub>
[nixpkgs] yurrriq opened pull request #23270: gitflow: tweak for darwin (master...update/pkgs/applications/version-management/git-and-tools/gitflow) https://git.io/vyq1P
<gchristensen>
hm is there not a tested job for 17.03?
<domenkozar>
Package ‘webkitgtk-2.4.11’ in ‘/nix/store/94i6bs2qrmcv4kkxlccr6mzx5m4zwjzl-git-export/pkgs/development/libraries/webkitgtk/2.4.nix:21’ is marked as insecure, refusing to evaluate.
<sphalerite>
Why do you hibernate? I find suspend to be much more convenient. Does it make such a big difference for battery life, or do you often go long periods without a charger?
<goibhniu>
ah, that sounds a bit annoying all the same
<dtzWill>
anyway hopefully will be in next-ish kernel anyway but thought I'd pass it along :)
ntninja has quit [(Ping timeout: 252 seconds)]
<steveeJ>
I'm wondering why xorg doesn't have override
<gchristensen>
dtzWill: have you tried gpu switching?
<LnL>
globin: oh it's in the repo :)
ilyaigpetrov has quit [(Read error: Connection reset by peer)]
adelbertc has quit [(Read error: Connection reset by peer)]
abcrawf has quit [(Ping timeout: 252 seconds)]
fre has joined #nixos
rmeis has quit [(Ping timeout: 240 seconds)]
saintaquinas[m] has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vyqpb
<NixOS_GitHub>
nixpkgs/master 616e5c1 Franz Pletz: linuxPackages.sch_cake: only supported in linux >= 4.4...
<NixOS_GitHub>
nixpkgs/master d733d36 Franz Pletz: linuxPackages.jool: only supported on linux < 4.10...
eqyiel[m] has quit [(Ping timeout: 252 seconds)]
saintaquinas[m] has joined #nixos
<dtzWill>
well :D I wasn't able to suspend before but seems to work now? haven't tried gpu switching yet, and want to verify behavior w/o patch before making too many claims
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to release-17.03: https://git.io/vyqph
<NixOS_GitHub>
nixpkgs/release-17.03 1b1d168 Franz Pletz: linuxPackages.sch_cake: only supported in linux >= 4.4...
<NixOS_GitHub>
nixpkgs/release-17.03 2aec643 Franz Pletz: linuxPackages.jool: only supported on linux < 4.10...
thaega` is now known as thaega
<gchristensen>
Mic92: it seems to be having trouble passing the test, indeed
ilyaigpetrov has joined #nixos
adelbertc has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vyqpj
<NixOS_GitHub>
nixpkgs/master 93c829d Peter Simons: Merge pull request #23274 from robbinch/pkg-tinc...
rmeis has joined #nixos
prose[m] has quit [(Ping timeout: 252 seconds)]
hotfuzz_ has joined #nixos
peterhoeg has quit [(Remote host closed the connection)]
hotfuzz has quit [(Ping timeout: 260 seconds)]
<Mic92>
gchristensen: oh, my question only how to get away with gtkwebkit. But thanks for the info I made change to the display-manager script and wanted to test wheter gdm still works.
abcrawf has joined #nixos
prose[m] has joined #nixos
peterhoeg has joined #nixos
<gchristensen>
oh ok
eqyiel[m] has joined #nixos
<dtzWill>
omg nixos (especially?) is wonderful on an SSD!
<gchristensen>
nvme!
lfont[m] has quit [(Ping timeout: 252 seconds)]
SyrupThinker[m] has quit [(Ping timeout: 252 seconds)]
<dtzWill>
i mean yeah it's fast as heck /anyway/ but I've never even used an SSD w/NixOS before--and with it's read-from-all-over-the-drive patterns I suspect it's especially beneficial
<dtzWill>
but yeah mostly this is ... the most powerful machine I've ever used personally (barring beefy servers I remote to), it just omnomnom's everything haha
acarrico has quit [(Quit: Leaving.)]
<gchristensen>
Mic92: I wonder if the test is broken from bijiben or something else, or if it isn't broken and I'm just impatient.
<sphalerite>
dtzWill: do you think the read patterns for nixos are that significantly different from other linux distros?
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 26 new commits to master: https://git.io/vyqjk
<NixOS_GitHub>
nixpkgs/master b31a63d Thomas Tuegel: pinentry_qt5: build with C++11 for Qt 5.7
<NixOS_GitHub>
nixpkgs/master a0b0dd2 Thomas Tuegel: modemmanager-qt: mark broken on Qt 5.5
<NixOS_GitHub>
nixpkgs/master e7b2300 Thomas Tuegel: threadweaver: mark broken on Qt 5.5
<dtzWill>
sphalerite: I'd wager 'yes' but I should clarify I'm mostly speculating on that, coupled with half-remembered mailing list discussion O:).
<sphalerite>
fair enough
ntninja has joined #nixos
cornu[m] has joined #nixos
<dtzWill>
I was mostly thinking that across-packages we essentially have a big hashtable for our primary data-store, and with things like optimized-store and whatnot I wouldn't be surprised if we find ourselves seeking all over the place more than is "usual"
SyrupThinker[m] has joined #nixos
<dtzWill>
but that's just that layer, dunno how lower layers handle things.... and I'm too excited with new laptop to go benchmark it.. yet :P :D
<dtzWill>
feel like I strapped a rocket to my computing experience lol
<sphalerite>
oh, and I guess that the fact that you'll never be overwriting old packages like in other distros will mean that it's spread out more
<steveeJ>
there's no way of overriding one of the libs
dannyg has joined #nixos
<dtzWill>
you must be the one the prophecies spoke of! It was not chance that this xorg organization frustrated you, steveeJ, it was fate! The ancients foretold your coming in our time of need, our xorg-derivation-rewrite hero!
<dtzWill>
(sorry, I'm not sure O:))
<NixOS_GitHub>
[nixpkgs] peterhoeg created p/libguestfs (+4 new commits): https://git.io/vyqjA
<NixOS_GitHub>
nixpkgs/p/libguestfs 53926d1 Peter Hoeg: libguestfs: 1.29 -> 1.34
<NixOS_GitHub>
nixpkgs/p/libguestfs 2608a0b Peter Hoeg: use make install
<NixOS_GitHub>
nixpkgs/p/libguestfs 6d2de2a Peter Hoeg: compile with clang
<NixOS_GitHub>
[nixpkgs] peterhoeg created f/optionSet (+1 new commit): https://git.io/vyqjh
<NixOS_GitHub>
nixpkgs/f/optionSet f170244 Peter Hoeg: optionSet -> module
<NixOS_GitHub>
[nixpkgs] peterhoeg created hosts (+1 new commit): https://git.io/vymek
<NixOS_GitHub>
nixpkgs/hosts dd4fcb1 Peter Hoeg: /etc/hosts and /etc/nsswitch.conf cleanups
<NixOS_GitHub>
[nixpkgs] peterhoeg created u/calibre at 9e59945 (+0 new commits): https://git.io/vyme4
<NixOS_GitHub>
[nixpkgs] peterhoeg created f/wxgtk (+1 new commit): https://git.io/vymeK
<NixOS_GitHub>
nixpkgs/f/wxgtk 6935502 Peter Hoeg: wxgtk: make a gtk3 variant
<NixOS_GitHub>
[nixpkgs] peterhoeg created dbussystemd (+1 new commit): https://git.io/vyme9
<NixOS_GitHub>
nixpkgs/dbussystemd 57e491e Peter Hoeg: trigger dbus services via systemd
dramforever has quit [(Quit: Leaving)]
<NixOS_GitHub>
[nixpkgs] peterhoeg created f/diag at 30597dd (+0 new commits): https://git.io/vymvk
<NixOS_GitHub>
[nixpkgs] peterhoeg created u/tf at 0418f78 (+0 new commits): https://git.io/vymv4
cpennington has joined #nixos
<Criena[m]>
Hi there. Can someone give me a hint on how to enter the system profile? Background is, that I'd like to understand why a program has troubles finding the python executable.
<Criena[m]>
The normal root shell has no problem executing python.
ThatDocsLady has joined #nixos
<steveeJ>
dtzWill: you are funny :-D I think it is actually much easier than using an override function. since xorg is just a dictionary I should be able to use "//"
<goibhniu>
Hi Criena[m], is the program installed from nixpkgs? ... how is it being run?
<Criena[m]>
Hi goibhniu, I installed prosody from nixpkgs and configured it via configuration.nix, i.e. it's executed as a system daemon via systemd. The authentication is supposed to work via an external python script.
johann__ has joined #nixos
<LnL>
c0bw3b: not without downloading the sources somehow
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vymJJ
<NixOS_GitHub>
nixpkgs/master 6784a44 Robin Gloster: clearsilver: fix build...
<c0bw3b>
LnL sources are already available in the store
ThatDocsLady has quit [(Read error: Network is unreachable)]
<goibhniu>
Criena[m]: I think you need to override environment.systemPackages for the module (but I'm sure how to do that)
<c0bw3b>
with nix-prefetch-url file://$(pwd)/busybox-1.24.2.tar.bz2
<goibhniu>
Criena[m]: you'd want to include python, and could also configure to use that script for authentication
<c0bw3b>
i imported the file manually
<LnL>
c0bw3b: hmm, do the hashes match?
smw has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] hrdinka pushed 1 new commit to master: https://git.io/vymJ2
<NixOS_GitHub>
nixpkgs/master c4eee0c Christoph Hrdinka: retroarch.beetle-saturn: set platforms to x86_64-linux...
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #23278: exfat-nofuse: build only for kernels < 4.10 (master...pkgs/exfat-nofuse/pin-kernel) https://git.io/vymt3
ttuegel has joined #nixos
abcrawf has joined #nixos
regnat[m] has quit [(Ping timeout: 252 seconds)]
jack[m] has joined #nixos
ntninja has quit [(Ping timeout: 252 seconds)]
scott2 has joined #nixos
ntninja has joined #nixos
<peterhoeg>
So here is what happened. I have a script that runs through a directory and pushes all repositories found back to "origin". My desktop had a kernel panic y'day and it my local nixpkgs clone ended up getting corrupted. This morning I then moved nixpkgs out of the way, cloned again and went on my merry ways. When running the script to sync it eventually got to "nixpkgs.broken" and due to the corruption ended up pushing to "upstream" instead of "origin".
<peterhoeg>
Once again, my sincere apologies for the noise.
<gchristensen>
oops :)
<NixOS_GitHub>
[nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vymY4
<NixOS_GitHub>
nixpkgs/master 163db1b Franz Pletz: linuxPackages.e1000e: 3.3.1 -> 3.3.5.3...
<NixOS_GitHub>
nixpkgs/master 40e8450 Franz Pletz: linuxPackages.ixgbevf: 3.2.2 -> 4.0.3...
<NixOS_GitHub>
nixpkgs/master e0b04b4 Franz Pletz: bzflag: 2.4.2 -> 2.4.8
<NixOS_GitHub>
[nixpkgs] fpletz pushed 3 new commits to release-17.03: https://git.io/vymYX
<NixOS_GitHub>
nixpkgs/release-17.03 e4d9387 Franz Pletz: linuxPackages.e1000e: 3.3.1 -> 3.3.5.3...
<NixOS_GitHub>
nixpkgs/release-17.03 168d607 Franz Pletz: linuxPackages.ixgbevf: 3.2.2 -> 4.0.3...
<NixOS_GitHub>
nixpkgs/release-17.03 f7c7632 Franz Pletz: bzflag: 2.4.2 -> 2.4.8...
icetan has joined #nixos
regnat[m] has joined #nixos
bendlas has quit [(Ping timeout: 252 seconds)]
alx741 has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
Rizy has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vymOo
<NixOS_GitHub>
nixpkgs/master be84f41 Robin Gloster: libcm: remove...
<philipp[m]>
Ouch.
Wizek has joined #nixos
Wizek_ has joined #nixos
bendlas has joined #nixos
<philipp[m]>
Bahn ist super voll
<NixOS_GitHub>
[nixpkgs] globin pushed 3 new commits to release-17.03: https://git.io/vym3l
<NixOS_GitHub>
nixpkgs/release-17.03 64f4235 Felix Richter: mhddfs: fix-format-security (#23276)...
<NixOS_GitHub>
nixpkgs/release-17.03 a7e3c70 makefu: exfat-nofuse: build only for kernels < 4.10...
<NixOS_GitHub>
nixpkgs/release-17.03 4d04452 Robin Gloster: libcm: remove...
<philipp[m]>
Aber kein Problem, weil alle an den Türen knubbeln und ich alleine zwischen den Sitzplätzen stehe.
<dtzWill>
steveeJ: don't need src/srcs to be set for mkDerivation, just use 'buildCommand = ..' and you can do the entire thing yourself
joncfoo has joined #nixos
<steveeJ>
dtz: awesome, thank you!
<dtzWill>
steveeJ: if you define buildCommand the default stuff/phases don't run, so you'll have to do something like 'mkdir -p $out; cp my_stuff $out/' (equiv of installPhase) or it'll complain
<dtzWill>
(all derivations must have an output, is a rule :))
prose[m] has quit [(Ping timeout: 252 seconds)]
prose[m] has joined #nixos
johann__ has joined #nixos
pi3r has quit [(Ping timeout: 260 seconds)]
MrAxilus[m] has quit [(Ping timeout: 252 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
seppellll has joined #nixos
bennofs has joined #nixos
Sonarpulse has joined #nixos
freusque has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] globin pushed 3 new commits to master: https://git.io/vymEz
<NixOS_GitHub>
nixpkgs/master 4c04d4e Robin Gloster: libclc: 2015-08-07 -> 2017-02-25
<maurer>
if you have a service inside AWS hitting S3, it should function
<ttuegel>
pierron: gchristensen: I don't quite understadn; should I pretend like history didn't happen because it's uncomfortable?
<maurer>
if you're serving S3 urls to outside, or pulling from outside, it's hosed
<gchristensen>
that isn't what I'm seeing
<yorick>
this is why we need ipfs
<TweyII>
globin: Goodness gracious me
<ikwildrpepper>
maurer: we also see errors inside ec2
<maurer>
ikwildrpepper: OK. This is just what I heard from a friend who runs services inside
<pierron>
ttuegel: You are on a channel where you are facing people. People can have opinion and sentiments, and better keep them out of public channels.
stepcut has joined #nixos
<pierron>
ttuegel: what you claim as history facts can hurt people feeling, and make this channel unconfortable.
<pierron>
ttuegel: Anyway, this is not the place for such side discussion.
jgertm has joined #nixos
<lassulus>
is there an environment variable I can set to build stuff localy? So I don't have to download from cache.nixos.org
<gchristensen>
lassulus: it will fail to fetch it from the cache, then build locally
<gchristensen>
and if it doesn't, then that is a serious bug
<lassulus>
yeah, but how to build locally?
<gchristensen>
it should automatically do it
<yorick>
--fallback
<yorick>
it does not automatically do it
<gchristensen>
huh
<gchristensen>
well that seems like a bug to me :P
dadagreen has quit [(Ping timeout: 260 seconds)]
<simpson>
pierron: That site doesn't work without JS. :c
<pierron>
globin: ^
<greymalkin>
Nixops manual doesn't say how to create a second volume/drive.
<lassulus>
yorick: thank you
<c0bw3b>
"--fallback --option build-use-substitutes" >> that should force the build from source
mudri has quit [(Ping timeout: 240 seconds)]
<c0bw3b>
no sorry : "--fallback --option build-use-substitutes false" >> that should force the build from source
<cransom>
gchristensen: iirc it only falls back to building locally if there's a negative response from the cache?
<cransom>
i might be misremembering that but if i don't have cache ocnnectivity, i usually don't have internet connectivity either so i kill the build before it goes any further.
* hodapp
runs in panicking
<nh2>
I can confirm, it's stuck forever on the binary cache
<greymalkin>
How do we bypass the binary cache for now?
<c0bw3b>
lol i'm building from source to avoid cache
<ibrahims>
hello people, i need a way to run `systemctl reload nginx` through a binary. the package requiring the binary uses execv and dumping `#!/bin/bash \n systemctl reload nginx` via `pkgs.writeText` failed with permission error.
<ibrahims>
can you think of a clean way to signal reload here?
<mguentner>
globin: we need servers for that
<gchristensen>
mguentner: how much storage?
<globin>
mguentner: I know, started setting stuff up with fpletz a few weeks ago but other stuff was more important..
<pierron>
The Amazon cloud is down, enjoy your sunny day ;)
<globin>
pierron: rainy and dark here \o/
<dtzWill>
same here /o\
<NixOS_GitHub>
[nixpkgs] benley opened pull request #23288: Bazel: wrap to keep java available at runtime (master...bazel) https://git.io/vymSE
<ibrahims>
or maybe someone is familiar with reloading nginx outside the systemctl and there is a wrapper binary that can do this?
<digitalmentat>
cache.nixos.org is down?
<gchristensen>
digitalmentat: /topic
<greymalkin>
Well.. I would say it's time to start using minio... but I can't make a build work from source due to GH downloads being down too >_<
<mguentner>
gchristensen: depends on a lot of parameters, but initial seeders should have 1-2 TB since we probably want to have a few releases plus sources and so on
<bgamari>
Sonarpulse, how is the cross-compilation work coming along?
<gchristensen>
mguentner: let me know what to do, preferrably in a module that I can do `.enable = true;` on :)
<Sonarpulse>
bgamari: basically need to have time to merge it
<digitalmentat>
gchristensen, thanks
<Sonarpulse>
sorry the last week after our big push there I've mainly been doing chores and other things
<Sonarpulse>
(and programming wise, a bit of Cabal stuff)
<ibrahims>
basically the command is running `{nginxBinary} -s reload` and i need to provide the right binary that could handle it. right now i've given `${pkgs.nginx} -s reload` but it is using the default configuration under nginx store directory. i guess it has no way to access the master pid used on systemd too.
<Sonarpulse>
I should get on that very soon!
<bgamari>
Sonarpulse, understandable :)
<bgamari>
no worries!
<greymalkin>
Hey, does `nix-channel --update` create a generation that can be rolled back?
<cransom>
it doesn't create a generation, but you can nix-channel --rollback
<greymalkin>
cransom: Awesome, thank you.
<cransom>
well, sorry, it does create a generation. but it doesn't rebuild or update, so its not a generation that you can nixos-rebuild --rollback from
<greymalkin>
aaaand... back up and running.
<greymalkin>
(not s3... just me)
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vym7W
<NixOS_GitHub>
nixpkgs/master bfa0671 Franz Pletz: multisync: remove, no release in > 10 years...
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.03: https://git.io/vym78
<NixOS_GitHub>
nixpkgs/release-17.03 2edf4a0 Franz Pletz: multisync: remove, no release in > 10 years...
<ibrahims>
let me ask as simpler question, is there a way to generate an executable shell file with `pkgs.writeText`?
<gchristensen>
writeScript, ibrahims
jgertm has quit [(Ping timeout: 240 seconds)]
<LnL>
or writeScriptBin if you want it in $out/bin
<cransom>
i apparently also have the attnention span of a gold fish. 'oh, i have some time. i should update this box to unstable. oh riiiiight.'
<gchristensen>
lol
<ibrahims>
thank you!
<gchristensen>
the scariest part of this s3 down time is AWS admitted to it, it must be extremely serious for them to actually admit to it
<cransom>
the crater is large. kind of hard to avoid this one.
<gchristensen>
amazing, they added a custom warning thing at the top but left the check-mark green :YP
alex-v has joined #nixos
lucasOfBesaid has joined #nixos
<lucasOfBesaid>
Ah. I do love it when the answer to my question is in the topic.
<gchristensen>
and _I_ love topic readers!
<gchristensen>
!m lucasOfBesaid
<[0__0]>
You're doing good work, lucasOfBesaid!
<lucasOfBesaid>
Is there any way to work around the outage? Some other mirror perhaps?
<gchristensen>
unfortunately not
<alex-v>
What's the proper way to add my own configuration files to something? I installed apache spark but i need to add my own conf files. Normally I would use $SPARK_HOME directory but with Nix SPARK_HOME points to something under /nix/store/...
<lucasOfBesaid>
Can derivations be built from source or something?
<gchristensen>
sure, try `--option use-binary-caches false` but lots of sources are hosted on S3, too
<makefu>
mguentner: i am clicking every url in this channel anyway ;)
* mguentner
takes note of that :>
<magnetophon>
Would be nice if there was a nixos-get-all-used-sources command...
<gchristensen>
there is something like that
<magnetophon>
?
Jackneill has quit [(Read error: Connection reset by peer)]
<dtzWill>
any partic favorite way to Nix-ify user stuff like dotfiles? I think I've seen folks mention https://github.com/kamilchm/.nixpkgs but thought I'd ask? :)
<dtzWill>
I'm trying to avoid re-inventing the wheel hehe, as much fun as that can be :)
<gchristensen>
dtzWill: I have a very shady module I wrote this morning you could use but it is very shady and I'd recommend sheenobu's nix-home
<magnetophon>
gchristensen: could you link me to it?
<magnetophon>
the get-sources, I mean
griff_ has quit [(Quit: griff_)]
<c0bw3b>
a fun thing to do is to find a copy of the sources you need, for example through https://filemare.com
<c0bw3b>
then you nix-prefetch-url that local file and rebuild from now-prefetched-sources
<dtzWill>
gchristensen: tyvm, and I mean I'm interested in your solution too although I'm curious what "shady" means! haha. WIP/under-tested? or malicious? :P
<gchristensen>
well it works
<gchristensen>
but it isn't commit-to-nixpkgs good
<dtzWill>
haha well I'd certainly be interested, although I'm looking at nix-home currently. What does your do that's different? (link to code is a fine way to answer that :D)
<dtzWill>
also I'm trying to convince myself some of these can't be handled by configuration.nix, and looks like at least a few of them can :D. example: screenrc :)
<NixOS_GitHub>
[nixpkgs] benley pushed 3 new commits to master: https://git.io/vympL
<NixOS_GitHub>
nixpkgs/master 14ef7c0 Benjamin Staffin: bazel: consolidate bazel test invocations...
<NixOS_GitHub>
nixpkgs/master 7c17c10 Benjamin Staffin: bazel: Wrap so java is present at runtime...
<NixOS_GitHub>
nixpkgs/master 6fd4486 Benjamin Staffin: Merge pull request #23288 from benley/bazel...
stepcut has quit [(Remote host closed the connection)]
<dtzWill>
gchristensen: -`ღ´-
stepcut has joined #nixos
<gchristensen>
:)
<gchristensen>
dtzWill: hey so don't use that yet ...
<dtzWill>
haha okay
<gchristensen>
give me like 10 minutes to give it a test :P
<dtzWill>
:D okay
<gchristensen>
(I've used _very_ similar code for a long time, but not this exact code.)
<dtzWill>
yep yep understood
seanz has joined #nixos
stepcut has quit [(Ping timeout: 268 seconds)]
ibrahims has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] mdaiter opened pull request #23293: riak_cs: added authv4 support and fixed advanced.conf (master...riak_cs_service) https://git.io/vymhz
<lucasOfBesaid>
I want to have my /etc/hosts file come from a Github repo. It'd be cool if nixos-rebuild triggered a git pull, but I'd settle for it just downloading from a static URL. Can this be done?
<dtzWill>
lucasOfBesaid: don't think so, since the nix-build part is supposed to be deterministic and such. But you could likely make yourself a little wrapper that just slurps the URL, updates a hash or so, runs nixos-rebuild with the result?
<LnL>
gchristensen: going to make a prototype for my approach, unless I get distracted again :)
<cransom>
you could get quite filthy with an activation script that clobbers /etc/hosts with a curl/wget as well. 'thar be dragons'
<lucasOfBesaid>
Hmm. I guess my current solution of manually using ln -fs isn't too bad.
<benley>
I kinda like the idea of managing stuff in my homedir separately from the system profile, but I could probably be convinced otherwise
<benley>
LnL: I also really prefer to keep the contents of config files as separate files in git rather than embedding them inline in a .nix file, but that's just a style preference
<LnL>
benley: you can do that with enviornment.etc."foo".source = ./foo;
<benley>
right
<benley>
that's more or less what ends up happening in my homedir.nix
AllanEspinosa has joined #nixos
auntie has joined #nixos
auntie is now known as glines
seanz has quit [(Quit: Leaving.)]
Kingsquee has joined #nixos
AllanEspinosa has quit [(Ping timeout: 268 seconds)]
<benley>
LnL: I do like what you've got going on in lnl.nix with system.defaults.*
bfrog has joined #nixos
<LnL>
that's one of the darwin specific modules I added
<benley>
LnL: I was about to ask if you were using it with that darwin nix thing that I saw somewhere, before I noticed that it is *in the same repo* as that.
<benley>
:P
<LnL>
yeah, I should really get my stuff out of that repo
<benley>
I dunno, it makes for some good examples of use...
pi3r has joined #nixos
griff_ has joined #nixos
seanz has joined #nixos
seanz has quit [(Client Quit)]
<NixOS_GitHub>
[nixpkgs] yurrriq opened pull request #23294: graphicsmagick: fix for darwin (master...update/pkgs/applications/graphics/graphicsmagick) https://git.io/vyYtB
<benley>
huh. What if there was a thing akin to nix-darwin, but for other linux distributions?
<benley>
nix could become a platform-agnostic config management system
<LnL>
yes, I think some of the stuff that's in there could move to a separate project that's more user focused
<benley>
or did I just rediscover half of dysnix and dysnomia
<gchristensen>
I think you discovered nixos
<benley>
heh well I'm _running_ nixos
AllanEspinosa has joined #nixos
<NixOS_GitHub>
[nixpkgs] abbradar opened pull request #23295: Update and improve Mono (master...mono) https://git.io/vyYt9
<benley>
I mean a nixos variant that lived on top of ubuntu or rhel or whatever
stepcut has quit [(Remote host closed the connection)]
<ikwildrpepper>
read operations on S3 should work again
<ikwildrpepper>
so I think the cache should start working again
<gchristensen>
ikwildrpepper: link for source?
<ikwildrpepper>
gchristensen: AWS on slack
<dtzWill>
aw man thank god lol
<dtzWill>
:P
<dtzWill>
f5 f5 f5 f5
<thoughtpolice>
stop you're making it worse
<dtzWill>
D: (I was kidding, haha sorry)
<benley>
If anyone knows the story of _why_ zalora's upcast / microgram stuff was abandoned, I would be interested in hearing about it.
<benley>
especially if it includes things like "we concluded that we should stop wanting to do that because it's a bad idea"
<gchristensen>
your F5s will be nothing in the face of trillions of queeue jobs that're retrying continuously right this sectond
<dtzWill>
lmao yeah that's waht I was thinking just now--i'm pretty sure my CI server isn't aware I was "joking" about retrying the binary cache repeatedly whilie struggling to process its backlog lol
<dtzWill>
is there a good way to disable nix.distributedBuilds with like an argument or env variable? doing a nixos-rebuild is a bit clunky, esp when I'm trying to just say hey I'm on a spotty wifi you're better off building it locally than sending binaries to a server... ? lol
<hodapp>
observation: 90% of my time wasted in Nix has been spent recompiling OpenCV
<contrapumpkin>
is there a good way in a NixOS config to drop arbitrary files into non-etc locations?
<dtzWill>
(yes it works! ty thoughtpolice)
<cransom>
hrm. welcome back to life s3
<cransom>
among other things
<contrapumpkin>
so the binary cache is alive again?
<cransom>
i just pulled from it
<contrapumpkin>
\o/
<dtzWill>
contrapumpkin: somewhat related: look in chat history across the past few hours, a number of folks posted their various dot-file-user-home-dir-misc-files-management solutions
eacameron has quit [(Remote host closed the connection)]
<dtzWill>
which isn't quite as flexible as you asked but might be a good place to start
<dtzWill>
oh since you just joined, guess that means looking at the logs sorry O:)
<hodapp>
I have enableContrib = true and enablePython = true, but I don't know why an item from OpenCV contrib isn't present... this may have absolutely nothing to do with Nix but I don't know exactly
stepcut has joined #nixos
<hodapp>
isn't present in Python, that is.
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
<hodapp>
interesting that python35Packages.opencv is just package 'opencv' built with enablePython=true and a specific Python package supplied.
mudri has joined #nixos
ryanartecona has joined #nixos
<benley>
LnL: I just noticed your vim-nix repo. I have been using mweber's vim-addon-nix; what's different/better in yours?
<benley>
s/mweber/MarcWeber
<LnL>
is that the builtin syntax highlighting that you get with vim_configurable?
<benley>
I believe so yeah
maninalift has joined #nixos
<benley>
holy crap, those are quite some regexes in the syntax file
<LnL>
I mine has a bit more syntax (like builtins) but the main thing is indentation
* benley
tries it out to see
<LnL>
I always tell people to create issues when they run into things but nobody does :)
ibrahims has joined #nixos
ndowens08 has joined #nixos
stepcut has quit [(Remote host closed the connection)]
<benley>
now to figure out how to get rid of the built-in vim-addon-nix from vim-configurable
<LnL>
yeah, I still have a feeling that the issue that's open is actually from the builtin syntax
<LnL>
vim_configurable uses composableDerivation so I always get confused when I look at it
<benley>
oh actually it's trivial to get rid of, as long as you set vimrcConfig.vam.pluginDictionaries.names to your own value in vin_configurable.customize
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vyYn9
<NixOS_GitHub>
nixpkgs/staging 5c89ab7 Vladimír Čunát: unbound: only use the two-phase build on Linux...
ibrahims has quit [(Ping timeout: 264 seconds)]
<LnL>
I would prefer it it just used a list of plugin derivatioons
cpennington has quit [(Remote host closed the connection)]
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
ibrahims has joined #nixos
ibrahims has quit [(Ping timeout: 268 seconds)]
fhoffmeyer has joined #nixos
<maninalift>
riiight... I'm (mostly) new to nixos and setting up a home server with it and I'd love some advice
hiratara has quit [(Ping timeout: 260 seconds)]
<gchristensen>
go ahead, maninalift
griff_ has quit [(Quit: griff_)]
Jackneill has joined #nixos
<benley>
LnL: that does seem like it would be a lot simpler
<maninalift>
I say mostly because I used it briefly on my laptop a while back and loved it but hit som snag (that I can't remember now) and had to switch back to Arch
<maninalift>
just for the sake of getting work done
<maninalift>
:)
<maninalift>
anyway, my quesry is a little vague but..
Kendos-Kenlen has joined #nixos
hiratara has joined #nixos
<NixOS_GitHub>
[nixpkgs] Kendos-Kenlen opened pull request #23297: idea.*: remove old versions (master...clean-idea) https://git.io/vyYWs
<maninalift>
I am installing on a Proliant ML10 Gen9
<maninalift>
which has no iLo
<Kendos-Kenlen>
Hi
<Kendos-Kenlen>
In case someone wants to review it, I separated the version bump of rubymine (#23081) from a clean-up PR (#23297) which remove old versions of JetBrains' IDE.
<maninalift>
it seems that a significant part of the nixos workflow is the ability to switch back an older generation at boot time
fhoffmeyer has quit [(Ping timeout: 246 seconds)]
<maninalift>
when a new configuration fails
AllanEspinosa has joined #nixos
<ndowens08>
hmm was gonna update a package, but requires perl 5.24 while we have 5.22.2
<gchristensen>
maninalift: fwiw I'm still here, just waiting for the question :)
eacameron has quit [(Remote host closed the connection)]
<ndowens08>
looking at packages in github that has been months w/o update
eacameron has quit [(Read error: Connection reset by peer)]
<maninalift>
gchristensen: thank you. I know I am meandering to the point. can someone with more experience of nixos tell me if administering a server 99% over ssh if going to be
fre has joined #nixos
eacameron has joined #nixos
<gchristensen>
I think I understand what you're getting at, despite no actual question ;)
<ndowens08>
Hey do I have to add myself as maintainer if I am just wanting to update some packages that have been months since update?
takle has quit [(Remote host closed the connection)]
<gchristensen>
boot-based rollbacks are _not_ a "significant" part of the nixos workflow, but a very incredibly helpful safety net if things go horribly wrong. This is not an every-day tool, but an emergency tool.
<gchristensen>
you can also roll-back from the command-line over ssh
<maninalift>
a major headache (i.e. if in order to interrupt the boot if going to require lugging in a monitor to a server on a shelf etc..)
<maninalift>
OK great
<maninalift>
that is reassuring
<c0bw3b>
maninalift: I run my own server hosted on a dedicated machine and I had no issue playing with it through SSH so far
<gchristensen>
I maintain several headless servers running nixos just fine, and I know at least one person running 10's of thousands of them on nixos
<gchristensen>
and, apparently, the Blue Brain Project's supercomputer HPE cluster runs NixOS too.
<c0bw3b>
but I do have access to an ILO-like through a webUI provided by my hosting company if things go wrong
ibrahims has joined #nixos
<maninalift>
c0bw3b: thanks also
<gchristensen>
maninalift: the only time you'll need the boot-based roll-back is in a scenario where you'd have to have done that anyway
roygbiv has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
<gchristensen>
but with another distro, you'd have to work hard to recover it
eacameron has joined #nixos
<LnL>
I recently just ran a single command to update redis on one of my servers :)
fresheyeball has quit [(Ping timeout: 252 seconds)]
slyfox_ is now known as slyfox
<maninalift>
yes, but with nixos I'm more inclined to take those risks because I can, although I guess I'm contradicting myself now
<Kendos-Kenlen>
maninalift: in general, breaking changes that need you to use the recovery options are really not safe and you're aware of them :P
fresheyeball has joined #nixos
<ndowens08>
gchristensen: Do I HAVE to add myself if I am just updating, possibly abandon packages?
<ndowens08>
as maintainer
<maninalift>
anyway, you both have answered my question, so thank you. I will start the next interesting task: setting up ZSH :)
<Kendos-Kenlen>
As gchristensen said, it's just a "security", a help you'll use in case your system breaks, as booting with a live CD could be on another distro
<gchristensen>
ndowens08: absolutely not
<ndowens08>
gchristensen: good, just trying to update some :)
<gchristensen>
ndowens08: but we'd love it if you did :)
ibrahims has quit [(Ping timeout: 240 seconds)]
<Kendos-Kenlen>
ah ? There is a place to set ourself as maintainer of a package ? :o
<ndowens08>
gchristensen: that could be too many to look at lol, found one about to push
<ndowens08>
Kendos-Kenlen: yea meta area
<gchristensen>
ikwildrpepper, globin, domenkozar: I'm restarting aborted jobs that failed due to S3 problems. S3 seems to be restoring.
eacameron has quit [(Ping timeout: 246 seconds)]
jgertm has joined #nixos
<Kendos-Kenlen>
:O okay
<gchristensen>
oh lol just kidding, S3 PUTs are still failing :)
<gchristensen>
c0bw3b: so the difficulty is we lack a clear trust chain. debian and friends, maintainers have a "long-time relationship" with the upstream, and can trust the GPG key from upstream
indi_ has joined #nixos
<gchristensen>
debian meanwhile has a trusted "long term relationship" with the maintainer so the maintainer signs the .deb's they upload, and debian can trust the keys
<gchristensen>
NixOS gets lots of drive-by contributions and it really needs these to survive, so having a way to build the smarts about keys in to nix itself would be good
jgertm has quit [(Ping timeout: 240 seconds)]
<c0bw3b>
gchristensen: yes I understand. Ultimately we just want to certify the integrity of the source at build time.. so we can only trust the key that we once store on our GH repo
<gchristensen>
right
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 3 new commits to master: https://git.io/vyYuL
<NixOS_GitHub>
[nixpkgs] ndowens opened pull request #23306: kytea: 0.4.6 -> 0.4.7; source was still pointing to version 0.4.6 (master...kytea) https://git.io/vyYrU
<c0bw3b>
ah could not find a proper example myslef :) thanks a lot
<nekroze>
The results of `pks.runCommand` gets added to the nix store, presumably with a hash based on the import. If my assumption is correct and I have the same pkgs.runCommand in two different nix files will the result get created twice or will there be two results in the nix store?
<ndowens08>
hmm it is in python-packages, but not letting me nix-build -A it, hmm weird, saying no attibute
<nekroze>
s/import/input/ :)
<c0bw3b>
nekroze : either not defined in all-packages or the attr name is different from the pkg name
ibrahims has joined #nixos
<nekroze>
c0bw3b: Sorry I don't understand your meaning, could you explain?
spacekitteh has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to release-17.03: https://git.io/vyYKK
<NixOS_GitHub>
nixpkgs/release-17.03 126ea60 Joachim Fasting: tinycc: restrict platforms to x86_64-linux...
roconnor has quit [(Ping timeout: 252 seconds)]
glines has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vyYKP
<NixOS_GitHub>
nixpkgs/master fe33c28 Nikolay Amiantov: blender: fix libOpenCL path
<nekroze>
c0bw3b: sorry perhaps I did not explain it clear enough. I am not looking for anything specific to packages. if I have two nixos configurations that have `services.something.config = pkg.runCommand "config.json" {} "echo '{}'";` then would there be two config.json files in the nix store because they both use the same input or would they both use the same nix store path for that file that gets created
ibrahims has quit [(Ping timeout: 260 seconds)]
<c0bw3b>
nekroze: reading back up I'm pretty sure I mixed up your nick and ndowens08 :p
endformationage has quit [(Quit: WeeChat 1.6)]
fhoffmeyer has quit [(Ping timeout: 268 seconds)]
<nekroze>
c0bw3b: ah, that makes more sense, sorry mate.
<c0bw3b>
nekroze: dont be it's my bad :)
<c0bw3b>
nekroze : as for your question I think there would be only one config.json in the store
<c0bw3b>
and both configs would point to the same hash in the store
<c0bw3b>
but not 100% sure here
<nekroze>
c0bw3b: but is that due to the input being the same, or because the output was the same. I am not sure what the hash is computed on
<c0bw3b>
the output determines the hash
<nekroze>
c0bw3b: the example was a bit too simple to show that part of my question. imagine I am saving the output of smoe /dev/random
<nekroze>
ah ok
stepcut has joined #nixos
<c0bw3b>
but a constant set of inputs should give you the same output every time
<nekroze>
c0bw3b: Not always, with cli commands. Think of SSL cert generation or automatically generating a random string for a db secret
<c0bw3b>
then the output should change
<nekroze>
c0bw3b: causing a different nix store hash for the result yeah?