summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/pop/default.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-07-10 17:09:26 +0200
committerlassulus <lass@aidsballs.de>2016-07-10 17:09:26 +0200
commitfadf24c8413ae002eaecef6339f16ba0fe7f4db1 (patch)
treef5f8eca9c493c30f4a82e38a1136c09ceea6a151 /lass/5pkgs/pop/default.nix
parent8796c7fbce8dc90113ec9bf33c5133a34482639b (diff)
l 5: add pop
Diffstat (limited to 'lass/5pkgs/pop/default.nix')
-rw-r--r--lass/5pkgs/pop/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/lass/5pkgs/pop/default.nix b/lass/5pkgs/pop/default.nix
new file mode 100644
index 000000000..cec22e3b1
--- /dev/null
+++ b/lass/5pkgs/pop/default.nix
@@ -0,0 +1,10 @@
+{ pkgs, ... }:
+
+pkgs.writeScriptBin "pop" ''
+ #! ${pkgs.bash}/bin/bash
+
+ file=$1
+
+ head -1 $file
+ sed -i 1d $file
+''