Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
base: d110fdd03f88
Choose a base ref
...
head repository: NixOS/nix
compare: cbe0bb29f453
Choose a head ref
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on Sep 18, 2020

  1. libfetchers/github: allow url attribute

    Since 108debe we allow a
    `url`-attribute for the `github`-fetcher to fetch tarballs from
    self-hosted `gitlab`/`github` instances.
    
    However it's not used when defining e.g. a flake-input
    
        foobar = {
            type = "github";
            url = "gitlab.myserver";
            /* ... */
        }
    
    and breaks with an evaluation-error:
    
        error: --- Error --------------------------------------nix
        unsupported input attribute 'url'
        (use '--show-trace' to show detailed location information)
    
    This patch allows flake-inputs to be fetched from self-hosted instances
    as well.
    Ma27 committed Sep 18, 2020
    Copy the full SHA
    2bcf8cb View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2020

  1. 5
    Copy the full SHA
    56f1e0d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #4035 from Ma27/url-attr

    libfetchers/github: allow `url` attribute
    edolstra committed Sep 21, 2020
    Copy the full SHA
    cbe0bb2 View commit details
    Browse the repository at this point in the history