blob: 0bda684465262ae6e9068f5bcbe5fa51ffa5e2e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ pkgs ? import <nixpkgs> {} }:
/* https://githubhot.com/repo/NixOS/nixops/issues/1490?page=2 */
with pkgs;
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 = packs; /* -- [ nixopsUnstable nixos-generators ] */
}
|