add master branch toggle
This commit is contained in:
parent
f596a050ab
commit
27d84c8a82
2 changed files with 12 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
nodejs,
|
||||
cacert,
|
||||
quickshell-types ? null,
|
||||
masterBranch ? false,
|
||||
}: stdenv.mkDerivation (final: let
|
||||
nodeModules = stdenv.mkDerivation {
|
||||
pname = "${final.pname}-node_modules";
|
||||
|
@ -69,6 +70,7 @@ in {
|
|||
'';
|
||||
|
||||
PRODUCTION = true;
|
||||
MASTER_BRANCH = masterBranch;
|
||||
SECRET_MODULES_PATH = if quickshell-types == null then "" else quickshell-types;
|
||||
|
||||
buildPhase = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue