To test a nix package derivation, drop the flake.nix into the directory of the default.nix
and temporarily add it to the local clone of the nixpkgs git repository.
$ git add --intent-to-add flake.nixThen, to build the package and use the output in a dev shell: