Skip to content

Commit

Permalink
Merge pull request #26 from j4m3s-s/fix-gitignore
Browse files Browse the repository at this point in the history
Fix gitignore
  • Loading branch information
hlolli authored Jun 2, 2023
2 parents 04b0dfb + f8e8a2a commit 66ae6a1
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 86 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v15
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v10
Expand Down
11 changes: 2 additions & 9 deletions clj2nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,15 @@
stdenv, lib, coreutils, clojure,
makeWrapper, nix-prefetch-git,
fetchMavenArtifact, fetchgit,
openjdk, fetchFromGitHub, git
openjdk, fetchFromGitHub, git, gitignore
}:

let cljdeps = import ./deps.nix { inherit fetchMavenArtifact fetchgit lib; };
classp = cljdeps.makeClasspaths {
extraClasspaths = [ "${placeholder "out"}/lib" ];
};
version = "1.1.0-rc";
gitignoreSrc = fetchFromGitHub {
owner = "hercules-ci";
repo = "gitignore.nix";
rev = "a20de23b925fd8264fd7fad6454652e142fd7f73";
sha256 = "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=";
};

inherit (import gitignoreSrc { inherit lib; }) gitignoreSource;
inherit (import gitignore { inherit lib; }) gitignoreSource;

in stdenv.mkDerivation rec {

Expand Down
Loading

0 comments on commit 66ae6a1

Please sign in to comment.