haskellPackages.language-docker: unbreak

sdist doesn't contain all the files necessary for the tests, so we need
to fetch the source from github instead.
This commit is contained in:
sternenseemann 2021-05-08 18:55:52 +02:00 committed by Malte Brandy
parent 3e3f1c02f2
commit d52c2692e9
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -1955,4 +1955,16 @@ self: super: {
gi-gtk-declarative = doJailbreak super.gi-gtk-declarative;
gi-gtk-declarative-app-simple = doJailbreak super.gi-gtk-declarative-app-simple;
# Test assets missing from sdist
# https://github.com/hadolint/language-docker/issues/63
language-docker = overrideSrc super.language-docker {
src = pkgs.fetchFromGitHub {
owner = "hadolint";
repo = "language-docker";
rev = "refs/tags/${super.language-docker.version}";
sha256 = "06263jy538ni31vms5pzggmh64fyk62cv3lxnvkc6gylb94kljb8";
name = "language-docker-${super.language-docker.version}-source";
};
};
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super