<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>
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?