NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Nixpkgs for the Front End Impaired (fzakaria.com)
tom_alexander 42 minutes ago [-]
> Ask nixpkgs a question in a loop. Interrogate and explore nixpkgs in a REPL

  nix repl --expr 'builtins.getFlake "github:NixOS/nixpkgs/nixos-unstable"'

  nix-repl> builtins.filter (name: lib.licenses."${name}" ? spdxId && lib.strings.hasPrefix "GPL" lib.licenses."${name}".spdxId) (builtins.attrNames lib.licenses)
  [
    "gpl1Only"
    "gpl1Plus"
    "gpl2"
    "gpl2Only"
    "gpl2Plus"
    "gpl3"
    "gpl3Only"
    "gpl3Plus"
  ]
9 minutes ago [-]
boredatoms 1 hours ago [-]
Is there a nix-language learning book out there? Last I looked it was pretty difficult to get learning material
easygenes 2 hours ago [-]
Please at least add "(Nix transpliled to typescript)" to the title so it's clear what we get.
lorecoeur 2 hours ago [-]
Funnily enough, it might very well be a morale failure. Just not a moral one.
__MatrixMan__ 2 hours ago [-]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 04:47:18 GMT+0000 (Coordinated Universal Time) with Vercel.