Skip to content

Commit

Permalink
chore(nix): Update Flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
KGB33 committed Dec 12, 2023
1 parent 3ecdc11 commit 81adf01
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 14 deletions.
39 changes: 30 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
dagger = {
url = "github:dagger/nix";
inputs.nixpkgs.follows = "nixpkgs";
};
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs = {
Expand All @@ -10,7 +14,7 @@
};
};
};
outputs = { self, nixpkgs, flake-utils, rust-overlay }:
outputs = { self, nixpkgs, flake-utils, rust-overlay, dagger, ...}:
flake-utils.lib.eachDefaultSystem
(system:
let
Expand All @@ -20,14 +24,13 @@
};
rustToolchain = pkgs.pkgsBuildHost.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
in
with pkgs;
{
devShells.default = mkShell {
buildInputs = [
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
rustToolchain
dagger.packages.${system}.dagger
pkg-config
openssl
dagger
python312
black
];
Expand Down

0 comments on commit 81adf01

Please sign in to comment.