mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
Merge pull request #233408 from emilytrau/remove-lnboot
minimal-bootstrap.tinycc-mes: remove unused ln-boot dependency
This commit is contained in:
commit
f704248a9a
@ -4,7 +4,7 @@
|
||||
}:
|
||||
let
|
||||
pname = "ln-boot";
|
||||
version = "unstable-2023-05-01";
|
||||
version = "unstable-2023-05-22";
|
||||
|
||||
src = ./ln.c;
|
||||
in
|
||||
|
@ -8,7 +8,7 @@ int main(int argc, char** argv)
|
||||
if (argc != 4 || strcmp(argv[1], "-s")) {
|
||||
fputs("Usage: ", stdout);
|
||||
fputs(argv[0], stdout);
|
||||
fputs("ln -s TARGET LINK_NAME\n", stdout);
|
||||
fputs(" -s TARGET LINK_NAME\n", stdout);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, kaem
|
||||
, mes-libc
|
||||
, ln-boot
|
||||
}:
|
||||
|
||||
rec {
|
||||
@ -57,7 +56,6 @@ rec {
|
||||
(["-c" "-D" "TCC_TARGET_I386=1" ] ++ libtccBuildOptions);
|
||||
compiler = kaem.runCommand "${pname}-${version}" {
|
||||
inherit pname version meta;
|
||||
nativeBuildInputs = [ ln-boot ];
|
||||
passthru.tests = rec {
|
||||
get-version = result: kaem.runCommand "${pname}-get-version-${version}" {} ''
|
||||
${result}/bin/tcc -version
|
||||
|
Loading…
Reference in New Issue
Block a user