mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-12-13 12:31:09 +01:00
add x86_64 arch
This commit is contained in:
parent
51b62422c5
commit
a81256666e
17 changed files with 90 additions and 40 deletions
|
|
@ -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'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue