Skip to content

Commit

Permalink
support old-school installation
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Nov 4, 2022
1 parent 72ff234 commit 2f719b1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
10 changes: 10 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
(import
(
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}
)
{ src = ./.; }
).defaultNix
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
description = "devenv - Developer Environments";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.05";
inputs.flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};

outputs = { self, nixpkgs, ... }:
let
Expand Down

0 comments on commit 2f719b1

Please sign in to comment.