forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for a bunch of media types Small improvements to the package
- Loading branch information
Showing
2 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
pkgs/applications/graphics/hydrus/0001-inform-nixpkgs.patch
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,18 @@ | ||
diff --git a/hydrus/core/HydrusConstants.py b/hydrus/core/HydrusConstants.py | ||
index 809338ef..9125928f 100644 | ||
--- a/hydrus/core/HydrusConstants.py | ||
+++ b/hydrus/core/HydrusConstants.py | ||
@@ -59,12 +59,7 @@ elif PLATFORM_HAIKU: | ||
RUNNING_FROM_SOURCE = sys.argv[0].endswith( '.py' ) or sys.argv[0].endswith( '.pyw' ) | ||
RUNNING_FROM_MACOS_APP = os.path.exists( os.path.join( BASE_DIR, 'running_from_app' ) ) | ||
|
||
-if RUNNING_FROM_SOURCE: | ||
- NICE_RUNNING_AS_STRING = 'from source' | ||
-elif RUNNING_FROM_FROZEN_BUILD: | ||
- NICE_RUNNING_AS_STRING = 'from frozen build' | ||
-elif RUNNING_FROM_MACOS_APP: | ||
- NICE_RUNNING_AS_STRING = 'from App' | ||
+NICE_RUNNING_AS_STRING = "from nixpkgs (source)" | ||
|
||
BIN_DIR = os.path.join( BASE_DIR, 'bin' ) | ||
HELP_DIR = os.path.join( BASE_DIR, 'help' ) |
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