fix?
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Cadey Ratio 2020-07-09 17:15:32 -04:00
parent 87b01d8629
commit aafe33afee
2 changed files with 19 additions and 2 deletions

View File

@ -1,5 +1,16 @@
let let
sources = import ./sources.nix; sources = import ./sources.nix;
pkgs = import sources.nixpkgs { }; pkgs = import sources.nixpkgs { };
dhall = import sources.easy-dhall-nix { inherit pkgs; }; in pkgs.stdenv.mkDerivation rec {
in dhall.dhall-yaml-simple name = "dhall-yaml-simple";
src = sources.dhall-yaml;
installPhase = ''
mkdir -p $out/bin
DHALL_TO_YAML=$out/bin/dhall-to-yaml-ng
install -D -m555 -T dhall-to-yaml-ng $DHALL_TO_YAML
mkdir -p $out/etc/bash_completion.d/
$DHALL_TO_YAML --bash-completion-script $DHALL_TO_YAML > $out/etc/bash_completion.d/dhall-to-yaml-completion.bash
'';
}

View File

@ -1,4 +1,10 @@
{ {
"dhall-yaml": {
"sha256": "0mnqn6by839v1n2ccb33qxdh7jga0x5xq3kkwdsnic6q7fgcsds6",
"type": "file",
"url": "https://github.com/dhall-lang/dhall-haskell/releases/download/1.33.1/dhall-yaml-1.2.0-x86_64-linux.tar.bz2",
"url_template": "https://github.com/dhall-lang/dhall-haskell/releases/download/1.33.1/dhall-yaml-1.2.0-x86_64-linux.tar.bz2"
},
"easy-dhall-nix": { "easy-dhall-nix": {
"branch": "master", "branch": "master",
"description": "Derivations for easily downloading Dhall binaries and putting them to use.", "description": "Derivations for easily downloading Dhall binaries and putting them to use.",