treewide: noop: refer to src.name
or similar where appropriate, part 3: more use cases
This continues where d8f7f6a5cee067b81bfaaa3aa079adb94ed7c01e left off. Similarly to that commit, this commit this also points `sourceRoot`s to `src.name` and similar instead of keeping hardcoded names, and edits other derivation attrs do do the same, where appropriate. Also, similarly to d8f7f6a5cee067b81bfaaa3aa079adb94ed7c01e some of expressions this edits use `srcs` attribute with customly-named sources, so they have to be moved into `let` blocks to keep evaluation efficient (the other, worse, way to do this would to recurcively refer to `elemAt n finalAttrs.srcs` or, similarly, with `rec`).
This commit is contained in:
parent
979f71ba7c
commit
591ccfe5b9
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ cmake pkg-config copyDesktopItems ];
|
nativeBuildInputs = [ cmake pkg-config copyDesktopItems ];
|
||||||
buildInputs = [ bluez dbus glew glfw imgui ];
|
buildInputs = [ bluez dbus glew glfw imgui ];
|
||||||
|
|
||||||
sourceRoot = "./source/Client";
|
sourceRoot = "./${src.name}/Client";
|
||||||
|
|
||||||
cmakeFlags = [ "-Wno-dev" ];
|
cmakeFlags = [ "-Wno-dev" ];
|
||||||
|
|
||||||
|
@ -16,38 +16,45 @@
|
|||||||
proxmox-backup-client,
|
proxmox-backup-client,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
let
|
||||||
pname = "proxmox-backup-client";
|
pname = "proxmox-backup-client";
|
||||||
version = "3.0.1";
|
version = "3.0.1";
|
||||||
|
|
||||||
srcs = [
|
proxmox-backup_src = fetchgit {
|
||||||
(fetchgit {
|
url = "git://git.proxmox.com/git/proxmox-backup.git";
|
||||||
url = "git://git.proxmox.com/git/proxmox-backup.git";
|
rev = "v${version}";
|
||||||
rev = "v${version}";
|
name = "proxmox-backup";
|
||||||
name = "proxmox-backup";
|
hash = "sha256-a6dPBZBBh//iANXoPmOdgxYO0qNszOYI3QtrjQr4Cxc=";
|
||||||
hash = "sha256-a6dPBZBBh//iANXoPmOdgxYO0qNszOYI3QtrjQr4Cxc=";
|
};
|
||||||
})
|
|
||||||
(fetchgit {
|
|
||||||
url = "git://git.proxmox.com/git/proxmox.git";
|
|
||||||
rev = "2a070da0651677411a245f1714895235b1caf584";
|
|
||||||
name = "proxmox";
|
|
||||||
hash = "sha256-WH6oW2MB2yN1Y2zqOuXewI9jHqev/xLcJtb7D1J4aUE=";
|
|
||||||
})
|
|
||||||
(fetchgit {
|
|
||||||
url = "git://git.proxmox.com/git/proxmox-fuse.git";
|
|
||||||
rev = "93099f76b6bbbc8a0bbaca9b459a1ce4dc5e0a79";
|
|
||||||
name = "proxmox-fuse";
|
|
||||||
hash = "sha256-3l0lAZVFQC0MYaqZvB+S+ihb1fTkEgs5i9q463+cbvQ=";
|
|
||||||
})
|
|
||||||
(fetchgit {
|
|
||||||
url = "git://git.proxmox.com/git/pxar.git";
|
|
||||||
rev = "6ad046f9f92b40413f59cc5f4c23d2bafdf141f2";
|
|
||||||
name = "pxar";
|
|
||||||
hash = "sha256-I9kk27oN9BDQpnLDWltjZMrh2yJitCpcD/XAhkmtJUg=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
sourceRoot = "proxmox-backup";
|
proxmox_src = fetchgit {
|
||||||
|
url = "git://git.proxmox.com/git/proxmox.git";
|
||||||
|
rev = "2a070da0651677411a245f1714895235b1caf584";
|
||||||
|
name = "proxmox";
|
||||||
|
hash = "sha256-WH6oW2MB2yN1Y2zqOuXewI9jHqev/xLcJtb7D1J4aUE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
proxmox-fuse_src = fetchgit {
|
||||||
|
url = "git://git.proxmox.com/git/proxmox-fuse.git";
|
||||||
|
rev = "93099f76b6bbbc8a0bbaca9b459a1ce4dc5e0a79";
|
||||||
|
name = "proxmox-fuse";
|
||||||
|
hash = "sha256-3l0lAZVFQC0MYaqZvB+S+ihb1fTkEgs5i9q463+cbvQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
proxmox-pxar_src = fetchgit {
|
||||||
|
url = "git://git.proxmox.com/git/pxar.git";
|
||||||
|
rev = "6ad046f9f92b40413f59cc5f4c23d2bafdf141f2";
|
||||||
|
name = "pxar";
|
||||||
|
hash = "sha256-I9kk27oN9BDQpnLDWltjZMrh2yJitCpcD/XAhkmtJUg=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage {
|
||||||
|
inherit pname version;
|
||||||
|
|
||||||
|
srcs = [ proxmox-backup_src proxmox_src proxmox-fuse_src proxmox-pxar_src ];
|
||||||
|
|
||||||
|
sourceRoot = proxmox-backup_src.name;
|
||||||
|
|
||||||
# These patches are essentially un-upstreamable, due to being "workarounds" related to the
|
# These patches are essentially un-upstreamable, due to being "workarounds" related to the
|
||||||
# project structure.
|
# project structure.
|
||||||
|
@ -36,7 +36,7 @@ stdenvNoCC.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ undmg ];
|
nativeBuildInputs = [ undmg ];
|
||||||
sourceRoot = "${appName}";
|
sourceRoot = appName;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
@ -31,27 +31,32 @@
|
|||||||
|
|
||||||
assert withMPI -> trilinos.withMPI;
|
assert withMPI -> trilinos.withMPI;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
pname = "xyce";
|
|
||||||
version = "7.6.0";
|
version = "7.6.0";
|
||||||
|
|
||||||
srcs = [
|
# useing fetchurl or fetchFromGitHub doesn't include the manuals
|
||||||
# useing fetchurl or fetchFromGitHub doesn't include the manuals
|
# due to .gitattributes files
|
||||||
# due to .gitattributes files
|
xyce_src = fetchgit {
|
||||||
(fetchgit {
|
url = "https://github.com/Xyce/Xyce.git";
|
||||||
url = "https://github.com/Xyce/Xyce.git";
|
rev = "Release-${version}";
|
||||||
rev = "Release-${version}";
|
sha256 = "sha256-HYIzmODMWXBuVRZhcC7LntTysuyXN5A9lb2DeCQQtVw=";
|
||||||
sha256 = "sha256-HYIzmODMWXBuVRZhcC7LntTysuyXN5A9lb2DeCQQtVw=";
|
};
|
||||||
})
|
|
||||||
(fetchFromGitHub {
|
|
||||||
owner = "Xyce";
|
|
||||||
repo = "Xyce_Regression";
|
|
||||||
rev = "Release-${version}";
|
|
||||||
sha256 = "sha256-uEoiKpYyHmdK7LZ1UNm2d3Jk8+sCwBwB0TCoHilIh74=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
sourceRoot = "./Xyce";
|
regression_src = fetchFromGitHub {
|
||||||
|
owner = "Xyce";
|
||||||
|
repo = "Xyce_Regression";
|
||||||
|
rev = "Release-${version}";
|
||||||
|
sha256 = "sha256-uEoiKpYyHmdK7LZ1UNm2d3Jk8+sCwBwB0TCoHilIh74=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "xyce";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
srcs = [ xyce_src regression_src ];
|
||||||
|
|
||||||
|
sourceRoot = "./${xyce_src.name}";
|
||||||
|
|
||||||
preConfigure = "./bootstrap";
|
preConfigure = "./bootstrap";
|
||||||
|
|
||||||
@ -101,7 +106,7 @@ stdenv.mkDerivation rec {
|
|||||||
doCheck = enableTests;
|
doCheck = enableTests;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
pushd ../source
|
pushd ../${regression_src.name}
|
||||||
find Netlists -type f -regex ".*\.sh\|.*\.pl" -exec chmod ugo+x {} \;
|
find Netlists -type f -regex ".*\.sh\|.*\.pl" -exec chmod ugo+x {} \;
|
||||||
# some tests generate new files, some overwrite netlists
|
# some tests generate new files, some overwrite netlists
|
||||||
find . -type d -exec chmod u+w {} \;
|
find . -type d -exec chmod u+w {} \;
|
||||||
@ -124,7 +129,7 @@ stdenv.mkDerivation rec {
|
|||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
XYCE_BINARY="$(pwd)/src/Xyce"
|
XYCE_BINARY="$(pwd)/src/Xyce"
|
||||||
EXECSTRING="${lib.optionalString withMPI "mpirun -np 2 "}$XYCE_BINARY"
|
EXECSTRING="${lib.optionalString withMPI "mpirun -np 2 "}$XYCE_BINARY"
|
||||||
TEST_ROOT="$(pwd)/../source"
|
TEST_ROOT="$(pwd)/../${regression_src.name}"
|
||||||
|
|
||||||
# Honor the TMP variable
|
# Honor the TMP variable
|
||||||
sed -i -E 's|/tmp|\$TMP|' $TEST_ROOT/TestScripts/suggestXyceTagList.sh
|
sed -i -E 's|/tmp|\$TMP|' $TEST_ROOT/TestScripts/suggestXyceTagList.sh
|
||||||
|
@ -63,8 +63,8 @@ mkDerivation rec {
|
|||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
for dep in AuxiliarCustomWidgets QPinnableTabWidget QLogger git; do
|
for dep in AuxiliarCustomWidgets QPinnableTabWidget QLogger git; do
|
||||||
rmdir "source/src/$dep"
|
rmdir "${main_src.name}/src/$dep"
|
||||||
ln -sf "../../$dep" "source/src/$dep"
|
ln -sf "../../$dep" "${main_src.name}/src/$dep"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
|
|
||||||
${lib.optionalString wallpapers ''
|
${lib.optionalString wallpapers ''
|
||||||
for f in ../wallpapers/Mojave{,-timed}.xml; do
|
for f in ../${wallpapers_src.name}/Mojave{,-timed}.xml; do
|
||||||
substituteInPlace $f --replace /usr $out
|
substituteInPlace $f --replace /usr $out
|
||||||
done
|
done
|
||||||
''}
|
''}
|
||||||
@ -123,9 +123,9 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
${lib.optionalString wallpapers ''
|
${lib.optionalString wallpapers ''
|
||||||
mkdir -p $out/share/backgrounds/Mojave
|
mkdir -p $out/share/backgrounds/Mojave
|
||||||
mkdir -p $out/share/gnome-background-properties
|
mkdir -p $out/share/gnome-background-properties
|
||||||
cp -a ../wallpapers/Mojave*.jpeg $out/share/backgrounds/Mojave/
|
cp -a ../${wallpapers_src.name}/Mojave*.jpeg $out/share/backgrounds/Mojave/
|
||||||
cp -a ../wallpapers/Mojave-timed.xml $out/share/backgrounds/Mojave/
|
cp -a ../${wallpapers_src.name}/Mojave-timed.xml $out/share/backgrounds/Mojave/
|
||||||
cp -a ../wallpapers/Mojave.xml $out/share/gnome-background-properties/
|
cp -a ../${wallpapers_src.name}/Mojave.xml $out/share/gnome-background-properties/
|
||||||
''}
|
''}
|
||||||
|
|
||||||
# Replace duplicate files with soft links to the first file in each
|
# Replace duplicate files with soft links to the first file in each
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1dzvip90yf1wg0fhfghn96dwrhg289d06b624px9a2wwy3vp5ryg";
|
sha256 = "1dzvip90yf1wg0fhfghn96dwrhg289d06b624px9a2wwy3vp5ryg";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "code-0-r${src.rev}/src";
|
sourceRoot = "${src.name}/src";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -e 's/<= obj-date/<= (if (= 0 obj-date) 1 obj-date)/' -i lsp/make.lisp
|
sed -e 's/<= obj-date/<= (if (= 0 obj-date) 1 obj-date)/' -i lsp/make.lisp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sourceRoot = "gcl/gcl";
|
sourceRoot = "${src.name}/gcl";
|
||||||
|
|
||||||
# breaks when compiling in parallel
|
# breaks when compiling in parallel
|
||||||
enableParallelBuilding = false;
|
enableParallelBuilding = false;
|
||||||
|
@ -11,29 +11,33 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
boostPython = boost.override { python = python3; enablePython = true; };
|
boostPython = boost.override { python = python3; enablePython = true; };
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "nextpnr";
|
pname = "nextpnr";
|
||||||
version = "0.6";
|
version = "0.6";
|
||||||
|
|
||||||
srcs = [
|
main_src = fetchFromGitHub {
|
||||||
(fetchFromGitHub {
|
owner = "YosysHQ";
|
||||||
owner = "YosysHQ";
|
repo = "nextpnr";
|
||||||
repo = "nextpnr";
|
rev = "${pname}-${version}";
|
||||||
rev = "${pname}-${version}";
|
hash = "sha256-S6qvTzvkS2tBMvuTpmuCx6h0OcKP5NBbmgRgOpAVtnA=";
|
||||||
hash = "sha256-S6qvTzvkS2tBMvuTpmuCx6h0OcKP5NBbmgRgOpAVtnA=";
|
name = "nextpnr";
|
||||||
name = "nextpnr";
|
};
|
||||||
})
|
|
||||||
(fetchFromGitHub {
|
|
||||||
owner = "YosysHQ";
|
|
||||||
repo = "nextpnr-tests";
|
|
||||||
rev = "00c55a9eb9ea2e062b51fe0d64741412b185d95d";
|
|
||||||
sha256 = "sha256-83suMftMtnaRFq3T2/I7Uahb11WZlXhwYt6Q/rqi2Yo=";
|
|
||||||
name = "nextpnr-tests";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
sourceRoot = "nextpnr";
|
test_src = fetchFromGitHub {
|
||||||
|
owner = "YosysHQ";
|
||||||
|
repo = "nextpnr-tests";
|
||||||
|
rev = "00c55a9eb9ea2e062b51fe0d64741412b185d95d";
|
||||||
|
sha256 = "sha256-83suMftMtnaRFq3T2/I7Uahb11WZlXhwYt6Q/rqi2Yo=";
|
||||||
|
name = "nextpnr-tests";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
inherit pname version;
|
||||||
|
|
||||||
|
srcs = [ main_src test_src ];
|
||||||
|
|
||||||
|
sourceRoot = main_src.name;
|
||||||
|
|
||||||
nativeBuildInputs
|
nativeBuildInputs
|
||||||
= [ cmake ]
|
= [ cmake ]
|
||||||
@ -66,7 +70,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
ln -s ../nextpnr-tests tests
|
ln -s ../${test_src.name} tests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -4,28 +4,29 @@ let
|
|||||||
rev = "488f4e71073062de314c55a037ede7cf03a3324c";
|
rev = "488f4e71073062de314c55a037ede7cf03a3324c";
|
||||||
# git describe --tags
|
# git describe --tags
|
||||||
realVersion = "1.2.1-14-g${builtins.substring 0 7 rev}";
|
realVersion = "1.2.1-14-g${builtins.substring 0 7 rev}";
|
||||||
|
|
||||||
|
main_src = fetchFromGitHub {
|
||||||
|
owner = "YosysHQ";
|
||||||
|
repo = "prjtrellis";
|
||||||
|
inherit rev;
|
||||||
|
hash = "sha256-Blbu+0rlM/3izbF0XCvkNpSAND0IclWEwK7anzyrpvw=";
|
||||||
|
name = "trellis";
|
||||||
|
};
|
||||||
|
|
||||||
|
database_src = fetchFromGitHub {
|
||||||
|
owner = "YosysHQ";
|
||||||
|
repo = "prjtrellis-db";
|
||||||
|
rev = "35d900a94ff0db152679a67bf6e4fbf40ebc34aa";
|
||||||
|
hash = "sha256-r6viR8y9ZjURGNbsa0/YY8lzy9kGzjuu408ntxwpqm0=";
|
||||||
|
name = "trellis-database";
|
||||||
|
};
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "trellis";
|
pname = "trellis";
|
||||||
version = "unstable-2022-09-14";
|
version = "unstable-2022-09-14";
|
||||||
|
|
||||||
srcs = [
|
srcs = [ main_src database_src ];
|
||||||
(fetchFromGitHub {
|
sourceRoot = main_src.name;
|
||||||
owner = "YosysHQ";
|
|
||||||
repo = "prjtrellis";
|
|
||||||
inherit rev;
|
|
||||||
hash = "sha256-Blbu+0rlM/3izbF0XCvkNpSAND0IclWEwK7anzyrpvw=";
|
|
||||||
name = "trellis";
|
|
||||||
})
|
|
||||||
|
|
||||||
(fetchFromGitHub {
|
|
||||||
owner = "YosysHQ";
|
|
||||||
repo = "prjtrellis-db";
|
|
||||||
rev = "35d900a94ff0db152679a67bf6e4fbf40ebc34aa";
|
|
||||||
hash = "sha256-r6viR8y9ZjURGNbsa0/YY8lzy9kGzjuu408ntxwpqm0=";
|
|
||||||
name = "trellis-database";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
sourceRoot = "trellis";
|
|
||||||
|
|
||||||
buildInputs = [ boost ];
|
buildInputs = [ boost ];
|
||||||
nativeBuildInputs = [ cmake python3 ];
|
nativeBuildInputs = [ cmake python3 ];
|
||||||
@ -36,7 +37,7 @@ in stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
rmdir database && ln -sfv ${builtins.elemAt srcs 1} ./database
|
rmdir database && ln -sfv ${database_src} ./database
|
||||||
|
|
||||||
cd libtrellis
|
cd libtrellis
|
||||||
'';
|
'';
|
||||||
|
@ -9,22 +9,25 @@ let
|
|||||||
sha256 = hash;
|
sha256 = hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
lib_src = fetchurl {
|
||||||
|
url = "http://shinh.skr.jp/libbulletml/libbulletml-${version}.tar.bz2";
|
||||||
|
sha256 = "0yda0zgj2ydgkmby5676f5iiawabxadzh5p7bmy42998sp9g6dvw";
|
||||||
|
};
|
||||||
|
|
||||||
|
cpp_src = fetchurl {
|
||||||
|
url = "http://shinh.skr.jp/d/d_cpp.tar.bz2";
|
||||||
|
sha256 = "1ly9qmbb8q9nyadmdap1gmxs3vkniqgchlv2hw7riansz4gg1agh";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
pname = "bulletml";
|
pname = "bulletml";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
srcs = [
|
srcs = [ lib_src cpp_src ];
|
||||||
(fetchurl {
|
|
||||||
url = "http://shinh.skr.jp/libbulletml/libbulletml-${version}.tar.bz2";
|
|
||||||
sha256 = "0yda0zgj2ydgkmby5676f5iiawabxadzh5p7bmy42998sp9g6dvw";
|
|
||||||
})
|
|
||||||
(fetchurl {
|
|
||||||
url = "http://shinh.skr.jp/d/d_cpp.tar.bz2";
|
|
||||||
sha256 = "1ly9qmbb8q9nyadmdap1gmxs3vkniqgchlv2hw7riansz4gg1agh";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
sourceRoot = "bulletml";
|
|
||||||
postUnpack = "mv d_cpp bulletml/";
|
postUnpack = "mv d_cpp bulletml/";
|
||||||
|
sourceRoot = "bulletml";
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(debianPatch "fixes" "0cnr968n0h50fjmjijx7idsa2pg2pv5cwy6nvfbkx9z8w2zf0mkl")
|
(debianPatch "fixes" "0cnr968n0h50fjmjijx7idsa2pg2pv5cwy6nvfbkx9z8w2zf0mkl")
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, libjpeg, jxrlib, pkg-config
|
, libjpeg, jxrlib, pkg-config
|
||||||
, fixDarwinDylibNames, autoSignDarwinBinariesHook }:
|
, fixDarwinDylibNames, autoSignDarwinBinariesHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "freeimage";
|
pname = "freeimage";
|
||||||
version = "unstable-2021-11-01";
|
version = "unstable-2021-11-01";
|
||||||
|
|
||||||
@ -12,7 +12,8 @@ stdenv.mkDerivation {
|
|||||||
rev = "1900";
|
rev = "1900";
|
||||||
sha256 = "rWoNlU/BWKZBPzRb1HqU6T0sT7aK6dpqKPe88+o/4sA=";
|
sha256 = "rWoNlU/BWKZBPzRb1HqU6T0sT7aK6dpqKPe88+o/4sA=";
|
||||||
};
|
};
|
||||||
sourceRoot = "svn-r1900/FreeImage/trunk";
|
|
||||||
|
sourceRoot = "${finalAttrs.src.name}/FreeImage/trunk";
|
||||||
|
|
||||||
# Ensure that the bundled libraries are not used at all
|
# Ensure that the bundled libraries are not used at all
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
@ -74,4 +75,4 @@ stdenv.mkDerivation {
|
|||||||
maintainers = with lib.maintainers; [viric l-as];
|
maintainers = with lib.maintainers; [viric l-as];
|
||||||
platforms = with lib.platforms; unix;
|
platforms = with lib.platforms; unix;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
@ -3,10 +3,14 @@
|
|||||||
, libsndfile, portaudio, libmysqlclient, fontconfig
|
, libsndfile, portaudio, libmysqlclient, fontconfig
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let srcs = import ./srcs.nix { inherit fetchurl; }; in
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "libagar";
|
pname = "libagar";
|
||||||
inherit (srcs) version src;
|
version = "1.5.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://stable.hypertriton.com/agar/agar-${finalAttrs.version}.tar.gz";
|
||||||
|
sha256 = "001wcqk5z67qg0raw9zlwmv62drxiwqykvsbk10q2mrc6knjsd42";
|
||||||
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace configure.in \
|
substituteInPlace configure.in \
|
||||||
@ -40,4 +44,4 @@ stdenv.mkDerivation {
|
|||||||
maintainers = with maintainers; [ ramkromberg ];
|
maintainers = with maintainers; [ ramkromberg ];
|
||||||
platforms = with platforms; linux;
|
platforms = with platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
{ lib, stdenv, fetchurl, bsdbuild, libagar, perl, libjpeg, libpng, openssl }:
|
{ lib, stdenv, fetchurl, bsdbuild, libagar, perl, libjpeg, libpng, openssl }:
|
||||||
|
|
||||||
let srcs = import ./srcs.nix { inherit fetchurl; }; in
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "libagar-test";
|
pname = "libagar-test";
|
||||||
inherit (srcs) version src;
|
inherit (libagar) version src;
|
||||||
|
|
||||||
sourceRoot = "agar-1.5.0/tests";
|
sourceRoot = "agar-${libagar.version}/tests";
|
||||||
|
|
||||||
# Workaround build failure on -fno-common toolchains:
|
# Workaround build failure on -fno-common toolchains:
|
||||||
# ld: textdlg.o:(.bss+0x0): multiple definition of `someString';
|
# ld: textdlg.o:(.bss+0x0): multiple definition of `someString';
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
{ fetchurl }:
|
|
||||||
rec {
|
|
||||||
version = "1.5.0";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "http://stable.hypertriton.com/agar/agar-${version}.tar.gz";
|
|
||||||
sha256 = "001wcqk5z67qg0raw9zlwmv62drxiwqykvsbk10q2mrc6knjsd42";
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
sha256 = "sha256-TWvbtuLmAdYS8otD2TpVlZx2FJS6DF03U2zM28FNsfc=";
|
sha256 = "sha256-TWvbtuLmAdYS8otD2TpVlZx2FJS6DF03U2zM28FNsfc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "datafusion-cli-source/datafusion-cli";
|
sourceRoot = "${src.name}/datafusion-cli";
|
||||||
|
|
||||||
cargoSha256 = "sha256-muWWVJDKm4rbpCK0SS7Zj6umFoMKGMScEAd2ZyZ5An8=";
|
cargoSha256 = "sha256-muWWVJDKm4rbpCK0SS7Zj6umFoMKGMScEAd2ZyZ5An8=";
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ let
|
|||||||
runHook postUnpack
|
runHook postUnpack
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sourceRoot = "${nameApp}";
|
sourceRoot = nameApp;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
let
|
let
|
||||||
version = "22.03.5";
|
version = "22.03.5";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "trelay";
|
pname = "trelay";
|
||||||
version = "${version}-${kernel.version}";
|
version = "${version}-${kernel.version}";
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
|||||||
sparseCheckout = [ "package/kernel/trelay/src" ];
|
sparseCheckout = [ "package/kernel/trelay/src" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "openwrt/package/kernel/trelay/src";
|
sourceRoot = "${finalAttrs.src.name}/package/kernel/trelay/src";
|
||||||
hardeningDisable = [ "pic" "format" ];
|
hardeningDisable = [ "pic" "format" ];
|
||||||
nativeBuildInputs = [ kmod ] ++ kernel.moduleBuildDependencies;
|
nativeBuildInputs = [ kmod ] ++ kernel.moduleBuildDependencies;
|
||||||
|
|
||||||
@ -43,4 +43,4 @@ stdenv.mkDerivation {
|
|||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
broken = lib.versionOlder kernel.version "5.10";
|
broken = lib.versionOlder kernel.version "5.10";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "sha256-/vnojWLpu/fktqPUhAdL1QTESxDwFrBVYAkyF79Fj9w=";
|
sha256 = "sha256-/vnojWLpu/fktqPUhAdL1QTESxDwFrBVYAkyF79Fj9w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "./source/synapse_antispam";
|
sourceRoot = "./${src.name}/synapse_antispam";
|
||||||
|
|
||||||
buildInputs = [ matrix-synapse ];
|
buildInputs = [ matrix-synapse ];
|
||||||
|
|
||||||
|
@ -1,32 +1,38 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, postgresql, boost182, nixosTests }:
|
{ stdenv, lib, fetchFromGitHub, postgresql, boost182, nixosTests }:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
let
|
||||||
pname = "apache_datasketches";
|
|
||||||
version = "1.6.0";
|
version = "1.6.0";
|
||||||
|
|
||||||
srcs = [
|
main_src = fetchFromGitHub {
|
||||||
( fetchFromGitHub {
|
name = "datasketches-postgresql";
|
||||||
name = "datasketches-postgresql";
|
owner = "apache";
|
||||||
owner = "apache";
|
repo = "datasketches-postgresql";
|
||||||
repo = "datasketches-postgresql";
|
rev = "refs/tags/${version}";
|
||||||
rev = "refs/tags/${finalAttrs.version}";
|
hash = "sha256-sz94fIe7nyWhjiw8FAm6ZzVpB0sAK5YxUrtbaZt/guA=";
|
||||||
hash = "sha256-sz94fIe7nyWhjiw8FAm6ZzVpB0sAK5YxUrtbaZt/guA=";
|
};
|
||||||
})
|
|
||||||
( fetchFromGitHub {
|
cpp_src = fetchFromGitHub {
|
||||||
name = "datasketches-cpp";
|
name = "datasketches-cpp";
|
||||||
owner = "apache";
|
owner = "apache";
|
||||||
repo = "datasketches-cpp";
|
repo = "datasketches-cpp";
|
||||||
rev = "refs/tags/4.1.0";
|
rev = "refs/tags/4.1.0";
|
||||||
hash = "sha256-vPoFzRxOXlEAiiHH9M5S6255ahzaKsGNYS0cdHwrRYw=";
|
hash = "sha256-vPoFzRxOXlEAiiHH9M5S6255ahzaKsGNYS0cdHwrRYw=";
|
||||||
})
|
};
|
||||||
];
|
in
|
||||||
sourceRoot = "datasketches-postgresql";
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "apache_datasketches";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
srcs = [ main_src cpp_src ];
|
||||||
|
|
||||||
|
sourceRoot = main_src.name;
|
||||||
|
|
||||||
buildInputs = [ postgresql boost182 ];
|
buildInputs = [ postgresql boost182 ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
runHook prePatch
|
runHook prePatch
|
||||||
cp -r ../datasketches-cpp .
|
cp -r ../${cpp_src.name} .
|
||||||
runHook postPatch
|
runHook postPatch
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -43,10 +49,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
sql/datasketches_aod_sketch.sql \
|
sql/datasketches_aod_sketch.sql \
|
||||||
sql/datasketches_req_float_sketch.sql \
|
sql/datasketches_req_float_sketch.sql \
|
||||||
sql/datasketches_quantiles_double_sketch.sql \
|
sql/datasketches_quantiles_double_sketch.sql \
|
||||||
> sql/datasketches--${finalAttrs.version}.sql
|
> sql/datasketches--${version}.sql
|
||||||
install -D -m 644 ./datasketches.control -t $out/share/postgresql/extension
|
install -D -m 644 ./datasketches.control -t $out/share/postgresql/extension
|
||||||
install -D -m 644 \
|
install -D -m 644 \
|
||||||
./sql/datasketches--${finalAttrs.version}.sql \
|
./sql/datasketches--${version}.sql \
|
||||||
./sql/datasketches--1.3.0--1.4.0.sql \
|
./sql/datasketches--1.3.0--1.4.0.sql \
|
||||||
./sql/datasketches--1.4.0--1.5.0.sql \
|
./sql/datasketches--1.4.0--1.5.0.sql \
|
||||||
./sql/datasketches--1.5.0--1.6.0.sql \
|
./sql/datasketches--1.5.0--1.6.0.sql \
|
||||||
@ -68,4 +74,4 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
license = lib.licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
maintainers = with lib.maintainers; [ mmusnjak ];
|
maintainers = with lib.maintainers; [ mmusnjak ];
|
||||||
};
|
};
|
||||||
})
|
}
|
||||||
|
@ -2,10 +2,9 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
version = "2.50.0";
|
version = "2.50.0";
|
||||||
srcName = "azure-cli-${version}-src";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
name = srcName;
|
name = "azure-cli-${version}-src";
|
||||||
owner = "Azure";
|
owner = "Azure";
|
||||||
repo = "azure-cli";
|
repo = "azure-cli";
|
||||||
rev = "azure-cli-${version}";
|
rev = "azure-cli-${version}";
|
||||||
@ -17,11 +16,12 @@ let
|
|||||||
inherit stdenv src version python3 fetchPypi;
|
inherit stdenv src version python3 fetchPypi;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
|
py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
|
||||||
pname = "azure-cli";
|
pname = "azure-cli";
|
||||||
inherit version src;
|
inherit version src;
|
||||||
|
|
||||||
sourceRoot = "${srcName}/src/azure-cli";
|
sourceRoot = "${src.name}/src/azure-cli";
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
|
@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
|
||||||
sourceRoot = "./source/XADMaster";
|
sourceRoot = "./${src.name}/XADMaster";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
@ -1,27 +1,34 @@
|
|||||||
{ lib, stdenv, fetchurl, fetchFromGitHub, openssl, libbsd }:
|
{ lib, stdenv, fetchurl, fetchFromGitHub, openssl, libbsd }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
version = "332.25";
|
version = "332.25";
|
||||||
|
|
||||||
|
apple_src = fetchFromGitHub {
|
||||||
|
owner = "apple-oss-distributions";
|
||||||
|
repo = "diskdev_cmds";
|
||||||
|
rev = "diskdev_cmds-${version}";
|
||||||
|
hash = "sha256-cycPGPx2Gbjn4FKGKuQKJkh+dWGbJfy6C+LTz8rrs0A=";
|
||||||
|
name = "diskdev_cmds-${version}";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
pname = "hfsprogs";
|
pname = "hfsprogs";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
(fetchurl {
|
(fetchurl {
|
||||||
url = "http://ftp.de.debian.org/debian/pool/main/h/hfsprogs/hfsprogs_${version}-11.debian.tar.gz";
|
url = "http://ftp.de.debian.org/debian/pool/main/h/hfsprogs/hfsprogs_${version}-11.debian.tar.gz";
|
||||||
sha256 = "62d9b8599c66ebffbc57ce5d776e20b41341130d9b27341d63bda08460ebde7c";
|
sha256 = "62d9b8599c66ebffbc57ce5d776e20b41341130d9b27341d63bda08460ebde7c";
|
||||||
})
|
})
|
||||||
(fetchFromGitHub {
|
apple_src
|
||||||
owner = "apple-oss-distributions";
|
|
||||||
repo = "diskdev_cmds";
|
|
||||||
rev = "diskdev_cmds-${version}";
|
|
||||||
hash = "sha256-cycPGPx2Gbjn4FKGKuQKJkh+dWGbJfy6C+LTz8rrs0A=";
|
|
||||||
name = sourceRoot;
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -ie '/sys\/sysctl.h/d' newfs_hfs.tproj/makehfs.c
|
sed -ie '/sys\/sysctl.h/d' newfs_hfs.tproj/makehfs.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sourceRoot = "diskdev_cmds-" + version;
|
sourceRoot = apple_src.name;
|
||||||
patches = [ "../debian/patches/*.patch" ];
|
patches = [ "../debian/patches/*.patch" ];
|
||||||
|
|
||||||
buildInputs = [ openssl libbsd ];
|
buildInputs = [ openssl libbsd ];
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1bqh3vam7y805xrmdw7k0ckcfwjg88wypxgv3njkkwyn7kxnfnqp";
|
sha256 = "1bqh3vam7y805xrmdw7k0ckcfwjg88wypxgv3njkkwyn7kxnfnqp";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "welkin-r9638/tags/${version}";
|
sourceRoot = "${src.name}/tags/${version}";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ jre ];
|
buildInputs = [ jre ];
|
||||||
|
@ -1,24 +1,33 @@
|
|||||||
{ lib, stdenv, fetchgit, libsForQt5 }:
|
{ lib, stdenv, fetchgit, libsForQt5 }:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "3.1.0";
|
||||||
|
|
||||||
|
main_src = fetchgit {
|
||||||
|
url = "https://www.opencode.net/dfn2/ocs-url.git";
|
||||||
|
rev = "release-${version}";
|
||||||
|
sha256 = "RvbkcSj8iUAHAEOyETwfH+3XnCCY/p8XM8LgVrZxrws=";
|
||||||
|
};
|
||||||
|
|
||||||
|
qtil_src = fetchgit {
|
||||||
|
url = "https://github.com/akiraohgaki/qtil";
|
||||||
|
rev = "v0.4.0";
|
||||||
|
sha256 = "XRSp0F7ggfkof1RNAnQU3+O9DcXDy81VR7NakITOXrw=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ocs-url";
|
pname = "ocs-url";
|
||||||
version = "3.1.0";
|
inherit version;
|
||||||
|
|
||||||
srcs = [
|
srcs = [ main_src qtil_src ];
|
||||||
(fetchgit {
|
sourceRoot = main_src.name;
|
||||||
url = "https://www.opencode.net/dfn2/ocs-url.git";
|
|
||||||
rev = "release-${version}";
|
|
||||||
sha256 = "RvbkcSj8iUAHAEOyETwfH+3XnCCY/p8XM8LgVrZxrws=";
|
|
||||||
})
|
|
||||||
|
|
||||||
(fetchgit {
|
# We are NOT in $sourceRoot here
|
||||||
url = "https://github.com/akiraohgaki/qtil";
|
postUnpack = ''
|
||||||
rev = "v0.4.0";
|
mkdir -p $sourceRoot/lib/qtil
|
||||||
sha256 = "XRSp0F7ggfkof1RNAnQU3+O9DcXDy81VR7NakITOXrw=";
|
cp -r ${qtil_src.name}/* $sourceRoot/lib/qtil/
|
||||||
})
|
'';
|
||||||
];
|
|
||||||
|
|
||||||
sourceRoot = "ocs-url";
|
|
||||||
|
|
||||||
buildInputs = with libsForQt5.qt5; [
|
buildInputs = with libsForQt5.qt5; [
|
||||||
qtbase
|
qtbase
|
||||||
@ -28,12 +37,6 @@ stdenv.mkDerivation rec {
|
|||||||
wrapQtAppsHook
|
wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
# We are NOT in $sourceRoot here
|
|
||||||
postUnpack = ''
|
|
||||||
mkdir -p $sourceRoot/lib/qtil
|
|
||||||
cp -r qtil/* $sourceRoot/lib/qtil/
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Open Collaboration System for use with DE store websites";
|
description = "Open Collaboration System for use with DE store websites";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
sourceRoot = "./source/src";
|
sourceRoot = "./${src.name}/src";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm555 -t $out/bin bully
|
install -Dm555 -t $out/bin bully
|
||||||
|
@ -11,30 +11,35 @@
|
|||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
pname = "iaito";
|
pname = "iaito";
|
||||||
version = "5.8.6";
|
version = "5.8.6";
|
||||||
|
|
||||||
srcs = [
|
main_src = fetchFromGitHub rec {
|
||||||
(fetchFromGitHub rec {
|
owner = "radareorg";
|
||||||
owner = "radareorg";
|
repo = pname;
|
||||||
repo = "iaito";
|
rev = version;
|
||||||
rev = version;
|
hash = "sha256-rl8bOIR0oS6YvZA5pr8oSj7HcKK4YeCjAEi7saVdvk8=";
|
||||||
hash = "sha256-rl8bOIR0oS6YvZA5pr8oSj7HcKK4YeCjAEi7saVdvk8=";
|
name = repo;
|
||||||
name = repo;
|
};
|
||||||
})
|
|
||||||
(fetchFromGitHub rec {
|
translations_src = fetchFromGitHub rec {
|
||||||
owner = "radareorg";
|
owner = "radareorg";
|
||||||
repo = "iaito-translations";
|
repo = "iaito-translations";
|
||||||
rev = "e66b3a962a7fc7dfd730764180011ecffbb206bf";
|
rev = "e66b3a962a7fc7dfd730764180011ecffbb206bf";
|
||||||
hash = "sha256-6NRTZ/ydypsB5TwbivvwOH9TEMAff/LH69hCXTvMPp8=";
|
hash = "sha256-6NRTZ/ydypsB5TwbivvwOH9TEMAff/LH69hCXTvMPp8=";
|
||||||
name = repo;
|
name = repo;
|
||||||
})
|
};
|
||||||
];
|
in
|
||||||
sourceRoot = "iaito/src";
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
inherit pname version;
|
||||||
|
|
||||||
|
srcs = [ main_src translations_src ];
|
||||||
|
sourceRoot = "${main_src.name}/src";
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
chmod -R u+w iaito-translations
|
chmod -R u+w ${translations_src.name}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -60,7 +65,7 @@ stdenv.mkDerivation rec {
|
|||||||
env.NIX_CFLAGS_COMPILE = toString [ "-I" "${radare2.src}/shlr/sdb/include/sdb" ];
|
env.NIX_CFLAGS_COMPILE = toString [ "-I" "${radare2.src}/shlr/sdb/include/sdb" ];
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
pushd ../../../iaito-translations
|
pushd ../../../${translations_src.name}
|
||||||
make build -j$NIX_BUILD_CORES PREFIX=$out
|
make build -j$NIX_BUILD_CORES PREFIX=$out
|
||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
@ -73,7 +78,7 @@ stdenv.mkDerivation rec {
|
|||||||
install -m644 -Dt $out/share/applications ../org.radare.iaito.desktop
|
install -m644 -Dt $out/share/applications ../org.radare.iaito.desktop
|
||||||
install -m644 -Dt $out/share/pixmaps ../img/iaito-o.svg
|
install -m644 -Dt $out/share/pixmaps ../img/iaito-o.svg
|
||||||
|
|
||||||
pushd ../../../iaito-translations
|
pushd ../../../${translations_src.name}
|
||||||
make install -j$NIX_BUILD_CORES PREFIX=$out
|
make install -j$NIX_BUILD_CORES PREFIX=$out
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
|
|||||||
inherit rev;
|
inherit rev;
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "./source/platform-independent/c/cli";
|
sourceRoot = "./${src.name}/platform-independent/c/cli";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
rm build
|
rm build
|
||||||
|
Loading…
Reference in New Issue
Block a user