Files
nixpkgs/pkgs/by-name/rc/rcm/fix-rcmlib-path.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
967 B
Diff

diff --git a/bin/lsrc.in b/bin/lsrc.in
index fcf5fbe..119d659 100755
--- a/bin/lsrc.in
+++ b/bin/lsrc.in
@@ -1,6 +1,6 @@
#!@SHELL@
-: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
+RCM_LIB=@rcm@/share/rcm
. "$RCM_LIB/rcm.sh"
pushdir() {
diff --git a/bin/mkrc.in b/bin/mkrc.in
index da22a63..a6bb0ad 100755
--- a/bin/mkrc.in
+++ b/bin/mkrc.in
@@ -1,6 +1,6 @@
#!@SHELL@
-: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
+RCM_LIB=@rcm@/share/rcm
. "$RCM_LIB/rcm.sh"
destination() {
diff --git a/bin/rcdn.in b/bin/rcdn.in
index ae7aad8..c210599 100755
--- a/bin/rcdn.in
+++ b/bin/rcdn.in
@@ -1,6 +1,6 @@
#!@SHELL@
-: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
+RCM_LIB=@rcm@/share/rcm
. "$RCM_LIB/rcm.sh"
remove_link() {
diff --git a/bin/rcup.in b/bin/rcup.in
index bdae664..2076f53 100755
--- a/bin/rcup.in
+++ b/bin/rcup.in
@@ -1,6 +1,6 @@
#!@SHELL@
-: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
+RCM_LIB=@rcm@/share/rcm
. "$RCM_LIB/rcm.sh"
print_ln_v() {