Compare commits

..

4 commits

Author SHA1 Message Date
github-actions[bot]
41f9cd1c57 flake.lock: Update
Flake lock file updates:

• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=300228b503b36e5977b0d58713c5b4cf1f07b8a9&submodules=1' (2024-07-17)
  → 'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=8e15f91c2417c8f05d69a93f1294185ccc5f8f3e&submodules=1' (2024-07-18)
• Updated input 'lix':
    '7b1abf8107.tar.gz?narHash=sha256-39RhKptnozRK63T4l6TcXGKjCXsvcetC4zCMj%2B0Xthw%3D' (2024-07-18)
  → '5ee1e6ea98.tar.gz?narHash=sha256-SkALa1bLiyROFslXDfBZeitmOSUVUU0%2B3ewDvDYfxsc%3D' (2024-07-18)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9355fa86e6f27422963132c2c9aeedb0fb963d93?narHash=sha256-%2B%2BTYlGMAJM1Q%2B0nMVaWBSEvEUjRs7ZGiNQOpqbQApCU%3D' (2024-07-16)
  → 'github:nixos/nixpkgs/7e2fb8e0eb807e139d42b05bf8e28da122396bed?narHash=sha256-/%2BYw4tW/mcTRKmkEAO64ObzCQClpSUZpk2flUD9GDHE%3D' (2024-07-18)
• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/7421424feb2e68a173f6fd218bbf71eb352404e5?narHash=sha256-9%2Bv7DYzlQn0djo2j11Ges0uj5WzWajpob/Y3WcsEFks%3D' (2024-07-15)
  → 'github:nix-community/nixpkgs-wayland/b8d5814544f54426f032ca6f783a00920dc96809?narHash=sha256-U3vjp0cD8UaLcHgHUkt3Xn2dyjRBczkRElC6QmJRo1A%3D' (2024-07-18)
• Updated input 'nixpkgs-wayland/nixpkgs':
    'github:nixos/nixpkgs/693bc46d169f5af9c992095736e82c3488bf7dbb?narHash=sha256-oedh2RwpjEa%2BTNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA%3D' (2024-07-14)
  → 'github:nixos/nixpkgs/ad0b5eed1b6031efaed382844806550c3dcb4206?narHash=sha256-%2BW5eZOhhemLQxelojLxETfbFbc19NWawsXBlapYpqIA%3D' (2024-07-16)
• Updated input 'zig2nix':
    'github:Cloudef/zig2nix/7eefb0631345741feb4b31b94898ab20d67f7594?narHash=sha256-eK%2BXZUOjz1864Lo7qf8xfLNIL7aeaFUbug9B0k07o08%3D' (2024-07-18)
  → 'github:Cloudef/zig2nix/2822a7f996bfb89ed6ea021718e21f93817d48d8?narHash=sha256-u1lIAYCYE%2BGJceU4xE6mWY4EQztBqxmFKjDme30xnq4%3D' (2024-07-19)
2024-07-19 04:05:41 +00:00
c3514988d3
formatting 2024-07-18 11:46:02 -05:00
cfd29c576d
add to path 2024-07-18 11:45:57 -05:00
9319af8c82
use nvd for fun and profit 2024-07-18 11:27:34 -05:00
5 changed files with 38 additions and 29 deletions

View file

@ -305,11 +305,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1721248202, "lastModified": 1721332628,
"narHash": "sha256-VAhuQQ4EKbw/6z7K2IoR83+gXUdMksLWFQOhJNhSvQE=", "narHash": "sha256-kEB88spCIG7xTvKPlkghDNqZz26YHa0B06Ku2zsGFgo=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "300228b503b36e5977b0d58713c5b4cf1f07b8a9", "rev": "8e15f91c2417c8f05d69a93f1294185ccc5f8f3e",
"revCount": 4930, "revCount": 4931,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://github.com/hyprwm/Hyprland/" "url": "https://github.com/hyprwm/Hyprland/"
@ -498,11 +498,11 @@
"lix": { "lix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1721314880, "lastModified": 1721324432,
"narHash": "sha256-39RhKptnozRK63T4l6TcXGKjCXsvcetC4zCMj+0Xthw=", "narHash": "sha256-SkALa1bLiyROFslXDfBZeitmOSUVUU0+3ewDvDYfxsc=",
"rev": "7b1abf81076c93a84becc310722013e44d850002", "rev": "5ee1e6ea9887a54f0af3a66528abc04b17611516",
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/7b1abf81076c93a84becc310722013e44d850002.tar.gz" "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/5ee1e6ea9887a54f0af3a66528abc04b17611516.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -679,11 +679,11 @@
"nixpkgs": "nixpkgs_7" "nixpkgs": "nixpkgs_7"
}, },
"locked": { "locked": {
"lastModified": 1721048083, "lastModified": 1721317023,
"narHash": "sha256-9+v7DYzlQn0djo2j11Ges0uj5WzWajpob/Y3WcsEFks=", "narHash": "sha256-U3vjp0cD8UaLcHgHUkt3Xn2dyjRBczkRElC6QmJRo1A=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs-wayland", "repo": "nixpkgs-wayland",
"rev": "7421424feb2e68a173f6fd218bbf71eb352404e5", "rev": "b8d5814544f54426f032ca6f783a00920dc96809",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -742,11 +742,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1721116560, "lastModified": 1721303309,
"narHash": "sha256-++TYlGMAJM1Q+0nMVaWBSEvEUjRs7ZGiNQOpqbQApCU=", "narHash": "sha256-/+Yw4tW/mcTRKmkEAO64ObzCQClpSUZpk2flUD9GDHE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9355fa86e6f27422963132c2c9aeedb0fb963d93", "rev": "7e2fb8e0eb807e139d42b05bf8e28da122396bed",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -774,11 +774,11 @@
}, },
"nixpkgs_7": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1720957393, "lastModified": 1721138476,
"narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=", "narHash": "sha256-+W5eZOhhemLQxelojLxETfbFbc19NWawsXBlapYpqIA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "693bc46d169f5af9c992095736e82c3488bf7dbb", "rev": "ad0b5eed1b6031efaed382844806550c3dcb4206",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1150,11 +1150,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1721306038, "lastModified": 1721352101,
"narHash": "sha256-eK+XZUOjz1864Lo7qf8xfLNIL7aeaFUbug9B0k07o08=", "narHash": "sha256-u1lIAYCYE+GJceU4xE6mWY4EQztBqxmFKjDme30xnq4=",
"owner": "Cloudef", "owner": "Cloudef",
"repo": "zig2nix", "repo": "zig2nix",
"rev": "7eefb0631345741feb4b31b94898ab20d67f7594", "rev": "2822a7f996bfb89ed6ea021718e21f93817d48d8",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -64,9 +64,7 @@ let
]); ]);
flakeVer = flakeVer =
flake: flake: "${flake.shortRev or flake.dirtyShortRev}-${mkDate (toString flake.lastModifiedDate)}";
"${flake.shortRev or flake.dirtyShortRev}-${mkDate (toString flake.lastModifiedDate)}";
isNixFile = p: hasSuffix ".nix" p; isNixFile = p: hasSuffix ".nix" p;
isDefaultNixFile = p: hasSuffix "default.nix" p; isDefaultNixFile = p: hasSuffix "default.nix" p;

View file

@ -16,13 +16,14 @@ let
inherit version; inherit version;
}; };
lang-server = rocPkgs.lang-server.overrideAttrs { lang-server = rocPkgs.lang-server.overrideAttrs { inherit version; };
inherit version;
};
in in
{ {
config = mkIfIn "roc" cfg { config = mkIfIn "roc" cfg {
environment.systemPackages = [roc lang-server]; environment.systemPackages = [
roc
lang-server
];
}; };
} }

View file

@ -2,9 +2,13 @@
inputs, inputs,
self, self,
pkgs, pkgs,
lib,
enabled, enabled,
... ...
}: }:
let
inherit (lib) makeBinPath;
in
{ {
imports = [ inputs.nix-index-database.nixosModules.nix-index ]; imports = [ inputs.nix-index-database.nixosModules.nix-index ];
@ -42,7 +46,13 @@
system.activationScripts.diff = '' system.activationScripts.diff = ''
if [[ -e /run/current-system ]]; then if [[ -e /run/current-system ]]; then
${pkgs.nix}/bin/nix store diff-closures /run/current-system "$systemConfig" PATH=$PATH:${
makeBinPath [
pkgs.nvd
pkgs.nix
]
}
nvd diff /run/current-system "$systemConfig"
fi fi
''; '';

View file

@ -25,4 +25,4 @@ buildGoModule {
--zsh <(OIZYS_SKIP_CHECK=true $out/bin/oizys completion zsh) --zsh <(OIZYS_SKIP_CHECK=true $out/bin/oizys completion zsh)
''; '';
} }