summaryrefslogtreecommitdiff
path: root/nix/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/shell.nix')
-rw-r--r--nix/shell.nix21
1 files changed, 19 insertions, 2 deletions
diff --git a/nix/shell.nix b/nix/shell.nix
index 6318285..b4d0142 100644
--- a/nix/shell.nix
+++ b/nix/shell.nix
@@ -1,6 +1,23 @@
{ pkgs ? import <nixpkgs> {} }:
+/* https://githubhot.com/repo/NixOS/nixops/issues/1490?page=2 */
with pkgs;
-mkShell {
+let packs = [
+ (pkgs.nixopsUnstable.override {
+ ## https://github.com/NixOS/nixops/issues/1490
+ overrides = (self: super: {
+ nixops = super.nixops.overridePythonAttrs (
+ _: {
+ src = pkgs.fetchgit {
+ url = "https://github.com/nixos/nixops";
+ rev = "35ac02085169bc2372834d6be6cf4c1bdf820d09";
+ sha256 = "1jh0jrxyywjqhac2dvpj7r7isjv68ynbg7g6f6rj55raxcqc7r3j";
+ };
+ }
+ );
+ });
+ })
+ ];
+in mkShell {
# nativeBuildInputs is usually what you want -- tools you need to run
- nativeBuildInputs = [ nixopsUnstable nixos-generators ];
+ nativeBuildInputs = packs; /* -- [ nixopsUnstable nixos-generators ] */
}