]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci nix: tweak details around using "unstable" nix CLI
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 20 Dec 2021 11:48:04 +0000 (12:48 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 21 Dec 2021 08:59:14 +0000 (09:59 +0100)
We don't need this on the versions before nix 2.4,
but let's switch now already.

ci/pkgtest.yaml

index 9525b0776106299ba8ebcf35b3dadd9e1ba6fd70..73f666afeab7c3b68c000e742e402213e51d3207 100644 (file)
@@ -155,7 +155,7 @@ nixos-unstable:pkgbuild:
     NIX_PATH: nixpkgs=https://github.com/vcunat/nixpkgs/archive/p/apkg.tar.gz
   before_script:
   script:
-    - nix build nixpkgs.apkg
+    - nix-build '<nixpkgs>' -QA apkg
     # the image auto-detects as alpine distro
     - ./result/bin/apkg install -d nix
     - kresd --version