Genode Packages collection https://git.sr.ht/~ehmry/genodepkgs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 380B

1234567891011
  1. { nixpkgs, apps, packages }:
  2. nixpkgs.writeScriptBin "render-init" (with nixpkgs.buildPackages; ''
  3. #!${runtimeShell}
  4. set -eu
  5. export DHALL_GENODE=''${DHALL_GENODE:-${packages.dhallGenode}/source.dhall}
  6. ${apps.dhall.program} text \
  7. <<< "(env:DHALL_GENODE).Init.render ($(cat))" \
  8. | ${nixpkgs.buildPackages.libxml2}/bin/xmllint -format - \
  9. | sed 's/&gt;/>/g'
  10. '')