use pyctr flake in default.nix (so it can use the flake pinned one)

This commit is contained in:
ihaveahax 2025-01-18 13:53:27 -06:00
parent 7675cf7eee
commit 78461945f0
No known key found for this signature in database

View File

@ -1,9 +1,12 @@
{ pkgs ? import <nixpkgs> {} }:
rec {
let
# just so i can use the same pinned version as the flake...
pyctr = (import (builtins.getFlake (builtins.toString ./.)).inputs.pyctr { inherit pkgs; }).pyctr;
in rec {
haccrypto = pkgs.python3Packages.callPackage ./nix/haccrypto.nix {};
mfusepy = pkgs.python3Packages.callPackage ./nix/mfusepy.nix {};
ninfs = pkgs.python3Packages.callPackage ./package.nix { haccrypto = haccrypto; mfusepy = mfusepy; };
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; };
}