1
0
Fork 0
This repository has been archived on 2025-03-30. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
compiler-course/default.nix

21 lines
335 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "compiler-course";
version = "0.1.0";
src = fetchFromGitHub {
owner = "VSinerva";
repo = pname;
ref = "main";
hash = lib.fakeHash; # Use this to get the new hash
};
cargoLock = {
lockFile = ./Cargo.lock;
};
}