worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
teto has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 272 seconds]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos-dev
drakonis has joined #nixos-dev
alp has quit [Ping timeout: 265 seconds]
Scriptkiddi has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has quit [Quit: killed]
das_j has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
ajs124 has joined #nixos-dev
marek has quit [Ping timeout: 272 seconds]
marek has joined #nixos-dev
orivej has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.8]
drakonis has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-dev
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-dev
lightbulbjim has quit [Quit: Connection closed for inactivity]
sphalerite has quit [Ping timeout: 260 seconds]
sphalerite has joined #nixos-dev
cocreature has quit [Quit: A monad is just a monoid in the category of endofunctors, what's the problem?]
cocreature has joined #nixos-dev
tilpner_ has joined #nixos-dev
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
justanotheruser has quit [Ping timeout: 260 seconds]
__monty__ has joined #nixos-dev
orivej has joined #nixos-dev
asbachb has joined #nixos-dev
<asbachb> Can someone double check that statement: https://github.com/NixOS/nixpkgs/pull/89178#discussion_r432688204
greizgh has quit [Quit: greizgh]
greizgh has joined #nixos-dev
__monty__ has quit [Ping timeout: 256 seconds]
__monty__ has joined #nixos-dev
asbachb has quit [Ping timeout: 245 seconds]
alp has joined #nixos-dev
calbrecht has quit [Remote host closed the connection]
teto has joined #nixos-dev
__monty__ has quit [Ping timeout: 246 seconds]
__monty__ has joined #nixos-dev
alp has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
<Profpatsch> wow, passive agressive much
<Profpatsch> To be helpful: the above is about whether postfix requires cacert in its buildInputs
<manveru> is there some way to make a `configure.ac` file with `AC_CHECK_FILE` work when cross-compiling?
<manveru> apparently the netmworkmanager module has a non-optional dependency on openfortivpn, which uses this function
<manveru> well, got NM to cross-compile for my rpi, on to the next issue :P
teto has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 272 seconds]
teto has joined #nixos-dev
orivej has joined #nixos-dev
<prusnak> does nixpkgs have "review swaps"? - fedora has it - if your package is not reviewed for long time, you can offer a review swap - that is: you'll review someone's PR and they'll review yours
<infinisil> Sounds like a cool idea!
drakonis1 has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
alp has joined #nixos-dev
orivej has joined #nixos-dev
<m1cr0m4n> Hey folks. I'm trying to debug a buildInput missing from the path whilst building a go module. I looked at the source and it looks like buildGoModule doesn't actually use buildInputs anywhere? https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/go-modules/generic/default.nix hopefully I'm wrong
<Valodim> m1cr0m4n: the mkDerivation takes an attrset that's built as "args // { more stuff }"
<Valodim> where args is the arguments passed to the whole construction
<Valodim> minus three attributes removed in line 43
alp has quit [Ping timeout: 272 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 246 seconds]
drakonis2 has joined #nixos-dev
drakonis has quit [Ping timeout: 260 seconds]
Jackneilll has joined #nixos-dev
Jackneill has quit [Read error: Connection reset by peer]
<m1cr0m4n> Valodim: Hm yes, I guess my problem is that it's not getting used in go-modules on line 51.
<Valodim> ah. indeed
<m1cr0m4n> Do you think that's PR worthy? I mean, nativeBuildInputs is being pulled in, I don't see why one wouldn't pull buildInputs in too
<Valodim> I have no idea. you could either whip that up as a base for discussion, or ping some go maintainer about it
<m1cr0m4n> Ok grand
<m1cr0m4n> Time to reboot my server now
m1cr0m4n has quit [Quit: G'luck]
m1cr0man has joined #nixos-dev
justanotheruser has joined #nixos-dev
averell has quit [Quit: .]
drakonis has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis2 has quit [Ping timeout: 272 seconds]
drakonis has quit [Ping timeout: 260 seconds]
calbrecht has joined #nixos-dev
delroth has quit [Ping timeout: 260 seconds]
delroth has joined #nixos-dev
<LnL> is there a way to start a repl for flakes?
teto has quit [Ping timeout: 240 seconds]
<manveru> LnL: yeah
<manveru> well, a bit indirect
<manveru> `nix repl`, and then `x = getFlake (toString ./.)`
<LnL> oh, had no idea there was a builtin
<manveru> :)
dottedmag has quit [Quit: QUIT]
teto has joined #nixos-dev
<manveru> this is so cool for nixos configs
<manveru> you can reference other configs in your config in a nixops way
<manveru> like that: `inputs.self.nixosConfigurations.omikron.config.networking.hostName`
<manveru> still have to test how large the memory impact is
dottedmag has joined #nixos-dev
dottedmag has joined #nixos-dev
dottedmag has quit [Changing host]
<LnL> my current approach to reference inputs s to make them available in module args
<manveru> there's `specialArgs` in `lib.nixosSystem` for that
<manveru> i guess it's pretty similar
<manveru> so with 40 nixos configs in the same flake, building one takes between 9 and 16 seconds
<manveru> given how large my configs are, this is amazing :D
<manveru> of course once built, it only takes 3ms to build again, thanks to eval caching
<LnL> yeah evaluation feels really snappy, I have run into a few caching issues tho
<manveru> oh?
<LnL> btw I've only seen examples with modules for nixops, is there a way to use it outside if that?
<manveru> i only found it odd that failures are cached now, but it doesn't show you what the failure was, only that they failed...
<LnL> having evaluation errors cached but not repeat the traceback is pretty annoying
<manveru> it will make hydra a whole lot faster though i guess :P
<LnL> also --impure doesn't impact the cache so if you forget to run with that the purity error gets cached
<manveru> aye
<manveru> what do you mean with nixops modules?
<manveru> my last experiment was converting a raspberry config into flakes... but cross-compilation in unstable seems quite rough atm
<LnL> I've been messing with it a bit for nix-darwin but from what I can tell you can't use a flake with eg. nixos-rebuild
<manveru> you can
<manveru> `nixos-rebuild --flake .#yourhostname switch`
<LnL> so did some stuff that mostly works but would be nice to compare
PkmX[m] has joined #nixos-dev
<manveru> well, it defaults to your hostname, but i wrote this mostly for exposure :)
<LnL> oh, thought I looked at nixos-rebuild already
<manveru> so just `nixos-rebuild --flake . switch` would build the nixos config in the flake in the current dir that matches your hostname
<manveru> while `nixos-rebuild --flake switch` will check /etc/nixos/flake.nix
__monty__ has quit [Quit: leaving]
alp has joined #nixos-dev
globin_ has joined #nixos-dev
globin has quit [Ping timeout: 260 seconds]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-dev
ciil has quit [Quit: Lost terminal]
<garbas> Mic92: tnx for the video review. Do you think the alpine "joke" at the end is ok?
<Mic92> garbas: Yes.
<garbas> tnx. with jokes you can never be too sure if they get understood :)
<Mic92> garbas: the website does not mention macOS explicitly anymore. Is this supposed to be this way?
<Mic92> Oh. it did not before
<garbas> I was just about to ask you where it was mentioned before.
justanotheruser has quit [Ping timeout: 260 seconds]
<garbas> the text did not change to much. it is just rearranged. now the hard part becomes to come up with the text
<Mic92> I am not sure if macOS is supposed to be advertised but given that the desktop marketshare is twenty times higher than Linux ...
justanotheruser has joined #nixos-dev