File: default.nix

package info (click to toggle)
zug 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,076 kB
  • sloc: cpp: 6,209; makefile: 203; sh: 88; python: 62
file content (21 lines) | stat: -rw-r--r-- 440 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  flake ? import ./nix/flake-compat.nix { },
  pkgs ? import flake.inputs.nixpkgs { },
}:

let
  inherit (pkgs) lib;
  inherit (import flake.inputs.gitignore { inherit lib; })
    gitignoreSource
    ;

  nixFilter = name: type: !(lib.hasSuffix ".nix" name);
  srcFilter =
    src:
    lib.cleanSourceWith {
      filter = nixFilter;
      src = gitignoreSource src;
    };

in
pkgs.callPackage ./nix/zug.nix { sources = srcFilter ./.; }