rename project in flake.nix

This commit is contained in:
guochao 2023-11-01 22:55:39 +08:00
parent 2fce46201e
commit 6b52b19eaf

View File

@ -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);
}); });
}); });