This commit is contained in:
parent
21e54a64ce
commit
ca1160b317
2 changed files with 0 additions and 17 deletions
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/notes b/notes
|
|
||||||
index 3351903..34364bf 100755
|
|
||||||
--- a/notes
|
|
||||||
+++ b/notes
|
|
||||||
@@ -14,7 +14,7 @@ set -e
|
|
||||||
readonly NOTES_DIRECTORY="${NOTES_DIRECTORY:-${HOME}/notes}"
|
|
||||||
readonly NOTES_EDITOR="${EDITOR}"
|
|
||||||
|
|
||||||
-readonly NOTES_FILE="$(date +%Y-%m).txt"
|
|
||||||
+readonly NOTES_FILE="$(date +%Y-%m-%d).txt"
|
|
||||||
readonly NOTES_PATH="${NOTES_DIRECTORY}/${NOTES_FILE}"
|
|
||||||
|
|
||||||
if [ ! -d "${NOTES_DIRECTORY}" ]; then
|
|
|
@ -15,10 +15,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ bash ];
|
buildInputs = [ bash ];
|
||||||
|
|
||||||
patches = [
|
|
||||||
./change-filename-format.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp notes $out/bin/notes
|
cp notes $out/bin/notes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue