<domenkozar>
now I'm not sure when nix checks this, probably it doesn't do it locally and it's fine
<LnL>
referances are store paths, that doesn't change if you reupload
<domenkozar>
hmm actually nevermind, that should work
<domenkozar>
references only contains hashes yeah :)
<LnL>
atleast that's what I thought
<LnL>
so references are: store path -> narinfo -> [store path]
<LnL>
messing with the narinfo/nar in between might mess up caching, but the rest should be fine
<domenkozar>
yes you're right :)
<LnL>
also deleting part of a path will break nix-store -r <path> substitution since there's no way to rebuild what's missing, but that's not unreasonable
<domenkozar>
if you only delete nars, in theory it could work
<domenkozar>
but I've never tested that
<LnL>
it falls back to building locally just fine, the narinfo cache just doesn't invalidate
pie__ has quit [Ping timeout: 250 seconds]
ixxie has quit [Ping timeout: 246 seconds]
ixxie has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
ixxie has quit [Ping timeout: 250 seconds]
phreedom has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos-dev
pie__ has joined #nixos-dev
<domenkozar>
I'm a bit confused now
<domenkozar>
platforms.linux does include aarch64-linux?
<domenkozar>
in job ‘nixpkgs.kodiPlain.aarch64-linux’:
<domenkozar>
Package ‘oraclejre-8u191’ in /nix/store/3mnnncadb1p8nl4jj6yzdql2hza8wc6x-source/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix:71 has an unfree license (‘unfree’), refusing to evaluate.
<domenkozar>
ugh
<domenkozar>
jre8 = if stdenv.isAarch32 || stdenv.isAarch64 then oraclejre8 else lib.setName "openjre-${lib.getVersion pkgs.openjdk8.jre}"
<domenkozar>
meh
<gchristensen>
no openjre for aarch64
<domenkozar>
so kodi uses java to generate some code
<domenkozar>
I wonder how they get around that for arm
<andi->
domenkozar: I never escaped the attempts of bootstrapping a openjdk from sources of some kind.. I avoided binary bootstrap sources but even with those openjdk wouldn't easily compile
<domenkozar>
it seems to be that we just use binary artifacts for linux anyway
<clever>
ive noticed that the gcc bootstrap in nixpkgs, was itself made by nix
<clever>
but the ghc bootstrap, isnt
<clever>
and some of the ghc versions, are built by other ghc's, that are build by the bootstrap
<clever>
so you have to build 2 or even 3 ghc's to get the one you want, starting from a blob that came from ousdide nix