con / con/tinuum

Nix

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
solution
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

There is a way as was mentioned by @matrss in @distribits 2024 chat discussions, where on the example of https://atris.fz-juelich.de/m.risse/datalad-nix-demo/src/branch/main/flake.nix#L5 where for ` nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";` @matrss elaborates:

> Yes, you can also specify a specific commit hash (but I think it would be called `rev=` then, instead of `ref=`, it's documented here: https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake.html#flake-references). Of course it also doesn't have to be github, it can be gitlab or any git repository available over http, or even another local directory and stuff like that.
> I should add that nix flakes are still considered an experimental feature (but it has been working well for a long time now). All of this can be done with non-experimental nix as well, but it is a bit less standardized what it would look like.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked flake.nix example at line 5 and the Nix flake reference documentation cited in the discussion. The issue does not specify what change to make or what completion should look like, so its scope and acceptance criteria need to be clarified first.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.