treewide: remove unneeded dots and slashes in sourceRoots

This commit is contained in:
Jan Malakhovski 2023-08-08 16:24:43 +00:00
parent b358ebd870
commit d098c821d6
20 changed files with 20 additions and 20 deletions

View File

@ -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" ];

View File

@ -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)" ];

View File

@ -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;

View File

@ -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}" ];

View File

@ -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/{} \;

View File

@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
srcs = [ xyce_src regression_src ];
sourceRoot = "./${xyce_src.name}";
sourceRoot = xyce_src.name;
preConfigure = "./bootstrap";

View File

@ -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 '';

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
];
setSourceRoot = ''
sourceRoot=$(echo */gui-wx/)
sourceRoot=$(echo */gui-wx)
'';
postPatch = ''

View File

@ -51,7 +51,7 @@ stdenv.mkDerivation {
})
];
sourceRoot = "./";
sourceRoot = ".";
unpackCmd = ''
ttfName=$(basename $(stripHash $curSrc))

View File

@ -66,7 +66,7 @@ stdenv.mkDerivation {
})
];
sourceRoot = "./";
sourceRoot = ".";
unpackCmd = ''
ttfName=$(basename $(stripHash $curSrc))

View File

@ -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 ];

View File

@ -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";

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ libGLU libGL libX11 libXi ];
sourceRoot = "liquidfun/Box2D/";
sourceRoot = "liquidfun/Box2D";
preConfigurePhases = "preConfigure";

View File

@ -14,7 +14,7 @@ stdenvNoCC.mkDerivation rec {
nativeBuildInputs = [ cabextract ];
sourceRoot = "./.";
sourceRoot = ".";
unpackCmd = ''
cabextract -F FW_ACC_00U.bin ${src}

View File

@ -11,7 +11,7 @@ buildPythonPackage rec {
sha256 = "sha256-/vnojWLpu/fktqPUhAdL1QTESxDwFrBVYAkyF79Fj9w=";
};
sourceRoot = "./${src.name}/synapse_antispam";
sourceRoot = "${src.name}/synapse_antispam";
buildInputs = [ matrix-synapse ];

View File

@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
dontConfigure = true;
sourceRoot = "./${src.name}/XADMaster";
sourceRoot = "${src.name}/XADMaster";
installPhase = ''
runHook preInstall

View File

@ -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 ]

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
sourceRoot = "./${src.name}/src";
sourceRoot = "${src.name}/src";
installPhase = ''
install -Dm555 -t $out/bin bully

View File

@ -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

View File

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
popt
];
sourceRoot = "${src.name}/xmlroff/";
sourceRoot = "${src.name}/xmlroff";
enableParallelBuilding = true;