Skip to content

Commit f704701

Browse files
committed
do not install weak deps
1 parent 9fc8472 commit f704701

File tree

13 files changed

+17
-7
lines changed

13 files changed

+17
-7
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
matrix:
2424
recipe:
2525
# !! Add your recipes here
26-
- hyprland/hyprland.yml
27-
- hyprland/hyprland-dx.yml
28-
- hyprland/hyprland-nvidia.yml
29-
- hyprland/hyprland-dx-nvidia.yml
30-
- hyprland/hyprland-vm.yml
26+
- images/hyprland/hyprland.yml
27+
- images/hyprland/hyprland-dx.yml
28+
- images/hyprland/hyprland-nvidia.yml
29+
- images/hyprland/hyprland-dx-nvidia.yml
30+
- images/hyprland/hyprland-vm.yml
3131
steps:
3232
# the build is fully handled by the reusable github action
3333
- name: Build Custom Image

files/system/etc/dnf/dnf.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# see `man dnf.conf` for defaults and possible options
2+
3+
[main]
4+
install_weak_deps=False

files/system/etc/skel/.bashrc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ export LESS_TERMCAP_so=$'\E[01;44;33m'
6464
export LESS_TERMCAP_ue=$'\E[0m'
6565
export LESS_TERMCAP_us=$'\E[01;32m'
6666

67+
68+
add_paths() {
69+
for d in "$@"; do
70+
[[ -d "$d" && ! "$PATH" =~ (^|:)$d(:|$) ]] && PATH="$PATH:$d"
71+
done
72+
}
73+
6774
# Functions
6875
extract() {
6976
for archive in "$@"; do
@@ -89,8 +96,7 @@ extract() {
8996
}
9097

9198
# Path
92-
export PATH=$PATH:"$HOME/.local/bin"
93-
export PATH=$PATH:"$HOME/.cargo/bin"
99+
add_paths $HOME/.cargo/bin $HOME/.local/bin
94100

95101
export GOPATH=$HOME/.go
96102
export GOMODCACHE=$HOME/.go/pkg/mod
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)