Skip to content

Commit

Permalink
app_python: upd flake
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Jul 29, 2023
1 parent 994ca59 commit 024e465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
16 changes: 1 addition & 15 deletions app_python/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
(import
(
let
lock = (builtins.fromJSON (builtins.readFile ../flake.lock)).nodes.flakes.locked;
in
(
import
"${fetchTarball {
url = "https://github.com/deemp/flakes/archive/${lock.rev}.tar.gz";
sha256 = lock.narHash;
}}/source-flake"
).outputs.flake-compat.outPath
)
{ src = ./.; }
).defaultNix
(builtins.getFlake "github:deemp/flakes/${(builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.flakes.locked.rev}").outputs.makeDefault ./.
2 changes: 1 addition & 1 deletion app_python/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
outputs = _:
let flakes = (import ../.).outputs.inputs.flakes; in
flakes.makeFlake {
inputs = { inherit (flakes.all) flake-utils nixpkgs poetry2nix codium drv-tools devshell; };
inputs = { inherit (flakes.all) nixpkgs poetry2nix codium drv-tools devshell; };
perSystem = { inputs, system }:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
Expand Down

0 comments on commit 024e465

Please sign in to comment.