Skip to content

Commit

Permalink
chore: Update Flake and Flake lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
shymega committed Jun 6, 2024
1 parent 510acd8 commit 92da85e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 26 deletions.
6 changes: 3 additions & 3 deletions flake.lock

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

41 changes: 18 additions & 23 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,26 @@
flake = false;
};
};
outputs =
{ self
, nixpkgs
, flake-utils
, ...
}:
flake-utils.lib.eachDefaultSystem
outputs = { self, ... } @ inputs:
inputs.flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = nixpkgs.outputs.legacyPackages.${system};
in
{
packages.codid = pkgs.callPackage ./codid.nix { };
packages.default = self.outputs.packages.${system}.codid;
let
pkgs = inputs.nixpkgs.outputs.legacyPackages.${system};
in
{
packages.codid = pkgs.callPackage ./codid.nix { };
packages.default = self.outputs.packages.${system}.codid;

devShells.default = self.packages.${system}.default.overrideAttrs (super: {
nativeBuildInputs = with pkgs;
super.nativeBuildInputs
++ [
clippy
rustfmt
];
RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
});
})
devShells.default = self.packages.${system}.default.overrideAttrs (super: {
nativeBuildInputs = with pkgs;
super.nativeBuildInputs
++ [
clippy
rustfmt
];
RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
});
})
// {
overlays.default = final: prev: {
inherit (self.packages.${final.system}) codid;
Expand Down

0 comments on commit 92da85e

Please sign in to comment.