Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

lxd: fix sh not in path (#55073)

lxd: add bash to PATH

authored by

Meghea Iulian and committed by
markuskowa
76c0ebc7 72677fa7

+3 -2
+3 -2
pkgs/tools/admin/lxd/default.nix
··· 3 3 , squashfsTools, iproute, iptables, ebtables, libcap, dqlite 4 4 , sqlite-replication 5 5 , writeShellScriptBin, apparmor-profiles, apparmor-parser 6 + , bash 6 7 }: 7 8 8 9 buildGoPackage rec { ··· 30 31 # binaries from test/ 31 32 rm $bin/bin/{deps,macaroon-identity} 32 33 33 - wrapProgram $bin/bin/lxd --prefix PATH ":" ${stdenv.lib.makeBinPath [ 34 - acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables ebtables 34 + wrapProgram $bin/bin/lxd --prefix PATH : ${stdenv.lib.makeBinPath [ 35 + acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables ebtables bash 35 36 (writeShellScriptBin "apparmor_parser" '' 36 37 exec '${apparmor-parser}/bin/apparmor_parser' -I '${apparmor-profiles}/etc/apparmor.d' "$@" 37 38 '')