summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/pop/default.nix
blob: cec22e3b177957717166f82e5c1e2ee50bc89fc3 (plain)
1
2
3
4
5
6
7
8
9
10
{ pkgs, ... }:

pkgs.writeScriptBin "pop" ''
  #! ${pkgs.bash}/bin/bash

  file=$1

  head -1 $file
  sed -i 1d $file
''