Skip to content

scratches/flakes-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 |
                ||     ||

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages