diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2024-01-06 08:24:25 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-06 08:08:39 +0700 |
commit | 189d9180386b72a27518b63c218cc8399fa4bcd2 (patch) | |
tree | be6a94c346140a2d2735c511f83db74bd5199721 | |
parent | 74beff8b01a533a815bfd8358df00632e2b4df69 (diff) |
system/greetd: Avoid writing to $HOME/.cargo.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/greetd/greetd.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/greetd/greetd.SlackBuild b/system/greetd/greetd.SlackBuild index 0d1f3fd6aafca..4d62b0f346ee2 100644 --- a/system/greetd/greetd.SlackBuild +++ b/system/greetd/greetd.SlackBuild @@ -175,11 +175,11 @@ runfile = "/var/run/greetd.run" EOT ## to do online rust build uncomment these two lines -#cargo fetch --locked --target "$ARCH-unknown-linux-gnu" -#cargo build --frozen --release --all-features +#CARGO_HOME=.cargo cargo fetch --locked --target "$ARCH-unknown-linux-gnu" +#CARGO_HOME=.cargo cargo build --frozen --release --all-features ## and comment the line below this -cargo build --offline --frozen --release --all-features +CARGO_HOME=.cargo cargo build --offline --frozen --release --all-features make -C man all install -Dm0755 -t "$PKG/usr/bin/" "target/release/agreety" |