13 lines
		
	
	
		
			433 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			433 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
#
 | 
						|
set -euo pipefail
 | 
						|
IFS=$'\n\t'
 | 
						|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 | 
						|
 | 
						|
: "${JOBS:="1"}"
 | 
						|
 | 
						|
nix flake update zsh-histdb --flake "$DIR/../../"
 | 
						|
nix flake update ansible-sshjail --flake "$DIR/../../"
 | 
						|
for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done
 | 
						|
nixos-rebuild build --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#odo" "${@}" |& nom
 |