Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 641 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 641 Bytes

The flake has a defaultPackage attribute, so you can nix shell to put the packages it defines on your path.

This can happen if you don't declare a defaultPackage in the flake:

$ nix shell
error: flake 'git+file:///home/dsyer/dev/scratch/flakes-demo' does not provide attribute 'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux'

You can still use the flake to set up a shell with nix develop:

$ nix develop
$ hello | cowsay
 _______________ 
< Hello, world! >
 --------------- 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||