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
# wasm-bindgen-cli
];
libraries = pkgs: with pkgs; [
libraries = pkgs: with pkgs; [
libseccomp
];
@ -58,13 +58,12 @@
};
meta = with nixpkgs.lib; {
description = "rust project scaffold";
homepage = "https://git.jeffthecoder.xyz/public/os-flakes";
description = "seccomp sandbox with rules defined at build stage";
homepage = "https://gitea.jianguoyun.net.cn/guochao/x2t-sandbox";
license = licenses.unlicense;
maintainers = [ ];
};
}
;
};
in
rec {
packages = foreachSystem (system:
@ -84,9 +83,9 @@
in
with pkgs; rec {
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-src
complete.rust-src
]) ++ (developmentTools pkgs);
});
});