test: fix grep not being found

This commit is contained in:
technofab 2025-09-04 11:54:09 +02:00
parent 93b282cd27
commit 0ebe0da944
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -9,7 +9,6 @@ in {
default = devshell.mkShell {
imports = [soonix.devshellModule];
packages = [
pkgs.alejandra
pkgs.nil
(treefmt.mkWrapper pkgs {
programs = {

View file

@ -1,4 +1,5 @@
{
pkgs,
ntlib,
soonix,
...
@ -42,6 +43,7 @@ in {
in
# sh
''
${ntlib.helpers.path [pkgs.gnugrep]}
${ntlib.helpers.scriptHelpers}
assert "-f ${finalFiles}/out/test.json" "should exist"
assert_file_contains ${finalFiles}/out/test.json "soonix-test"
@ -61,6 +63,7 @@ in {
in
# sh
''
${ntlib.helpers.path [pkgs.gnugrep]}
${ntlib.helpers.scriptHelpers}
assert "-f ${shellHook}" "should exist"
assert_file_contains ${shellHook} "gomplate"