Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- source $stdenv/setup
- version="2.29.4"
- _gourl=github.com/snapcore/snapd
- srcdir=$PWD/$name
- mkdir -p $out
- export GOPATH=$PWD/$name/go
- mkdir -p $GOPATH
- mkdir -p "$(dirname "$GOPATH/src/${_gourl}")"
- ln --no-target-directory -fs "$PWD/$name/$snapd" "$GOPATH/src/${_gourl}"
- cd "$GOPATH/src/${_gourl}"
- export XDG_CONFIG_HOME="$srcdir"
- go install "${_gourl}/cmd/snap"
- go install "${_gourl}/cmd/snapd"
- make -C data/systemd all
- ./mkversion.sh $version
- cd cmd
- autoreconf -a -f
- ./configure \
- --prefix=/usr \
- --libexecdir=/usr/lib/snapd \
- --with-snap-mount-dir=/var/lib/snapd/snap \
- --disable-apparmor \
- --enable-nvidia-arch \
- --enable-merged-usr
Add Comment
Please, Sign In to add comment