-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathdefault.nix
28 lines (27 loc) · 899 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
pkgs ? import <nixpkgs> { },
# just so i can use the same pinned version as the flake...
pyctr ? (
let
flakeLock = builtins.fromJSON (builtins.readFile ./flake.lock);
pyctr-repo = import (builtins.fetchTarball (
with flakeLock.nodes.pyctr.locked;
{
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
}
)) { inherit pkgs; };
in
pyctr-repo.pyctr
),
}:
rec {
haccrypto = pkgs.python3Packages.callPackage ./nix/haccrypto.nix { };
mfusepy = pkgs.python3Packages.callPackage ./nix/mfusepy.nix { };
ninfs = pkgs.python3Packages.callPackage ./package.nix {
inherit pyctr;
haccrypto = haccrypto;
mfusepy = mfusepy;
};
ninfsNoGUI = ninfs.override { withGUI = false; };
#ninfsNoGUI = pkgs.python3Packages.callPackage ./ninfs.nix { haccrypto = haccrypto; mfusepy = mfusepy; withGUI = false; };
}