mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
30 lines
550 B
Nix
30 lines
550 B
Nix
{ pkgs ? (import <nixpkgs> {}) }:
|
|
|
|
with pkgs;
|
|
|
|
let
|
|
|
|
primary-src = callPackage ./default-primary-src.nix {};
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "generate-libreoffice-srcs-shell";
|
|
|
|
buildCommand = "exit 1";
|
|
|
|
downloadList = stdenv.mkDerivation {
|
|
name = "libreoffice-${primary-src.version}-download-list";
|
|
inherit (primary-src) src version;
|
|
builder = ./download-list-builder.sh;
|
|
};
|
|
|
|
buildInputs = [ python3 ];
|
|
|
|
shellHook = ''
|
|
function generate {
|
|
python3 generate-libreoffice-srcs.py > libreoffice-srcs.nix
|
|
}
|
|
'';
|
|
}
|