worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS 20.03 BETA Announced https://discourse.nixos.org/t/nixos-20-03-beta/5935 | 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
drakonis has quit [Quit: WeeChat 2.7.1]
<gchristensen> anybody around who is pretty great with Python? I have a question: nixops plugins. how should a build of nixops-with-plugins work? should it build a single Python application providing the source of all the plugins in one go? or should each plugin build separately, being passed a nixops-without-plugins, creating a build result, and then using that result to construct the nixops-with-plugins?
<worldofpeace> I'm not sure if the question here is hypothetical, but out of the many plugins systems I've modified or made in nixpkgs the latter makes the most sense to me.
<gchristensen> definitely not hypothetical
<gchristensen> the latter has a problem, though, if you're working on a plugin and nixops at the same time, you have to build nixops -> build the plugin -> build nixops with the plugin, to try it out
<gchristensen> that is the way I was thinking about it, too, though: this three-stepped build
<worldofpeace> right, but the final -> should be so fast you wouldn't notice
<worldofpeace> gchristensen: I've maybe duplicated that pattern 10 times
<gchristensen> true, though nix-shell-based development isn't possible
<aminechikhaoui> gchristensen nix-shell on nixops repo, then PYTHONPATH=/path/to/plugin:$PYTHONPATH seemed like it worked fine
<gchristensen> neat
<aminechikhaoui> not the cleanest though and not sure how to automate from within shellHook with a list of plugins
<aminechikhaoui> but for instance I think that's how nix-shell dev of nixops used to work before the split
<gchristensen> hmm okay if that works I'm happy enough with that
<gchristensen> I'm thinking the plugins do need to actualyl be built, to easily provide their own dependencies
<aminechikhaoui> yeah but that can be once when you enter nix-shell
<aminechikhaoui> then further changes (without adding any build inputs) are picked up without reloading the shell
<gchristensen> hm
<gchristensen> I dunno, this feels shady
<aminechikhaoui> yeah
drakonis has joined #nixos-dev
bhipple has quit [Ping timeout: 258 seconds]
bhipple has joined #nixos-dev
<gchristensen> aminechikhaoui: I think this is what I want: https://gist.github.com/grahamc/e707119e82f286793197edf118cb6012
<gchristensen> worldofpeace: ^
lovesegfault has joined #nixos-dev
bhipple has quit [Ping timeout: 255 seconds]
orivej has quit [Ping timeout: 260 seconds]
bhipple has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.7.1]
lovesegfault has quit [Quit: WeeChat 2.7.1]
lovesegfault has joined #nixos-dev
orivej has joined #nixos-dev
lovesegfault has quit [Ping timeout: 256 seconds]
lovesegfault has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
lovesegfault has quit [Quit: WeeChat 2.7.1]
bhipple has quit [Remote host closed the connection]
MichaelRaskin has quit [Quit: MichaelRaskin]
orivej has joined #nixos-dev
Cale has quit [Ping timeout: 240 seconds]
Cale has joined #nixos-dev
genesis has quit [Remote host closed the connection]
cole-h has quit [Ping timeout: 256 seconds]
__monty__ has joined #nixos-dev
genesis has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
Dandellion has joined #nixos-dev
<Dandellion> hey, what can I do to help get https://github.com/NixOS/nixpkgs/pull/76723 merged?
<{^_^}> #76723 (by jokogr, 8 weeks ago, open): Traefik: 1.7.14 -> 2.1.4
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
vcunat has joined #nixos-dev
<das_j> is it possible to build the nixpkgs tarball with ofborg?
<das_j> and is it wise to do so or is that just creating a high load?
Synthetica has joined #nixos-dev
_ris has quit [Ping timeout: 240 seconds]
psyanticy has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
FRidh has joined #nixos-dev
ixxie has joined #nixos-dev
drakonis has joined #nixos-dev
justanotheruser has joined #nixos-dev
<rnhmjoj> is there anyone familiar with the test machinery that could here in PR #81013?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/81013 (by rnhmjoj, 6 days ago, open): nixosTests.networking: disable virtual test with networkd
teto has joined #nixos-dev
justanotheruser has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-dev
justanotheruser has quit [Ping timeout: 256 seconds]
cole-h has joined #nixos-dev
justanotheruser has joined #nixos-dev
puck has quit [Ping timeout: 248 seconds]
puck has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.7.1]
vcunat has quit [Ping timeout: 240 seconds]
obadz has quit [Quit: WeeChat 2.7]
obadz has joined #nixos-dev
justanotheruser has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
justanotheruser has joined #nixos-dev
Synthetica has quit [Quit: Connection closed for inactivity]
justanotheruser has quit [Read error: Connection reset by peer]
_ris has joined #nixos-dev
psyanticy has quit [Quit: Connection closed for inactivity]
tokudan has quit [Quit: Dunno.]
tokudan has joined #nixos-dev
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos-dev
justanotheruser has joined #nixos-dev
phreedom has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos-dev
teto has quit [Quit: WeeChat 2.7.1]
ixxie has quit [Ping timeout: 256 seconds]
__monty__ has quit [Quit: leaving]
Jackneill has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 256 seconds]
<ashkitten> why is this failing? https://github.com/NixOS/nixpkgs/pull/81563
<{^_^}> #81563 (by ashkitten, 9 minutes ago, open): glimpse: init at 0.1.2
<ashkitten> > access to URI 'https://github.com/glimpse-editor/Glimpse/releases/download/v0.1.2/glimpse-0.1.2.tar.xz' is forbidden in restricted mode
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):284:15
<ashkitten> {^_^}++
<{^_^}> {^_^}'s karma got increased to 170
<gchristensen> lol
<gchristensen> what if you follow jtojnar's sugestion? does that fix it?
<ashkitten> oh i see, it didn't show up until refreshing the page
<ashkitten> is fetchTarball deprecated? i wasn't aware that fetchurl unpacked tarballs
<adisbladis> ashkitten: fetchurl doesn't unpack tarballs
<adisbladis> That happens in unpackPhase
<ashkitten> oh i see
<ashkitten> so if you set the source to a tarball then it automatically gets unpacked for the derivation?
<gchristensen> yea
<ashkitten> so why did it fail evaluation the first time anyways?
<adisbladis> ashkitten: Because the builtin fetchers are not available in restricted eval
<ashkitten> oh huh
<ashkitten> but fetchurl is allowed, i guess?
<adisbladis> ashkitten: pkgs.fetchurl is because it's a fixed-output derivation
<adisbladis> No builtins
<ashkitten> ohh
lovesegfault has joined #nixos-dev
<ashkitten> gchristensen: how do i make ofborg recheck after a force push?
<ashkitten> it passed checks but it shouldn't have
<ashkitten> no idea how it did
<ashkitten> had the wrong sha256 lol
orivej has quit [Ping timeout: 268 seconds]
<ashkitten> oh, looks like it started the check on its own, just took a bit
<worldofpeace> flokli: cool, it looks like Vcunat merged staging-20.03 today. We do this once the eval is complete.
<genesis> hi folks
* genesis 's working on /pkgs/build-support/appimage/default.nix
<genesis> tilpner ;)
<genesis> PR are coming.