add x86_64 arch

This commit is contained in:
Alexander Sosedkin 2024-06-15 14:35:28 +02:00
parent 51b62422c5
commit a81256666e
17 changed files with 90 additions and 40 deletions

View file

@ -71,3 +71,9 @@ _diff() {
storePath="$(nix-build "<nixpkgs>" --no-out-link --attr diffutils)"
"${storePath}/bin/diff" "$@"
}
detect_system() {
nix --experimental-features nix-command \
eval --impure --expr 'builtins.currentSystem' \
| sed 's|"||g'
}