File: shell.nix

package info (click to toggle)
portsentry 2.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,404 kB
  • sloc: ansic: 6,481; sh: 920; perl: 18; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 373 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
let
  nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05";
  pkgs = import nixpkgs { config = {}; overlays = []; };
in

pkgs.mkShellNoCC {
  packages = with pkgs; [
    codeql
    semgrep
    netcat-gnu
    clang
    cmake
    libpcap
  ];
  
  GREETING = "Welcome to the Portsentry dev environment!";

  shellHook = ''
    echo $GREETING
  '';
}