Last active
December 21, 2020 21:34
-
-
Save bbjubjub2494/6ea2a7317098a7ee289b184d02d09302 to your computer and use it in GitHub Desktop.
Nixpkgs overlay to access package from the master branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final: prev: { | |
master = | |
let | |
source = builtins.fetchTarball { | |
url = "https://github.com/NixOS/nixpkgs/archive/master.tar.gz"; | |
}; | |
in | |
import source { | |
config = final.config; | |
}; | |
} |
My bad, the zip breaks the stable branch of nix. fixed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See
builtins.fetchTarball
documentation. This is a bit of a kludge but in the absence of flakes it's a good solution.