Created
March 25, 2019 18:37
-
-
Save azazel75/995e2dd72a22f8293a91ff63e894fc11 to your computer and use it in GitHub Desktop.
nix build that fails
This file contains 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
let | |
localPkgs = import <nixpkgs> {}; | |
# nixos-18.09-small Released on 2019-03-02 | |
stableRev = "80754f5cfd69d0caf8cff6795d3ce6d99479abde"; | |
mkNixOSURL = rev: | |
"https://github.com/NixOs/nixpkgs-channels/archive/${rev}.tar.gz"; | |
stableURL = mkNixOSURL stableRev; | |
stableBall = fetchTarball { | |
url = stableURL; | |
sha256 = "1v8g68gqgij389dssh6ry5x1zlhpgcgwjac0rgrh8146gf9hq74f"; | |
}; | |
nixopsPkg = builtins.fetchTarball { | |
url = "https://github.com/azazel75/nixops/archive/remote-libvirt.tar.gz"; | |
sha256 = "1mg1bsgwrydyk2i0g5pzc35kr6ybjrihvfns8kd8d6b74qxnyh40"; | |
}; | |
remoteVirtNixops = (import "${nixopsPkg}/release.nix" {nixpkgs=stableBall;}).build.${localPkgs.system}; | |
in | |
remoteVirtNixops |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment