genode/update-tup.sh
Emery Hemingway 969180525f Use patched binary toolchain from Genode Labs
- Fetch and patch GCC distribution
 - Pass Tup config as a file
 - Fold out and dev outputs
 - Remove shellHook code for compatibility with dev-shell
 - Tweak Tup Nix conditionals
 - Add Tupfile.ini
 - Remove custom setup-hook
2020-01-05 20:32:08 +01:00

9 lines
357 B
Bash
Executable File

#! /bin/sh
set -e
mkdir -p configs
nix build .#packages.x86_64-linux-x86_64-genode.tupConfigGcc -o configs/x86_64-gcc.config
nix build .#packages.x86_64-linux-x86_64-genode.tupConfigLlvm -o configs/x86_64-llvm.config
nix run nixpkgs#tup -c tup variant configs/x86_64-gcc.config || true
nix run nixpkgs#tup -c tup variant configs/x86_64-llvm.config || true