aboutsummaryrefslogtreecommitdiff
path: root/default.nix
blob: 6254ecb7c26927562e1a5d8a05da45bc53c54d85 (plain)
1
2
3
4
5
6
7
let
  purity = if builtins ? currentSystem then
    import <nixpkgs> {}
  else
    throw "OOPS: srcds-nix/default.nix called without pkgs in a pure context";
in
{ pkgs ? purity, ... }: pkgs.callPackage ./srcds-pkgs {}