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:
parent
102ba8c894
commit
b400a77184
1 changed files with 17 additions and 0 deletions
17
shell.nix
Normal file
17
shell.nix
Normal 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/
|
||||
'';
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue