From 5a2e34b89e0d912c04b115b31b13728559a0b71c Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 6 Oct 2023 17:16:38 +0200 Subject: [PATCH] home/shell: add aliases for ofborg evals --- home/shell.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/home/shell.nix b/home/shell.nix index 5d36647..c687428 100644 --- a/home/shell.nix +++ b/home/shell.nix @@ -90,6 +90,39 @@ in { hms = toString inputs.nix-attr-search.packages.${pkgs.system}.home-manager-search; nxo = toString inputs.nix-attr-search.packages.${pkgs.system}.nix-option-search; + + # TODO: does this need to be a function? + # ofborg-build = {}; + + ofborg-nixos-eval = { + type = " "; + alias = [ + "HOME=/homeless-shelter" + "NIX_PATH=ofborg-nixpkgs-pr=$(pwd)" + "nix-instantiate" + "./nixos/release.nix" + "-A manual" + "--option restrict-eval true" + "--option build-timeout 1800" + "--argstr system ${pkgs.system}" + "--show-trace" + ]; + }; + + ofborg-pkgs-eval = { + type = " "; + alias = [ + "HOME=/homeless-shelter" + "NIX_PATH=ofborg-nixpkgs-pr=$(pwd)" + "nix-instantiate" + "./pkgs/top-level/release.nix" + "-A manual" + "--option restrict-eval true" + "--option build-timeout 1800" + "--argstr system ${pkgs.system}" + "--show-trace" + ]; + }; }; # ░█▀▀░█░█░█▀▀░▀█▀░█▀▀░█▄█░█▀▄