From 6b52b19eaf50479384b792324597940e510fff88 Mon Sep 17 00:00:00 2001 From: guochao Date: Wed, 1 Nov 2023 22:55:39 +0800 Subject: [PATCH] rename project in flake.nix --- flake.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index b7e3915..d4d9add 100644 --- a/flake.nix +++ b/flake.nix @@ -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); }); });