Specifying Nix package runtime dependencies
问题 I've just started using the Nix package manager on OSX and I'm attempting to create my first package for the pass binary (https://www.passwordstore.org) - which is not available in the Nixpkgs repository. I'm attempting to specify a runtime dependency ( getopt ), however this doesn't appear to be available when the binary is used. This is my packages's default.nix: { pkgs ? import <nixpkgs> {} }: with pkgs; let version = "1.7.1"; in { pass = stdenv.mkDerivation rec { name = "pass-${version}";