This commit is contained in:
Amy de Buitléir 2025-09-05 20:04:52 +01:00
parent a05dcc9000
commit 4943deba5c
2 changed files with 2 additions and 26 deletions

View file

@ -18,22 +18,6 @@
"type": "github"
}
},
"hello-nix": {
"flake": false,
"locked": {
"lastModified": 1676213208,
"narHash": "sha256-Zds5C+f5sA3w+j85EsAQjte0zeHqubMVPGYn5lGwATo=",
"ref": "refs/heads/main",
"rev": "aa2c87f8b89578b069b09fdb2be30a0c9d8a77d8",
"revCount": 4,
"type": "git",
"url": "https://codeberg.org/mhwombat/hello-nix"
},
"original": {
"type": "git",
"url": "https://codeberg.org/mhwombat/hello-nix"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1757096966,
@ -52,7 +36,6 @@
"root": {
"inputs": {
"flake-utils": "flake-utils",
"hello-nix": "hello-nix",
"nixpkgs": "nixpkgs"
}
},

View file

@ -2,13 +2,9 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
hello-nix = {
url = "git+https://codeberg.org/mhwombat/hello-nix";
flake = false;
};
};
outputs = { self, nixpkgs, flake-utils, hello-nix }:
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
@ -16,10 +12,7 @@
{
devShells = rec {
default = pkgs.mkShell {
shellHook =
''
PATH=${hello-nix}:$PATH
'';
packages = [ pkgs.cowsay ];
};
};
}