haccfiles/pkgs/default.nix

18 lines
411 B
Nix
Raw Normal View History

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";
};
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; };
};
in newpkgs