l 5: add pop
This commit is contained in:
parent
8796c7fbce
commit
fadf24c841
@ -13,6 +13,7 @@
|
||||
};
|
||||
mk_sql_pair = pkgs.callPackage ./mk_sql_pair/default.nix {};
|
||||
mpv-poll = pkgs.callPackage ./mpv-poll/default.nix {};
|
||||
pop = pkgs.callPackage ./pop/default.nix {};
|
||||
q = pkgs.callPackage ./q {};
|
||||
rs = pkgs.callPackage ./rs/default.nix {};
|
||||
untilport = pkgs.callPackage ./untilport/default.nix {};
|
||||
|
10
lass/5pkgs/pop/default.nix
Normal file
10
lass/5pkgs/pop/default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
pkgs.writeScriptBin "pop" ''
|
||||
#! ${pkgs.bash}/bin/bash
|
||||
|
||||
file=$1
|
||||
|
||||
head -1 $file
|
||||
sed -i 1d $file
|
||||
''
|
Loading…
Reference in New Issue
Block a user