makefu changed the topic of #nixos-wiki to: Welcome to the *unofficial* nixos wiki | https://nixos.wiki | chat logs: https://logs.nix.samueldr.com/nixos-wiki/
joepie91 has quit [Ping timeout: 256 seconds]
joepie91 has joined #nixos-wiki
joepie91 has joined #nixos-wiki
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #nixos-wiki
markus1189 has joined #nixos-wiki
markus1199 has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-wiki
orivej_ has joined #nixos-wiki
orivej has quit [Ping timeout: 268 seconds]
orivej_ has quit [Ping timeout: 240 seconds]
<nixoswikibot> [[Packaging/Python]] N https://nixos.wiki/index.php?oldid=2093&rcid=2113 * Makefu * (+2472) init with pip snippet and dev mode
the_real_plumps has quit [Remote host closed the connection]
the_real_plumps has joined #nixos-wiki
orivej has joined #nixos-wiki
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-wiki
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-wiki
jtojnar has joined #nixos-wiki
<nixoswikibot> [[Hydra]] https://nixos.wiki/index.php?diff=2094&oldid=1957&rcid=2114 * Makefu * (+1123) /* Build a single Package from nixpkgs */
<makefu> i had the edit tab open for almost 2 weeks :D
<nixoswikibot> [[Hydra]] https://nixos.wiki/index.php?diff=2095&oldid=2094&rcid=2115 * Makefu * (+126) 
<makefu> what exactly is an evaluation in nix? i am trying to add this information to the hydra page to describe the two phases. i know in general that the evaluation will result in some kind of thing which in turn can be built
<nixoswikibot> [[Hydra]] https://nixos.wiki/index.php?diff=2096&oldid=2095&rcid=2116 * Makefu * (+466) add note about evaluation
<nixoswikibot> [[Hydra]] https://nixos.wiki/index.php?diff=2097&oldid=2096&rcid=2117 * Makefu * (+202) add declarative building
<gchristensen> evaluation interprets the nix code and converts it to .drv files
<makefu> gchristensen: but when hydra performs an "evaluation" it expects it to return an attrset of derivations? A derivation is essentially a build description, correct?
<gchristensen> hydra basically runs `nix-instantiate .` in the root of the repo
<gchristensen> which emits a list of drvs
<gchristensen> ie: $ nix-instantiate . -A git
<gchristensen> /nix/store/8rpy8a3kzsz5ah3fzhpw7mbcvwf3w59i-git-2.16.2.drv
<gchristensen> it then puts each .drv outputted in to a queue for `nix-build`ing
<gchristensen> * it doesn't literally run nix-instantiate, but it is essentially the same. the difference lies in that evaluation errors in nix-instantiate scuttles the whole thing, and hydra can continue
<gchristensen> does that make sense?
<makefu> yep,definitly. a .drv file is essentially the build recipe, right?
<gchristensen> uhh yeah I suppose so
<gchristensen> you should look at one
<gchristensen> "nix show-derivation nixpkgs.git ~
<makefu> the power of nix2
<gchristensen> "nix show-derivation nixpkgs.git"
<makefu> fantastic
<makefu> not sure why derivations are not simply json files
<gchristensen> well
<gchristensen> it didn't really exist
<nixoswikibot> [[Hydra]] https://nixos.wiki/index.php?diff=2098&oldid=2097&rcid=2118 * Makefu * (+75) remove explicit hydra init, as
<makefu> okay that is a point :D
<nixoswikibot> [[Hydra]] https://nixos.wiki/index.php?diff=2099&oldid=2098&rcid=2119 * Makefu * (+66) update evaluation description
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-wiki
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-wiki
orivej has quit [Ping timeout: 240 seconds]