matthewbauer has joined #nixos
griff_ has joined #nixos
digitus has quit [(Quit: digitus)]
orivej has joined #nixos
python476 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFK6C
<NixOS_GitHub> nixpkgs/master 4e2110b Joerg Thalheim: xbanish: 1.4 -> 1.5
NixOS_GitHub has left #nixos []
yegortimoshenko has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee opened pull request #31636: monero: 0.11.0.0 -> 0.11.1.0 (master...bump/monero) https://git.io/vFK64
NixOS_GitHub has left #nixos []
matthewbauer has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31497: makeWrapper: quote variables (staging...quote-makewrapper) https://git.io/vFaPQ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #31639: Dosbox on darwin (master...dosbox-on-darwin) https://git.io/vFK6F
NixOS_GitHub has left #nixos []
ssmike has quit [(Ping timeout: 268 seconds)]
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
magnetophon has quit [(Remote host closed the connection)]
hexamod has joined #nixos
ssmike has joined #nixos
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
qmm has joined #nixos
<tilpner> That is a module, and you can use it by putting services.foldingAtHome.enable = true; into your nixos-config
ssmike has quit [(Ping timeout: 248 seconds)]
Khetzal has quit [(Ping timeout: 252 seconds)]
joncfoo has quit [(Ping timeout: 248 seconds)]
erasmas has quit [(Quit: leaving)]
dhess has quit [(Remote host closed the connection)]
drakonis has joined #nixos
dhess has joined #nixos
requisitebits has quit [(Ping timeout: 240 seconds)]
markus1199 has joined #nixos
markus1189 has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
jtojnar has joined #nixos
rogue_koder has quit [(Read error: Connection reset by peer)]
rogue_koder has joined #nixos
griff_ has quit [(Quit: griff_)]
joncfoo has joined #nixos
griff_ has joined #nixos
<catern> hey #nixos
griff_ has quit [(Client Quit)]
<catern> why does Nixpkgs default to Ocaml 4.0.2?
<catern> that's ancient
hellrazo1 has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
<gchristensen> FRidh[m]: around? I'd love to update ofxclient in 17.09 but it is a fairly big jump. I don't think I can just cherry-pick the changes from master. any opinions?
griff_ has quit [(Client Quit)]
hellrazo1 has joined #nixos
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFKDB
<NixOS_GitHub> nixpkgs/master ea2aeb7 Orivej Desh: netperf: update source
NixOS_GitHub has left #nixos []
thc202 has quit [(Ping timeout: 260 seconds)]
nh2 has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] danbst opened pull request #31641: mysql module: fix flaky check (master...patch-13) https://git.io/vFKDi
NixOS_GitHub has left #nixos []
marantz has joined #nixos
<gchristensen> hi marantz
<marantz> hi graham
<gchristensen> so once you get git, before checking out release-17.09, I'd suggest trying: nix-build . -A python3Packages.ofxclient someone recently put in some patches for it on Unstable, and let's see if it works
<marantz> will do, still cloning
<gchristensen> sounds good
<gchristensen> do you know ofxclient to work elsewhere?
<marantz> I've used it under debian (real old) and ubuntu (just old)
<gchristensen> ok
<gchristensen> my experience with it this evening is that it is a bit brittlee
<marantz> very. I'd guess that most everyone has to write custom glue for there particular accounts
<marantz> nix-build fails since I don't have a default.nix
<gchristensen> ah, so run that from within the nixpkgs checkout
<marantz> much better
hariel has quit [(Remote host closed the connection)]
<marantz> nix-build is done
hariel has joined #nixos
<gchristensen> ok, there is a result symlink in ./ , try ./result/bin/ofxclient
<gchristensen> and cross your fingers or something
<marantz> seems to work. how should I install it?
<catern> ocaml support in Nix seems really poor, why is that?
<catern> why hasn't the ocaml community (such as it is) enthusiastically embraced Nix? OK in truth I'm only saying this because there's no doc section in Nixpkgs about Ocaml
<catern> (in the Nixpkgs manual that is)
<gchristensen> marantz: you can literally do nix-env -i ./result :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vFKy8
<NixOS_GitHub> nixpkgs/master d5bdfcb Dan Peebles: darwin.make-bootstrap-tools: fix ICU reference to improve purity
NixOS_GitHub has left #nixos []
<marantz> great. thanks
<gchristensen> marantz: :) you're welcome! I hope that does the trick :$ I'll see if I can get the patches from unstable ported to stable
acowley_away is now known as acowley
<marantz> me to. catch you later. now I have to see if the downloader works :-)
hellrazor has joined #nixos
<gchristensen> :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #31642: melpaPackages.cn-outline: remove (master...emacs/cn-outline) https://git.io/vFKyK
NixOS_GitHub has left #nixos []
b has joined #nixos
hellrazo1 has quit [(Ping timeout: 248 seconds)]
<gchristensen> ofxclient doesn't like _any_ of my banks / accounts
<marantz> did you check ofxhome.com they have a question/answer section which might help
<gchristensen> nope, I'll check that out
<marantz> good luck
dhess has quit [(Remote host closed the connection)]
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 4 new commits to master: https://git.io/vFKSa
<NixOS_GitHub> nixpkgs/master 90ae8bc Matthew Bauer: emacs: fix cn-outline error...
<NixOS_GitHub> nixpkgs/master 4ad86c5 Matthew Bauer: font-lock-plus: fix eval
<NixOS_GitHub> nixpkgs/master 47a854a Matthew Bauer: emacs: add missing packages...
NixOS_GitHub has left #nixos []
jtojnar has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31642: melpaPackages.cn-outline: remove (master...emacs/cn-outline) https://git.io/vFKyK
NixOS_GitHub has left #nixos []
drp has quit [(Remote host closed the connection)]
drp has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #31643: ISSUE_TEMPLATE: replace technical details withh nix-info (master...nix-info-issuee) https://git.io/vFKS6
NixOS_GitHub has left #nixos []
<acowley> It looks like the unstable channel could advance, no?
* gchristensen takes a look
<gchristensen> I've been baby-sitting it all day :?
kkini has joined #nixos
<acowley> Oh, I guess I misunderstood the test output
<gchristensen> acowley: nixos or nixpkgs
<acowley> gchristensen: nixpkgs
<gchristensen> ahh
<acowley> And it looks like the neverending nightmare (aka 6 days for the less dramatic) is over!
<gchristensen> yes _almost_
<gchristensen> https://hydra.nixos.org/eval/1410078#tabs-unfinished these have to finish first
<acowley> That makes a lot of sense
<gchristensen> why is the build queue so short ...
justanotheruser has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Remote host closed the connection)]
<catern> it's a christmas miracle!
Supersonic112 has quit [(Disconnected by services)]
theseriousadult has joined #nixos
throwaway_name has quit [(Ping timeout: 240 seconds)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
taktoa has joined #nixos
jgertm has joined #nixos
joko has quit [(Ping timeout: 248 seconds)]
joko has joined #nixos
jtojnar has joined #nixos
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
<marantz> gchristensen another riddle. nixpkg web site says there should be a python ledger-autosync but it doesnt seem to exist in the repository. any clues on investigating this?
tgunb has quit [(Ping timeout: 240 seconds)]
<gchristensen> marantz: it looks like adisbladis removed it from unstable, ledger-autosync is there for 17.09
<gchristensen> in the release-17.09 branch. I wonder why adisbladis deleted it?
<marantz> me too. wouldn't `nix-env -i python3Package.ledger-autosync` be able to find it if that is my channel?
<gchristensen> try doing it by attribute, `-iA` instead of `-i`
<adisbladis> Because it was several years out of date with no maintainer
<gchristensen> ah that'll do it :)
jgertm has quit [(Ping timeout: 260 seconds)]
griff_ has joined #nixos
<marantz> attribute ‘python3Package’ in selection path…
<gchristensen> ah
<gchristensen> try nix-env -iA nixos.python3Package.ledger-autosync
<marantz> guess I'll have to rewrite if I need it
phreedom has joined #nixos
<adisbladis> marantz: Tell me if you need some help with that
<marantz> same thing. don't waste more time on this
theseriousadult has quit [(Ping timeout: 260 seconds)]
<marantz> thanks I will. I'm moving from using gnucash a long time ago to hledger, but my accounts are pretty scattered
<gchristensen> marantz: try nixos.python2Packages.ledger-autosync (python3 -> python2, Package -> Packages)
<marantz> that worked. great!
<gchristensen> note I tried python3Packages first (after I noticed the typo) then got the error "error: beautifulsoup-3.2.1 not supported for interpreter python3.6m" so I tried python2Packages and that worked
<marantz> I might check out the channel branch and build it too
<gchristensen> sure, patching it to use beautifulsoup4 on release-17.09 would be easy
<marantz> I'll see how lazy I end up being
<gchristensen> :)
<jtojnar> what does $(out) mean?
<jtojnar> is not $() shell interpolation?
<vaibhavsagar> hey, I'm trying to build a docker image with nix and all the double quotes in my Cmd are getting escaped
<vaibhavsagar> is there a way to work around this?
<gchristensen> marantz: I'm heading out for the night, good luck
<marantz> I'm doing the dishes then going to bed :-)
<gchristensen> same :)
marantz has quit [(Quit: Leaving.)]
<fearlessKim[m]> I am trying to mimic 'nix-shell -A pkgX' via 'let pkg = pkgs.pkgX; in pkg' in a shell.nix . nix-shell returns 'expression does not evaluate to a derivation' though pkgX is ?!
mizu_no_oto has joined #nixos
<catern> hey #nixos
griff_ has quit [(Quit: griff_)]
<catern> the generic builder doesn't seem to set the PREFIX environment builder, is that right?
<fearlessKim[m]> I was passing the wrong nixpkgs, problem fixed sry
<catern> how else can I write a simple makefile that works for Nixpkgs?
jb55 has quit [(Quit: WeeChat 1.9)]
<catern> i guess I can just use ${out}
<fearlessKim[m]> catern you mean stdenv.mkDerivation ? I would be surprised if it didn't
<catern> yes, stdenv.mkDerivation, it doesn't set the PREFIX environment variable
<catern> as far as I can tell anyway
<catern> yeah, it doesn't seem that it does
python476 has quit [(Ping timeout: 240 seconds)]
matthewbauer has joined #nixos
erictapen has quit [(Ping timeout: 268 seconds)]
Dr8128 has quit [(Ping timeout: 240 seconds)]
grenade has quit [(Ping timeout: 250 seconds)]
grenade has joined #nixos
matthewbauer has quit [(Ping timeout: 260 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/bd8cd3eaed (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
patrl has joined #nixos
MP2E has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #31644: [WIP] amdgpu-pro: 17.10 -> 17.40 (master...amdgpu_pro) https://git.io/vFKdY
NixOS_GitHub has left #nixos []
Golden_Skittle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vFKd0
<NixOS_GitHub> nixpkgs/master f6ae394 aszlig: tests/boot-stage1: Fix build of kcanary module...
NixOS_GitHub has left #nixos []
Vorpal has quit [(Ping timeout: 268 seconds)]
hexamod has joined #nixos
dhess has joined #nixos
drakonis has quit [(Read error: Connection reset by peer)]
patrl has quit [(Quit: WeeChat 1.9.1)]
<dhess> Anyone around who's using Hydra?
matthewbauer has joined #nixos
MP2E has quit [(Remote host closed the connection)]
matthewbauer has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vFKFZ
<NixOS_GitHub> nixpkgs/master ce8dea6 Cray Elliott: mwprocapture: patch to fix build for linux 4.14
NixOS_GitHub has left #nixos []
patrl has joined #nixos
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
notthemessiah has joined #nixos
<notthemessiah> Okay, so I'm very confused because I installed NixOS and it doesn't seem to know about /etc/passwd or anything
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin closed pull request #31639: Dosbox on darwin (master...dosbox-on-darwin) https://git.io/vFK6F
NixOS_GitHub has left #nixos []
<notthemessiah> It can't start any display managers, I can only log in as root in certain generations.
Vorpal has joined #nixos
Vorpal has quit [(Changing host)]
Vorpal has joined #nixos
<patrl> @notthemessiah can you share your configuration.nix?
MP2E has joined #nixos
matthewbauer has joined #nixos
<notthemessiah> patrl: it's pretty close to what came out of nixos-generate-config, and I can clearly see the generated files in /etc/passwd and /etc/group
<patrl> have you created a user in your configuration.nix
<patrl> @notthemessiah and declared a display manager?
<notthemessiah> Yes, and I set display managers and desktop environments and all.
matthewbauer has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<patrl> @notthemessiah if you share your config I will look and see if anything obvious is wrong
<notthemessiah> even if I didn't I should be at least be able to su into my generated user. Okay, I'll try to get it uploaded
<notthemessiah> oddly enough, it seems to work as it should when I chroot from Ubuntu.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #31645: prometheus-surfboard-exporter: init at 2.0.0 (master...surfboard) https://git.io/vFKb5
NixOS_GitHub has left #nixos []
<notthemessiah> @patrl https://pastebin.com/VAJzcazw
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vFKNJ
<NixOS_GitHub> nixpkgs/master 7f473fa Cray Elliott: mwprocapture: minor correctness fix to 4.14 patch
NixOS_GitHub has left #nixos []
<patrl> @notthemessiah thanks
MP2E has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vFKNZ
<NixOS_GitHub> nixpkgs/master 3c0c187 Cray Elliott: mwprocapture: forgot to include a file
NixOS_GitHub has left #nixos []
<patrl> @notthemessiah @notthemessiah ok
<patrl> @notthemessiah I think setting the "password" option sets mutableUsers to false
<patrl> remove the "password" option and set your user's password via passwd
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yrashk opened pull request #31646: fish-foreign-env: suppress additional harmless warnings (master...30645-fish) https://git.io/vFKNu
NixOS_GitHub has left #nixos []
RayNbow` has quit [(Ping timeout: 240 seconds)]
acowley is now known as acowley_away
<notthemessiah> seems the existing generation is preventing me from doing a nixos-install from the livecd again.
<clever> notthemessiah: what error is it giving?
<notthemessiah> "attribute 'display-manager' missing, at /nix/store/bqf4...fsd-nixos-17.09.2055.c19...c9/nixos/nixos/modules/services/x11/display-managers/sddm.nix
<clever> thats not your generation, thats your current configuration.nix
<notthemessiah> shouldn't it build from /mnt/etc/nixos/configuration.nix? How would I create a new generation with nixos-install?
<clever> nixos-install automatically creates a new generation
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] marsam opened pull request #31647: hg-git: 0.8.5 -> 0.8.10 (master...feature/update-hg-git) https://git.io/vFKAY
NixOS_GitHub has left #nixos []
schoppenhauer has quit [(Ping timeout: 248 seconds)]
<patrl> @notthemessiah can't you just log in as root and do a rebuild with nixos-rebuild?
<notthemessiah> nope because it can't find the build groups
<notthemessiah> this a mostly fresh install broken from the start
<clever> notthemessiah: can you gist /mnt/etc/nixos/configuration.nix?
<patrl> yeh at this point i'd just wipe it and reinstall
<patrl> it's probably going to be quicker
schoppenhauer has joined #nixos
<patrl> define a user but don't set the password declaratively, and everything should work in the usual way
<clever> 2017-11-14 00:47:24 < notthemessiah> "attribute 'display-manager' missing, at /nix/store/bqf4...fsd-nixos-17.09.2055.c19...c9/nixos/nixos/modules/services/x11/display-managers/sddm.nix
Golden_Skittle has quit [(Remote host closed the connection)]
<notthemessiah> I tried deleting everything and leaving the /nix/store and reinstalling, but that gave me the same issues
<clever> this error means the configuration.nix file isnt valid
jb55 has joined #nixos
<clever> so we need to see your configuration.nix file
<notthemessiah> I just disabled the display manager to get it to build, since it's not the issue here.
<notthemessiah> I posted my config earlier.
<clever> if you enable ssdm but disable xserver, things break
seanz has joined #nixos
seanz has quit [(Client Quit)]
<clever> notthemessiah: lines 69 and 72 should be commented out: https://pastebin.com/VAJzcazw
<notthemessiah> I disabled both, but I still get a "No passwd entry" when I su into my main user
<clever> notthemessiah: use sudo, not su
<clever> notthemessiah: "sudo -u USER -i"
<notthemessiah> "sudo: unknown user" "sudo: unable to initialize policy plugin"
kmc has quit [(Quit: leaving)]
<clever> notthemessiah: are you booted into the install or the livecd?
<notthemessiah> I used nixos-install --chroot to enter into the install. I get the same bug if I boot up.
<notthemessiah> it's like /etc/passwd doesn't exist, even though I clearly see it there.
<clever> nixos-install --chroot doesnt setup the new users
<clever> you need to boot it to make the users exist
<dhess> clever: What is your Hydra workflow like? Let's say you're developing a new package. Edit, build locally, commit, Hydra?
<clever> dhess: you can use nix-build to test the release.nix file locally, so you can pre-test things the same way hydra will test them
<clever> so you can make sure you never push stuff that will fail on hydra
<notthemessiah> [FAILED] Failed to start Login Service.
<dhess> clever: the release.nix files in Nixpkgs certainly don't include everything though?
<clever> dhess: mostly, i be aware of what attributes of release or top-level my changes affect, and build those to test them
<clever> hydra handles covering everything, to find things i may have missed
Lisanna has joined #nixos
<dhess> clever: I'm trying to figure out if Hydra has any value for me. I have a small set of hosts, maybe 10-15, 4 different architectures. Right now I just kick off a build when I deploy with NixOps, with 1 build server for each architecture.
<dhess> using remote-systems.conf
<clever> dhess: ahh
<clever> dhess: hydra can handle pre-building things before nixops needs it, so deploys are faster
<notthemessiah> seems like systemd-logind.service "entered failed state" every time I boot, so I'm tempted to just save my config and wipe my partition and start anew and pray
<clever> dhess: hydra can automate running tests (in a vm) on the current and future nixpkgs version, so you know if things are broken before you deploy
<Lisanna> dhess: have you written any tests for your things in Nix?
<dhess> clever: right. I had planned to use Hydra to update my Nixpkgs channel once a day or whatever and kick off a build so that I know whether it's safe to update and deploy
<clever> notthemessiah: you can try just wiping only /etc and keep the config, no need to even reinstall
<dhess> Lisanna: No, not yet. :(
<Lisanna> also, hydra runs a nix channel basically, so it can save you from having to do that work yourself
<dhess> Lisanna: right.
<clever> dhess: hydra cant edit the channel, but you can point hydra to the head of the channel
<dhess> clever: yeah that's what I meant.
<dhess> ok so I guess I'll use it that way. I should develop some tests for my stuff as well.
matthewbauer has joined #nixos
<notthemessiah> @clever: I tried that once, and it didn't get me far (I deleted everything but the contents of /nix/store)
<dhess> I suppose I'll need a release.nix that covers the services I want to deploy
<Lisanna> btw, how flexible is hydra in terms of programming it to get the sources for various things? I take it it handles git etc. well enough
<dhess> Is it possible to create a release.nix from a NixOps machine definition?
<clever> dhess: thats one of the things ive been wanting to finish
<clever> dhess: currently, you just need to define a release.nix file and have it return derivations for the major services
<Lisanna> currently I have a bunch of bash scripts that I run regularly which prefetch the sources and their hashes from all kinds of crazy places, and am hoping to drop Hydra in there in the future
<dhess> clever: yeah, that's what I gathered.
matthewbauer has quit [(Ping timeout: 240 seconds)]
qz has quit [(Quit: WeeChat 1.4)]
<Lisanna> hey, how do I get the nix tools like nix-store inside a runCommand in runInLinuxVM? i.e., what package should I add to the buildInputs?
<joehh> Lisanna: does adding the "nix" package do it?
patrl has quit [(Ping timeout: 248 seconds)]
<Lisanna> *did not know that this was a package*
<Lisanna> I guess it makes sense ^^
<joehh> :):)
<joehh> I've a very similar question, but for nixos-rebuild
<Lisanna> now to figure out the correct way to use nix-store --import / --export
InsigkneeUh has joined #nixos
<Lisanna> hmm, nixos-rebuild appears to be in its own package
<joehh> yeah - but I can't figure out how to reference it
<hyper_ch> adisbladis: how did you find that?
<Lisanna> I think it's autogenerated... it's just a bash script
<joehh> a grep of the nixpkgs sources puts it at ./nixos/modules/installer/tools/tools.nix
<joehh> but how to reference that from a module?
<joehh> thats where I'm stuck
<adisbladis> hyper_ch: I was keeping an eye on their github
<hyper_ch> ha, tcaputi also replied to my bug :)
<Lisanna> I don't think it is published in nixpkgs... I don't see it referenced in all-packages.nix
<jluttine> how can i disable networking? there's networking.enableWLAN but no networking.enable
<adisbladis> hyper_ch: Still feels pretty OK :) The migration path is easy enough if you have a bit of space to spare
<hyper_ch> adisbladis: what migration path?
<adisbladis> hyper_ch: To the new disk format that fixes raw send/recv
<hyper_ch> it's not even merged yet... how can you run that?
<notthemessiah> strange, my new install seems to be failing at firmware-linux-nonfree
<adisbladis> hyper_ch: I didn't run it yet (:
<adisbladis> hyper_ch: Gonna give it a go tonight
<hyper_ch> so what do you migrate? I'm confused
patrl has joined #nixos
justanotheruser has joined #nixos
<Lisanna> jluttine: I think networking.useDHCP = false and make sure networking.interfaces = {}
<Lisanna> then Nix won't configure any interfaces, so you won't have IP networking
<Lisanna> in theory
<adisbladis> hyper_ch: I mean the documented migration path of creating a new fs in the same pool https://github.com/zfsonlinux/zfsonlinux.github.com/pull/35/files#diff-5c212f01f7fcb3ccece492a2f81b17caR202
<adisbladis> I'm waiting for the fix to land in master before migrating anything
<hyper_ch> adisbladis: oh... that needs space
gspia has quit [(Quit: Leaving)]
<adisbladis> hyper_ch: Yeah :<
<adisbladis> But still, could have been way, way worse
<hyper_ch> :)
gspia has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
patrl has quit [(Client Quit)]
<Lisanna> I've included a package in runCommand's buildInputs, and inside the VM I call nix-store -qR /nix/store/<mypkg>, and it fails with "error: path '<mypkg>' is not valid", but running the same command outside the VM works fine. And I confirmed that the path exists in the VM, I can ls it and everything
<clever> Lisanna: can you gist the nix expression?
<clever> Lisanna: only things in the scope of the nixos for the vm will be "valid" in its nix store, but it will still have read access to things that are "not valid"
<Lisanna> clever: there is no nixos on the vm, it's a custom disk image
<clever> Lisanna: ah, i'll need more info then about what your doing, the nix expression would be a good start
<Lisanna> clever: only slightly modified from the original, all the important stuff is present: https://hastebin.com/oquroqeboy.bash
<clever> ah
<Lisanna> it's a little messy
<clever> so line 7 runs the build script of 8 inside a vm, as root
<clever> and nix plus utillinux plus packages will be in PATH
<Lisanna> yeah
kier has quit [(Quit: No Ping reply in 180 seconds.)]
<Lisanna> And preImg has an install of Nix on it, from a previous runInLinuxVM
<Lisanna> it's a fedora-like OS on the image
p4cman has joined #nixos
<clever> Lisanna: line 31 is using the nixos vm, not the /mnt nix
<Lisanna> I know
<clever> also, the new nix copy lets you do similar things
<clever> and there is a make-disk-image in nixos to do this
<Lisanna> I've looked at make-disk-image, but that installs a full NixOS, doesn't it?
matthewbauer has joined #nixos
<clever> for the most part, yeah
<Lisanna> yeah, so I need a function which modifies an existing disk image. I've already gotten the "install Nix" part working, now I'm just trying to add arbitrary things to its store
<clever> ah
<clever> you could use the new nix copy for that
<Lisanna> what's that?
<clever> let me find an example
<clever> its from nixUnstable
<clever> nix copy --to local?root=/mnt
<clever> this lets you recursively copy things from one store to another, including all deps
<clever> it works similar to nix-copy-closure, but allows the destination to be a local FS
<clever> no need for chroot
<clever> just pop nixUnstable into line 9, and: nix copy --to local?root=/mnt/ ${paths}
<fearlessKim[m]> how can I find where a nix variable is evaluated for the first time ? a variable is evaluated too soon during a kernel build which creates a bad behavior while in a nix-shell
kier has joined #nixos
<hyper_ch> adisbladis: how did you find that errata?
<hyper_ch> ok :)
<Lisanna> clever: sounds like nix copy is expecting a tmp filesystem
<Lisanna> error: opening file '/tmp/default.nix': No such file or directory
<clever> Lisanna: hmmm, can you try just doing mkdir /tmp/ and see what happens?
matthewbauer has quit [(Read error: Connection reset by peer)]
matthewbauer has joined #nixos
<Lisanna> Huh, I already have a /tmp directory...
<Lisanna> so, no idea why it's printing that error then.
<clever> Lisanna: what was the exact command to give that error?
<Lisanna> nix copy --to local?root=$mountPoint ${paths}
<clever> Lisanna: add a "set -x" near the top and then see what happens
<Lisanna> which evaluates to "nix copy --to local?root=/mnt /nix/store/<mypkg>"
<clever> and did the error happen right after that?
<Lisanna> Yeah, I put echo guards around nix copy, and the error happens in nix copy
orivej has quit [(Ping timeout: 248 seconds)]
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> Lisanna: try prefixing that with "strace -f" and then gist the output
<Lisanna> was thinking the same thing
<Lisanna> also, I am getting "warning: the group 'nixbld' specified in 'build-users-group' does not exist", just an FYI, but that shouldn't be affecting this
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fusion809 opened pull request #31649: atom: 1.21.2->1.22.0; 1.22.0-beta1->1.23.0-beta0 (master...patch-3) https://git.io/vFKhS
NixOS_GitHub has left #nixos []
b has quit [(Quit: Lost terminal)]
matthewbauer has quit [(Ping timeout: 240 seconds)]
matthewbauer has joined #nixos
<clever> Lisanna: that is strange
ma27 has joined #nixos
<clever> Lisanna: wait, somethings not right
hellrazor has quit [(Ping timeout: 248 seconds)]
<clever> Lisanna: line 2, the args for --to are missing!
<Lisanna> woah, you're right
<clever> [pid 217] getcwd("/tmp", 4096) = 5
<clever> i think its trying to build default.nix from the current directory
<Lisanna> yeah
<clever> because you didnt specify a thing to copy
<clever> try quoting the args for --to
theseriousadult has joined #nixos
matthewbauer has quit [(Ping timeout: 248 seconds)]
hellrazor has joined #nixos
<Lisanna> Okay, that fixed that...now I'm back to the original error I was having with nix-store --export
matthewbauer has joined #nixos
<Lisanna> error: path '/nix/store/xfny3lappgmrbmq9b9gsky00gjdqqmll-mypackage' is not valid
<clever> ah, let me double-check the source for runInLinuxVM
averell has quit [(Ping timeout: 240 seconds)]
TheAppleMan has quit [(Ping timeout: 264 seconds)]
<clever> Lisanna: ah, i see, the VM lacks any code to initialize db.sqlite
<clever> Lisanna: so no paths will ever be valid in the store
<clever> Lisanna: one minute
<Lisanna> okay
<clever> line 22 is like -qR, and 26 creates a fake database backup for the given closure
AliasSpider has quit [(Ping timeout: 248 seconds)]
<clever> you then run nix-store --load-db on that backup, to recreate db.sqlite
<clever> in your case, it has to be ran within the vm
<clever> and that will make it a valid source for nix copy
averell has joined #nixos
<Lisanna> okay, working on it
<jluttine> i'd like to override one string option in configuration.nix but it just appends the value with the "old" value defined by nixpkgs. can i somehow force override it?
<clever> jluttine: that depends on the type of the option, what is the name of the option?
<jluttine> clever: environment.etc."os-release".text
<jluttine> i'm just playing with creating a custom os based on nixos so i'd like to modify those
proteus-guy has quit [(Remote host closed the connection)]
<clever> jluttine: the type of that option is lines, so it will concat each value together, with a \n seperator
averell has quit [(Ping timeout: 250 seconds)]
rogue_koder has quit [(Quit: Konversation terminated!)]
<clever> but if you use lib.mkForce, it should ignore the previous values
<jluttine> clever: ok!
theseriousadult has quit [(Ping timeout: 240 seconds)]
<adisbladis> hyper_ch: Would you mind checking this PR? https://github.com/NixOS/nixpkgs/pull/31618
<hyper_ch> adisbladis: checking? how?
<adisbladis> hyper_ch: Just reading it and making sure it looks good :)
<hyper_ch> adisbladis: you're asking the wrong person here :)
<adisbladis> hyper_ch: (:
averell has joined #nixos
<Lisanna> going to try this
<clever> Lisanna: looks good
<fearlessKim[m]> when does nix choose to copy a path in the /nix/store for a local path ? the kernel config inherits 'src' from the kernel which triggers a copy of the kernel src in the store (slow)
<hyper_ch> adisbladis: what if /dev/vdb1 doesn't exist?
ma27 has quit [(Ping timeout: 258 seconds)]
<hyper_ch> wouldn't it be better for the test to create an image file and then load that as disk for the test?
<clever> fearlessKim[m]: is src refering to a path on disk, or a fetchurl based derivation?
<fearlessKim[m]> clever: path on disk src=/home/teto/mptcp
<hyper_ch> oh, you're making one... skipped that
<clever> fearlessKim[m]: the first time that value enters a derivation, nix will import a snapshot of that directory into the store, and hash the whole thing, and replace the value with a storepath
<clever> fearlessKim[m]: that all happens at eval time, before a single build has begun
<clever> Lisanna: ah, yeah, you dont need 22
<jluttine> there's no kvm executable in nixos although there's kvm package?
<clever> jluttine: what would the kvm executable do?
<fearlessKim[m]> clever: even if I am in a nix-shell -A PKG ? I've developed software via nix-shell -A pkg and I don't remember it copying the folder
<jluttine> clever: run kvm?
<clever> fearlessKim[m]: even for a nix-shell, it will import it into the store, then point $src to the store snapshot
<jluttine> i'm not familiar running virtual machines, trying to learn
<jluttine> just following these instructions: https://blog.liw.fi/posts/kvm-for-ubuntu-iso-testing/
<clever> jluttine: kvm is just a kernel feature, that has to be used by something else like qemu
<clever> jluttine: the qemu-kvm command in the qemu_kvm package uses it
<clever> jluttine: this makes a 1tb harddrive image, boots a nixos install ISO in qemu with kvm, then boots it without the ISO
Isorkin has joined #nixos
<jluttine> clever: ok, thanks!
<Lisanna> clever: here's the result, still failing with the same error: https://hastebin.com/raw/atugivohel
<Lisanna> I added some echos and deleted the unnecessary line, but other than that what I pasted earlier is what I just ran
<fearlessKim[m]> clever: seems like it indeed :s thanks
<clever> Lisanna: not sure
asuryawanshi has joined #nixos
ma27 has joined #nixos
orbekk has quit [(Ping timeout: 246 seconds)]
orbekk2 has quit [(Ping timeout: 268 seconds)]
orbekk has joined #nixos
orbekk2 has joined #nixos
<Lisanna> clever: this might be a nasty hack, but what would happen if I just clobbered the disk's /nix with the mounted /nix? Would that work?
<clever> Lisanna: there is also the make-system-tarball, which makes a tar you can just unpack to /nix
<clever> Lisanna: you could blow away the /nix of the disk image, then just unpack the tar there
<Lisanna> okay, that would make it impossible to make "incremental" additions to disk images, but that's not the most valuable use case here
<clever> Lisanna: it creates a full /nix directory, with the closure of whatever paths you give it
<clever> yeah, incremental changes to /nix are going to be tricky
<clever> but taking an ubuntu image, and just replacing /nix with a new copy is easy
joehh has quit [(Ping timeout: 248 seconds)]
proteus-guy has joined #nixos
<Lisanna> Okay, but what about the other symlinks in the user environment? After running the installer and setting up the user env with a bare-bones /nix, if I blow that away with something else, it might have different paths to /nix?
<Lisanna> different paths to the user environment / nix tools?*
<clever> Lisanna: yeah, you would probably want to chroot into the image, and re-run "nix-env --set /nix/store/foo --profile /nix/var/nix/profiles/per-user/clever/" to fix the generations
hellrazor has quit [(Ping timeout: 248 seconds)]
<clever> it would need to point a buildEnv i think
hellrazor has joined #nixos
<Lisanna> sounds fun... I'm not exactly intimately familiar with the nix user environment, and what all would need to be updated though
<clever> Lisanna: or just "nix-env -i /nix/store/foo" to install things into a new profile
<Lisanna> what's /nix/store/foo in your example?
<clever> any storepath you would want to install with nix-env
endformationage has quit [(Quit: WeeChat 1.9.1)]
<Lisanna> when would I be able to run nix-env -i? wouldn't I have to do that outside of the VM?
<clever> you could do it from within a chroot inside the vm
<Lisanna> since we haven't been able to get it to load the database?
<clever> unpacking a tarball to /nix should fix that, i think
averell has quit [(Ping timeout: 240 seconds)]
<Lisanna> okay, so clobber /nix, manually repair the path to /nix/store/...nix/ so I can run nix-env (or call it from /nix directly), chroot, nix-env -i /nix/store/...-mypackage to add it to the current profile?
<clever> yeah, something like that
<Lisanna> fun ):
<clever> Lisanna: you can also use https://gist.github.com/cleverca22/090514e1979ca1e573efbbc8f7a2cbc2 and skip the ISO step, to boot the resulting image
<Lisanna> what would that gist let me do?
<clever> Lisanna: boot the disk image under qemu
<clever> more for manual use, to test and confirm things work
miko__ has joined #nixos
ma271 has joined #nixos
ma27 has quit [(Ping timeout: 246 seconds)]
<Lisanna> clever: [22:26] <clever> Lisanna: ah, i see, the VM lacks any code to initialize db.sqlite
<Lisanna> could you explain this a little more?
<clever> the root shell that you get from runInLinuxVM has full read access to the /nix/store outside the sandbox, but the db.sqlite is empty
leat has joined #nixos
<clever> so nix considers every file in /nix/store to be invalid
averell has joined #nixos
<Lisanna> so the db.sqlite in /nix is not created by runInLinuxVM
<clever> correct
<Lisanna> Okay, could I create a file before I go into runInLinuxVM which is a backup of the nix store?
<Lisanna> i.e. is there a way to do nix-store --export, but as part of a Nix derivation?
<clever> and the nix sandboxing wont let you access the host db.sqlite, because its impure
<clever> so you need that perl script to create a fake backup, that has the closure of a given path
<jluttine> if anyone here happens to be interested on cryptocurrencies, i started sketching something similar to BitKey but based on NixOS: https://github.com/jluttine/CryptOS
ma271 has quit [(Ping timeout: 240 seconds)]
<Lisanna> pathsFromGraph?
zzamboni has joined #nixos
<jluttine> very much work in progress, just some preliminary sketching
<clever> Lisanna: something in that area, cant remember which one
<Lisanna> printRegistration=1 perl ${pathsFromGraph} closure-* > ./nix-path-registration
<clever> yeah, i think thats the right one
matthewbauer has quit [(Ping timeout: 268 seconds)]
<Lisanna> Okay, so the next thing I'm going to try is pulling that logic out into its own derivation, with the result being that nix-path-registration file
<clever> make sure the closure-* file exists
<Lisanna> exportReferencesGraph creates the closure-* files?
<clever> i think it does
<clever> you should be able to throw an ls into the build script, to look around
matthewbauer has joined #nixos
universalpackage has quit [(Read error: Connection reset by peer)]
<clever> it should at least exist in prevm
zzamboni has quit [(Ping timeout: 250 seconds)]
asuryawanshi has quit [(Ping timeout: 248 seconds)]
<adisbladis> jluttine: Ohh :) I like it!
<Lisanna> it exists in prevm, not while the vm is running (At least, not in pwd)
zzamboni has joined #nixos
<clever> Lisanna: youll need to use one of the xchg things to get the file into the vm
<Lisanna> is xchg/ shared between prevm and during the vm running?
<clever> Lisanna: check the results of "mount" in the guest, and ls in prevm, you should see an xchg mount point and dir
<clever> yeah
<adisbladis> jluttine: I was thinking of something like that for work
<Lisanna> yeah, I see one in both
jb55 has quit [(Ping timeout: 248 seconds)]
<Lisanna> it's importing!
<Lisanna> and even in color! :)
<Lisanna> and I see it importing the dependencies!
matthewbauer has quit [(Ping timeout: 250 seconds)]
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
matthewbauer has joined #nixos
<Lisanna> err, not importing, but copying :)
<Lisanna> error: hash mismatch importing path '/nix/store/h1a1ncbkkhapzm0509plqjlfrgxw22f3-glibc-2.25-49'; expected hash 'sha256:0000000000000000000000000000000000000000000000000000', got 'sha256:0qpw2i3kihv4cih8pz9j757b359l7rb5kn92ng0yw77ic9b2cx0v'
<clever> :D
<clever> ah yeah
<clever> the fake db lacks hashes
<clever> one min
<clever> Lisanna: i think it was "nix-store --verify", you have to run that after load-db, and before copy
<clever> maybe "nix-store --verify --check-contents"
<clever> that will hash everything and fix those 00000's
<Lisanna> --repair?
<clever> it doesnt have network so --repair cant work
<Lisanna> oh, no, looks like --verify is enough
<clever> and there is no way for it to know what even needs repair, because the hashes are missing
<Lisanna> "Any inconsistencies encountered are automatically repaired."
<clever> normally, it checks the hashes in db.sqlite against the ones on-disk
<clever> and repairs the damage on-disk
<clever> but we are using it in the reverse direction
<clever> because the hashes are just missing
<Lisanna> okay
miko__ has quit [(Ping timeout: 264 seconds)]
MP2E has joined #nixos
<Lisanna> so nix-store --load-db; nix-store --verify --check-contents; nix copy --to "local?root=$mountPoint" ${paths}
<clever> yeah
<Lisanna> oh my god it built
<Lisanna> wait
<Lisanna> no it didn't
<Lisanna> D:<
<Lisanna> lol, it colored my zsh shell green, so I got excited
<Lisanna> okay, new problem though!
<clever> run "reset" to restore the terminal defaults
<Lisanna> no, I mean it colored my $ green, which indicates return code 0
<Lisanna> I think because the last command I ran was tee
<clever> ah
nix-gsc-io`bot has joined #nixos
<Lisanna> so the failure didn't carry over
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3c0c18792d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> pipefail
nix-gsc-io`bot has quit [(Client Quit)]
<Lisanna> anyways! error: cannot add path '/nix/store/h1a1ncbkkhapzm0509plqjlfrgxw22f3-glibc-2.25-49' because it lacks a valid signature
<Lisanna> it fixed the hashes
<clever> ah yeah, there is a problem with nix copy, it expects things to be signed, even when using root
<clever> let me see
a6a3uh has joined #nixos
<clever> Lisanna: maybe it was --option binary-cache-public-keys ""
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #31650: aws-sdk-cpp: fix on darwin (master...aws-sdk-cpp-darwin-fix) https://git.io/vF6fz
NixOS_GitHub has left #nixos []
<Lisanna> nix copy --to "local?root=$mountPoint" --option binary-cache-public-keys "" ${paths}
<clever> yeah
<clever> i think that turns off signature checking, because it has no known keys
theseriousadult has joined #nixos
<Lisanna> same error
MercurialAlchemi has joined #nixos
AliasSpider has joined #nixos
<Lisanna> clever: it's --option signed-binary-caches=""
<clever> ah, does that one work?
<Lisanna> err, --option signed-binary-caches '*'
<Lisanna> so nix copy --to "local?root=$mountPoint" --option signed-binary-caches "" ${paths}
<clever> ah, the default for the require-sigs option is based on if the pubkey list is an empty string
<clever> and you could just set require-sigs directly
<Lisanna> what would that look like?
a6a3uh has quit [(Ping timeout: 248 seconds)]
<Lisanna> "--option require-sigs false" ?
<Lisanna> and also, the other solution worked!
matthewbauer has quit [(Ping timeout: 248 seconds)]
<hyper_ch> clever: good morning
asuryawanshi has joined #nixos
roberth has joined #nixos
pie_ has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
Itkovian has joined #nixos
<hyper_ch> hmmm, I just noticed there's no incron for nixos.... anyone has a suggestion what else to use?
<srhb> Does anyone have the systemd auto rollback snippet from Lumiguide handy anywhere? :)
<srhb> (Was it Lumiguide? I think it was...)
pie_ has quit [(Ping timeout: 248 seconds)]
ambro718 has joined #nixos
asuryawanshi has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
ertes-w has joined #nixos
<LnL> don't know if they shared it somewhere
zzamboni has joined #nixos
ebzzry has quit [(Ping timeout: 248 seconds)]
<clever> srhb: i would just use "nixos-rebuild test" and then maybe configure a watchdog service
<clever> srhb: test wont touch /boot, so any reboot would rollback
<srhb> clever: Is a watchdog service something more specific than cobbling a systemd service together that looks for some file to abandon a timer?
<clever> srhb: the watchdog i had seen last, would check various conditions to see if they are true (is the network up?, is a given service responding correctly?) and reboot the machine if they fail for X seconds
* srhb nods
<clever> srhb: some devices like the raspberry pi also have a hardware watchdog timer, where you must reset the timer constantly, and if the OS locks up for any reason, the timer runs out, and the hardware forces a reboot
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
FRidh has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
pie_ has joined #nixos
asuryawanshi has joined #nixos
<dhess> Wasn't most of the Lumiguide rollback service posted on the slide in their talk?
blahdodo has quit [(Remote host closed the connection)]
goibhniu has joined #nixos
<dhess> Maybe there was a component they didn't share. Anyway a service that looks for a file to be touched within N minutes of the service starting, and then rolls back if it's not there would probably suffice, assuming you're using NixOps. (Wrap NixOps with a script that ssh'es into the deployed hosts and touches the file.)
Khetzal has joined #nixos
<Lisanna> clever: how do I set a boolean option to false? "--option require-sigs false" didn't appear to do anything
<srhb> dhess: Yeah that's the one I'm looking for :)
blahdodo has joined #nixos
<clever> Lisanna: what about setting it to 0?
<Lisanna> I'll try that next
<dhess> srhb: it's not ideal but it was just one slide's worth of code, shouldn't be that hard just to type it in :)
roberth has quit [(Ping timeout: 248 seconds)]
<dhess> unless there was some other script they were using from that code that they didn't post
<srhb> dhess: But mh lazyness. :-) Yeah, I'll do that. Thanks for confirming it was there.
<dhess> hehe
<Lisanna> clever: nope
<steveeJ> Dezgeg: thanks to setting CC and AR the zlib cross-compiled. `pkgconfig --libs zlib` prints the correct path, although dropbear's configure is still not able to find it. any idea what's wrong?
civodul has joined #nixos
pie_ has quit [(Ping timeout: 248 seconds)]
<Lisanna> clever: is that disk image modifer we got working worth contributing to nixpkgs?
zzamboni has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #31617: clisp_2_44_1, libsigsegv_25: delete (master...clisp) https://git.io/vFopx
NixOS_GitHub has left #nixos []
jensens has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
p4cman has quit [(Quit: Connection closed for inactivity)]
zzamboni has joined #nixos
ixxie has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
<hyper_ch> clever: tcaputi has given me a diff file that I need to debug zfs/spl... but the question is: How can I actually apply that in NixOS?
zzamboni has quit [(Ping timeout: 248 seconds)]
joncfoo has quit [(Ping timeout: 260 seconds)]
<avn> does zfs ok with 4.14 kernels?
zzamboni has joined #nixos
roberth has joined #nixos
zzamboni has quit [(Client Quit)]
Khetzal has quit [(Ping timeout: 250 seconds)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
ambro718 has quit [(Ping timeout: 260 seconds)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
Khetzal has joined #nixos
asuryawanshi has joined #nixos
<adisbladis> avn: Nope
<adisbladis> Not yet
<dhess> hyper_ch: do you know how to override a derivation?
kier has quit [(Ping timeout: 248 seconds)]
<avn> adisbladis: ty, good to know. Thanks guds I not rebooted after switch ;)
<adisbladis> avn: Waiting for https://github.com/zfsonlinux/spl/pull/666 to land
peacememories has joined #nixos
ssmike has joined #nixos
leat1 has joined #nixos
infernal has joined #nixos
<fearlessKim[m]> Note to oneself: make a cleanSource that filters outdated kernel files that will include wrong files and make u lose hours
<fearlessKim[m]> 'mrproper' where were you hiding !
leat has quit [(Ping timeout: 248 seconds)]
thc202 has joined #nixos
proteus-guy has quit [(Remote host closed the connection)]
kier has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ssmike has quit [(Ping timeout: 248 seconds)]
InsigkneeUh has quit [(Quit: Going offline, see ya! (www.adiirc.com))]
peacememories has joined #nixos
ThatDocsLady has joined #nixos
ThatDocsLady has quit [(Client Quit)]
ThatDocsLady has joined #nixos
MP2E has quit [(Remote host closed the connection)]
snikkers has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] np opened pull request #31651: keybase-bin: init at 1.0.35-20171110170110.68245d46b (master...keybase-bin) https://git.io/vF6O3
NixOS_GitHub has left #nixos []
snikkers has quit [(Client Quit)]
ragge_ has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ragge_ has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vF6Og
<NixOS_GitHub> nixpkgs/release-17.09 0a422d3 Herwig Hochleitner: firmware-linux-nonfree: 2017-07-05 -> 2017-10-09-iwlwifi-fw-2017-11-03...
NixOS_GitHub has left #nixos []
ragge_ has joined #nixos
ragge_ has quit [(Client Quit)]
ragge_ has joined #nixos
ma271 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] makefu opened pull request #31652: Pkgs/dirb/copy wordlists (master...pkgs/dirb/copy-wordlists) https://git.io/vF6OF
NixOS_GitHub has left #nixos []
infernal has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
rct has quit [(Quit: WeeChat 1.9.1)]
<manveru> anyone know what the story of building/deploying elixir apps on nixos is atm?
peacememories has joined #nixos
<srhb> Does any channel have a working hydra service currently?
<srhb> (aside from master...)
peacememories has quit [(Client Quit)]
peacememories has joined #nixos
<srhb> Doesn't look like it. I'll see if a cherry pick of 286faa283 does it.
Itkovian has quit [(Read error: Connection reset by peer)]
<hyper_ch> dhess: unfortunately I tried to create an override to get zfs/spl with a newer revision but that didn't work.... so I made /nix/store writeable, edited the spl/zfs default nix, added updated rev and sha and then it did compile that... however applying a patch will be even more difficult/different
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #31654: kde-frameworks: 5.39 -> 5.40 (master...kde_frameworks_5_40) https://git.io/vF6sY
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
fendor has joined #nixos
ShalokShalom_ has joined #nixos
ssmike has joined #nixos
ShalokShalom has quit [(Ping timeout: 240 seconds)]
FRidh has quit [(Remote host closed the connection)]
p4cman has joined #nixos
fenedor has joined #nixos
FRidh has joined #nixos
fendor has quit [(Ping timeout: 240 seconds)]
ssmike has quit [(Ping timeout: 248 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vF6Gc
<NixOS_GitHub> nixpkgs/master cbccb1e Tuomas Tynkkynen: nixos installer tests: Add UEFI Grub test...
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
kermitas has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22923: Update grub to latest upstream release (master...update-grub) https://git.io/vDQ7b
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<LnL> manveru: the beamPackages stuff is pretty outdated
<manveru> jup
theseriousadult has quit [(Remote host closed the connection)]
FRidh has quit [(Remote host closed the connection)]
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<manveru> haven't used it in long time... used hex2nix but the deploy was a huge mess
<manveru> doing hot code reload with nix packages was quite hard
<manveru> so instead i setup the server with nixos, and did deploys via edeliver
FRidh has joined #nixos
ixxie has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zzamboni has quit [(Quit: Leaving.)]
nschoe has joined #nixos
zzamboni has joined #nixos
rct has joined #nixos
Wizek has joined #nixos
iyzsong has joined #nixos
peacememories has joined #nixos
fenedor is now known as fendor
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3c0c18792d (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<Dezgeg> sphalerite: heh, my cow-orker who runs mainline kernel on his c201 apparently has the speakers working on 4.9
7JTACWYS1 has joined #nixos
<7JTACWYS1> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vF6cK
<7JTACWYS1> nixpkgs/master ebbe165 rnhmjoj: docs: document networking.wireless changes
<7JTACWYS1> nixpkgs/master d43b55c Franz Pletz: Merge pull request #31545 from rnhmjoj/wireless...
7JTACWYS1 has left #nixos []
14WABQ3PH has joined #nixos
<14WABQ3PH> [nixpkgs] fpletz closed pull request #31545: docs: document networking.wireless changes (master...wireless) https://git.io/vFwBU
14WABQ3PH has left #nixos []
<ij> How would you create a derivation that would have a subset of the files of the output files of another derivation?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vF6cX
<NixOS_GitHub> nixpkgs/master 7f9d876 Shaun Sharples: plex: 1.9.5 -> 1.9.6
<NixOS_GitHub> nixpkgs/master aeff308 Franz Pletz: Merge pull request #31653 from bflyblue/plex-1.9.6.4429...
NixOS_GitHub has left #nixos []
simukis has joined #nixos
<hyper_ch> clever: tcaputi has given me a diff file that I need to debug zfs/spl... but the question is: How can I actually apply that in NixOS?
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [(Ping timeout: 240 seconds)]
<manveru> ij: pretty easy: `mkdir $out; cp -r ${firstPackage}/some/stuff $out`
universalpackage has joined #nixos
<ij> I'll try it out, Thanks.
<manveru> Ankhers: ping
zzamboni has quit [(Quit: Leaving.)]
<michaelpj> ij: `runCommand` is useful for these kinds of derivations - it doesn't pull in most of the stdenv stuff that you don't need
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #31655: Repackage everything with node2nix (master...repackage-everything-with-node2nix) https://git.io/vF6CV
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to master: https://git.io/vF6Cr
<NixOS_GitHub> nixpkgs/master 236a7c5 Andreas Rammhold: babeld module: separate default options by space...
<NixOS_GitHub> nixpkgs/master 5d90737 Andreas Rammhold: babeld module: support non-boolean default arguments...
<NixOS_GitHub> nixpkgs/master 5feed06 Andreas Rammhold: babeld module: updated example config...
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vF6Wl
<NixOS_GitHub> nixpkgs/master 977bf2e Rommel Martinez: usync: init at 0.0.3
<NixOS_GitHub> nixpkgs/master 5499e42 Franz Pletz: Merge pull request #30814 from ebzzry/usync-0.0.3...
NixOS_GitHub has left #nixos []
AliasSpider has quit [(Read error: Connection reset by peer)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/eac38d0b1e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #31656: nixos-option: don't eval description (master...fix-nixos-option) https://git.io/vF6Wp
NixOS_GitHub has left #nixos []
asuryawa_ has joined #nixos
asuryawa_ has quit [(Remote host closed the connection)]
zzamboni has quit [(Ping timeout: 260 seconds)]
asuryawa_ has joined #nixos
zzamboni has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
asuryawanshi has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/vF68o
<NixOS_GitHub> nixpkgs/master 9fa0a63 Peter Simons: LTS Haskell 9.13
<NixOS_GitHub> nixpkgs/master 3c43ebe Peter Simons: hackage2nix: disable broken builds
<NixOS_GitHub> nixpkgs/master c404aa4 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
ssmike has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #31657: wxmaxima: 15.04.0 -> 17.10.1 (master...wxmaxima) https://git.io/vF687
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
ma271 has quit [(Ping timeout: 240 seconds)]
peacememories has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #31638: ncmpc: fix on darwin (master...ncmpc) https://git.io/vFK67
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vF64F
<NixOS_GitHub> nixpkgs/master eb8c0f0 Yegor Timoshenko: bchunk: 1.2.0 -> 1.2.2
<NixOS_GitHub> nixpkgs/master f6ad758 Franz Pletz: Merge pull request #31634 from yegortimoshenko/bchunk/1.2.2...
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
peacememories has quit [(Client Quit)]
adamt_ has joined #nixos
adamt_ has quit [(Changing host)]
adamt_ has joined #nixos
<larsvm> does anyone use ranger as a file manager?
<larsvm> the image previews do not seem to work
<larsvm> atleast with urxvt
<woffs> larsvm: I have seen them working (in urxvt)
<larsvm> at the same time i use tmux
<woffs> some weeks ago
<larsvm> maybe my Xdefaults are just fucked up
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vF6RT
<NixOS_GitHub> nixpkgs/master e507457 Linus Heckemann: fbterm: fix build on non-x86
<NixOS_GitHub> nixpkgs/master 172d346 Franz Pletz: Merge pull request #31628 from lheckemann/fbterm-arm...
NixOS_GitHub has left #nixos []
<larsvm> unicode chars do not show right if launched from plasma's launcher, but work fine if i start urxvt from another terminal Ò_o
zzamboni has quit [(Ping timeout: 248 seconds)]
adamt has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] corpix opened pull request #31658: influxdb: 1.0.2 -> 1.4.1 (master...influxdb) https://git.io/vF60I
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
ebzzry has joined #nixos
nixos1022 has joined #nixos
Guest52155 has joined #nixos
fendor has quit [(Remote host closed the connection)]
fendor has joined #nixos
civodul has quit [(Remote host closed the connection)]
<clever> larsvm: diff the output of "env" in both terminals
civodul has joined #nixos
drp_ has joined #nixos
drp has quit [(Ping timeout: 240 seconds)]
drp_ is now known as drp
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen> ah ha! nixpkgs-unstable was unblocked
peacememories has joined #nixos
peacememories has quit [(Client Quit)]
miko__ has joined #nixos
sigmundv__ has joined #nixos
waleee has joined #nixos
musicmatze_ has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
18VACQ6CS has joined #nixos
<18VACQ6CS> [nixpkgs] peti closed pull request #31657: wxmaxima: 15.04.0 -> 17.10.1 (master...wxmaxima) https://git.io/vF687
18VACQ6CS has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vF6gX
<NixOS_GitHub> nixpkgs/master 2142352 Joerg Thalheim: wxmaxima: 15.04.0 -> 17.10.1...
<NixOS_GitHub> nixpkgs/master 12c922d Peter Simons: Merge pull request #31657 from Mic92/wxmaxima...
NixOS_GitHub has left #nixos []
musicmatze has quit [(Ping timeout: 248 seconds)]
MercurialAlchemi has quit [(Remote host closed the connection)]
musicmatze_ is now known as musicmatze
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vF62v
<NixOS_GitHub> nixpkgs/master 07b6bf3 Dmitry Moskowski: influxdb: 1.0.2 -> 1.4.1
<NixOS_GitHub> nixpkgs/master 52e25a5 Franz Pletz: Merge pull request #31658 from corpix/influxdb...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vF62G
<NixOS_GitHub> nixpkgs/master d70a021 Peter Simons: maxima: 5.40.0 -> 5.41.0
NixOS_GitHub has left #nixos []
MercurialAlchemi has joined #nixos
phreedom has quit [(Ping timeout: 248 seconds)]
phreedom has joined #nixos
Tucky has joined #nixos
miko__ has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Neo-- has joined #nixos
* tommyangelo[m] sent a long message: tommyangelo[m]_2017-11-14_12:54:49.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/EVgtrIDsruRvhCKZblgTPhPv>
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #31659: Semi-automated Emacs package updates (master...emacs-updates) https://git.io/vF66t
NixOS_GitHub has left #nixos []
AliasSpider has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31649: atom: 1.21.2->1.22.0; 1.22.0-beta1->1.23.0-beta0 (master...patch-3) https://git.io/vFKhS
NixOS_GitHub has left #nixos []
<neonfuz> is it the norm to compile your own kernel on nixos or no?
Itkovian has joined #nixos
<Yaniel> no, unless you have very specific needs
<neonfuz> actually, is there a lighter kernel package with more off by default? or some sort of procedure for building your own kernel?
<neonfuz> I'm just used to manually configuring my kernel with gentoo, I liked the control, and the ease of just using menuconfig
<gchristensen> but you have to know the config options you want ahead of time
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #31660: flashplayer: 27.0.0.183 -> 27.0.0.187 (master...flashplayer-27.0.0.187) https://git.io/vF6PR
NixOS_GitHub has left #nixos []
<neonfuz> what's on by default? it seems to take much longer than gentoo took to compile
<Yaniel> you can also completely disable binary caches if you're into that sort of stuff
<fearlessKim[m]> when upgrading from firefox 55 to 56, I lost audio. Anything happened there ? is pulseaudio mandatory now ?
<neonfuz> actually, how do I configure cflags and makeflags and stuff?
<goibhniu> fearlessKim[m] I thought firefox required pulseaudio for a long time already
<neonfuz> I do have to say, I like that it's an option Yaniel
Itkovian has quit [(Client Quit)]
<neonfuz> I really like that it's truely an option
<neonfuz> goibhniu: I think they recently turned it off by default
<neonfuz> speaking of which, tor-browser doesn't have audio for me and says I need pulse audio... but I'm using pulse audio
<gchristensen> neonfuz: I also like that it is an option, but I wouldn't recommend it :P
<neonfuz> I've always liked the idea of having my own build server
<Yaniel> having an own build server is still a binary cache though
<neonfuz> like, maybe a desktop or server that's on my network, and compiles packages with my own config
<goibhniu> neonfuz: you would end up compiling more on NixOS than on gentoo, if you decide to build everything ... but it's possible (in theory) to run your own build server
<fearlessKim[m]> seems like pulse audio fails to start ok my bad
* goibhniu gets the feeling it's quite difficult to run hydra though
<neonfuz> yea
<gchristensen> goibhniu: running a small one is not so hard, but running one that builds as much as hydra.nixos.org does _is_ hard
Itkovian has joined #nixos
<hyper_ch> gchristensen: : tcaputi has given me a diff file that I need to debug zfs/spl... but the question is: How can I actually apply that in NixOS? I tend to think I need to make a proper patch file out of it, then make /nix/store writeable and alter the zfs default.nix in such a way that it will also apply that patch file? Or is there a better way. On the weekend I tried to create an overlay to use newer revisisons of zfs/spl and but it seems stuff
<hyper_ch> like filesystem is a bit more complicated
<goibhniu> oh, I thought it was still terribly difficult to get it running at all, that's good to hear!
hotfuzz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vF61U
<NixOS_GitHub> nixpkgs/master cec203b Graham Christensen: ISSUE_TEMPLATE: replace technical details withh nix-info
<NixOS_GitHub> nixpkgs/master 097b282 Graham Christensen: Merge pull request #31643 from grahamc/nix-info-issuee...
NixOS_GitHub has left #nixos []
<gchristensen> goibhniu: still annoying probably :P
thblt has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<neonfuz> ugh, I'm running out of disk space compiling this kernel...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] Mic92 opened pull request #1677: release.nix: ncurses-bin is no longer required on debian (master...remove-ncurses) https://git.io/vF6MX
NixOS_GitHub has left #nixos []
<gchristensen> Mic92: is there any possible future of nix + cargo where we can like pre-build dependencies so any time something changes a teensy bit we don't have to recompile all 9,000 deps?
<Mic92> gchristensen: yes, will be possible with: https://github.com/NixOS/nixpkgs/pull/31150
<Mic92> I am only not happy how native dependencies are handled at the moment: https://github.com/NixOS/nixpkgs/pull/31150#issuecomment-343753896
waleee has quit [(Quit: WeeChat 1.9.1)]
<Mic92> I would prefer something like gem-config
<gchristensen> gem-config is really confusing to users
ma271 has joined #nixos
<Mic92> Wow would you handle it instead?
<gchristensen> but maybe because of it is mostly lacking docs?
waleee has joined #nixos
<Mic92> yes, there is zero documentation regarding this feature
<Mic92> But I think it is the canonical solution, if you want to override different versions of the same library with minimal effort.
<gchristensen> yeah
<fearlessKim[m]> pulseaudio failed because there was "too many levels of symbolic link". $HOME/:config/pulse was a symbolic link; i removed it and now that's ok. I have sound but pulse still generates a few warnings such as "failed to load module "module-native-protocol-unix""
<gchristensen> but I'd really really really like it if there were good docs on it before merging
adamt_ is now known as adamt
<Mic92> gchristensen: carnix has documentation already
thblt has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 8 new commits to master: https://git.io/vF6yE
<NixOS_GitHub> nix/master c9c3fc7 Eelco Dolstra: Rename tests/nar-index -> tests/nar-access
<NixOS_GitHub> nix/master 5ef5d70 Eelco Dolstra: Make config options available to legacy commands
<NixOS_GitHub> nix/master c0d93a0 Eelco Dolstra: Remove ncurses-bin
NixOS_GitHub has left #nixos []
jtojnar has quit [(Remote host closed the connection)]
AliasSpider has quit [(Ping timeout: 246 seconds)]
waleee has quit [(Ping timeout: 248 seconds)]
<infinisil> Hey, I'm using emacs with ghc-mod and company-ghc, but I'm getting "EXCEPTION: browse: module ‘Data.Aeson.Types’ is a package module" for all non-builtin packages. I have a ghc installed with all these packages though, and ghci Main.hs works. Any idea what the problem might be
<infinisil> ?
<ikwildrpepper> any pypi2nix guru's here?
<ikwildrpepper> having a project that has postgresql as dep (via psycopg2), however, even when providing '-E postgresql', it doesn't seem to find when running nix-shell requirements.nix -A interpreter
jtojnar has joined #nixos
<ikwildrpepper> it seems to generate a commonBuildInputs in requirements.txt that is not used anywhere, confusinglt
<ikwildrpepper> confusingly
<copumpkin> gfixler: I was just about to reply to your tweet when twitter told me it had been deleted :)
roberth has quit [(Ping timeout: 248 seconds)]
<mbrock> cargo really doesn't seem to be a friend of nix
<mbrock> kind of a reason Rust isn't ready to replace C/C++ isn't it
<Yaniel> I certainly would have expected the opposite
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vF6Q2
<NixOS_GitHub> nix/master 2c39e4e Eelco Dolstra: Revert "Don't parse "x:x" as a URI"...
NixOS_GitHub has left #nixos []
<mbrock> hah, just scrolled up and saw some the promising Cargo Nix pull request mentioned half an hour ago
adamt has quit [(Quit: Leaving)]
ma271 has quit [(Ping timeout: 240 seconds)]
jtojnar has quit [(Quit: jtojnar)]
jtojnar has joined #nixos
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
<fearlessKim[m]> rycee: is it possible to merge different HM configs via imports ?
<Mic92> There is a problem, when too package manager fight compete with each other.
<Mic92> s/too/two/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #31661: firefox: 56.0.2 -> 57.0 [Security fixes] (master...firefox-bin-57.0) https://git.io/vF67P
NixOS_GitHub has left #nixos []
ma271 has joined #nixos
<mbrock> Mic92: yeah, I guess especially when both are very opinionated :)
<mbrock> but I just installed "carnix" from the Rust pull request and I'm about to give it a shot *crosses fingers*
<ee1943> Is there a recommended way to get a x86 -> ARM cross compiling setup going?
<ee1943> I've seen people do the whole qemu binfmt setup, but it looks tricky to set up
<copumpkin> Sonarpulse is generally the one who knows all about that
<makefu> ee1943: i have the same problem searching for a solution
erictapen has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tokudan opened pull request #31662: firefox-bin 56.0.2 -> 57.0 (release-17.09...1709-ff57) https://git.io/vF6db
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tokudan closed pull request #31662: firefox-bin 56.0.2 -> 57.0 (release-17.09...1709-ff57) https://git.io/vF6db
NixOS_GitHub has left #nixos []
<rycee> fearlessKim: Yeah, it works exactly like in the NixOS system configuration. I.e. `imports = [ ./whatever.nix ./somethingelse.nix ]`, etc.
mizu_no__ has joined #nixos
adamt has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tokudan opened pull request #31663: firefox-bin: 56.0.2 -> 57.0 (release-17.09...1709-ff57) https://git.io/vF6FS
NixOS_GitHub has left #nixos []
ma271 has quit [(Ping timeout: 264 seconds)]
ma271 has joined #nixos
<mbrock> the carnix thing is pegged at 100% CPU for a long time after the output line "Prefetching winapi-build-0.1.1"... oh computers
glion has joined #nixos
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
waleee has joined #nixos
periklis has joined #nixos
oida has joined #nixos
<Mic92> mbrock: strace all the things
playX has joined #nixos
roberth has joined #nixos
simendsjo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ocharles pushed 1 new commit to master: https://git.io/vF6xq
<NixOS_GitHub> nixpkgs/master 9b90330 Ollie Charles: nodePackages.elm-test: init at 0.18.9
NixOS_GitHub has left #nixos []
playX has quit [(Ping timeout: 260 seconds)]
reallycooldude has joined #nixos
<ocharles> Urgh, should have actually tested that
zzamboni has quit [(Quit: Leaving.)]
<ocharles> ಠ_ಠ
MercurialAlchemi has quit [(Ping timeout: 268 seconds)]
oida has quit [(Quit: hurr durr)]
oida has joined #nixos
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<gchristensen> ocharles: does it work? :)
python476 has joined #nixos
<ocharles> Well... /nix/store/qmd0ff73b109hk80gdhap2m5sqn364hb-node-elm-test-0.18.9/lib/node_modules/elm-test/bin/elm-interface-to-json: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
<ocharles> so I'd say, no
<gchristensen> oops
<ocharles> https://github.com/rtfeldman/node-test-runner/blob/master/installer.js#L25 stop 👏 downloading 👏 binaries 👏 and 👏 expecting 👏 them 👏 to 👏 work
<ocharles> ffs
<ocharles> have we forgotten everything we know about engineering in the last few years?
<gchristensen> sorry were you saying something about engineering?
zzamboni has joined #nixos
reallycooldude has quit [(Ping timeout: 260 seconds)]
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
<mbrock> Mic92: remembered RUST_LOG=debug, seems to be an infinite loop in the dependency fixpoint calculation in carnix, hehe
reallycooldude has joined #nixos
<ocharles> https://github.com/stoeffel/elm-interface-to-json/tree/master/binaries oh even better, just commit to a git repository
<ocharles> ok, i take that back, that's at least not a binary
* ocharles takes his rage offline
justanotheruser has quit [(Ping timeout: 248 seconds)]
<gchristensen> ocharles: sorry were you expecting software to work work work work work? https://screenshots.firefox.com/0mTcAM5S5r8wNQeg/null
<ocharles> amazing
iyzsong has quit [(Ping timeout: 268 seconds)]
Itkovian has joined #nixos
<ocharles> exactly what I was thinking
<ocharles> maybe that's how it was written
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
<adisbladis> gchristensen: Your taste in music is impeccable
<joko> Hello, is it possible to use private Git repositories in Hydra?
<gchristensen> adisbladis: :$
pie_ has joined #nixos
<infinisil> Man, ghc-mod doesn't seem to work with nix :(
<ikwildrpepper> joko: yes, by using ssh url as input, and make sure the hydra user has .ssh/config with the correct private key etc
<clever> joko: somewhat, "sudo -u hydra -i" then "ssh-keygen" and no passphrase, give it access, and then configure hydra with an ssh url in the build input
<ikwildrpepper> (ssh url, eg. git@github.com:garbas/pypi2nix.git)
<clever> yeah, like that
<clever> and also keep in mind, that hydra will share the full source to everybody
* ikwildrpepper high-fives with clever
<joko> :)
<joko> Thanks, guys
<clever> joko: i either a: dont port forward it, or b: https://nixos.org/nixos/options.html#%3E.basicauth
<joko> clever: Planning to do so, yeah
zzamboni has quit [(Remote host closed the connection)]
<clever> basicauth will mess with binary cache usage though
<clever> so its better to just use some network levels firewalls to restrict who can connect
<joko> Is it possible to expose only the binary cache in that way?
universalpackage has quit [(Read error: Connection reset by peer)]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31664: papirus-icon-theme: 20170715 -> 20171102 (master...update-papirus-icon-theme) https://git.io/vF6AT
NixOS_GitHub has left #nixos []
<clever> joko: nginx can be configured to allow the binary cache URL's thru, but then anybody that knows the hash of your source can also get the full source
<clever> the storepath of anything built from that source also counts
Itkovian_ has joined #nixos
Itkovian has quit [(Ping timeout: 248 seconds)]
<clever> joko: another more extreme thing, that i think is a bit of a flaw in hydra and nix-serve, if i gave you the result of `readlink /run/current-system`, you could download a complete copy of my hydra server (the nixos that powers it), along with any secrets that happen to be in /nix/store/ (which includes github auth tokens)
zzamboni has quit [(Ping timeout: 248 seconds)]
leat1 has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<sphalerite> Dezgeg: good to know. I do think it's probably a config issue (although I'm on 4.13, not 4.9) on my end, not lack of support. I mean, it works fine in chromeos too
cement has joined #nixos
<ocharles> clever: what messes with the binary cache? we use it fine at circuithub with basic auth
<mbrock> clever: oops. makes me feel somewhat justified in my decision to serve my binary cache and channel through a separate web server via nix-push of only the actual jobset builds
AliasSpider has joined #nixos
<ikwildrpepper> clever: yeah, you shouldn't put secrets in your nixos configs
endformationage has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
<andrewrk> why is the default firefox nightly?
<ikwildrpepper> andrewrk: it is only called nightly, due to some licensing issues, if i remember correctly
<andrewrk> ah
Ross has quit [(Quit: ZNC - http://znc.in)]
justanotheruser has joined #nixos
zzamboni has joined #nixos
<gchristensen> they don't give us permission to distribute "Firefox (tm)" since we build it ourselves
<gchristensen> (they _did_ give us permission, but then when I asked for permission to place a copy of the email giving permission in nixpkgs source, they rescinded permission)
<Yaniel> so when's 57 in unstable? :P
<andrewrk> we should name it iceweasel ;)
<mbrock> does it have to do with how Nix disables the auto-upgrader?
<ikwildrpepper> gchristensen: epic
<gchristensen> no, it has to do with them apparently not wanting us to put a record of their permission grant
drakonis has joined #nixos
<clever> ikwildrpepper: the only way to deal with github tokens in hydra is to put them into the store, hydra doesnt support anything better
<tokudan[m]> Yaniel: the pull requests are already there... even the backport for firefox-bin is waiting
<ikwildrpepper> clever: you mean hydra.conf?
<clever> ikwildrpepper: yeah
<ikwildrpepper> you have the possibility to load from file if I remember correctly
<mbrock> ok, because their trademark guidelines mentions not interfering with any "installation mechanisms" contained in Mozilla products
<ikwildrpepper> something like file(...)
<gchristensen> I don't know what to tell you mbrock, we have permission to distribute it as Firefox
<clever> ikwildrpepper: one thing i noticed, is that hydra will copy it to /var/lib/hydra/ on startup, and i hadnt seen anything like file(...) in the docs
<sphalerite> I'm guessing that's a matter of "officially approved by Mozilla" vs "not technically OK by our branding guidelines but we'll overlook it"
<gchristensen> but we don't want to do it without being able to publicly document that permission
ebzzry has quit [(Ping timeout: 248 seconds)]
<clever> correction, its symlinked to /var/lib/hydra/ : https://github.com/NixOS/hydra/blob/master/hydra-module.nix#L260
zzamboni has quit [(Remote host closed the connection)]
<mbrock> gchristensen: sure, was just curious, not doubting the story :)
* gchristensen just emailed again :)
asuryawa_ has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
<clever> joko, mbrock: this is how i was managing nix-push, before i discovered hydra itself was a binary cache: https://gist.github.com/cleverca22/9d6a1e1c8a849c13e78d499c0dfc5eb8
asuryawanshi has joined #nixos
<gchristensen> asuryawanshi: its cool seeing you stick around a bit :P though you missed marantz last night :)
<mbrock> oh, hydra plugins, didn't know about that. I have a hacky shell script that I run manually every time I want to update our channel and cache :(
<clever> mbrock: hydra will automatically call a given function in every plugin it can find
<clever> when certain events happen
<clever> youll need to make an override on hydra to copy that file into the right part of $out, and then it should work
<mbrock> sweet, so I could do that nix-push on build finished, and then a channel update on evaluation finished
<clever> not sure if it has an eval hook
<ikwildrpepper> clever: it's Config::General feature: include externalconfig.rc
<clever> ikwildrpepper: ah, ive kept my distance from perl
<ikwildrpepper> clever: smart
<clever> mbrock: i think this is the list of available hooks for plugins: https://github.com/NixOS/hydra/blob/582c39942097539aa595d6945a82c4e25ca16ff1/src/lib/Hydra/Plugin.pm
<clever> and docs for them
nix-gsc-io`bot has joined #nixos
universalpackage has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/097b2823cb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<clever> mbrock: fetchInput is a rather special one, hydra will keep calling it in each plugin, until it returns a non-null value
zzamboni has quit [(Remote host closed the connection)]
<mbrock> clever: I see, thanks! the latest commit to that file could be copied to add evaluation hooks I suppose
<clever> mbrock: previously, buildQueued was ran for every single job being queued after the eval has finished
zzamboni has joined #nixos
<clever> mbrock: but that started to run into problems, because the hooks are handled by running the hydra-notify program (a perl script), on each build, one by one
jsgrant has quit [(Remote host closed the connection)]
<clever> mbrock: and suddenly, it takes 9 hours to run the hooks for every job, lol
universalpackage has quit [(Remote host closed the connection)]
<clever> a proper eval-finished hook (and maybe a for loop over the jobs) would solve that issue and restore that function
<clever> one thing lost due to that change, is that the github status plugin wont say "pending" when the job is queued
<binaryphile> anyone know how to change this behavior? I try to install a package using "nix-env -ibA mychannel.mypackage" from a private binary cache (configured correctly). if I've forgotten to build the package in the cache, the command fails, of course. however, building the package in the cache doesn't enable it to be installed, the command still fails. I go back a day later and try again, and this time it works
<clever> it only goes into pending when hydra actually starts the build
<clever> binaryphile: thats the binary cache cache, you can clear it by just deleting /nix/var/nix/binary-cache-v3.sqlite*
<binaryphile> clever, thank you
<clever> there is also a TTL option somewhere in nix.conf to make it re-check sooner
zzamboni has quit [(Ping timeout: 240 seconds)]
<binaryphile> i should've known it was a cache cache. they say the hardest thing in cs is cache caching.
<steveeJ> Dezgeg: any idea why the cross ld can't find zlib even though it exists? pkg-config manages to find the cross version of zlib
<clever> binaryphile: in this case, it can take minutes just to query cache.nixos.org for the full closure of your build, so it helps speed it up a lot
<tommyangelo[m]> I finally have staytus working: https://github.com/NixOS/nixpkgs/pull/31475 Feel free to test if you are interested!\
<binaryphile> yeah, not objecting to the behavior. just needed to know how to tweak it. :)
zzamboni has joined #nixos
<binaryphile> thx again
Arcaelyx has joined #nixos
<Dezgeg> no real ideas
<Dezgeg> except maybe a static vs dynamic mismatch
<steveeJ> Dezgeg: unlikely. am I supposed to set LD_LIBRARY_PATH manually for nix-shells?
drakonis has quit [(Read error: Connection reset by peer)]
zzamboni has quit [(Ping timeout: 240 seconds)]
<steveeJ> Dezgeg: this works but is very ugly: LD_LIBRARY_PATH=$(pkg-config --libs-only-L zlib | sed 's/^-L//')
universalpackage has joined #nixos
zzamboni has joined #nixos
<boxofrox> I'm trying to install the nixpkgs-mozilla overlay on a nixos 17.09-stable vm and not having much luck. `nix-env -qaP | grep rust` only shows those packages from the system nixpkgs. I cloned the nixpkgs-mozilla into a subfolder in my home directory, then ran the `./rust-overlay-install.sh` script that creates the `~/.config/nixpkgs/overlays` folder path and adds a symlink there for `./rust-overlay.nix`. I
<boxofrox> read through the chapter on overlays in the nixpkgs manual, but I can't figure out what I'm doing wrong.
<gchristensen> is it possible to extend a service's serviceConfig.ExecStart via another module? :/
universalpackage has quit [(Remote host closed the connection)]
toppler` is now known as toppler
universalpackage has joined #nixos
zzamboni has quit [(Ping timeout: 268 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
<infinisil> Is there a reason that the extraFlagsArray argument is always present even without --run (which can supply something that populates extraFlagsArray)?
<infinisil> of a makeWrapper wrapped executable?
leat1 has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
Tucky has quit [(Quit: WeeChat 1.9.1)]
<gchristensen> does anyone have a copy of how Bas pins NixOS?
<gchristensen> nixpkgs*
jb55 has joined #nixos
Ross has joined #nixos
<steveeJ> Dezgeg: I figured out at least one issue. the RPATH is not set on cross compilation
universalpackage has quit [(Remote host closed the connection)]
<gchristensen> here it is: https://youtu.be/J4DgATIjx9E?t=589
universalpackage has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
seanparsons has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<hyper_ch> Mic92: I tried to rebuild nixos unstable small since there was an update an hour ago and I got this: https://paste.simplylinux.ch/view/raw/26835632 --> could it be that the problem lies with 4.14 kernel? so far I've used that revision on unstable small which used 4.13.12
seanparsons has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
<Mic92> hyper_ch: zfs breaks with 4.14: https://github.com/NixOS/nixpkgs/pull/31615
<hyper_ch> damn kernel updates ;)
jgertm has joined #nixos
<Mic92> there is also an upstream pr not yet merged.
<hyper_ch> from zfs/spl I guess?
Arcaelyx has quit [(Read error: Connection reset by peer)]
<hyper_ch> ok :)
Neo-- has quit [(Ping timeout: 248 seconds)]
<Mic92> hopefully this will be merged this week or so
<hyper_ch> well, wanted to further debug my issue with zfs encrypted receiving and apply tcaputi's patch but that failed also... then I thought I might just upgrade meanwhile until I get reply from tcaputi https://github.com/zfsonlinux/zfs/issues/6821#issuecomment-344312159
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #31625: bitcoin: 0.15.0.1 -> 0.15.1 (master...bitcoin) https://git.io/vFK3J
NixOS_GitHub has left #nixos []
simendsjo has joined #nixos
Arcaelyx has joined #nixos
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
k2s has joined #nixos
x1n4u has quit [(Ping timeout: 264 seconds)]
<boxofrox> nevermind on my overlay question. the setup is correct. `nix-env -qaP` just isn't able to query [that particular?] overlay, but installing packages works once you figure out the attribute scheme.
acowley_away is now known as acowley
erasmas has joined #nixos
kalhauge has joined #nixos
zzamboni has joined #nixos
<steveeJ> bgamari: would you happen to know why a cross gcc produces binaries without RPATH?
<steveeJ> I'm pretty sure this was different 6 months ago
<kalhauge> ]\
<kalhauge> \
Dr8128 has joined #nixos
<gfixler> copumpkin: I decided I didn't stand by what I'd written, sorry
<copumpkin> hah np :)
<hyper_ch> Mic92: I have no idea how to apply the patch... just adding it to the zfs default.nix doesn't seem to work: https://github.com/zfsonlinux/zfs/issues/6821#issuecomment-344316230
<copumpkin> for some reason it stuck in my timeline for a couple of hours before twitter noticed it was gone
<copumpkin> eventual consistency ftw
<gfixler> found First, Last, Min, and Max in Data.Monoid
<gfixler> granted, I think they all use Maybe a internally
<copumpkin> yeah, I hate that
<gfixler> but suddenly the question felt ill-formed
<copumpkin> that was from before Semigroup was widespread
<gfixler> ah
zzamboni has quit [(Ping timeout: 248 seconds)]
<copumpkin> what's sad is that there's a beautiful `instance Semigroup v => Monoid (Map k v)` instance
<copumpkin> that is screwed up by all this nasty history
<Mic92> hyper_ch: do you can handle git?
<gfixler> I've also stumbled into meet semilattices, though don't yet grok
<hyper_ch> Mic92: not sure what you mean by that
zzamboni has joined #nixos
<kalhauge> Hello, I'm trying to setup GHC on a raspberry pi.
<gchristensen> clever: can I bend your ear a moment?
<Mic92> hyper_ch: you can checkout the exact same zfs revision, we use in nixpkgs, apply the change and use git format-patch to generate a new patch that applies
<kalhauge> Let me first say that all the work put in to aarm64 is amazing, but I get this error when I try to install GHC:
a6a3uh has joined #nixos
<copumpkin> gfixler: the "meet" part is sort of a weird mathism that isn't fundamental. "join" is the counterpart, and sort of feels like someone distinguishing "multiplicative" vs. "additive" monoids, which people also do for notation reasons. Otherwise a lattice just adds `forall x. x * x = x` to the laws, so min/max/gcd/lcm work for example. GCD is another example of a semigroup
<copumpkin> btw
<kalhauge> [kalhauge@nixos:~]$ nix-env -i ghc
<kalhauge> installing ‘ghc-8.0.2’
<kalhauge> error: cannot bootstrap GHC on this platform
<kalhauge> (use ‘--show-trace’ to show detailed location information)
<copumpkin> anyway the #nixos folks probably don't care so I'll stop talking :)
zzamboni has quit [(Ping timeout: 248 seconds)]
<kalhauge> Do anybody know a workaround the bootstrapping?
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFi3u
<NixOS_GitHub> nixpkgs/master 615a374 Felix Richter: Pkgs/dirb/copy wordlists (#31652)...
NixOS_GitHub has left #nixos []
jb55 has joined #nixos
<copumpkin> kalhauge: I'd file a ticket with more info and highlight @peti
roconnor has joined #nixos
<copumpkin> what platform is it, out of curiosity?
<roconnor> fpletz: Hi, can you expand on your bsdmainutils comment @ https://github.com/NixOS/nixpkgs/pull/31625 Should I be replacing untillinux by bsdmainutils and it should work on darwin as well?
digitus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFi3d
<NixOS_GitHub> nixpkgs/master 3e80094 Robert Helgesson: monero: 0.11.0.0 -> 0.11.1.0
<NixOS_GitHub> nixpkgs/master 4eca21a Jörg Thalheim: Merge pull request #31636 from rycee/bump/monero...
NixOS_GitHub has left #nixos []
<gchristensen> hrmm anyone have nix 1.11.8? it seems nixpkgs doesn't evaluate with nix 1.11.8 anymore
<fpletz> roconnor: no, it's probably in some darwin package we already have in nixpkgs
<copumpkin> roconnor: nice to see everyone talking about your language recently!
<copumpkin> gchristensen: what fails and how?
<gchristensen> syntax error, unexpected $undefined, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at /nix/store/6rlz6whjhcqm4rn5r099aypy24znc2gc-qz9krv2448n8x2j1vh3vgrbv6hmzix2h-nixpkgs-9ea242c617bf6fca9b425b5199a26294a406cbc0/pkgs/tools/archivers/sharutils/default.nix:22:47
<roconnor> copumpkin: ha really? Who is everyone?
<fpletz> roconnor: but not sure, never really used darwin myself :)
<gchristensen> 22 substituteInPlace tests/shar-1 --replace '$''\{SHAR}' '$''\{SHAR} -s submitter'
zzamboni has quit [(Ping timeout: 248 seconds)]
<copumpkin> roconnor: the internet! :P
<copumpkin> ouch
hariel has quit [(Ping timeout: 268 seconds)]
<roconnor> fpletz: okay. It's probably best to let some darwin / nix / bitcoin hobbiest help me out here.
<fpletz> roconnor: yeah :) maybe LnL has an idea
zzamboni has joined #nixos
<roconnor> copumpkin: Still a lot of work to do!
<kalhauge> copumpkin: Thank's I'll do that. It's 'aarm64'?
<copumpkin> aarch64?
<ed-packet> 'aarch64'
<kalhauge> Sorry, yes!
<Mic92> gchristensen: I cannot reproduce that on master
<gchristensen> Mic92: with nix 1.11.8?
<ed-packet> what the world also sometimes calls arm64, arm64v8, or armv8
<hyper_ch> Mic92: how to check out the exact same zfs revision?
<kalhauge> ed-packet: exactly.
<Mic92> gchristensen: I have 1.11.15
<Mic92> is that nix on 17.09?
<gchristensen> Mic92: no, 1.11.8 is nix on $old :P
<gerschtli> hey guys, I have reinstalled my pc and now I can't sign in dropbox
<hyper_ch> I search /nix for that dnode file, found it, copied it with path to /tmp... made another copy of it, edited it and tried to apply diff - same result
<gchristensen> today is yak after yak
<Mic92> gchristensen: how old?
<gerschtli> I'm using DWM and I have dropbox in my traybar
<gerschtli> but when I click on "Sign in", nothing is happening..
<tilpner> Mic92 - 16.09 has 1.11.8
<adisbladis> gchristensen: Yak shaving is a way of life
<Mic92> hyper_ch: 5277f208f290ea4e2204800a66c3ba20a03fe503
<Mic92> is the git hash for zfsUnstable
zzamboni has quit [(Ping timeout: 264 seconds)]
<hyper_ch> I know tha
<hyper_ch> t
<gerschtli> I'm getting "xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb" in the output when "dropbox start"
<LnL> roconnor: what's the problem?
zzamboni has joined #nixos
<roconnor> LnL altcoins.bitcoind doesn't build on darwin because it needs hexdump for tests. Some context @ https://github.com/NixOS/nixpkgs/pull/31625
<roconnor> Of course there may be other things stoping it from building on darwin as well.
<goibhniu> hi gerschtli, how did you install dropbox?
<roconnor> AFAIKT it has never built on darwin in recent history.
<roconnor> *AFAICT
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 6 new commits to master: https://git.io/vFiGu
<NixOS_GitHub> nixpkgs/master a74fd1d taku0: firefox-bin: 56.0.2 -> 57.0
<NixOS_GitHub> nixpkgs/master c91d4d5 taku0: nspr: 4.16 -> 4.17
<NixOS_GitHub> nixpkgs/master b5f2a09 taku0: nss: 3.32.1 -> 3.33
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #31572: firefox: support for native messaging hosts in wrapper (master...pr/firefox-native-messaging-hosts) https://git.io/vFrWO
NixOS_GitHub has left #nixos []
ertes-w has quit [(Ping timeout: 240 seconds)]
universalpackage has joined #nixos
orivej has joined #nixos
<gchristensen> our first underhanded nix contest, without using nix to parse it, what does '' substituteInPlace tests/shar-1 --replace '$''\{SHAR}' '$''\{SHAR} -s submitter' '' become? :P
zzamboni has quit [(Remote host closed the connection)]
<Mic92> hyper_ch: what result?
<hyper_ch> Mic92: so, I cloned zfs git, I checked out that commit, I altered the file.... but how do I create now a patch file from that revision to my changes? all I aees is everything also later applied will be added to the patch
jgertm has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<Mic92> hyper_ch: git diff > foo.patch
<LnL> roconnor: hmm, can't find it maybe it's in one of the darwin.*_cmds that's broken
<gerschtli> goibhniu: nix-env -iA nixos.dropbox-cli
<hyper_ch> Mic92: everybody else seems to use git format-patch [....]
<hyper_ch> but yours works
<roconnor> LnL: okay. Thanks. I wouldn't worry about it too much.
<copumpkin> yeah, I wouldn't be surprised if bitcoin-qt never built on darwin. Would be nice to make it though
<copumpkin> roconnor: I wouldn't treat the darwin failure as blocking though
<Mic92> hyper_ch: for this to work, you need to create a commit
<copumpkin> cool
<roconnor> copumpkin: I'd be happy to get bitcoind working.
<copumpkin> lovely
<copumpkin> I'd definitely welcome someone getting it to work :)
universalpackage has quit [(Remote host closed the connection)]
<copumpkin> is our bitcoin expression fully bit-for-bit reproducible, given bitcoin's own efforts in that space?
<roconnor> not in the slightest.
universalpackage has joined #nixos
<hyper_ch> Mic92: still failed
universalpackage has quit [(Client Quit)]
<hyper_ch> Hunk #1 FAILED at 1698.
<hyper_ch> 1 out of 1 hunk FAILED -- saving rejects to file module/zfs/dnode.c.rej
<roconnor> well, I suppose it could be by accident.
<copumpkin> :)
<Mic92> hyper_ch: what is in your .rej. file: nix-shell -p linuxPackages.zfs -K
zzamboni has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 9 new commits to staging: https://git.io/vFiZ9
<NixOS_GitHub> nixpkgs/staging c0a04ec John Ericson: libiberty: Add dev output
<NixOS_GitHub> nixpkgs/staging de28bd4 John Ericson: bfd, opcodes: Init separate derivations for binutils libraries...
<NixOS_GitHub> nixpkgs/staging f72bffb John Ericson: eztrace: Misc cleanups...
NixOS_GitHub has left #nixos []
<hyper_ch> where is that .rej file?
<Mic92> in the build directory, you can dump by using nix-shell -K
<hyper_ch> error: getting status of ‘/tmp/zfs/default.nix’: No such file or directory
<Mic92> nix-shell -p inuxPackages.zfs -K
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<Mic92> with *linuxPackages*
<hyper_ch> \[\][nix-shell:/tmp/tmp]$\[\]
<hyper_ch> that's what prompt looks now after running the second time nix-shell
<Mic92> where did you put your override?
<hyper_ch> I don't have an override
<hyper_ch> I directly edit the file in the store
<hyper_ch> because I tried the whole weekend on getting an override to work but it never was applied
<hyper_ch> I edited the /nix/store/hast-zfs/zfs/default.nix fiel
<hyper_ch> as I couldn't get any override to work
<Mic92> hyper_ch: you might want to read this: https://nixos.wiki/wiki/Create_and_debug_nix_packages
johnw has quit [(Read error: Connection reset by peer)]
<hyper_ch> as I said, I tried the whole weekend to figure out how to make zfs override so that I can use a newer revision because tcaputi thought the issue was already fixed
<hyper_ch> the only thing that finally worked was making /nix/store writeable and edit the default.nix directly and apply new revision and hash
<goibhniu> gerschtli: sorry, I don't know why it's broken ... are you on 17.09?
johnw has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zraexy opened pull request #31665: streamlink: 0.8.1 -> 0.9.0 (master...streamlink) https://git.io/vFinx
NixOS_GitHub has left #nixos []
<Mic92> hyper_ch: this is super hackey but nix-shell -I nixpkgs=/nix/store/what-you-changed -p linuxPackages.zfs -K
<Mic92> working with git checkout is recommend though
<gerschtli> goibhniu: yes, "17.09.2055.c19136c4c9 (Hummingbird)"
mrottenkolber has joined #nixos
<mrottenkolber> Hi
periklis has quit [(Ping timeout: 240 seconds)]
<hyper_ch> Mic92: not working, I'm cloning now nixpkgs
<kalhauge> copumpkin: Done, https://github.com/NixOS/nixpkgs/issues/31666. Thanks for helping out!
<mrottenkolber> I get errors like "ld: cannot find -lc" while trying to compile some stuff, any idea what package or else I could be missing?
<mrottenkolber> (yes I did nix-env -i glibc)
<hyper_ch> Mic92: cloned nixpkgs, exported NIXPKGS, edited the zfs default.nix, run nix-shell -p linuxPackages.zfs -K but nothing happened execpt nix-shell was started
ambro718 has joined #nixos
<Mic92> hyper_ch: please the first few paragraphs of the wiki article I gave you
<hyper_ch> that's what I did
<mrottenkolber> sphalerite: thanks!
<hyper_ch> Mic92: that's what I did: clone nixpkgs repo, set the environment variable to it, edited the zfs default.nix, run your command... ended up in nix-shell but nothing else happened
<Mic92> Ah, this was the wrong package: linuxPackages.zfsUnstable
goibhniu has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<Mic92> hyper_ch: in /tmp/nix-build-zfs-kernel-2017-11-12-4.9.61.drv-0 you will find module/zfs/dnode.c.rej
waleee has quit [(Quit: WeeChat 1.9.1)]
goibhniu has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
Sonarpulse has joined #nixos
<Mic92> hyper_ch: what does module/zfs/dnode.c looks like
k2s has quit [(Remote host closed the connection)]
<gerschtli> goibhniu: FYI, I needed to install dropbox-cli before a02123d3fbec47cbb322136544e14880d0619bb9 to log in, now I use the newest nixpkgs version again and its working fine despite of the error in the output
universalpackage has quit [(Client Quit)]
pbogdan has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
fendor has quit [(Ping timeout: 240 seconds)]
universalpackage has joined #nixos
k2s has joined #nixos
universalpackage has quit [(Client Quit)]
goibhniu has quit [(Ping timeout: 248 seconds)]
pbogdan has joined #nixos
alhariel has joined #nixos
<hyper_ch> still failed
ShalokShalom_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vFilk
<NixOS_GitHub> nix/master d6dbda7 Eelco Dolstra: Add tests for "nix verify", "nix sign-paths" etc.
<NixOS_GitHub> nix/master ec5b048 Eelco Dolstra: nix sign-paths: Support binary caches
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31659: Semi-automated Emacs package updates (master...emacs-updates) https://git.io/vF66t
NixOS_GitHub has left #nixos []
<hyper_ch> ah, maybe problem with tabs
sjm[m] has joined #nixos
<hyper_ch> Mic92: yey, it builds
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vFil1
<NixOS_GitHub> nix/master 4b45d8c Eelco Dolstra: Update lcov filter
<NixOS_GitHub> nix/master 2f5789c Eelco Dolstra: Add dependencies for coverage test
NixOS_GitHub has left #nixos []
<mbrock> I distribute some packages with Nix, and some of my users want to occasionally hack on the source code of one package, like they basically want to do exactly the thing that `/nix/store` being immutable prevents you from doing
<mbrock> and I don't really have a good answer for that
<dtzWill> modify source, feed into same nix expression in place of original source?
<mbrock> yeah, that's an option I'm considering. Like a `nix-shell` command that uses `overrideAttr` to set `src = /home/whatever/etc`, perhaps
<gerschtli> goibhniu: opened an issue about that https://github.com/NixOS/nixpkgs/issues/31667
<clever> mbrock: you could also just git clone foo, then nix-shell '<nixpkgs>' -A foo
lejonet has quit [(Quit: lejonet)]
<clever> mbrock: then just skip the unpackPhase, and use what git gave you
jensens has quit [(Ping timeout: 260 seconds)]
<mbrock> ah, hmm, yes, that is a good idea
<mbrock> sometimes it's the case that we want to hack on X, and then test it with Y which depends on X, and in that case I think my idea is necessary
<clever> ahh
<clever> mbrock: have you seen what import <nixpkgs> { config = { ... }; } can do?
<mbrock> don't think so :{
<mbrock> :)
<clever> mbrock: that argument lets you pass in the value of config.nix
<clever> so you can just do import <nixpkgs> { config = { packageOverrides = pkgs: { ... }; }; }
<mbrock> ok, interesting
<clever> and it will ignore the users config.nix file
<clever> so you can just put that into the default.nix of X, to modify what Y src it uses
<clever> and only that checkout of X will use the new Y
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<clever> so no tainting the rest of the machine
<jtojnar> sphalerite: are you able to swap the mouse buttons on GNME 3.26?
<mbrock> maybe I would make a .nix file that gives a nix-shell environment where my whole suite of interdependent packages are sourced from the filesystem
<clever> jtojnar: i know xfce can do it, ive had to do that on a recent netbook
alhariel has quit [(Ping timeout: 255 seconds)]
asuryawanshi has joined #nixos
<mbrock> this all kind of relates to a vague question I have about using Nix (wrapped slightly) as the package manager for a programming language, like as an alternative to (e.g.) npm
<jtojnar> clever: apparently it is a regression, just want to verify if it is the same issue he is having
asuryawanshi has quit [(Remote host closed the connection)]
<mbrock> I guess language package managers aren't known for having really easy and beautiful ways to do local development in multi-project setups
<mbrock> cargo's workspaces are kind of what I'm getting at
<mbrock> I remember this being a huge pain when I worked years ago in a Haskell shop with dozens of internal packages
sigmundv__ has quit [(Ping timeout: 248 seconds)]
asuryawanshi has joined #nixos
<clever> jtojnar: ah
alhariel has joined #nixos
mrottenkolber has left #nixos []
lejonet has joined #nixos
ambro718 has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vFi4F
<NixOS_GitHub> nixpkgs/master 26798bd Vincent Laporte: ocamlPackages.batteries: 2.7.0 -> 2.8.0...
NixOS_GitHub has left #nixos []
<gchristensen> ack trying to git bisect between a version in 17.03 and a version on 17.09 is not a thing that works it seems, since they're divergent histories
<copumpkin> that seems unfortunate
<copumpkin> might make sense for us to start requiring dummy merges back to master
jgertm has joined #nixos
<gchristensen> a childrens author wrote a book about my day today
jgertm is now known as Guest34220
<pie_> so im getting a bunch of errors like: download-from-binary-cache.pl: could not download ‘https://cache.nixos.org/qxv4sax3srm6x9a7rs4vx4pq1yqyg5pw.narinfo’ (Curl error 35)
<pie_> is hydra broken/
<pie_> huh weird nix-env works
nschoe has quit [(Quit: Program. Terminated.)]
erictapen has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
<dash> mbrock: this topic is relevant to my interests
<dash> gchristensen: "Alexander and..."?
<clever> pie_: that URL isnt hydra
<gchristensen> dash: yes but also maybe A Series of Unfortunate Events
<dash> gchristensen: guess i'm showing my age
a6a3uh has quit [(Quit: Bye)]
<pie_> clever, errr right
<gchristensen> no, no, alexander is a solid one
<clever> mbrock: if your using a stack file, there is now stack2nix
jtojnar has quit [(Client Quit)]
<sphalerite> ... Was just about to answer jtojnar >.>
<clever> mbrock: it can correctly translate things like this into nix: https://github.com/input-output-hk/cardano-sl/blob/master/stack.yaml#L47-L51
k2s has quit [(Remote host closed the connection)]
<gchristensen> dash: LOL
jtojnar has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
<mbrock> clever: that's good to know! not working on any multi-project Haskell things right now, but now that I think of it there's a project I would split up if I weren't afraid of this exact issue :)
jtojnar has joined #nixos
<clever> mbrock: the project i linked has at least 10 sub-projects (each with its own cabal file) in that repo, plus many deps that have been forked and are waiting on upstream things like what i linked
<clever> mbrock: and stack2nix just generates a whole haskellPackages set, with exactly the closure of the project, and nothing more, on the exact versions stack said to use
erictapen has quit [(Ping timeout: 260 seconds)]
<mbrock> that's pretty awesome
<mbrock> also cool that you're at IOHK working on Cardano ;)
<clever> yeah
erictapen has joined #nixos
jmc_fr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee opened pull request #31668: docs: clarify package and module option naming (master...doc/naming) https://git.io/vFi0q
NixOS_GitHub has left #nixos []
<mbrock> is it possible to specify a subdirectory of a `fetchFromGitHub {...}` as `src` ?
<clever> mbrock: modify sourceRoot in the postUnpack
<mbrock> oh, like postUnpack = "export sourceRoot=foo" ?
ma271 has quit [(Ping timeout: 246 seconds)]
<mbrock> ah, cool
Neo-- has joined #nixos
tmaekawa has joined #nixos
lejonet has quit [(Quit: lejonet)]
lejonet has joined #nixos
rogue_koder has joined #nixos
jmc_fr has quit [(Ping timeout: 258 seconds)]
<Lisanna> Hey clever , do you think that disk image modifier we got working last night would be a good thing to upstream to nixpkgs?
oida has quit [(Ping timeout: 268 seconds)]
erictapen has quit [(Ping timeout: 258 seconds)]
ma271 has joined #nixos
<Lisanna> gchristensen you might be able to answer too... clever and I wrote a function which takes a disk image with a Nix (not NixOS) install on it, and a list of derivations, and adds those derivations to the disk's Nix store.
<gchristensen> whoa
<clever> it uses nix copy and runInLinuxVM to mount the image
oida has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
<gchristensen> "Bisecting: 9133 revisions left to test after this (roughly 13 steps)"
<gchristensen> I don't know!
miko__ has joined #nixos
<clever> gchristensen: i once had the fun of trying to bisect a bug, caused by nix sandboxing
<gchristensen> nooope
<clever> every build coming from the binary cache was broken
<clever> every build i made locally worked
<clever> git bisect cant deal with that pattern
a6a3uh has joined #nixos
<Lisanna> git bisect can't deal with anything that isn't a linear progression,
<clever> it took a while to track that problem down
<clever> turns out, net-snmp will check for /etc/mtab, /proc/mounts, and 3 or 4 other paths, to figure out how your OS deals with keeping track of mounts
<clever> and then hard-code the result into the binary
<Lisanna> the nix sandbox allows access to those?
<clever> a nixos sandbox lacks every one of those, so it hard-codes itself to open "unknown" at runtime
<Lisanna> oh
<Lisanna> "local build" = outside the sandbox?
<clever> yeah, i had sandboxing off at the time
<clever> so any time i missed the binary cache, the test passed
<infinisil> is sandboxing enabled by default? I forgot
<Lisanna> Ever since I found out what sorts of things the NIx sandbox stops... I've been too afraid to ever build anything without it!
<Lisanna> infinisil: no, it's disabled for performance by default
<clever> infinisil: i believe its off, but i always turn it on
<infinisil> Oh snap
tmaekawa has quit [(Quit: tmaekawa)]
<infinisil> How big is the performance penalty?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #31671: emby: 3.2.33.0 -> 3.2.36.0 (master...emby_3.2.36.0) https://git.io/vFizx
NixOS_GitHub has left #nixos []
<clever> it has to bind-mount every single storepath in the closure of the build, within a chroot like env
<clever> and setup user, network, pid, and mount namespaces
<Lisanna> clever: so it adds a constant slowdown to builds? the build's run time complexity is still O(n) of the input sources?
<gchristensen> it isn't much
<infinisil> Got any numbers though? How much slower is it? I mean for casual users it shouldn't mean much anyways since most builds are from the cache anyways
<Lisanna> ...thinking that maybe the sandbox should start getting turned on by default
<Lisanna> and that users who Know What They're Doing™ can turn it off
<gchristensen> infinisil: ^
<clever> Lisanna: yeah, that sounds good
<clever> Lisanna: it stops people from doing impure things like src = "/home/clever/foo"; and they just chmod when it fails to read
<clever> and now nix cant rebuild when things change
<infinisil> that sounds like a good idea
stanibanani has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matklad opened pull request #31672: Up jetbrains (master...up-jetbrains) https://git.io/vFigH
NixOS_GitHub has left #nixos []
a6a3uh has quit [(Quit: Bye)]
vcunat has joined #nixos
* clever heads to bed
Mateon3 has joined #nixos
<hyper_ch> * bed moves away
Mateon1 has quit [(Ping timeout: 248 seconds)]
Mateon3 is now known as Mateon1
ssmike has quit [(Ping timeout: 240 seconds)]
nh2 has joined #nixos
<pie_> is it possible to make a thing so that appimages are easy?
c0bw3b has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
lebel has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dtzWill opened pull request #1678: anchor nix::Exit exception (master...feature/anchor-exit-exception) https://git.io/vFiV7
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
<steveeJ> Sonarpulse: hey .o/ is it possible on master the cross toolchains don't add an RPATH to the output binaries?
<Sonarpulse> steveeJ: they do add rpath
<Sonarpulse> but there is this stupidity with stock binutils
a6a3uh has joined #nixos
<Sonarpulse> and rpath vs rpath link
<Sonarpulse> bgamari: fixed in his super PR
<Sonarpulse> so that binutils in the cross case looks at --rpath
<Sonarpulse> not just --rpath-link
<steveeJ> ah I see, so the binutils's ld version removes it?
<Sonarpulse> it doesn't remove it
<Sonarpulse> it just chooses to ignore it
<Sonarpulse> if you readelf is it actually gone?
<Sonarpulse> or are you just getting link errors?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b closed pull request #31531: tortoisehg: fix license dialog (master...mercurial-licence-fix) https://git.io/vFwfM
NixOS_GitHub has left #nixos []
<steveeJ> linking seems to work, the resulting binaries just lack RPATH
<steveeJ> this happens even with a combined compile/link run using gcc -o ..
dhess has left #nixos ["ERC (IRC client for Emacs 25.3.2)"]
lebel has joined #nixos
acowley is now known as acowley_away
<steveeJ> Sonarpulse: I've used patchelf --print-rpath to check for it, after I found that the linked libraries aren't found
<Sonarpulse> steveeJ: ok hmm that's odd
<Sonarpulse> I don't know about that one
maiksen has quit [(Changing host)]
maiksen has joined #nixos
p4cman has quit [(Quit: Connection closed for inactivity)]
lfam has joined #nixos
<steveeJ> Sonarpulse: so `aarch64-unknown-linux-gnu-gcc sysinfo.c -o sysinfo && patchelf --print-rpath sysinfo` has no output, but exit code 0 if that means anything to patchelf
<Sonarpulse> steveeJ: do NIX_DEBUG=1 that
<Sonarpulse> or even NIX_DEBUG=7
<Sonarpulse> to see if ld-wrapper is adding --rpath entries
<Sonarpulse> ....I still think unless you have crazy deadline you should not be using master
<Sonarpulse> its just very broken
<Sonarpulse> hacking around it is a real chore
<Sonarpulse> and will leave you with a bunch of code you won't need long term fixing these things
<steveeJ> Sonarpulse: I'm fine downgrading from master, but I came from unstable where the cross toolchain expression I was using broke at one point
<Sonarpulse> steveeJ: this would be upgrading from master
<steveeJ> if you give me an old commit on master/unstable I'll revert to that
<Sonarpulse> our unmerged PRs
<Sonarpulse> whatever the tip of that is
<Sonarpulse> it's a moving target
<Sonarpulse> but it's a *working* moving target
lfam has left #nixos ["Leaving"]
<steveeJ> so HEAD of bgamari:ben-cross?
<Sonarpulse> yup!
<steveeJ> alright, at this point I have nothing to lose :-D
<Sonarpulse> :)
<Sonarpulse> if you find issues you can mention them in that PR
<Sonarpulse> I or bgamari will comment back
<Sonarpulse> right now, you are probably hitting things we already fixed and forgot about
<Sonarpulse> but if you hit issues with that they will be new
jb55 has joined #nixos
<steveeJ> Sonarpulse: alright thanks! I'll let you know how it goes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vFi63
<NixOS_GitHub> nixpkgs/master 0e05dfc Bruno Bieth: Typo in manual#stdenv - propagatedNativeBuildInputs
<NixOS_GitHub> nixpkgs/master f609512 Vladimír Čunát: Merge #31614: doc/manual/stdenv: fix a typo
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vFi6c
<NixOS_GitHub> nixpkgs/release-17.09 59df1f8 Vladimír Čunát: Merge #31614: doc/manual/stdenv: fix a typo...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #31614: Typo in manual#stdenv - propagatedNativeBuildInputs (master...doc-typo) https://git.io/vFoSZ
NixOS_GitHub has left #nixos []
<Mic92> gchristensen: does the bot notice, if a pr was meant for 17.09 instead of master?
<mbrgm> can I supply variables for imports in a nixos configuration.nix?
<gchristensen> Mic92: I _believe_ in all cases it uses the correct target branch
<Mic92> gchristensen: yes, it works
<gchristensen> cool :)
Dr8128 has quit [(Read error: Connection reset by peer)]
<gchristensen> Mic92: I too wonder why firefox-bin is unfree
<octe> i'm trying to install oraclejdk but since i already have openjdk installed, nix-env -iA tells me there's a conflict and to use set-flag priority
<octe> but whatever i send in as a package name to it it just says no matching derivation
<octe> nix-env --set-flag priority 255 nixos.oraclejdk
<octe> is that not the right way?
<steveeJ> Sonarpulse: seems like I have to cherry-pick unrelated fixes now :-D
<steveeJ> e.g. vim-youcompleteme is broken on that branch
<Sonarpulse> steveeJ: cherry-pick from where?
<Sonarpulse> oh bummer
<Sonarpulse> sorry about that; we will rebase soon
<Sonarpulse> so that's progress
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to release-17.09: https://git.io/vFiid
<NixOS_GitHub> nixpkgs/release-17.09 f236e10 taku0: firefox-bin: 56.0.2 -> 57.0...
<NixOS_GitHub> nixpkgs/release-17.09 d142f17 Jörg Thalheim: Merge pull request #31663 from tokudan/1709-ff57...
NixOS_GitHub has left #nixos []
<steveeJ> Sonarpulse: which environment variables should be set in a cross-compile nix-shell? CROSS_COMPILE for sure, but what about CC/AR/LD?
<infinisil> Am frustrated with ghc-mod and emacs, can't get auto-completion to work properly
<maiksen> hey would anyone mind telling me, where I have to put a configuration.nix if I only want to use nix as package manager (on say an arch linux) as a single user? I seem to be blind and couldnt find this in the nix docs so far
<srhb> maiksen: configuration.nix is a NixOS only thing.
ssmike has joined #nixos
<srhb> maiksen: You may want a ~/.config/nixpkgs/config.nix though, which is documented in the nix (and nixpkgs?) manual.
<maiksen> ah okay, thats what I ment, I'll have a look
<maiksen> ah found it ~/.nixpkgs/config.nix, which contains user-local settings for Nix Packages...
<maiksen> srhb: thanks
<srhb> maiksen: You're welcome. :)
c0bw3b has left #nixos []
magnetophon has joined #nixos
kalhauge has quit [(Remote host closed the connection)]
erictapen has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
ma271 has quit [(Ping timeout: 240 seconds)]
<magnetophon> I'm trying to figure out why some code is being ignored. I'm doing nixos-rebuild, and it should compile a new kernel, but it doesn't. This is how I'm troubleshooting:
<magnetophon> When I change the function name of this line: https://github.com/musnix/musnix/blob/master/modules/kernel.nix#L143 I get an error, as expected.
<magnetophon> but when I change callPackage in that line to nonsense, the nixos generation claims to build.
<magnetophon> Same when I change the .nix file in that line to something non-existing. TBH, I'm baffled. Any ideas?
<srhb> magnetophon: How did you enable that kernel?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] c0bw3b pushed 2 new commits to master: https://git.io/vFi1T
<NixOS_GitHub> nixpkgs/master a6b1d9a romildo: jdupes: init at 1.8
<NixOS_GitHub> nixpkgs/master 2236363 Renaud: Merge pull request #26920 from romildo/upd.fdupes...
NixOS_GitHub has left #nixos []
picpic1245 has joined #nixos
picpic1245 has quit [(Client Quit)]
stanibanani has quit [(Ping timeout: 260 seconds)]
<magnetophon> srhb: I'm not sure I understand the question. I could link you to my dotfiles if you want? Or I can just tell you I've been using musnix for years, and nothing relevant changed afaik.
ssmike has quit [(Ping timeout: 258 seconds)]
<shiver> does anyone have an example of using "services.tomcat.webapps" to point to a local WAR file for deployment? when i give a directory / file name it's just saying that it's not a package
<shiver> since the list type is 'package' it seems
<magnetophon> srhb: this is the relevant line: https://github.com/magnetophon/nixosConfig/blob/master/music.nix#L24
<srhb> magnetophon: Right, nothing suspicious there..
Guest52155 has quit [(Ping timeout: 240 seconds)]
jensens has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vFiML
<NixOS_GitHub> nixpkgs/staging 72b98b8 Vladimír Čunát: darwin.stdenv: fix a typo in comment ;-)
NixOS_GitHub has left #nixos []
<magnetophon> srhb: I wanted to update the kernel, so I changed the version and the hash, but it didn't rebuild. So I started following the trace so to speak. My original question was the endpoint of that tracing.
<magnetophon> Isn't it really odd that I can change one part of that line, and get an error (as expected), but change another part to nonsense, and get no error?
Itkovian_ has quit [(Ping timeout: 248 seconds)]
<srhb> I don't know enough to answer that, I'm not sure how lazy eval vs. name resolution works here...
a6a3uh has quit [(Quit: Bye)]
<srhb> magnetophon: You don't really have musnix disabled in your real config, right?
MP2E has joined #nixos
<magnetophon> srhb: my main config has musnix disabled, but I use it via "-I nixos-config=/path/to/other/config.nix"
<srhb> OK, just checking. :)
<magnetophon> srhb: The code in question is clearly being called: when I change linux_4_13_rt to linux_4_14_rt I get "undefined variable ‘linux_4_13_rt’"
<srhb> Just backtracking through the definitions it looks like the enable isn't what sets the kernelPackages anyway..
Itkovian has joined #nixos
ma271 has joined #nixos
<magnetophon> srhb: then again, it looks like I'm missing something dumb, therwise it would just work, so I really appreciate you thinking with me! :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 7 new commits to master: https://git.io/vFiD9
<NixOS_GitHub> nixpkgs/master 08508f5 Dan Haraj: absl-py: init at 0.1.3
<NixOS_GitHub> nixpkgs/master 1327d09 Dan Haraj: mpyq: init at 0.2.5
<NixOS_GitHub> nixpkgs/master 2201774 Dan Haraj: portpicker: init at 1.2.0
NixOS_GitHub has left #nixos []
<srhb> magnetophon: You have one of these set? cfg.kernel.latencytop || cfg.kernel.optimize || cfg.kernel.realtime
<srhb> (to true)
<magnetophon> srhb: These lines should determine whether the kernel is built: https://github.com/magnetophon/nixosConfig/blob/master/machines/thinknix/rt.nix#L18-L20
<srhb> Indeed.
danharaj has joined #nixos
johbo has quit [(Quit: Bye)]
johbo has joined #nixos
<gchristensen> I have a strange issue. I'm using NixOS containers (systemd-spawn based) and ever since "systemd: v232 -> v233" (dfebb66f657240e5448a98d9efc90d4c66825274) my host cannot SSH in to them using SSH keys, but instead are prompted with a password. before that commit, the SSH key auth worked fine
* Yaniel keeps hitting F5 on http://howoldis.herokuapp.com/
<gchristensen> were there new settings added / defaults changed that might break this?
<danharaj> Does anyone know if there's a way with the current python infrastructure to interact with setuptools package "extras"?
<magnetophon> How can it be that when I have "name = callPackage file.nix", and I change name, I get "undefined variable ‘name‘", indicating that line is being called, but when I change callPackage to blah, or file.nix to nosuchfile.nix, I don't get an error????
<hyper_ch> Mic92: thx for the help
<srhb> magnetophon: Presumably because the expression the name is bound to doesn't need to get evaluated.
<Mic92> hyper_ch: good to hear
<Mic92> gchristensen: is logind running inside the container? can you attach using machinectl shell?
<magnetophon> srhb: sorry, I don't understand what you mean.
<Mic92> and password auth works?
<gchristensen> I don't know if password auth works, I spent most of today bisecting to when it was introduced :P
<gchristensen> testing now, Mic92 :)
<magnetophon> srhb: you mean cause the result of that expression is already in the store?
goibhniu has joined #nixos
<magnetophon> goibhniu: hi!
<srhb> magnetophon: I was suspecting laziness, but really I don't know. I'll stop guessing wildly now. :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] YorikSar opened pull request #31673: chromium: 62.0.3202.89 -> 62.0.3202.94 (master...chromium-update) https://git.io/vFi9c
NixOS_GitHub has left #nixos []
<srhb> Since I don't see any composite type there I don't think that hypothesis makes any sense anyway.
<magnetophon> srhb: OK, many thanks for trying to help though!
miko__ has quit [(Ping timeout: 240 seconds)]
<Mic92> gchristensen: /etc/ssh/authorized_keys.d exists in the container?
<gchristensen> Mic92: yeah, /etc/ssh/authorized_keys.d/root exists and has the expected key
<Mic92> gchristensen: the process list looks healty
<Mic92> *healthy
<Mic92> gchristensen: you can try to start sshd with full path: /nix/store/<hash>-.../sshd -dD -h /etc/ssh/authorized_keys.d/root -p 2222 and look at the output
<gchristensen> yeah, one moment
b has joined #nixos
<gchristensen> you know ...
<gchristensen> a service isn't starting or working when it should anymore, which places the snakeoil creds: https://github.com/tumblr/jetpants/blob/master/testing/test-harness.nix#L60-L76
<Mic92> gchristensen: where is actually sshd?
<gchristensen> I'm sorry Mic92 *facepalm* its just that the snakeoil service wasn't starting when I expected
<Mic92> gchristensen: do you use socket activation for ssh?
<gchristensen> noyeah
<gchristensen> ... yeah*
jb55 has quit [(Ping timeout: 240 seconds)]
<gchristensen> I'm sorry I didn't catch this before pinging you!
<Yaniel> is there some way I can force plasma to refresh its application list?
<Yaniel> the main menu isn't very useful when half of the apps just pop up a "not found" notification
Havvy has quit [(Read error: Connection reset by peer)]
<Ralith> what's a good way to get nix-shell to give me a particular build environment (e.g. with a specific stdenv), since -p doesn't do that?
<Ralith> via command line args, that is
asuryawanshi has quit [(Ping timeout: 248 seconds)]
<infinisil> I got ghc-mod autocompletion to fully work in emacs on NixOS! \o/
miko__ has joined #nixos
simendsjo has quit [(Ping timeout: 258 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/aeff3080d0 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
jb55 has joined #nixos
<steveeJ> Sonarpulse: I'm getting a weird error with that branch: /nix/store/zvys2al3rnx14bjkigf70zzdbhwddx31-hook/nix-support/setup-hook: line 99: die: command not found
<steveeJ> Sonarpulse: haha that's funny, it fails to display the actual error message because 'die' isn't available :-D
zimbatm has quit [(Ping timeout: 240 seconds)]
mandrews has joined #nixos
zimbatm has joined #nixos
x1n4u has joined #nixos
ambro718 has joined #nixos
civodul has joined #nixos
<dmj`> uh oh
<dmj`> FATAL: kernel too old
<dmj`> when trying to install nix
<gchristensen> man, you on RHEL5?
* danharaj recently had to deal with a server running Ubuntu 10
<steveeJ> Sonarpulse: I managed to overcome all the initial issues and am mass rebuilding now :-) I'm curious!
<dmj`> Centos-grandpa
johnw has quit [(Ping timeout: 240 seconds)]
<vcunat> dmj`: 17.09 should be OK
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<vcunat> but it would be best to move to newer OS (e.g. centos 6) within several months
<Sonarpulse> steveeJ: about die?
<Sonarpulse> that was a PR a while back
<Sonarpulse> unrelated to cross
<Sonarpulse> not sure what happened
<Sonarpulse> good luck!
<steveeJ> Sonarpulse: I wrote a patch to makeWrapper that allows to skip the checks on the wrapped binary, so my expressions broke on the tree without this patch
<steveeJ> but die was unable to tell me that the argument isn't supported ;)
<dmj`> vcunat: not an option unfortunately :/
johnw has joined #nixos
<vcunat> dmj`: it's (theoretically) possible that "the community will decide" to support 17.09 for longer than half a year
<vcunat> but I certainly can't guarantee that at this point
<dmj`> emacs is so old it doesn’t come with package.el (21)
<dmj`> so I have to manually fetch it, but it contains keywords that 21 doesn’t understand
miko__ has quit [(Ping timeout: 255 seconds)]
zraexy has quit [(Quit: Leaving.)]
hiratara has quit [(Ping timeout: 252 seconds)]
hiratara has joined #nixos
kuznero has joined #nixos
dj_goku_ has joined #nixos
dj_goku_ has quit [(Changing host)]
dj_goku_ has joined #nixos
tommyangelo_ has joined #nixos
ghostyyy has joined #nixos
Bane^^ has joined #nixos
ChongLi_ has joined #nixos
roblabla1 has joined #nixos
MarcWebe1 has joined #nixos
Bane^ has quit [(Ping timeout: 250 seconds)]
ChongLi has quit [(Read error: Connection reset by peer)]
ghostyy has quit [(Read error: Connection reset by peer)]
drp has quit [(Read error: Connection reset by peer)]
roblabla has quit [(Ping timeout: 250 seconds)]
dj_goku has quit [(Ping timeout: 250 seconds)]
MarcWeber has quit [(Ping timeout: 250 seconds)]
Bane^^ is now known as Bane^
ravloony has quit [(Ping timeout: 250 seconds)]
<kuznero> Hi All!
danharaj has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vFip3
<NixOS_GitHub> nixpkgs/master f3811ad Vincent Laporte: frama-c.why2: 2.37 -> 2.39
NixOS_GitHub has left #nixos []
<kuznero> I am trying to create a package now that has one bash script that need to know where it installed. So, I have something like `echo ${mdslider}` in that bash script. What can I do to make this path resolved on the install/build phase of mdslider derivation?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nbp pushed 1 new commit to master: https://git.io/vFipl
<NixOS_GitHub> nixpkgs/master 20a5e9d Maximilian Bosch: nixos-option: don't eval description...
NixOS_GitHub has left #nixos []
isidore has joined #nixos
<kuznero> I guess I could try using sed in fixupPhase?
simukis has quit [(Ping timeout: 248 seconds)]
isidore has quit [(Quit: WeeChat 1.9.1)]
vcunat has quit [(Ping timeout: 240 seconds)]
andrewrk has quit [(Ping timeout: 260 seconds)]
ssmike has joined #nixos
isidore has joined #nixos
<shlevy> Anyone know how to make ghc in a nix-shell ignore the user package DB? Getting an error due to "shadowed dependencies" with ghc 8.2 even in nix-shell --pure
hiratara has quit [(Quit: ZNC - http://znc.in)]
azdle has joined #nixos
hiratara has joined #nixos
isidore has quit [(Quit: WeeChat 1.9.1)]
Itkovian has joined #nixos
andrewrk has joined #nixos
jensens has quit [(Ping timeout: 264 seconds)]
<kuznero> How can I inspect my package's closure? I would like to see what packages it ended up as runtime dependencies...
<shlevy> kuznero: nix-store -qR
<shlevy> or -q --tree or -q --graph
<kuznero> shlevy: thanks
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
Itkovian_ has joined #nixos
<tokudan[m]> it seems hydra does not have a current job to evaluate release-17.09, the last evaluation was from about a day ago
Itkovian has quit [(Ping timeout: 268 seconds)]
ThatDocsLady_ has quit [(Ping timeout: 240 seconds)]
Lisanna has quit [(Ping timeout: 260 seconds)]
lambdamu has joined #nixos
miko__ has joined #nixos
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
goibhniu has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to release-17.09: https://git.io/vFPUd
<NixOS_GitHub> nixpkgs/release-17.09 ac35504 Vladimír Čunát: libbsd, libtiger: fix meta evaluation...
NixOS_GitHub has left #nixos []
<gchristensen> anyone ever seen netcat fail to exit after its stdin sends EOF?
<dtzWill> gchristensen: there's an option for that, -k maybe?
<dtzWill> gchristensen: maybe if it blocks writing output?
<gchristensen> it seems totally done running, if I `kill -int` it, it cleans up and exits just fine, data fully xfered
<hodapp> what is the magical incantation to search Emacs packages? for whatever reason I am not able to find this in the manual or Google
<dtzWill> bsd vs gnu problem maybe? O:) sorry dunno
<gchristensen> ... oh.... dammit ... `-q seconds If seconds is negative, wait forever (default).`
goibhniu has joined #nixos
<Ralith> hodapp: in my experience they have the same name in nixpkgs that they do officially, so just search elpa or w/e
Mateon1 has quit [(Remote host closed the connection)]
Mateon1 has joined #nixos
cement has quit [(Ping timeout: 248 seconds)]
nixos1022 has quit [(Ping timeout: 248 seconds)]
ambro718 has quit [(Ping timeout: 248 seconds)]
<steveeJ> Sonarpulse: the native apparmor build is broken, I'm not sure if that's cross related at all though
<steveeJ> this line https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/apparmor/default.nix#L70 fails cause the glob doesn't match anything
jb55 has quit [(Ping timeout: 248 seconds)]
oida has quit [(Ping timeout: 255 seconds)]
Oida has joined #nixos
goibhniu has quit [(Remote host closed the connection)]
<steveeJ> Sonarpulse: should I comment the PR with such build failures?
goibhniu has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
<hodapp> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/ihaskell.nix err, given this, why is services.ihaskell.enable not getting me anywhere?
ma271 has quit [(Ping timeout: 240 seconds)]
<hodapp> as in, it's telling me that the option doesn't exist
jtojnar has joined #nixos
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
jtojnar has quit [(Client Quit)]
glion has quit [(Ping timeout: 240 seconds)]
jtojnar has joined #nixos
Oida has quit [(Ping timeout: 268 seconds)]
Oida has joined #nixos