From 96cc3224f04aba63929a1732398c6c3a85f56c18 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 26 Jan 2024 13:09:15 -0600 Subject: [PATCH] styx -> styx.sh --- lib/default.nix | 6 +++++- styx => styx/styx.sh | 0 2 files changed, 5 insertions(+), 1 deletion(-) rename styx => styx/styx.sh (100%) diff --git a/lib/default.nix b/lib/default.nix index d129da0..13b3b22 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -15,7 +15,11 @@ in rec { forAllSystems ( pkgs: let name = baseNameOf ../styx; - in {${name} = pkgs.writeScriptBin name (readFile ../styx);} + pkg = pkgs.writeScriptBin name (readFile ../styx/styx.sh); + in { + ${name} = pkg; + default = pkg; + } ); isNixFile = path: hasSuffix ".nix" path; diff --git a/styx b/styx/styx.sh similarity index 100% rename from styx rename to styx/styx.sh