From 970c8596e86b8bb3ebff5e76e152fa5acdd65f98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 5 Aug 2022 08:19:33 +0200 Subject: Small rework of packages and and devices build --- build-turris.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 build-turris.sh (limited to 'build-turris.sh') diff --git a/build-turris.sh b/build-turris.sh deleted file mode 100755 index d93da81..0000000 --- a/build-turris.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash -set -eu -omnia_hash="bd7ac5d8c08538ec1f126d34b765f0362427fe17" -routers=( "dean" "spt-mox2" "spt-omnia" ) - -cd "${0%/*}" || exit -for system in "${routers[@]}"; do - echo "Building $system" - declare -a args - toplevel=".config.system.build.toplevel" - if [[ "$system" == *omnia ]]; then - toplevel=".config.system.build.cross.x86_64-linux${toplevel}" - args=( \ - "--override-input" "nixpkgs" "github:NixOS/nixpkgs/${omnia_hash}" - "--override-input" "nixturris/nixpkgs" "github:NixOS/nixpkgs/${omnia_hash}" - "--override-input" "nixturris" "/home/cynerd/projects/nixturris" - ) - fi - nix build \ - -o "result-${system}" \ - "${args[@]}" \ - ".#nixosConfigurations.${system}${toplevel}" -done -- cgit v1.2.3