aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-06-10 14:40:56 -0400
committerCara Salter <cara@devcara.com>2022-06-10 14:40:56 -0400
commit4c044c28559f356883e4ab3cec437bbb20ce7f89 (patch)
treee8f697b87a56726689088c2127aba297276e3ffe /flake.nix
parentf64edeb631bfdefcd757483d7dfbe204daabf1ab (diff)
downloadsolard-4c044c28559f356883e4ab3cec437bbb20ce7f89.tar.gz
solard-4c044c28559f356883e4ab3cec437bbb20ce7f89.zip
planets: Create new planets
Star systems in the palm of your keyboard!
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix21
1 files changed, 19 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index ce7ff11..e2a9595 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,15 +2,32 @@
inputs = {
flake-utils.url = "github:numtide/flake-utils";
naersk.url = "github:nix-community/naersk";
+
+ mozpkgs = {
+ url = "github:mozilla/nixpkgs-mozilla";
+ flake = false;
+ };
};
- outputs = { self, nixpkgs, flake-utils, naersk }:
+ outputs = { self, nixpkgs, flake-utils, naersk, mozpkgs }:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = nixpkgs.legacyPackages."${system}";
- naersk-lib = naersk.lib."${system}";
+
+ mozilla = pkgs.callPackage (mozpkgs + "/package-set.nix") {};
+ rust = (mozilla.rustChannelOf {
+ date = "2022-06-10";
+ channel = "nightly";
+ sha256 = "pKjVkFhROJV0+JZKx2n4Fn9fJFuGX8pZW3LjUAN+Jx0=";
+ }).rust;
+ naersk-lib = naersk.lib."${system}".override {
+ cargo = rust;
+ rustc = rust;
+ };
deps = with pkgs; [
libvirt
+ pkg-config
+ openssl
];
in
rec {