Merge pull request #333 from tp-la/fix-307

Use flake.lock in python package from nix.
This commit is contained in:
DavHau 2021-10-15 11:41:28 +07:00 committed by GitHub
commit 50f3debe19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
with builtins;
let
lock = (fromJSON (readFile ../../flake.lock)).nodes;
lock = (fromJSON (readFile ../flake.lock)).nodes;
get = input: {
rev = lock."${input}".locked.rev;
sha256 = lock."${input}".locked.narHash;