1
0
Fork 0
mirror of https://codeberg.org/ziglings/exercises.git synced 2025-06-08 01:57:02 +09:00

added shell.nix for zig-linux-x86_64-0.14.0-dev.1573+4d81e8ee9

This commit is contained in:
Kyle Gullion 2024-09-15 14:26:37 -04:00
parent 102ba8c894
commit b400a77184

17
shell.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation {
name = "ziglings";
buildInputs = [
(pkgs.stdenv.mkDerivation {
name = "zig-dev";
src = pkgs.fetchurl {
url = "https://ziglang.org/builds/zig-linux-x86_64-0.14.0-dev.1573+4d81e8ee9.tar.xz";
sha256 = "173jb404w9gv5r4mpxm1kw9s3914almb0xpb28dilbggprqzmzr4";
};
installPhase = ''
mkdir -p $out/bin
cp -r * $out/bin/
'';
})
];
}