Fix the flakes/show test
Don't hardcode “x86_64-linux” as this won't work too nicely on other platforms
This commit is contained in:
parent
02e81cdf62
commit
bc6e65e26f
|
@ -26,7 +26,7 @@ writeSimpleFlake() {
|
||||||
};
|
};
|
||||||
|
|
||||||
# To test "nix flake init".
|
# To test "nix flake init".
|
||||||
legacyPackages.x86_64-linux.hello = import ./simple.nix;
|
legacyPackages.$system.hello = import ./simple.nix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue