tests: remove pkgsUnstable
The latest nixpkgs-unstable update would require node-based packages to distinguish between stable and unstable when building. Instead of dealing with that complexity, we will only guarantee compatability of our packages with stable.
This commit is contained in:
parent
76737ead9f
commit
daeea4012e
@ -15,8 +15,7 @@ task:
|
|||||||
# Use the maximum timeout. Needed when rebuilding packages on a channel update.
|
# Use the maximum timeout. Needed when rebuilding packages on a channel update.
|
||||||
timeout_in: 120m
|
timeout_in: 120m
|
||||||
|
|
||||||
matrix:
|
name: modules_test
|
||||||
- name: modules_test
|
|
||||||
environment:
|
environment:
|
||||||
nixpkgs: nixpkgs
|
nixpkgs: nixpkgs
|
||||||
container:
|
container:
|
||||||
@ -31,10 +30,6 @@ task:
|
|||||||
- environment:
|
- environment:
|
||||||
scenario: netnsRegtest
|
scenario: netnsRegtest
|
||||||
|
|
||||||
- name: pkgs_unstable
|
|
||||||
environment:
|
|
||||||
nixpkgs: nixpkgs-unstable
|
|
||||||
|
|
||||||
# This script is run as root
|
# This script is run as root
|
||||||
build_script:
|
build_script:
|
||||||
- echo "sandbox = true" >> /etc/nix/nix.conf
|
- echo "sandbox = true" >> /etc/nix/nix.conf
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
let
|
|
||||||
pinned = import ../pkgs/nixpkgs-pinned.nix;
|
|
||||||
pkgs = import pinned.nixpkgs-unstable {};
|
|
||||||
nbPkgs = import ../pkgs { inherit pkgs; };
|
|
||||||
pkgsUnstable = with nbPkgs; [
|
|
||||||
# Disabled because joinmarket dependencies currently don't build on on unstable.
|
|
||||||
# joinmarket
|
|
||||||
rtl
|
|
||||||
cl-rest
|
|
||||||
];
|
|
||||||
in
|
|
||||||
pkgs.writeText "pkgs-unstable" (pkgs.lib.concatMapStringsSep "\n" toString pkgsUnstable)
|
|
@ -246,10 +246,6 @@ vmTestNixExpr() {
|
|||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
pkgsUnstable() {
|
|
||||||
doBuild pkgs-unstable "$scriptDir/pkgs-unstable.nix"
|
|
||||||
}
|
|
||||||
|
|
||||||
# A basic subset of tests to keep the total runtime within
|
# A basic subset of tests to keep the total runtime within
|
||||||
# manageable bounds (<4 min on desktop systems).
|
# manageable bounds (<4 min on desktop systems).
|
||||||
# These are also run on the CI server.
|
# These are also run on the CI server.
|
||||||
@ -257,7 +253,6 @@ basic() {
|
|||||||
scenario=default buildTest "$@"
|
scenario=default buildTest "$@"
|
||||||
scenario=netns buildTest "$@"
|
scenario=netns buildTest "$@"
|
||||||
scenario=netnsRegtest buildTest "$@"
|
scenario=netnsRegtest buildTest "$@"
|
||||||
pkgsUnstable
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# All tests that only consist of building a nix derivation.
|
# All tests that only consist of building a nix derivation.
|
||||||
|
Loading…
Reference in New Issue
Block a user