mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
lib/tests/release.nix: Run systems tests on OfBorg
This commit is contained in:
parent
144018541b
commit
3150f25faa
@ -53,6 +53,9 @@ let
|
|||||||
echo "Running lib/tests/sources.sh"
|
echo "Running lib/tests/sources.sh"
|
||||||
TEST_LIB=$PWD/lib bash lib/tests/sources.sh
|
TEST_LIB=$PWD/lib bash lib/tests/sources.sh
|
||||||
|
|
||||||
|
echo "Running lib/tests/systems.nix"
|
||||||
|
[[ $(nix-instantiate --eval --strict lib/tests/systems.nix | tee /dev/stderr) == '[ ]' ]];
|
||||||
|
|
||||||
mkdir $out
|
mkdir $out
|
||||||
echo success > $out/${nix.version}
|
echo success > $out/${nix.version}
|
||||||
'';
|
'';
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# Run:
|
# Run:
|
||||||
# [nixpkgs]$ nix-instantiate --eval --strict lib/tests/systems.nix
|
# [nixpkgs]$ nix-instantiate --eval --strict lib/tests/systems.nix
|
||||||
# Expected output: [], or the failed cases
|
# Expected output: [], or the failed cases
|
||||||
|
#
|
||||||
|
# OfBorg runs (approximately) nix-build lib/tests/release.nix
|
||||||
let
|
let
|
||||||
lib = import ../default.nix;
|
lib = import ../default.nix;
|
||||||
mseteq = x: y: {
|
mseteq = x: y: {
|
||||||
|
Loading…
Reference in New Issue
Block a user