Skip to content

Commit

Permalink
Use nuget-packageslock2nix instead of deps.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
gepbird committed Sep 29, 2024
1 parent 5c73bdc commit 71c27a5
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 162 deletions.
24 changes: 23 additions & 1 deletion flake.lock

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

6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
nuget-packageslock2nix = {
url = "github:mdarocha/nuget-packageslock2nix/main";
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs = inputs: with inputs;
Expand All @@ -16,7 +20,7 @@
version = builtins.substring 0 8 self.lastModifiedDate or "dirty";
in
{
packages.default = pkgs.callPackage ./nix/package.nix { inherit version; };
packages.default = pkgs.callPackage ./nix/package.nix { inherit version nuget-packageslock2nix; };
devShells.default = pkgs.mkShell {
packages = with pkgs; [
dotnet-sdk_8
Expand Down
Loading

0 comments on commit 71c27a5

Please sign in to comment.