diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/default.nix b/default.nix index 142f048..3732bae 100644 --- a/default.nix +++ b/default.nix @@ -1,10 +1,13 @@ { pkgs }: self: super: let - default-derivation = { name, version-prefix, version, ... }: + default-derivation = { name, version-prefix, version, check-inputs, ... }: pkgs.stdenv.mkDerivation rec { inherit name version; + checkInputs = map (p: pkgs."${p}") check-inputs; + doCheck = true; + src = fetchTarball { url = "https://git.euandreh.xyz/${name}/snapshot/${name}-${version-prefix}${version}.tar.gz"; |