1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

hercules-ci-agent: simplify package import

This commit is contained in:
Domen Kožar 2019-05-17 10:22:45 +07:00
parent bb91a4d6c3
commit 642ad98829
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246

View file

@ -45,7 +45,8 @@ in {
package = mkOption {
type = types.package;
default = (import (builtins.fetchTarball "https://github.com/hercules-ci/hercules-ci-agent/archive/stable.tar.gz")).nixos-19_03.hercules-ci-agent;
default = (import (builtins.fetchTarball "https://github.com/hercules-ci/hercules-ci-agent/archive/stable.tar.gz") {}).hercules-ci-agent;
defaultText = ''(import (builtins.fetchTarball "https://github.com/hercules-ci/hercules-ci-agent/archive/stable.tar.gz") {}).hercules-ci-agent'';
description = ''
Package containing the bin/hercules-ci-agent program.
'';