diff options
author | EuAndreh <eu@euandre.org> | 2021-02-16 19:18:43 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-16 19:18:43 -0300 |
commit | 071ba199d0c7e9794f017bcc1ede6bdb77ea54cf (patch) | |
tree | 5756d28b105676fb27596997c0f69fa9c020fc40 /default.nix | |
parent | Makefile: Publish public key on the web (diff) | |
download | package-repository-071ba199d0c7e9794f017bcc1ede6bdb77ea54cf.tar.gz package-repository-071ba199d0c7e9794f017bcc1ede6bdb77ea54cf.tar.xz |
Use check-inputs when build derivations
Diffstat (limited to '')
-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"; |