Compare commits
2 commits
fd9cd4f3fd
...
27d84c8a82
Author | SHA1 | Date | |
---|---|---|---|
27d84c8a82 | |||
f596a050ab |
3 changed files with 17 additions and 3 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 = ''
|
||||
|
|
|
@ -57,8 +57,18 @@ const types = {
|
|||
})
|
||||
),
|
||||
};
|
||||
|
||||
const masterBranch = import.meta.env.MASTER_BRANCH;
|
||||
---
|
||||
<nav class="navtree">
|
||||
{masterBranch && <Link
|
||||
title="Docs Version: Master Branch (Switch)"
|
||||
link=`https://quickshell.outfoxxed.me${Astro.url.pathname}`
|
||||
/>}
|
||||
{!masterBranch && <Link
|
||||
title="Docs Version: Release 0.1.0 (Switch)"
|
||||
link=`https://quickshell-master.outfoxxed.me${Astro.url.pathname}`
|
||||
/>}
|
||||
<Link
|
||||
title="About Quickshell"
|
||||
link="/docs/about"
|
||||
|
|
|
@ -11,7 +11,9 @@ index: 0
|
|||
All packages currently track quickshell's master branch. This may change in the future.
|
||||
|
||||
### Nix
|
||||
The Quickshell repo has an embedded flake.
|
||||
Quickshell releases are packaged in nixpkgs as `quickshell`.
|
||||
|
||||
The Quickshell repo also has an embedded flake.
|
||||
You can use either `git+https://git.outfoxxed.me/outfoxxed/quickshell`
|
||||
or `github:quickshell-mirror/quickshell`. Use `?ref=` to specify a tag
|
||||
if you want a tagged release.
|
||||
|
@ -22,8 +24,8 @@ if you want a tagged release.
|
|||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
|
||||
quickshell = {
|
||||
# remove ?ref=v0.1.0 to track the master branch
|
||||
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell?ref=v0.1.0";
|
||||
# add ?ref=<tag> to track a tag
|
||||
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
|
||||
|
||||
# THIS IS IMPORTANT
|
||||
# Mismatched system dependencies will lead to crashes and other issues.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue