forked from TristanCacqueray/python-dhall
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
shell.nix
39 lines (38 loc) · 731 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/refs/tags/22.11.tar.gz") {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
poetry
rustc
cargo
darwin.apple_sdk.frameworks.Security
pkgconfig
openssl
];
packages = with pkgs; [
python310Packages.pytest
black
isort
dhall
dhall-json
rust-analyzer
];
}
#
# let
# myAppEnv = pkgs.poetry2nix.mkPoetryEnv {
# projectDir = ./.;
# editablePackageSources = {
# my-app = ./src;
# };
# };
# in myAppEnv.env.overrideAttrs (oldAttrs: {
# buildInputs = [
# pkgs.rustc
# pkgs.cargo
# ];
# packages = [
# pkgs.python310Packages.pytest
# pkgs.black
# pkgs.isort
# ];
# })