{ description = "cl-yag static site generator"; inputs = { cl-nix-lite.url = "github:hraban/cl-nix-lite"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, cl-nix-lite, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}.extend cl-nix-lite.overlays.default; in { defaultPackage.x86_64-linux = # Notice the reference to nixpkgs here. with import nixpkgs { system = "x86_64-linux"; }; stdenv.mkDerivation { name = "hello"; src = self; buildPhase = "gcc -o hello ./hello.c"; installPhase = "mkdir -p $out/bin; install -t $out/bin hello"; }; }; devShell = pkgs.mkShell { buildInputs = [ pkgs.ecl pkgs.git pkgs.gnumake pkgs.asdf pkgs.multimarkdown ]; shellHook = '' echo "Welcome to the development shell for cl-yag static site generator!" ecl --load generator.lisp ''; }; }); }