summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-01-19 11:31:54 +0300
committerK900 <me@0upti.me>2023-01-19 11:44:34 +0300
commitbdb130cfbc413e0d4ece5bc99208d742732d613a (patch)
treeb7c6af791588bba3b175b1d21d3072ff80cad2a9
parente2c7082c64ef93a668ccb3cdb56a3eefb2b8dfcb (diff)
feat: add a statically built shim output
Useful for when your system is broken and you want to fix it quickly.
-rw-r--r--flake.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index aec1985..1e95703 100644
--- a/flake.nix
+++ b/flake.nix
@@ -51,6 +51,8 @@
side-effects = pkgs.callPackage ./checks/side-effects.nix args;
};
+ packages.staticShim = pkgs.pkgsStatic.callPackage ./scripts/native-systemd-shim/shim.nix { };
+
devShell = pkgs.mkShell {
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";