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:
parent
ca4af74fca
commit
e7ac0cc02d
1 changed files with 16 additions and 16 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue