anchor.diff:        )
       }
   
  -    installShellCompletion --bash --name lxd go/src/github.com/lxc/lxd/scripts/bash/lxd-client
  +    installShellCompletion --bash --name lxd ./scripts/bash/lxd-client
     '';
   
     passthru.tests.lxd = nixosTests.lxd;
     passthru.tests.lxd-nftables = nixosTests.lxd-nftables;
  -
  -  nativeBuildInputs = [ installShellFiles pkg-config makeWrapper ];
  -  buildInputs = [ lxc acl libcap dqlite.dev raft-canonical.dev
  -                  sqlite-replication udev.dev ];
   
     meta = with lib; {
       description = "Daemon based on liblxc offering a REST API to manage containers";
  
positive.code: { lib, hwdata, pkg-config, lxc, buildGoPackage, fetchurl
  , makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq, attr
  , squashfsTools, iproute2, iptables, libcap
  , dqlite, raft-canonical, sqlite-replication, udev
  , writeShellScriptBin, apparmor-profiles, apparmor-parser
  , criu
  , bash
  , installShellFiles
  , nixosTests
  }:
  
  buildGoPackage rec {
    pname = "lxd";
    version = "5.6";
  
    goPackagePath = "github.com/lxc/lxd";
  
    src = fetchurl {
      urls = [
  
negative.code:     sha256 = "sha256-bLKl9OpvxXozmqjX8hY2xIiVectBiohDxTzd5du5w+4=";
    };
  
    vendorSha256 = null;
  
    postPatch = ''
      substituteInPlace shared/usbid/load.go \
        --replace "/usr/share/misc/usb.ids" "${hwdata}/share/hwdata/usb.ids"
  