Compare commits

...

5 commits

Author SHA1 Message Date
8cd12ccb2d remove unused flake stuff 2024-12-12 15:46:00 -08:00
1ea7c6d404 remove flake build artifacts 2024-12-12 15:44:57 -08:00
1957bc6e55 flake 2024-12-12 15:42:46 -08:00
57b7b87596 compile_commands 2024-12-12 15:42:35 -08:00
4c6e81631c shell.fish 2024-12-12 15:42:28 -08:00
5 changed files with 80 additions and 0 deletions

View file

@ -50,6 +50,7 @@ config.h:
cp config.def.h $@
clean:
rm -f dwl *.o *-protocol.h
rm -f result result-man
dist: clean
mkdir -p dwl-$(VERSION)

1
compile_commands.json Normal file
View file

@ -0,0 +1 @@
[]

58
flake.lock Normal file
View file

@ -0,0 +1,58 @@
{
"nodes": {
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1733312601,
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1733759999,
"narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1733096140,
"narHash": "sha256-1qRH7uAUsyQI7R1Uwl4T+XvdNv778H0Nb5njNrqvylY=",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz"
}
},
"root": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

18
flake.nix Normal file
View file

@ -0,0 +1,18 @@
{
description = "dwm for Wayland (requires dwl 0.7)";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = inputs@{ flake-parts, nixpkgs, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = nixpkgs.lib.platforms.unix;
perSystem = { config, self', inputs', pkgs, system, ... }: {
packages.default = pkgs.dwl.overrideAttrs {
src = ./.;
};
};
};
}

2
shell.fish Executable file
View file

@ -0,0 +1,2 @@
nix-shell -p bear --command fish
nix develop nixpkgs#dwl --command fish