АБ
--substituters
и прочие радостиSize: a a a
АБ
--substituters
и прочие радостиц
АБ
--substituters
это делалц
АБ
АБ
VY
VY
VY
nix-repl> nix-tools = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz)
nix-repl> nix-tools
{ __functor = «lambda @ /nix/store/sykym387j1zb5gfql22kzpjdv9xa6p0p-source/default.nix:18:15»; config = { ... }; overlays = [ ... ]; }
nix-repl>
VY
VY
haskell-nix.nix-tools
в этом выражении(with import <nixpkgs> (import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {}).nixpkgsArgs; haskell-nix.nix-tools)И как можно до него добраться в никс-репле?
VY
nix-repl> nix-tools = with (import <nixpkgs> (import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz) {}).nixpkgsArgs); haskell-nix.nix-tools
VY
with (import <nixpkgs> (import (... {}).foo) ..))это круто, конечно
АБ
> unable to download ' https://github.com/input-output-hk/stackage.nix/archive/caea65ab6ebbb0137a39f82a82afcb5193f6a6b3.tar.gz ': HTTP error 200
АБ
VY
АБ
VY
nix-shell default.nix -A shellFor
для default.nix
, сгенеренного скопипастенной командой plain-to-nix
:error: attempt to call something which is not a function but a set, at /home/vyorkin/blhablah/default.nix:5:10Мб на https://input-output-hk.github.io/haskell.nix/user-guide/development/ документация не самая свежая, но тогда не понятно, нужно ли вообще пользоваться этим инструментом, а если не нужно, то кто сгенерит
pkgs.nix
и .plan.nix
?