mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-20 12:08:17 +03:00
treewide: remove unneeded dots and slashes in sourceRoot
s
This commit is contained in:
parent
b358ebd870
commit
d098c821d6
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake pkg-config copyDesktopItems ];
|
||||
buildInputs = [ bluez dbus glew glfw imgui ];
|
||||
|
||||
sourceRoot = "./${src.name}/Client";
|
||||
sourceRoot = "${src.name}/Client";
|
||||
|
||||
cmakeFlags = [ "-Wno-dev" ];
|
||||
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1qc58l3rkr37cj6vhf8c7bnwbz93nscyraz7jxqwjq6k4gj0cjw3";
|
||||
};
|
||||
|
||||
sourceRoot = "./howl-${version}/src";
|
||||
sourceRoot = "howl-${version}/src";
|
||||
|
||||
# The Makefile uses "/usr/local" if not explicitly overridden
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libmediainfo wxGTK32 desktop-file-utils libSM imagemagick ]
|
||||
++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
sourceRoot = "./MediaInfo/Project/GNU/GUI/";
|
||||
sourceRoot = "MediaInfo/Project/GNU/GUI";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ libzen libmediainfo zlib ];
|
||||
|
||||
sourceRoot = "./MediaInfo/Project/GNU/CLI/";
|
||||
sourceRoot = "MediaInfo/Project/GNU/CLI";
|
||||
|
||||
configureFlags = [ "--with-libmediainfo=${libmediainfo}" ];
|
||||
|
||||
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
sourceRoot = "./sratoolkit.${version}-ubuntu64/bin";
|
||||
sourceRoot = "sratoolkit.${version}-ubuntu64/bin";
|
||||
|
||||
installPhase = ''
|
||||
find -L . -executable -type f -! -name "*remote-fuser*" -exec install -m755 -D {} $out/bin/{} \;
|
||||
|
@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
srcs = [ xyce_src regression_src ];
|
||||
|
||||
sourceRoot = "./${xyce_src.name}";
|
||||
sourceRoot = xyce_src.name;
|
||||
|
||||
preConfigure = "./bootstrap";
|
||||
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ ocaml perl ];
|
||||
setSourceRoot = "export sourceRoot=$(echo */ekrh/src/)";
|
||||
setSourceRoot = "export sourceRoot=$(echo */ekrh/src)";
|
||||
preInstall = "export INSTALLDIR=$out";
|
||||
postInstall = ''for i in "$out/casc"/*; do ln -s "$i" "$out/bin/ekrh-casc-$(basename $i)"; done '';
|
||||
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
setSourceRoot = ''
|
||||
sourceRoot=$(echo */gui-wx/)
|
||||
sourceRoot=$(echo */gui-wx)
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
|
@ -51,7 +51,7 @@ stdenv.mkDerivation {
|
||||
})
|
||||
];
|
||||
|
||||
sourceRoot = "./";
|
||||
sourceRoot = ".";
|
||||
|
||||
unpackCmd = ''
|
||||
ttfName=$(basename $(stripHash $curSrc))
|
||||
|
@ -66,7 +66,7 @@ stdenv.mkDerivation {
|
||||
})
|
||||
];
|
||||
|
||||
sourceRoot = "./";
|
||||
sourceRoot = ".";
|
||||
|
||||
unpackCmd = ''
|
||||
ttfName=$(basename $(stripHash $curSrc))
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-KSkOg0a5iq+13kClQqj+TaEP/PsLUrm8bMmiJEAZ+C4=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/library/";
|
||||
sourceRoot = "${finalAttrs.src.name}/library";
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ faad2 fftwFloat zlib ];
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
configureFlags = [ "--enable-shared" ];
|
||||
|
||||
sourceRoot = "./ZenLib/Project/GNU/Library/";
|
||||
sourceRoot = "ZenLib/Project/GNU/Library";
|
||||
|
||||
preConfigure = "sh autogen.sh";
|
||||
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libGLU libGL libX11 libXi ];
|
||||
|
||||
sourceRoot = "liquidfun/Box2D/";
|
||||
sourceRoot = "liquidfun/Box2D";
|
||||
|
||||
preConfigurePhases = "preConfigure";
|
||||
|
||||
|
@ -14,7 +14,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cabextract ];
|
||||
|
||||
sourceRoot = "./.";
|
||||
sourceRoot = ".";
|
||||
|
||||
unpackCmd = ''
|
||||
cabextract -F FW_ACC_00U.bin ${src}
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-/vnojWLpu/fktqPUhAdL1QTESxDwFrBVYAkyF79Fj9w=";
|
||||
};
|
||||
|
||||
sourceRoot = "./${src.name}/synapse_antispam";
|
||||
sourceRoot = "${src.name}/synapse_antispam";
|
||||
|
||||
buildInputs = [ matrix-synapse ];
|
||||
|
||||
|
@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
sourceRoot = "./${src.name}/XADMaster";
|
||||
sourceRoot = "${src.name}/XADMaster";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-CEGUXJXqXmD8uT93T9dg49Lf5vTpAzQjdnhYmbR5zTI=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/src/";
|
||||
sourceRoot = "${src.name}/src";
|
||||
|
||||
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
||||
buildInputs = lib.optionals withUdisks [ udisks glib ]
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
sourceRoot = "./${src.name}/src";
|
||||
sourceRoot = "${src.name}/src";
|
||||
|
||||
installPhase = ''
|
||||
install -Dm555 -t $out/bin bully
|
||||
|
@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
|
||||
inherit rev;
|
||||
};
|
||||
|
||||
sourceRoot = "./${src.name}/platform-independent/c/cli";
|
||||
sourceRoot = "${src.name}/platform-independent/c/cli";
|
||||
|
||||
postPatch = ''
|
||||
rm build
|
||||
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
popt
|
||||
];
|
||||
|
||||
sourceRoot = "${src.name}/xmlroff/";
|
||||
sourceRoot = "${src.name}/xmlroff";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user