Advertisement
Guest User

Untitled

a guest
Feb 6th, 2020
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. {}:
  2.  
  3. {
  4. corePrograms = { htop.enable = true; };
  5. }
  6.  
  7. # this filename: coresimple.nix
  8. # from within the repl if I load this and try to access corePrograms I get:
  9. # nix-repl> (import ./coresimple.nix)
  10. # «lambda @ /home/cody/my-emacs-everywhere-master/nixpkgs/coresimple.nix:1:1»
  11.  
  12. # nix-repl> (import ./coresimple.nix).corePrograms
  13. # error: value is a function while a set was expected, at (string):1:1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement