mirror of
https://github.com/nix-dot-dev/nix.dev.git
synced 2024-08-17 09:10:35 +03:00
flake compat
This commit is contained in:
parent
3bca9815d0
commit
e5e28948c0
3
default.nix
Normal file
3
default.nix
Normal file
@ -0,0 +1,3 @@
|
||||
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
|
||||
src = builtins.fetchGit ./.;
|
||||
}).defaultNix
|
15
shell.nix
15
shell.nix
@ -1,12 +1,3 @@
|
||||
let
|
||||
mach-nix = import (builtins.fetchGit {
|
||||
url = "https://github.com/DavHau/mach-nix/";
|
||||
ref = "refs/tags/3.2.0";
|
||||
}) {
|
||||
pypiDataRev = "9d28e464522798b5999f1ae55ba363ec12fde1e8";
|
||||
pypiDataSha256 = "0lwagvqcrj5yzw3iqyzz4radrbwa4z7p2sx4yy9chil6mlq5i68q";
|
||||
};
|
||||
in
|
||||
mach-nix.mkPythonShell {
|
||||
requirements = builtins.readFile ./requirements.txt;
|
||||
}
|
||||
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
|
||||
src = builtins.fetchGit ./.;
|
||||
}).shellNix
|
||||
|
Loading…
Reference in New Issue
Block a user