mirror of
https://github.com/NixOS/nix.git
synced 2025-12-09 18:41:03 +01:00
Fix nix_system_cpu on i686-linux
Fixes #13532.
(cherry picked from commit 54dc5314e8)
This commit is contained in:
parent
359227ad14
commit
a1efe99f5b
2 changed files with 5 additions and 1 deletions
|
|
@ -44,3 +44,7 @@ out="$(expectStderr 0 nix-instantiate --option foobar baz --expr '{}')"
|
|||
|
||||
out="$(expectStderr 0 nix-instantiate '{}' --option foobar baz --expr )"
|
||||
[[ "$(echo "$out" | grep foobar | wc -l)" = 1 ]]
|
||||
|
||||
if [[ $(uname) = Linux && $(uname -m) = i686 ]]; then
|
||||
[[ $(nix config show system) = i686-linux ]]
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue