1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-04-08 10:09:38 +00:00

lnl: add xi.io alias

This commit is contained in:
Daiderd Jordan 2018-07-08 11:30:46 +02:00
parent ca4af74fca
commit e7ac0cc02d
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -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 ''${@:-<nixpkgs>}
}
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 ''${@:-<darwin>}
}
pkgs() {
nix repl ''${@:-<nixpkgs>}
}
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'