Skip to content

Compare with alternatives? #4

@manveru

Description

@manveru

From a quick search I found:

AFAIK the biggest difference is that you cannot easily specify the nixpkgs version (other than with pure nix-shell)
here's what I'm using right now, for example:

#! /usr/bin/env nix-shell
#! nix-shell -i ruby -p ruby_3_1 nix
#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/71d7a4c037dc4f3e98d5c4a81b941933cf5bf675.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions