diff --git a/deployment/check/cli/flake-part.nix b/deployment/check/cli/flake-part.nix index ac6ce40e..7d71526b 100644 --- a/deployment/check/cli/flake-part.nix +++ b/deployment/check/cli/flake-part.nix @@ -57,12 +57,7 @@ in ## function calls. makeTestDeployment = args: - (import ( - builtins.path { - path = ../..; - name = "source"; - } - )) + (import ../..) { inherit lib; inherit (inputs) nixops4 nixops4-nixos; diff --git a/panel/nix/python-packages/default.nix b/panel/nix/python-packages/default.nix index 0405c928..40d9dcb0 100644 --- a/panel/nix/python-packages/default.nix +++ b/panel/nix/python-packages/default.nix @@ -19,10 +19,7 @@ let extraPython3Packages = let - dir = builtins.path { - path = ./.; - name = "source"; - }; + dir = toString ./.; in with builtins; listToAttrs ( diff --git a/panel/shell.nix b/panel/shell.nix index 65b28312..a6bdf202 100644 --- a/panel/shell.nix +++ b/panel/shell.nix @@ -1,4 +1 @@ -(import (builtins.path { - path = ./.; - name = "source"; -}) { }).shell +(import ./. { }).shell