markus1199 has joined #nixos
<mbrgm> hey! can I nix-build a nix expression while overriding a specific attribute in it? to be more specific: I want to build a custom version of the nixos iso image where I want to modify some attributes in ./modules/installer/cd-dvd/iso-image.nix
<domenkozar> gchristensen: now I am
<domenkozar> for 1min :)
markus1189 has quit [(Ping timeout: 246 seconds)]
<mbrgm> is this what scopedImport is for?
Rotaerk has joined #nixos
<eacameron> I'm trying to build the nginx with the pagespeed module and I'm having trouble. Can anyone who understands nixpkgs better than me look at these brief instructions and see if anything strikes you that I'd need to do differently for nixpkgs? https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source
<NixOS_GitHub> [nixpkgs] elasticdog opened pull request #21699: transcrypt: 1.0.0 -> 1.0.1 (master...transcrypt) https://git.io/vMZEG
<mbrgm> hey! could maybe someone tell me why this http://nixpaste.lbr.uno/_mXPvwOA?nix does not work?
<mbrgm> i.e. the line I added to the postBootCommands is not considered at all
<NixOS_GitHub> [nixpkgs] polyrod opened pull request #21700: sakura: fixed GLib-GIO-ERROR #21698 (master...master) https://git.io/vMZE4
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
mkoenig has quit [(Ping timeout: 248 seconds)]
mkoenig has joined #nixos
<polyrod> LnL, are you there ?
<LnL> sort of, I *should* be sleeping :)
Fare has joined #nixos
<polyrod> LnL, hey i made a pull request for a bugfix in sakura terminal emulator ... but in my git repo there where still changes of the chase package ... wich when merging to nixos/master would revert some of the changes for chase-0.5.2 .... what can i do ?
<LnL> not sure what you mean
<polyrod> i have to update my github-fork of nixpkgs to nixos/nixpkgs master ... thats rebaseing right ?
<LnL> oh the 10 commits?
<polyrod> LnL, yes
<polyrod> it should be only one commit in the pull request
alx741 has joined #nixos
<LnL> the easiest thing is to checkout/pull master, then checkout your branch and run git rebase -i master
<mbrgm> polyrod: what you need to do is sync the latest state of nixos/nixpkgs/master to your fork of nixpkgs/master, i.e. pull from upstream (nixos/nixpkgs) and push to your fork. then you have to `git rebase` your branch on top of that updated master
<mbrgm> oh, 2 secs too late ^^
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
<polyrod> ok i try to find the right commands
<polyrod> its the git fetch upstream ,right
mudri has quit [(Ping timeout: 245 seconds)]
alx741_ has quit [(Ping timeout: 248 seconds)]
<LnL> polyrod: oh you didn't create a branch
<LnL> polyrod: git fetch origin master; git rebase -i origin/master
<polyrod> ok
<LnL> that will open your editor and you can choose what commits to include/squash/drop, ...
<polyrod> yes there i am ...
<LnL> if it looks good, write the file and exit the editor
<polyrod> so it "p ec601f2ae608c0dc043dd70c7925d455c2a0f26d"
MagBo has quit [(Ping timeout: 246 seconds)]
<polyrod> so i write "p ec601f2ae608c0dc043dd70c7925d455c2a0f26d" in the file , to only include ec601f2ae608c0dc043dd70c7925d455c2a0f26d commit
<simpson> Yes, "p" for "pick".
<LnL> yes exactly
<polyrod> only p , or p and the commit id
<simpson> If your git is modern, it should give you a little help guide in the comments of that file.
MagBo has joined #nixos
<LnL> polyrod: the entire line
<simpson> You can get away with a short hash as long as it's unambiguous.
<polyrod> yes there is this list with options
<simpson> "p cafebab"
<polyrod> ok
<LnL> you can do a bunch of more complicated stuff, like edit or squash commits that's what the prefix is for
<LnL> but in this case you just want to pick it
<polyrod> it said it counldn't apply ec601f2ae608c0dc043dd70c7925d455c2a0f26d
athan has joined #nixos
<polyrod> working dir is empty
<LnL> was there a conflict?
<simpson> polyrod: Did it say that the commit would be a noop? That happens sometimes.
<polyrod> no no conflict
<simpson> "Working directory is clean, nothing to commit" kind of thing?
* simpson going from memory
<polyrod> simpson, in the editor file first there was noop , i substituted witc p ec601f2ae608c0dc043dd70c7925d455c2a0f26d
<polyrod> simpson, yes working dir clean nothing to commit
<LnL> so what state are you in now, the same as on the pr?
<polyrod> my github fork is : This branch is 10 commits ahead, 110 commits behind NixOS:master.
<simpson> polyrod: $ git rebase --continue
<simpson> If it tells you that there's no rebase in progress, then your rebase succeeded.
<LnL> polyrod: oh wait, your remote is called NixOS ?
matthewbauer has quit [(Ping timeout: 248 seconds)]
<LnL> git rebase -i NixOS/master then
<simpson> Aha!
<LnL> yeah you origin is that one
<simpson> LnL: This is the same setup that I have.
<simpson> I didn't think that anybody else would do it just like me, though.
<polyrod> i followd the manual ... klicking fork at nixos/pkgs
<polyrod> LnL, git rebase -i NixOS/master .... right ?
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #21702: atom: 1.12.8 -> 1.12.9 (master...atom_1_12_9) https://git.io/vMZgz
<LnL> for me it's reversed, my origin points to nixos and lnl points to my fork
<LnL> polyrod: yes
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/7ab5bf4bb6a3...2a57c1e60f3c
<NixOS_GitHub> nixpkgs/master f2502c9 Tim Steinbach: atom: 1.12.8 -> 1.12.9
<NixOS_GitHub> nixpkgs/master 2a57c1e Tim Steinbach: Merge pull request #21702 from NeQuissimus/atom_1_12_9...
<polyrod> fatal: Needed a single revision
<polyrod> ungültiger Upstream-Branch NixOs/master
Acou_Bass has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<LnL> might be case sensitive
<polyrod> tried NixOs NixOS nixos ... all same
Acou_Bass has joined #nixos
<simpson> polyrod: $ git remote -v
<simpson> Should show you exactly your remotes.
<simpson> Also $ git branch --remote
<gchristensen> LnL: can you review something for me?
<LnL> gchristensen: sure, if it's not to big
Fare has quit [(Ping timeout: 256 seconds)]
<gchristensen> not too big
cjhowe has joined #nixos
<polyrod> originhttps://github.com/polyrod/nixpkgs (fetch)
<polyrod> originhttps://github.com/polyrod/nixpkgs (push)
<polyrod> upstreamhttps://github.com/NixOS/nixpkgs (fetch)
<polyrod> upstreamhttps://github.com/NixOS/nixpkgs (push)
<c74d> polyrod: the remote is named `upstream`, not `NixOs`
<c74d> so the branch is `upstream/master`, not `NixOs/master`
<polyrod> yes git rebase -i upstream/master is it
<polyrod> now i got alist of all commits in the editor ... i can only keep the commit i want then in the PR right
georges-duperon has quit [(Quit: Leaving)]
<polyrod> ok git diff upstream/master shows me only the desired-commit diff . but when i want to git push it to my repo it rejects , and says i have to pull first ... is that ok ?
ryantrinkle has quit [(Ping timeout: 248 seconds)]
mkoenig has quit [(Ping timeout: 256 seconds)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mkoenig has joined #nixos
cjhowe has joined #nixos
thc202 has quit [(Ping timeout: 255 seconds)]
canndrew_ has joined #nixos
CodingWithClass_ has joined #nixos
willeh_ has joined #nixos
Nyx has joined #nixos
mjacob has joined #nixos
mjacob has quit [(Changing host)]
mjacob has joined #nixos
Nyx has quit [(Changing host)]
Nyx has joined #nixos
willeh_ is now known as willeh
yorick has quit [(Changing host)]
yorick has joined #nixos
joepie91 has joined #nixos
Nyx is now known as Guest44490
petar is now known as Guest73536
codedmart has quit [(Ping timeout: 248 seconds)]
kini has joined #nixos
martinklepsch has joined #nixos
systmkor has joined #nixos
fiddlerwoaroof has joined #nixos
leothrix has joined #nixos
CustosLimen has joined #nixos
<polyrod> LnL, ok my repo is now: This branch is 14 commits ahead of NixOS:master.
Forkk has joined #nixos
cyraxjoe has joined #nixos
<polyrod> its up do date but instead of 10 i have 14 commits now
stepcut_ has joined #nixos
stepcut has quit [(Ping timeout: 256 seconds)]
stepcut_ has quit [(Read error: Connection reset by peer)]
AllanEsp1nosa has quit [(Ping timeout: 272 seconds)]
charlesofarrell_ has joined #nixos
siel has quit [(Ping timeout: 240 seconds)]
stepcut has joined #nixos
dtz_matrix[m] has joined #nixos
mpickering has joined #nixos
stig has joined #nixos
siel has joined #nixos
athan has quit [(Ping timeout: 248 seconds)]
myheadhurts_ has joined #nixos
athan has joined #nixos
qnm has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
modafinil has joined #nixos
Fare has joined #nixos
savanni has joined #nixos
aristid has joined #nixos
gridaphobe has joined #nixos
r0bby has joined #nixos
pchiusano has joined #nixos
scode has joined #nixos
codedmart has joined #nixos
<mbrgm> hey! could maybe someone tell me why this http://nixpaste.lbr.uno/_mXPvwOA?nix does not work?
<mbrgm> i.e. the line I added to the postBootCommands is not considered at all
bdimcheff has joined #nixos
dgonyeo has joined #nixos
stasku has joined #nixos
Guest44490 is now known as Nycatelos
athan has quit [(Ping timeout: 272 seconds)]
AllanEsp1nosa has joined #nixos
manveru has joined #nixos
ublubu has quit [(Ping timeout: 240 seconds)]
gpyh has quit [(Quit: WeeChat 1.6)]
AllanEsp1nosa has quit [(Ping timeout: 248 seconds)]
athan has joined #nixos
adelbertc has joined #nixos
monad_cat has joined #nixos
athan has quit [(Quit: leaving)]
ublubu has joined #nixos
bronsen has joined #nixos
athan has joined #nixos
kampfschlaefer has quit [(Ping timeout: 240 seconds)]
AllanEsp1nosa has joined #nixos
fiddlerwoaroof has quit [(Ping timeout: 246 seconds)]
fiddlerwoaroof has joined #nixos
athan has quit [(Ping timeout: 272 seconds)]
ublubu has quit [(Ping timeout: 245 seconds)]
mbrgm has quit [(Ping timeout: 258 seconds)]
mbrgm has joined #nixos
<eacameron> Anyone using HHVM instead of PHP?
<NixOS_GitHub> [nixpkgs] copumpkin opened pull request #21703: httpd module: don't create documentRoot directory if it doesn't exist (master...httpd-no-mkdir) https://git.io/vMZKE
ublubu has joined #nixos
mkoenig has quit [(Ping timeout: 255 seconds)]
<simpson> copumpkin: Oh hey, that turned out to be pretty easy!
mkoenig has joined #nixos
<gchristensen> eacameron: gosh I hope so, I rebuild that thing all the time and it takes ages :P
<eacameron> gchristensen: Hahaha...It's on my list of things to try in my Wordpress config...
slack1256 has joined #nixos
<gchristensen> you should, it is good
<gchristensen> though php7 really closed the gap in a lot of ways
<eacameron> gchristensen: oh really?
<gchristensen> yeah, php7 is almost as fast as hhvm and added lots of the features hhvm has
<eacameron> gchristensen: Wow...that's sweet! I had no idea.
<gchristensen> it is sweet
<gchristensen> one sec ..
dtz_matrix[m] is now known as dtz
<eacameron> gchristensen: Sick!
<dtzWill> @.@ what that's awesome
<gchristensen> yup :D
derjohn_mob has quit [(Ping timeout: 258 seconds)]
<nhooyr> There is a package in nix I want someone to install. They could be on nixOS or using nix as a standalone package manager, can I give them a single attribute path so they can use `nix-env -iA path` or do I have to tell them to use `nix-env -iA nixos.package` on nixOS or `nix-env -iA nixpkgs.package` with just nix? or I tell them `nix-env -i package`?
mkoenig has quit [(Ping timeout: 245 seconds)]
mkoenig has joined #nixos
<Nafai> gchristensen: Awesome on the security team, glad to see you a key part of that in an official capacity.
<Nafai> Thanks for the hard work!
Lowl3v3l has quit [(Remote host closed the connection)]
<gchristensen> thank you! :) you're welcome
<gchristensen> it is all part of my ~evil plan~ to get NixOS adopted by more businesses
<Nafai> That's an evil I can support
derjohn_mob has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vMZiV
<NixOS_GitHub> nixpkgs/master 7115ed6 spy-tech: awscli: 1.11.30 -> 1.11.35
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21611: awscli: 1.11.30 -> 1.11.35 (master...feature/21591) https://git.io/vMYnu
PragCyph1 has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
PragCyphr has quit [(Ping timeout: 248 seconds)]
proteusguy has quit [(Ping timeout: 248 seconds)]
<simpson> eacameron: No idea, sorry; I don't use the DO backend.
<eacameron> simpson: No one does...;)
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 248 seconds)]
marusich has joined #nixos
<eacameron> simpson: others: False alarm: DO must have *really* slow upload speeds (at least for 512mb droplet)
cjhowe has joined #nixos
<gchristensen> :)
marusich has quit [(Quit: Leaving)]
hexagoxel has quit [(Ping timeout: 258 seconds)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
marusich has joined #nixos
hexagoxel has joined #nixos
sigmundv has quit [(Ping timeout: 245 seconds)]
Wizek_ has quit [(Ping timeout: 240 seconds)]
leothrix has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
ublubu has quit [(Ping timeout: 258 seconds)]
Wizek_ has joined #nixos
leothrix has joined #nixos
cjhowe has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
ublubu has joined #nixos
mkoenig has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #21704: kde-gtk-config: follow symlinks for cursors (master...master) https://git.io/vMZ1h
<NixOS_GitHub> [nixpkgs] Ralith opened pull request #21705: matrix-synapse: 0.18.6-rc2 -> 0.18.6-rc3 (master...matrix-synapse) https://git.io/vMZMq
mguentner has quit [(Quit: WeeChat 1.6)]
marusich has quit [(Ping timeout: 240 seconds)]
<pikajude> ok, nix-shell is now segfaulting
<pikajude> this started happening today
<pikajude> how do I debug it
<pikajude> but it doesn't segfault if i run it with lldb
mguentner has joined #nixos
auntie has quit [(Ping timeout: 246 seconds)]
filterfish has joined #nixos
Wizek has quit [(Ping timeout: 245 seconds)]
Wizek_ has quit [(Ping timeout: 256 seconds)]
mkoenig has quit [(Ping timeout: 245 seconds)]
<copumpkin> MichaelRaskin: does not-os support a nix daemon?
<copumpkin> err, clever
mkoenig has joined #nixos
<copumpkin> pikajude: I think you can enable core dumps
<pikajude> how
<Fare> copumpkin, hi!
<pikajude> ok, nvm, it works outside tmux but not inside
<copumpkin> hi Fare :)
<pikajude> so i can start there
<pikajude> ugh, damn it, nix-shell does an exec
<pikajude> and i have no idea how to read a core file
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<pikajude> ok, it also works with NIX_DEBUG=1
<pikajude> so i'll just set that
<ToxicFrog> Blergh.
<ToxicFrog> Crypt of the NecroDancer is not working on my wife's new laptop.
<ToxicFrog> This is A Problem.
sitedyno has quit [(Ping timeout: 248 seconds)]
<simpson> You're using steam from modern nixpkgs, with the FHS user env?
<simpson> Steam debugging's kind of a black art and I don't know who would be good to talk to.
k0001 has quit [(Quit: Connection closed for inactivity)]
<pikajude> nvm, NIX_DEBUG doesn't reliably work either
<ToxicFrog> simpson: nixpkgs 16.09, with fhs
<ToxicFrog> First step is to install it on *my* laptop, which I know it runs on in not-Nix, to see if it's a soundcard issue or a Nix issue.
<simpson> ToxicFrog: Then yeah, I'm out of ideas.
<ToxicFrog> My first guess is that the libasound_module_pcm_pulse.so library isn't getting copied into the fhs or something
<simpson> Oh, only audio's not working. That's a lot easier, and you're on the right path I think.
<ToxicFrog> Since the immediate cause of it not working is it saying that it couldn't initialize fmod, because /nix/store/.../libasound_module_pcm_pulse.so was not found or did not contain the symbol _snd_pcm_pulse_open
<simpson> (I know that "only" audio matters for this particular game.)
<ToxicFrog> Well
<ToxicFrog> The game crashes on startup if it can't initialize audio
<ToxicFrog> also, sound works just fine in other Steam games like Sproggiwood, but I think necrodancer is the first she's tried that uses fmod.
<ToxicFrog> Is there a convenient way I can ask nix to put me inside the steam fhs so I can poke around?
mguentner has quit [(Read error: Connection reset by peer)]
<simpson> nix-shell, somehow. I bet that the FHSUserEnv source code has a helpful comment maybe.
eacamero_ has joined #nixos
mguentner has joined #nixos
<ToxicFrog> oh hey, I can just start steam, then read its cwd out of /proc and cd into it
<simpson> ToxicFrog: Okay, I have an inkling, but I'm gonna test before I confirm for sure.
* simpson $ nix-shell -A steam.env
<ToxicFrog> Awesome.
eacameron has quit [(Ping timeout: 256 seconds)]
<simpson> Does that work for you? I'm still building.
<ToxicFrog> Haven't tried it yet, I'm still rooting around inside the fhs for the running steam intance
athan has joined #nixos
endformationage has quit [(Quit: WeeChat 1.6)]
<ToxicFrog> Ok, if I try it it complains that ~/default.nix is ENOENT
sitedyno has joined #nixos
<ToxicFrog> And if I do 'nix-shell '<nixpkgs>' -A steam.env' it barfs because steam is nonfree
<simpson> Oh, uh, you can give it '<nixpkgs>'.
<simpson> You don't have nonfree set up?
<ToxicFrog> I have it set up in /etc/nixos!
<simpson> Hmmmmm.
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ToxicFrog> Ok, so the good(?) news is that it dies in exactly the same way on my machine
<ToxicFrog> so it's a NixOS problem, not a problem with her audio config
<ToxicFrog> Hmm. Ok, it's definitely finding the library
<ToxicFrog> I can see it getting open(2)d in the strace
cjhowe has joined #nixos
<ToxicFrog> And I know the function it's trying to call exists in the library because I can see it in nm'
* ToxicFrog bonks head against wall
<ToxicFrog> It open()s it, reads the contents, and rejects them because it's a 64-bit library and NecroDancer is a 32-bit binary
<simpson> Aha.
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
* ToxicFrog attempts to enable 32-bit pulseaudio support to see if that helps
AllanEsp1nosa has quit [(Ping timeout: 248 seconds)]
filterfish has left #nixos ["Leaving"]
<ToxicFrog> ...ok, the game is not at all well and it sounds like the speakers are posessed, but it does run
<ToxicFrog> and if I leave it sitting for a bit it stops making horrible noises and starts playing normally!
<simpson> Yay?
mkoenig has quit [(Ping timeout: 245 seconds)]
<pie_> how can i mount ntfs rw?
<pie_> currently i can only mount it ro :(
stepcut has quit [(Remote host closed the connection)]
mkoenig has joined #nixos
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
* ToxicFrog plays zone 2, picks up the golden bow at the start of 1-2 and proceeds to rock face all over the rest of the zone
<ToxicFrog> simpson: much yay.
<pie_> maybe im not installing ntfs-3g right?
<pie_> i do have ntfs mount working but it only does read only mounting :(
<NixOS_GitHub> [nixpkgs] gebner pushed 2 new commits to master: https://git.io/vMZ9a
<NixOS_GitHub> nixpkgs/master 8ca70e3 Anthony Cowley: mu: allow gtk-free builds...
<NixOS_GitHub> nixpkgs/master b0ccbb3 Gabriel Ebner: Merge pull request #21658 from acowley/mu-no-mug...
marusich has joined #nixos
<ToxicFrog> Installing steam should probably automatically enable hardware.{opengl.driSupport32Bit,pulseaudio.support32Bit} if that's possible.
<eqyiel[m]> this post was a year ago, can anyone tell me what they are doing these days in order to run srevices like postgres with nix-shell? https://www.reddit.com/r/NixOS/comments/3wyz1n/using_nix_to_automate_the_setup_of_development/
<ToxicFrog> There are a lot of games on steam that won't work without at least one of those.
<simpson> ToxicFrog: It's not really possible to do that automatically in a way that's not going to surprise people.
<ToxicFrog> Personally, I consider installing a program not automatically installing its dependencies to be more surprising.
<pie_> ok so i can manually mount with ntfs-3g but the kde ui mounts wrong then...
<simpson> ToxicFrog: I agree, *except* that stuff in the hardware config normally alters systemwide stuff. For example, I have JACK configured; I really would prefer it if PulseAudio's configuration weren't magically changed because of something that I nix-env as a regular user.
<ToxicFrog> Hmmm, point.
<clever> ToxicFrog: it would be trivial to make a programs.steam.enable = true; option for configuration.nix
<clever> which just sets hardware.{opengl.driSupport32Bit,pulseaudio.support32Bit} and inserts steam into systemPackages
marusich_ has joined #nixos
* clever heads off to bed
<NixOS_GitHub> [nixpkgs] paperdigits opened pull request #21707: darktable 2.2.0 -> 2.2.1 (master...darktable-2.2.1) https://git.io/vMZHi
marusich has quit [(Ping timeout: 272 seconds)]
marusich_ has quit [(Quit: Leaving)]
herzen has joined #nixos
wrl has quit [(Read error: Connection reset by peer)]
Nycatelos has quit [(Ping timeout: 248 seconds)]
athan has quit [(Remote host closed the connection)]
tumm has quit [(Ping timeout: 256 seconds)]
Nyx has joined #nixos
Nyx is now known as Guest30420
tumm has joined #nixos
wrl has joined #nixos
indi_ has joined #nixos
ebzzry has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin> copumpkin: I don't know, I don't use not-os, you want to ask clever
<MichaelRaskin> given that supporting nix-daemon is basically trivial, I guess it should
slack1256 has quit [(Remote host closed the connection)]
MercurialAlchemi has joined #nixos
slack1256 has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
indi_ has quit [(Remote host closed the connection)]
<LnL> pikajude: something strange going on with nix kn darwin, possibly only when using my nix.conf
<pikajude> hmmm
<pikajude> i can't get anywhere in the near future because i can't nix-shell anymore
<johnw> pikajude: can you get a backtrace from lldb?
<pikajude> hang on, let me reboot into osx
<pikajude> ok i'm back
<johnw> wow, fast
<pikajude> SSD baby
<pikajude> hang on a second let me reproduce the crash
<johnw> k
<pikajude> ok, there we go. "Executing shell: bad address"
<pikajude> does lldb follow exec calls by default?
<pikajude> wait, that's not going to work anyway because it doesn't crash under lldb
<johnw> not sure
<johnw> does it work under lldb?
<johnw> is there a CrashReporter log file?
matthewbauer has joined #nixos
<pikajude> how do I check
<johnw> ls ~/Library/Logs
<johnw> or /Library/Logs
<johnw> under CrashReporter
<pikajude> anyway, i got a EXC_BAD_ACCESS in libsystem_c.dylib`__findenv_locked
<johnw> it'll be named after the process and the time
<pikajude> no, nothing in those directories that looks like nix-shell
<pikajude> oh, ok, EXC_BAD_ACCESS coming from nix::getEnv
<pikajude> ok, i'm glad it has started behaving!
systemfault has quit [(Quit: Bye!)]
athan has joined #nixos
<johnw> ab
indi_ has joined #nixos
MichaelRaskin has quit [(Quit: MichaelRaskin)]
indi_ has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
<NixOS_GitHub> [nixpkgs] 3noch opened pull request #21708: Add PageSpeed module for nginx (Linux only) (master...nginx-pagespeed-module) https://git.io/vMZFv
indi_ has joined #nixos
siarheit_ has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21705: matrix-synapse: 0.18.6-rc2 -> 0.18.6-rc3 (master...matrix-synapse) https://git.io/vMZMq
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21455: natron: init at 2.1.9 (master...package/Natron) https://git.io/vMTGo
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vMZF7
<NixOS_GitHub> nixpkgs/master 196eb75 Aaron Bull Schaefer: transcrypt: 1.0.0 -> 1.0.1
<NixOS_GitHub> nixpkgs/master d0aa7cd Frederik Rietdijk: Merge pull request #21699 from elasticdog/transcrypt...
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21707: darktable 2.2.0 -> 2.2.1 (master...darktable-2.2.1) https://git.io/vMZHi
indi_ has quit [()]
mk-fg has quit [(Ping timeout: 264 seconds)]
Itkovian has joined #nixos
eacameron has joined #nixos
FRidh has joined #nixos
mk-fg has joined #nixos
mk-fg has quit [(Changing host)]
mk-fg has joined #nixos
eacameron has quit [(Ping timeout: 256 seconds)]
eacameron has joined #nixos
wkennington has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
matthewbauer has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 248 seconds)]
civodul has joined #nixos
eacameron has joined #nixos
Itkovian has joined #nixos
ambro718 has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
Fare has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
LnL has quit [(Ping timeout: 245 seconds)]
LnL7 has joined #nixos
rly has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
ambro718 has quit [(Ping timeout: 256 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<rly> I have a JAVA application which looks at these paths /etc/pki/ca-trust/extracted/java/cacerts /etc/ssl/certs/java/cacerts (and potentially more) for a "Certificate Authority (CA) file". Now, these don't exist, but according to the Java specification it's also supposed to look at $JAVA_HOME/lib/security/cacerts, which is what I configured, but that apparently also doesn't work. Any ideas?
<rly> s/JAVA/Java
itsN1X has joined #nixos
Itkovian has joined #nixos
Rotaerk has quit [(Read error: Connection reset by peer)]
Havvy has quit [(Read error: Connection reset by peer)]
johnw has quit [(Read error: Connection reset by peer)]
ashkitten has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Client Quit)]
ashkitten has joined #nixos
itscaleb has quit [(Ping timeout: 248 seconds)]
ncl28 has joined #nixos
pierron_ has joined #nixos
itsN1X has quit [(Ping timeout: 248 seconds)]
Ivanych has quit [(Ping timeout: 248 seconds)]
Acou_Bass has quit [(Ping timeout: 245 seconds)]
maurer has quit [(Ping timeout: 245 seconds)]
Guest73536 has quit [(Ping timeout: 248 seconds)]
saltsa has quit [(Ping timeout: 248 seconds)]
page has quit [(Ping timeout: 248 seconds)]
musicmatze has quit [(Ping timeout: 248 seconds)]
josePhoenix has quit [(Ping timeout: 245 seconds)]
page has joined #nixos
saltsa has joined #nixos
petar has joined #nixos
auntie has joined #nixos
qewzee has joined #nixos
mbrock has quit [(Ping timeout: 245 seconds)]
manveru has quit [(Ping timeout: 254 seconds)]
josePhoenix has joined #nixos
rly has quit [(Ping timeout: 248 seconds)]
codedmart has quit [(Ping timeout: 258 seconds)]
ocharles_ has quit [(Ping timeout: 246 seconds)]
teknico has joined #nixos
mpickering has quit [(Ping timeout: 255 seconds)]
itscaleb has joined #nixos
ebzzry has joined #nixos
maurer has joined #nixos
Ivanych has joined #nixos
musicmatze has joined #nixos
petar is now known as Guest20524
josePhoenix is now known as Guest91536
Rotaerk has joined #nixos
Itkovian has joined #nixos
manveru has joined #nixos
johnw has joined #nixos
philips has quit [(Ping timeout: 246 seconds)]
Acou_Bass has joined #nixos
derjohn_mob has quit [(Ping timeout: 240 seconds)]
r0bby has quit [(Ping timeout: 240 seconds)]
stig has quit [(Ping timeout: 258 seconds)]
pdobrogost has quit [(Ping timeout: 260 seconds)]
nand0p has quit [(Ping timeout: 258 seconds)]
stasku has quit [(Ping timeout: 245 seconds)]
posco_______ has quit [(Ping timeout: 268 seconds)]
carter has quit [(Ping timeout: 260 seconds)]
ebzzry has quit [(Ping timeout: 248 seconds)]
mbrock has joined #nixos
sdemos has joined #nixos
cantstanya has joined #nixos
gleber has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vMZx7
<NixOS_GitHub> nixpkgs/master ad50795 Gabriel Ebner: emscriptenfastcomp-wrapped: disable hardening...
mpickering has joined #nixos
itsN1X has joined #nixos
philips has joined #nixos
dmj` has joined #nixos
seanparsons has joined #nixos
rly has joined #nixos
nand0p has joined #nixos
bret has joined #nixos
carter has joined #nixos
stig has joined #nixos
fingerzam has joined #nixos
ericbmerritt_ has joined #nixos
jml has joined #nixos
aloiscochard has joined #nixos
kampfschlaefer has joined #nixos
matthewbauer has joined #nixos
posco_______ has joined #nixos
stasku has joined #nixos
pdobrogost has joined #nixos
r0bby has joined #nixos
wwkeyboard has joined #nixos
codedmart has joined #nixos
Guest30420 is now known as Nycatelos
Bane^ has joined #nixos
mkoenig has quit [(Ping timeout: 256 seconds)]
stivo has joined #nixos
fractal has joined #nixos
mkoenig has joined #nixos
matthewbauer has quit [(Ping timeout: 272 seconds)]
ocharles_ has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
ixxie has joined #nixos
auntie has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
itsN1X has quit [(Ping timeout: 255 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
<rly> Never mind.
khebbie has joined #nixos
jgertm_ has joined #nixos
so has joined #nixos
<ixxie> where can I find valid keyboard layout codes for the services.xserver.layout option?
derjohn_mob has joined #nixos
Lowl3v3l has joined #nixos
thc202 has joined #nixos
<NixOS_GitHub> [nixpkgs] nhooyr opened pull request #21709: fzf: install manpage (master...fzf-man) https://git.io/vMne9
dgn has joined #nixos
ck3d has joined #nixos
mk-fg has quit [(Ping timeout: 248 seconds)]
<srhb> Does anyone know of a guide for making .deb derivations?
<rly> srhb: grep for substring deb in nixpkgs is what I would try
<rly> srhb: I believe Nix gets built this way.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<rly> srhb: or at least was at some point.
sigmundv has joined #nixos
<srhb> rly: Oh
mudri has joined #nixos
Itkovian has joined #nixos
<mudri> ixxie: I'm not exactly sure where to find them, but they're generally just country codes.
<mudri> You specify the actual layout using services.xserver.xkbVariant.
matthewbauer has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 5 new commits to master: https://git.io/vMnUa
<NixOS_GitHub> nixpkgs/master ac9b3d6 William Casarin: configuration-hackage2nix.yaml: update jb55's packages
<NixOS_GitHub> nixpkgs/master a0c1971 Peter Simons: configuration-hackage2nix.yaml: keep aeson 1.0.x around for stack
<NixOS_GitHub> nixpkgs/master 0761b0b Peter Simons: configuration-hackage2nix.yaml: don't follow LTS Haskell's version constraints on hledger-*
catch22 has quit [(Remote host closed the connection)]
<mudri> ixxie: if you can find xkeyboard-config in the /nix/store/, then the names of the files in symbols/ are what you want.
matthewbauer has quit [(Ping timeout: 272 seconds)]
nschoe has joined #nixos
mk-fg has joined #nixos
mk-fg has quit [(Changing host)]
mk-fg has joined #nixos
ixxie has quit [(Ping timeout: 272 seconds)]
<LnL7> test
LnL7 is now known as LnL
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hotfuzz_ has joined #nixos
<LnL> allright, it's just my desktop client that's not working
Itkovian has joined #nixos
hotfuzz has quit [(Ping timeout: 272 seconds)]
<polyrod> LnL, morning ....
<polyrod> LnL, got my commits squashed ....
<LnL> ah, great!
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vMnIn
<NixOS_GitHub> nixpkgs/master 5ebee16 Michael Raskin: mpd: 0.9.19 -> 0.20...
sigmundv has quit [(Ping timeout: 272 seconds)]
<polyrod> LnL, yeah .. the setup i got nixOS/nixpkgs -> (fork) -> polyrod/nixpkgs -> (pull) -> local repo .... is it ok or does it make things complicated ?
<srhb> sed -i 's:/usr/lib/somelib:$out/lib/somelib' "$out/bin/shellexecutable"
<srhb> This doesn't go well because $out is not the final destination (apparently)
<srhb> What's the right approach?
mudri has quit [(Ping timeout: 272 seconds)]
uralbash has joined #nixos
uralbash has left #nixos []
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://github.com/NixOS/nixpkgs/compare/789b811e7d65...29e93555ec43
<NixOS_GitHub> nixpkgs/staging cb70a59 Vladimír Čunát: sed: bring back 4.2.2 temporarily...
<NixOS_GitHub> nixpkgs/staging 29e9355 Vladimír Čunát: firefox*: fixup build after updating sed...
<srhb> Or in other words: How do I refer to the lib path of the derivation itself?
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vMntq
<NixOS_GitHub> nixpkgs/master 74a9742 Gabriel Ebner: lean: 2016-12-30 -> 2017-01-06
oida has quit [(Ping timeout: 258 seconds)]
rmrfroot has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #21710: git-up: not a python package (master...f/gitup) https://git.io/vMntC
athan_ has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
athan has quit [(Ping timeout: 272 seconds)]
matthewbauer has joined #nixos
mkoenig has joined #nixos
matthewbauer has quit [(Ping timeout: 258 seconds)]
<LnL> srhb: use double quotes, otherwise you get a literal '$out'
oida has joined #nixos
<LnL> nhooyr: use --check
athan_ is now known as athan
<LnL> nhooyr: nix-build -A fzf --check, no need to import the file directly
<rmrfroot> i wonder if you could represent your NixOS config visually, somehow. like a automatically generated architecture diagram
mudri has joined #nixos
bencevans has quit [(Ping timeout: 258 seconds)]
<rmrfroot> that would be quite useful, i think
Wizek has joined #nixos
Wizek_ has joined #nixos
bencevans has joined #nixos
<srhb> LnL: No, I get /nix/store/71z903dqyrhzf3abfjrw2qv9n3lzrnrw-shell, where the actual derivation is /nix/store/2clj0m2yc7h01y8gdh28vvqznr2cxkp-mypackage
<srhb> Oh wait
<srhb> That's just the error message
<srhb> LnL: I see now, of course. Derp. Thank you :)
<hodapp> hah, the bot found me to be a potential reviewer for https://github.com/NixOS/nixpkgs/pull/21707
<hodapp> what have I gotten myself into o_O
<LnL> srhb: also checkout substitute / substituteInPlace http://nixos.org/nixpkgs/manual/#ssec-stdenv-functions
<nhooyr> LnL: perfect thanks!
ThatDocsLady has joined #nixos
<LnL> hodapp: that's because you contributed to the expression before :D
<nhooyr> LnL: now I get `error: derivation ‘/nix/store/k1wpgb3dv089mlj7k59gj3aqblwksana-fzf-0.15.9.drv’ may not be deterministic: output ‘/nix/store/rbxv7v5if582jvw8l3670a9ifwp69hb1-fzf-0.15.9-bin’ differ` but I think that's because sandbox is broken on darwin. there is an open issue
<srhb> LnL: Oh nice, thank you!
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<LnL> nhooyr: that's because of https://github.com/NixOS/nixpkgs/issues/21629
<nhooyr> oh damn thanks
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21709: fzf: install manpage (master...fzf-man) https://git.io/vMne9
Itkovian has joined #nixos
<nhooyr> LnL: if I set `build-use-chroot = true` in /etc/nix/nix.conf I get error: derivation `‘/nix/store/k1wpgb3dv089mlj7k59gj3aqblwksana-fzf-0.15.9.drv’ specifies a sandbox profile, but this is only allowed when ‘build-use-sandbox’ is ‘relaxed’`. is that because of the other issue?
<LnL> no, you have to use relaxed sanboxes on darwin
<LnL> but those don't work either at the moment :(
<nhooyr> ah, damn :(
jgertm_ is now known as jgertm
jgertm has quit [(Quit: WeeChat 1.6)]
jgertm has joined #nixos
ajp has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21689: godot: init at 2.1.1-stable (master...godot-2.1.1-stable-init) https://git.io/vMZeH
ajp has joined #nixos
mudri has quit [(Ping timeout: 272 seconds)]
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21711: picard: fix compilation and remove unused buildInputs (master...fix/picard) https://git.io/vMnYw
ertesx has joined #nixos
<mbrgm> how do I substitute values in a set? i.e. I have a set from (import someset.nix) and want to substitute some values inside it
ertes has quit [(Ping timeout: 248 seconds)]
ertesx is now known as ertes
TheAppleMan has joined #nixos
derjohn_mob has quit [(Ping timeout: 256 seconds)]
<FRidh> mbrgm: new_set = old_set // substitutes;
ck3d has quit [(Ping timeout: 240 seconds)]
matthewbauer has joined #nixos
ck3d has joined #nixos
derjohn_mob has joined #nixos
cpennington has joined #nixos
sdothum has joined #nixos
saintromuald has joined #nixos
matthewbauer has quit [(Ping timeout: 246 seconds)]
<LnL> does hydra have some sort of api to query failures in a jobset?
polyrod has quit [(Quit: Leaving)]
rod_ has joined #nixos
Biappi has quit [(Ping timeout: 240 seconds)]
Biappi has joined #nixos
<gchristensen> LnL: would it be wrong of me to say "yes, it is HTML-based"?
cjhowe has joined #nixos
<LnL> there's no endpoint for other formats?
<Dezgeg> there are actual json apis as well, but at least for some stuff there's only the html
<LnL> is that documented in the manual somewhere?
<gchristensen> I think the manual is pretty nascent and requires digging in code
<LnL> doesn't look like it
<gchristensen> hydra is "unreleased software"
<LnL> huh? lol
<gchristensen> that is part of an explanation about how hydra is developed or something ... it is built for NixOS and Nixpkgs and not strictly intended to be run outside of hydra.nixos.org, so the manual isn't very good, there aren't releases, and features get added, pretty much, as needed by hydra.nixos.org
katyucha has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
<rmrfroot> LnL: here's an example of the JSON data you can get from a build via the API: `curl https://hydra.nixos.org/build/46045716/api/get-info`
<mbrgm> FRidh: I tried this, but it gives me 'value is a function while a set was expected'
<mbrgm> FRidh: would a paste be helpful?
<gchristensen> mbrgm: is someset.nix a function?
<LnL> rmrfroot: ah, but I'm actually more interested in an eval comparison, or just an eval
<mbrgm> gchristensen: http://nixpaste.lbr.uno/_RkQOR8E?nix -> the 'customModule' value at the end of the 'let' block
<mbrgm> gchristensen: I think it is a function, yes.
<gchristensen> so, you need to call it in order for it to become a set:)
<mbrgm> gchristensen: great, got it! :)
<mbrgm> gchristensen: is there a shorter syntax for `fun { config = config; lib = lib; }` ?
<gchristensen> fun { with config lib; }
<gchristensen> no
<gchristensen> fun { inherit config lib; }
<rly> In KDE4, pressing Print Scr would run ksnapshot. In Plasma 5 this is not the case.
<rly> How can I make that work?
<mbrgm> gchristensen: ty
<rmrfroot> LnL: to get the latest evaluations of a jobset you do: `curl -H "Content-Type: application/json" https://hydra.nixos.org/jobset/nixos/trunk-combined`
<gchristensen> rmrfroot: nice :D
<rmrfroot> LnL: see the "errormsg" attribute for more information
<exi> do we have someone here that can help me with the nix-shell environment? i'm trying to debug a package
<exi> $ nix-shell ~/git/nixpkgs/default.nix -A easytag
<exi> $ export out=`pwd`/out
<exi> $ genericBuild
<exi> and it just fails
<FRidh> rly: Settings / System Settings / Shortcuts / Global Shortcuts / System Settings and then Start Screenshot Tool
<exi> by that i mean the build progresses somewhat but fails on install (obviously)
<rly> FRidh: also, why doesn't this work by default?
<rly> FRidh: thanks a lot, though.
<FRidh> rly: I think Plasma doesn't set it by default
<FRidh> I recall I had to set it myself *long* ago, even before being on NixOS
<rly> FRidh: I can't find the entry.
<FRidh> rly: I have it also in Custom Shortcuts (left side)
<rly> FRidh: I already ran via LC_ALL=C systemsettings, but it's set to my native language.
<FRidh> there's a group Screenshots
<FRidh> I guess at the time it was set through kscreenshot
<rly> FRidh: I don't have that group.
<FRidh> Ok
<FRidh> Odd, spectacle also doesn't show any settings
<rly> FRidh: I added a custom one myself now.
newbie_at_nix has joined #nixos
<newbie_at_nix> How do I add hpn support for ssh .?
<rly> newbie_at_nix: is that a configure time option?
<newbie_at_nix> I dont't know :")
<rly> newbie_at_nix: ah, that's a fork.
<rly> newbie_at_nix: you want to package the hpn version of shs.
takle has quit [(Remote host closed the connection)]
<rly> newbie_at_nix: you want to package the hpn version of ssh.
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<rly> FRidh: I didn't have spectacle installed.
<rly> FRidh: why they couldn't just have named it ksnapshot5 is beyond me.
<newbie_at_nix> So i have to read up on how to package hpn-support for nix. O dear, I that just stumbled up on that hpn-support should be a solution to speed up my x11-transfer. And i don,t know much about that either.
<rmrfroot> LnL gchristensen: here's a overview of the Hydra API: http://lpaste.net/4471421311482068992
<rly> newbie_at_nix: openssh_hpn is already packaged.
<rly> newbie_at_nix: so, you are in luck.
<gchristensen> rmrfroot: wow this is great
<rly> newbie_at_nix: so, all you need to do is install it.
<gchristensen> rmrfroot: could you open an issue on hydra and paste this there?
<rmrfroot> gchristensen: i could even do you one better and write docs and open up a PR, if that would be useful
<gchristensen> rmrfroot: that would be very useful, but if docs will take a while, having this get pasted in to an issue would be a good stop-gap
cpennington has quit [(Remote host closed the connection)]
__Sander__ has joined #nixos
<rmrfroot> gchristensen: alright, fair enough! under what subject should the issue be created as?
<gchristensen> "Hydra JSON API" seems good enough for me :)
<rmrfroot> gchristensen: alrighty, want me to ping you in the issue so you get a notification when it's done?
<gchristensen> sure!
takle has joined #nixos
<rmrfroot> gchristensen: same GitHub username as IRC?
<gchristensen> @grahamc on github
<rmrfroot> alright!
<gchristensen> thank you so much :D
knupe has joined #nixos
<newbie_at_nix> Well, i tried to find it in nix-env -qaP | grep -i hpn. Which results to nothing. I also tried
ixxie has joined #nixos
<newbie_at_nix> well - i tried a lot.
<knupe> How can I enter a chroot in nixos? sudo chroot ./ says: chroot: failed to run command ‘/run/current-system/sw/bin/bash’: No such file or directory
<rly> newbie_at_nix: nix-env -iA nixos.openssh_hpn # should work
<rly> newbie_at_nix: on NixOS, that is.
takle has quit [(Ping timeout: 240 seconds)]
<rly> newbie_at_nix: if you want to find stuff, just install a git checkout of nixpkgs.
<rly> newbie_at_nix: then use e.g. ag or ack-grep.
abcrawf has quit [(Remote host closed the connection)]
<newbie_at_nix> Oh, I wil ltry that. Thankyou.
<knupe> Anybody?
abcrawf has joined #nixos
<gchristensen> knupe: what is your goal with the chroot?
<knupe> gchristensen: I've got a toy project: reimplementing nix in haskell, and I'm deving it in nix :)
matthewbauer has joined #nixos
<FRidh> gchristensen: would be nice if (a part of) the Hydra database was available through something like Blaze, a simple flask app that allows you to easily query the data http://blaze.readthedocs.io/en/latest/server.html
<knupe> So, for the moment I need the chroot for a pure build environment
<knupe> The building part is done via shake
<gchristensen> knupe: you're reimplementing the nix-build?
<gchristensen> knupe: maybe you could do it in a buildFHSUserEnv?
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vMnZD
<NixOS_GitHub> nixpkgs/staging 75fc704 Vladimír Čunát: treewide: more fixes of phases after bash 4.3 -> 4.4
<gchristensen> FRidh: the database may be big enough that allowing arbitrary queries may be really not good
<gchristensen> FRidh: but exporting to big table (or big query?) might be very cool
<knupe> gchristensen: buildFHSUserEnv looks interesting, I'll dig into the implementation. I'd like that my implementation works without depending on nix.
<knupe> besides, what are the reasons for the non-functional chroot?
matthewbauer has quit [(Ping timeout: 258 seconds)]
<gchristensen> knupe: TBH I suspect you're just "not doing it right" but I don't know how to debug it :(
<gchristensen> knupe: buildFHSUserEnv makes a chroot, look in to how it does it?
<FRidh> gchristensen: True. For the arbitrary queries a dump would be better.
<rly> FRidh: is there also a small bandwidth monitor somewhere? In KDE4 there was one that only took up like 3 square cm or so.
<rly> FRidh: the one in Plasma 5 shows the whole device name which is >10 characters.
<newbie_at_nix> I had to add allow broken to ~/.nixpkgs/config.nix. But the build fails. probably because it's broken :-\.
<FRidh> rly: Don't know. All I know is System Monitor (ksysguard)
<rly> newbie_at_nix: why do you need this? You need to be on at the very least a 10 Gb network for it to be useful.
<FRidh> rly: actually, I do seem to have a widget "Network Monitor"
<rly> FRidh: I do, but it shows the device name.
<rly> FRidh: which is way too large.
<gchristensen> newbie_at_nix: do you have a very fast network you're connected to where hpn is making a difference?
msd has joined #nixos
pi3r has joined #nixos
teknico has quit [(Ping timeout: 256 seconds)]
cjhowe has joined #nixos
<newbie_at_nix> rly I read this ''This patches OpenSSH for two things: larger transmit/receive buffers internally, enables the NONE cipher (ie not encrypted). ou can eliminate the encryption for the bulk data transfer and achieve as close to the full line rate (100 Mbps) as you can get without switching to bare UDP packets'' at https://forums.freebsd.org/threads/17298/
teknico has joined #nixos
<gchristensen> using NONE encryption, have you considered just using netcat?
<newbie_at_nix> I am not familjar with netcat and x11-forwarding.
<gchristensen> I mean, fixing hpn could be done, but if you're looking to do large transfers, nc is pretty damn good for that
mudri has joined #nixos
<newbie_at_nix> Sounds like a solution, First i need to lread up If my vpn allow netcat.?
<gchristensen> how much data are we talking? and are you going to multiple machines, or just one machine?
jgertm has quit [(Ping timeout: 246 seconds)]
<gchristensen> this isn't packaged in nixpkgs, but qpress + netcat can be pretty good combo
<newbie_at_nix> x11-forwarding. So not very much, but as it is graphics it takes some time just to get (for example) xterm up.
<rly> newbie_at_nix: what pipe do you have?
<newbie_at_nix> ly I just found this site https://blog.rootshell.be/2010/03/08/openssh-new-feature-netcat-mode/ which tells that ''ssh -W'' is netcat-mode..
<gchristensen> sorry netcat won't work for x11 forwarding I think
<newbie_at_nix> I dont even know what a pipe is :") |||
Fare has joined #nixos
<rly> newbie_at_nix: I am pretty sure that you don't need it then.
<newbie_at_nix> Well, i can try ssh -Y -W
<rly> newbie_at_nix: just live your life as if hpn does not exist.
<gchristensen> I agree with rly
<rly> I had some wet dreams about using hpn myself.
<rly> But even I didn't need it.
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
stivo has quit [(Remote host closed the connection)]
stivo has joined #nixos
<newbie_at_nix> Any suggestions then how speed up graphics transfer through ssh.?
<ixxie> what is hpn?
Fare has quit [(Quit: Leaving)]
<gchristensen> "HPN-SSH is a series of patched for the OpenSSH implementation of the SSH protocol. By addressing network limitations and CPU limitations significant throughput performance can be realized. Gains of close to two orders of magnitude are possible on long fat network paths. "
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vMnWR
<NixOS_GitHub> nixpkgs/master 3c2cbd3 Shea Levy: ghc-head: bump
<ToxicFrog> newbie_at_nix: X11 is extremely latency/bandwidth sensitive in general, and if you're doing this over the internet (as opposed to over a 10Mbps or, better yet, 100Mbps LAN) you are entering a world of pain.
<ToxicFrog> This is why software like NoMachine NX exists.
<ToxicFrog> And you are probably better off using NX (either the official version or one of the open-source replacements like openNX/freeNX/neatX) or VNC for low-bandwidth remote graphics rather than ssh -X
<gchristensen> yeah... x11 forwarding is almost always unhappy
<ToxicFrog> That said, if you have more CPU than you have bandwidth (which is likely), adding `-C` to your ssh command will enable compression and might squeeze a bit more performance out of it.
<NixOS_GitHub> [nixpkgs] nhooyr opened pull request #21712: libtermkey: from 0.18 to 0.19 (master...libtermkey) https://git.io/vMnlq
<NixOS_GitHub> [nixpkgs] pSub closed pull request #21711: picard: fix compilation and remove unused buildInputs (master...fix/picard) https://git.io/vMnYw
<NixOS_GitHub> [nixpkgs] nhooyr opened pull request #21713: neovim: removed unncessary man configuration (master...neovim) https://git.io/vMnlK
<ixxie> sounds cool
<ixxie> is there some article somewhere on a diagnostic procedure for issues with NixOS?
<rmrfroot> gchristensen: you have mail *ding-ding*
georges-duperon has joined #nixos
<LnL> we are back over 300 PRs
* LnL wants more free time to work on nix stuff
<gchristensen> rmrfroot: got it! thank you :D
<gchristensen> LnL: I mentioned to Nafai that my ~evil plan~ is to get nixos adopted by more businesses ...
<gchristensen> LnL: for specifically this reason, lol
<rmrfroot> gchristensen: nice! no worries, glad i can give something back for once ^^
<newbie_at_nix> I will use it just for a short period . The story is -I have som wired-marker (extremly good addon for firefox) from an old palemoon installation, I need to rrestore them and they can not be laoded in wired-marker on firefox. So i have to run the palemoon browser so I cAn export them and then import to firefox. As i fail to build palemoon for nixos I choose to learn a little about ssh so I gotmyself an vps-account and playing
<newbie_at_nix> with that right now.
<gchristensen> rmrfroot: nicely formatted, too :) now if you want to write proper docs to be published on the website ... that would be darling.
<LnL> I would love to introduce nix at work, but that's not going to happen
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen> that is pretty much the state of things at my work too... though I'm going to demo some pretty freaking sweet stuff today based on nix
<rmrfroot> gchristensen: consider it done
<rmrfroot> see you later, everyone o/
rmrfroot has quit [(Remote host closed the connection)]
<gchristensen> who is that person and how do they know hydra so well
<LnL> everything is ubuntu based here, including a service that manages apt releases, it would be way to much work to switch at this point
<LnL> I don't remember seeing him before in here
matthewbauer has joined #nixos
ixxie has quit [(Ping timeout: 245 seconds)]
<gchristensen> super amazing
<LnL> oh I almost missed the overview he sent
<gchristensen> oh man it gets better
<LnL> that's super usefull
<LnL> ooh
<gchristensen> https://github.com/NixOS/nixpkgs/issues/18914#issuecomment-249391480 this person really knows nixos
matthewbauer has quit [(Ping timeout: 256 seconds)]
<LnL> ah my desktop client is working again :)
<LnL> perhaps can't contribute because of work or something
<LnL> oh nvm he does
systemfault has joined #nixos
<mguentner> gchristensen: maybe it's an alter ego of heracles %)
<LnL> that involves search doesn't seem to work properly
cjhowe has joined #nixos
<gchristensen> :)
khebbie has quit [(Ping timeout: 240 seconds)]
pi3r has quit [(Ping timeout: 248 seconds)]
earldouglas has joined #nixos
saltsa has quit [(Ping timeout: 248 seconds)]
<Leo`> Is there a way to specify in the configuration that I want some directories to exist on the file system with given permissions, rather than having to create them imperatively?
saltsa has joined #nixos
<LnL> not that I know of, I think that's usually done with a oneshot systemd service
<Leo`> Hm, ok.
sellout- has quit [(Quit: Leaving.)]
<copumpkin> clever: \o
<clever> copumpkin: heh, just sat down at the pc!
<copumpkin> omg I'm psychic
<copumpkin> I tried to remember your github handle but couldn't
<copumpkin> and then couldn't find it anywhere either
<copumpkin> wasn't it cleverca?
<clever> copumpkin: https://github.com/cleverca22
<copumpkin> oh dammit
<copumpkin> I forgot the 22 :)
pi3r has joined #nixos
<copumpkin> clever: so I'm in search of a Nix-based OS that boots into a linux kernel, runs nix-daemon, and does basically nothing else
<copumpkin> is not-os close to that?
<copumpkin> I see that it has a squashfs so it feels like the answer might be no
<clever> copumpkin: yep, i recently modified it to do exactly that on one of my raspberry pi's
<copumpkin> I don't need configuration or anything else
<copumpkin> or even interactive logins
<copumpkin> ooh
<clever> copumpkin: its running entirely from a squashfs in ram, and has the nix sandbox enabled
<copumpkin> oh nice
<copumpkin> and where does it put store outputs?
<clever> a tmpfs, and potentialy swap
<copumpkin> ah
<copumpkin> does the nix-daemon send them back somehow ?
<clever> remote builds via /etc/nix/machines or hydra will automaticaly nix-copy-closure --from it out when the build is done
<copumpkin> also, does the kernel you're using have 9p over virtio enabled?
<LnL> if you use it as a remote builder the paths will end op on the host you started the build with
k0001 has joined #nixos
<clever> copumpkin: its using the unmodified nixos kernel, so it should
<copumpkin> cool
<copumpkin> this sounds perfect then
<copumpkin> we should switch all of our hydra build machines to it :)
<copumpkin> oh, you're using the module system to govern what goes into the image?
<gchristensen> copumpkin: hmm... what is your project? :interested-eyes:
<clever> yeah
<copumpkin> gchristensen: the same thing I was talking about a few weeks ago. Running a quiet minimal linux VM in the background using hypervisor.framework on macOS
<gchristensen> neato
<LnL> copumpkin: have you looked any further at the xnu stuff?
<copumpkin> no :(
<copumpkin> which xnu stuff are you talking about though?
<LnL> the reverse would also be very nice :D
<copumpkin> oh, running a xnu builder in the same way?
<clever> copumpkin: a similar design on the xnu kernel would massively help expand the darwin build farm
<copumpkin> yeah, totally
<clever> only issue is the purity problems in darwin, how it needs some things in /System that arent open i think
<copumpkin> still convinced it's possible, but might have to be even more minimal than this :) someone might need to write some xnu virtio drivers
<copumpkin> if we don't need any "user-level" concerns, we might be able to get away without most of the unfree stuff
<copumpkin> like graphics or sound or any of that crap
<copumpkin> networking is my main concern
<LnL> copumpkin: you can run a full darwin system inside qemu
<copumpkin> oh I know
<copumpkin> it's just not using virtio
<rly> What's the interest in using OSX still?
<copumpkin> rly: lots of use it :)
<LnL> I think somebody wrote some virtio drivers
<gchristensen> I literally can't not use osx, so there's that
<copumpkin> LnL: ah, I didn't do any virtio stuff when I set it up inside qemu
<copumpkin> it seemed to work okay apart from that
<clever> copumpkin: let me grab the command i was using for testing a few weeks ago
<LnL> I have not tried it either, but I know there are drivers for it
<clever> [root@router:/tftproot/try2]# time nix-build -j4 not-os/release.nix -A rpi_image -o ../9080d9b6 --show-trace -I nixpkgs=/tftproot/try2/nixpkgs/ && ls -ltrhL ../9080d9b6/
<copumpkin> clever: to run under xhyve/hyperkit, I'll need a separate vmlinux/z from the disk image
<clever> copumpkin: this command was building the entire not-os image, including the raspberry pi firmware, and sticking it in a directory named after the rpi serial#
<copumpkin> I guess I can wrangle that fairly easily
<rly> copumpkin: I also used it, but that was a mistake.
<clever> copumpkin: the rpi them tftp'd its firmware from this dir, then the kernel+initrd, and booted
saltsa has quit [(Quit: reboot)]
<copumpkin> rly: I'd rather just talk about technical issues rather than judgment about which OS is best
<copumpkin> many of us use OSX for a variety of reasons and this isn't the channel to debate that
<rly> copumpkin: sure, it was not my intention to discuss anything further about it.
<copumpkin> :)
<copumpkin> <3
<clever> copumpkin: and currently, the initrd downloads the root.squashfs over tftp after booting: https://github.com/cleverca22/not-os/blob/master/stage-1.nix#L141
<rly> copumpkin: I can even relate to gchristensen's concerns.
<clever> copumpkin: but you can also embed the root image into the squashfs
<copumpkin> cool
<rly> copumpkin: but then why don't we have Windows support? ;)
<clever> copumpkin: when embeded, it will take a lot longer for it to download the initrd and even start linux, but it can just boot without an extra step in the initrd
<gchristensen> we have some(?) cygwin support
<copumpkin> rly: any day now! now that windows just runs straight linux stuff
<copumpkin> :P
<copumpkin> clever: is the initrd part even strictly necessary?
<LnL> we don't have any cygwin machines on hydra so we don't know when we break stuff there
<clever> copumpkin: this section takes the standard nixos initrd (havent tried that one on not-os) and appends the rootfs file to it
<copumpkin> clever: yeah, I see
<clever> copumpkin: the same could be done with not-os's initrd, to embed the squashfs right into it
<gchristensen> LnL: and I haven't seen any issues or questions about it ... ever? so
<LnL> but at leas basic stuff should work on there
knupe has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<copumpkin> clever: not a huge fan of a non-hash-checked filesystem coming over the network :)
<clever> then you dont need dhcp support in the initrd
<copumpkin> I'd probably embed it
<clever> copumpkin: ive covered that as well in the past
<clever> copumpkin: this downloads the kernel, initrd, and rootfs over tftp, then verifies signatures on each, public/private keypair crypto
<copumpkin> ah cool
<clever> and ipxe has support to dynamicaly append to the initrd for you
<copumpkin> fair enough
<copumpkin> just looking to have as few moving parts as possible
<copumpkin> since this will run entirely locally for me
<copumpkin> oh maybe you can answer this question
<copumpkin> when I use nix-daemon as a remote builder, and I need it to build a fixed-output derivation
<clever> copumpkin: like 56-62 handles signing the files, but that cant safely be done inside nix-build, since the private key is now in /nix/store
<copumpkin> does it do the fetching itself or does the build requester send the dependencies in?
<copumpkin> (trying to figure out if I need internet access from the background VM)
<clever> the requester (hydra) will send over a build of curl/git for the target machine, and then that does the download
<copumpkin> ah, I see
cpennington has joined #nixos
<rly> What's the status of storing secrets in the Nix Store?
<gchristensen> rly: "Poor"
<copumpkin> rly: no real update, sadly
<copumpkin> there are a few hypotheses, one actual PR that I don't think niksnut liked much
<copumpkin> an experimental encryption primop that niksnut threw together but never merged
<gchristensen> you could do a thing with gpg and out-of-band key delivery
<clever> copumpkin: line 80 of ipxe.nix makes a special build of ipxe, that embeds the public certs into it, along with a default script, so it doesnt run untrusted code by default
<copumpkin> fun!
<clever> copumpkin: and lines 66-73 are the default script embeded into the binary, it cant change as easily, but it just fetches a bigger script, which must be signed
<copumpkin> clever: what's your goal with this? and why do the "download over the network" part at all instead of embedding by default? it seems like more infrastructure with signing and downloading and networking
<copumpkin> like it's definitely cool, but I don't get the use case of the signed network fetching over something more direct
<clever> copumpkin: was originaly making this for a system that had ~8 servers working together as a unit, and i was thinking that 1 of them could serve the other 7
<copumpkin> aha
<clever> and they would be operating potentialy without internet access
<copumpkin> rly: I quite liked my "fake idea" for secrets in the nix store
<clever> but ive since branched out and just added random ideas to it, while keeping it minimal
<copumpkin> i.e., I think it works in principle but I don't know of an obvious implementation for it
<clever> copumpkin: you could skip a lot of the network stuff, and just have a /boot folder with grub, kernel, and initrd
<copumpkin> we need NixFS ;)
<copumpkin> clever: cool, I'll definitely poke at this soon! seems quite exciting :)
saltsa has joined #nixos
<clever> but then you need some way to update the files remotely, or use your vm framework
<copumpkin> yeah, I'd probably just build another VM image if I needed to update stuff
Itkovian has joined #nixos
<copumpkin> don't really need to change the OS infra all that often
<copumpkin> just want it to build stuff
<clever> copumpkin: if your using qemu or xen, you can just pass it the kernel/initrd paths relative to the host
<clever> and the os never has to exist on the guest hdd
<clever> so the hdd could be 100% swap
<copumpkin> that's sort of how xhyve would work
<copumpkin> that thing I mentioned about how vmlinuz needs to be a separate file I pass in
<clever> you could potentialy even program it to random luks the hdd, and mkswap it every time it boots
<copumpkin> I don't really have a "boot from partition table" infra on xhyve
<clever> so nobody can ever extract things after it has died
<copumpkin> hah
<copumpkin> for all those super-secret nix builds I run :)
<clever> but then you run the risk of it eating every hdd you boot it on
<clever> but just mkswap on boot would allow it to dynamicaly recover from any changes to the hdd
nschoe has quit [(Ping timeout: 245 seconds)]
matthewbauer has joined #nixos
Itkovian has quit [(Client Quit)]
<copumpkin> I see
<copumpkin> lots of potential here :)
<clever> yeah
<copumpkin> clever: next you should run a k8s cluster on your minimal not-OS rpis
Itkovian has joined #nixos
<clever> copumpkin: oh, that reminds me of something else i was planning, reguarding the self-healing of k8s
<clever> extraEnv.NIX_REMOTE_SYSTEMS = lib.concatStringsSep ":" [ "/etc/nix/machines" "/etc/nix/machines.provisioned" ];
<clever> copumpkin: hydra supports a : seperated list of /etc/nix/machines files (the config option is better in more recent modules)
MercurialAlchemi has quit [(Ping timeout: 256 seconds)]
<clever> copumpkin: i was planning on having a daemon within my hydra box, that would listen for new rpi's booting up, and add them to machines.provisioned
<clever> and if one of them stops responding, remove it
<clever> then hydra will dynamicaly gain/loose slaves as they turn on/off
<clever> and i could just plug another 20 in without having to touch any config
matthewbauer has quit [(Ping timeout: 248 seconds)]
ck3d has quit [(Read error: Connection reset by peer)]
<clever> currently, only hydra supports a : seperated list in NIX_REMOTE_SYSTEMS
ck3d has joined #nixos
<clever> but if thay support was extended to nix itself, you could then add a 2nd file, not managed by nix, and go nuts
<clever> that*
systemfault has quit [(Quit: Bye!)]
<NixOS_GitHub> [nixpkgs] schneefux opened pull request #21716: pythonPackages.discordpy: 0.15.1 -> 0.16 (master...pkg.discordpy) https://git.io/vMnaH
ck3d has quit [(Ping timeout: 260 seconds)]
ck3d has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jgertm has joined #nixos
sellout- has joined #nixos
newbie_at_nix has quit [(Read error: No route to host)]
<phorse> re: NixFS, has there been much progress on integrating nix with IPFS?
<phorse> I remember reading about something back in August, but haven't heard much since
sellout- has quit [(Read error: Connection reset by peer)]
cjhowe has joined #nixos
sellout- has joined #nixos
<mguentner> phorse: https://github.com/NixOS/nix/pull/1167 also have a look at the referenced issues
Fare has joined #nixos
<ToxicFrog> Aha! Finally tracked down why it couldn't mount /home on boot, I think -- I forgot that setting isNormalUser implicitly sets createHome
<ToxicFrog> That doesn't explain why it's trying to do that before /home is even mounted, though
<ToxicFrog> Surely the script that creates home directories should run after local-fs.target
<LnL> what fs are you using
<ToxicFrog> ZFS
<ToxicFrog> (and I had to make some modifications to Nix's ZFS units to get 'zfs mount -a' to run at all, too)
k0001 has quit [(Changing host)]
k0001 has joined #nixos
k0001 has quit [(Changing host)]
k0001 has joined #nixos
sellout- has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> (specifically, making systemd.services.zfs-mount require zfs-import and wantedBy local-fs)
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vMnwx
<NixOS_GitHub> nixpkgs/staging cf1d367 Vladimír Čunát: flex: bring back 2.6.1 as an option...
<NixOS_GitHub> nixpkgs/staging d442a0f Vladimír Čunát: wine*: fixup build by using older flex
<ToxicFrog> (but having done that, all the pools get imported before zfs-mount kicks off and all the filesystems are mounted before the local-fs target is reached)
<LnL> yeah I know, that doesn't work properly at the moment
<ToxicFrog> As in, it doesn't work properly out of the box, or as in the fix I made doesn't work?
<LnL> it doesn't work out of the box, have not looked into it myself
<LnL> (yet)
<LnL> but it sounds like your changes should work, unless the creation of home still happens to early because zfs mount is low
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMnrn
<NixOS_GitHub> nixpkgs/master 07bf828 Vladimír Čunát: Merge branch 'staging'; security /cc #21642
<LnL> slow*
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21718: r-modules: fix seewave package (master...fix/r-modules) https://git.io/vMnrc
<phorse> mguentner: very exciting! and thanks for putting the time in on this!
FareTower has joined #nixos
<phorse> mguentner: do you know what the timeline is for the new unixfs implementation?
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vMnrV
<NixOS_GitHub> nixpkgs/master 7ee897a Shea Levy: libuv: Tests fail when cross-compiling
Fare has quit [(Ping timeout: 240 seconds)]
hotfuzz_ is now known as hotfuzz
<copumpkin> shlevy: o/
FareTower has quit [(Ping timeout: 248 seconds)]
ck3d has quit [(Read error: Connection reset by peer)]
ck3d has joined #nixos
sellout- has joined #nixos
FareTower has joined #nixos
<hodapp> next demon: stuff with luarocks.
stepcut has joined #nixos
<mguentner> phorse: not clear at the moment. to give you an idea what the project is currently struggling with: https://github.com/ipfs/go-ipfs/issues/3552#issuecomment-269766931
<mguentner> It's related to the IPLD implementation, but there is no clear roadmap as far as I can see, however a lot of people are interested.
<hodapp> oh, good, there seems to be some support already for luarocks... I guess?
ixxie has joined #nixos
<manveru> any of you guys heading to FOSDEM? i saw sander is giving a talk about nix&npm
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
<manveru> hodapp: as far as i've seen, only one package uses luarocks, would be good to make it a bit more general
<phorse> mguentner: I'm one of them, but I'm also ignorant. keep up the good work!
<hodapp> manveru: standard procedure here seems to be to have the available packages into nixpkgs in some fashion
<manveru> well, you need at least the checksums of each dependency in nixpkgs
<manveru> but not all of luarocks...
binaryphile has joined #nixos
<manveru> a couple of languages have all possible dependencies in nixpkgs... but i don't think that's scalable for all languages out there :P
<mguentner> phorse: currently I am just observing the efforts while trying to find pragmatic solutions for nix(os) - I think it will take some time/work/magic until "mount -t ipfs /ipns/hydra.nixos.org/current /nix/fs" will work :)
<hodapp> no... but I'm not sure of a good way of handling it when the language has its own package manager
john_due has joined #nixos
<john_due> hello everybody
<phorse> what a day that will be!
<manveru> hodapp: well, the part of getting luarocks packaged with the app is in nixpkgs already, you just have to feed it the url/sha for each dep
<mguentner> phorse: small steps
<john_due> I have a problem: I defined a package and built it. Then I changed something (added outputs = [...] and configureFlags). But It does not recompile the package and the variables defined in outputs points to nothing. What should I do?
<Sonarpulse-Work> I think I have a solution there to avoid bloating nixpkgs like we do with haskell today
<NixOS_GitHub> [nixpkgs] peti closed pull request #21718: r-modules: fix seewave package (master...fix/r-modules) https://git.io/vMnrc
FareTower has quit [(Ping timeout: 272 seconds)]
eacameron has joined #nixos
rly has quit [(Ping timeout: 246 seconds)]
matthewbauer has joined #nixos
oida has quit [(Quit: WeeChat 1.6)]
rly has joined #nixos
<niksnut> manveru: I'll probably be at FOSDEM
hotfuzz_ has joined #nixos
<hodapp> manveru: what would one be taking the SHA of?
qryantm has quit [(Ping timeout: 272 seconds)]
derjohn_mob has quit [(Ping timeout: 255 seconds)]
hotfuzz has quit [(Ping timeout: 255 seconds)]
<hodapp> hrm, right now I'm just trying to set up default.nix to set up dependencies for the thing I actually want to run (which has various luarocks dependencies)... I put the luarock commands in 'buildPhase' (for now) in a stdenv.mkDerivation but it doesn't seem to actually be running them
qryantm has joined #nixos
<hodapp> ...for nix-shell at least
matthewbauer has quit [(Ping timeout: 256 seconds)]
<LnL> niksnut: I'll also be there most likely
<gchristensen> zimbatm: "salvage" might be a teensy bit harsh :)
<LnL> a couple of nix people are going
<hodapp> hm, if I'm just aiming to create a default.nix for a particular environment with dependencies, do I need stdenv.mkDerivation? I don't know what I'd set 'src' to, but nix-build is complaining at me
<hodapp> but I'm not sure how else I would be doing it if commands are required in order to set up this environment...
john_due has quit [(Quit: Leaving)]
danharaj has joined #nixos
<rod_> hodapp, what you want is a .nixpkgs/config.nix
<hodapp> how's that differ?
<rod_> its adeclarative way to install packages in your environment , just like configuration.nix declarativly describes your system
layus has joined #nixos
<hodapp> still not sure how that differs from default.nix
layus_ has joined #nixos
<layus_> everytime I try to print with firefox, it crashes with the infamous "(firefox:5546): GLib-GIO-ERROR **: No GSettings schemas are installed on the system"
<layus_> Any idea how to fix this ?
ryanartecona has joined #nixos
<layus_> lethalman, obadz: I know you had pretty simmilar issues last year. Any insight welcome.
layus has quit [(Ping timeout: 260 seconds)]
<rod_> hodapp, sent you my config.nix
<rod_> layus_, #21698
<rod_> hodapp, i think defaut.nix are build instructions for packages , they use mkDerivation
<rod_> your .nixpkgs/config.nix is more of a environment descriptions wich installs packages+debendencies in our environment
hotfuzz_ has quit [(Quit: WeeChat 1.6)]
<rod_> layus_, are you there
<rod_> i just fixed that for sakura terminal
<layus_> Yes, I can see that recent commit
<layus_> I am wonder why I am the only one to have this issue with firefox.
<rod_> you can try setting environment variable XDG_DATA_DIR
<layus_> Surely something as big as firefox exiting suddenly when opening the print window should have been detected before
<rod_> well you re using the printer dialog of gsetting
<layus_> I will try setting XDG_DATA_DIR and tell you what
<rod_> wait its XDG_DATA_DIRS
<hodapp> gah. I can install 'torch', but then 'luarocks install nn' doesn't see that the torch dependency is already there, tries to build it, can't install it
ck3d has quit [(Quit: Bye)]
ertes has quit [(Ping timeout: 255 seconds)]
<rod_> layus_, my firefox shows print preview
layus has joined #nixos
<hodapp> it's even trying to write to /nix/store/mvrw096slv9hgaz49nkw7pdf5gmjk5mf-torch-0.0pre20160820/share/cmake/torch/TorchExports.cmake
danharaj has quit [(Ping timeout: 248 seconds)]
hotfuzz has joined #nixos
layus_ has quit [(Ping timeout: 260 seconds)]
<layus> rod_: Okay, using an irc client within firefox was not a good idea :-).
ixxie has quit [(Remote host closed the connection)]
mizu_no_oto has joined #nixos
<hodapp> guess I'm just... not running in nix-shell
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<rod_> you can run $ strace firefox , then open the print dialog and when firefox crasches you'll see from strace wich locations it was looking for gsettings-schemas
<hodapp> unless luarocks has some other way to not go throw shit around in /nix/store
ixxie has joined #nixos
<layus> rod_ thanks, now I get "Settings schema 'org.gnome.system.proxy' is not installed" which is definitely better
<layus> I just need to see which package defines that.
<hodapp> luarocks --local still tries to put the packages in my homedir, it just also invokes some CMake build that wants to write all over /nix/store for whatever reason
<hodapp> bleah
<rod_> layus, hope you find your way now ...
<layus> Yep. Thanks for getting me started
ThatDocsLady has quit [(Ping timeout: 246 seconds)]
rly has quit [(Ping timeout: 245 seconds)]
[0x4A6F] has joined #nixos
<FRidh> Recently we've been having quite some 'package requests' at the issue tracker. I'm thinking of closing them since those type of 'issues' don't contribute anything. What do you think? I might send out a mail on this topic but at the same time it feels so insignificant.
<layus> FRidh, we could maintain a list of requested packages somewhere. It may attract new contributors as packaging new applications is quite easy.
systemfault has joined #nixos
<simpson> FRidh: I have been trying to encourage those folks to roll up their sleeves instead of making requests, since it's obvious that most of these requests won't ever be fulfilled.
<hodapp> speaking of which, what are some good examples of packages that just wrap a package from an existing programming language's package manager? I'd like to make some "proper" luarocks dependencies for things I'm working with here
<layus> Anyway, such requests are useless on the issue tracker. Closing them seems fit. I just tried to redirect these users to a well defined page, like "How to package your own application"
<FRidh> layus: What would we do with that list? How would that attract contributors. While there is a steep learning curve packaging on Nix can be relatively easy.
<hodapp> for now, running Docker because I prefer not to have luarocks throwing stuff around in /nix/store so it can run an unneeded cmake build
<FRidh> layus: simpson: Perhaps close the issues with a message explaining that likely nothing is done with such issues whereas if they open PR's there's typically people around helping?
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
ixxie has quit [(Remote host closed the connection)]
<layus> Yes, its the idea.
<layus> But instead of repeating the same message again and again, you could create a webpage explaining it
<AtnNn> Is there an easy way to override the C compiler for a package?
<gchristensen> github supports "canned replies" if you'd like to do that, FRidh
layus has quit [(Quit: Leaving)]
alx741 has joined #nixos
<FRidh> gchristensen: link ?
<gchristensen> in the reply box on the website, in the top right, there is a "bookmark", then an "@" then a left-arrow, click the left arrow
<NixOS_GitHub> [nixpkgs] binarin closed pull request #21469: packer: 0.10.1 -> 0.12.1 (master...packer-0.12.1) https://git.io/vMTzu
nschoe has joined #nixos
alx741_ has quit [(Ping timeout: 256 seconds)]
<gchristensen> I'm a bit surprised to see no reply to my mail about key signing :)
<FRidh> ohh, indeed. I never used those buttons because they're just shortcuts for some markup, but apparently this one is an exception.
<gchristensen> yeah
mkoenig has quit [(Ping timeout: 248 seconds)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
mkoenig has joined #nixos
matthewbauer has joined #nixos
ixxie has joined #nixos
teknico has left #nixos []
<FRidh> gchristensen: I suppose for many subscribers it is one of multiple lists so they won't notice and reply right away. Maybe there's also not much to reply, aside from a 'Good work!'
<gchristensen> yeah, but I want their opinions :P
* gchristensen will be patient
matthewbauer has quit [(Ping timeout: 240 seconds)]
<FRidh> gchristensen: So you can select multiple issues and apply tags and such. Would be nice if you could select issues and send this canned response and close it.
<gchristensen> that would be nice :D
<gchristensen> hopefully there aren't _that_ many though?
<FRidh> 20 or so
dgn has quit [(Quit: dgn)]
<FRidh> bit fewer
dgn has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<ixxie> hmmm.... I have been at it for an hour and I cannot get the altgr-intl keyboard variant to work with services.xserver.layout = "us"; services.xserver.xkbVariant = "altgr-intl";
__Sander__ has quit [(Quit: Konversation terminated!)]
cjhowe has joined #nixos
<ixxie> setxkbmap -query retrieves layout=: us,us and variant: ,
auntie has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nschoe has quit [(Quit: Program. Terminated.)]
endformationage has joined #nixos
cjhowe has joined #nixos
<domenkozar> is someone packaging electron apps with nix?
<NixOS_GitHub> [nixpkgs] garbas closed pull request #21713: neovim: removed unncessary man configuration (master...neovim) https://git.io/vMnlK
<gchristensen> domenkozar: well we have atom and slack and spotify
<gchristensen> I think those are all electron?
<ixxie> and vscode
mudri has quit [(Ping timeout: 245 seconds)]
mkoenig has quit [(Ping timeout: 248 seconds)]
cjhowe has quit [(Client Quit)]
mkoenig has joined #nixos
cjhowe has joined #nixos
<domenkozar> we have vscode :O
<gchristensen> yup
<gchristensen> it is v. nice
<ixxie> yerrr
<ixxie> and it has a plugin for nix syntax ^^
danharaj has joined #nixos
<gchristensen> ixxie: does it understand "/*" in a string isn't a comment?
matthewbauer has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
oida has joined #nixos
cjhowe has joined #nixos
<ixxie> gchristensen: seems to work fine :)
ryanartecona has quit [(Quit: ryanartecona)]
<gchristensen> neat :P
katyucha has quit [(Quit: leaving)]
<ixxie> anybody know where I can find xorg.conf in nixos?
<gchristensen> ixxie: ps auxg | grep xorg-server I think?
<copumpkin> anyone object to https://github.com/NixOS/nixpkgs/pull/21703?
<gchristensen> copumpkin: my only question is "Why was this there in the first place" and :https://github.com/copumpkin/nixpkgs/commit/9a94e561a5e53c882f5c7f7fd883692f920c224f
<copumpkin> yeah I pinged him in the other thread
<copumpkin> I don't find the commit message particularly compelling FWIW :)
<gchristensen> :)
ryanartecona has joined #nixos
mkoenig has quit [(Ping timeout: 272 seconds)]
sellout- has quit [(Ping timeout: 240 seconds)]
dgn has quit [(Ping timeout: 258 seconds)]
<ixxie> thanks gchristensen
oida has quit [(Quit: WeeChat 1.0.1)]
mkoenig has joined #nixos
dejanr has joined #nixos
<ixxie> so it appears these X11 keyboard options have been broken for a while now
ambro718 has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vMnNJ
<NixOS_GitHub> nixpkgs/master f3381f0 Domen Kožar: electron: 1.2.2 -> 1.4.13
* gchristensen eyes that beautiful green "Verified" mark next to domenkozar's commits
<copumpkin> I should set that up with my GPG key at some point
<domenkozar> it's such a PITA
<domenkozar> but gchristensen gave me working instructions
<copumpkin> do they actually verify that the GPG key belongs to you somehow?
<gchristensen> you submit your public key to them
<copumpkin> yes, but what stops me from submitting your public key and then pushing your commits?
oida has joined #nixos
dejanr has left #nixos []
<domenkozar> copumpkin: github trusts itself yo dawng
<gchristensen> copumpkin: add it to github: https://help.github.com/articles/adding-a-new-gpg-key-to-your-github-account/ then configure git to use your key: https://help.github.com/articles/telling-git-about-your-gpg-key/ (You'll also want to run `git config --global gpg.program gpg2`) and then you can sign an individual commit with `git commit -S ...` or all commits with `git config --global commit.gpgsign true` and (of
<gchristensen> course) you'll want gnupg installed, perhaps in your systemPackages
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #21720: Transmission: Darwin support (master...transmission) https://git.io/vMnNo
<copumpkin> gchristensen: sure...
<gchristensen> *shrug* those are my working instructions :P
<copumpkin> oh I'm not saying I can't get it working
<copumpkin> just wondering what's stopping me from entering your pubkey on my account
<gchristensen> well you could
<copumpkin> perhaps it checks that the email address matches
<gchristensen> I mean, the green "Verified" thing is meaningless
<gchristensen> to really mean something you need to trust the key on your local computer
alex-v has joined #nixos
<niksnut> no, it just means "this commit was signed by this github user"
<niksnut> it doesn't mean "this commit was signed by this email address"
<copumpkin> niksnut: I still don't get it then. If I add your pubkey to my github account, then find a signed commit of yours and push it from my account, what happens?
<niksnut> let alone "this commit was signed by this natural person"
<gchristensen> copumpkin: if the email address in the UIDs doesn't match your github account it shows as Unverified
<copumpkin> I guess I could test this
<copumpkin> oh
<niksnut> yeah that makes sense
ixxie has quit [(Remote host closed the connection)]
<copumpkin> so it is by email on the key
<niksnut> actually we should stop with all these silly key signing rituals and just rely on github
<alex-v> How do I configure/run "servers" (for instance sshd) if I am not using NixOS, just Nix on top of RedHat? do I still use configuration.nix?
<copumpkin> :D
<gchristensen> niksnut: is that your position on this thread https://github.com/NixOS/nixos-homepage/pull/123#issuecomment-270643776 :D ?
<gchristensen> alex-v: nix as a package manager isn't able to configure services like that. if you want nix to configure services, you may as well be using nixos!
<niksnut> well, in-person ID verification adds accountability
mudri has joined #nixos
<niksnut> I guess it gives you somebody to sue :-)
<gchristensen> hah
<gchristensen> and naturally, as an american, I'm extremely litigious
<gchristensen> </sarcasm>
* copumpkin sues gchristensen for implying that all americans are litigious
<copumpkin> I'm only half litigious though
<gchristensen> hehe
<alex-v> gchristensen: well I (and I am sure many others) can't just change our enterprise standard on linux distriburions (we have hundreds of servers). Nix is the only reliable way to install and maintain updated versions of software.
<gchristensen> alex-v: I _definitely_ understand what you're saying, however nix has no mechanism to manage services without using nixos entirely.
<gchristensen> (I work in such an enterprise with a standard linux distribution and many servers, and would be surprised if we switched to nix anytime soon)
dank1 has joined #nixos
<dank1> i'm on my period
<dank1> i'm 15
<copumpkin> dank1: do you have any Nix/NixOS questions?
<FRidh> Would it be possible for Nix services to provide some entry point that root could run that would setup the services outside of NixOS (like creating service-required users and files)?
<gchristensen> dank1: I think ##Health may be a more relevant channel for discussions of bodily function
dank1 has left #nixos []
<niksnut> heh
<hodapp> 9_9
<hodapp> snow day maybe?
<gchristensen> *shrug* FRidh: that would be interesting
<gchristensen> but we couldn't use systemd :(
georges-duperon has quit [(Ping timeout: 240 seconds)]
zraexy has joined #nixos
<alex-v> In particular, I am looking at one such service configuration https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/databases/neo4j.nix. Is there anything I can do to use that to override the parameters, generate the corresponding neo4j.conf &co files, put them to a location of my choosing and make neo4j (which I can start by hand) use those conf files?
benzrf has joined #nixos
<benzrf> is there a nice straightforward way to take a coq project and make or write a nix file for it
<benzrf> i found a project i wanna check out but the instructions want to sudo make install
<benzrf> i looked at that, but i dont know enough about writing derivations to get it working
<benzrf> i tried basically copying the example and editing it, but it didnt work
<pierron_> domenkozar: How would you add a reference to Nixpkgs manual from NixOS release notes? ( https://github.com/NixOS/nixpkgs/pull/21243 )
<domenkozar> pierron_: I don't know the correct autodoc way of doing it
<domenkozar> but I'd just link to https://nixos.org/nixpkgs/manual/
<pierron_> domenkozar: but this would be a broken link until the documentation becomes mainstream :/
<pierron_> domenkozar: Also, I was looking at https://linux.die.net/man/1/mr instead of reinventing the wheel?
<pierron_> domenkozar: do you think we should make a wrapper tool, or just provide a more constraint description of overlays, such that a tool can be made after?
<gchristensen> pierron_: have you seen `repo`? I find it to be quite nice.
<pierron_> gchristensen: it makes me vomit …
<gchristensen> to each their own I reckon
<domenkozar> pierron_: we can add it later, but I think it belongs with the use case
<benzrf> :(
<domenkozar> nix-overlay add ...
<pierron_> gchristensen: I had to bisect once, I would highly prefer to make a submodule backend instead of using a follow-master with no way back.
<domenkozar> benzrf: sorry, you'll have to dig in a bit and learn nix
<gchristensen> heh
<benzrf> aww, ok
<FRidh> pierron_: maybe we should add nixpkgs and nix manuals as appendices to nixos manual
<pierron_> FRidh: or not, NixOS modules was made with the idea that you would not have to learn what is a function.
<pierron_> FRidh: just some random syntax with a colon at the top and it does the magic.
<gchristensen> but they'd be appendices
rmrfroot has joined #nixos
<nathan7> hey internet
jgertm has quit [(Ping timeout: 258 seconds)]
<gchristensen> hi nathan7
<nathan7> so I'm trying to figure out if I can get Steam to pick up on my libvdpau drivers
<pierron_> I think this deserve a user manual of Nixpkgs and nix, not a developer manual
<nhooyr> anyone who uses neovim have any thoughts on https://github.com/neovim/neovim/issues/5896 ?
<nathan7> I feel like I'm missing something obvious, because as I understand it, it uses /run/opengl-driver?
mrkgnao has joined #nixos
<nathan7> ah, I am mistaken, it does not
athan has quit [(Ping timeout: 245 seconds)]
<rmrfroot> nhooyr: any nix related information? like what version of nix you are using, what version of nixpkgs, etc?
ryanartecona has quit [(Quit: ryanartecona)]
sellout- has joined #nixos
<gchristensen> rmrfroot: may I ask how you know hydra so well?
<mrkgnao> hi #nixos, I'm thinking of switching and I have a couple questions
<dtzWill> alex-v: I've had similar thoughts--i wonder if nix-on-redhat (or w/e) could be used to create docker instances or something as a half-way solution... would that help you? IIRC nixos's docker stuff requires nixos host but not sure what the technical reasons/challenges are...
<rmrfroot> gchristensen: of course! i actually don't know hydra at all, i just looked at the source code and tried the different endpoints to figure everything out.
<mrkgnao> is there a good way to manage one's dotfiles with nix like one would with ansible?
<nathan7> mrkgnao: I do it by making all configuration system-wide
<dtzWill> of course for me that doens't help, not only do we have scientific linux it's SL6 and apparently docker makes that kernel hang so :(
oida has quit [(Quit: WeeChat 1.0.1)]
<nathan7> whether that's ideal is debatable, but my desktop systems are single-user
<mrkgnao> even then, I'm looking for things like scripts that enforce a certain directory structure in my home dir and so on
<nathan7> you could even plausibly run ansible in your NixOS activation script
<mrkgnao> or a way to generate *rc files based on some file with config vars
<pierron_> mrkgnao: how do you manage dot files in ansible?
<mrkgnao> I'd actually prefer to use the native Nix tools
<rmrfroot> mrkgnao: sure, there are some different ways! one way would be to use a user activation script that copies the dotfiles to the relevant user on each boot.
<mrkgnao> pierron_: I'm new to this, but check out, say, <https://github.com/sloria/dotfiles>
<exi> hmm, i'm having leftover items in my /nix/store that i think should not be there
<exi> is there any way to figure out why they are there?
<mrkgnao> rmrfroot: I'm actually looking for a way to generate dotfiles by substituting vars into templates
<nathan7> mrkgnao: Nix does that by default
<nathan7> mrkgnao: like, the language has string interpolation
<nathan7> mrkgnao: and where you don't want to use that, you can invoke literally any deterministic tool of your choice to generate stuff
<nhooyr> rmrfroot: sec, I'll update the issue
<nathan7> mrkgnao: the first example I linked implements a little config generator for Terminator, and then feeds it a Terminator config as Nixlang data structures
georges-duperon has joined #nixos
<rmrfroot> mrkgnao: you could create a package that generates all your dotfiles from templates, then that package could contain a script that copies the generated dotfiles to the home directory of the user running the script.
<NixOS_GitHub> [nixops] AmineChikhaoui opened pull request #580: CloudWatch Log Groups/Streams (master...cloudwatch) https://git.io/vMcvN
<mrkgnao> ah, those things sound like what I want
<rmrfroot> mrkgnao: or you could create a package that wraps the program and the dotfiles for it that you install
<rmrfroot> mrkgnao: i can show you an example of both if you are interested
<mrkgnao> in general, it seems what I want should be possible with a sensible amount of work
<nhooyr> rmrfroot: updated
<mrkgnao> rmrfroot: that'd be nice
<rmrfroot> nhooyr: i'll have a look
<rmrfroot> mrkgnao: sure thing, give me a sec
benzrf has left #nixos ["WeeChat 1.6"]
<rmrfroot> nhooyr: does this happen when you try to install neovim with nix-env?
<mrkgnao> also, how well-supported is Spacemacs on NixOS?
oida has joined #nixos
<mrkgnao> are there weird issues I should know about?
acowley_away is now known as acowley
alx741_ has joined #nixos
<exi> mrkgnao: except for it complaining about weird PATH variables on startup, everything seems ok i think
<exi> but i'm only a casual user at best
alx741 has quit [(Ping timeout: 245 seconds)]
oida has quit [(Quit: WeeChat 1.0.1)]
oida has joined #nixos
JagaJaga has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
oida has quit [(Client Quit)]
<nhooyr> rmrfroot: nope
<nhooyr> works great when installing with nix
jgertm has joined #nixos
oida has joined #nixos
<rmrfroot> nhooyr: oh, i thought the problem was that you *couldn't* install it. what are you trying to do?
<nhooyr> rmrfroot: i clone the repository and then `make`
<nhooyr> but it doesn't work, it gives the error I showed in the issue
<nhooyr> this used to work fine on brew
<nhooyr> when I switched to nix, I wasn't able to build neovim anymore
<nhooyr> manually
<nhooyr> i'm not sure what's causing this, I looked around in the neovim nix package, I can't see what it's doing differently
<exi> nhooyr: building stuff manually does not work on nix because the whole system works entirely different
<exi> i guess the easiest way would be to package it yourself if it is not packages already
<nhooyr> it already has a package
<exi> ok
<nhooyr> i was just wondering is all
<exi> you can build it by hand, inside a nix-shell with the proper setup it should work
<nhooyr> so are you saying I should just close the issue on neovim?
<exi> sorry, did not read the whole discussion, could you give a link again?
<exi> ah
<exi> nvm
grpala has joined #nixos
<exi> yes, you should probably close the issue, not able to find dependencies is usually an issue with packaging
truh has joined #nixos
<exi> and "make" anything outside a nix-shell with proper setup usually never works in nix
<exi> the libraries are not available in your profile
jgertm has quit [(Ping timeout: 248 seconds)]
<rmrfroot> nhooyr: in a nutshell, what happens when you install the neovim package with nix-env is that a separated build environment is created with the needed tools, and neovim is built inside that environment. if you want to build neovim manually you need a) install all the needed dependencies with nix-env, or b) use nix-shell to get inside the same environment.
<zimbatm> gchristensen: oops, i didn't know "salvage" would be harsh
<truh> It seems like nix-env "upgrades" tinyxml2 to tinyxml.
<truh> upgrading ‘tinyxml-2-4.0.1’ to ‘tinyxml-2.6.2’
<nhooyr> thing is, neovim installs the dependencies itself
<nhooyr> they go into `.deps`
alx741_ has quit [(Quit: alx741_)]
<nhooyr> it doesn't depend on the package manager
alx741 has joined #nixos
Ralith__ has joined #nixos
jophish_ has joined #nixos
abrar_ has joined #nixos
<grpala> I have a practicity issue: how can I edit something in the nix store? (I know I know, it's not supposed to be edited manually, but hear me out first) I need to try various configurations for /etc/pulse/default.pa to troubleshoot a recurring glitch. If I were to attempt this edit through the nix language, it would take for ever, not only to make the appropiate editing, but to nix-rebuild. In this case we are
<grpala> talking about a mere symlink, can just replace it, but if I needed to really edit something in the nix-store, how should I go about it?
Matrixiumn has joined #nixos
schneefux_ has joined #nixos
Ralith__ is now known as Ralith_
<rmrfroot> nhooyr: i'm talking about the dependencies needed to compile neovim itself
<nhooyr> yea
<nhooyr> it puts them in .deps
<nhooyr> all the libraries it needs
<nhooyr> .deps in the repo root
Matrixiumn is now known as Xackle
zraexy has quit [(Ping timeout: 245 seconds)]
ixxie has joined #nixos
<exi> nhooyr: it works for me in a proper nix-shell
<nhooyr> exi: could you describe what you did?
<NixOS_GitHub> [nixpkgs] jokogr opened pull request #21721: syncthing-gtk: 0.6.3 -> 0.9.2.3 (release-16.09...u/syncthing-gtk-for-16.09) https://git.io/vMcku
<exi> nhooyr: 1 sec
msd has quit [()]
zraexy has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
<rmrfroot> nhooyr: i don't think that's true for the system libraries. otherwise we wouldn't need to have them as dependencies of the package.
rod_ is now known as polyrod
mkoenig has joined #nixos
sellout- has quit [(Quit: Leaving.)]
<AtnNn> grpala: you can change hardware.puleaudio.configFile to a custom path
grpala has quit [(Ping timeout: 255 seconds)]
<rmrfroot> mrkgnao: are you still there?
knupe has joined #nixos
grpala has joined #nixos
<exi> nhooyr: do this in the git repo:
<exi> nix-shell --pure -p cmake gettext libmsgpack libtermkey libtool libuv luajit man ncurses perl pkgconfig unibilium xsel gcc wget automake autoconf
<exi> that will at least get your build going
<exi> i did not invest the time to find all missing dependencies to build it
<nhooyr> ok thanks, testing
<nhooyr> rmrfroot: yea, but stuff like unibillium is downloaded
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21710: git-up: not a python package (master...f/gitup) https://git.io/vMntC
<rmrfroot> nhooyr: sure, not denying that some stuff is downloaded. i'm just saying that the problem you are facing is probably due to some dependency missing. since it works fine with nix-env where all dependencies are available.
mkoenig has quit [(Ping timeout: 272 seconds)]
mkoenig has joined #nixos
<gchristensen> zimbatm: are you 'round?
<rmrfroot> mrkgnao: seems like you are inactive. i created a gist with the example i was talking about earlier and pinged you in the comments. hopefully you'll get a notification.
<mrkgnao> rmrfroot: sorry, I was away for a bit
<mrkgnao> thanks! I'm wget-ing the iso right now, let's see how it goes :)
<zimbatm> gchristensen: yeah I'm around at the moment
<rmrfroot> mrkgnao: np, just ask if you have any questions
<gchristensen> zimbatm: note about your email is I go by graham christensen on github, twitter, email, domain, .... but maybe I'm not Graham Christensen.
georges-duperon has quit [(Ping timeout: 240 seconds)]
<mrkgnao> rmrfroot: I don't see a notification though
<zimbatm> gchristensen: yeah but it doesn't matter
<alex-v> what is the current method to substitute oracle jre?
<zimbatm> gchristensen: the idea that there is a "real" identity is a fallacy
<gchristensen> ahh I see
<zimbatm> basically you have an identity that you built on the internet
<zimbatm> and with keybase.io it's possible to link the various personas together to create a larger identity
<acowley> Does anyone try to offer a regularly updated binary cache for a package set that layers on top of nixpkgs?
<zimbatm> the value of your identity is correlated with how much time and energy that you've invested in it
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21722: Fix a lot of rPackages (master...fix/r-modules) https://git.io/vMcqC
<zimbatm> that's why I think the "real name" policy is not very useful either
<gchristensen> fpletz: ping (last ~15 messages)
<zimbatm> I also believe that it's acceptable to maintain multiple identities as well, it's fine to separate different part of our lives
<acowley> Tangentially, +1 to keybase.io. I was super skeptical at first, but no fatal flaws in the idea haven emerged over their lifetime, and the premise still seems sound.
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMcq6
<NixOS_GitHub> nixpkgs/master 6d3183e c0bw3b: nghttp2: refactor (close #21029)...
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #21029: nghttp2: 1.16.1 -> 1.17.0 (master...nghttp2-1.17.0) https://git.io/v1whC
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vMcq5
<NixOS_GitHub> nixpkgs/staging 1f7b090 Vladimír Čunát: mesa: maintenance 13.0.2 -> 13.0.3
<NixOS_GitHub> nixpkgs/staging 5f5681e Vladimír Čunát: Merge branch 'master' into staging
<mrkgnao> rmrfroot: thanks, that looks helpful
<mrkgnao> now to wait until I have a working nixos install
<rmrfroot> gchristensen: re the Hydra API, i was thinking about creating an OpenAPI spec for the API so you can automatically generate API clients in different languages for it. then include that in the docs. sounds like a good idea?
* mrkgnao laments Indian internet speeds
sdothum has joined #nixos
<gchristensen> rmrfroot: uh, duh, haha
<gchristensen> that sounds amazing!
<LnL> acowley: I've setup a local cache, but there's mostly just custom stuff in there
<LnL> I think johnw has one that he updates regularly
<rmrfroot> gchristensen: cool :) then i'll do that
pi3r has joined #nixos
<johnw> i haven't been able to, because i get "too many arguments on command-line" from nix now
<rmrfroot> now i just have to get familiar with docbook ^^
<acowley> LnL: What I'm not satisfied with is how to expose the nixpkgs the overlay was built against
<nhooyr> instantly
<LnL> rmrfroot: oh that would be great!
<nhooyr> eh forget it, it's fine
<nhooyr> i'll just use the package
<acowley> LnL: An extreme case would be considering how to compose multiple overlays. I don't know the best strategy to synchronize on nixpkgs commits.
<rmrfroot> LnL: awesome! i will probably have a look this weekend. don't know if you saw the issue i opened on github that the docs will be based on, but here they are, if you want a sneak peak: https://github.com/NixOS/hydra/issues/440
<acowley> johnw: At what point are you running into that error?
<LnL> rmrfroot: yes gchristensen mentioned it
<LnL> johnw: what does your script look like again?
<gchristensen> rmrfroot: we're somewhat in awe hehe
AllanEsp1nosa has joined #nixos
<LnL> yeah, sort of wondering how you figured all those out. just by looking at the code?
oida has quit [(Ping timeout: 272 seconds)]
ixxie has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMcYf
<NixOS_GitHub> nixpkgs/master 1e253d5 Vladimír Čunát: libpng12: security 1.2.56 -> 1.2.57...
rod has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vMcYq
<NixOS_GitHub> nixpkgs/release-16.09 303ff51 Vladimír Čunát: libpng12: security 1.2.56 -> 1.2.57...
polyrod has quit [(Ping timeout: 240 seconds)]
rod is now known as polyrod_
<rmrfroot> LnL: well, i looked in the source for files related to api and found lib/Hydra/Controller/API.pm. then i looked for URLs in that file and found stuff like `sub jobsets : Chained('api') PathPart('jobsets') Args(0)` that kinda looked like some sort of URL-building. then i thought that maybe there is a test that actually calls all endpoints that i can use to piece together the puzzle. so i found tests/api-test.pl. inside that file i had
<rmrfroot> examples of all the endpoints, what method to user and what headers they where expecting. then i started to call the endpoints with the right headers and try to figure out what the data meant.
<rmrfroot> to use*
<rmrfroot> never mind, too many errors :P
<rmrfroot> this is something i do daily at work, having to implement API clients for undocumented APIs. you get very good at figuring out APIs after a while ^^
<gchristensen> *guh* the docker registry api is most frustrating.
<LnL> oh, I thought you used the api before or something
<gchristensen> nice :)
<rmrfroot> no, i looked at it today for the first time
<gchristensen> !!!
<rmrfroot> btw, you wouldn't believe what kind of APIs some companies have in production :P
<rmrfroot> like some companies will have their whole database as a single XML-file that is publically accessable and call that their "API"
<gchristensen> greaat
<gchristensen> rmrfroot: well if you ever want more work to do ... let me know ... :)
<rmrfroot> gchristensen: hehe, i'll holla at you when i'm done with the API docs ^^
<gchristensen> <3 <3 <3
<gchristensen> (though I'm seriously hoping I figure this out before then, and am running out of time on this project)
sellout- has joined #nixos
<rmrfroot> gchristensen: i know that feel :P what kind of project are you working on?
<LnL> I've written some code that talks to the docker api before, but not the registry
<rmrfroot> i vaguely remember something about the registry API being changed last year
<gchristensen> rmrfroot: trying to replace our docker tooling to pull images to work with their "new" API (their "old" API stopped being supported like over a year ago)
<gchristensen> so ... it has just been broken this whole time.
<rmrfroot> ah, yeah, that's why i remembered it
<LnL> johnw: looks fine at first sight, perhaps --manifest is causing issues?
<johnw> maybe...
<rmrfroot> gchristensen: is that some internal tooling in nixos/nixpkgs?
<gchristensen> yeah
<gchristensen> for importing docker containers with a nix expression
<LnL> I assume the expression that generates that part will get all the paths as input at some point
<rmrfroot> gchristensen: where can i find it?
<LnL> gchristensen: do you know if you can search by filename with hound?
cjhowe has joined #nixos
<rmrfroot> LnL: thanks
<gchristensen> LnL: click "Advanced" below
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
Itkovian has joined #nixos
<LnL> ah but not without a search query it seems
<rmrfroot> gchristensen: have you started working on a new implementation? or are you trying to figure out how to approach it?
<gchristensen> I'm hacking my way through an implementation
<rmrfroot> alright :)
ryanartecona has joined #nixos
<NixOS_GitHub> [nixpkgs] jokogr opened pull request #21723: qtpass: 1.1.4 -> 1.1.6 (master...u/qtpass-1.1.6) https://git.io/vMcsC
mkoenig has quit [(Ping timeout: 240 seconds)]
<gchristensen> ugh it is annoying
<gchristensen> I very much with there was a tool to fetch a docker imagPe
<rmrfroot> what is annoying about it? time consuming or are the docs lacking?
mkoenig has joined #nixos
digitalmentat has joined #nixos
<gchristensen> yeah, a few examples would be very helpful, but also, ultimately, this logic probably shouldn't be some bash scripts in nixpkgs
danharaj has quit [(Ping timeout: 248 seconds)]
<digitalmentat> I'm having a difficult time tracing down why a docker build-tools `buildImage` derivation is being evaluated _locally_ and not on our build server; does anyone have some experience with this?
<rmrfroot> gchristensen: i understand what you mean, i'm looking at the docs now :P
<NixOS_GitHub> [nixpkgs] ivan-tkatchev opened pull request #21724: gtest, gmock: fix broken package by updating to 1.8.0. (master...pullrequest) https://git.io/vMcsb
eacameron has quit [(Read error: Connection reset by peer)]
<digitalmentat> i don't see any obvious preferLocalBuild attributes being set
<NixOS_GitHub> [nixpkgs] ttuegel pushed 2 new commits to master: https://git.io/vMcsp
<NixOS_GitHub> nixpkgs/master 6edb379 Dhananjay Balan: ldns 1.6.17 -> 1.7.0...
<NixOS_GitHub> nixpkgs/master 8633dab Thomas Tuegel: Merge pull request #21650 from dbalan/ldns-1.7.0...
eacameron has joined #nixos
djvdorp has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<rmrfroot> johnw: i was looking for a way to parse nix in haskell today and found your project hnix. it looks really cool! could hnix be a good choice if i want to extract simple stuff (like what services are enabled, what ports are opened in the firewall) from a user configuration.nix?
mizu_no_oto has joined #nixos
<rmrfroot> gchristensen: what's the rule of thumb when creating build tools like that? are you only allowed to use bash scripts? or can you create applications that have external dependencies?
<gchristensen> rmrfroot: it can use anything else we package in nixpkgs :)
<LnL> since you only need it at build time it probably doesn't really matter, it currently already has some go dependencies IIRC
mkoenig has joined #nixos
<rmrfroot> ok, cool! :)
polyrod_ has quit [(Remote host closed the connection)]
<gchristensen> oooohh `rkt fetch`
<LnL> lol
MichaelRaskin has joined #nixos
<gchristensen> yeah no :(
<gchristensen> it is very tough to explain what it is I'm looking for. "You mean you don't have dockerd?" right. "And you're running on the registry server?" no ...
<gchristensen> "so you built this image?" no
<LnL> well yeah that happens when you talk to docker people :)
<rmrfroot> hehe
<LnL> container all the things
<pikajude> hey all, i've been stuck on this for 45 minutes
<digitalmentat> does anyone know what the transitivity of `preferLocalBuild` set within an input derivation to another derivation, is?
<pikajude> what should I do
feepo has joined #nixos
<gchristensen> pikajude: cancel and retry I'd imagine
Itkovian has joined #nixos
<pikajude> gchristensen: any idea how many times I need to retry it?
<pikajude> this is try #4
<digitalmentat> for instance if I have a writeText as an input to a derivation, does that mean Nix will prefer to build the top-level derivation locally too?
matthewbauer has quit [(Ping timeout: 255 seconds)]
<gchristensen> digitalmentat: I wouldn't expect it to :/
<gchristensen> pikajude: oy :(
grpala has quit [(Quit: box shutting down...)]
<digitalmentat> hmmm
<pikajude> nix, why are you so frustrating
<rmrfroot> wow, interesting. so you first need to download a manifest for the image and then download each layer of the image one-by-one.
<gchristensen> rmrfroot: and then somehow compile that in to a image
<rmrfroot> yeah :S
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<digitalmentat> rmrfroot, I have an enormous amount of experience with that if you need any help
mkoenig has quit [(Ping timeout: 240 seconds)]
<rmrfroot> digitalmentat: with the docker registry API 2? :)
<digitalmentat> yes
<gchristensen> digitalmentat: :D we're trying to fix pullImage to work with registry v2
<LnL> pikajude: it looks like it's using builtins.fetchTarball, perhaps rm -r ~/.cache/nix might help
<digitalmentat> gchristensen, that would be nice
<digitalmentat> though we needed something other than what pullImage would give us
<gchristensen> digitalmentat: say I've downloaded a bunch of layers, how do I compile them in to a `.tar` for `docker load`?
<digitalmentat> gchristensen, great question, I spent a week figuring it out
<gchristensen> omg
<digitalmentat> you first need to request a manifest V2 from the registry
<digitalmentat> which requires a different Accept header than the default one
<digitalmentat> once you have that
cjhowe has joined #nixos
mld_ has joined #nixos
<digitalmentat> you'll have a reference to the image's config file and all the layers
mkoenig has joined #nixos
<digitalmentat> you need to download the config file
<digitalmentat> all the layers
<digitalmentat> then you need to craft a manifest.json and a repositories file (which is also a JSON file just no suffix)
<digitalmentat> note
<digitalmentat> when you `docker save` it outputs an image format that is BACKWARDS COMPATIBLE
<pikajude> LnL: didn't
<digitalmentat> so you DO NOT need to replicate what `docker save` outputs
<digitalmentat> I made the mistake of doing that
civodul has joined #nixos
<digitalmentat> until a docker dev pointed out that all you need to do is produce a docker image spec v2 compatible image
<gchristensen> digitalmentat: hrmm ... will you be around a few minutes?
<digitalmentat> yes I will
<LnL> digitalmentat: sounds like you got pretty far already
<digitalmentat> we're using it in production
<gchristensen> digitalmentat: I want `application/vnd.docker.distribution.manifest.v2+json`?
<digitalmentat> I wrote a non-trivial set of Haskell utilities for pulling from the docker registry v2, producing images, including a custom `fetchdocker` derivation that fetches individual layers into the store (so you can dedupe an image) and produces the manifest.json, repositories json, and a generateImage.sh script that can be used to stream a tar archive to docker load on the fly
<digitalmentat> gchristensen, yes
<LnL> wow, is that something you could contribute?
<digitalmentat> yes, we plan on contributing it in February and I spent a lot of time polishing it over the last two weeks (including a `docker2nix` that generates the fetchdocker and fetchDockerLayer derivations given a manifest json for you)
<digitalmentat> I can talk to my supervisor about sharing it publically "quietly" if you guys need it, like now
<digitalmentat> but we don't consider it to be prime-time ready; it has tests and code is heavily documented but it's lacking a lot tutorials and markdown documentation
<joko> Hello, is is possible to use my current nixos-config to create a custom CD?
<joko> digitalmentat: please do so :D
<gchristensen> digitalmentat: I would happily wait until you can share the good stuff for real, but right now I just want to grok it ... so now I have this: https://gist.github.com/grahamc/a2f02e2b981bccc40bb09379a4906a09
<digitalmentat> gchristensen, this is @ixmatus BTW
<gchristensen> well shit, I just left Austin like ... a few months ago :P
<rmrfroot> digitalmentat: as in the orgmode-parse author?
ryantrinkle has joined #nixos
<gchristensen> digitalmentat: I'm successfully downloading the layers, what does my FS need to look like?
<digitalmentat> rmrfroot, yes
<digitalmentat> gchristensen, lemme put up a gist to show you filesystem tree layout
<joko> So, I have sth like "nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/my-cd.nix" and it works ok, but I would like to add modules from my own nixos configuration. I was thinking using something like "nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/my-cd.nix -I mysetup=/etc/nixos" and inside the imports to do sth like "<mysetup>/modules", is i
<joko> t possible?
<rmrfroot> digitalmentat: cool :D i love that library. learned so much from it
<gchristensen> digitalmentat: that'd be hugely helpful
<LnL> digitalmentat: I don't really need it, just sounds very useful for everybody so it's great to hear that you guys are planning to release it
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/vMccw
<NixOS_GitHub> nixpkgs/master 8fda707 Tim Steinbach: kernel: 4.4.39 -> 4.4.40
<NixOS_GitHub> nixpkgs/master ecf87b1 Tim Steinbach: kernel: 4.8.15 -> 4.8.16
<NixOS_GitHub> nixpkgs/master c1d20ea Tim Steinbach: kernel: 4.9.0 -> 4.9.1
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-16.09: https://git.io/vMccM
<NixOS_GitHub> nixpkgs/release-16.09 e4d7458 Tim Steinbach: kernel: 4.8.15 -> 4.8.16...
<NixOS_GitHub> nixpkgs/release-16.09 ecaaea6 Tim Steinbach: kernel: 4.4.39 -> 4.4.40...
<pikajude> ok, nix-prefetch-url now hangs and doesn't respond to ^C
<pikajude> what is Happening to my computer
<MichaelRaskin> A disk write taking too long?
<pikajude> what would it even be trying to write
<gchristensen> I mean, anything? check dmesg?
<MichaelRaskin> nix-prefetch-url tends to fetch files and write them into /nix/store
<digitalmentat> rmrfroot, cool! it's nice to see someone find my work useful! that library needs some love from me though....
<pikajude> not sure what to look for
<fpletz> copumpkin: I looked a keybase a year ago or so and the concept does indeed sound nice and useful, but in today's internet these kinds of services should be fully decentralized. if I understood the workflow correctly, the keybase client is tightly coupled to the (closed source) keybase.io api and service. but does the client verify every information it queries from the server?
<MichaelRaskin> digitalmentat: one could hope that if you create a repository with the license you intend to use for the release and declare it non-production-ready technical preview (until the release checklist is done), those who will not understand the warning shouldn't be interacting with docker anyway…
<LnL> have you checked what it's doing with (strace/dtruss) ?
djvdorp has joined #nixos
matthewbauer has joined #nixos
<fpletz> copumpkin: it seems to me that the keybase.io service acts as a centralized directory and thus a SPOF
mkoenig has quit [(Ping timeout: 248 seconds)]
<gchristensen> fpletz: what keybase does, really, is adds a pretty ui on top of `gpg`
<fpletz> copumpkin: but please, correct me if I'm wrong :)
<MichaelRaskin> pikajude: also it could be that you have some swap pressure
<gchristensen> fpletz: its "verification" via twitter / github / domains is by publishing GPG-signed documents to each of those places
<pikajude> really?
<dmj`> nixos cache is down ?
<pikajude> that doesn't make any sense
<pikajude> nothing else is hanging
<MichaelRaskin> Ah OK
<LnL> dmj`: I doubt it
rmrfroot has quit [(Remote host closed the connection)]
JagaJaga has quit [(Ping timeout: 256 seconds)]
<fpletz> gchristensen: yeah, and that is indeed the good part which I full support :)
<MichaelRaskin> pikajude: maybe attach strace to the process and see what it does right now, as LnL recommends?
<fpletz> I just don't want to create a keybase.io account for such a functionality
<digitalmentat> MichaelRaskin, yes we're doing that for some of the code we're releasing OSS elsewhere (like grpc-haskell) but we're pretty picky about making sure public releases are polished and well-documented
<MichaelRaskin> strace -p should work fine for that (from root)
<gchristensen> fpletz: like my profile: https://keybase.io/graham, via: https://gist.github.com/grahamc/9124549
<gchristensen> fpletz: yes I agree
<LnL> pikajude: or dtruss, that might give you an idea what it's doing
mkoenig has joined #nixos
<fpletz> how can they keep the lights on if I don't pay for their (generally useful!) service? :)
<pikajude> ok, i'll dtruss it
<fpletz> if I were the NSA, that's the service I would build if I can't break encryption :>
<pikajude> ok. it reads certs out of /etc/ssl/certs/ca-bundle.crt
<digitalmentat> and I can show you the format of manifest.json and repositories
<pikajude> then it hangs
<gchristensen> digitalmentat: omg your PS1 is nuts. does this image have only 2 layers?
<MichaelRaskin> Is there an unfinished syscall?
<gchristensen> fpletz: yes, and some people keep their private keys on keybase :(
<LnL> pikajude: huh, why is it looking there
georges-duperon has joined #nixos
<pikajude> LnL: because I set it manually to check if it helped
<pikajude> it makes no difference
<MichaelRaskin> does cat /etc/ssl/certs/ca-bundle.crt > /dev/null work fine?
<digitalmentat> gchristensen, yes this image only has two layers - I had to run hocker-image to pull and assemble and didn't want to wait a long time
<pikajude> yeah
<gchristensen> digitalmentat: ok :) just making sure I was understanding correctly
<pikajude> MichaelRaskin: sorry, yes
<gchristensen> please do show me the rest
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
<MichaelRaskin> pikajude: that was about cat, right? And there are no unfinished syscalls?
<pikajude> i don't know if there are unfinished syscalls
<pikajude> but the cat worked fine
<digitalmentat> gchristensen, here's the manifest.json https://gist.github.com/ixmatus/8f174a40a12500544104df6b36523b89
<MichaelRaskin> strace usually shows the syscall that has been entered and that hsa not finished
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<fpletz> gchristensen: yeah, while it may be convenient of course, I don't understand why they put that feature in the first place - security and trust is by definition unconvenient :/
<pikajude> the last thing I see is a read call
<gchristensen> fpletz: yes I agree :(
<digitalmentat> gchristensen, and `repositories` https://gist.github.com/ixmatus/dda0593bfa6c1080a44bc5d22a482e4f
<MichaelRaskin> Normally, you'd see an open parenthesis in the call without (some) argument values and without close paren
<digitalmentat> that's all you need for a valid Docker Image Spec v2 Image
pie_ has quit [(Ping timeout: 256 seconds)]
<digitalmentat> the layers, config json for the image, manifest.json, and repositories file
<pikajude> MichaelRaskin: i don't see that
<MichaelRaskin> Maybe strace -f -p would show an unexpected child
<pikajude> did you see the gis
<pikajude> t?
<pikajude> i passed -f to dtruss, it still doesn't say anything after the read call
<pikajude> which has apparently completed
<MichaelRaskin> Ah right
<MichaelRaskin> Missed the gist among the docker-related ones
<pikajude> happens
<MichaelRaskin> This is dtruss? Because strace usually decodes err numbers
<pikajude> yeah
<pikajude> strace doesn't exist on osx
<pikajude> to the best of my knowledge
<gchristensen> digitalmentat: "that's all" :)
matthewbauer has quit [(Ping timeout: 256 seconds)]
<MichaelRaskin> Oh. So all my assumptions about syscalls and signals are just wrong
<digitalmentat> gchristensen, well, the V1 image spec is nightmarishly complex
<gchristensen> dmj`: it is a 404, not a server broken
<digitalmentat> with their whole chainid hashing scheme!? I implemented ALL OF THAT to find out it was all pointless for Docker >1.10
<gchristensen> there is no root file in the cache
<gchristensen> digitalmentat: omfg
<LnL> dmj`: that points to cloudfront, so if you're having issues it's usually something regional
<dmj`> ah
<digitalmentat> I only figured this all out because I found a bug in their chainid hashing scheme, raised the bug with docker and got ahold of one of the core devs who then asked me what I was tryign to do - in like two comments he corrected a bunch of missing knowledge
<digitalmentat> which I hope I've just spread a little bit ;)
<gchristensen> digitalmentat: do I need to make my own manifest.json?
<MichaelRaskin> pikajude: maybe you still can check if there is a child process with an unfinished syscall
<gchristensen> digitalmentat: because the manifest I'm fetching doesn't match your manifest.json
<pikajude> how can I check that
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<gchristensen> ah, yes, you already said so
<MichaelRaskin> Probably some flag to the tracer
cjhowe has joined #nixos
zraexy has quit [(Ping timeout: 248 seconds)]
mizu_no_oto has joined #nixos
<digitalmentat> gchristensen, the manifest you're fetching is a _registry_ manifest
<digitalmentat> the manifest in the image is a different "manifest"
<pikajude> okay
<pikajude> well it's not telling me about the child processes
<digitalmentat> the registry manifest gives you the digests to know what to fetch from the registry
<MichaelRaskin> Maybe there are none
<MichaelRaskin> Which could be fine
<pikajude> there aren't
<digitalmentat> incidentally, the digests in the manfiest can be converted to hashes Nix knows about and used for fixed output derivatinos without prefetching them :D :D
<pikajude> i read the source code
<gchristensen> digitalmentat: I don't even, goodness gracious buddy
<gchristensen> amazing
<digitalmentat> which is how we do it with our custom docker2nix haskell utility and fetchdocker derivations
<digitalmentat> gchristensen, yeah it was extremely painful for me to figure this stuff out
<gchristensen> so you make a derivation per layer?
<digitalmentat> yeah
<gchristensen> huh
<MichaelRaskin> Well, I am never sure some build of curl doesn't spawn a few threads just for fun
<gchristensen> the tooling built in to nixpkgs has one sha for the whole thing and even if one layer changes it does it all over again
<pikajude> well, curl works fine
<digitalmentat> gchristensen, yeah I did it that way at first too
<MichaelRaskin> With the same argument as nix-prefetch-url uses?
<digitalmentat> but it ended up creating multi-gig sized upgrades
<digitalmentat> so I redid it
<digitalmentat> so we could fetch the layers into the store directly
<gchristensen> I bet ... nice... very nice.
<digitalmentat> and "on the fly" generate a composite image and stream it into docker load
<gchristensen> :|
<digitalmentat> from the componets in the nix store
<gchristensen> please contribute this ASAP
takle has joined #nixos
<digitalmentat> gchristensen, I will :)
<digitalmentat> what's also neat about how we're doing it, is that, you don't need to actually prefetch the layers in order to get their hashes and produce the derivations - you only need to fetch the manifest
<digitalmentat> it's pretty slick
<gchristensen> sounds very light weight and nice
<digitalmentat> it's eliminated a whole class of docker pull related hidden behaviors we were experiencing
<gchristensen> *sigh* so cool
binaryphile has quit [(Quit: Leaving)]
<__red__> So, I found a bug in a nixpkg, if it's sometging I could fix should I open an issue, then submit a pull request or just submit the pull request?
<gchristensen> just do a PR, __red__
<gchristensen> thank you :)
<__red__> np, hopefully you can geyt that into unstable asap so I can switch back to unstable for my production systems :-)
<__red__> also - I submitted a PR a long time ago that got merged in
<toogley> i receive this error after sudo nixos-rebuild switch http://ix.io/1Pl7 and resetting to a previous config doesn't help. what can i do
<toogley> ?
<__red__> any reason I can't nuke my old repo (that it was PR'd from) and re-create it?
<hodapp> I'm setting an almost identical shell.nix to the final comment in https://github.com/NixOS/nix/issues/318 and still getting this error... gaaah
sellout-1 has joined #nixos
sellout- has quit [(Read error: Connection reset by peer)]
hiratara has quit [(Ping timeout: 255 seconds)]
rmrfroot has joined #nixos
<hodapp> it's clearly *reading* my shell.nix, just not setting LANG for some reason... or something
<hodapp> "pure: false" is also making no difference
matthewbauer has joined #nixos
hiratara has joined #nixos
<gchristensen> digitalmentat: where does `repositories`'s latest come from?
<digitalmentat> you have to generate it
<digitalmentat> `manifest.json` and `repositories` need to be generated
<gchristensen> yeah, but is it the last layer in the repository manifest?
<digitalmentat> yes it is
<gchristensen> cool
<digitalmentat> I raged very hard many times on these exact questions
<digitalmentat> I wish I had me to ask these questions three months ago, lol
<digitalmentat> *I wish I had me to answer these questions I asked three months ago
<FRidh> toogley: why did you install the python3 version?
<digitalmentat> anyway, I'm really happy you're interested in the knoweldge, so now it's at least being spread
<digitalmentat> gchristensen, I alaso intend to have all of those questions documented
<FRidh> toogley: according to b3608c378c4a086f05333502cc753182ea02c89d its broken
<FRidh> toogley: it didn't finish the rebuild so you didn't actually switch so there's nothing you have to do.
<toogley> FRidh: ah, okay. thanks
matthewbauer has quit [(Ping timeout: 240 seconds)]
cpennington has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 6 new commits to staging: https://git.io/vMcBW
<NixOS_GitHub> nixpkgs/staging 7bdf2a4 Vladimír Čunát: gdk-pixbuf: maintenance 2.36.2 -> 2.36.3
<NixOS_GitHub> nixpkgs/staging e2cde15 Vladimír Čunát: flac: 1.3.1 -> 1.3.2...
<NixOS_GitHub> nixpkgs/staging 9a9912a Vladimír Čunát: harfbuzz: 1.3.4 -> 1.4.1
<hodapp> can anyone who has a moment try running "stack haddock" on https://github.com/Hodapp87/analyze/tree/nix?
<gchristensen> digitalmentat: https://gist.github.com/grahamc/84a0add5ed4ae64351e8a8275b8d2700 does this look right?
<gchristensen> and from there I just tar it up?
<__red__> hmm, is this illegal output for nix-channel --list
<__red__> ?
<gchristensen> no it just means you have the same channel URL listed under 2 names
<__red__> 'k, I just keep getting this error: warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’ does not exist, ignoring
<__red__> I'm guessing it's because I nix-env -i'd something on a different channel
<__red__> and I don't know how to get the __user__'s environment to realize
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<mitchty> anyone perchance use git subtree?
<gchristensen> digitalmentat: you have been incredibly helpful today, I can't even fathom the hell you went through to figure this out
<LnL> mitchty: I know a little bit about it
<mitchty> LnL: just curious if anyone in nixos land has used it ok with git subtree pull on 2.11.0
<copumpkin> fpletz: their design intentionally avoids storing actual signatures, and rather just points you at signatures on other services
<copumpkin> fpletz: so rather than them saying "I checked your twitter signature, and thus you are indeed twitter user X." it simply stores a reference to the tweet you made with the signature
<mitchty> i'm at work atm and execsnoop requires me to turn off sip nonsense on the mac, but git is execing some totally unrelated git-subtree
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<copumpkin> fpletz: that way third parties can verify it independently. Sure, they could point you somewhere else, but they go out of their way to avoid doing any verification for you
<mitchty> which is missing a switch to git merge to let the git subtree pull work on unrelated histories
<copumpkin> fpletz: (same with all their other verifications, like reddit, github, etc.)
<mitchty> i'll mess with it tonight if nobody has used it and figure out whats going on
<gchristensen> copumpkin: except their twitter / dns / etc. signatures are stored by them
<copumpkin> gchristensen: they weren't last time I looked, but I haven't used it in a while
<gchristensen> and your tweet is a reference back to keybase.io
mkoenig has quit [(Ping timeout: 246 seconds)]
<copumpkin> oh, sure
<copumpkin> but that's not SPOF-y
<gchristensen> I mean ... they're storing your signature
Itkovian has joined #nixos
<copumpkin> can they forge it?
<gchristensen> no
<gchristensen> but example: https://news.ycombinator.com/user?id=grhmc links back to keybase to show my signatures on the document.
<gchristensen> they could, actually, forge it if I had them store my private key
<copumpkin> ah
<copumpkin> that's the sort of thing I was talking about
<fpletz> copumpkin: they can't forge it but they are the only point where you can get the references right? or is there another way to enumerate all accounts of an identity?
mkoenig has joined #nixos
<gchristensen> yeah gists are bigger so they can actually store the sig
<manveru> digitalmentat: man i wish i could have your code today :)
<copumpkin> fpletz: they let you "follow" a user by having your own key sign the references, so you can verify them yourself later
Itkovian has quit [(Client Quit)]
<manveru> digitalmentat: compared to what we have right now in our docker build tools, your standards sound like a magnitude better...
<fpletz> copumpkin: no, I mean, how do find out that I linked my github account to my identity? I have to query the keybase.io api, right?
<copumpkin> gchristensen: even that signature reference looks well though tout
mrkgnao has quit [(Quit: WeeChat 1.6)]
truh has quit [(Ping timeout: 240 seconds)]
<manveru> i'd kill to have caching docker layer builds, it's what we waste like 95% of time on right now
<digitalmentat> gchristensen, yes that looks correct - keep in mind if you have self-hosted registry that needs to be included in the reponame-imagename
<copumpkin> fpletz: sure, but they're only claiming to be an aggregator, and trying to keep themselves out of any business of verifying identity for you
<copumpkin> in as cryptographically responsible manner as possible
<LnL> what the heck is going on, I can't use my keyboard in by bios
<digitalmentat> gchristensen, you're very welcome, and yes it was a lot of time spent grokking Go code, doing biology experiments, etc.
<LnL> only ctrl-alt del seems to work :(
<digitalmentat> manveru, we will release this stuff (with good documentation too)
<copumpkin> gchristensen: as in, it's a reference to what looks like a merkle tree of signatures
<copumpkin> at least at first glance
<digitalmentat> it's nto happening right now because company needs are higher priority right now but we fully intend on open sourcing this; most likely in February but if I can get some time to polish enough to release it OSS and write good enough documentation I will
<digitalmentat> I still need to polish and finish my setcap-wrapper pull request that stalled :(
<gchristensen> digitalmentat: holy crap it works.
<digitalmentat> ;)
<copumpkin> fpletz: anyway, I haven't been keeping up with keybase, but it seemed well thought out and like they had their head in the right place when I last looked
<digitalmentat> also gchristensen note that docker load can handle gzipped layers
<digitalmentat> so your layers don't have to be uncompressed `tar` files
<fpletz> copumpkin: yes, I agree and also understood it like you say… it's just that I don't like to have a central directory with those references
<gchristensen> nice
<fpletz> copumpkin: right now the keybase client doesn't work without keybase.io if I understood that right, so that's my problem :)
mkoenig_ has joined #nixos
<fpletz> maybe I'm getting old \o/
<copumpkin> fpletz: ah, back in the day they had a simple node.js thing that could do a lot of the stuff offline, but obviously anything that requires lookups is going to need to hit their site
<copumpkin> curious how you'd deal with the problem of linking online identities without something like this
<gchristensen> I can make a signed declaration on my grahamc.com that my github is X my twitter is Y my ... is Z ... and post a link to all those places
matthewbauer has joined #nixos
<copumpkin> gchristensen: you'd need to link _from_ them, too
<copumpkin> otherwise I'll add a signed declaration to copumpk.in that says I own your twitter too :)
<gchristensen> sure a separate declaration with those links
<copumpkin> someone devised a simple protocol for this a while back, but not everyone hosts a site
<gchristensen> do it on a gist?
<copumpkin> how are people to discover that?
<gchristensen> how are they going to discover me on keybase?
<copumpkin> the hope (assuming it becomes widespread enough) is that it becomes the place to go look someone up
<gchristensen> why are they going to look them up?
<copumpkin> to find out your profiles on different sites? I dunno
<copumpkin> google-stalking?
<gchristensen> *shrug* I dunno
<LnL> hey there we go, system profiles <3
<digitalmentat> setcap-wrapper and fetchdocker work I think the company will give me some time in February to get across the finish line
siarheit_ has quit [(Ping timeout: 246 seconds)]
mld_ has quit [(Quit: Page closed)]
nanobapt has joined #nixos
mpraglowski has joined #nixos
jgrasser has quit [(Ping timeout: 245 seconds)]
<gchristensen> digitalmentat: can I put arbitrary info in the RepoTags line?
<gchristensen> ie: use that as an ID for image management / system management?
<digitalmentat> I beleive so, IIRC I've "retagged" image before by mutating that value
hiratara has quit [(Quit: ZNC - http://znc.in)]
<gchristensen> nice
<digitalmentat> though we ran into the issue of establishing provenance so we efforted to keep it as consistent as possible
<gchristensen> yeah
<gchristensen> this is for "hack week" so I'm not real fussed
nanobapt has quit [(Ping timeout: 245 seconds)]
hiratara has joined #nixos
jgrasser has joined #nixos
mkoenig has quit [(Ping timeout: 248 seconds)]
phreedom has joined #nixos
mkoenig has joined #nixos
<manveru> gchristensen: you built an image with it?
<gchristensen> I fetched an image
mkoenig_ has quit [(Ping timeout: 248 seconds)]
FareTower has joined #nixos
<joko> In Hydra I would like to fetch just an attribute inside a default.nix file and build it, is it possible?
<joko> e.g. now I'm doing "nix-build -A config.system.build.isoImage", is there a way to put it in a nix file for Hydra?
<LnL> I'm not sure how I would have recovered on a non nixos system
<gchristensen> oh?
<gchristensen> digitalmentat: you're incredible!
<digitalmentat> you're welcome :)
<gchristensen> my demo for work is going to blow everyones' mind.
<digitalmentat> I really want to release the `hocker` project soon as it provides CLI utilities that do all of this for you :)
<gchristensen> yes please
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #21704: kde-gtk-config: follow symlinks for cursors (master...master) https://git.io/vMZ1h
<digitalmentat> it was fun, I used `hnix` to produce a Nix AST in Haskell that pretty-prints the fetchLayer derivations out
<digitalmentat> for the docker2nix utility
<gchristensen> LnL: can you believe our luck today? first rmrfroot, then digitalmentat?
mpraglowski has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
<LnL> I know right
matthewbauer has quit [(Ping timeout: 258 seconds)]
<LnL> also just bicked my system, but because it's nixos the hardest part was changing a bios setting :D
mpraglowski has joined #nixos
<gchristensen> what'd you do? haha
<LnL> messed up something with the mounting
<LnL> also isn't pulseaudio supposed to start when I login?
* gchristensen is heading out
<gchristensen> good luck ;)
mpraglowski has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
<Ralith> I thought pulse normally started on demand
mpraglowski has joined #nixos
<LnL> yeah, never seems to happen on my machine
Itkovian has joined #nixos
rmrfroot has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
alx741_ has joined #nixos
matthewbauer has quit [(Ping timeout: 240 seconds)]
alx741 has quit [(Ping timeout: 245 seconds)]
alx741_ has quit [(Client Quit)]
matthewbauer has joined #nixos
alx741 has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
fare__ has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
FRidh has quit [(Remote host closed the connection)]
FareTower has quit [(Ping timeout: 245 seconds)]
<LnL> ooh staging was merged in :)
hoodoo_wrk has joined #nixos
AllanEsp1nosa has quit [(Ping timeout: 240 seconds)]
mpraglowski has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
derjohn_mob has joined #nixos
<gchristensen> MichaelRaskin: I don't understand your comment here, about .21 vs. .20 https://github.com/7c6f434c/nixpkgs/commit/5ebee164fa9fa4f9ed0a52ba86faf845a6c3f172
<hoodoo_wrk> Hi, I have a platinum question: if one follows unstable channel, is there a way to install from master and use something the size of a window manager?
<hoodoo_wrk> I've managed to install awesome 4.0 in my local environment and even tricked slim into launching it, but I can't start anything but xterm from that session.
<simpson> hoodoo_wrk: Yeah, Awesome's a little busted. You can do $(awesome & disown) from that xterm though.
mpraglowski has joined #nixos
<dash> awesome not working well in nixos? maybe i won't switch my laptop over this weekend :-/
AllanEsp1nosa has joined #nixos
<hoodoo_wrk> simpson: for real? Would that work?
<simpson> dash: Awesome 4.0 broke stuff.
<hoodoo_wrk> dash: 3.5 works OK
<simpson> hoodoo_wrk: Worked for me this morning.
<hoodoo_wrk> Holy fuck.
<hoodoo_wrk> So it's not NixOS being weird.
<hoodoo_wrk> It's shell session.
<hoodoo_wrk> Cool cool cool, must try that!
mpraglowski has quit [(Client Quit)]
<hoodoo_wrk> Because they dislike 3.5.9 so much that they dropped the docs now.
Wizek_ has quit [(Ping timeout: 240 seconds)]
Wizek has quit [(Ping timeout: 245 seconds)]
<simpson> FWIW this has inspired me to finally learn how the fuck XMonad works.
<hoodoo_wrk> The guys at #awesome kindly compiled me a copy of api reference.
mpraglowski has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<hoodoo_wrk> Last time I tried it I was freaked out by the number of packages the damn thing pulled in.
<hoodoo_wrk> Makes sense though, xmonad or stumpwm.
ilja_kuklic has joined #nixos
k0001 has quit [(Quit: Connection closed for inactivity)]
Itkovian has joined #nixos
hoodoo_wrk has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Client Quit)]
mkoenig has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vMcrj
<NixOS_GitHub> nixpkgs/master e9ab1a6 Maximilian Güntner: cpp-ipfs-api: 2016-11-09 -> 2017-01-04...
<NixOS_GitHub> nixpkgs/master 887e703 Franz Pletz: Merge pull request #21640 from mguentner/cpp_ipfs_api_update...
mkoenig has joined #nixos
ryantrinkle has quit [(Ping timeout: 256 seconds)]
cjhowe has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]