First real commit

This commit is contained in:
2024-02-27 14:56:36 -08:00
parent 818a1d53a1
commit 3e2f18ae04
15 changed files with 546 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
use flake
+32
View File
@@ -0,0 +1,32 @@
{
description = "Nix-flake development folder, raw";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
inherit (pkgs.lib) optional optionals;
pkgs = import nixpkgs { inherit system; };
in
with pkgs;
{
devShell = pkgs.mkShell {
buildInputs = [
bashInteractive
glibcLocales
git
emacs-nox
] ++ optional stdenv.isLinux inotify-tools
++ optional stdenv.isDarwin terminal-notifier
++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
CoreFoundation
CoreServices
]);
};
});
}