From 0ed0a765d6047b372b8c193417036d6fc681cc48 Mon Sep 17 00:00:00 2001 From: DavHau Date: Sat, 4 Nov 2023 13:31:42 +0700 Subject: [PATCH] pdm: update pyproject-nix dependency --- modules/dream2nix/WIP-python-pdm/default.nix | 7 ++++++- modules/flake.lock | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/modules/dream2nix/WIP-python-pdm/default.nix b/modules/dream2nix/WIP-python-pdm/default.nix index f0fcf912..d7ca94b2 100644 --- a/modules/dream2nix/WIP-python-pdm/default.nix +++ b/modules/dream2nix/WIP-python-pdm/default.nix @@ -11,7 +11,11 @@ libpyproject = import (dream2nix.inputs.pyproject-nix + "/lib") {inherit lib;}; libpyproject-fetchers = import (dream2nix.inputs.pyproject-nix + "/fetchers") { inherit lib; - pkgs = config.deps; + curl = config.deps.curl; + jq = config.deps.jq; + python3 = config.deps.python3; + runCommand = config.deps.stdenv.runCommand; + stdenvNoCC = config.deps.stdenvNoCC; }; selectWheel = files: let @@ -50,6 +54,7 @@ in { buildPackages curl jq + runCommand stdenvNoCC stdenv ; diff --git a/modules/flake.lock b/modules/flake.lock index 8433901f..3897b79a 100644 --- a/modules/flake.lock +++ b/modules/flake.lock @@ -57,11 +57,11 @@ "pyproject-nix": { "flake": false, "locked": { - "lastModified": 1698922660, - "narHash": "sha256-FhaXC67HjBWARosAc2Xh7S8cxORrEvyGhv2PHoqKY2I=", + "lastModified": 1699067645, + "narHash": "sha256-SJOEPVFARVfS0qQQqbnGywt8uOZMmlV1PazQtGNNCfQ=", "owner": "adisbladis", "repo": "pyproject.nix", - "rev": "8929485ceb69d26762f84836273eadca01f7660d", + "rev": "56b5a6ae1ac63a0a3a044d602a3b5d09a5d10dc0", "type": "github" }, "original": {