For now just a simple docker-based build, atop nixos-unstable
(for now my nixpkgs branch that also adds apkg itself).
DISTROTEST_REPO: xUbuntu_21.04
script:
- *debpkgbuild
+
+nixos-unstable:pkgbuild:
+ <<: *pkgbuild
+ # We do NOT use LXC, for now at least.
+ tags:
+ - docker
+ - linux
+ - amd64
+ image: nixos/nix
+
+ variables:
+ #NIX_PATH: nixpkgs=https://github.com/nixos/nixpkgs/archive/nixos-unstable.tar.gz
+ NIX_PATH: nixpkgs=https://github.com/vcunat/nixpkgs/archive/p/apkg.tar.gz
+ before_script:
+ script:
+ - nix build nixpkgs.apkg
+ # the image auto-detects as alpine distro
+ - ./result/bin/apkg install -d nix
+ - kresd --version
# }}}
# pkgtest {{{
(callPackage ./. {
}).overrideAttrs (attrs: {
src = ./knot-resolver-{{ version }}.tar.xz;
+
+ # This just breaks in our GitLab CI (not locally and not on hydra.nixos.org)
+ installCheckPhase = ''
+ meson test --print-errorlogs --no-suite snowflake
+ '';
})