Sonarpulse has quit [Ping timeout: 240 seconds]
philr has joined #nix-darwin
jrolfs has joined #nix-darwin
jrolfs__ has quit [Ping timeout: 240 seconds]
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
hamishmack has joined #nix-darwin
jrolfs has quit [Ping timeout: 264 seconds]
<Sonarpulse_> pkgs/os-specific/darwin/apple-source-releases/libiconv/default.nix I'm trying to autoreconf this and it won't work
Sonarpulse_ is now known as Sonarpulse
<Sonarpulse> *with autoreconfHook hook that is
<Sonarpulse> had similar problems with ncurses too
<Sonarpulse> if anyone has any ideas, lmk
<Sonarpulse> relatedly it would be nice to autoreconfHook across the board
jtojnar has quit [Ping timeout: 260 seconds]
hamishmack has quit [Ping timeout: 248 seconds]
hamishmack has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
periklis has joined #nix-darwin
__Sander__ has joined #nix-darwin
__Sander__ has quit [Read error: Connection timed out]
__Sander__ has joined #nix-darwin
__Sander__ has quit [Client Quit]
__Sander__ has joined #nix-darwin
philr has quit [Quit: WeeChat 2.1]
peacememories has joined #nix-darwin
peacememories has quit [Read error: Connection reset by peer]
peacememories has joined #nix-darwin
periklis has quit [Remote host closed the connection]
periklis has joined #nix-darwin
periklis has quit [Ping timeout: 256 seconds]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peacememories has joined #nix-darwin
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtojnar has joined #nix-darwin
__Sander__ has quit [Ping timeout: 255 seconds]
__Sander__ has joined #nix-darwin
__Sander__ has quit [Ping timeout: 240 seconds]
__Sander__ has joined #nix-darwin
<ben> (random anecdote: yesterday i spent the afternoon writing up some nix to package tools living on our private github enterprise, using fetchgitPrivate and some trivial NIX_PATH modification. then i wrote up how to install nix + use my overlay in the hopes of selling my coworkers on it. and finally i decided to install nix from scratch to test my own instructions. then everything stopped working because nix
<ben> since defaults to multi-user mode on osx. rip!)
<LnL> --no-daemon
<LnL> also builtins.fetchGit uses the ssh key on the client instead of inside the build
<ben> --no-daemon seems like a last-resort
<ben> Is fetching sources at evaluation time the "officially supported" way of dealing with private repositories?
<LnL> fetchgitPrivate is brittle and unless I'm mistaken that also adds the sources to the store
<LnL> fetchGit has the same behaviour as using git where nix-instantiate happens and for hydra you can use inputs or allowed-uris = ssh://git@example.org
<ben> fetchGit doesn't put the sources into the store?
<LnL> it does
<ben> aight
<ben> I think that's roughly as sensible of a privilege separation I can get
<LnL> I mean that both do so it doesn't matter
<ben> Would be cool if I could run a single-user nix in my homedir for private things as an overlay over regular nix in /nix, somehow :P
<LnL> but unlike fetchgitPrivate _any_ build won't be able to access the ssh socket
<LnL> or key
<ben> yeah, seems good
<LnL> hmm, that's an interesting idea
<ben> my other idea would have been to make the daemon call back to the nix-instantiate process over whatever pipe they have and be like "hey, that fixed-output derivation there, can you actually take care of that, thanks"
<ben> if I use builtins.fetchGit without specifying a revision, is it just gonna evaluate to the same revision forever?
<LnL> no, that's impure so it will check for updates after a small ttl
<ben> cool
<ben> so im definitely gonna tell people to just put a file with builtins.fetchGit "ssh://my-secret-git-server.my-org.com/ben-nix-blah" into their .config/nixpkgs/overlays/
<ben> seems convenient as hell
<ben> +import i guess
<LnL> you don't want that for a toplevel overlay since it will try to update frequently
<LnL> but I do exactly that for a separate attrset
<ben> If I do pass a revision, do I disable the TTL and cache forever?
<ben> Or does it just mean I can force quicker updates by changing the revision?
<LnL> self: super: example = super.example or {} // import fetchGit ("ssh://git@example.org/foo") {};
<LnL> err but with correct parenthesis
<LnL> if you specify a rev it will cache forever since it's fixed output
<LnL> I use a combination of master for users and a pinned revision for ci
__Sander__ has quit [Quit: Konversation terminated!]
philr has joined #nix-darwin
periklis has joined #nix-darwin
jrolfs has joined #nix-darwin
jrolfs has quit [Ping timeout: 260 seconds]
jrolfs has joined #nix-darwin
alexteves has joined #nix-darwin
periklis has quit [Ping timeout: 264 seconds]
jrolfs has quit [Ping timeout: 260 seconds]
jrolfs has joined #nix-darwin
jrolfs has quit [Ping timeout: 260 seconds]
jrolfs has joined #nix-darwin
jrolfs has quit [Ping timeout: 264 seconds]
jrolfs has joined #nix-darwin
philr has quit [Ping timeout: 264 seconds]
jrolfs_ has joined #nix-darwin
jrolfs_ has quit [Ping timeout: 268 seconds]
jrolfs has quit [Ping timeout: 256 seconds]
johnw has joined #nix-darwin
jrolfs has joined #nix-darwin
jrolfs has quit [Ping timeout: 240 seconds]
<johnw> hmm.. nixos-manual-combined is broken on unstable
<gchristensen> uh oh
<johnw> I guess the hydra doesn't test that?
<gchristensen> what'd I do
<gchristensen> link?
<gchristensen> or a gist?
<gchristensen> damn
<gchristensen> wat, how are you building that?
<gchristensen> johnw:
<gchristensen> oh I seee
<gchristensen> johnw: can you send me the revision of home-manager and the relevant parts of your config?
<gchristensen> and what version of nixpkgs?
<gchristensen> something is very weird, I can't replicate on master
<johnw> nixpkgs: af55a0c300224fe9debfc4a57d7ee789e00e649d
<johnw> oops
<johnw> 236a9189e3f6b4cc5410a816620cc8c2ba670734
<johnw> that's current channelsnixpkgs-unstable
<johnw> home-manager: f26cc3b957ef77374f8b5275c1fc62217d13c6e3
<gchristensen> where is the home-manager repO?
<gchristensen> (trying to help & debug from a conf call :$)
alexteves has quit [Ping timeout: 264 seconds]
<johnw> git@github.com:rycee/home-manager.git
jrolfs has joined #nix-darwin
<gchristensen> something is breaking when applying home-managere
<johnw> ah, maybe a bug in that repo?
<johnw> btw, home-manager works with my "last known good" version of nixpkgs
<johnw> (that same current version of home-manager)
<gchristensen> the docs got some nice improvements which I think home-manager is breaking
<johnw> ahh
<johnw> i can enter an issue over there
<johnw> already known
<gchristensen> manual-combined.xml:3483: element xref: validity error : IDREF attribute linkend references an unknown ID "opt-networking.nat.internalInterfaces"
<johnw> yep, the author of home-manager is looking into this problem
<johnw> until then there's a workaround
<gchristensen> oh weird
<gchristensen> ... very weierd
<gchristensen> it is using the nixos docs generation to create docs for its optiosn
<gchristensen> clever and cool, and also a fragile and not really intentionally exposed as a thing to be used :P
<clever> i think nixops does the same?
<LnL> I'm so confused, makeExtensible doesn't override inside of the fixpoint?
jrolfs_ has joined #nix-darwin
jrolfs_ has quit [Ping timeout: 256 seconds]
<LnL> hmm, maybe it's callPackage
jrolfs has quit [Ping timeout: 248 seconds]
<LnL> why does that not work?
<johnw> checking to see what hnix says ;)
<LnL> I want a to be 42, since I'm using the final set for the alias
<johnw> hnix gives a = 41; b = 2;
jrolfs has joined #nix-darwin
<LnL> yeah
<LnL> is that kind of behaviour possible with haskellPackages?
<johnw> (need to fix up the reporting a bit)
<johnw> (i.e., hnix retains the history of reductions that created a given value)
<johnw> hope to have a cool Emacs/Web visualizer for that information soon
<LnL> oh wow
<johnw> I have a feeling that "debugging Nix" will be hnix's first killer app
<LnL> no kidding, that looks very promising
<johnw> oh, and I have a type checker now too :)
<LnL> oh hold on
<LnL> the haskell stuff has a separate layer for overrides
<LnL> I can't the override to where I want :/
jrolfs has quit [Ping timeout: 248 seconds]
jrolfs has joined #nix-darwin
jrolfs has quit [Ping timeout: 268 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrolfs has joined #nix-darwin
hamishmack has joined #nix-darwin
adulteratedjedi_ has joined #nix-darwin
adulteratedjedi has quit [*.net *.split]
justinweiss has quit [*.net *.split]
adulteratedjedi_ is now known as adulteratedjedi
nD5Xjz has quit [Ping timeout: 240 seconds]
nD5Xjz has joined #nix-darwin