mirror of
https://github.com/NotAShelf/microfetch.git
synced 2026-04-12 04:47:40 +00:00
nix: fix
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ibdd7b1deaff9489cedcbbc05ce7956d86a6a6964
This commit is contained in:
parent
781de52ca6
commit
3b823a0982
1 changed files with 5 additions and 4 deletions
|
|
@ -3,8 +3,8 @@
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
llvm,
|
llvm,
|
||||||
}: let
|
}: let
|
||||||
toml = (lib.importTOML ../Cargo.toml).package;
|
pname = "microfetch";
|
||||||
pname = toml.name;
|
toml = (lib.importTOML ../Cargo.toml).workspace.package;
|
||||||
inherit (toml) version;
|
inherit (toml) version;
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage.override {inherit (llvm) stdenv;} {
|
rustPlatform.buildRustPackage.override {inherit (llvm) stdenv;} {
|
||||||
|
|
@ -16,9 +16,10 @@ in
|
||||||
fs.toSource {
|
fs.toSource {
|
||||||
root = s;
|
root = s;
|
||||||
fileset = fs.unions [
|
fileset = fs.unions [
|
||||||
(fs.fileFilter (file: builtins.any file.hasExt ["rs"]) (s + /crates))
|
(s + /crates)
|
||||||
(fs.fileFilter (file: builtins.any file.hasExt ["rs"]) (s + /microfetch))
|
(s + /microfetch)
|
||||||
(s + /.cargo)
|
(s + /.cargo)
|
||||||
|
(s + /scripts/ld-wrapper)
|
||||||
(s + /Cargo.lock)
|
(s + /Cargo.lock)
|
||||||
(s + /Cargo.toml)
|
(s + /Cargo.toml)
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue