From ec912d679bfe5a0dbabfb4dcf475fba0edf93506 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 11 Sep 2022 17:35:06 +0530 Subject: remove gitignore --- flake.lock | 21 --------------------- flake.nix | 12 +++--------- 2 files changed, 3 insertions(+), 30 deletions(-) diff --git a/flake.lock b/flake.lock index 1e575e3..52e1b55 100644 --- a/flake.lock +++ b/flake.lock @@ -21,26 +21,6 @@ "type": "github" } }, - "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" - } - }, "nixpkgs": { "locked": { "lastModified": 1642069818, @@ -60,7 +40,6 @@ "root": { "inputs": { "fenix": "fenix", - "gitignore": "gitignore", "nixpkgs": "nixpkgs" } }, diff --git a/flake.nix b/flake.nix index f57d49b..eb32a4e 100644 --- a/flake.nix +++ b/flake.nix @@ -8,22 +8,14 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - gitignore = { - url = "github:hercules-ci/gitignore.nix"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - }; outputs = { self , nixpkgs , fenix - , gitignore }: let - inherit (gitignore.lib) gitignoreSource; - supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; forAllSystems = nixpkgs.lib.genAttrs supportedSystems; nixpkgsFor = forAllSystems (system: @@ -61,7 +53,7 @@ doCheck = false; - src = gitignoreSource ./.; + src = self; cargoLock.lockFile = ./Cargo.lock; }; @@ -89,6 +81,8 @@ in pkgs.mkShell { nativeBuildInputs = [ + pkgs.pkgconfig + pkgs.openssl pkgs.bacon rust-analyzer toolchain -- cgit v1.2.3