Update Genode Dhall library
Freeze the library when committing to the Nix store. The Init.toStart function now lowers an only-child automatically, so adjust the Timer service routes in tests accordingly.20.02
parent
895c06ee0b
commit
36f682ccd4
@ -1,10 +1,10 @@
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
{ callPackage }:
|
||||
{ callPackage, dhallApps }:
|
||||
|
||||
rec {
|
||||
prelude = prelude_11_0_0;
|
||||
prelude_11_0_0 = callPackage ./prelude-11.0.0.nix { };
|
||||
prelude_9_0_0 = callPackage ./prelude-9.0.0.nix { };
|
||||
genode = callPackage ./genode.nix { };
|
||||
genode = callPackage ./genode.nix { inherit dhallApps prelude; };
|
||||
}
|
||||
|
@ -1,9 +1,21 @@
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
{ fetchgit }:
|
||||
{ stdenv, fetchgit, dhallApps, prelude }:
|
||||
|
||||
fetchgit {
|
||||
url = "https://git.sr.ht/~ehmry/dhall-genode";
|
||||
rev = "07e16f711038cae1167a8aba22db6f12cc1215c5";
|
||||
sha256 = "1r6sz729bzwmp5vcwcf9vx1ppyqx2zhgy4zxxqv8bvn3nm8z82dz";
|
||||
stdenv.mkDerivation {
|
||||
name = "dhall-genode";
|
||||
src = fetchgit {
|
||||
url = "https://git.sr.ht/~ehmry/dhall-genode";
|
||||
rev = "472a300141766e58a68b605568eb881e0a944eca";
|
||||
sha256 = "03lxxrzyfkgf9c31ds93ndr1bl3a4rlynj377n9rhniz9xzl11y3";
|
||||
};
|
||||
DHALL_PRELUDE = prelude + "/package.dhall";
|
||||
buildCommand = ''
|
||||
export XDG_CACHE_HOME=$TMPDIR
|
||||
cp -r $src $out
|
||||
chmod +w -R $out
|
||||
echo $DHALL_PRELUDE > $out/Prelude.dhall
|
||||
find $out -type f -exec \
|
||||
${dhallApps.dhall.program} freeze --all --inplace {} \;
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue