fix?
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
87b01d8629
commit
aafe33afee
|
@ -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
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
|
@ -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.",
|
||||||
|
|
Loading…
Reference in New Issue