-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pin nixops because of NixOS/nixops#1216
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
self: super: | ||
let | ||
nixopsLibvirtdSrc = self.fetchFromGitHub { | ||
owner = "nix-community"; | ||
repo = "nixops-libvirtd"; | ||
sha256 = "0g2ag4mhgrxws3h4q8cvfh4ks1chgpjm018ayqd48lagyvi32l8m"; | ||
rev = "1c29f6c716dad9ad58aa863ebc9575422459bf95"; | ||
}; | ||
nixopsLibvirtdPlugin = self.callPackage "${nixopsLibvirtdSrc}/release.nix" {}; | ||
nixopsSrc = self.fetchFromGitHub { | ||
owner = "NixOS"; | ||
repo = "nixops"; | ||
sha256 = "0irf9wha2rxla6z7mywj5z29bvjbpwlxqj2s29ygsbhp6hnlbzzz"; | ||
rev = "4cfb70513bad149183adc3ac741c176d83b0e9d5"; | ||
}; | ||
nixopsPlugins = _: [ nixopsLibvirtdPlugin ]; | ||
|
||
in | ||
{ | ||
nixops = (self.callPackage "${nixopsSrc}/release.nix" { p = nixopsPlugins; }).build.x86_64-linux; | ||
} |
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
2332fdd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your repo helped me restructure my configs and also work around the "error: cannot figure out user name" issue.
Much appreciated.
2332fdd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adamlwgriffiths Happy that it saved you some headache!
I took the setup/layout from a friend’s config.
You might be interested in checking it out too:
https://gitlab.com/samueldr/nixos-configuration