rename project in flake.nix
This commit is contained in:
parent
2fce46201e
commit
6b52b19eaf
13
flake.nix
13
flake.nix
@ -35,7 +35,7 @@
|
|||||||
# trunk
|
# trunk
|
||||||
# wasm-bindgen-cli
|
# wasm-bindgen-cli
|
||||||
];
|
];
|
||||||
libraries = pkgs: with pkgs; [
|
libraries = pkgs: with pkgs; [
|
||||||
libseccomp
|
libseccomp
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -58,13 +58,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
meta = with nixpkgs.lib; {
|
meta = with nixpkgs.lib; {
|
||||||
description = "rust project scaffold";
|
description = "seccomp sandbox with rules defined at build stage";
|
||||||
homepage = "https://git.jeffthecoder.xyz/public/os-flakes";
|
homepage = "https://gitea.jianguoyun.net.cn/guochao/x2t-sandbox";
|
||||||
license = licenses.unlicense;
|
license = licenses.unlicense;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
;
|
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
packages = foreachSystem (system:
|
packages = foreachSystem (system:
|
||||||
@ -84,9 +83,9 @@
|
|||||||
in
|
in
|
||||||
with pkgs; rec {
|
with pkgs; rec {
|
||||||
default = packages."${system}".default.overrideAttrs (prevAttrs: {
|
default = packages."${system}".default.overrideAttrs (prevAttrs: {
|
||||||
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ (with fenix.packages."${system}".combine; with fenix.packages."${system}"; with pkgs; [
|
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ (with fenix.packages."${system}".combine; with fenix.packages."${system}"; with pkgs; [
|
||||||
complete.rust-analyzer
|
complete.rust-analyzer
|
||||||
complete.rust-src
|
complete.rust-src
|
||||||
]) ++ (developmentTools pkgs);
|
]) ++ (developmentTools pkgs);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user