Package Details: direnv 2.23.1-1

Git Clone URL: https://aur.archlinux.org/direnv.git (read-only, click to copy)
Package Base: direnv
Description: a shell extension that manages your environment
Upstream URL: https://direnv.net
Keywords: env shell
Licenses: MIT
Submitter: zimbatm
Maintainer: zimbatm (ShadowKyogre, rmorgans)
Last Packager: rmorgans
Votes: 66
Popularity: 2.12
First Submitted: 2013-11-17 16:03
Last Updated: 2020-10-24 22:58

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

javier.ruere commented on 2020-10-15 16:14

I get this error:

==> Starting build()...
# net
cannot load DWARF output from $WORK/b093//_cgo_.o: decoding dwarf section info at offset 0x0: too short

Any clues?

SpotlightKid commented on 2020-01-29 12:33

Got this after the latest package update:

$ direnv allow

Migrating the allow data to the new location

The allowed .envrc permissions used to be stored in the XDG_CONFIG_DIR. It's
better to keep that folder for user-editable configuration so the data is
being moved to XDG_DATA_HOME.

moving /home/chris/.config/direnv/allow to /home/chris/.local/share/direnv/allow
direnv: error rename /home/chris/.config/direnv/allow /home/chris/.local/share/direnv/allow: no such file or directory

Seems the migration process does not create a necessary directory ~/.local/share/direnv/. I fixed this by running mkdir ~/.local/share/direnv/ and then direnv allow again.

craigfurman commented on 2017-08-15 17:53

The changes in https://github.com/direnv/direnv-archlinux/pull/7
fixed 2.12.2-1 for me.

aptinio commented on 2017-08-15 06:24

The ff. error is encountered unless you are in the build directory:

PKGBUILD: line 23: cd: /src/github.com/direnv/direnv: No such file or directory

It seems GOPATH is not set inside the `build` and `package` functions.

hidebu commented on 2017-08-14 16:52

Hello,

I needed to patch PKGBUILD to build 2.12.2-1 (commit id: aa041a1687a8238f0526a55c8cc13c9dd25c6733)

diff --git a/PKGBUILD b/PKGBUILD
index 4f18cba..2724829 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,8 +15,8 @@ prepare() {
[[ -f /etc/profile.d/go.sh ]] && source /etc/profile.d/go.sh
export GOPATH=$srcdir/go

- mkdir -p "$GOPATH/$(dirname "$gopackagepath")"
- mv "$srcdir/$pkgname-$pkgver" "$GOPATH/$gopackagepath"
+ mkdir -p "$GOPATH/src/$(dirname "$gopackagepath")"
+ mv "$srcdir/$pkgname-$pkgver" "$GOPATH/src/$gopackagepath"
}

build() {

rmorgans commented on 2017-08-14 14:59

Fixed now I think thanks @zimbatim

rmorgans commented on 2017-08-14 12:35

Ooops - I broke this trying to bump to 2.12.2 will try and fix asap

zimbatm commented on 2017-01-14 15:16

@rmorgans great! I merged your PR and added you as a co-maintainer on both sides.

rmorgans commented on 2017-01-11 23:28

Hi @zimbatm - sorry just saw this message - would love to give it a crack. I will work out what to do. Just submitted a pull request https://github.com/direnv/direnv-archlinux/pull/3 for the PKGBUILD and will read up what's required from the Arch end.

zimbatm commented on 2016-09-01 09:55

@rmorgans any interest in maintaining the package? I'm not using Arch so I have to go out of my way to update that AUR.