Skip to content
Snippets Groups Projects
Commit 5cc0b0d7 authored by Jakub Ružička's avatar Jakub Ružička
Browse files

Merge branch 'ci-nix' into 'master'

CI and nix tweaks

See merge request !122
parents 7e476531 94e08ad2
No related branches found
No related tags found
1 merge request!122CI and nix tweaks
Pipeline #101806 passed
......@@ -130,13 +130,12 @@ image: $CI_REGISTRY/packaging/apkg/ci/debian-10-full:apkg
- docker
- linux
- amd64
# TODO: untag after resolving problems around https://github.com/NixOS/nix/issues/5776
image: nixos/nix:2.3.12
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:
- nix-env -f '<nixpkgs>' -iA gitMinimal
# - nix-env -f '<nixpkgs>' -iA gitMinimal
- *setup-git
# The image auto-detects as alpine distro, and tests don't allow overriding easily :-/
- echo 'ID=nixos' > /etc/os-release
......
......@@ -14,6 +14,11 @@ python3Packages.buildPythonApplication rec {
sha256 = "FIXME"; # would be {{ src_hash }} if tarball was used
};
# Old jinja2 isn't in nixpkgs anymore.
postPatch = ''
substituteInPlace setup.cfg --replace 'jinja2<3.1' 'jinja2'
'';
propagatedBuildInputs = with python3Packages; [
# copy&pasted requirements.txt (almost exactly)
beautifulsoup4 # upstream version detection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment