From 84c9d656dd4cf2fa5c3cf96c0048bc3329e208b9 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 31 Oct 2021 22:45:42 +0530 Subject: bump to v0.3.2 --- Cargo.lock | 2 +- bin/Cargo.toml | 2 +- flake.lock | 35 ++++++++++++++++++++++++++++++++++- flake.nix | 10 +++++++--- 4 files changed, 43 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 61dbfdd..5ab9bc9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -388,7 +388,7 @@ checksum = "b203e79e90905594272c1c97c7af701533d42adaab0beb3859018e477d54a3b0" [[package]] name = "statix" -version = "0.3.1" +version = "0.3.2" dependencies = [ "ariadne", "clap", diff --git a/bin/Cargo.toml b/bin/Cargo.toml index f9fd9b5..1beb712 100644 --- a/bin/Cargo.toml +++ b/bin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "statix" -version = "0.3.1" +version = "0.3.2" edition = "2018" license = "MIT" authors = [ "Akshay " ] diff --git a/flake.lock b/flake.lock index 372771c..d6c75e8 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,23 @@ { "nodes": { + "gitignore": { + "inputs": { + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1635165013, + "narHash": "sha256-o/BdVjNwcB6jOmzZjOH703BesSkkS5O7ej3xhyO8hAY=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "5b9e0ff9d3b551234b4f3eb3983744fa354b17f1", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, "import-cargo": { "locked": { "lastModified": 1594305518, @@ -32,6 +50,20 @@ } }, "nixpkgs": { + "locked": { + "lastModified": 1632846328, + "narHash": "sha256-sFi6YtlGK30TBB9o6CW7LG9mYHkgtKeWbSLAjjrNTX0=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "2b71ddd869ad592510553d09fe89c9709fa26b2b", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, + "nixpkgs_2": { "locked": { "lastModified": 1633422745, "narHash": "sha256-gA6Ok64nPbkjHk3Oanq4641EeYkjcKhisDF9wBjLxEk=", @@ -49,9 +81,10 @@ }, "root": { "inputs": { + "gitignore": "gitignore", "import-cargo": "import-cargo", "mozillapkgs": "mozillapkgs", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs_2" } } }, diff --git a/flake.nix b/flake.nix index 90e5c56..f1cf699 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,9 @@ flake = false; }; - import-cargo.url = github:edolstra/import-cargo; + import-cargo.url = "github:edolstra/import-cargo"; + + gitignore.url = "github:hercules-ci/gitignore.nix"; }; @@ -17,10 +19,12 @@ , nixpkgs , mozillapkgs , import-cargo + , gitignore , ... }: let inherit (import-cargo.builders) importCargo; + inherit (gitignore.lib) gitignoreSource; supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; forAllSystems = nixpkgs.lib.genAttrs supportedSystems; @@ -49,9 +53,9 @@ statix = with final; pkgs.stdenv.mkDerivation { pname = "statix"; - version = "v0.3.1"; + version = "v0.3.2"; src = builtins.path { - path = ./.; + path = gitignoreSource ./.; name = "statix"; }; nativeBuildInputs = [ -- cgit v1.2.3