Show full log in build output in CI

This commit is contained in:
adisbladis 2022-01-21 17:49:19 +12:00
parent e3fff9ae95
commit 0f40952013
3 changed files with 18 additions and 1 deletions

View file

@ -64,4 +64,4 @@ jobs:
with:
name: poetry2nix
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: nix-shell -p nix-build-uncached --run 'nix-build-uncached --keep-going --show-trace tests/default.nix -A ${{ matrix.attr }}'
- run: nix-shell --run 'nix-build-uncached -build-flags "-L" --keep-going --show-trace tests/default.nix -A ${{ matrix.attr }}'

View file

@ -1,4 +1,16 @@
{
"nix-build-uncached": {
"branch": "master",
"description": "A CI friendly wrapper around nix-build.",
"homepage": "",
"owner": "Mic92",
"repo": "nix-build-uncached",
"rev": "77fe5c8c4c5c7a1fa3f9baa042474b98f2456652",
"sha256": "04hqiw3rhz01qqyz2x1q14aml1ifk3m97pldf4v5vhd5hg73k1zn",
"type": "tarball",
"url": "https://github.com/Mic92/nix-build-uncached/archive/77fe5c8c4c5c7a1fa3f9baa042474b98f2456652.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs": {
"branch": "nixos-unstable",
"description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to",

View file

@ -7,6 +7,10 @@ let
};
tools = pkgs.callPackage ./tools { };
nix-build-uncached = import sources.nix-build-uncached {
inherit pkgs;
};
in
pkgs.mkShell {
@ -23,5 +27,6 @@ pkgs.mkShell {
pkgs.jq
pkgs.nix-prefetch-git
pkgs.nix-eval-jobs
nix-build-uncached
];
}