aboutsummaryrefslogtreecommitdiff
path: root/nix/tcc.nix
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-10 19:44:17 +1200
committerArslaan Pathan <[email protected]>2026-06-10 19:44:17 +1200
commit5e2fe0cdbe0da7e1082d273a0295fdad44614a48 (patch)
treefa7161672bb6880a5e37b51625dc7eba74c41012 /nix/tcc.nix
parent068e16881ac47040e31b65d1ba5d4ed64067166d (diff)
downloadyerbalinux-5e2fe0cdbe0da7e1082d273a0295fdad44614a48.tar.xz
yerbalinux-5e2fe0cdbe0da7e1082d273a0295fdad44614a48.zip
Tcc is not working. too bad, NO TCC
Diffstat (limited to 'nix/tcc.nix')
-rw-r--r--nix/tcc.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/nix/tcc.nix b/nix/tcc.nix
deleted file mode 100644
index cd4cf27..0000000
--- a/nix/tcc.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ stdenv, fetchgit, musl, linuxHeaders }:
-
-stdenv.mkDerivation {
- name = "tcc-yerba";
- src = fetchgit {
- url = "https://repo.or.cz/tinycc.git";
- rev = "34eed88a";
- hash = "nix will yell at me but then i fix it";
- };
-
- configureFlags = [
- "--cc=gcc"
- "--ar=ar"
- "--config-musl"
- "--crtprefix=${musl}/lib"
- "--sysincludepaths=${linuxHeaders}/include:{B}/include"
- "--libpaths=${musl}/lib"
- ];
-
- buildPhase = ''
- make -j$NIX_BUILD_CORES
- '';
-
- installPhase = ''
- mkdir -p $out/bin $out/lib
- cp tcc $out/bin/
- cp libtcc.a $out/lib/ 2>/dev/null || true
- '';
-}