yarn2nix-moretea: Generate runCommand instead of -NoCC

This has been synonymous for ~5y.
This commit is contained in:
Robert Hensing
2021-08-15 17:36:41 +02:00
parent fbafeb7ad5
commit 0d859a070e
@@ -57,7 +57,7 @@ function fetchgit(fileName, url, rev, branch, builtinFetchGit) {
sha256 = "${prefetchgit(url, rev)}";
};
`}in
runCommandNoCC "${fileName}" { buildInputs = [gnutar]; } ''
runCommand "${fileName}" { buildInputs = [gnutar]; } ''
# Set u+w because tar-fs can't unpack archives with read-only dirs
# https://github.com/mafintosh/tar-fs/issues/79
tar cf $out --mode u+w -C \${repo} .
@@ -104,7 +104,7 @@ function fetchLockedDep(builtinFetchGit) {
}
const HEAD = `
{ fetchurl, fetchgit, linkFarm, runCommandNoCC, gnutar }: rec {
{ fetchurl, fetchgit, linkFarm, runCommand, gnutar }: rec {
offline_cache = linkFarm "offline" packages;
packages = [
`.trim()