2020-11-27 20:56:20 +00:00
|
|
|
{ nixpkgs ? <nixpkgs>, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs {};
|
|
|
|
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);
|
|
|
|
|
|
|
|
wasiSrc = fetchGit {
|
|
|
|
url = "https://gitlab.infra4future.de/wasi/wasi-rust";
|
|
|
|
rev = "356dbc23a3683d134f13156af71baeaa06fb80d1";
|
|
|
|
};
|
|
|
|
|
2020-11-30 18:30:24 +00:00
|
|
|
immaeNix = fetchGit {
|
|
|
|
url = "https://git.immae.eu/perso/Immae/Config/Nix.git";
|
|
|
|
rev = "7ad4966f41db0669a77c7a6ee7f87f0d4e586b0c";
|
|
|
|
};
|
|
|
|
|
2020-11-27 20:56:20 +00:00
|
|
|
newpkgs = {
|
2020-11-29 02:30:46 +00:00
|
|
|
# package = callPackage ./package {};
|
2020-11-27 20:56:20 +00:00
|
|
|
wasi = import wasiSrc { inherit wasiSrc; pkgs = pkgs // newpkgs; };
|
2020-11-30 18:30:24 +00:00
|
|
|
peertube = callPackage ./peertube { mylibs = import "${immaeNix}/lib" { inherit pkgs; }; };
|
2020-12-05 18:56:49 +00:00
|
|
|
alps = callPackage ./alps {};
|
2020-11-27 20:56:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
in newpkgs
|