Skip to content

Instantly share code, notes, and snippets.

@sehqlr
Forked from LinArcX/defaultn.nix
Last active May 11, 2019 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sehqlr/3d47dfd65d93916a279cabce8cb9ac75 to your computer and use it in GitHub Desktop.
Save sehqlr/3d47dfd65d93916a279cabce8cb9ac75 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {}, ... }:
stdenv.mkDerivation rec {
pname = "lantern";
version = "5.3.8";
src = fetchFromGitHub {
owner = "getlantern";
repo = "lantern";
rev = "${version}";
sha256 = "1qarnsimqj69f2x8rzlpkvsbj9m5dkyyl3m294wr6idj3v5jqcsk";
};
# nativeBuildInputs = [ autoreconfHook ];
# buildInputs = with pkgs; [ autoreconfHook ];
builder = buildins.toFile "builder.sh" ''
source $stdenv/setup
cd $src
make lantern
'';
meta = with stdenv.lib; {
homepage = https://github.com/getlantern/lantern;
description = "A free desktop application that delivers fast, reliable and secure access to the open Internet";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = [ maintainers.linarcx ];
};
}
builder for '/nix/store/8an9kn9qwrkb7qy7nhficrz6bd31jsap-lantern-5.3.8.drv' failed with exit code 2; last 10 log lines:
make: /bin/bash: Command not found
make: /bin/bash: Command not found
make: /bin/bash: Command not found
make: /bin/bash: Command not found
make: /bin/bash: Command not found
make: /bin/bash: Command not found
make: /bin/bash: Command not found
make: /bin/bash: Command not found
make: /bin/bash: Command not found
make: *** [Makefile:210: src/github.com/getlantern/flashlight/ui/resources.go] Error 127
error: build of '/nix/store/8an9kn9qwrkb7qy7nhficrz6bd31jsap-lantern-5.3.8.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment