clang
unvendor
This commit is contained in:
parent
9a4b261179
commit
404aa8ebbb
139 changed files with 8091 additions and 1178 deletions
28
06/using-nix/0-prebuilt.nix
Normal file
28
06/using-nix/0-prebuilt.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
# This is to prefetch protosrc/tinycc from github, see comment in 0.nix
|
||||
|
||||
let
|
||||
fetchTarball = { name, url, sha256 }: derivation {
|
||||
inherit name url;
|
||||
urls = [ url ];
|
||||
unpack = true;
|
||||
|
||||
builder = "builtin:fetchurl";
|
||||
system = "builtin";
|
||||
outputHashMode = "recursive"; outputHashAlgo = "sha256";
|
||||
preferLocalBuild = true;
|
||||
outputHash = sha256;
|
||||
};
|
||||
in
|
||||
{
|
||||
protosrc = fetchTarball {
|
||||
name = "protosrc";
|
||||
url = "https://github.com/ZilchOS/bootstrap-from-tcc/releases/download/seeding-files-r004/protosrc.nar";
|
||||
sha256 = "sha256-upUZTTumJgBY16waF6L8ZeWbflSuQL9TMmwLw0YEDqM=";
|
||||
};
|
||||
|
||||
tinycc = fetchTarball {
|
||||
name = "tinycc-liberated";
|
||||
url = "https://github.com/ZilchOS/bootstrap-from-tcc/releases/download/seeding-files-r004/tinycc-liberated.nar";
|
||||
sha256 = "sha256-oqeOU6SFYDwpdIj8MjcQ+bMuU63CHyoV9NYdyPLFxEQ=";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue