craftos-pc: fix tests

The tests attempt to import 'grep' with the intention of using
'gnugrep'. This commit resolves that issue.
This commit is contained in:
Tomo 2023-07-22 19:30:45 -07:00
parent 4953913b51
commit 4851ef974d
2 changed files with 4 additions and 4 deletions

View file

@ -1,12 +1,12 @@
{ stdenv { stdenv
, craftos-pc , craftos-pc
, grep , gnugrep
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "craftos-pc-test-eval-hello-world"; name = "craftos-pc-test-eval-hello-world";
meta.timeout = 60; meta.timeout = 60;
nativeBuildInputs = [ craftos-pc grep ]; nativeBuildInputs = [ craftos-pc gnugrep ];
buildCommand = '' buildCommand = ''
export HOME=$(pwd) export HOME=$(pwd)
mkdir $HOME/.local $HOME/.config mkdir $HOME/.local $HOME/.config

View file

@ -1,11 +1,11 @@
{ stdenv { stdenv
, craftos-pc , craftos-pc
, grep , gnugrep
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "craftos-pc-test-eval-periphemu"; name = "craftos-pc-test-eval-periphemu";
meta.timeout = 60; meta.timeout = 60;
nativeBuildInputs = [ craftos-pc grep ]; nativeBuildInputs = [ craftos-pc gnugrep ];
buildCommand = '' buildCommand = ''
export HOME=$(pwd) export HOME=$(pwd)
mkdir $HOME/.local $HOME/.config mkdir $HOME/.local $HOME/.config