From 6c196ce6d363fe9b0360891771867a702ee94757 Mon Sep 17 00:00:00 2001 From: Rebecca Mahany-Horton Date: Fri, 5 Jan 2024 13:10:30 -0500 Subject: [PATCH] Set sha for nixpkgs, more test output --- .github/workflows/validate.yml | 2 +- tests/kolide-launcher.nix | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 0c6655a..056e183 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -21,7 +21,7 @@ jobs: run: NIXPKGS_ALLOW_UNFREE=1 nix build --impure - name: check flake (runs tests) - run: NIXPKGS_ALLOW_UNFREE=1 nix flake check --impure + run: NIXPKGS_ALLOW_UNFREE=1 nix flake check --impure --verbose --debug - name: show flake output attributes run: nix flake show diff --git a/tests/kolide-launcher.nix b/tests/kolide-launcher.nix index 1ff059d..e5e72b8 100644 --- a/tests/kolide-launcher.nix +++ b/tests/kolide-launcher.nix @@ -1,7 +1,10 @@ { flake }: let - nixpkgs = builtins.fetchTarball "https://github.com/nixOS/nixpkgs/archive/23.05.tar.gz"; + nixpkgs = builtins.fetchTarball { + url = "https://github.com/nixOS/nixpkgs/archive/23.05.tar.gz"; + sha256 = "sha256:10wn0l08j9lgqcw8177nh2ljrnxdrpri7bp0g7nvrsn9rkawvlbf"; + }; pkgs = import nixpkgs { config = {}; overlays = []; }; in