test/nixpkgs-module: use a fixed runCommand function

Rather than getting `runCommand` from the pkgs instance under test, get
the function from a fixed/consistent pkgs instance.
This commit is contained in:
Matt Sturgeon 2025-01-16 01:47:16 +00:00
parent 7854d5f18c
commit 5192a85f32
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
2 changed files with 19 additions and 1 deletions

View file

@ -4,6 +4,7 @@
linkFarmFromDrvs,
self,
stdenv,
runCommandLocal,
}:
let
@ -19,6 +20,7 @@ let
inherit name;
buildNixvim = false;
runNvim = false;
runCommand = runCommandLocal;
};
}
];