mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -06:00
Cleaning up files that are no longer used
This commit is contained in:
parent
b3354cfec7
commit
e0abe77901
5 changed files with 0 additions and 79 deletions
|
@ -1,44 +0,0 @@
|
||||||
{
|
|
||||||
description = "COSMIC Development Environment";
|
|
||||||
|
|
||||||
inputs = {
|
|
||||||
nixpkgs = {url = "github:NixOS/nixpkgs/nixpkgs-unstable";};
|
|
||||||
flake-utils = {url = "github:numtide/flake-utils";};
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = {
|
|
||||||
self,
|
|
||||||
nixpkgs,
|
|
||||||
flake-utils,
|
|
||||||
}:
|
|
||||||
flake-utils.lib.eachDefaultSystem (system: let
|
|
||||||
inherit (nixpkgs.lib) optional;
|
|
||||||
pkgs = import nixpkgs {inherit system;};
|
|
||||||
fhs = pkgs.buildFHSUserEnv {
|
|
||||||
name = "COSMIC";
|
|
||||||
targetPkgs = pkgs: (with pkgs; [
|
|
||||||
# There is a lot here, because I am not sure about your system. :)
|
|
||||||
xorg.libX11
|
|
||||||
xorg.libXext
|
|
||||||
xorg.libxcb
|
|
||||||
udev
|
|
||||||
#runScript = "bash -c ./pico8";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
devShell = pkgs.mkShell {
|
|
||||||
buildInputs = with pkgs; [
|
|
||||||
fhs
|
|
||||||
];
|
|
||||||
shellHook = ''
|
|
||||||
if [ -e pico8 ]
|
|
||||||
then
|
|
||||||
tput setaf 2; echo "Pico-8 binary present. Type 'pico8' to get started."; tput sgr0;
|
|
||||||
else
|
|
||||||
tput setaf 3; echo "No Pico-8 binary present. Please download it."; tput sgr0;
|
|
||||||
echo "You can purchase it here:"
|
|
||||||
tput setaf 2; echo "https://www.lexaloffle.com/pico-8.php"; tput sgr0;
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
});
|
|
||||||
}
|
|
|
@ -1,35 +0,0 @@
|
||||||
# Builds now
|
|
||||||
|
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
|
||||||
pkgs.mkShell {
|
|
||||||
nativeBuildInputs = with pkgs; [
|
|
||||||
appstream-glib
|
|
||||||
cargo
|
|
||||||
clang
|
|
||||||
cmake
|
|
||||||
dbus
|
|
||||||
desktop-file-utils
|
|
||||||
egl-wayland
|
|
||||||
glib
|
|
||||||
gtk3
|
|
||||||
gtk4
|
|
||||||
lld
|
|
||||||
llvm
|
|
||||||
llvmPackages_15.llvm
|
|
||||||
libclang
|
|
||||||
libglvnd
|
|
||||||
libinput
|
|
||||||
libpulseaudio
|
|
||||||
libxkbcommon
|
|
||||||
mesa
|
|
||||||
meson
|
|
||||||
ninja
|
|
||||||
pipewire
|
|
||||||
pkg-config
|
|
||||||
seatd
|
|
||||||
systemd
|
|
||||||
];
|
|
||||||
|
|
||||||
LIBCLANG_PATH = "${pkgs.llvmPackages_15.libclang.lib}/lib";
|
|
||||||
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue