-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Replace `rec` with `(finalAttrs: { ... })`. - Split up some large comments. - Remove nested `with lib;` from `meta`. - Adds more `meta` attributes. - Replaces the in-line updateScript with a proper writeShellApplication script. - Removes the text-based platforms restriction. Signed-off-by: Fernando Rodrigues <[email protected]>
- Loading branch information
1 parent
6b2c25e
commit 5de106a
Showing
2 changed files
with
60 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# shellcheck shell=bash | ||
|
||
# Starsector | ||
version=$(curl -s https://fractalsoftworks.com/preorder/ | grep -oP "https://f005.backblazeb2.com/file/fractalsoftworks/release/starsector_linux-\K.*?(?=\.zip)" | head -1) | ||
update-source-version "$pname" "$version" --file=./pkgs/by-name/st/starsector/package.nix |