c15724cb5f
source: https://git.immae.eu/?p=perso/Immae/Config/Nix.git;a=tree;f=pkgs/webapps/peertube;hb=b639cc33725fed62988b616909843bea7f7aebe3
23 lines
652 B
Nix
23 lines
652 B
Nix
{ nixpkgs ? <nixpkgs>, ... }:
|
|
|
|
let
|
|
pkgs = import nixpkgs {};
|
|
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);
|
|
|
|
wasiSrc = fetchGit {
|
|
url = "https://gitlab.infra4future.de/wasi/wasi-rust";
|
|
rev = "356dbc23a3683d134f13156af71baeaa06fb80d1";
|
|
};
|
|
|
|
immaeNix = fetchGit {
|
|
url = "https://git.immae.eu/perso/Immae/Config/Nix.git";
|
|
rev = "7ad4966f41db0669a77c7a6ee7f87f0d4e586b0c";
|
|
};
|
|
|
|
newpkgs = {
|
|
# package = callPackage ./package {};
|
|
wasi = import wasiSrc { inherit wasiSrc; pkgs = pkgs // newpkgs; };
|
|
peertube = callPackage ./peertube { mylibs = import "${immaeNix}/lib" { inherit pkgs; }; };
|
|
};
|
|
|
|
in newpkgs
|