uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
28
pkgs/development/tools/sourcetrail/java.nix
Normal file
28
pkgs/development/tools/sourcetrail/java.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, pkgs, javaPackages }:
|
||||
|
||||
let
|
||||
javaIndexer = javaPackages.mavenbuild {
|
||||
name = "sourcetrail-java-indexer-${pkgs.sourcetrail.version}";
|
||||
src = pkgs.sourcetrail.src;
|
||||
m2Path = "com/sourcetrail/java-indexer";
|
||||
|
||||
# This doesn't include all required dependencies. We still rely on binary
|
||||
# copies of maven packages included in the source repo for building.
|
||||
mavenDeps = with javaPackages; [
|
||||
mavenCompiler_3_2
|
||||
plexusCompilerApi_2_4
|
||||
plexusCompilerJavac_2_4
|
||||
plexusCompilerManager_2_4
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Java indexer for Sourcetrail";
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
||||
};
|
||||
};
|
||||
in
|
||||
javaIndexer.overrideAttrs (drv: {
|
||||
postUnpack = ''
|
||||
export sourceRoot=''${sourceRoot}/java_indexer
|
||||
'';
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue