mirror of
https://github.com/erg-lang/erg.git
synced 2025-07-07 13:15:21 +00:00
Update flake.nix
This commit is contained in:
parent
ddec7f50d6
commit
439979ad95
1 changed files with 3 additions and 2 deletions
|
@ -32,13 +32,14 @@
|
|||
inherit (pkgs) lib;
|
||||
in {
|
||||
packages.erg = pkgs.rustPlatform.buildRustPackage {
|
||||
inherit (cargoToml.package) name version;
|
||||
inherit (cargoToml.package) name;
|
||||
inherit (cargoToml.workspace.package) version;
|
||||
src = builtins.path {
|
||||
path = ./.;
|
||||
filter = name: type:
|
||||
(name == toString ./Cargo.toml)
|
||||
|| (name == toString ./Cargo.lock)
|
||||
|| (lib.hasPrefix (toString ./compiler) name)
|
||||
|| (lib.hasPrefix (toString ./crates) name)
|
||||
|| (lib.hasPrefix (toString ./src) name);
|
||||
};
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue