diff --git a/default.nix b/default.nix index b46718b..abe0fa5 100644 --- a/default.nix +++ b/default.nix @@ -7,7 +7,6 @@ nodejs, cacert, quickshell-types ? null, - masterBranch ? false, }: stdenv.mkDerivation (final: let nodeModules = stdenv.mkDerivation { pname = "${final.pname}-node_modules"; @@ -70,7 +69,6 @@ in { ''; PRODUCTION = true; - MASTER_BRANCH = masterBranch; SECRET_MODULES_PATH = if quickshell-types == null then "" else quickshell-types; buildPhase = '' diff --git a/src/components/navigation/sidebars/nav/RootNav.astro b/src/components/navigation/sidebars/nav/RootNav.astro index 334e575..6e9f22e 100644 --- a/src/components/navigation/sidebars/nav/RootNav.astro +++ b/src/components/navigation/sidebars/nav/RootNav.astro @@ -57,18 +57,8 @@ const types = { }) ), }; - -const masterBranch = import.meta.env.MASTER_BRANCH; ---