Comment

Comment by justinsaccount

I'm really interested in NixOS (and guix), but one thing I don't fully understand is how they handle versioned dependencies.

Say I have a service I run that acts as a frontend for something like nmap. So there is pkgs/tools/security/nmap/default.nix that installs 7.70

How do I 'pin' that version? If I vendor that file into my configuration, that could work, but then the buildinputs are

  buildInputs = with python2Packages; [ libpcap openssl ]
    ++ optionals ...
And the dependencies for libpcap and openssl are themselves not pinned to specific versions, so how exactly do I get a reproducible build?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton