From e7ac0cc02d9a7198d90abb63b3ca7b22a7c2f0e6 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sun, 8 Jul 2018 11:30:46 +0200 Subject: [PATCH] lnl: add xi.io alias --- modules/examples/lnl.nix | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 99ee65c..5d1bcb4 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -226,6 +226,22 @@ direnv reload } + xi() { + curl -F 'f:1=<-' ix.io + } + + install_name_tool() { + ${pkgs.darwin.cctools}/bin/install_name_tool "$@" + } + + otool() { + ${pkgs.darwin.cctools}/bin/otool "$@" + } + + pkgs() { + nix repl ''${@:-} + } + aarch-build() { nix-build --option system aarch64-linux --store ssh-ng://aarch1 "$@" } @@ -242,22 +258,6 @@ nix-build --option system x86_64-linux --store ssh-ng://nixos1 "$@" } - install_name_tool() { - ${pkgs.darwin.cctools}/bin/install_name_tool "$@" - } - - otool() { - ${pkgs.darwin.cctools}/bin/otool "$@" - } - - darwin() { - nix repl ''${@:-} - } - - pkgs() { - nix repl ''${@:-} - } - hydra-bad-machines() { local url=https://hydra.nixos.org curl -fsSL -H 'Accept: application/json' $url/queue-runner-status | jq -r '.machines | to_entries | .[] | select(.value.consecutiveFailures>0) | .key'